ntdll: Translate signal to trap when trap code is 0 on ARM.
[wine.git] / configure
blobdd000b28fe37b8c7a81eea8c40d4c2cbab989cf0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.5.
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.5'
584 PACKAGE_STRING='Wine 4.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 XSLT_LIBS
694 XSLT_CFLAGS
695 XML2_LIBS
696 XML2_CFLAGS
697 PCAP_LIBS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 PTHREAD_LIBS
704 EXTRACROSSCFLAGS
705 CROSSCFLAGS
706 CROSSCC
707 CROSSTARGET
708 LIBWINE_DEPENDS
709 PRELINK
710 WINELOADER_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_SHAREDLIB
713 METAL_LIBS
714 CARBON_LIBS
715 QUICKTIME_LIBS
716 OPENCL_LIBS
717 OPENAL_LIBS
718 COREAUDIO_LIBS
719 SECURITY_LIBS
720 DISKARBITRATION_LIBS
721 APPKIT_LIBS
722 CORESERVICES_LIBS
723 APPLICATIONSERVICES_LIBS
724 FORCEFEEDBACK_LIBS
725 IOKIT_LIBS
726 COREFOUNDATION_LIBS
727 OBJCPP
728 ac_ct_OBJC
729 OBJCFLAGS
730 OBJC
731 DLLTOOL
732 WINELOADER_PROGRAMS
733 CONFIGURE_TARGETS
734 DISABLED_SUBDIRS
735 SUBDIRS
736 READELF
737 OTOOL
739 WINEPRELOADER_LDFLAGS
740 WINELOADER_LDFLAGS
741 TOP_INSTALL_DEV
742 TOP_INSTALL_LIB
743 LDEXECFLAGS
744 LDRPATH_LOCAL
745 LDRPATH_INSTALL
746 DLLFLAGS
748 OPENGL_LIBS
749 ICOTOOL
750 CONVERT
751 RSVG
752 FONTFORGE
753 PKG_CONFIG
754 MSGFMT
755 LDCONFIG
756 EGREP
757 GREP
758 LN_S
759 RANLIB
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 TARGETFLAGS
768 CPPBIN
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 SET_MAKE
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 runstatedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_win16
831 enable_win64
832 enable_tests
833 enable_maintainer_mode
834 with_alsa
835 with_capi
836 with_cms
837 with_coreaudio
838 with_cups
839 with_curses
840 with_dbus
841 with_faudio
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mingw
858 with_mpg123
859 with_netapi
860 with_openal
861 with_opencl
862 with_opengl
863 with_osmesa
864 with_oss
865 with_pcap
866 with_png
867 with_pthread
868 with_pulse
869 with_sane
870 with_sdl
871 with_tiff
872 with_udev
873 with_v4l
874 with_vkd3d
875 with_vulkan
876 with_xcomposite
877 with_xcursor
878 with_xfixes
879 with_xinerama
880 with_xinput
881 with_xinput2
882 with_xml
883 with_xrandr
884 with_xrender
885 with_xshape
886 with_xshm
887 with_xslt
888 with_xxf86vm
889 with_zlib
890 with_wine_tools
891 with_wine64
892 enable_largefile
893 with_x
894 enable_acledit
895 enable_aclui
896 enable_activeds
897 enable_actxprxy
898 enable_adsiid
899 enable_adsldp
900 enable_adsldpc
901 enable_advapi32
902 enable_advpack
903 enable_amsi
904 enable_amstream
905 enable_api_ms_win_appmodel_identity_l1_1_0
906 enable_api_ms_win_appmodel_runtime_l1_1_1
907 enable_api_ms_win_appmodel_runtime_l1_1_2
908 enable_api_ms_win_core_apiquery_l1_1_0
909 enable_api_ms_win_core_appcompat_l1_1_1
910 enable_api_ms_win_core_appinit_l1_1_0
911 enable_api_ms_win_core_atoms_l1_1_0
912 enable_api_ms_win_core_bem_l1_1_0
913 enable_api_ms_win_core_com_l1_1_0
914 enable_api_ms_win_core_com_l1_1_1
915 enable_api_ms_win_core_com_private_l1_1_0
916 enable_api_ms_win_core_comm_l1_1_0
917 enable_api_ms_win_core_console_l1_1_0
918 enable_api_ms_win_core_console_l2_1_0
919 enable_api_ms_win_core_crt_l1_1_0
920 enable_api_ms_win_core_crt_l2_1_0
921 enable_api_ms_win_core_datetime_l1_1_0
922 enable_api_ms_win_core_datetime_l1_1_1
923 enable_api_ms_win_core_debug_l1_1_0
924 enable_api_ms_win_core_debug_l1_1_1
925 enable_api_ms_win_core_delayload_l1_1_0
926 enable_api_ms_win_core_delayload_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_0
928 enable_api_ms_win_core_errorhandling_l1_1_1
929 enable_api_ms_win_core_errorhandling_l1_1_2
930 enable_api_ms_win_core_errorhandling_l1_1_3
931 enable_api_ms_win_core_fibers_l1_1_0
932 enable_api_ms_win_core_fibers_l1_1_1
933 enable_api_ms_win_core_file_l1_1_0
934 enable_api_ms_win_core_file_l1_2_0
935 enable_api_ms_win_core_file_l1_2_1
936 enable_api_ms_win_core_file_l1_2_2
937 enable_api_ms_win_core_file_l2_1_0
938 enable_api_ms_win_core_file_l2_1_1
939 enable_api_ms_win_core_file_l2_1_2
940 enable_api_ms_win_core_handle_l1_1_0
941 enable_api_ms_win_core_heap_l1_1_0
942 enable_api_ms_win_core_heap_l1_2_0
943 enable_api_ms_win_core_heap_l2_1_0
944 enable_api_ms_win_core_heap_obsolete_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_1_0
946 enable_api_ms_win_core_interlocked_l1_2_0
947 enable_api_ms_win_core_io_l1_1_0
948 enable_api_ms_win_core_io_l1_1_1
949 enable_api_ms_win_core_job_l1_1_0
950 enable_api_ms_win_core_job_l2_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_0
952 enable_api_ms_win_core_kernel32_legacy_l1_1_1
953 enable_api_ms_win_core_kernel32_private_l1_1_1
954 enable_api_ms_win_core_largeinteger_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_0
956 enable_api_ms_win_core_libraryloader_l1_1_1
957 enable_api_ms_win_core_libraryloader_l1_2_0
958 enable_api_ms_win_core_libraryloader_l1_2_1
959 enable_api_ms_win_core_libraryloader_l1_2_2
960 enable_api_ms_win_core_localization_l1_1_0
961 enable_api_ms_win_core_localization_l1_2_0
962 enable_api_ms_win_core_localization_l1_2_1
963 enable_api_ms_win_core_localization_l2_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_1_0
965 enable_api_ms_win_core_localization_obsolete_l1_2_0
966 enable_api_ms_win_core_localization_obsolete_l1_3_0
967 enable_api_ms_win_core_localization_private_l1_1_0
968 enable_api_ms_win_core_localregistry_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_0
970 enable_api_ms_win_core_memory_l1_1_1
971 enable_api_ms_win_core_memory_l1_1_2
972 enable_api_ms_win_core_misc_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_1_0
974 enable_api_ms_win_core_namedpipe_l1_2_0
975 enable_api_ms_win_core_namespace_l1_1_0
976 enable_api_ms_win_core_normalization_l1_1_0
977 enable_api_ms_win_core_path_l1_1_0
978 enable_api_ms_win_core_privateprofile_l1_1_1
979 enable_api_ms_win_core_processenvironment_l1_1_0
980 enable_api_ms_win_core_processenvironment_l1_2_0
981 enable_api_ms_win_core_processthreads_l1_1_0
982 enable_api_ms_win_core_processthreads_l1_1_1
983 enable_api_ms_win_core_processthreads_l1_1_2
984 enable_api_ms_win_core_processthreads_l1_1_3
985 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
986 enable_api_ms_win_core_profile_l1_1_0
987 enable_api_ms_win_core_psapi_ansi_l1_1_0
988 enable_api_ms_win_core_psapi_l1_1_0
989 enable_api_ms_win_core_psapi_obsolete_l1_1_0
990 enable_api_ms_win_core_quirks_l1_1_0
991 enable_api_ms_win_core_realtime_l1_1_0
992 enable_api_ms_win_core_registry_l1_1_0
993 enable_api_ms_win_core_registry_l2_1_0
994 enable_api_ms_win_core_registryuserspecific_l1_1_0
995 enable_api_ms_win_core_rtlsupport_l1_1_0
996 enable_api_ms_win_core_rtlsupport_l1_2_0
997 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
998 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
999 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1000 enable_api_ms_win_core_shutdown_l1_1_0
1001 enable_api_ms_win_core_sidebyside_l1_1_0
1002 enable_api_ms_win_core_string_l1_1_0
1003 enable_api_ms_win_core_string_l2_1_0
1004 enable_api_ms_win_core_string_obsolete_l1_1_0
1005 enable_api_ms_win_core_stringansi_l1_1_0
1006 enable_api_ms_win_core_stringloader_l1_1_1
1007 enable_api_ms_win_core_synch_ansi_l1_1_0
1008 enable_api_ms_win_core_synch_l1_1_0
1009 enable_api_ms_win_core_synch_l1_2_0
1010 enable_api_ms_win_core_synch_l1_2_1
1011 enable_api_ms_win_core_sysinfo_l1_1_0
1012 enable_api_ms_win_core_sysinfo_l1_2_0
1013 enable_api_ms_win_core_sysinfo_l1_2_1
1014 enable_api_ms_win_core_threadpool_l1_1_0
1015 enable_api_ms_win_core_threadpool_l1_2_0
1016 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1017 enable_api_ms_win_core_threadpool_private_l1_1_0
1018 enable_api_ms_win_core_timezone_l1_1_0
1019 enable_api_ms_win_core_toolhelp_l1_1_0
1020 enable_api_ms_win_core_url_l1_1_0
1021 enable_api_ms_win_core_util_l1_1_0
1022 enable_api_ms_win_core_version_l1_1_0
1023 enable_api_ms_win_core_version_l1_1_1
1024 enable_api_ms_win_core_version_private_l1_1_0
1025 enable_api_ms_win_core_versionansi_l1_1_0
1026 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1027 enable_api_ms_win_core_winrt_error_l1_1_0
1028 enable_api_ms_win_core_winrt_error_l1_1_1
1029 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1030 enable_api_ms_win_core_winrt_l1_1_0
1031 enable_api_ms_win_core_winrt_registration_l1_1_0
1032 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1033 enable_api_ms_win_core_winrt_string_l1_1_0
1034 enable_api_ms_win_core_winrt_string_l1_1_1
1035 enable_api_ms_win_core_wow64_l1_1_0
1036 enable_api_ms_win_core_wow64_l1_1_1
1037 enable_api_ms_win_core_xstate_l1_1_0
1038 enable_api_ms_win_core_xstate_l2_1_0
1039 enable_api_ms_win_crt_conio_l1_1_0
1040 enable_api_ms_win_crt_convert_l1_1_0
1041 enable_api_ms_win_crt_environment_l1_1_0
1042 enable_api_ms_win_crt_filesystem_l1_1_0
1043 enable_api_ms_win_crt_heap_l1_1_0
1044 enable_api_ms_win_crt_locale_l1_1_0
1045 enable_api_ms_win_crt_math_l1_1_0
1046 enable_api_ms_win_crt_multibyte_l1_1_0
1047 enable_api_ms_win_crt_private_l1_1_0
1048 enable_api_ms_win_crt_process_l1_1_0
1049 enable_api_ms_win_crt_runtime_l1_1_0
1050 enable_api_ms_win_crt_stdio_l1_1_0
1051 enable_api_ms_win_crt_string_l1_1_0
1052 enable_api_ms_win_crt_time_l1_1_0
1053 enable_api_ms_win_crt_utility_l1_1_0
1054 enable_api_ms_win_devices_config_l1_1_0
1055 enable_api_ms_win_devices_config_l1_1_1
1056 enable_api_ms_win_devices_query_l1_1_1
1057 enable_api_ms_win_downlevel_advapi32_l1_1_0
1058 enable_api_ms_win_downlevel_advapi32_l2_1_0
1059 enable_api_ms_win_downlevel_normaliz_l1_1_0
1060 enable_api_ms_win_downlevel_ole32_l1_1_0
1061 enable_api_ms_win_downlevel_shell32_l1_1_0
1062 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1063 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1064 enable_api_ms_win_downlevel_user32_l1_1_0
1065 enable_api_ms_win_downlevel_version_l1_1_0
1066 enable_api_ms_win_dx_d3dkmt_l1_1_0
1067 enable_api_ms_win_eventing_classicprovider_l1_1_0
1068 enable_api_ms_win_eventing_consumer_l1_1_0
1069 enable_api_ms_win_eventing_controller_l1_1_0
1070 enable_api_ms_win_eventing_legacy_l1_1_0
1071 enable_api_ms_win_eventing_provider_l1_1_0
1072 enable_api_ms_win_eventlog_legacy_l1_1_0
1073 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1074 enable_api_ms_win_mm_joystick_l1_1_0
1075 enable_api_ms_win_mm_misc_l1_1_1
1076 enable_api_ms_win_mm_mme_l1_1_0
1077 enable_api_ms_win_mm_time_l1_1_0
1078 enable_api_ms_win_ntuser_dc_access_l1_1_0
1079 enable_api_ms_win_ntuser_rectangle_l1_1_0
1080 enable_api_ms_win_ntuser_sysparams_l1_1_0
1081 enable_api_ms_win_perf_legacy_l1_1_0
1082 enable_api_ms_win_power_base_l1_1_0
1083 enable_api_ms_win_power_setting_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1087 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1091 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1092 enable_api_ms_win_security_audit_l1_1_1
1093 enable_api_ms_win_security_base_l1_1_0
1094 enable_api_ms_win_security_base_l1_2_0
1095 enable_api_ms_win_security_base_private_l1_1_1
1096 enable_api_ms_win_security_credentials_l1_1_0
1097 enable_api_ms_win_security_cryptoapi_l1_1_0
1098 enable_api_ms_win_security_grouppolicy_l1_1_0
1099 enable_api_ms_win_security_lsalookup_l1_1_0
1100 enable_api_ms_win_security_lsalookup_l1_1_1
1101 enable_api_ms_win_security_lsalookup_l2_1_0
1102 enable_api_ms_win_security_lsalookup_l2_1_1
1103 enable_api_ms_win_security_lsapolicy_l1_1_0
1104 enable_api_ms_win_security_provider_l1_1_0
1105 enable_api_ms_win_security_sddl_l1_1_0
1106 enable_api_ms_win_security_systemfunctions_l1_1_0
1107 enable_api_ms_win_service_core_l1_1_0
1108 enable_api_ms_win_service_core_l1_1_1
1109 enable_api_ms_win_service_management_l1_1_0
1110 enable_api_ms_win_service_management_l2_1_0
1111 enable_api_ms_win_service_private_l1_1_1
1112 enable_api_ms_win_service_winsvc_l1_1_0
1113 enable_api_ms_win_service_winsvc_l1_2_0
1114 enable_api_ms_win_shcore_obsolete_l1_1_0
1115 enable_api_ms_win_shcore_scaling_l1_1_1
1116 enable_api_ms_win_shcore_stream_l1_1_0
1117 enable_api_ms_win_shcore_thread_l1_1_0
1118 enable_api_ms_win_shell_shellcom_l1_1_0
1119 enable_api_ms_win_shell_shellfolders_l1_1_0
1120 enable_apphelp
1121 enable_appwiz_cpl
1122 enable_atl
1123 enable_atl100
1124 enable_atl110
1125 enable_atl80
1126 enable_atl90
1127 enable_atlthunk
1128 enable_atmlib
1129 enable_authz
1130 enable_avicap32
1131 enable_avifil32
1132 enable_avrt
1133 enable_bcrypt
1134 enable_bluetoothapis
1135 enable_browseui
1136 enable_bthprops_cpl
1137 enable_cabinet
1138 enable_capi2032
1139 enable_cards
1140 enable_cdosys
1141 enable_cfgmgr32
1142 enable_clusapi
1143 enable_combase
1144 enable_comcat
1145 enable_comctl32
1146 enable_comdlg32
1147 enable_compstui
1148 enable_comsvcs
1149 enable_concrt140
1150 enable_connect
1151 enable_credui
1152 enable_crtdll
1153 enable_crypt32
1154 enable_cryptdlg
1155 enable_cryptdll
1156 enable_cryptext
1157 enable_cryptnet
1158 enable_cryptui
1159 enable_ctapi32
1160 enable_ctl3d32
1161 enable_d2d1
1162 enable_d3d10
1163 enable_d3d10_1
1164 enable_d3d10core
1165 enable_d3d11
1166 enable_d3d12
1167 enable_d3d8
1168 enable_d3d9
1169 enable_d3dcompiler_33
1170 enable_d3dcompiler_34
1171 enable_d3dcompiler_35
1172 enable_d3dcompiler_36
1173 enable_d3dcompiler_37
1174 enable_d3dcompiler_38
1175 enable_d3dcompiler_39
1176 enable_d3dcompiler_40
1177 enable_d3dcompiler_41
1178 enable_d3dcompiler_42
1179 enable_d3dcompiler_43
1180 enable_d3dcompiler_46
1181 enable_d3dcompiler_47
1182 enable_d3dim
1183 enable_d3drm
1184 enable_d3dx10_33
1185 enable_d3dx10_34
1186 enable_d3dx10_35
1187 enable_d3dx10_36
1188 enable_d3dx10_37
1189 enable_d3dx10_38
1190 enable_d3dx10_39
1191 enable_d3dx10_40
1192 enable_d3dx10_41
1193 enable_d3dx10_42
1194 enable_d3dx10_43
1195 enable_d3dx11_42
1196 enable_d3dx11_43
1197 enable_d3dx9_24
1198 enable_d3dx9_25
1199 enable_d3dx9_26
1200 enable_d3dx9_27
1201 enable_d3dx9_28
1202 enable_d3dx9_29
1203 enable_d3dx9_30
1204 enable_d3dx9_31
1205 enable_d3dx9_32
1206 enable_d3dx9_33
1207 enable_d3dx9_34
1208 enable_d3dx9_35
1209 enable_d3dx9_36
1210 enable_d3dx9_37
1211 enable_d3dx9_38
1212 enable_d3dx9_39
1213 enable_d3dx9_40
1214 enable_d3dx9_41
1215 enable_d3dx9_42
1216 enable_d3dx9_43
1217 enable_d3dxof
1218 enable_davclnt
1219 enable_dbgeng
1220 enable_dbghelp
1221 enable_dciman32
1222 enable_ddraw
1223 enable_ddrawex
1224 enable_devenum
1225 enable_dhcpcsvc
1226 enable_dhtmled_ocx
1227 enable_difxapi
1228 enable_dinput
1229 enable_dinput8
1230 enable_dispex
1231 enable_dmband
1232 enable_dmcompos
1233 enable_dmime
1234 enable_dmloader
1235 enable_dmoguids
1236 enable_dmscript
1237 enable_dmstyle
1238 enable_dmsynth
1239 enable_dmusic
1240 enable_dmusic32
1241 enable_dnsapi
1242 enable_dplay
1243 enable_dplayx
1244 enable_dpnaddr
1245 enable_dpnet
1246 enable_dpnhpast
1247 enable_dpnlobby
1248 enable_dpvoice
1249 enable_dpwsockx
1250 enable_drmclien
1251 enable_dsound
1252 enable_dsquery
1253 enable_dssenh
1254 enable_dswave
1255 enable_dwmapi
1256 enable_dwrite
1257 enable_dx8vb
1258 enable_dxdiagn
1259 enable_dxerr8
1260 enable_dxerr9
1261 enable_dxgi
1262 enable_dxguid
1263 enable_dxva2
1264 enable_esent
1265 enable_evr
1266 enable_explorerframe
1267 enable_ext_ms_win_authz_context_l1_1_0
1268 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1269 enable_ext_ms_win_dwmapi_ext_l1_1_0
1270 enable_ext_ms_win_gdi_dc_create_l1_1_0
1271 enable_ext_ms_win_gdi_dc_create_l1_1_1
1272 enable_ext_ms_win_gdi_dc_l1_2_0
1273 enable_ext_ms_win_gdi_devcaps_l1_1_0
1274 enable_ext_ms_win_gdi_draw_l1_1_0
1275 enable_ext_ms_win_gdi_draw_l1_1_1
1276 enable_ext_ms_win_gdi_font_l1_1_0
1277 enable_ext_ms_win_gdi_font_l1_1_1
1278 enable_ext_ms_win_gdi_render_l1_1_0
1279 enable_ext_ms_win_kernel32_package_current_l1_1_0
1280 enable_ext_ms_win_kernel32_package_l1_1_1
1281 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1282 enable_ext_ms_win_ntuser_draw_l1_1_0
1283 enable_ext_ms_win_ntuser_gui_l1_1_0
1284 enable_ext_ms_win_ntuser_gui_l1_3_0
1285 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1286 enable_ext_ms_win_ntuser_message_l1_1_0
1287 enable_ext_ms_win_ntuser_message_l1_1_1
1288 enable_ext_ms_win_ntuser_misc_l1_1_0
1289 enable_ext_ms_win_ntuser_misc_l1_2_0
1290 enable_ext_ms_win_ntuser_misc_l1_5_1
1291 enable_ext_ms_win_ntuser_mouse_l1_1_0
1292 enable_ext_ms_win_ntuser_private_l1_1_1
1293 enable_ext_ms_win_ntuser_private_l1_3_1
1294 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1295 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1296 enable_ext_ms_win_ntuser_window_l1_1_0
1297 enable_ext_ms_win_ntuser_window_l1_1_1
1298 enable_ext_ms_win_ntuser_window_l1_1_4
1299 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1300 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1301 enable_ext_ms_win_oleacc_l1_1_0
1302 enable_ext_ms_win_ras_rasapi32_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1304 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1305 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1308 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1310 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1313 enable_ext_ms_win_security_credui_l1_1_0
1314 enable_ext_ms_win_security_cryptui_l1_1_0
1315 enable_ext_ms_win_uxtheme_themes_l1_1_0
1316 enable_faultrep
1317 enable_feclient
1318 enable_fltlib
1319 enable_fltmgr_sys
1320 enable_fntcache
1321 enable_fontsub
1322 enable_fusion
1323 enable_fwpuclnt
1324 enable_gameux
1325 enable_gdi32
1326 enable_gdiplus
1327 enable_glu32
1328 enable_gphoto2_ds
1329 enable_gpkcsp
1330 enable_hal
1331 enable_hhctrl_ocx
1332 enable_hid
1333 enable_hidclass_sys
1334 enable_hlink
1335 enable_hnetcfg
1336 enable_httpapi
1337 enable_iccvid
1338 enable_icmp
1339 enable_ieframe
1340 enable_ieproxy
1341 enable_imaadp32_acm
1342 enable_imagehlp
1343 enable_imm32
1344 enable_inetcomm
1345 enable_inetcpl_cpl
1346 enable_inetmib1
1347 enable_infosoft
1348 enable_initpki
1349 enable_inkobj
1350 enable_inseng
1351 enable_iphlpapi
1352 enable_iprop
1353 enable_irprops_cpl
1354 enable_itircl
1355 enable_itss
1356 enable_joy_cpl
1357 enable_jscript
1358 enable_jsproxy
1359 enable_kerberos
1360 enable_kernel32
1361 enable_kernelbase
1362 enable_ksecdd_sys
1363 enable_ksuser
1364 enable_ktmw32
1365 enable_l3codeca_acm
1366 enable_loadperf
1367 enable_localspl
1368 enable_localui
1369 enable_lz32
1370 enable_mapi32
1371 enable_mapistub
1372 enable_mciavi32
1373 enable_mcicda
1374 enable_mciqtz32
1375 enable_mciseq
1376 enable_mciwave
1377 enable_mf
1378 enable_mf3216
1379 enable_mferror
1380 enable_mfplat
1381 enable_mfplay
1382 enable_mfreadwrite
1383 enable_mfuuid
1384 enable_mgmtapi
1385 enable_midimap
1386 enable_mlang
1387 enable_mmcndmgr
1388 enable_mmdevapi
1389 enable_mountmgr_sys
1390 enable_mp3dmod
1391 enable_mpr
1392 enable_mprapi
1393 enable_msacm32_drv
1394 enable_msacm32
1395 enable_msadp32_acm
1396 enable_msasn1
1397 enable_mscat32
1398 enable_mscms
1399 enable_mscoree
1400 enable_msctf
1401 enable_msctfp
1402 enable_msdaps
1403 enable_msdelta
1404 enable_msdmo
1405 enable_msdrm
1406 enable_msftedit
1407 enable_msg711_acm
1408 enable_msgsm32_acm
1409 enable_mshtml_tlb
1410 enable_mshtml
1411 enable_msi
1412 enable_msident
1413 enable_msimg32
1414 enable_msimsg
1415 enable_msimtf
1416 enable_msisip
1417 enable_msisys_ocx
1418 enable_msls31
1419 enable_msnet32
1420 enable_mspatcha
1421 enable_msports
1422 enable_msrle32
1423 enable_msscript_ocx
1424 enable_mssign32
1425 enable_mssip32
1426 enable_mstask
1427 enable_msvcirt
1428 enable_msvcm80
1429 enable_msvcm90
1430 enable_msvcp100
1431 enable_msvcp110
1432 enable_msvcp120
1433 enable_msvcp120_app
1434 enable_msvcp140
1435 enable_msvcp60
1436 enable_msvcp70
1437 enable_msvcp71
1438 enable_msvcp80
1439 enable_msvcp90
1440 enable_msvcr100
1441 enable_msvcr110
1442 enable_msvcr120
1443 enable_msvcr120_app
1444 enable_msvcr70
1445 enable_msvcr71
1446 enable_msvcr80
1447 enable_msvcr90
1448 enable_msvcrt
1449 enable_msvcrt20
1450 enable_msvcrt40
1451 enable_msvcrtd
1452 enable_msvfw32
1453 enable_msvidc32
1454 enable_mswsock
1455 enable_msxml
1456 enable_msxml2
1457 enable_msxml3
1458 enable_msxml4
1459 enable_msxml6
1460 enable_mtxdm
1461 enable_ncrypt
1462 enable_nddeapi
1463 enable_ndis_sys
1464 enable_netapi32
1465 enable_netcfgx
1466 enable_netprofm
1467 enable_newdev
1468 enable_ninput
1469 enable_normaliz
1470 enable_npmshtml
1471 enable_npptools
1472 enable_ntdll
1473 enable_ntdsapi
1474 enable_ntoskrnl_exe
1475 enable_ntprint
1476 enable_objsel
1477 enable_odbc32
1478 enable_odbccp32
1479 enable_odbccu32
1480 enable_ole32
1481 enable_oleacc
1482 enable_oleaut32
1483 enable_olecli32
1484 enable_oledb32
1485 enable_oledlg
1486 enable_olepro32
1487 enable_olesvr32
1488 enable_olethk32
1489 enable_opcservices
1490 enable_openal32
1491 enable_opencl
1492 enable_opengl32
1493 enable_packager
1494 enable_pdh
1495 enable_photometadatahandler
1496 enable_pidgen
1497 enable_powrprof
1498 enable_printui
1499 enable_prntvpt
1500 enable_propsys
1501 enable_psapi
1502 enable_pstorec
1503 enable_qcap
1504 enable_qedit
1505 enable_qmgr
1506 enable_qmgrprxy
1507 enable_quartz
1508 enable_query
1509 enable_qwave
1510 enable_rasapi32
1511 enable_rasdlg
1512 enable_regapi
1513 enable_resutils
1514 enable_riched20
1515 enable_riched32
1516 enable_rpcrt4
1517 enable_rsabase
1518 enable_rsaenh
1519 enable_rstrtmgr
1520 enable_rtutils
1521 enable_samlib
1522 enable_sane_ds
1523 enable_sapi
1524 enable_sas
1525 enable_scarddlg
1526 enable_sccbase
1527 enable_schannel
1528 enable_schedsvc
1529 enable_scrobj
1530 enable_scrrun
1531 enable_scsiport_sys
1532 enable_secur32
1533 enable_security
1534 enable_sensapi
1535 enable_serialui
1536 enable_setupapi
1537 enable_sfc
1538 enable_sfc_os
1539 enable_shcore
1540 enable_shdoclc
1541 enable_shdocvw
1542 enable_shell32
1543 enable_shfolder
1544 enable_shlwapi
1545 enable_slbcsp
1546 enable_slc
1547 enable_snmpapi
1548 enable_softpub
1549 enable_spoolss
1550 enable_srclient
1551 enable_sspicli
1552 enable_stdole2_tlb
1553 enable_stdole32_tlb
1554 enable_sti
1555 enable_strmbase
1556 enable_strmdll
1557 enable_strmiids
1558 enable_svrapi
1559 enable_sxs
1560 enable_t2embed
1561 enable_tapi32
1562 enable_taskschd
1563 enable_tdh
1564 enable_tdi_sys
1565 enable_traffic
1566 enable_twain_32
1567 enable_tzres
1568 enable_ucrtbase
1569 enable_uianimation
1570 enable_uiautomationcore
1571 enable_uiribbon
1572 enable_unicows
1573 enable_updspapi
1574 enable_url
1575 enable_urlmon
1576 enable_usbd_sys
1577 enable_user32
1578 enable_userenv
1579 enable_usp10
1580 enable_uuid
1581 enable_uxtheme
1582 enable_vbscript
1583 enable_vcomp
1584 enable_vcomp100
1585 enable_vcomp110
1586 enable_vcomp120
1587 enable_vcomp140
1588 enable_vcomp90
1589 enable_vcruntime140
1590 enable_vdmdbg
1591 enable_version
1592 enable_virtdisk
1593 enable_vssapi
1594 enable_vulkan_1
1595 enable_wbemdisp
1596 enable_wbemprox
1597 enable_wdscore
1598 enable_webservices
1599 enable_wer
1600 enable_wevtapi
1601 enable_wiaservc
1602 enable_wimgapi
1603 enable_windowscodecs
1604 enable_windowscodecsext
1605 enable_winealsa_drv
1606 enable_wineandroid_drv
1607 enable_winebus_sys
1608 enable_winecoreaudio_drv
1609 enable_winecrt0
1610 enable_wined3d
1611 enable_winegstreamer
1612 enable_winehid_sys
1613 enable_winejoystick_drv
1614 enable_winemac_drv
1615 enable_winemapi
1616 enable_wineoss_drv
1617 enable_wineps_drv
1618 enable_winepulse_drv
1619 enable_wineqtdecoder
1620 enable_winevulkan
1621 enable_winex11_drv
1622 enable_wing32
1623 enable_winhttp
1624 enable_wininet
1625 enable_winmm
1626 enable_winnls32
1627 enable_winscard
1628 enable_winspool_drv
1629 enable_winsta
1630 enable_wintab32
1631 enable_wintrust
1632 enable_winusb
1633 enable_wlanapi
1634 enable_wldap32
1635 enable_wmasf
1636 enable_wmcodecdspuuid
1637 enable_wmi
1638 enable_wmiutils
1639 enable_wmp
1640 enable_wmphoto
1641 enable_wmvcore
1642 enable_wnaspi32
1643 enable_wpc
1644 enable_wpcap
1645 enable_ws2_32
1646 enable_wsdapi
1647 enable_wshom_ocx
1648 enable_wsnmp32
1649 enable_wsock32
1650 enable_wtsapi32
1651 enable_wuapi
1652 enable_wuaueng
1653 enable_x3daudio1_0
1654 enable_x3daudio1_1
1655 enable_x3daudio1_2
1656 enable_x3daudio1_3
1657 enable_x3daudio1_4
1658 enable_x3daudio1_5
1659 enable_x3daudio1_6
1660 enable_x3daudio1_7
1661 enable_xapofx1_1
1662 enable_xapofx1_2
1663 enable_xapofx1_3
1664 enable_xapofx1_4
1665 enable_xapofx1_5
1666 enable_xaudio2_0
1667 enable_xaudio2_1
1668 enable_xaudio2_2
1669 enable_xaudio2_3
1670 enable_xaudio2_4
1671 enable_xaudio2_5
1672 enable_xaudio2_6
1673 enable_xaudio2_7
1674 enable_xaudio2_8
1675 enable_xaudio2_9
1676 enable_xinput1_1
1677 enable_xinput1_2
1678 enable_xinput1_3
1679 enable_xinput1_4
1680 enable_xinput9_1_0
1681 enable_xmllite
1682 enable_xolehlp
1683 enable_xpsprint
1684 enable_xpssvcs
1685 enable_fonts
1686 enable_include
1687 enable_port
1688 enable_wine
1689 enable_wpp
1690 enable_loader
1691 enable_po
1692 enable_arp
1693 enable_aspnet_regiis
1694 enable_attrib
1695 enable_cabarc
1696 enable_cacls
1697 enable_clock
1698 enable_cmd
1699 enable_conhost
1700 enable_control
1701 enable_cscript
1702 enable_dism
1703 enable_dpnsvr
1704 enable_dxdiag
1705 enable_eject
1706 enable_expand
1707 enable_explorer
1708 enable_extrac32
1709 enable_fc
1710 enable_find
1711 enable_findstr
1712 enable_fsutil
1713 enable_hh
1714 enable_hostname
1715 enable_icacls
1716 enable_icinfo
1717 enable_iexplore
1718 enable_ipconfig
1719 enable_lodctr
1720 enable_mofcomp
1721 enable_mshta
1722 enable_msidb
1723 enable_msiexec
1724 enable_msinfo32
1725 enable_net
1726 enable_netsh
1727 enable_netstat
1728 enable_ngen
1729 enable_notepad
1730 enable_oleview
1731 enable_ping
1732 enable_plugplay
1733 enable_powershell
1734 enable_presentationfontcache
1735 enable_progman
1736 enable_reg
1737 enable_regasm
1738 enable_regedit
1739 enable_regsvcs
1740 enable_regsvr32
1741 enable_rpcss
1742 enable_rundll32
1743 enable_sc
1744 enable_schtasks
1745 enable_sdbinst
1746 enable_secedit
1747 enable_servicemodelreg
1748 enable_services
1749 enable_shutdown
1750 enable_spoolsv
1751 enable_start
1752 enable_subst
1753 enable_svchost
1754 enable_systeminfo
1755 enable_taskkill
1756 enable_tasklist
1757 enable_taskmgr
1758 enable_termsv
1759 enable_uninstaller
1760 enable_unlodctr
1761 enable_view
1762 enable_wevtutil
1763 enable_wineboot
1764 enable_winebrowser
1765 enable_winecfg
1766 enable_wineconsole
1767 enable_winedbg
1768 enable_winedevice
1769 enable_winefile
1770 enable_winemenubuilder
1771 enable_winemine
1772 enable_winemsibuilder
1773 enable_winepath
1774 enable_winetest
1775 enable_winhlp32
1776 enable_winmgmt
1777 enable_winver
1778 enable_wmic
1779 enable_wmplayer
1780 enable_wordpad
1781 enable_write
1782 enable_wscript
1783 enable_wusa
1784 enable_xcopy
1785 enable_server
1786 enable_tools
1787 enable_sfnt2fon
1788 enable_widl
1789 enable_winebuild
1790 enable_winedump
1791 enable_winegcc
1792 enable_winemaker
1793 enable_wmc
1794 enable_wrc
1796 ac_precious_vars='build_alias
1797 host_alias
1798 target_alias
1800 CFLAGS
1801 LDFLAGS
1802 LIBS
1803 CPPFLAGS
1805 CXXFLAGS
1808 OBJC
1809 OBJCFLAGS
1810 OBJCPP
1811 XMKMF
1812 XML2_CFLAGS
1813 XML2_LIBS
1814 XSLT_CFLAGS
1815 XSLT_LIBS
1816 DBUS_CFLAGS
1817 DBUS_LIBS
1818 HAL_CFLAGS
1819 HAL_LIBS
1820 GNUTLS_CFLAGS
1821 GNUTLS_LIBS
1822 SANE_CFLAGS
1823 SANE_LIBS
1824 GPHOTO2_CFLAGS
1825 GPHOTO2_LIBS
1826 GPHOTO2_PORT_CFLAGS
1827 GPHOTO2_PORT_LIBS
1828 LCMS2_CFLAGS
1829 LCMS2_LIBS
1830 FREETYPE_CFLAGS
1831 FREETYPE_LIBS
1832 PULSE_CFLAGS
1833 PULSE_LIBS
1834 GSTREAMER_CFLAGS
1835 GSTREAMER_LIBS
1836 UDEV_CFLAGS
1837 UDEV_LIBS
1838 SDL2_CFLAGS
1839 SDL2_LIBS
1840 FAUDIO_CFLAGS
1841 FAUDIO_LIBS
1842 CAPI20_CFLAGS
1843 CAPI20_LIBS
1844 CUPS_CFLAGS
1845 CUPS_LIBS
1846 FONTCONFIG_CFLAGS
1847 FONTCONFIG_LIBS
1848 KRB5_CFLAGS
1849 KRB5_LIBS
1850 GSSAPI_CFLAGS
1851 GSSAPI_LIBS
1852 JPEG_CFLAGS
1853 JPEG_LIBS
1854 PNG_CFLAGS
1855 PNG_LIBS
1856 TIFF_CFLAGS
1857 TIFF_LIBS
1858 MPG123_CFLAGS
1859 MPG123_LIBS
1860 NETAPI_CFLAGS
1861 NETAPI_LIBS
1862 VKD3D_CFLAGS
1863 VKD3D_LIBS
1864 LDAP_CFLAGS
1865 LDAP_LIBS'
1868 # Initialize some variables set by options.
1869 ac_init_help=
1870 ac_init_version=false
1871 ac_unrecognized_opts=
1872 ac_unrecognized_sep=
1873 # The variables have the same names as the options, with
1874 # dashes changed to underlines.
1875 cache_file=/dev/null
1876 exec_prefix=NONE
1877 no_create=
1878 no_recursion=
1879 prefix=NONE
1880 program_prefix=NONE
1881 program_suffix=NONE
1882 program_transform_name=s,x,x,
1883 silent=
1884 site=
1885 srcdir=
1886 verbose=
1887 x_includes=NONE
1888 x_libraries=NONE
1890 # Installation directory options.
1891 # These are left unexpanded so users can "make install exec_prefix=/foo"
1892 # and all the variables that are supposed to be based on exec_prefix
1893 # by default will actually change.
1894 # Use braces instead of parens because sh, perl, etc. also accept them.
1895 # (The list follows the same order as the GNU Coding Standards.)
1896 bindir='${exec_prefix}/bin'
1897 sbindir='${exec_prefix}/sbin'
1898 libexecdir='${exec_prefix}/libexec'
1899 datarootdir='${prefix}/share'
1900 datadir='${datarootdir}'
1901 sysconfdir='${prefix}/etc'
1902 sharedstatedir='${prefix}/com'
1903 localstatedir='${prefix}/var'
1904 runstatedir='${localstatedir}/run'
1905 includedir='${prefix}/include'
1906 oldincludedir='/usr/include'
1907 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1908 infodir='${datarootdir}/info'
1909 htmldir='${docdir}'
1910 dvidir='${docdir}'
1911 pdfdir='${docdir}'
1912 psdir='${docdir}'
1913 libdir='${exec_prefix}/lib'
1914 localedir='${datarootdir}/locale'
1915 mandir='${datarootdir}/man'
1917 ac_prev=
1918 ac_dashdash=
1919 for ac_option
1921 # If the previous option needs an argument, assign it.
1922 if test -n "$ac_prev"; then
1923 eval $ac_prev=\$ac_option
1924 ac_prev=
1925 continue
1928 case $ac_option in
1929 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1930 *=) ac_optarg= ;;
1931 *) ac_optarg=yes ;;
1932 esac
1934 # Accept the important Cygnus configure options, so we can diagnose typos.
1936 case $ac_dashdash$ac_option in
1938 ac_dashdash=yes ;;
1940 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1941 ac_prev=bindir ;;
1942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1943 bindir=$ac_optarg ;;
1945 -build | --build | --buil | --bui | --bu)
1946 ac_prev=build_alias ;;
1947 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1948 build_alias=$ac_optarg ;;
1950 -cache-file | --cache-file | --cache-fil | --cache-fi \
1951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1952 ac_prev=cache_file ;;
1953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1955 cache_file=$ac_optarg ;;
1957 --config-cache | -C)
1958 cache_file=config.cache ;;
1960 -datadir | --datadir | --datadi | --datad)
1961 ac_prev=datadir ;;
1962 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1963 datadir=$ac_optarg ;;
1965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1966 | --dataroo | --dataro | --datar)
1967 ac_prev=datarootdir ;;
1968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1970 datarootdir=$ac_optarg ;;
1972 -disable-* | --disable-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid feature name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "enable_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval enable_$ac_useropt=no ;;
1988 -docdir | --docdir | --docdi | --doc | --do)
1989 ac_prev=docdir ;;
1990 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1991 docdir=$ac_optarg ;;
1993 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1994 ac_prev=dvidir ;;
1995 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1996 dvidir=$ac_optarg ;;
1998 -enable-* | --enable-*)
1999 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2000 # Reject names that are not valid shell variable names.
2001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2002 as_fn_error $? "invalid feature name: $ac_useropt"
2003 ac_useropt_orig=$ac_useropt
2004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2005 case $ac_user_opts in
2007 "enable_$ac_useropt"
2008 "*) ;;
2009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2010 ac_unrecognized_sep=', ';;
2011 esac
2012 eval enable_$ac_useropt=\$ac_optarg ;;
2014 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2015 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2016 | --exec | --exe | --ex)
2017 ac_prev=exec_prefix ;;
2018 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2019 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2020 | --exec=* | --exe=* | --ex=*)
2021 exec_prefix=$ac_optarg ;;
2023 -gas | --gas | --ga | --g)
2024 # Obsolete; use --with-gas.
2025 with_gas=yes ;;
2027 -help | --help | --hel | --he | -h)
2028 ac_init_help=long ;;
2029 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2030 ac_init_help=recursive ;;
2031 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2032 ac_init_help=short ;;
2034 -host | --host | --hos | --ho)
2035 ac_prev=host_alias ;;
2036 -host=* | --host=* | --hos=* | --ho=*)
2037 host_alias=$ac_optarg ;;
2039 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2040 ac_prev=htmldir ;;
2041 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2042 | --ht=*)
2043 htmldir=$ac_optarg ;;
2045 -includedir | --includedir | --includedi | --included | --include \
2046 | --includ | --inclu | --incl | --inc)
2047 ac_prev=includedir ;;
2048 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2049 | --includ=* | --inclu=* | --incl=* | --inc=*)
2050 includedir=$ac_optarg ;;
2052 -infodir | --infodir | --infodi | --infod | --info | --inf)
2053 ac_prev=infodir ;;
2054 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2055 infodir=$ac_optarg ;;
2057 -libdir | --libdir | --libdi | --libd)
2058 ac_prev=libdir ;;
2059 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2060 libdir=$ac_optarg ;;
2062 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2063 | --libexe | --libex | --libe)
2064 ac_prev=libexecdir ;;
2065 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2066 | --libexe=* | --libex=* | --libe=*)
2067 libexecdir=$ac_optarg ;;
2069 -localedir | --localedir | --localedi | --localed | --locale)
2070 ac_prev=localedir ;;
2071 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2072 localedir=$ac_optarg ;;
2074 -localstatedir | --localstatedir | --localstatedi | --localstated \
2075 | --localstate | --localstat | --localsta | --localst | --locals)
2076 ac_prev=localstatedir ;;
2077 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2078 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2079 localstatedir=$ac_optarg ;;
2081 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2082 ac_prev=mandir ;;
2083 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2084 mandir=$ac_optarg ;;
2086 -nfp | --nfp | --nf)
2087 # Obsolete; use --without-fp.
2088 with_fp=no ;;
2090 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2091 | --no-cr | --no-c | -n)
2092 no_create=yes ;;
2094 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2095 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2096 no_recursion=yes ;;
2098 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2099 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2100 | --oldin | --oldi | --old | --ol | --o)
2101 ac_prev=oldincludedir ;;
2102 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2103 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2104 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2105 oldincludedir=$ac_optarg ;;
2107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2108 ac_prev=prefix ;;
2109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2110 prefix=$ac_optarg ;;
2112 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2113 | --program-pre | --program-pr | --program-p)
2114 ac_prev=program_prefix ;;
2115 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2116 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2117 program_prefix=$ac_optarg ;;
2119 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2120 | --program-suf | --program-su | --program-s)
2121 ac_prev=program_suffix ;;
2122 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2123 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2124 program_suffix=$ac_optarg ;;
2126 -program-transform-name | --program-transform-name \
2127 | --program-transform-nam | --program-transform-na \
2128 | --program-transform-n | --program-transform- \
2129 | --program-transform | --program-transfor \
2130 | --program-transfo | --program-transf \
2131 | --program-trans | --program-tran \
2132 | --progr-tra | --program-tr | --program-t)
2133 ac_prev=program_transform_name ;;
2134 -program-transform-name=* | --program-transform-name=* \
2135 | --program-transform-nam=* | --program-transform-na=* \
2136 | --program-transform-n=* | --program-transform-=* \
2137 | --program-transform=* | --program-transfor=* \
2138 | --program-transfo=* | --program-transf=* \
2139 | --program-trans=* | --program-tran=* \
2140 | --progr-tra=* | --program-tr=* | --program-t=*)
2141 program_transform_name=$ac_optarg ;;
2143 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2144 ac_prev=pdfdir ;;
2145 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2146 pdfdir=$ac_optarg ;;
2148 -psdir | --psdir | --psdi | --psd | --ps)
2149 ac_prev=psdir ;;
2150 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2151 psdir=$ac_optarg ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 silent=yes ;;
2157 -runstatedir | --runstatedir | --runstatedi | --runstated \
2158 | --runstate | --runstat | --runsta | --runst | --runs \
2159 | --run | --ru | --r)
2160 ac_prev=runstatedir ;;
2161 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2162 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2163 | --run=* | --ru=* | --r=*)
2164 runstatedir=$ac_optarg ;;
2166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2167 ac_prev=sbindir ;;
2168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2169 | --sbi=* | --sb=*)
2170 sbindir=$ac_optarg ;;
2172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2174 | --sharedst | --shareds | --shared | --share | --shar \
2175 | --sha | --sh)
2176 ac_prev=sharedstatedir ;;
2177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2180 | --sha=* | --sh=*)
2181 sharedstatedir=$ac_optarg ;;
2183 -site | --site | --sit)
2184 ac_prev=site ;;
2185 -site=* | --site=* | --sit=*)
2186 site=$ac_optarg ;;
2188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2189 ac_prev=srcdir ;;
2190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2191 srcdir=$ac_optarg ;;
2193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2194 | --syscon | --sysco | --sysc | --sys | --sy)
2195 ac_prev=sysconfdir ;;
2196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2198 sysconfdir=$ac_optarg ;;
2200 -target | --target | --targe | --targ | --tar | --ta | --t)
2201 ac_prev=target_alias ;;
2202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2203 target_alias=$ac_optarg ;;
2205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2206 verbose=yes ;;
2208 -version | --version | --versio | --versi | --vers | -V)
2209 ac_init_version=: ;;
2211 -with-* | --with-*)
2212 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2215 as_fn_error $? "invalid package name: $ac_useropt"
2216 ac_useropt_orig=$ac_useropt
2217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2220 "with_$ac_useropt"
2221 "*) ;;
2222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2223 ac_unrecognized_sep=', ';;
2224 esac
2225 eval with_$ac_useropt=\$ac_optarg ;;
2227 -without-* | --without-*)
2228 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2229 # Reject names that are not valid shell variable names.
2230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2231 as_fn_error $? "invalid package name: $ac_useropt"
2232 ac_useropt_orig=$ac_useropt
2233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2234 case $ac_user_opts in
2236 "with_$ac_useropt"
2237 "*) ;;
2238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2239 ac_unrecognized_sep=', ';;
2240 esac
2241 eval with_$ac_useropt=no ;;
2243 --x)
2244 # Obsolete; use --with-x.
2245 with_x=yes ;;
2247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2248 | --x-incl | --x-inc | --x-in | --x-i)
2249 ac_prev=x_includes ;;
2250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2252 x_includes=$ac_optarg ;;
2254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2256 ac_prev=x_libraries ;;
2257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2259 x_libraries=$ac_optarg ;;
2261 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2262 Try \`$0 --help' for more information"
2265 *=*)
2266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2267 # Reject names that are not valid shell variable names.
2268 case $ac_envvar in #(
2269 '' | [0-9]* | *[!_$as_cr_alnum]* )
2270 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2271 esac
2272 eval $ac_envvar=\$ac_optarg
2273 export $ac_envvar ;;
2276 # FIXME: should be removed in autoconf 3.0.
2277 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2279 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2280 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2283 esac
2284 done
2286 if test -n "$ac_prev"; then
2287 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2288 as_fn_error $? "missing argument to $ac_option"
2291 if test -n "$ac_unrecognized_opts"; then
2292 case $enable_option_checking in
2293 no) ;;
2294 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2295 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2296 esac
2299 # Check all directory arguments for consistency.
2300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2301 datadir sysconfdir sharedstatedir localstatedir includedir \
2302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2303 libdir localedir mandir runstatedir
2305 eval ac_val=\$$ac_var
2306 # Remove trailing slashes.
2307 case $ac_val in
2308 */ )
2309 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2310 eval $ac_var=\$ac_val;;
2311 esac
2312 # Be sure to have absolute directory names.
2313 case $ac_val in
2314 [\\/$]* | ?:[\\/]* ) continue;;
2315 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2316 esac
2317 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2318 done
2320 # There might be people who depend on the old broken behavior: `$host'
2321 # used to hold the argument of --host etc.
2322 # FIXME: To remove some day.
2323 build=$build_alias
2324 host=$host_alias
2325 target=$target_alias
2327 # FIXME: To remove some day.
2328 if test "x$host_alias" != x; then
2329 if test "x$build_alias" = x; then
2330 cross_compiling=maybe
2331 elif test "x$build_alias" != "x$host_alias"; then
2332 cross_compiling=yes
2336 ac_tool_prefix=
2337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2339 test "$silent" = yes && exec 6>/dev/null
2342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2343 ac_ls_di=`ls -di .` &&
2344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2345 as_fn_error $? "working directory cannot be determined"
2346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2347 as_fn_error $? "pwd does not report name of working directory"
2350 # Find the source files, if location was not specified.
2351 if test -z "$srcdir"; then
2352 ac_srcdir_defaulted=yes
2353 # Try the directory containing this script, then the parent directory.
2354 ac_confdir=`$as_dirname -- "$as_myself" ||
2355 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2356 X"$as_myself" : 'X\(//\)[^/]' \| \
2357 X"$as_myself" : 'X\(//\)$' \| \
2358 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2359 $as_echo X"$as_myself" |
2360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2361 s//\1/
2364 /^X\(\/\/\)[^/].*/{
2365 s//\1/
2368 /^X\(\/\/\)$/{
2369 s//\1/
2372 /^X\(\/\).*/{
2373 s//\1/
2376 s/.*/./; q'`
2377 srcdir=$ac_confdir
2378 if test ! -r "$srcdir/$ac_unique_file"; then
2379 srcdir=..
2381 else
2382 ac_srcdir_defaulted=no
2384 if test ! -r "$srcdir/$ac_unique_file"; then
2385 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2386 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2388 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2389 ac_abs_confdir=`(
2390 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2391 pwd)`
2392 # When building in place, set srcdir=.
2393 if test "$ac_abs_confdir" = "$ac_pwd"; then
2394 srcdir=.
2396 # Remove unnecessary trailing slashes from srcdir.
2397 # Double slashes in file names in object file debugging info
2398 # mess up M-x gdb in Emacs.
2399 case $srcdir in
2400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2401 esac
2402 for ac_var in $ac_precious_vars; do
2403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2404 eval ac_env_${ac_var}_value=\$${ac_var}
2405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2407 done
2410 # Report the --help message.
2412 if test "$ac_init_help" = "long"; then
2413 # Omit some internal or obsolete options to make the list less imposing.
2414 # This message is too long to be a string in the A/UX 3.1 sh.
2415 cat <<_ACEOF
2416 \`configure' configures Wine 4.5 to adapt to many kinds of systems.
2418 Usage: $0 [OPTION]... [VAR=VALUE]...
2420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2421 VAR=VALUE. See below for descriptions of some of the useful variables.
2423 Defaults for the options are specified in brackets.
2425 Configuration:
2426 -h, --help display this help and exit
2427 --help=short display options specific to this package
2428 --help=recursive display the short help of all the included packages
2429 -V, --version display version information and exit
2430 -q, --quiet, --silent do not print \`checking ...' messages
2431 --cache-file=FILE cache test results in FILE [disabled]
2432 -C, --config-cache alias for \`--cache-file=config.cache'
2433 -n, --no-create do not create output files
2434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2436 Installation directories:
2437 --prefix=PREFIX install architecture-independent files in PREFIX
2438 [$ac_default_prefix]
2439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2440 [PREFIX]
2442 By default, \`make install' will install all the files in
2443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2445 for instance \`--prefix=\$HOME'.
2447 For better control, use the options below.
2449 Fine tuning of the installation directories:
2450 --bindir=DIR user executables [EPREFIX/bin]
2451 --sbindir=DIR system admin executables [EPREFIX/sbin]
2452 --libexecdir=DIR program executables [EPREFIX/libexec]
2453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2456 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2457 --libdir=DIR object code libraries [EPREFIX/lib]
2458 --includedir=DIR C header files [PREFIX/include]
2459 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2460 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2461 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2462 --infodir=DIR info documentation [DATAROOTDIR/info]
2463 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2464 --mandir=DIR man documentation [DATAROOTDIR/man]
2465 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2466 --htmldir=DIR html documentation [DOCDIR]
2467 --dvidir=DIR dvi documentation [DOCDIR]
2468 --pdfdir=DIR pdf documentation [DOCDIR]
2469 --psdir=DIR ps documentation [DOCDIR]
2470 _ACEOF
2472 cat <<\_ACEOF
2474 X features:
2475 --x-includes=DIR X include files are in DIR
2476 --x-libraries=DIR X library files are in DIR
2478 System types:
2479 --build=BUILD configure for building on BUILD [guessed]
2480 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2481 _ACEOF
2484 if test -n "$ac_init_help"; then
2485 case $ac_init_help in
2486 short | recursive ) echo "Configuration of Wine 4.5:";;
2487 esac
2488 cat <<\_ACEOF
2490 Optional Features:
2491 --disable-option-checking ignore unrecognized --enable/--with options
2492 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2493 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2494 --disable-win16 do not include Win16 support
2495 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2496 binaries)
2497 --disable-tests do not build the regression tests
2498 --enable-maintainer-mode
2499 enable maintainer-specific build rules
2500 --disable-largefile omit support for large files
2502 Optional Packages:
2503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2505 --without-alsa do not use the Alsa sound support
2506 --without-capi do not use CAPI (ISDN support)
2507 --without-cms do not use CMS (color management support)
2508 --without-coreaudio do not use the CoreAudio sound support
2509 --without-cups do not use CUPS
2510 --without-curses do not use (n)curses
2511 --without-dbus do not use DBus (dynamic device support)
2512 --without-faudio do not use FAudio (XAudio2 support)
2513 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2514 --without-fontconfig do not use fontconfig
2515 --without-freetype do not use the FreeType library
2516 --without-gettext do not use gettext
2517 --with-gettextpo use the GetTextPO library to rebuild po files
2518 --without-gphoto do not use gphoto (Digital Camera support)
2519 --without-glu do not use the GLU library
2520 --without-gnutls do not use GnuTLS (schannel support)
2521 --without-gsm do not use libgsm (GSM 06.10 codec support)
2522 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2523 --without-gstreamer do not use GStreamer (codecs support)
2524 --without-hal do not use HAL (dynamic device support)
2525 --without-jpeg do not use JPEG
2526 --without-krb5 do not use krb5 (Kerberos)
2527 --without-ldap do not use LDAP
2528 --without-mingw do not use the MinGW cross-compiler
2529 --without-mpg123 do not use the mpg123 library
2530 --without-netapi do not use the Samba NetAPI library
2531 --without-openal do not use OpenAL
2532 --without-opencl do not use OpenCL
2533 --without-opengl do not use OpenGL
2534 --without-osmesa do not use the OSMesa library
2535 --without-oss do not use the OSS sound support
2536 --without-pcap do not use the Packet Capture library
2537 --without-png do not use PNG
2538 --without-pthread do not use the pthread library
2539 --without-pulse do not use PulseAudio sound support
2540 --without-sane do not use SANE (scanner support)
2541 --without-sdl do not use SDL
2542 --without-tiff do not use TIFF
2543 --without-udev do not use udev (plug and play support)
2544 --without-v4l do not use v4l1 (v4l support)
2545 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2546 --without-vulkan do not use Vulkan
2547 --without-xcomposite do not use the Xcomposite extension
2548 --without-xcursor do not use the Xcursor extension
2549 --without-xfixes do not use Xfixes for clipboard change notifications
2550 --without-xinerama do not use Xinerama (multi-monitor support)
2551 --without-xinput do not use the Xinput extension
2552 --without-xinput2 do not use the Xinput 2 extension
2553 --without-xml do not use XML
2554 --without-xrandr do not use Xrandr (resolution changes)
2555 --without-xrender do not use the Xrender extension
2556 --without-xshape do not use the Xshape extension
2557 --without-xshm do not use XShm (shared memory extension)
2558 --without-xslt do not use XSLT
2559 --without-xxf86vm do not use XFree video mode extension
2560 --without-zlib do not use Zlib (data compression)
2561 --with-wine-tools=DIR use Wine tools from directory DIR
2562 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2563 --with-x use the X Window System
2565 Some influential environment variables:
2566 CC C compiler command
2567 CFLAGS C compiler flags
2568 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2569 nonstandard directory <lib dir>
2570 LIBS libraries to pass to the linker, e.g. -l<library>
2571 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2572 you have headers in a nonstandard directory <include dir>
2573 CXX C++ compiler command
2574 CXXFLAGS C++ compiler flags
2575 CPP C preprocessor
2576 OBJC Objective C compiler command
2577 OBJCFLAGS Objective C compiler flags
2578 OBJCPP Objective C preprocessor
2579 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2581 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2582 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2583 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2584 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2585 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2586 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2587 HAL_LIBS Linker flags for hal, overriding pkg-config
2588 GNUTLS_CFLAGS
2589 C compiler flags for gnutls, overriding pkg-config
2590 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2591 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2592 SANE_LIBS Linker flags for libsane, overriding pkg-config
2593 GPHOTO2_CFLAGS
2594 C compiler flags for libgphoto2, overriding pkg-config
2595 GPHOTO2_LIBS
2596 Linker flags for libgphoto2, overriding pkg-config
2597 GPHOTO2_PORT_CFLAGS
2598 C compiler flags for libgphoto2_port, overriding pkg-config
2599 GPHOTO2_PORT_LIBS
2600 Linker flags for libgphoto2_port, overriding pkg-config
2601 LCMS2_CFLAGS
2602 C compiler flags for lcms2, overriding pkg-config
2603 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2604 FREETYPE_CFLAGS
2605 C compiler flags for freetype2, overriding pkg-config
2606 FREETYPE_LIBS
2607 Linker flags for freetype2, overriding pkg-config
2608 PULSE_CFLAGS
2609 C compiler flags for libpulse, overriding pkg-config
2610 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2611 GSTREAMER_CFLAGS
2612 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2613 gstreamer-audio-1.0, overriding pkg-config
2614 GSTREAMER_LIBS
2615 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2616 gstreamer-audio-1.0, overriding pkg-config
2617 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2618 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2619 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2620 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2621 FAUDIO_CFLAGS
2622 C compiler flags for faudio, overriding pkg-config
2623 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2624 CAPI20_CFLAGS
2625 C compiler flags for capi20, overriding pkg-config
2626 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2627 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2628 CUPS_LIBS Linker flags for cups, overriding pkg-config
2629 FONTCONFIG_CFLAGS
2630 C compiler flags for fontconfig, overriding pkg-config
2631 FONTCONFIG_LIBS
2632 Linker flags for fontconfig, overriding pkg-config
2633 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2634 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2635 GSSAPI_CFLAGS
2636 C compiler flags for krb5-gssapi, overriding pkg-config
2637 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2638 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2639 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2640 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2641 PNG_LIBS Linker flags for libpng, overriding pkg-config
2642 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2643 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2644 MPG123_CFLAGS
2645 C compiler flags for libmpg123, overriding pkg-config
2646 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2647 NETAPI_CFLAGS
2648 C compiler flags for netapi, overriding pkg-config
2649 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2650 VKD3D_CFLAGS
2651 C compiler flags for libvkd3d, overriding pkg-config
2652 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2653 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2654 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2656 Use these variables to override the choices made by `configure' or to help
2657 it to find libraries and programs with nonstandard names/locations.
2659 Report bugs to <wine-devel@winehq.org>.
2660 Wine home page: <https://www.winehq.org>.
2661 _ACEOF
2662 ac_status=$?
2665 if test "$ac_init_help" = "recursive"; then
2666 # If there are subdirs, report their specific --help.
2667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2668 test -d "$ac_dir" ||
2669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2670 continue
2671 ac_builddir=.
2673 case "$ac_dir" in
2674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2677 # A ".." for each directory in $ac_dir_suffix.
2678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2679 case $ac_top_builddir_sub in
2680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2682 esac ;;
2683 esac
2684 ac_abs_top_builddir=$ac_pwd
2685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2686 # for backward compatibility:
2687 ac_top_builddir=$ac_top_build_prefix
2689 case $srcdir in
2690 .) # We are building in place.
2691 ac_srcdir=.
2692 ac_top_srcdir=$ac_top_builddir_sub
2693 ac_abs_top_srcdir=$ac_pwd ;;
2694 [\\/]* | ?:[\\/]* ) # Absolute name.
2695 ac_srcdir=$srcdir$ac_dir_suffix;
2696 ac_top_srcdir=$srcdir
2697 ac_abs_top_srcdir=$srcdir ;;
2698 *) # Relative name.
2699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2700 ac_top_srcdir=$ac_top_build_prefix$srcdir
2701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2702 esac
2703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2705 cd "$ac_dir" || { ac_status=$?; continue; }
2706 # Check for guested configure.
2707 if test -f "$ac_srcdir/configure.gnu"; then
2708 echo &&
2709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2710 elif test -f "$ac_srcdir/configure"; then
2711 echo &&
2712 $SHELL "$ac_srcdir/configure" --help=recursive
2713 else
2714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2715 fi || ac_status=$?
2716 cd "$ac_pwd" || { ac_status=$?; break; }
2717 done
2720 test -n "$ac_init_help" && exit $ac_status
2721 if $ac_init_version; then
2722 cat <<\_ACEOF
2723 Wine configure 4.5
2724 generated by GNU Autoconf 2.69
2726 Copyright (C) 2012 Free Software Foundation, Inc.
2727 This configure script is free software; the Free Software Foundation
2728 gives unlimited permission to copy, distribute and modify it.
2729 _ACEOF
2730 exit
2733 ## ------------------------ ##
2734 ## Autoconf initialization. ##
2735 ## ------------------------ ##
2737 # ac_fn_c_try_compile LINENO
2738 # --------------------------
2739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2740 ac_fn_c_try_compile ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 rm -f conftest.$ac_objext
2744 if { { ac_try="$ac_compile"
2745 case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_compile") 2>conftest.err
2752 ac_status=$?
2753 if test -s conftest.err; then
2754 grep -v '^ *+' conftest.err >conftest.er1
2755 cat conftest.er1 >&5
2756 mv -f conftest.er1 conftest.err
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then :
2763 ac_retval=0
2764 else
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_retval=1
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2773 } # ac_fn_c_try_compile
2775 # ac_fn_cxx_try_compile LINENO
2776 # ----------------------------
2777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2778 ac_fn_cxx_try_compile ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 rm -f conftest.$ac_objext
2782 if { { ac_try="$ac_compile"
2783 case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786 esac
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>conftest.err
2790 ac_status=$?
2791 if test -s conftest.err; then
2792 grep -v '^ *+' conftest.err >conftest.er1
2793 cat conftest.er1 >&5
2794 mv -f conftest.er1 conftest.err
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && {
2798 test -z "$ac_cxx_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then :
2801 ac_retval=0
2802 else
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_retval=1
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_cxx_try_compile
2813 # ac_fn_c_try_link LINENO
2814 # -----------------------
2815 # Try to link conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_c_try_link ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext conftest$ac_exeext
2820 if { { ac_try="$ac_link"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_link") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest$ac_exeext && {
2839 test "$cross_compiling" = yes ||
2840 test -x conftest$ac_exeext
2841 }; then :
2842 ac_retval=0
2843 else
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 ac_retval=1
2849 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2850 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2851 # interfere with the next link command; also delete a directory that is
2852 # left behind by Apple's compiler. We do this before executing the actions.
2853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_link
2859 # ac_fn_c_try_cpp LINENO
2860 # ----------------------
2861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2862 ac_fn_c_try_cpp ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 if { { ac_try="$ac_cpp conftest.$ac_ext"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } > conftest.i && {
2881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 }; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_cpp
2896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2897 # -------------------------------------------------------
2898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2899 # the include files in INCLUDES and setting the cache variable VAR
2900 # accordingly.
2901 ac_fn_c_check_header_mongrel ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 if eval \${$3+:} false; then :
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 $as_echo_n "checking for $2... " >&6; }
2907 if eval \${$3+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 else
2914 # Is the header compilable?
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2916 $as_echo_n "checking $2 usability... " >&6; }
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 #include <$2>
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 ac_header_compiler=yes
2924 else
2925 ac_header_compiler=no
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2929 $as_echo "$ac_header_compiler" >&6; }
2931 # Is the header present?
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2933 $as_echo_n "checking $2 presence... " >&6; }
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 #include <$2>
2937 _ACEOF
2938 if ac_fn_c_try_cpp "$LINENO"; then :
2939 ac_header_preproc=yes
2940 else
2941 ac_header_preproc=no
2943 rm -f conftest.err conftest.i conftest.$ac_ext
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2945 $as_echo "$ac_header_preproc" >&6; }
2947 # So? What about this header?
2948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2949 yes:no: )
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2955 no:yes:* )
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2959 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2963 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2966 ( $as_echo "## ------------------------------------ ##
2967 ## Report this to wine-devel@winehq.org ##
2968 ## ------------------------------------ ##"
2969 ) | sed "s/^/$as_me: WARNING: /" >&2
2971 esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 eval "$3=\$ac_header_compiler"
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_header_mongrel
2987 # ac_fn_c_try_run LINENO
2988 # ----------------------
2989 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2990 # that executables *can* be run.
2991 ac_fn_c_try_run ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 if { { ac_try="$ac_link"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>&5
3002 ac_status=$?
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }; }; then :
3015 ac_retval=0
3016 else
3017 $as_echo "$as_me: program exited with status $ac_status" >&5
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=$ac_status
3023 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 as_fn_set_status $ac_retval
3027 } # ac_fn_c_try_run
3029 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3030 # -------------------------------------------------------
3031 # Tests whether HEADER exists and can be compiled using the include files in
3032 # INCLUDES, setting the cache variable VAR accordingly.
3033 ac_fn_c_check_header_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 $as_echo_n "checking for $2... " >&6; }
3038 if eval \${$3+:} false; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3044 #include <$2>
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"; then :
3047 eval "$3=yes"
3048 else
3049 eval "$3=no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_header_compile
3060 # ac_fn_objc_try_compile LINENO
3061 # -----------------------------
3062 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3063 ac_fn_objc_try_compile ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 rm -f conftest.$ac_objext
3067 if { { ac_try="$ac_compile"
3068 case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3071 esac
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_compile") 2>conftest.err
3075 ac_status=$?
3076 if test -s conftest.err; then
3077 grep -v '^ *+' conftest.err >conftest.er1
3078 cat conftest.er1 >&5
3079 mv -f conftest.er1 conftest.err
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; } && {
3083 test -z "$ac_objc_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then :
3086 ac_retval=0
3087 else
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3091 ac_retval=1
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_objc_try_compile
3098 # ac_fn_objc_try_cpp LINENO
3099 # -------------------------
3100 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3101 ac_fn_objc_try_cpp ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 if { { ac_try="$ac_cpp conftest.$ac_ext"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3112 ac_status=$?
3113 if test -s conftest.err; then
3114 grep -v '^ *+' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 mv -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } > conftest.i && {
3120 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3121 test ! -s conftest.err
3122 }; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_cpp
3135 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3136 # ----------------------------------------------------------
3137 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3138 # the include files in INCLUDES and setting the cache variable VAR
3139 # accordingly.
3140 ac_fn_objc_check_header_mongrel ()
3142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3143 if eval \${$3+:} false; then :
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 eval ac_res=\$$3
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3151 $as_echo "$ac_res" >&6; }
3152 else
3153 # Is the header compilable?
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3155 $as_echo_n "checking $2 usability... " >&6; }
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3159 #include <$2>
3160 _ACEOF
3161 if ac_fn_objc_try_compile "$LINENO"; then :
3162 ac_header_compiler=yes
3163 else
3164 ac_header_compiler=no
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3168 $as_echo "$ac_header_compiler" >&6; }
3170 # Is the header present?
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3172 $as_echo_n "checking $2 presence... " >&6; }
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175 #include <$2>
3176 _ACEOF
3177 if ac_fn_objc_try_cpp "$LINENO"; then :
3178 ac_header_preproc=yes
3179 else
3180 ac_header_preproc=no
3182 rm -f conftest.err conftest.i conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3184 $as_echo "$ac_header_preproc" >&6; }
3186 # So? What about this header?
3187 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3188 yes:no: )
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3190 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3194 no:yes:* )
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3196 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3198 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3200 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3202 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3205 ( $as_echo "## ------------------------------------ ##
3206 ## Report this to wine-devel@winehq.org ##
3207 ## ------------------------------------ ##"
3208 ) | sed "s/^/$as_me: WARNING: /" >&2
3210 esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3212 $as_echo_n "checking for $2... " >&6; }
3213 if eval \${$3+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 eval "$3=\$ac_header_compiler"
3218 eval ac_res=\$$3
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3220 $as_echo "$ac_res" >&6; }
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 } # ac_fn_objc_check_header_mongrel
3226 # ac_fn_c_check_func LINENO FUNC VAR
3227 # ----------------------------------
3228 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3229 ac_fn_c_check_func ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3233 $as_echo_n "checking for $2... " >&6; }
3234 if eval \${$3+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3239 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3241 #define $2 innocuous_$2
3243 /* System header to define __stub macros and hopefully few prototypes,
3244 which can conflict with char $2 (); below.
3245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 <limits.h> exists even on freestanding compilers. */
3248 #ifdef __STDC__
3249 # include <limits.h>
3250 #else
3251 # include <assert.h>
3252 #endif
3254 #undef $2
3256 /* Override any GCC internal prototype to avoid an error.
3257 Use char because int might match the return type of a GCC
3258 builtin and then its argument prototype would still apply. */
3259 #ifdef __cplusplus
3260 extern "C"
3261 #endif
3262 char $2 ();
3263 /* The GNU C library defines this for functions which it implements
3264 to always fail with ENOSYS. Some functions are actually named
3265 something starting with __ and the normal name is an alias. */
3266 #if defined __stub_$2 || defined __stub___$2
3267 choke me
3268 #endif
3271 main ()
3273 return $2 ();
3275 return 0;
3277 _ACEOF
3278 if ac_fn_c_try_link "$LINENO"; then :
3279 eval "$3=yes"
3280 else
3281 eval "$3=no"
3283 rm -f core conftest.err conftest.$ac_objext \
3284 conftest$ac_exeext conftest.$ac_ext
3286 eval ac_res=\$$3
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3288 $as_echo "$ac_res" >&6; }
3289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3291 } # ac_fn_c_check_func
3293 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3294 # ----------------------------------------------------
3295 # Tries to find if the field MEMBER exists in type AGGR, after including
3296 # INCLUDES, setting cache variable VAR accordingly.
3297 ac_fn_c_check_member ()
3299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3301 $as_echo_n "checking for $2.$3... " >&6; }
3302 if eval \${$4+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3309 main ()
3311 static $2 ac_aggr;
3312 if (ac_aggr.$3)
3313 return 0;
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 eval "$4=yes"
3320 else
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3325 main ()
3327 static $2 ac_aggr;
3328 if (sizeof ac_aggr.$3)
3329 return 0;
3331 return 0;
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 eval "$4=yes"
3336 else
3337 eval "$4=no"
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 eval ac_res=\$$4
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3345 $as_echo "$ac_res" >&6; }
3346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3348 } # ac_fn_c_check_member
3350 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3351 # -------------------------------------------
3352 # Tests whether TYPE exists after having included INCLUDES, setting cache
3353 # variable VAR accordingly.
3354 ac_fn_c_check_type ()
3356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3358 $as_echo_n "checking for $2... " >&6; }
3359 if eval \${$3+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 eval "$3=no"
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3369 if (sizeof ($2))
3370 return 0;
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 if (sizeof (($2)))
3383 return 0;
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3390 else
3391 eval "$3=yes"
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 eval ac_res=\$$3
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3399 $as_echo "$ac_res" >&6; }
3400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3402 } # ac_fn_c_check_type
3403 cat >config.log <<_ACEOF
3404 This file contains any messages produced by compilers while
3405 running configure, to aid debugging if configure makes a mistake.
3407 It was created by Wine $as_me 4.5, which was
3408 generated by GNU Autoconf 2.69. Invocation command line was
3410 $ $0 $@
3412 _ACEOF
3413 exec 5>>config.log
3415 cat <<_ASUNAME
3416 ## --------- ##
3417 ## Platform. ##
3418 ## --------- ##
3420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3437 _ASUNAME
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH
3442 IFS=$as_save_IFS
3443 test -z "$as_dir" && as_dir=.
3444 $as_echo "PATH: $as_dir"
3445 done
3446 IFS=$as_save_IFS
3448 } >&5
3450 cat >&5 <<_ACEOF
3453 ## ----------- ##
3454 ## Core tests. ##
3455 ## ----------- ##
3457 _ACEOF
3460 # Keep a trace of the command line.
3461 # Strip out --no-create and --no-recursion so they do not pile up.
3462 # Strip out --silent because we don't want to record it for future runs.
3463 # Also quote any args containing shell meta-characters.
3464 # Make two passes to allow for proper duplicate-argument suppression.
3465 ac_configure_args=
3466 ac_configure_args0=
3467 ac_configure_args1=
3468 ac_must_keep_next=false
3469 for ac_pass in 1 2
3471 for ac_arg
3473 case $ac_arg in
3474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3476 | -silent | --silent | --silen | --sile | --sil)
3477 continue ;;
3478 *\'*)
3479 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3480 esac
3481 case $ac_pass in
3482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3484 as_fn_append ac_configure_args1 " '$ac_arg'"
3485 if test $ac_must_keep_next = true; then
3486 ac_must_keep_next=false # Got value, back to normal.
3487 else
3488 case $ac_arg in
3489 *=* | --config-cache | -C | -disable-* | --disable-* \
3490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3492 | -with-* | --with-* | -without-* | --without-* | --x)
3493 case "$ac_configure_args0 " in
3494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3495 esac
3497 -* ) ac_must_keep_next=true ;;
3498 esac
3500 as_fn_append ac_configure_args " '$ac_arg'"
3502 esac
3503 done
3504 done
3505 { ac_configure_args0=; unset ac_configure_args0;}
3506 { ac_configure_args1=; unset ac_configure_args1;}
3508 # When interrupted or exit'd, cleanup temporary files, and complete
3509 # config.log. We remove comments because anyway the quotes in there
3510 # would cause problems or look ugly.
3511 # WARNING: Use '\'' to represent an apostrophe within the trap.
3512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3513 trap 'exit_status=$?
3514 # Save into config.log some information that might help in debugging.
3516 echo
3518 $as_echo "## ---------------- ##
3519 ## Cache variables. ##
3520 ## ---------------- ##"
3521 echo
3522 # The following way of writing the cache mishandles newlines in values,
3524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in #(
3527 *${as_nl}*)
3528 case $ac_var in #(
3529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3531 esac
3532 case $ac_var in #(
3533 _ | IFS | as_nl) ;; #(
3534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3535 *) { eval $ac_var=; unset $ac_var;} ;;
3536 esac ;;
3537 esac
3538 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 sed -n \
3543 "s/'\''/'\''\\\\'\'''\''/g;
3544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3545 ;; #(
3547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3549 esac |
3550 sort
3552 echo
3554 $as_echo "## ----------------- ##
3555 ## Output variables. ##
3556 ## ----------------- ##"
3557 echo
3558 for ac_var in $ac_subst_vars
3560 eval ac_val=\$$ac_var
3561 case $ac_val in
3562 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3563 esac
3564 $as_echo "$ac_var='\''$ac_val'\''"
3565 done | sort
3566 echo
3568 if test -n "$ac_subst_files"; then
3569 $as_echo "## ------------------- ##
3570 ## File substitutions. ##
3571 ## ------------------- ##"
3572 echo
3573 for ac_var in $ac_subst_files
3575 eval ac_val=\$$ac_var
3576 case $ac_val in
3577 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3578 esac
3579 $as_echo "$ac_var='\''$ac_val'\''"
3580 done | sort
3581 echo
3584 if test -s confdefs.h; then
3585 $as_echo "## ----------- ##
3586 ## confdefs.h. ##
3587 ## ----------- ##"
3588 echo
3589 cat confdefs.h
3590 echo
3592 test "$ac_signal" != 0 &&
3593 $as_echo "$as_me: caught signal $ac_signal"
3594 $as_echo "$as_me: exit $exit_status"
3595 } >&5
3596 rm -f core *.core core.conftest.* &&
3597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3598 exit $exit_status
3600 for ac_signal in 1 2 13 15; do
3601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3602 done
3603 ac_signal=0
3605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3606 rm -f -r conftest* confdefs.h
3608 $as_echo "/* confdefs.h */" > confdefs.h
3610 # Predefined preprocessor variables.
3612 cat >>confdefs.h <<_ACEOF
3613 #define PACKAGE_NAME "$PACKAGE_NAME"
3614 _ACEOF
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3618 _ACEOF
3620 cat >>confdefs.h <<_ACEOF
3621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3622 _ACEOF
3624 cat >>confdefs.h <<_ACEOF
3625 #define PACKAGE_STRING "$PACKAGE_STRING"
3626 _ACEOF
3628 cat >>confdefs.h <<_ACEOF
3629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3630 _ACEOF
3632 cat >>confdefs.h <<_ACEOF
3633 #define PACKAGE_URL "$PACKAGE_URL"
3634 _ACEOF
3637 # Let the site file select an alternate cache file if it wants to.
3638 # Prefer an explicitly selected file to automatically selected ones.
3639 ac_site_file1=NONE
3640 ac_site_file2=NONE
3641 if test -n "$CONFIG_SITE"; then
3642 # We do not want a PATH search for config.site.
3643 case $CONFIG_SITE in #((
3644 -*) ac_site_file1=./$CONFIG_SITE;;
3645 */*) ac_site_file1=$CONFIG_SITE;;
3646 *) ac_site_file1=./$CONFIG_SITE;;
3647 esac
3648 elif test "x$prefix" != xNONE; then
3649 ac_site_file1=$prefix/share/config.site
3650 ac_site_file2=$prefix/etc/config.site
3651 else
3652 ac_site_file1=$ac_default_prefix/share/config.site
3653 ac_site_file2=$ac_default_prefix/etc/config.site
3655 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3657 test "x$ac_site_file" = xNONE && continue
3658 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3660 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3661 sed 's/^/| /' "$ac_site_file" >&5
3662 . "$ac_site_file" \
3663 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "failed to load site script $ac_site_file
3666 See \`config.log' for more details" "$LINENO" 5; }
3668 done
3670 if test -r "$cache_file"; then
3671 # Some versions of bash will fail to source /dev/null (special files
3672 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3673 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3675 $as_echo "$as_me: loading cache $cache_file" >&6;}
3676 case $cache_file in
3677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3678 *) . "./$cache_file";;
3679 esac
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3683 $as_echo "$as_me: creating cache $cache_file" >&6;}
3684 >$cache_file
3687 # Check that the precious variables saved in the cache have kept the same
3688 # value.
3689 ac_cache_corrupted=false
3690 for ac_var in $ac_precious_vars; do
3691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3692 eval ac_new_set=\$ac_env_${ac_var}_set
3693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3694 eval ac_new_val=\$ac_env_${ac_var}_value
3695 case $ac_old_set,$ac_new_set in
3696 set,)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3698 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3699 ac_cache_corrupted=: ;;
3700 ,set)
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3702 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3703 ac_cache_corrupted=: ;;
3704 ,);;
3706 if test "x$ac_old_val" != "x$ac_new_val"; then
3707 # differences in whitespace do not lead to failure.
3708 ac_old_val_w=`echo x $ac_old_val`
3709 ac_new_val_w=`echo x $ac_new_val`
3710 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3712 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3713 ac_cache_corrupted=:
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3716 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3717 eval $ac_var=\$ac_old_val
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3720 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3722 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3723 fi;;
3724 esac
3725 # Pass precious variables to config.status.
3726 if test "$ac_new_set" = set; then
3727 case $ac_new_val in
3728 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3729 *) ac_arg=$ac_var=$ac_new_val ;;
3730 esac
3731 case " $ac_configure_args " in
3732 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3733 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3734 esac
3736 done
3737 if $ac_cache_corrupted; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3741 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3742 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3744 ## -------------------- ##
3745 ## Main body of script. ##
3746 ## -------------------- ##
3748 ac_ext=c
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 ac_config_headers="$ac_config_headers include/config.h"
3758 ac_aux_dir=
3759 for ac_dir in tools "$srcdir"/tools; do
3760 if test -f "$ac_dir/install-sh"; then
3761 ac_aux_dir=$ac_dir
3762 ac_install_sh="$ac_aux_dir/install-sh -c"
3763 break
3764 elif test -f "$ac_dir/install.sh"; then
3765 ac_aux_dir=$ac_dir
3766 ac_install_sh="$ac_aux_dir/install.sh -c"
3767 break
3768 elif test -f "$ac_dir/shtool"; then
3769 ac_aux_dir=$ac_dir
3770 ac_install_sh="$ac_aux_dir/shtool install -c"
3771 break
3773 done
3774 if test -z "$ac_aux_dir"; then
3775 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3778 # These three variables are undocumented and unsupported,
3779 # and are intended to be withdrawn in a future Autoconf release.
3780 # They can cause serious problems if a builder's source tree is in a directory
3781 # whose full name contains unusual characters.
3782 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3783 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3784 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3788 libwine_version="1.0"
3792 # Check whether --enable-win16 was given.
3793 if test "${enable_win16+set}" = set; then :
3794 enableval=$enable_win16;
3797 # Check whether --enable-win64 was given.
3798 if test "${enable_win64+set}" = set; then :
3799 enableval=$enable_win64;
3802 # Check whether --enable-tests was given.
3803 if test "${enable_tests+set}" = set; then :
3804 enableval=$enable_tests;
3807 # Check whether --enable-maintainer-mode was given.
3808 if test "${enable_maintainer_mode+set}" = set; then :
3809 enableval=$enable_maintainer_mode;
3814 # Check whether --with-alsa was given.
3815 if test "${with_alsa+set}" = set; then :
3816 withval=$with_alsa;
3820 # Check whether --with-capi was given.
3821 if test "${with_capi+set}" = set; then :
3822 withval=$with_capi;
3826 # Check whether --with-cms was given.
3827 if test "${with_cms+set}" = set; then :
3828 withval=$with_cms;
3832 # Check whether --with-coreaudio was given.
3833 if test "${with_coreaudio+set}" = set; then :
3834 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3838 # Check whether --with-cups was given.
3839 if test "${with_cups+set}" = set; then :
3840 withval=$with_cups;
3844 # Check whether --with-curses was given.
3845 if test "${with_curses+set}" = set; then :
3846 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3850 # Check whether --with-dbus was given.
3851 if test "${with_dbus+set}" = set; then :
3852 withval=$with_dbus;
3856 # Check whether --with-faudio was given.
3857 if test "${with_faudio+set}" = set; then :
3858 withval=$with_faudio;
3862 # Check whether --with-float-abi was given.
3863 if test "${with_float_abi+set}" = set; then :
3864 withval=$with_float_abi;
3868 # Check whether --with-fontconfig was given.
3869 if test "${with_fontconfig+set}" = set; then :
3870 withval=$with_fontconfig;
3874 # Check whether --with-freetype was given.
3875 if test "${with_freetype+set}" = set; then :
3876 withval=$with_freetype;
3880 # Check whether --with-gettext was given.
3881 if test "${with_gettext+set}" = set; then :
3882 withval=$with_gettext;
3886 # Check whether --with-gettextpo was given.
3887 if test "${with_gettextpo+set}" = set; then :
3888 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3892 # Check whether --with-gphoto was given.
3893 if test "${with_gphoto+set}" = set; then :
3894 withval=$with_gphoto;
3898 # Check whether --with-glu was given.
3899 if test "${with_glu+set}" = set; then :
3900 withval=$with_glu;
3904 # Check whether --with-gnutls was given.
3905 if test "${with_gnutls+set}" = set; then :
3906 withval=$with_gnutls;
3910 # Check whether --with-gsm was given.
3911 if test "${with_gsm+set}" = set; then :
3912 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3916 # Check whether --with-gssapi was given.
3917 if test "${with_gssapi+set}" = set; then :
3918 withval=$with_gssapi;
3922 # Check whether --with-gstreamer was given.
3923 if test "${with_gstreamer+set}" = set; then :
3924 withval=$with_gstreamer;
3928 # Check whether --with-hal was given.
3929 if test "${with_hal+set}" = set; then :
3930 withval=$with_hal;
3934 # Check whether --with-jpeg was given.
3935 if test "${with_jpeg+set}" = set; then :
3936 withval=$with_jpeg;
3940 # Check whether --with-krb5 was given.
3941 if test "${with_krb5+set}" = set; then :
3942 withval=$with_krb5;
3946 # Check whether --with-ldap was given.
3947 if test "${with_ldap+set}" = set; then :
3948 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3952 # Check whether --with-mingw was given.
3953 if test "${with_mingw+set}" = set; then :
3954 withval=$with_mingw;
3958 # Check whether --with-mpg123 was given.
3959 if test "${with_mpg123+set}" = set; then :
3960 withval=$with_mpg123;
3964 # Check whether --with-netapi was given.
3965 if test "${with_netapi+set}" = set; then :
3966 withval=$with_netapi;
3970 # Check whether --with-openal was given.
3971 if test "${with_openal+set}" = set; then :
3972 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3976 # Check whether --with-opencl was given.
3977 if test "${with_opencl+set}" = set; then :
3978 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3982 # Check whether --with-opengl was given.
3983 if test "${with_opengl+set}" = set; then :
3984 withval=$with_opengl;
3988 # Check whether --with-osmesa was given.
3989 if test "${with_osmesa+set}" = set; then :
3990 withval=$with_osmesa;
3994 # Check whether --with-oss was given.
3995 if test "${with_oss+set}" = set; then :
3996 withval=$with_oss;
4000 # Check whether --with-pcap was given.
4001 if test "${with_pcap+set}" = set; then :
4002 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4006 # Check whether --with-png was given.
4007 if test "${with_png+set}" = set; then :
4008 withval=$with_png;
4012 # Check whether --with-pthread was given.
4013 if test "${with_pthread+set}" = set; then :
4014 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4018 # Check whether --with-pulse was given.
4019 if test "${with_pulse+set}" = set; then :
4020 withval=$with_pulse;
4024 # Check whether --with-sane was given.
4025 if test "${with_sane+set}" = set; then :
4026 withval=$with_sane;
4030 # Check whether --with-sdl was given.
4031 if test "${with_sdl+set}" = set; then :
4032 withval=$with_sdl;
4036 # Check whether --with-tiff was given.
4037 if test "${with_tiff+set}" = set; then :
4038 withval=$with_tiff;
4042 # Check whether --with-udev was given.
4043 if test "${with_udev+set}" = set; then :
4044 withval=$with_udev;
4048 # Check whether --with-v4l was given.
4049 if test "${with_v4l+set}" = set; then :
4050 withval=$with_v4l;
4054 # Check whether --with-vkd3d was given.
4055 if test "${with_vkd3d+set}" = set; then :
4056 withval=$with_vkd3d;
4060 # Check whether --with-vulkan was given.
4061 if test "${with_vulkan+set}" = set; then :
4062 withval=$with_vulkan;
4066 # Check whether --with-xcomposite was given.
4067 if test "${with_xcomposite+set}" = set; then :
4068 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4072 # Check whether --with-xcursor was given.
4073 if test "${with_xcursor+set}" = set; then :
4074 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4078 # Check whether --with-xfixes was given.
4079 if test "${with_xfixes+set}" = set; then :
4080 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4084 # Check whether --with-xinerama was given.
4085 if test "${with_xinerama+set}" = set; then :
4086 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4090 # Check whether --with-xinput was given.
4091 if test "${with_xinput+set}" = set; then :
4092 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4096 # Check whether --with-xinput2 was given.
4097 if test "${with_xinput2+set}" = set; then :
4098 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4102 # Check whether --with-xml was given.
4103 if test "${with_xml+set}" = set; then :
4104 withval=$with_xml;
4108 # Check whether --with-xrandr was given.
4109 if test "${with_xrandr+set}" = set; then :
4110 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4114 # Check whether --with-xrender was given.
4115 if test "${with_xrender+set}" = set; then :
4116 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4120 # Check whether --with-xshape was given.
4121 if test "${with_xshape+set}" = set; then :
4122 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4126 # Check whether --with-xshm was given.
4127 if test "${with_xshm+set}" = set; then :
4128 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4132 # Check whether --with-xslt was given.
4133 if test "${with_xslt+set}" = set; then :
4134 withval=$with_xslt;
4138 # Check whether --with-xxf86vm was given.
4139 if test "${with_xxf86vm+set}" = set; then :
4140 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
4144 # Check whether --with-zlib was given.
4145 if test "${with_zlib+set}" = set; then :
4146 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4151 # Check whether --with-wine-tools was given.
4152 if test "${with_wine_tools+set}" = set; then :
4153 withval=$with_wine_tools;
4157 # Check whether --with-wine64 was given.
4158 if test "${with_wine64+set}" = set; then :
4159 withval=$with_wine64;
4163 # Make sure we can run config.sub.
4164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4165 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4168 $as_echo_n "checking build system type... " >&6; }
4169 if ${ac_cv_build+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 ac_build_alias=$build_alias
4173 test "x$ac_build_alias" = x &&
4174 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4175 test "x$ac_build_alias" = x &&
4176 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4177 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4178 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4182 $as_echo "$ac_cv_build" >&6; }
4183 case $ac_cv_build in
4184 *-*-*) ;;
4185 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4186 esac
4187 build=$ac_cv_build
4188 ac_save_IFS=$IFS; IFS='-'
4189 set x $ac_cv_build
4190 shift
4191 build_cpu=$1
4192 build_vendor=$2
4193 shift; shift
4194 # Remember, the first character of IFS is used to create $*,
4195 # except with old shells:
4196 build_os=$*
4197 IFS=$ac_save_IFS
4198 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4202 $as_echo_n "checking host system type... " >&6; }
4203 if ${ac_cv_host+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 if test "x$host_alias" = x; then
4207 ac_cv_host=$ac_cv_build
4208 else
4209 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4210 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4215 $as_echo "$ac_cv_host" >&6; }
4216 case $ac_cv_host in
4217 *-*-*) ;;
4218 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4219 esac
4220 host=$ac_cv_host
4221 ac_save_IFS=$IFS; IFS='-'
4222 set x $ac_cv_host
4223 shift
4224 host_cpu=$1
4225 host_vendor=$2
4226 shift; shift
4227 # Remember, the first character of IFS is used to create $*,
4228 # except with old shells:
4229 host_os=$*
4230 IFS=$ac_save_IFS
4231 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4235 case "$srcdir" in
4236 .) ;;
4237 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4238 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4239 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4240 fi ;;
4241 esac
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4245 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4246 set x ${MAKE-make}
4247 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4248 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 cat >conftest.make <<\_ACEOF
4252 SHELL = /bin/sh
4253 all:
4254 @echo '@@@%%%=$(MAKE)=@@@%%%'
4255 _ACEOF
4256 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4257 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4258 *@@@%%%=?*=@@@%%%*)
4259 eval ac_cv_prog_make_${ac_make}_set=yes;;
4261 eval ac_cv_prog_make_${ac_make}_set=no;;
4262 esac
4263 rm -f conftest.make
4265 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4268 SET_MAKE=
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4272 SET_MAKE="MAKE=${MAKE-make}"
4275 ac_ext=c
4276 ac_cpp='$CPP $CPPFLAGS'
4277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$CC"; then
4289 ac_cv_prog_CC="$CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 CC=$ac_cv_prog_CC
4309 if test -n "$CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4319 if test -z "$ac_cv_prog_CC"; then
4320 ac_ct_CC=$CC
4321 # Extract the first word of "gcc", so it can be a program name with args.
4322 set dummy gcc; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 if test -n "$ac_ct_CC"; then
4329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4330 else
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 for as_dir in $PATH
4334 IFS=$as_save_IFS
4335 test -z "$as_dir" && as_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_ac_ct_CC="gcc"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 break 2
4342 done
4343 done
4344 IFS=$as_save_IFS
4348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4349 if test -n "$ac_ct_CC"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4351 $as_echo "$ac_ct_CC" >&6; }
4352 else
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4357 if test "x$ac_ct_CC" = x; then
4358 CC=""
4359 else
4360 case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4365 esac
4366 CC=$ac_ct_CC
4368 else
4369 CC="$ac_cv_prog_CC"
4372 if test -z "$CC"; then
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}cc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_CC="${ac_tool_prefix}cc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 CC=$ac_cv_prog_CC
4402 if test -n "$CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4404 $as_echo "$CC" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4413 if test -z "$CC"; then
4414 # Extract the first word of "cc", so it can be a program name with args.
4415 set dummy cc; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_CC+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$CC"; then
4422 ac_cv_prog_CC="$CC" # Let the user override the test.
4423 else
4424 ac_prog_rejected=no
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4433 ac_prog_rejected=yes
4434 continue
4436 ac_cv_prog_CC="cc"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4444 if test $ac_prog_rejected = yes; then
4445 # We found a bogon in the path, so make sure we never use it.
4446 set dummy $ac_cv_prog_CC
4447 shift
4448 if test $# != 0; then
4449 # We chose a different compiler from the bogus one.
4450 # However, it has the same basename, so the bogon will be chosen
4451 # first if we set CC to just the basename; use the full file name.
4452 shift
4453 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in cl.exe
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CC+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$CC"; then
4481 ac_cv_prog_CC="$CC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 CC=$ac_cv_prog_CC
4501 if test -n "$CC"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4503 $as_echo "$CC" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$CC" && break
4511 done
4513 if test -z "$CC"; then
4514 ac_ct_CC=$CC
4515 for ac_prog in cl.exe
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 if test -n "$ac_ct_CC"; then
4525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CC="$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4545 if test -n "$ac_ct_CC"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4547 $as_echo "$ac_ct_CC" >&6; }
4548 else
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$ac_ct_CC" && break
4555 done
4557 if test "x$ac_ct_CC" = x; then
4558 CC=""
4559 else
4560 case $cross_compiling:$ac_tool_warned in
4561 yes:)
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4565 esac
4566 CC=$ac_ct_CC
4573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4575 as_fn_error $? "no acceptable C compiler found in \$PATH
4576 See \`config.log' for more details" "$LINENO" 5; }
4578 # Provide some information about the compiler.
4579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4580 set X $ac_compile
4581 ac_compiler=$2
4582 for ac_option in --version -v -V -qversion; do
4583 { { ac_try="$ac_compiler $ac_option >&5"
4584 case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4591 ac_status=$?
4592 if test -s conftest.err; then
4593 sed '10a\
4594 ... rest of stderr output deleted ...
4595 10q' conftest.err >conftest.er1
4596 cat conftest.er1 >&5
4598 rm -f conftest.er1 conftest.err
4599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600 test $ac_status = 0; }
4601 done
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 ac_clean_files_save=$ac_clean_files
4615 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4616 # Try to create an executable without -o first, disregard a.out.
4617 # It will help us diagnose broken compilers, and finding out an intuition
4618 # of exeext.
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4620 $as_echo_n "checking whether the C compiler works... " >&6; }
4621 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4623 # The possible output files:
4624 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4626 ac_rmfiles=
4627 for ac_file in $ac_files
4629 case $ac_file in
4630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4632 esac
4633 done
4634 rm -f $ac_rmfiles
4636 if { { ac_try="$ac_link_default"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_link_default") 2>&5
4644 ac_status=$?
4645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4646 test $ac_status = 0; }; then :
4647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4648 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4650 # so that the user can short-circuit this test for compilers unknown to
4651 # Autoconf.
4652 for ac_file in $ac_files ''
4654 test -f "$ac_file" || continue
4655 case $ac_file in
4656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4658 [ab].out )
4659 # We found the default executable, but exeext='' is most
4660 # certainly right.
4661 break;;
4662 *.* )
4663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4664 then :; else
4665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4667 # We set ac_cv_exeext here because the later test for it is not
4668 # safe: cross compilers may not add the suffix if given an `-o'
4669 # argument, so we may need to know it at that point already.
4670 # Even if this section looks crufty: it has the advantage of
4671 # actually working.
4672 break;;
4674 break;;
4675 esac
4676 done
4677 test "$ac_cv_exeext" = no && ac_cv_exeext=
4679 else
4680 ac_file=''
4682 if test -z "$ac_file"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error 77 "C compiler cannot create executables
4691 See \`config.log' for more details" "$LINENO" 5; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4697 $as_echo_n "checking for C compiler default output file name... " >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4699 $as_echo "$ac_file" >&6; }
4700 ac_exeext=$ac_cv_exeext
4702 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4703 ac_clean_files=$ac_clean_files_save
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4705 $as_echo_n "checking for suffix of executables... " >&6; }
4706 if { { ac_try="$ac_link"
4707 case "(($ac_try" in
4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4710 esac
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_link") 2>&5
4714 ac_status=$?
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }; then :
4717 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4718 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4719 # work properly (i.e., refer to `conftest.exe'), while it won't with
4720 # `rm'.
4721 for ac_file in conftest.exe conftest conftest.*; do
4722 test -f "$ac_file" || continue
4723 case $ac_file in
4724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4725 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4726 break;;
4727 * ) break;;
4728 esac
4729 done
4730 else
4731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4734 See \`config.log' for more details" "$LINENO" 5; }
4736 rm -f conftest conftest$ac_cv_exeext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4738 $as_echo "$ac_cv_exeext" >&6; }
4740 rm -f conftest.$ac_ext
4741 EXEEXT=$ac_cv_exeext
4742 ac_exeext=$EXEEXT
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4745 #include <stdio.h>
4747 main ()
4749 FILE *f = fopen ("conftest.out", "w");
4750 return ferror (f) || fclose (f) != 0;
4753 return 0;
4755 _ACEOF
4756 ac_clean_files="$ac_clean_files conftest.out"
4757 # Check that the compiler produces executables we can run. If not, either
4758 # the compiler is broken, or we cross compile.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4760 $as_echo_n "checking whether we are cross compiling... " >&6; }
4761 if test "$cross_compiling" != yes; then
4762 { { ac_try="$ac_link"
4763 case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_link") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }
4773 if { ac_try='./conftest$ac_cv_exeext'
4774 { { case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777 esac
4778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4779 $as_echo "$ac_try_echo"; } >&5
4780 (eval "$ac_try") 2>&5
4781 ac_status=$?
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }; }; then
4784 cross_compiling=no
4785 else
4786 if test "$cross_compiling" = maybe; then
4787 cross_compiling=yes
4788 else
4789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4791 as_fn_error $? "cannot run C compiled programs.
4792 If you meant to cross compile, use \`--host'.
4793 See \`config.log' for more details" "$LINENO" 5; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4798 $as_echo "$cross_compiling" >&6; }
4800 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4801 ac_clean_files=$ac_clean_files_save
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4803 $as_echo_n "checking for suffix of object files... " >&6; }
4804 if ${ac_cv_objext+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 rm -f conftest.o conftest.obj
4819 if { { ac_try="$ac_compile"
4820 case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4823 esac
4824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4825 $as_echo "$ac_try_echo"; } >&5
4826 (eval "$ac_compile") 2>&5
4827 ac_status=$?
4828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4829 test $ac_status = 0; }; then :
4830 for ac_file in conftest.o conftest.obj conftest.*; do
4831 test -f "$ac_file" || continue;
4832 case $ac_file in
4833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4835 break;;
4836 esac
4837 done
4838 else
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $? "cannot compute suffix of object files: cannot compile
4845 See \`config.log' for more details" "$LINENO" 5; }
4847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4850 $as_echo "$ac_cv_objext" >&6; }
4851 OBJEXT=$ac_cv_objext
4852 ac_objext=$OBJEXT
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4855 if ${ac_cv_c_compiler_gnu+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4864 #ifndef __GNUC__
4865 choke me
4866 #endif
4869 return 0;
4871 _ACEOF
4872 if ac_fn_c_try_compile "$LINENO"; then :
4873 ac_compiler_gnu=yes
4874 else
4875 ac_compiler_gnu=no
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4882 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4883 if test $ac_compiler_gnu = yes; then
4884 GCC=yes
4885 else
4886 GCC=
4888 ac_test_CFLAGS=${CFLAGS+set}
4889 ac_save_CFLAGS=$CFLAGS
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4891 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4892 if ${ac_cv_prog_cc_g+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 ac_save_c_werror_flag=$ac_c_werror_flag
4896 ac_c_werror_flag=yes
4897 ac_cv_prog_cc_g=no
4898 CFLAGS="-g"
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4903 main ()
4907 return 0;
4909 _ACEOF
4910 if ac_fn_c_try_compile "$LINENO"; then :
4911 ac_cv_prog_cc_g=yes
4912 else
4913 CFLAGS=""
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4918 main ()
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4927 else
4928 ac_c_werror_flag=$ac_save_c_werror_flag
4929 CFLAGS="-g"
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 :
4942 ac_cv_prog_cc_g=yes
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 ac_c_werror_flag=$ac_save_c_werror_flag
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4952 $as_echo "$ac_cv_prog_cc_g" >&6; }
4953 if test "$ac_test_CFLAGS" = set; then
4954 CFLAGS=$ac_save_CFLAGS
4955 elif test $ac_cv_prog_cc_g = yes; then
4956 if test "$GCC" = yes; then
4957 CFLAGS="-g -O2"
4958 else
4959 CFLAGS="-g"
4961 else
4962 if test "$GCC" = yes; then
4963 CFLAGS="-O2"
4964 else
4965 CFLAGS=
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4970 if ${ac_cv_prog_cc_c89+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 ac_cv_prog_cc_c89=no
4974 ac_save_CC=$CC
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <stdarg.h>
4978 #include <stdio.h>
4979 struct stat;
4980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4981 struct buf { int x; };
4982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4983 static char *e (p, i)
4984 char **p;
4985 int i;
4987 return p[i];
4989 static char *f (char * (*g) (char **, int), char **p, ...)
4991 char *s;
4992 va_list v;
4993 va_start (v,p);
4994 s = g (p, va_arg (v,int));
4995 va_end (v);
4996 return s;
4999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5000 function prototypes and stuff, but not '\xHH' hex character constants.
5001 These don't provoke an error unfortunately, instead are silently treated
5002 as 'x'. The following induces an error, until -std is added to get
5003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5004 array size at least. It's necessary to write '\x00'==0 to get something
5005 that's true only with -std. */
5006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5009 inside strings and character constants. */
5010 #define FOO(x) 'x'
5011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5013 int test (int i, double x);
5014 struct s1 {int (*f) (int a);};
5015 struct s2 {int (*f) (double a);};
5016 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5017 int argc;
5018 char **argv;
5020 main ()
5022 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5024 return 0;
5026 _ACEOF
5027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5030 CC="$ac_save_CC $ac_arg"
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 ac_cv_prog_cc_c89=$ac_arg
5034 rm -f core conftest.err conftest.$ac_objext
5035 test "x$ac_cv_prog_cc_c89" != "xno" && break
5036 done
5037 rm -f conftest.$ac_ext
5038 CC=$ac_save_CC
5041 # AC_CACHE_VAL
5042 case "x$ac_cv_prog_cc_c89" in
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5045 $as_echo "none needed" >&6; } ;;
5046 xno)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5048 $as_echo "unsupported" >&6; } ;;
5050 CC="$CC $ac_cv_prog_cc_c89"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5053 esac
5054 if test "x$ac_cv_prog_cc_c89" != xno; then :
5058 ac_ext=c
5059 ac_cpp='$CPP $CPPFLAGS'
5060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5064 ac_ext=cpp
5065 ac_cpp='$CXXCPP $CPPFLAGS'
5066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5069 if test -z "$CXX"; then
5070 if test -n "$CCC"; then
5071 CXX=$CCC
5072 else
5073 if test -n "$ac_tool_prefix"; then
5074 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_CXX+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$CXX"; then
5084 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 CXX=$ac_cv_prog_CXX
5104 if test -n "$CXX"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5106 $as_echo "$CXX" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 test -n "$CXX" && break
5114 done
5116 if test -z "$CXX"; then
5117 ac_ct_CXX=$CXX
5118 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5120 # Extract the first word of "$ac_prog", so it can be a program name with args.
5121 set dummy $ac_prog; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$ac_ct_CXX"; then
5128 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_ac_ct_CXX="$ac_prog"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5148 if test -n "$ac_ct_CXX"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5150 $as_echo "$ac_ct_CXX" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5157 test -n "$ac_ct_CXX" && break
5158 done
5160 if test "x$ac_ct_CXX" = x; then
5161 CXX="g++"
5162 else
5163 case $cross_compiling:$ac_tool_warned in
5164 yes:)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167 ac_tool_warned=yes ;;
5168 esac
5169 CXX=$ac_ct_CXX
5175 # Provide some information about the compiler.
5176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5177 set X $ac_compile
5178 ac_compiler=$2
5179 for ac_option in --version -v -V -qversion; do
5180 { { ac_try="$ac_compiler $ac_option >&5"
5181 case "(($ac_try" in
5182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183 *) ac_try_echo=$ac_try;;
5184 esac
5185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5186 $as_echo "$ac_try_echo"; } >&5
5187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5188 ac_status=$?
5189 if test -s conftest.err; then
5190 sed '10a\
5191 ... rest of stderr output deleted ...
5192 10q' conftest.err >conftest.er1
5193 cat conftest.er1 >&5
5195 rm -f conftest.er1 conftest.err
5196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5197 test $ac_status = 0; }
5198 done
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5209 main ()
5211 #ifndef __GNUC__
5212 choke me
5213 #endif
5216 return 0;
5218 _ACEOF
5219 if ac_fn_cxx_try_compile "$LINENO"; then :
5220 ac_compiler_gnu=yes
5221 else
5222 ac_compiler_gnu=no
5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5230 if test $ac_compiler_gnu = yes; then
5231 GXX=yes
5232 else
5233 GXX=
5235 ac_test_CXXFLAGS=${CXXFLAGS+set}
5236 ac_save_CXXFLAGS=$CXXFLAGS
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5239 if ${ac_cv_prog_cxx_g+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5243 ac_cxx_werror_flag=yes
5244 ac_cv_prog_cxx_g=no
5245 CXXFLAGS="-g"
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5250 main ()
5254 return 0;
5256 _ACEOF
5257 if ac_fn_cxx_try_compile "$LINENO"; then :
5258 ac_cv_prog_cxx_g=yes
5259 else
5260 CXXFLAGS=""
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5265 main ()
5269 return 0;
5271 _ACEOF
5272 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 else
5275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5276 CXXFLAGS="-g"
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 :
5289 ac_cv_prog_cxx_g=yes
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5300 if test "$ac_test_CXXFLAGS" = set; then
5301 CXXFLAGS=$ac_save_CXXFLAGS
5302 elif test $ac_cv_prog_cxx_g = yes; then
5303 if test "$GXX" = yes; then
5304 CXXFLAGS="-g -O2"
5305 else
5306 CXXFLAGS="-g"
5308 else
5309 if test "$GXX" = yes; then
5310 CXXFLAGS="-O2"
5311 else
5312 CXXFLAGS=
5315 ac_ext=c
5316 ac_cpp='$CPP $CPPFLAGS'
5317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_CPPBIN+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$CPPBIN"; then
5330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 CPPBIN=$ac_cv_prog_CPPBIN
5350 if test -n "$CPPBIN"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5352 $as_echo "$CPPBIN" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_CPPBIN"; then
5361 ac_ct_CPPBIN=$CPPBIN
5362 # Extract the first word of "cpp", so it can be a program name with args.
5363 set dummy cpp; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$ac_ct_CPPBIN"; then
5370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_CPPBIN="cpp"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5390 if test -n "$ac_ct_CPPBIN"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5392 $as_echo "$ac_ct_CPPBIN" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_CPPBIN" = x; then
5399 CPPBIN="cpp"
5400 else
5401 case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 CPPBIN=$ac_ct_CPPBIN
5409 else
5410 CPPBIN="$ac_cv_prog_CPPBIN"
5414 cat >>confdefs.h <<_ACEOF
5415 #define EXEEXT "$ac_exeext"
5416 _ACEOF
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}ld; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_LD+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$LD"; then
5427 ac_cv_prog_LD="$LD" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_LD="${ac_tool_prefix}ld"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 LD=$ac_cv_prog_LD
5447 if test -n "$LD"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5449 $as_echo "$LD" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_LD"; then
5458 ac_ct_LD=$LD
5459 # Extract the first word of "ld", so it can be a program name with args.
5460 set dummy ld; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_LD"; then
5467 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_LD="ld"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5487 if test -n "$ac_ct_LD"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5489 $as_echo "$ac_ct_LD" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_LD" = x; then
5496 LD=""
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 LD=$ac_ct_LD
5506 else
5507 LD="$ac_cv_prog_LD"
5511 case $host in
5512 *-darwin*)
5513 with_fontconfig=${with_fontconfig:-no}
5515 *-mingw32*|*-cygwin*)
5516 enable_win16=${enable_win16:-no}
5517 with_mingw=${with_mingw:-no}
5518 CFLAGS="$CFLAGS -D_WIN32"
5520 esac
5522 case $host in
5523 x86_64*|amd64*)
5524 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5525 then
5526 CC="$CC -m32"
5527 CXX="$CXX -m32"
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5529 $as_echo_n "checking whether $CC works... " >&6; }
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5535 main ()
5539 return 0;
5541 _ACEOF
5542 if ac_fn_c_try_link "$LINENO"; then :
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5544 $as_echo "yes" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5548 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5550 rm -f core conftest.err conftest.$ac_objext \
5551 conftest$ac_exeext conftest.$ac_ext
5552 host_cpu="i386"
5553 notice_platform="32-bit "
5554 TARGETFLAGS="-m32"
5556 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5557 export PKG_CONFIG_PATH
5558 enable_win16=${enable_win16:-yes}
5559 else
5560 if test "x${GCC}" = "xyes"
5561 then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5563 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5566 #include <stdarg.h>
5568 main ()
5570 void func(__builtin_ms_va_list *args);
5572 return 0;
5574 _ACEOF
5575 if ac_fn_c_try_compile "$LINENO"; then :
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5577 $as_echo "yes" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5581 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5585 CC="$CC -m64"
5586 CXX="$CXX -m64"
5587 host_cpu="x86_64"
5588 notice_platform="64-bit "
5589 TARGETFLAGS="-m64"
5593 arm*)
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5595 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 int ac_test(int i) { return i; }
5600 main ()
5602 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5604 return 0;
5606 _ACEOF
5607 if ac_fn_c_try_link "$LINENO"; then :
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5615 rm -f core conftest.err conftest.$ac_objext \
5616 conftest$ac_exeext conftest.$ac_ext
5617 case $with_float_abi in
5618 soft|softfp|hard)
5619 float_abi=$with_float_abi ;;
5621 case $host_os in
5622 *eabihf)
5623 float_abi=hard ;;
5625 float_abi=softfp
5626 saved_CFLAGS=$CFLAGS
5627 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5629 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main ()
5636 asm("vmrs r2,fpscr");
5638 return 0;
5640 _ACEOF
5641 if ac_fn_c_try_link "$LINENO"; then :
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5643 $as_echo "yes" >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5647 float_abi=soft
5648 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5650 rm -f core conftest.err conftest.$ac_objext \
5651 conftest$ac_exeext conftest.$ac_ext
5652 CFLAGS=$saved_CFLAGS
5653 esac
5655 esac
5656 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5657 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5660 aarch64*)
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5662 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 #include <stdarg.h>
5667 main ()
5669 void func(__builtin_ms_va_list *args);
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_compile "$LINENO"; then :
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5676 $as_echo "yes" >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5680 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 i[3456789]86*)
5685 enable_win16=${enable_win16:-yes}
5687 esac
5689 enable_win16=${enable_win16:-no}
5690 enable_win64=${enable_win64:-no}
5692 enable_winetest=${enable_winetest:-$enable_tests}
5694 if test "x$enable_win64" = "xyes"
5695 then
5696 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5697 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5698 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5702 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5703 if ${wine_cv_toolsdir+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 wine_cv_toolsdir="$with_wine_tools"
5707 if test -z "$with_wine_tools"; then
5708 if test "$cross_compiling" = "yes"; then
5709 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5710 elif test -n "$with_wine64"; then
5711 wine_cv_toolsdir="$with_wine64"
5714 if test -z "$wine_cv_toolsdir"; then
5715 wine_makedep=tools/makedep
5716 wine_cv_toolsdir="\$(top_builddir)"
5717 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5718 wine_makedep=$wine_cv_toolsdir/tools/makedep
5719 case "$wine_cv_toolsdir" in
5720 /*) ;;
5721 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5722 esac
5723 enable_tools=${enable_tools:-no}
5724 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5725 else
5726 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5730 $as_echo "$wine_cv_toolsdir" >&6; }
5731 TOOLSDIR=$wine_cv_toolsdir
5733 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5734 then
5735 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5739 for ac_prog in flex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_FLEX+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 if test -n "$FLEX"; then
5749 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_FLEX="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 FLEX=$ac_cv_prog_FLEX
5769 if test -n "$FLEX"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5771 $as_echo "$FLEX" >&6; }
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$FLEX" && break
5779 done
5780 test -n "$FLEX" || FLEX="none"
5782 if test "$FLEX" = "none"
5783 then
5784 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5787 $as_echo_n "checking whether flex is recent enough... " >&6; }
5788 cat >conftest.l <<EOF
5789 %top{
5790 #include "prediluvian.h"
5794 if $FLEX -t conftest.l >/dev/null 2>&5
5795 then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5797 $as_echo "yes" >&6; }
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5801 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5804 for ac_prog in bison
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_BISON+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$BISON"; then
5814 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_BISON="$ac_prog"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 BISON=$ac_cv_prog_BISON
5834 if test -n "$BISON"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5836 $as_echo "$BISON" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 test -n "$BISON" && break
5844 done
5845 test -n "$BISON" || BISON="none"
5847 if test "$BISON" = "none"
5848 then
5849 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5852 if test -n "$ac_tool_prefix"; then
5853 for ac_prog in ar gar
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$AR"; then
5863 ac_cv_prog_AR="$AR" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 AR=$ac_cv_prog_AR
5883 if test -n "$AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885 $as_echo "$AR" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$AR" && break
5893 done
5895 if test -z "$AR"; then
5896 ac_ct_AR=$AR
5897 for ac_prog in ar gar
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$ac_ct_AR"; then
5907 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_AR="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5927 if test -n "$ac_ct_AR"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5929 $as_echo "$ac_ct_AR" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$ac_ct_AR" && break
5937 done
5939 if test "x$ac_ct_AR" = x; then
5940 AR="ar"
5941 else
5942 case $cross_compiling:$ac_tool_warned in
5943 yes:)
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5947 esac
5948 AR=$ac_ct_AR
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}strip; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_STRIP+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$STRIP"; then
5961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 STRIP=$ac_cv_prog_STRIP
5981 if test -n "$STRIP"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5983 $as_echo "$STRIP" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_STRIP"; then
5992 ac_ct_STRIP=$STRIP
5993 # Extract the first word of "strip", so it can be a program name with args.
5994 set dummy strip; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ac_ct_STRIP"; then
6001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ac_ct_STRIP="strip"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6021 if test -n "$ac_ct_STRIP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6023 $as_echo "$ac_ct_STRIP" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_STRIP" = x; then
6030 STRIP="strip"
6031 else
6032 case $cross_compiling:$ac_tool_warned in
6033 yes:)
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6037 esac
6038 STRIP=$ac_ct_STRIP
6040 else
6041 STRIP="$ac_cv_prog_STRIP"
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_RANLIB+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 if test -n "$RANLIB"; then
6053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 RANLIB=$ac_cv_prog_RANLIB
6073 if test -n "$RANLIB"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6075 $as_echo "$RANLIB" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6083 if test -z "$ac_cv_prog_RANLIB"; then
6084 ac_ct_RANLIB=$RANLIB
6085 # Extract the first word of "ranlib", so it can be a program name with args.
6086 set dummy ranlib; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$ac_ct_RANLIB"; then
6093 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_ac_ct_RANLIB="ranlib"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6113 if test -n "$ac_ct_RANLIB"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6115 $as_echo "$ac_ct_RANLIB" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6121 if test "x$ac_ct_RANLIB" = x; then
6122 RANLIB=":"
6123 else
6124 case $cross_compiling:$ac_tool_warned in
6125 yes:)
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6128 ac_tool_warned=yes ;;
6129 esac
6130 RANLIB=$ac_ct_RANLIB
6132 else
6133 RANLIB="$ac_cv_prog_RANLIB"
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6137 $as_echo_n "checking whether ln -s works... " >&6; }
6138 LN_S=$as_ln_s
6139 if test "$LN_S" = "ln -s"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6141 $as_echo "yes" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6144 $as_echo "no, using $LN_S" >&6; }
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6148 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6149 if ${ac_cv_path_GREP+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -z "$GREP"; then
6153 ac_path_GREP_found=false
6154 # Loop through the user's path and test for each of PROGNAME-LIST
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_prog in grep ggrep; do
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6163 as_fn_executable_p "$ac_path_GREP" || continue
6164 # Check for GNU ac_path_GREP and select it if it is found.
6165 # Check for GNU $ac_path_GREP
6166 case `"$ac_path_GREP" --version 2>&1` in
6167 *GNU*)
6168 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6170 ac_count=0
6171 $as_echo_n 0123456789 >"conftest.in"
6172 while :
6174 cat "conftest.in" "conftest.in" >"conftest.tmp"
6175 mv "conftest.tmp" "conftest.in"
6176 cp "conftest.in" "conftest.nl"
6177 $as_echo 'GREP' >> "conftest.nl"
6178 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6179 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6180 as_fn_arith $ac_count + 1 && ac_count=$as_val
6181 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6182 # Best one so far, save it but keep looking for a better one
6183 ac_cv_path_GREP="$ac_path_GREP"
6184 ac_path_GREP_max=$ac_count
6186 # 10*(2^10) chars as input seems more than enough
6187 test $ac_count -gt 10 && break
6188 done
6189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6190 esac
6192 $ac_path_GREP_found && break 3
6193 done
6194 done
6195 done
6196 IFS=$as_save_IFS
6197 if test -z "$ac_cv_path_GREP"; then
6198 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6200 else
6201 ac_cv_path_GREP=$GREP
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6206 $as_echo "$ac_cv_path_GREP" >&6; }
6207 GREP="$ac_cv_path_GREP"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6211 $as_echo_n "checking for egrep... " >&6; }
6212 if ${ac_cv_path_EGREP+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6216 then ac_cv_path_EGREP="$GREP -E"
6217 else
6218 if test -z "$EGREP"; then
6219 ac_path_EGREP_found=false
6220 # Loop through the user's path and test for each of PROGNAME-LIST
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_prog in egrep; do
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6229 as_fn_executable_p "$ac_path_EGREP" || continue
6230 # Check for GNU ac_path_EGREP and select it if it is found.
6231 # Check for GNU $ac_path_EGREP
6232 case `"$ac_path_EGREP" --version 2>&1` in
6233 *GNU*)
6234 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6236 ac_count=0
6237 $as_echo_n 0123456789 >"conftest.in"
6238 while :
6240 cat "conftest.in" "conftest.in" >"conftest.tmp"
6241 mv "conftest.tmp" "conftest.in"
6242 cp "conftest.in" "conftest.nl"
6243 $as_echo 'EGREP' >> "conftest.nl"
6244 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6246 as_fn_arith $ac_count + 1 && ac_count=$as_val
6247 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6248 # Best one so far, save it but keep looking for a better one
6249 ac_cv_path_EGREP="$ac_path_EGREP"
6250 ac_path_EGREP_max=$ac_count
6252 # 10*(2^10) chars as input seems more than enough
6253 test $ac_count -gt 10 && break
6254 done
6255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6256 esac
6258 $ac_path_EGREP_found && break 3
6259 done
6260 done
6261 done
6262 IFS=$as_save_IFS
6263 if test -z "$ac_cv_path_EGREP"; then
6264 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6266 else
6267 ac_cv_path_EGREP=$EGREP
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6273 $as_echo "$ac_cv_path_EGREP" >&6; }
6274 EGREP="$ac_cv_path_EGREP"
6277 # Extract the first word of "ldconfig", so it can be a program name with args.
6278 set dummy ldconfig; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_path_LDCONFIG+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 case $LDCONFIG in
6285 [\\/]* | ?:[\\/]*)
6286 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in /sbin /usr/sbin $PATH
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 break 2
6300 done
6301 done
6302 IFS=$as_save_IFS
6304 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6306 esac
6308 LDCONFIG=$ac_cv_path_LDCONFIG
6309 if test -n "$LDCONFIG"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6311 $as_echo "$LDCONFIG" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6318 for ac_prog in msgfmt
6320 # Extract the first word of "$ac_prog", so it can be a program name with args.
6321 set dummy $ac_prog; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_MSGFMT+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 if test -n "$MSGFMT"; then
6328 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6329 else
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 for as_dir in $PATH
6333 IFS=$as_save_IFS
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_MSGFMT="$ac_prog"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 break 2
6341 done
6342 done
6343 IFS=$as_save_IFS
6347 MSGFMT=$ac_cv_prog_MSGFMT
6348 if test -n "$MSGFMT"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6350 $as_echo "$MSGFMT" >&6; }
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6357 test -n "$MSGFMT" && break
6358 done
6359 test -n "$MSGFMT" || MSGFMT="false"
6361 if ${ac_tool_prefix+:} false; then :
6362 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6363 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6367 $as_echo_n "(cached) " >&6
6368 else
6369 if test -n "$PKG_CONFIG"; then
6370 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6371 else
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 for as_dir in $PATH
6375 IFS=$as_save_IFS
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6379 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381 break 2
6383 done
6384 done
6385 IFS=$as_save_IFS
6389 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6390 if test -n "$PKG_CONFIG"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6392 $as_echo "$PKG_CONFIG" >&6; }
6393 else
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6400 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6401 if test "x$cross_compiling" = xyes; then :
6403 else
6404 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6405 # Extract the first word of "pkg-config", so it can be a program name with args.
6406 set dummy pkg-config; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if test -n "$PKG_CONFIG"; then
6413 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_PKG_CONFIG="pkg-config"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6426 done
6427 done
6428 IFS=$as_save_IFS
6432 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6433 if test -n "$PKG_CONFIG"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6435 $as_echo "$PKG_CONFIG" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6443 else
6444 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6447 if test "x$enable_maintainer_mode" != "xyes"
6448 then
6449 FONTFORGE=""
6450 RSVG=""
6451 CONVERT=""
6452 ICOTOOL=""
6453 else
6454 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6455 for ac_prog in fontforge
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy $ac_prog; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if ${ac_cv_prog_FONTFORGE+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$FONTFORGE"; then
6465 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_FONTFORGE="$ac_prog"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 FONTFORGE=$ac_cv_prog_FONTFORGE
6485 if test -n "$FONTFORGE"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6487 $as_echo "$FONTFORGE" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6494 test -n "$FONTFORGE" && break
6495 done
6496 test -n "$FONTFORGE" || FONTFORGE="false"
6498 for ac_prog in rsvg-convert rsvg
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if ${ac_cv_prog_RSVG+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$RSVG"; then
6508 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_RSVG="$ac_prog"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 RSVG=$ac_cv_prog_RSVG
6528 if test -n "$RSVG"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6530 $as_echo "$RSVG" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6537 test -n "$RSVG" && break
6538 done
6539 test -n "$RSVG" || RSVG="false"
6541 for ac_prog in convert
6543 # Extract the first word of "$ac_prog", so it can be a program name with args.
6544 set dummy $ac_prog; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_CONVERT+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$CONVERT"; then
6551 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_CONVERT="$ac_prog"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 CONVERT=$ac_cv_prog_CONVERT
6571 if test -n "$CONVERT"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6573 $as_echo "$CONVERT" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6580 test -n "$CONVERT" && break
6581 done
6582 test -n "$CONVERT" || CONVERT="false"
6584 for ac_prog in icotool
6586 # Extract the first word of "$ac_prog", so it can be a program name with args.
6587 set dummy $ac_prog; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ICOTOOL+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$ICOTOOL"; then
6594 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ICOTOOL="$ac_prog"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 ICOTOOL=$ac_cv_prog_ICOTOOL
6614 if test -n "$ICOTOOL"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6616 $as_echo "$ICOTOOL" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6623 test -n "$ICOTOOL" && break
6624 done
6625 test -n "$ICOTOOL" || ICOTOOL="false"
6627 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6628 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6630 if test "$CONVERT" = false
6631 then
6632 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6635 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6636 convert_version=`convert --version | head -n1`
6637 if test "x$convert_version" != "x"
6638 then
6639 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6640 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6641 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6642 then
6643 CONVERT=false
6646 if test "$CONVERT" = false
6647 then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6649 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6650 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6651 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6653 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6657 if test "$ICOTOOL" = false
6658 then
6659 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6662 $as_echo_n "checking for recent enough icotool... " >&6; }
6663 icotool_version=`icotool --version | head -n1`
6664 if test "x$icotool_version" != "x"
6665 then
6666 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6667 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6668 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6669 then
6670 ICOTOOL=false
6671 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6674 if test "$ICOTOOL" = false
6675 then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6677 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6678 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6681 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6685 with_gettext=yes
6686 with_gettextpo=yes
6687 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6690 test "x$with_gettext" != xno || MSGFMT=false
6691 if test "$MSGFMT" != "false"
6692 then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6694 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6695 cat >conftest.po <<EOF
6696 # comment
6697 msgctxt "ctxt"
6698 msgid "id"
6699 msgstr "str"
6701 if $MSGFMT -o /dev/null conftest.po 2>&5
6702 then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6704 $as_echo "yes" >&6; }
6705 else
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6708 MSGFMT=false
6711 if test "$MSGFMT" = false; then :
6712 case "x$with_gettext" in
6713 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6714 xno) ;;
6715 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6716 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6717 esac
6718 enable_po=${enable_po:-no}
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6723 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6724 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 ac_check_lib_save_LIBS=$LIBS
6728 LIBS="-li386 $LIBS"
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6732 /* Override any GCC internal prototype to avoid an error.
6733 Use char because int might match the return type of a GCC
6734 builtin and then its argument prototype would still apply. */
6735 #ifdef __cplusplus
6736 extern "C"
6737 #endif
6738 char i386_set_ldt ();
6740 main ()
6742 return i386_set_ldt ();
6744 return 0;
6746 _ACEOF
6747 if ac_fn_c_try_link "$LINENO"; then :
6748 ac_cv_lib_i386_i386_set_ldt=yes
6749 else
6750 ac_cv_lib_i386_i386_set_ldt=no
6752 rm -f core conftest.err conftest.$ac_objext \
6753 conftest$ac_exeext conftest.$ac_ext
6754 LIBS=$ac_check_lib_save_LIBS
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6757 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6758 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6759 cat >>confdefs.h <<_ACEOF
6760 #define HAVE_LIBI386 1
6761 _ACEOF
6763 LIBS="-li386 $LIBS"
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6768 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6769 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 ac_check_lib_save_LIBS=$LIBS
6773 LIBS="-lossaudio $LIBS"
6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6777 /* Override any GCC internal prototype to avoid an error.
6778 Use char because int might match the return type of a GCC
6779 builtin and then its argument prototype would still apply. */
6780 #ifdef __cplusplus
6781 extern "C"
6782 #endif
6783 char _oss_ioctl ();
6785 main ()
6787 return _oss_ioctl ();
6789 return 0;
6791 _ACEOF
6792 if ac_fn_c_try_link "$LINENO"; then :
6793 ac_cv_lib_ossaudio__oss_ioctl=yes
6794 else
6795 ac_cv_lib_ossaudio__oss_ioctl=no
6797 rm -f core conftest.err conftest.$ac_objext \
6798 conftest$ac_exeext conftest.$ac_ext
6799 LIBS=$ac_check_lib_save_LIBS
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6802 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6803 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_LIBOSSAUDIO 1
6806 _ACEOF
6808 LIBS="-lossaudio $LIBS"
6813 OPENGL_LIBS=""
6817 # Check whether --enable-largefile was given.
6818 if test "${enable_largefile+set}" = set; then :
6819 enableval=$enable_largefile;
6822 if test "$enable_largefile" != no; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6825 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6826 if ${ac_cv_sys_largefile_CC+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_cv_sys_largefile_CC=no
6830 if test "$GCC" != yes; then
6831 ac_save_CC=$CC
6832 while :; do
6833 # IRIX 6.2 and later do not support large files by default,
6834 # so use the C compiler's -n32 option if that helps.
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6837 #include <sys/types.h>
6838 /* Check that off_t can represent 2**63 - 1 correctly.
6839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6840 since some C++ compilers masquerading as C compilers
6841 incorrectly reject 9223372036854775807. */
6842 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6844 && LARGE_OFF_T % 2147483647 == 1)
6845 ? 1 : -1];
6847 main ()
6851 return 0;
6853 _ACEOF
6854 if ac_fn_c_try_compile "$LINENO"; then :
6855 break
6857 rm -f core conftest.err conftest.$ac_objext
6858 CC="$CC -n32"
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_sys_largefile_CC=' -n32'; break
6862 rm -f core conftest.err conftest.$ac_objext
6863 break
6864 done
6865 CC=$ac_save_CC
6866 rm -f conftest.$ac_ext
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6870 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6871 if test "$ac_cv_sys_largefile_CC" != no; then
6872 CC=$CC$ac_cv_sys_largefile_CC
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6876 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6877 if ${ac_cv_sys_file_offset_bits+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 while :; do
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6884 /* Check that off_t can represent 2**63 - 1 correctly.
6885 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6886 since some C++ compilers masquerading as C compilers
6887 incorrectly reject 9223372036854775807. */
6888 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6889 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6890 && LARGE_OFF_T % 2147483647 == 1)
6891 ? 1 : -1];
6893 main ()
6897 return 0;
6899 _ACEOF
6900 if ac_fn_c_try_compile "$LINENO"; then :
6901 ac_cv_sys_file_offset_bits=no; break
6903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6906 #define _FILE_OFFSET_BITS 64
6907 #include <sys/types.h>
6908 /* Check that off_t can represent 2**63 - 1 correctly.
6909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6910 since some C++ compilers masquerading as C compilers
6911 incorrectly reject 9223372036854775807. */
6912 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6914 && LARGE_OFF_T % 2147483647 == 1)
6915 ? 1 : -1];
6917 main ()
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 ac_cv_sys_file_offset_bits=64; break
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 ac_cv_sys_file_offset_bits=unknown
6929 break
6930 done
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6933 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6934 case $ac_cv_sys_file_offset_bits in #(
6935 no | unknown) ;;
6937 cat >>confdefs.h <<_ACEOF
6938 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6939 _ACEOF
6941 esac
6942 rm -rf conftest*
6943 if test $ac_cv_sys_file_offset_bits = unknown; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6945 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6946 if ${ac_cv_sys_large_files+:} false; then :
6947 $as_echo_n "(cached) " >&6
6948 else
6949 while :; do
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6952 #include <sys/types.h>
6953 /* Check that off_t can represent 2**63 - 1 correctly.
6954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6955 since some C++ compilers masquerading as C compilers
6956 incorrectly reject 9223372036854775807. */
6957 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6959 && LARGE_OFF_T % 2147483647 == 1)
6960 ? 1 : -1];
6962 main ()
6966 return 0;
6968 _ACEOF
6969 if ac_fn_c_try_compile "$LINENO"; then :
6970 ac_cv_sys_large_files=no; break
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 #define _LARGE_FILES 1
6976 #include <sys/types.h>
6977 /* Check that off_t can represent 2**63 - 1 correctly.
6978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6979 since some C++ compilers masquerading as C compilers
6980 incorrectly reject 9223372036854775807. */
6981 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6983 && LARGE_OFF_T % 2147483647 == 1)
6984 ? 1 : -1];
6986 main ()
6990 return 0;
6992 _ACEOF
6993 if ac_fn_c_try_compile "$LINENO"; then :
6994 ac_cv_sys_large_files=1; break
6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 ac_cv_sys_large_files=unknown
6998 break
6999 done
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7002 $as_echo "$ac_cv_sys_large_files" >&6; }
7003 case $ac_cv_sys_large_files in #(
7004 no | unknown) ;;
7006 cat >>confdefs.h <<_ACEOF
7007 #define _LARGE_FILES $ac_cv_sys_large_files
7008 _ACEOF
7010 esac
7011 rm -rf conftest*
7018 ac_ext=c
7019 ac_cpp='$CPP $CPPFLAGS'
7020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7024 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7025 # On Suns, sometimes $CPP names a directory.
7026 if test -n "$CPP" && test -d "$CPP"; then
7027 CPP=
7029 if test -z "$CPP"; then
7030 if ${ac_cv_prog_CPP+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 # Double quotes because CPP needs to be expanded
7034 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7036 ac_preproc_ok=false
7037 for ac_c_preproc_warn_flag in '' yes
7039 # Use a header file that comes with gcc, so configuring glibc
7040 # with a fresh cross-compiler works.
7041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7042 # <limits.h> exists even on freestanding compilers.
7043 # On the NeXT, cc -E runs the code through the compiler's parser,
7044 # not just through cpp. "Syntax error" is here to catch this case.
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #ifdef __STDC__
7048 # include <limits.h>
7049 #else
7050 # include <assert.h>
7051 #endif
7052 Syntax error
7053 _ACEOF
7054 if ac_fn_c_try_cpp "$LINENO"; then :
7056 else
7057 # Broken: fails on valid input.
7058 continue
7060 rm -f conftest.err conftest.i conftest.$ac_ext
7062 # OK, works on sane cases. Now check whether nonexistent headers
7063 # can be detected and how.
7064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7065 /* end confdefs.h. */
7066 #include <ac_nonexistent.h>
7067 _ACEOF
7068 if ac_fn_c_try_cpp "$LINENO"; then :
7069 # Broken: success on invalid input.
7070 continue
7071 else
7072 # Passes both tests.
7073 ac_preproc_ok=:
7074 break
7076 rm -f conftest.err conftest.i conftest.$ac_ext
7078 done
7079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7080 rm -f conftest.i conftest.err conftest.$ac_ext
7081 if $ac_preproc_ok; then :
7082 break
7085 done
7086 ac_cv_prog_CPP=$CPP
7089 CPP=$ac_cv_prog_CPP
7090 else
7091 ac_cv_prog_CPP=$CPP
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7094 $as_echo "$CPP" >&6; }
7095 ac_preproc_ok=false
7096 for ac_c_preproc_warn_flag in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 #ifdef __STDC__
7107 # include <limits.h>
7108 #else
7109 # include <assert.h>
7110 #endif
7111 Syntax error
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7115 else
7116 # Broken: fails on valid input.
7117 continue
7119 rm -f conftest.err conftest.i conftest.$ac_ext
7121 # OK, works on sane cases. Now check whether nonexistent headers
7122 # can be detected and how.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <ac_nonexistent.h>
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7128 # Broken: success on invalid input.
7129 continue
7130 else
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.i conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then :
7142 else
7143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7145 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7146 See \`config.log' for more details" "$LINENO" 5; }
7149 ac_ext=c
7150 ac_cpp='$CPP $CPPFLAGS'
7151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7157 $as_echo_n "checking for ANSI C header files... " >&6; }
7158 if ${ac_cv_header_stdc+:} false; then :
7159 $as_echo_n "(cached) " >&6
7160 else
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <stdlib.h>
7164 #include <stdarg.h>
7165 #include <string.h>
7166 #include <float.h>
7169 main ()
7173 return 0;
7175 _ACEOF
7176 if ac_fn_c_try_compile "$LINENO"; then :
7177 ac_cv_header_stdc=yes
7178 else
7179 ac_cv_header_stdc=no
7181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7183 if test $ac_cv_header_stdc = yes; then
7184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #include <string.h>
7189 _ACEOF
7190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7191 $EGREP "memchr" >/dev/null 2>&1; then :
7193 else
7194 ac_cv_header_stdc=no
7196 rm -f conftest*
7200 if test $ac_cv_header_stdc = yes; then
7201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #include <stdlib.h>
7206 _ACEOF
7207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7208 $EGREP "free" >/dev/null 2>&1; then :
7210 else
7211 ac_cv_header_stdc=no
7213 rm -f conftest*
7217 if test $ac_cv_header_stdc = yes; then
7218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7219 if test "$cross_compiling" = yes; then :
7221 else
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 #include <ctype.h>
7225 #include <stdlib.h>
7226 #if ((' ' & 0x0FF) == 0x020)
7227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7229 #else
7230 # define ISLOWER(c) \
7231 (('a' <= (c) && (c) <= 'i') \
7232 || ('j' <= (c) && (c) <= 'r') \
7233 || ('s' <= (c) && (c) <= 'z'))
7234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7235 #endif
7237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7239 main ()
7241 int i;
7242 for (i = 0; i < 256; i++)
7243 if (XOR (islower (i), ISLOWER (i))
7244 || toupper (i) != TOUPPER (i))
7245 return 2;
7246 return 0;
7248 _ACEOF
7249 if ac_fn_c_try_run "$LINENO"; then :
7251 else
7252 ac_cv_header_stdc=no
7254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7255 conftest.$ac_objext conftest.beam conftest.$ac_ext
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7261 $as_echo "$ac_cv_header_stdc" >&6; }
7262 if test $ac_cv_header_stdc = yes; then
7264 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7269 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7270 inttypes.h stdint.h unistd.h
7271 do :
7272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7276 cat >>confdefs.h <<_ACEOF
7277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 _ACEOF
7282 done
7285 for ac_header in \
7286 AL/al.h \
7287 ApplicationServices/ApplicationServices.h \
7288 AudioToolbox/AudioConverter.h \
7289 AudioUnit/AudioUnit.h \
7290 AudioUnit/AudioComponent.h \
7291 CL/cl.h \
7292 Carbon/Carbon.h \
7293 CommonCrypto/CommonCryptor.h \
7294 CoreAudio/CoreAudio.h \
7295 CoreServices/CoreServices.h \
7296 DiskArbitration/DiskArbitration.h \
7297 EGL/egl.h \
7298 IOKit/IOKitLib.h \
7299 IOKit/hid/IOHIDLib.h \
7300 OpenAL/al.h \
7301 OpenCL/opencl.h \
7302 QuickTime/ImageCompression.h \
7303 Security/Security.h \
7304 alias.h \
7305 arpa/inet.h \
7306 arpa/nameser.h \
7307 asm/types.h \
7308 asm/user.h \
7309 curses.h \
7310 dirent.h \
7311 dlfcn.h \
7312 elf.h \
7313 float.h \
7314 fnmatch.h \
7315 getopt.h \
7316 gettext-po.h \
7317 grp.h \
7318 gsm.h \
7319 gsm/gsm.h \
7320 ieeefp.h \
7321 inet/mib2.h \
7322 kstat.h \
7323 libproc.h \
7324 link.h \
7325 linux/cdrom.h \
7326 linux/compiler.h \
7327 linux/filter.h \
7328 linux/hdreg.h \
7329 linux/hidraw.h \
7330 linux/input.h \
7331 linux/ioctl.h \
7332 linux/joystick.h \
7333 linux/major.h \
7334 linux/param.h \
7335 linux/serial.h \
7336 linux/types.h \
7337 linux/ucdrom.h \
7338 lwp.h \
7339 mach-o/nlist.h \
7340 mach-o/loader.h \
7341 mach/mach.h \
7342 mach/machine.h \
7343 machine/cpu.h \
7344 machine/limits.h \
7345 machine/sysarch.h \
7346 mntent.h \
7347 ncurses.h \
7348 netdb.h \
7349 netinet/in.h \
7350 netinet/in_systm.h \
7351 netinet/tcp.h \
7352 netinet/tcp_fsm.h \
7353 pcap/pcap.h \
7354 poll.h \
7355 port.h \
7356 pthread.h \
7357 pwd.h \
7358 sched.h \
7359 scsi/scsi.h \
7360 scsi/scsi_ioctl.h \
7361 scsi/sg.h \
7362 stdbool.h \
7363 stdint.h \
7364 stropts.h \
7365 sys/attr.h \
7366 sys/auxv.h \
7367 sys/cdio.h \
7368 sys/elf32.h \
7369 sys/epoll.h \
7370 sys/event.h \
7371 sys/exec_elf.h \
7372 sys/filio.h \
7373 sys/inotify.h \
7374 sys/ioctl.h \
7375 sys/ipc.h \
7376 sys/limits.h \
7377 sys/link.h \
7378 sys/mman.h \
7379 sys/modem.h \
7380 sys/msg.h \
7381 sys/mtio.h \
7382 sys/param.h \
7383 sys/poll.h \
7384 sys/prctl.h \
7385 sys/protosw.h \
7386 sys/ptrace.h \
7387 sys/queue.h \
7388 sys/resource.h \
7389 sys/scsiio.h \
7390 sys/shm.h \
7391 sys/signal.h \
7392 sys/socket.h \
7393 sys/socketvar.h \
7394 sys/sockio.h \
7395 sys/statvfs.h \
7396 sys/strtio.h \
7397 sys/syscall.h \
7398 sys/sysinfo.h \
7399 sys/tihdr.h \
7400 sys/time.h \
7401 sys/timeout.h \
7402 sys/times.h \
7403 sys/uio.h \
7404 sys/user.h \
7405 sys/utsname.h \
7406 sys/vnode.h \
7407 sys/wait.h \
7408 syscall.h \
7409 termios.h \
7410 unistd.h \
7411 utime.h \
7412 valgrind/memcheck.h \
7413 valgrind/valgrind.h \
7414 zlib.h
7416 do :
7417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422 _ACEOF
7426 done
7428 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7429 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7431 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7436 if test $ac_cv_header_sys_mkdev_h = no; then
7437 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7438 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7440 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7447 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7448 if ${ac_cv_header_stat_broken+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7453 #include <sys/types.h>
7454 #include <sys/stat.h>
7456 #if defined S_ISBLK && defined S_IFDIR
7457 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7458 #endif
7460 #if defined S_ISBLK && defined S_IFCHR
7461 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7462 #endif
7464 #if defined S_ISLNK && defined S_IFREG
7465 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7466 #endif
7468 #if defined S_ISSOCK && defined S_IFREG
7469 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7470 #endif
7472 _ACEOF
7473 if ac_fn_c_try_compile "$LINENO"; then :
7474 ac_cv_header_stat_broken=no
7475 else
7476 ac_cv_header_stat_broken=yes
7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7481 $as_echo "$ac_cv_header_stat_broken" >&6; }
7482 if test $ac_cv_header_stat_broken = yes; then
7484 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7490 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7491 do :
7492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7494 #ifdef HAVE_SYS_PARAM_H
7495 # include <sys/param.h>
7496 #endif
7498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7499 cat >>confdefs.h <<_ACEOF
7500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7501 _ACEOF
7505 done
7508 for ac_header in \
7509 netinet/ip.h \
7510 net/if.h \
7511 net/if_arp.h \
7512 net/if_dl.h \
7513 net/if_types.h \
7514 net/route.h \
7515 netinet/if_ether.h \
7516 netinet/if_inarp.h \
7517 netinet/in_pcb.h \
7518 netinet/ip_icmp.h \
7519 netinet/ip_var.h \
7520 netinet/udp.h \
7521 netipx/ipx.h \
7522 sys/un.h \
7524 do :
7525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7527 #ifdef HAVE_SYS_SOCKET_H
7528 # include <sys/socket.h>
7529 #endif
7530 #ifdef HAVE_SYS_SOCKETVAR_H
7531 # include <sys/socketvar.h>
7532 #endif
7533 #ifdef HAVE_NET_ROUTE_H
7534 # include <net/route.h>
7535 #endif
7536 #ifdef HAVE_NETINET_IN_H
7537 # include <netinet/in.h>
7538 #endif
7539 #ifdef HAVE_NETINET_IN_SYSTM_H
7540 # include <netinet/in_systm.h>
7541 #endif
7542 #ifdef HAVE_NET_IF_H
7543 # include <net/if.h>
7544 #endif
7545 #ifdef HAVE_NETINET_IP_H
7546 # include <netinet/ip.h>
7547 #endif
7549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7550 cat >>confdefs.h <<_ACEOF
7551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7559 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7560 do :
7561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7563 #ifdef HAVE_ALIAS_H
7564 # include <alias.h>
7565 #endif
7566 #ifdef HAVE_SYS_SOCKET_H
7567 # include <sys/socket.h>
7568 #endif
7569 #ifdef HAVE_SYS_SOCKETVAR_H
7570 # include <sys/socketvar.h>
7571 #endif
7572 #ifdef HAVE_SYS_TIMEOUT_H
7573 # include <sys/timeout.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IN_H
7576 # include <netinet/in.h>
7577 #endif
7578 #ifdef HAVE_NETINET_IN_SYSTM_H
7579 # include <netinet/in_systm.h>
7580 #endif
7581 #ifdef HAVE_NETINET_IP_H
7582 # include <netinet/ip.h>
7583 #endif
7584 #ifdef HAVE_NETINET_IP_VAR_H
7585 # include <netinet/ip_var.h>
7586 #endif
7587 #ifdef HAVE_NETINET_IP_ICMP_H
7588 # include <netinet/ip_icmp.h>
7589 #endif
7590 #ifdef HAVE_NETINET_UDP_H
7591 # include <netinet/udp.h>
7592 #endif
7593 #ifdef HAVE_NETINET_TCP_H
7594 # include <netinet/tcp.h>
7595 #endif
7596 #ifdef HAVE_NETINET_TCP_TIMER_H
7597 #include <netinet/tcp_timer.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7611 do :
7612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7614 #ifdef HAVE_ASM_TYPES_H
7615 # include <asm/types.h>
7616 #endif
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7619 #endif
7620 #ifdef HAVE_LINUX_TYPES_H
7621 # include <linux/types.h>
7622 #endif
7624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7625 cat >>confdefs.h <<_ACEOF
7626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7627 _ACEOF
7631 done
7634 for ac_header in mach-o/dyld_images.h
7635 do :
7636 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7637 # include <stdbool.h>
7638 #endif
7639 #ifdef HAVE_STDINT_H
7640 # include <stdint.h>
7641 #endif
7643 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7646 _ACEOF
7650 done
7653 for ac_header in resolv.h
7654 do :
7655 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7656 #ifdef HAVE_SYS_SOCKET_H
7657 # include <sys/socket.h>
7658 #endif
7659 #ifdef HAVE_NETINET_IN_H
7660 # include <netinet/in.h>
7661 #endif
7662 #ifdef HAVE_ARPA_NAMESER_H
7663 # include <arpa/nameser.h>
7664 #endif
7666 if test "x$ac_cv_header_resolv_h" = xyes; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define HAVE_RESOLV_H 1
7669 _ACEOF
7673 done
7676 for ac_header in ifaddrs.h
7677 do :
7678 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7680 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_IFADDRS_H 1
7683 _ACEOF
7687 done
7690 for ac_header in sys/ucontext.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7694 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_SYS_UCONTEXT_H 1
7697 _ACEOF
7701 done
7704 for ac_header in sys/thr.h
7705 do :
7706 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_UCONTEXT_H
7708 #include <sys/ucontext.h>
7709 #endif
7711 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_SYS_THR_H 1
7714 _ACEOF
7718 done
7721 for ac_header in pthread_np.h
7722 do :
7723 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7724 #include <pthread.h>
7725 #endif
7727 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_PTHREAD_NP_H 1
7730 _ACEOF
7734 done
7737 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7738 do :
7739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7740 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7741 #include <sys/time.h>
7742 #endif
7743 #include <sys/types.h>
7744 #ifdef HAVE_ASM_TYPES_H
7745 #include <asm/types.h>
7746 #endif
7748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 _ACEOF
7755 done
7758 for ac_header in libprocstat.h
7759 do :
7760 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7761 #include <sys/param.h>
7762 #endif
7763 #ifdef HAVE_SYS_QUEUE_H
7764 #include <sys/queue.h>
7765 #endif
7766 #ifdef HAVE_SYS_SOCKET_H
7767 #include <sys/socket.h>
7768 #endif
7770 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_LIBPROCSTAT_H 1
7773 _ACEOF
7777 done
7781 DLLFLAGS="-D_REENTRANT"
7783 LDRPATH_INSTALL=""
7785 LDRPATH_LOCAL=""
7787 LDEXECFLAGS=""
7789 TOP_INSTALL_LIB=""
7791 TOP_INSTALL_DEV=""
7793 WINELOADER_LDFLAGS=""
7795 WINEPRELOADER_LDFLAGS=""
7797 LIBEXT="so"
7798 DLLEXT=".so"
7799 # Extract the first word of "ldd", so it can be a program name with args.
7800 set dummy ldd; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7802 $as_echo_n "checking for $ac_word... " >&6; }
7803 if ${ac_cv_path_LDD+:} false; then :
7804 $as_echo_n "(cached) " >&6
7805 else
7806 case $LDD in
7807 [\\/]* | ?:[\\/]*)
7808 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 as_dummy="/sbin:/usr/sbin:$PATH"
7813 for as_dir in $as_dummy
7815 IFS=$as_save_IFS
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 break 2
7823 done
7824 done
7825 IFS=$as_save_IFS
7827 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7829 esac
7831 LDD=$ac_cv_path_LDD
7832 if test -n "$LDD"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7834 $as_echo "$LDD" >&6; }
7835 else
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837 $as_echo "no" >&6; }
7841 if test -n "$ac_tool_prefix"; then
7842 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7843 set dummy ${ac_tool_prefix}otool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_OTOOL+:} false; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 if test -n "$OTOOL"; then
7850 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7851 else
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 for as_dir in $PATH
7855 IFS=$as_save_IFS
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 break 2
7863 done
7864 done
7865 IFS=$as_save_IFS
7869 OTOOL=$ac_cv_prog_OTOOL
7870 if test -n "$OTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7872 $as_echo "$OTOOL" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7880 if test -z "$ac_cv_prog_OTOOL"; then
7881 ac_ct_OTOOL=$OTOOL
7882 # Extract the first word of "otool", so it can be a program name with args.
7883 set dummy otool; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 if test -n "$ac_ct_OTOOL"; then
7890 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7891 else
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 for as_dir in $PATH
7895 IFS=$as_save_IFS
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_prog_ac_ct_OTOOL="otool"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7901 break 2
7903 done
7904 done
7905 IFS=$as_save_IFS
7909 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7910 if test -n "$ac_ct_OTOOL"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7912 $as_echo "$ac_ct_OTOOL" >&6; }
7913 else
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7918 if test "x$ac_ct_OTOOL" = x; then
7919 OTOOL="otool"
7920 else
7921 case $cross_compiling:$ac_tool_warned in
7922 yes:)
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925 ac_tool_warned=yes ;;
7926 esac
7927 OTOOL=$ac_ct_OTOOL
7929 else
7930 OTOOL="$ac_cv_prog_OTOOL"
7933 if test -n "$ac_tool_prefix"; then
7934 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7935 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_READELF+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$READELF"; then
7942 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 READELF=$ac_cv_prog_READELF
7962 if test -n "$READELF"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7964 $as_echo "$READELF" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7972 if test -z "$ac_cv_prog_READELF"; then
7973 ac_ct_READELF=$READELF
7974 # Extract the first word of "readelf", so it can be a program name with args.
7975 set dummy readelf; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 if test -n "$ac_ct_READELF"; then
7982 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7983 else
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 for as_dir in $PATH
7987 IFS=$as_save_IFS
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_ac_ct_READELF="readelf"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 IFS=$as_save_IFS
8001 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8002 if test -n "$ac_ct_READELF"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8004 $as_echo "$ac_ct_READELF" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8010 if test "x$ac_ct_READELF" = x; then
8011 READELF="true"
8012 else
8013 case $cross_compiling:$ac_tool_warned in
8014 yes:)
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8017 ac_tool_warned=yes ;;
8018 esac
8019 READELF=$ac_ct_READELF
8021 else
8022 READELF="$ac_cv_prog_READELF"
8025 wine_rules_file=conf$$rules.make
8026 rm -f $wine_rules_file
8027 SUBDIRS=""
8029 DISABLED_SUBDIRS=""
8031 CONFIGURE_TARGETS=""
8034 wine_fn_append_file ()
8036 as_fn_append $1 " \\$as_nl $2"
8039 wine_fn_append_rule ()
8041 $as_echo "$1" >>$wine_rules_file
8044 wine_fn_config_makefile ()
8046 wine_fn_append_file SUBDIRS $1
8047 if eval test \"x\$"$2"\" = x"no"; then :
8048 wine_fn_append_file DISABLED_SUBDIRS $1
8052 wine_fn_config_symlink ()
8054 ac_links=$@
8055 wine_fn_append_rule \
8056 "$ac_links:
8057 @./config.status \$@"
8058 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8061 wine_binary="wine"
8062 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8063 WINELOADER_PROGRAMS="$wine_binary"
8065 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8067 case $host_os in
8068 cygwin*|mingw32*)
8069 if test -n "$ac_tool_prefix"; then
8070 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 $as_echo_n "checking for $ac_word... " >&6; }
8074 if ${ac_cv_prog_DLLTOOL+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
8077 if test -n "$DLLTOOL"; then
8078 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8079 else
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 for as_dir in $PATH
8083 IFS=$as_save_IFS
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 break 2
8091 done
8092 done
8093 IFS=$as_save_IFS
8097 DLLTOOL=$ac_cv_prog_DLLTOOL
8098 if test -n "$DLLTOOL"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8100 $as_echo "$DLLTOOL" >&6; }
8101 else
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
8108 if test -z "$ac_cv_prog_DLLTOOL"; then
8109 ac_ct_DLLTOOL=$DLLTOOL
8110 # Extract the first word of "dlltool", so it can be a program name with args.
8111 set dummy dlltool; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8115 $as_echo_n "(cached) " >&6
8116 else
8117 if test -n "$ac_ct_DLLTOOL"; then
8118 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8119 else
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 for as_dir in $PATH
8123 IFS=$as_save_IFS
8124 test -z "$as_dir" && as_dir=.
8125 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8129 break 2
8131 done
8132 done
8133 IFS=$as_save_IFS
8137 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8138 if test -n "$ac_ct_DLLTOOL"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8140 $as_echo "$ac_ct_DLLTOOL" >&6; }
8141 else
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8146 if test "x$ac_ct_DLLTOOL" = x; then
8147 DLLTOOL="false"
8148 else
8149 case $cross_compiling:$ac_tool_warned in
8150 yes:)
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8153 ac_tool_warned=yes ;;
8154 esac
8155 DLLTOOL=$ac_ct_DLLTOOL
8157 else
8158 DLLTOOL="$ac_cv_prog_DLLTOOL"
8161 LIBEXT="dll"
8162 DLLEXT=""
8163 enable_iphlpapi=${enable_iphlpapi:-no}
8164 enable_kernel32=${enable_kernel32:-no}
8165 enable_ntdll=${enable_ntdll:-no}
8166 enable_ws2_32=${enable_ws2_32:-no}
8167 enable_loader=${enable_loader:-no}
8168 enable_server=${enable_server:-no}
8169 with_x=${with_x:-no}
8170 with_pthread=${with_pthread:-no}
8173 darwin*|macosx*)
8174 for ac_header in libunwind.h
8175 do :
8176 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_LIBUNWIND_H 1
8180 _ACEOF
8184 done
8186 ac_ext=m
8187 ac_cpp='$OBJCPP $CPPFLAGS'
8188 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8189 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8190 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8192 ac_ext=m
8193 ac_cpp='$OBJCPP $CPPFLAGS'
8194 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8196 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8197 if test -n "$ac_tool_prefix"; then
8198 for ac_prog in gcc objcc objc cc CC
8200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_prog_OBJC+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 if test -n "$OBJC"; then
8208 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8209 else
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 for as_dir in $PATH
8213 IFS=$as_save_IFS
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 break 2
8221 done
8222 done
8223 IFS=$as_save_IFS
8227 OBJC=$ac_cv_prog_OBJC
8228 if test -n "$OBJC"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8230 $as_echo "$OBJC" >&6; }
8231 else
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233 $as_echo "no" >&6; }
8237 test -n "$OBJC" && break
8238 done
8240 if test -z "$OBJC"; then
8241 ac_ct_OBJC=$OBJC
8242 for ac_prog in gcc objcc objc cc CC
8244 # Extract the first word of "$ac_prog", so it can be a program name with args.
8245 set dummy $ac_prog; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$ac_ct_OBJC"; then
8252 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8272 if test -n "$ac_ct_OBJC"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8274 $as_echo "$ac_ct_OBJC" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8281 test -n "$ac_ct_OBJC" && break
8282 done
8284 if test "x$ac_ct_OBJC" = x; then
8285 OBJC="gcc"
8286 else
8287 case $cross_compiling:$ac_tool_warned in
8288 yes:)
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8291 ac_tool_warned=yes ;;
8292 esac
8293 OBJC=$ac_ct_OBJC
8297 # Provide some information about the compiler.
8298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8299 set X $ac_compile
8300 ac_compiler=$2
8301 for ac_option in --version -v -V -qversion; do
8302 { { ac_try="$ac_compiler $ac_option >&5"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8308 $as_echo "$ac_try_echo"; } >&5
8309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8310 ac_status=$?
8311 if test -s conftest.err; then
8312 sed '10a\
8313 ... rest of stderr output deleted ...
8314 10q' conftest.err >conftest.er1
8315 cat conftest.er1 >&5
8317 rm -f conftest.er1 conftest.err
8318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8319 test $ac_status = 0; }
8320 done
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8323 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8324 if ${ac_cv_objc_compiler_gnu+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8331 main ()
8333 #ifndef __GNUC__
8334 choke me
8335 #endif
8338 return 0;
8340 _ACEOF
8341 if ac_fn_objc_try_compile "$LINENO"; then :
8342 ac_compiler_gnu=yes
8343 else
8344 ac_compiler_gnu=no
8346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8347 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8351 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8352 if test $ac_compiler_gnu = yes; then
8353 GOBJC=yes
8354 else
8355 GOBJC=
8357 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8358 ac_save_OBJCFLAGS=$OBJCFLAGS
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8360 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8361 if ${ac_cv_prog_objc_g+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_save_objc_werror_flag=$ac_objc_werror_flag
8365 ac_objc_werror_flag=yes
8366 ac_cv_prog_objc_g=no
8367 OBJCFLAGS="-g"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8372 main ()
8376 return 0;
8378 _ACEOF
8379 if ac_fn_objc_try_compile "$LINENO"; then :
8380 ac_cv_prog_objc_g=yes
8381 else
8382 OBJCFLAGS=""
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8387 main ()
8391 return 0;
8393 _ACEOF
8394 if ac_fn_objc_try_compile "$LINENO"; then :
8396 else
8397 ac_objc_werror_flag=$ac_save_objc_werror_flag
8398 OBJCFLAGS="-g"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8403 main ()
8407 return 0;
8409 _ACEOF
8410 if ac_fn_objc_try_compile "$LINENO"; then :
8411 ac_cv_prog_objc_g=yes
8413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 ac_objc_werror_flag=$ac_save_objc_werror_flag
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8421 $as_echo "$ac_cv_prog_objc_g" >&6; }
8422 if test "$ac_test_OBJCFLAGS" = set; then
8423 OBJCFLAGS=$ac_save_OBJCFLAGS
8424 elif test $ac_cv_prog_objc_g = yes; then
8425 if test "$GOBJC" = yes; then
8426 OBJCFLAGS="-g -O2"
8427 else
8428 OBJCFLAGS="-g"
8430 else
8431 if test "$GOBJC" = yes; then
8432 OBJCFLAGS="-O2"
8433 else
8434 OBJCFLAGS=
8437 ac_ext=m
8438 ac_cpp='$OBJCPP $CPPFLAGS'
8439 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8440 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8441 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8444 ac_ext=m
8445 ac_cpp='$OBJCPP $CPPFLAGS'
8446 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8450 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8451 if test -z "$OBJCPP"; then
8452 if ${ac_cv_prog_OBJCPP+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 # Double quotes because OBJCPP needs to be expanded
8456 for OBJCPP in "$OBJC -E" "/lib/cpp"
8458 ac_preproc_ok=false
8459 for ac_objc_preproc_warn_flag in '' yes
8461 # Use a header file that comes with gcc, so configuring glibc
8462 # with a fresh cross-compiler works.
8463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8464 # <limits.h> exists even on freestanding compilers.
8465 # On the NeXT, cc -E runs the code through the compiler's parser,
8466 # not just through cpp. "Syntax error" is here to catch this case.
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 #ifdef __STDC__
8470 # include <limits.h>
8471 #else
8472 # include <assert.h>
8473 #endif
8474 Syntax error
8475 _ACEOF
8476 if ac_fn_objc_try_cpp "$LINENO"; then :
8478 else
8479 # Broken: fails on valid input.
8480 continue
8482 rm -f conftest.err conftest.i conftest.$ac_ext
8484 # OK, works on sane cases. Now check whether nonexistent headers
8485 # can be detected and how.
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 #include <ac_nonexistent.h>
8489 _ACEOF
8490 if ac_fn_objc_try_cpp "$LINENO"; then :
8491 # Broken: success on invalid input.
8492 continue
8493 else
8494 # Passes both tests.
8495 ac_preproc_ok=:
8496 break
8498 rm -f conftest.err conftest.i conftest.$ac_ext
8500 done
8501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8502 rm -f conftest.i conftest.err conftest.$ac_ext
8503 if $ac_preproc_ok; then :
8504 break
8507 done
8508 ac_cv_prog_OBJCPP=$OBJCPP
8511 OBJCPP=$ac_cv_prog_OBJCPP
8512 else
8513 ac_cv_prog_OBJCPP=$OBJCPP
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8516 $as_echo "$OBJCPP" >&6; }
8517 ac_preproc_ok=false
8518 for ac_objc_preproc_warn_flag in '' yes
8520 # Use a header file that comes with gcc, so configuring glibc
8521 # with a fresh cross-compiler works.
8522 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8523 # <limits.h> exists even on freestanding compilers.
8524 # On the NeXT, cc -E runs the code through the compiler's parser,
8525 # not just through cpp. "Syntax error" is here to catch this case.
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 #ifdef __STDC__
8529 # include <limits.h>
8530 #else
8531 # include <assert.h>
8532 #endif
8533 Syntax error
8534 _ACEOF
8535 if ac_fn_objc_try_cpp "$LINENO"; then :
8537 else
8538 # Broken: fails on valid input.
8539 continue
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 # OK, works on sane cases. Now check whether nonexistent headers
8544 # can be detected and how.
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 #include <ac_nonexistent.h>
8548 _ACEOF
8549 if ac_fn_objc_try_cpp "$LINENO"; then :
8550 # Broken: success on invalid input.
8551 continue
8552 else
8553 # Passes both tests.
8554 ac_preproc_ok=:
8555 break
8557 rm -f conftest.err conftest.i conftest.$ac_ext
8559 done
8560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8561 rm -f conftest.i conftest.err conftest.$ac_ext
8562 if $ac_preproc_ok; then :
8564 else
8565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8567 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8568 See \`config.log' for more details" "$LINENO" 5; }
8571 ac_ext=m
8572 ac_cpp='$OBJCPP $CPPFLAGS'
8573 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8578 for ac_header in Metal/Metal.h
8579 do :
8580 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8581 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8582 cat >>confdefs.h <<_ACEOF
8583 #define HAVE_METAL_METAL_H 1
8584 _ACEOF
8588 done
8590 ac_ext=c
8591 ac_cpp='$CPP $CPPFLAGS'
8592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8596 LIBEXT="dylib"
8597 DLLFLAGS="$DLLFLAGS -fPIC"
8598 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8599 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8600 COREFOUNDATION_LIBS="-framework CoreFoundation"
8602 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8604 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8606 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8608 CORESERVICES_LIBS="-framework CoreServices"
8610 APPKIT_LIBS="-framework AppKit"
8613 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8615 wine_can_build_preloader=yes
8616 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8618 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8619 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 ac_cv_cflags__Wl__no_new_main__e__main=yes
8630 else
8631 ac_cv_cflags__Wl__no_new_main__e__main=no
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8638 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8639 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8640 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8642 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8643 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8644 $as_echo_n "(cached) " >&6
8645 else
8646 ac_wine_try_cflags_saved=$CFLAGS
8647 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8650 int main(int argc, char **argv) { return 0; }
8651 _ACEOF
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8654 else
8655 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8657 rm -f core conftest.err conftest.$ac_objext \
8658 conftest$ac_exeext conftest.$ac_ext
8659 CFLAGS=$ac_wine_try_cflags_saved
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8662 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8663 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8664 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8665 else
8666 { $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
8667 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8668 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 ac_wine_try_cflags_saved=$CFLAGS
8672 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 int main(int argc, char **argv) { return 0; }
8676 _ACEOF
8677 if ac_fn_c_try_link "$LINENO"; then :
8678 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8679 else
8680 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8682 rm -f core conftest.err conftest.$ac_objext \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { $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
8687 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8688 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8689 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8690 else
8691 wine_can_build_preloader=no
8694 else
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8696 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8697 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8708 else
8709 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8716 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8717 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8718 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8719 else
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8721 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8722 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8733 else
8734 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8741 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8742 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8743 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8744 else
8745 wine_can_build_preloader=no
8749 if test "$wine_can_build_preloader" = "yes"
8750 then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8752 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8753 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -Wl,-no_pie"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 int main(int argc, char **argv) { return 0; }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_cflags__Wl__no_pie=yes
8764 else
8765 ac_cv_cflags__Wl__no_pie=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8772 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8773 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8774 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8776 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8777 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8778 else
8779 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8782 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8783 then
8784 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8787 if test "$ac_cv_header_Security_Security_h" = "yes"
8788 then
8789 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8791 ac_save_LIBS="$LIBS"
8792 LIBS="$LIBS $SECURITY_LIBS"
8793 for ac_func in SSLCopyPeerCertificates
8794 do :
8795 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8796 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8797 cat >>confdefs.h <<_ACEOF
8798 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8799 _ACEOF
8802 done
8804 LIBS="$ac_save_LIBS"
8806 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8807 then
8808 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8809 then
8810 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8812 else
8813 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8816 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8817 ac_save_LIBS="$LIBS"
8818 LIBS="$LIBS $COREAUDIO_LIBS"
8819 for ac_func in AUGraphAddNode
8820 do :
8821 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8822 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8823 cat >>confdefs.h <<_ACEOF
8824 #define HAVE_AUGRAPHADDNODE 1
8825 _ACEOF
8828 done
8830 LIBS="$ac_save_LIBS"
8832 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8833 then
8834 OPENAL_LIBS="-framework OpenAL"
8837 cat >>confdefs.h <<_ACEOF
8838 #define HAVE_OPENAL 1
8839 _ACEOF
8841 ac_cv_lib_openal=yes
8843 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8844 then
8845 OPENCL_LIBS="-framework OpenCL"
8847 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8849 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8850 then
8851 ac_save_LIBS="$LIBS"
8852 LIBS="$LIBS $IOKIT_LIBS"
8853 for ac_func in IOHIDManagerCreate
8854 do :
8855 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8856 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8857 cat >>confdefs.h <<_ACEOF
8858 #define HAVE_IOHIDMANAGERCREATE 1
8859 _ACEOF
8862 done
8864 LIBS="$ac_save_LIBS"
8866 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8867 then
8868 ac_save_LIBS="$LIBS"
8869 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8871 $as_echo_n "checking for the QuickTime framework... " >&6; }
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 #include <QuickTime/ImageCompression.h>
8876 main ()
8878 CodecManagerVersion(NULL);
8880 return 0;
8882 _ACEOF
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8885 $as_echo "yes" >&6; }
8886 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8888 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8889 else
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8891 $as_echo "no" >&6; }
8892 ac_cv_header_QuickTime_ImageCompression_h=no
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 LIBS="$ac_save_LIBS"
8898 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8899 then
8900 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8902 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8903 then
8904 CARBON_LIBS="-framework Carbon"
8907 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8908 then
8909 METAL_LIBS="-framework Metal -framework QuartzCore"
8913 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8914 then
8915 ac_save_LIBS="$LIBS"
8916 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8917 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8918 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8919 enable_winemac_drv=${enable_winemac_drv:-yes}
8922 LIBS="$ac_save_LIBS"
8925 if test "x$enable_win16" = "xyes"
8926 then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8928 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8929 if test "$cross_compiling" = yes; then :
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8931 $as_echo "cross-compiling, assuming yes" >&6; }
8932 else
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8935 asm(".text\n"
8936 "bad:\tnop;nop\n"
8937 "good:\tnop;nop\n\t"
8938 ".globl _testfunc\n"
8939 "_testfunc:\tcallw good");
8940 extern void testfunc();
8942 main ()
8944 unsigned short *p = (unsigned short *)testfunc;
8945 return p[0] != 0xe866 || p[1] != 0xfffa
8947 return 0;
8949 _ACEOF
8950 if ac_fn_c_try_run "$LINENO"; then :
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8952 $as_echo "yes" >&6; }
8953 else
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955 $as_echo "no" >&6; }
8956 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
8958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8959 conftest.$ac_objext conftest.beam conftest.$ac_ext
8964 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8966 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8968 WINELOADER_DEPENDS="wine_info.plist"
8970 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8971 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8974 linux-android*)
8975 DLLFLAGS="$DLLFLAGS -fPIC"
8976 LDEXECFLAGS="-Wl,-pie"
8977 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8979 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8980 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_wine_try_cflags_saved=$CFLAGS
8984 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8987 int main(int argc, char **argv) { return 0; }
8988 _ACEOF
8989 if ac_fn_c_try_link "$LINENO"; then :
8990 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8991 else
8992 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8994 rm -f core conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 CFLAGS=$ac_wine_try_cflags_saved
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8999 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9000 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9001 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9003 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9004 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9006 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9007 if eval \${$as_ac_var+:} false; then :
9008 $as_echo_n "(cached) " >&6
9009 else
9010 ac_wine_try_cflags_saved=$CFLAGS
9011 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9014 int main(int argc, char **argv) { return 0; }
9015 _ACEOF
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 eval "$as_ac_var=yes"
9018 else
9019 eval "$as_ac_var=no"
9021 rm -f core conftest.err conftest.$ac_objext \
9022 conftest$ac_exeext conftest.$ac_ext
9023 CFLAGS=$ac_wine_try_cflags_saved
9025 eval ac_res=\$$as_ac_var
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9027 $as_echo "$ac_res" >&6; }
9028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9029 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9030 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9031 else
9032 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9034 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9035 if eval \${$as_ac_var+:} false; then :
9036 $as_echo_n "(cached) " >&6
9037 else
9038 ac_wine_try_cflags_saved=$CFLAGS
9039 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 int main(int argc, char **argv) { return 0; }
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 eval "$as_ac_var=yes"
9046 else
9047 eval "$as_ac_var=no"
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 CFLAGS=$ac_wine_try_cflags_saved
9053 eval ac_res=\$$as_ac_var
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9055 $as_echo "$ac_res" >&6; }
9056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9057 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9058 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9062 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9063 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9064 $as_echo_n "(cached) " >&6
9065 else
9066 ac_wine_try_cflags_saved=$CFLAGS
9067 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9070 int main(int argc, char **argv) { return 0; }
9071 _ACEOF
9072 if ac_fn_c_try_link "$LINENO"; then :
9073 ac_cv_cflags__Wl___enable_new_dtags=yes
9074 else
9075 ac_cv_cflags__Wl___enable_new_dtags=no
9077 rm -f core conftest.err conftest.$ac_objext \
9078 conftest$ac_exeext conftest.$ac_ext
9079 CFLAGS=$ac_wine_try_cflags_saved
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9082 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9083 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9084 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9087 LIBWINE_SHAREDLIB="libwine.so"
9089 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9091 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9094 $as_echo_n "checking for -lEGL... " >&6; }
9095 if ${ac_cv_lib_soname_EGL+:} false; then :
9096 $as_echo_n "(cached) " >&6
9097 else
9098 ac_check_soname_save_LIBS=$LIBS
9099 LIBS="-lEGL $LIBS"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9106 #ifdef __cplusplus
9107 extern "C"
9108 #endif
9109 char eglGetProcAddress ();
9111 main ()
9113 return eglGetProcAddress ();
9115 return 0;
9117 _ACEOF
9118 if ac_fn_c_try_link "$LINENO"; then :
9119 case "$LIBEXT" in
9120 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9121 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'` ;;
9122 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9123 if ${ac_cv_lib_soname_EGL:+false} :; then :
9124 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9125 fi ;;
9126 esac
9128 rm -f core conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 LIBS=$ac_check_soname_save_LIBS
9132 if ${ac_cv_lib_soname_EGL:+false} :; then :
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9134 $as_echo "not found" >&6; }
9136 else
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9138 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9140 cat >>confdefs.h <<_ACEOF
9141 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9142 _ACEOF
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9147 $as_echo_n "checking for -lGLESv2... " >&6; }
9148 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_check_soname_save_LIBS=$LIBS
9152 LIBS="-lGLESv2 $LIBS"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9156 /* Override any GCC internal prototype to avoid an error.
9157 Use char because int might match the return type of a GCC
9158 builtin and then its argument prototype would still apply. */
9159 #ifdef __cplusplus
9160 extern "C"
9161 #endif
9162 char glFlush ();
9164 main ()
9166 return glFlush ();
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 case "$LIBEXT" in
9173 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9174 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'` ;;
9175 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9176 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9177 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9178 fi ;;
9179 esac
9181 rm -f core conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_soname_save_LIBS
9185 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9187 $as_echo "not found" >&6; }
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9191 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9193 cat >>confdefs.h <<_ACEOF
9194 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9195 _ACEOF
9200 if test "x$exec_prefix" = xNONE
9201 then
9202 case $host_cpu in
9203 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9204 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9205 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9206 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9207 esac
9212 DLLFLAGS="$DLLFLAGS -fPIC"
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9214 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9215 if ${ac_cv_c_dll_gnuelf+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_wine_try_cflags_saved=$CFLAGS
9219 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9222 void myfunc() {}
9223 _ACEOF
9224 if ac_fn_c_try_link "$LINENO"; then :
9225 ac_cv_c_dll_gnuelf="yes"
9226 else
9227 ac_cv_c_dll_gnuelf="no"
9229 rm -f core conftest.err conftest.$ac_objext \
9230 conftest$ac_exeext conftest.$ac_ext
9231 CFLAGS=$ac_wine_try_cflags_saved
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9234 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9235 if test "$ac_cv_c_dll_gnuelf" = "yes"
9236 then
9237 LIBWINE_LDFLAGS="-shared"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9239 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9240 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 ac_wine_try_cflags_saved=$CFLAGS
9244 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9247 int main(int argc, char **argv) { return 0; }
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9251 else
9252 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 CFLAGS=$ac_wine_try_cflags_saved
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9259 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9260 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9261 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9262 else
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9264 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9265 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_wine_try_cflags_saved=$CFLAGS
9269 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9272 int main(int argc, char **argv) { return 0; }
9273 _ACEOF
9274 if ac_fn_c_try_link "$LINENO"; then :
9275 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9276 else
9277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 CFLAGS=$ac_wine_try_cflags_saved
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9284 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9285 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9286 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9290 echo '{ global: *; };' >conftest.map
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9292 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9293 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_wine_try_cflags_saved=$CFLAGS
9297 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9300 int main(int argc, char **argv) { return 0; }
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9304 else
9305 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 CFLAGS=$ac_wine_try_cflags_saved
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9312 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9313 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9314 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9316 rm -f conftest.map
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9320 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_wine_try_cflags_saved=$CFLAGS
9324 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9327 int main(int argc, char **argv) { return 0; }
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9331 else
9332 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 CFLAGS=$ac_wine_try_cflags_saved
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9339 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9340 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9341 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9343 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9345 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9347 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9348 if eval \${$as_ac_var+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
9359 else
9360 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9368 $as_echo "$ac_res" >&6; }
9369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9370 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9371 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9372 else
9373 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9375 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9376 if eval \${$as_ac_var+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
9387 else
9388 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9396 $as_echo "$ac_res" >&6; }
9397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9398 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9399 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9404 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9405 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_wine_try_cflags_saved=$CFLAGS
9409 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 int main(int argc, char **argv) { return 0; }
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_cflags__Wl___enable_new_dtags=yes
9416 else
9417 ac_cv_cflags__Wl___enable_new_dtags=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9424 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9425 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9426 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9429 case $host_cpu in
9430 *i[3456789]86* | x86_64 | *aarch64*)
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9432 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9433 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_wine_try_cflags_saved=$CFLAGS
9437 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int main(int argc, char **argv) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9444 else
9445 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 CFLAGS=$ac_wine_try_cflags_saved
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9452 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9453 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9454 case $host_os in
9455 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9456 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9457 esac
9458 else
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9460 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9461 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_wine_try_cflags_saved=$CFLAGS
9465 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 int main(int argc, char **argv) { return 0; }
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9472 else
9473 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 CFLAGS=$ac_wine_try_cflags_saved
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9480 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9481 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9482 case $host_os in
9483 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9484 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9485 esac
9487 # Extract the first word of "prelink", so it can be a program name with args.
9488 set dummy prelink; ac_word=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if ${ac_cv_path_PRELINK+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 case $PRELINK in
9495 [\\/]* | ?:[\\/]*)
9496 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500 for as_dir in /sbin /usr/sbin $PATH
9502 IFS=$as_save_IFS
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508 break 2
9510 done
9511 done
9512 IFS=$as_save_IFS
9514 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9516 esac
9518 PRELINK=$ac_cv_path_PRELINK
9519 if test -n "$PRELINK"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9521 $as_echo "$PRELINK" >&6; }
9522 else
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9524 $as_echo "no" >&6; }
9528 if test "x$PRELINK" = xfalse
9529 then
9530 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9534 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9535 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9546 else
9547 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 CFLAGS=$ac_wine_try_cflags_saved
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9554 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9555 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9556 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9559 esac
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9563 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9564 if ${ac_cv_c_dll_unixware+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 void myfunc() {}
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_c_dll_unixware="yes"
9575 else
9576 ac_cv_c_dll_unixware="no"
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9583 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9584 if test "$ac_cv_c_dll_unixware" = "yes"
9585 then
9586 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9589 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9591 LIBWINE_DEPENDS="wine.map"
9593 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9594 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9596 esac
9598 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9599 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9600 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9601 enable_winemac_drv=${enable_winemac_drv:-no}
9602 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9604 CROSSTARGET=""
9606 if test "x$with_mingw" != xno
9607 then
9608 case "x$with_mingw" in
9609 x|xyes) case "$host_cpu" in
9610 aarch64*)
9611 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9612 arm*)
9613 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9614 i[3456789]86*)
9615 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
9616 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9617 mingw32-gcc" ;;
9618 x86_64)
9619 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
9620 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9622 ac_prefix_list="" ;;
9623 esac
9624 for ac_prog in $ac_prefix_list
9626 # Extract the first word of "$ac_prog", so it can be a program name with args.
9627 set dummy $ac_prog; ac_word=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 $as_echo_n "checking for $ac_word... " >&6; }
9630 if ${ac_cv_prog_CROSSCC+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 if test -n "$CROSSCC"; then
9634 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9639 IFS=$as_save_IFS
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_CROSSCC="$ac_prog"
9644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645 break 2
9647 done
9648 done
9649 IFS=$as_save_IFS
9653 CROSSCC=$ac_cv_prog_CROSSCC
9654 if test -n "$CROSSCC"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9656 $as_echo "$CROSSCC" >&6; }
9657 else
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 $as_echo "no" >&6; }
9663 test -n "$CROSSCC" && break
9664 done
9665 test -n "$CROSSCC" || CROSSCC="false"
9667 *) CROSSCC=$with_mingw ;;
9668 esac
9669 if test "$CROSSCC" != "false"
9670 then
9671 ac_save_CC="$CC"
9672 saved_CFLAGS=$CFLAGS
9673 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9675 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9678 CC="$CROSSCC"
9679 CFLAGS=$CROSSCFLAGS
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9681 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9686 main ()
9690 return 0;
9692 _ACEOF
9693 if ac_fn_c_try_compile "$LINENO"; then :
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9695 $as_echo "yes" >&6; }
9696 set x $CROSSCC
9697 shift
9698 while test $# -ge 1
9700 case "$1" in
9701 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9702 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9703 esac
9704 shift
9705 done
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9712 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9713 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 ac_wine_try_cflags_saved=$CFLAGS
9717 ac_wine_try_cflags_saved_cc=$CC
9718 ac_wine_try_cflags_saved_exeext=$ac_exeext
9719 CFLAGS="$CFLAGS -fno-strict-aliasing"
9720 CC="$CROSSCC"
9721 ac_exeext=".exe"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9724 int main(int argc, char **argv) { return 0; }
9725 _ACEOF
9726 if ac_fn_c_try_link "$LINENO"; then :
9727 ac_cv_crosscflags__fno_strict_aliasing=yes
9728 else
9729 ac_cv_crosscflags__fno_strict_aliasing=no
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 CFLAGS=$ac_wine_try_cflags_saved
9734 CC=$ac_wine_try_cflags_saved_cc
9735 ac_exeext=$ac_wine_try_cflags_saved_exeext
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9738 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9739 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9740 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9743 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9744 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_wine_try_cflags_saved=$CFLAGS
9748 ac_wine_try_cflags_saved_cc=$CC
9749 ac_wine_try_cflags_saved_exeext=$ac_exeext
9750 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9751 CC="$CROSSCC"
9752 ac_exeext=".exe"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9755 int main(int argc, char **argv) { return 0; }
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9759 else
9760 ac_cv_crosscflags__Werror_unknown_warning_option=no
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 CFLAGS=$ac_wine_try_cflags_saved
9765 CC=$ac_wine_try_cflags_saved_cc
9766 ac_exeext=$ac_wine_try_cflags_saved_exeext
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9769 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9770 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9771 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror=unknown-warning-option"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9774 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9775 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_wine_try_cflags_saved=$CFLAGS
9779 ac_wine_try_cflags_saved_cc=$CC
9780 ac_wine_try_cflags_saved_exeext=$ac_exeext
9781 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9782 CC="$CROSSCC"
9783 ac_exeext=".exe"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9786 int main(int argc, char **argv) { return 0; }
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9790 else
9791 ac_cv_crosscflags__Wdeclaration_after_statement=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 CFLAGS=$ac_wine_try_cflags_saved
9796 CC=$ac_wine_try_cflags_saved_cc
9797 ac_exeext=$ac_wine_try_cflags_saved_exeext
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9800 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9801 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9802 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9806 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS -Wempty-body"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int main(int argc, char **argv) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_crosscflags__Wempty_body=yes
9821 else
9822 ac_cv_crosscflags__Wempty_body=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9831 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9832 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9837 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS -Wignored-qualifiers"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int main(int argc, char **argv) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_crosscflags__Wignored_qualifiers=yes
9852 else
9853 ac_cv_crosscflags__Wignored_qualifiers=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9862 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9863 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9864 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9868 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int main(int argc, char **argv) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_crosscflags__Wpacked_not_aligned=yes
9883 else
9884 ac_cv_crosscflags__Wpacked_not_aligned=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9893 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9894 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9895 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9899 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS -Wpragma-pack"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int main(int argc, char **argv) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_crosscflags__Wpragma_pack=yes
9914 else
9915 ac_cv_crosscflags__Wpragma_pack=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9924 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9925 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9930 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS -Wshift-overflow=2"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int main(int argc, char **argv) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_crosscflags__Wshift_overflow_2=yes
9945 else
9946 ac_cv_crosscflags__Wshift_overflow_2=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
9955 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
9956 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
9961 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS -Wstrict-prototypes"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_crosscflags__Wstrict_prototypes=yes
9976 else
9977 ac_cv_crosscflags__Wstrict_prototypes=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
9986 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
9987 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
9992 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS -Wtype-limits"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int main(int argc, char **argv) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_crosscflags__Wtype_limits=yes
10007 else
10008 ac_cv_crosscflags__Wtype_limits=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10017 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10018 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10023 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int main(int argc, char **argv) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10038 else
10039 ac_cv_crosscflags__Wunused_but_set_parameter=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10048 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10049 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10054 if ${ac_cv_crosscflags__Wvla+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS -Wvla"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int main(int argc, char **argv) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_crosscflags__Wvla=yes
10069 else
10070 ac_cv_crosscflags__Wvla=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10079 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10080 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10085 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS -Wwrite-strings"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int main(int argc, char **argv) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_crosscflags__Wwrite_strings=yes
10100 else
10101 ac_cv_crosscflags__Wwrite_strings=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10110 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10111 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10116 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS -Wpointer-arith"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int main(int argc, char **argv) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_crosscflags__Wpointer_arith=yes
10131 else
10132 ac_cv_crosscflags__Wpointer_arith=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10141 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10142 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10147 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS -Wlogical-op"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int main(int argc, char **argv) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_crosscflags__Wlogical_op=yes
10162 else
10163 ac_cv_crosscflags__Wlogical_op=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10172 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10173 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10177 case $host_cpu in
10178 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10180 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int main(int argc, char **argv) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10195 else
10196 ac_cv_crosscflags__fno_omit_frame_pointer=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10205 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10206 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10208 fi ;;
10209 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10211 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS -Wno-format"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int main(int argc, char **argv) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_crosscflags__Wno_format=yes
10226 else
10227 ac_cv_crosscflags__Wno_format=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10236 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10237 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10239 fi ;;
10240 esac
10242 for ac_flag in $CROSSCFLAGS; do
10243 case $ac_flag in
10244 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10245 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10246 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_wine_try_cflags_saved=$CFLAGS
10250 ac_wine_try_cflags_saved_cc=$CC
10251 ac_wine_try_cflags_saved_exeext=$ac_exeext
10252 CFLAGS="$CFLAGS -gdwarf-2"
10253 CC="$CROSSCC"
10254 ac_exeext=".exe"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_crosscflags__gdwarf_2=yes
10261 else
10262 ac_cv_crosscflags__gdwarf_2=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10267 CC=$ac_wine_try_cflags_saved_cc
10268 ac_exeext=$ac_wine_try_cflags_saved_exeext
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10271 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10272 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10273 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10276 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10277 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_wine_try_cflags_saved=$CFLAGS
10281 ac_wine_try_cflags_saved_cc=$CC
10282 ac_wine_try_cflags_saved_exeext=$ac_exeext
10283 CFLAGS="$CFLAGS -gstrict-dwarf"
10284 CC="$CROSSCC"
10285 ac_exeext=".exe"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 int main(int argc, char **argv) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_crosscflags__gstrict_dwarf=yes
10292 else
10293 ac_cv_crosscflags__gstrict_dwarf=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10298 CC=$ac_wine_try_cflags_saved_cc
10299 ac_exeext=$ac_wine_try_cflags_saved_exeext
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10302 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10303 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10304 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10305 fi ;;
10306 esac
10307 done
10309 if test "x$enable_maintainer_mode" = xyes
10310 then
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10312 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10313 if ${ac_cv_crosscflags__Werror+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 ac_wine_try_cflags_saved=$CFLAGS
10317 ac_wine_try_cflags_saved_cc=$CC
10318 ac_wine_try_cflags_saved_exeext=$ac_exeext
10319 CFLAGS="$CFLAGS -Werror"
10320 CC="$CROSSCC"
10321 ac_exeext=".exe"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 int main(int argc, char **argv) { return 0; }
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_crosscflags__Werror=yes
10328 else
10329 ac_cv_crosscflags__Werror=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 CFLAGS=$ac_wine_try_cflags_saved
10334 CC=$ac_wine_try_cflags_saved_cc
10335 ac_exeext=$ac_wine_try_cflags_saved_exeext
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10338 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10339 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10340 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10344 CFLAGS=$saved_CFLAGS
10345 CC="$ac_save_CC"
10348 if test "x$CROSSTARGET" = "x"; then :
10349 case "x$with_mingw" in
10350 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10351 xno) ;;
10352 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10353 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10354 esac
10359 if test "$ac_cv_header_pthread_h" = "yes"
10360 then
10361 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10362 if test "x$ac_cv_func_pthread_create" = xyes; then :
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10366 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10367 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_check_lib_save_LIBS=$LIBS
10371 LIBS="-lpthread $LIBS"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10375 /* Override any GCC internal prototype to avoid an error.
10376 Use char because int might match the return type of a GCC
10377 builtin and then its argument prototype would still apply. */
10378 #ifdef __cplusplus
10379 extern "C"
10380 #endif
10381 char pthread_create ();
10383 main ()
10385 return pthread_create ();
10387 return 0;
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 ac_cv_lib_pthread_pthread_create=yes
10392 else
10393 ac_cv_lib_pthread_pthread_create=no
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 LIBS=$ac_check_lib_save_LIBS
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10400 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10401 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10402 PTHREAD_LIBS="-lpthread"
10409 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10410 case "x$with_pthread" in
10411 xno) ;;
10412 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10413 Wine cannot support threads without libpthread.
10414 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10415 esac
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10421 $as_echo_n "checking for X... " >&6; }
10424 # Check whether --with-x was given.
10425 if test "${with_x+set}" = set; then :
10426 withval=$with_x;
10429 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10430 if test "x$with_x" = xno; then
10431 # The user explicitly disabled X.
10432 have_x=disabled
10433 else
10434 case $x_includes,$x_libraries in #(
10435 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10436 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 # One or both of the vars are not set, and there is no cached value.
10440 ac_x_includes=no ac_x_libraries=no
10441 rm -f -r conftest.dir
10442 if mkdir conftest.dir; then
10443 cd conftest.dir
10444 cat >Imakefile <<'_ACEOF'
10445 incroot:
10446 @echo incroot='${INCROOT}'
10447 usrlibdir:
10448 @echo usrlibdir='${USRLIBDIR}'
10449 libdir:
10450 @echo libdir='${LIBDIR}'
10451 _ACEOF
10452 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10453 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10454 for ac_var in incroot usrlibdir libdir; do
10455 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10456 done
10457 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10458 for ac_extension in a so sl dylib la dll; do
10459 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10460 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10461 ac_im_usrlibdir=$ac_im_libdir; break
10463 done
10464 # Screen out bogus values from the imake configuration. They are
10465 # bogus both because they are the default anyway, and because
10466 # using them would break gcc on systems where it needs fixed includes.
10467 case $ac_im_incroot in
10468 /usr/include) ac_x_includes= ;;
10469 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10470 esac
10471 case $ac_im_usrlibdir in
10472 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10473 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10474 esac
10476 cd ..
10477 rm -f -r conftest.dir
10480 # Standard set of common directories for X headers.
10481 # Check X11 before X11Rn because it is often a symlink to the current release.
10482 ac_x_header_dirs='
10483 /usr/X11/include
10484 /usr/X11R7/include
10485 /usr/X11R6/include
10486 /usr/X11R5/include
10487 /usr/X11R4/include
10489 /usr/include/X11
10490 /usr/include/X11R7
10491 /usr/include/X11R6
10492 /usr/include/X11R5
10493 /usr/include/X11R4
10495 /usr/local/X11/include
10496 /usr/local/X11R7/include
10497 /usr/local/X11R6/include
10498 /usr/local/X11R5/include
10499 /usr/local/X11R4/include
10501 /usr/local/include/X11
10502 /usr/local/include/X11R7
10503 /usr/local/include/X11R6
10504 /usr/local/include/X11R5
10505 /usr/local/include/X11R4
10507 /usr/X386/include
10508 /usr/x386/include
10509 /usr/XFree86/include/X11
10511 /usr/include
10512 /usr/local/include
10513 /usr/unsupported/include
10514 /usr/athena/include
10515 /usr/local/x11r5/include
10516 /usr/lpp/Xamples/include
10518 /usr/openwin/include
10519 /usr/openwin/share/include'
10521 if test "$ac_x_includes" = no; then
10522 # Guess where to find include files, by looking for Xlib.h.
10523 # First, try using that file with no special directory specified.
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10526 #include <X11/Xlib.h>
10527 _ACEOF
10528 if ac_fn_c_try_cpp "$LINENO"; then :
10529 # We can compile using X headers with no special include directory.
10530 ac_x_includes=
10531 else
10532 for ac_dir in $ac_x_header_dirs; do
10533 if test -r "$ac_dir/X11/Xlib.h"; then
10534 ac_x_includes=$ac_dir
10535 break
10537 done
10539 rm -f conftest.err conftest.i conftest.$ac_ext
10540 fi # $ac_x_includes = no
10542 if test "$ac_x_libraries" = no; then
10543 # Check for the libraries.
10544 # See if we find them without any special options.
10545 # Don't add to $LIBS permanently.
10546 ac_save_LIBS=$LIBS
10547 LIBS="-lX11 $LIBS"
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10550 #include <X11/Xlib.h>
10552 main ()
10554 XrmInitialize ()
10556 return 0;
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 LIBS=$ac_save_LIBS
10561 # We can link X programs with no special library path.
10562 ac_x_libraries=
10563 else
10564 LIBS=$ac_save_LIBS
10565 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10567 # Don't even attempt the hair of trying to link an X program!
10568 for ac_extension in a so sl dylib la dll; do
10569 if test -r "$ac_dir/libX11.$ac_extension"; then
10570 ac_x_libraries=$ac_dir
10571 break 2
10573 done
10574 done
10576 rm -f core conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 fi # $ac_x_libraries = no
10580 case $ac_x_includes,$ac_x_libraries in #(
10581 no,* | *,no | *\'*)
10582 # Didn't find X, or a directory has "'" in its name.
10583 ac_cv_have_x="have_x=no";; #(
10585 # Record where we found X for the cache.
10586 ac_cv_have_x="have_x=yes\
10587 ac_x_includes='$ac_x_includes'\
10588 ac_x_libraries='$ac_x_libraries'"
10589 esac
10591 ;; #(
10592 *) have_x=yes;;
10593 esac
10594 eval "$ac_cv_have_x"
10595 fi # $with_x != no
10597 if test "$have_x" != yes; then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10599 $as_echo "$have_x" >&6; }
10600 no_x=yes
10601 else
10602 # If each of the values was on the command line, it overrides each guess.
10603 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10604 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10605 # Update the cache value to reflect the command line values.
10606 ac_cv_have_x="have_x=yes\
10607 ac_x_includes='$x_includes'\
10608 ac_x_libraries='$x_libraries'"
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10610 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10613 if test "$no_x" = yes; then
10614 # Not all programs may use this symbol, but it does not hurt to define it.
10616 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10618 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10619 else
10620 if test -n "$x_includes"; then
10621 X_CFLAGS="$X_CFLAGS -I$x_includes"
10624 # It would also be nice to do this for all -L options, not just this one.
10625 if test -n "$x_libraries"; then
10626 X_LIBS="$X_LIBS -L$x_libraries"
10627 # For Solaris; some versions of Sun CC require a space after -R and
10628 # others require no space. Words are not sufficient . . . .
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10630 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10631 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10632 ac_xsave_c_werror_flag=$ac_c_werror_flag
10633 ac_c_werror_flag=yes
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10638 main ()
10642 return 0;
10644 _ACEOF
10645 if ac_fn_c_try_link "$LINENO"; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 $as_echo "no" >&6; }
10648 X_LIBS="$X_LIBS -R$x_libraries"
10649 else
10650 LIBS="$ac_xsave_LIBS -R $x_libraries"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10655 main ()
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10664 $as_echo "yes" >&6; }
10665 X_LIBS="$X_LIBS -R $x_libraries"
10666 else
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10668 $as_echo "neither works" >&6; }
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10673 rm -f core conftest.err conftest.$ac_objext \
10674 conftest$ac_exeext conftest.$ac_ext
10675 ac_c_werror_flag=$ac_xsave_c_werror_flag
10676 LIBS=$ac_xsave_LIBS
10679 # Check for system-dependent libraries X programs must link with.
10680 # Do this before checking for the system-independent R6 libraries
10681 # (-lICE), since we may need -lsocket or whatever for X linking.
10683 if test "$ISC" = yes; then
10684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10685 else
10686 # Martyn Johnson says this is needed for Ultrix, if the X
10687 # libraries were built with DECnet support. And Karl Berry says
10688 # the Alpha needs dnet_stub (dnet does not exist).
10689 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10696 #ifdef __cplusplus
10697 extern "C"
10698 #endif
10699 char XOpenDisplay ();
10701 main ()
10703 return XOpenDisplay ();
10705 return 0;
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10710 else
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10712 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10713 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-ldnet $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char dnet_ntoa ();
10729 main ()
10731 return dnet_ntoa ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_lib_dnet_dnet_ntoa=yes
10738 else
10739 ac_cv_lib_dnet_dnet_ntoa=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10746 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10747 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10748 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10751 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10753 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10754 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_lib_save_LIBS=$LIBS
10758 LIBS="-ldnet_stub $LIBS"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char dnet_ntoa ();
10770 main ()
10772 return dnet_ntoa ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10779 else
10780 ac_cv_lib_dnet_stub_dnet_ntoa=no
10782 rm -f core conftest.err conftest.$ac_objext \
10783 conftest$ac_exeext conftest.$ac_ext
10784 LIBS=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10787 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10788 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10789 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10794 rm -f core conftest.err conftest.$ac_objext \
10795 conftest$ac_exeext conftest.$ac_ext
10796 LIBS="$ac_xsave_LIBS"
10798 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10799 # to get the SysV transport functions.
10800 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10801 # needs -lnsl.
10802 # The nsl library prevents programs from opening the X display
10803 # on Irix 5.2, according to T.E. Dickey.
10804 # The functions gethostbyname, getservbyname, and inet_addr are
10805 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10806 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10807 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10811 if test $ac_cv_func_gethostbyname = no; then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10813 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10814 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10815 $as_echo_n "(cached) " >&6
10816 else
10817 ac_check_lib_save_LIBS=$LIBS
10818 LIBS="-lnsl $LIBS"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10825 #ifdef __cplusplus
10826 extern "C"
10827 #endif
10828 char gethostbyname ();
10830 main ()
10832 return gethostbyname ();
10834 return 0;
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"; then :
10838 ac_cv_lib_nsl_gethostbyname=yes
10839 else
10840 ac_cv_lib_nsl_gethostbyname=no
10842 rm -f core conftest.err conftest.$ac_objext \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10847 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10848 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10852 if test $ac_cv_lib_nsl_gethostbyname = no; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10854 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10855 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 ac_check_lib_save_LIBS=$LIBS
10859 LIBS="-lbsd $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char gethostbyname ();
10871 main ()
10873 return gethostbyname ();
10875 return 0;
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 ac_cv_lib_bsd_gethostbyname=yes
10880 else
10881 ac_cv_lib_bsd_gethostbyname=no
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10888 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10889 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10890 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10896 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10897 # socket/setsockopt and other routines are undefined under SCO ODT
10898 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10899 # on later versions), says Simon Leinen: it contains gethostby*
10900 # variants that don't use the name server (or something). -lsocket
10901 # must be given before -lnsl if both are needed. We assume that
10902 # if connect needs -lnsl, so does gethostbyname.
10903 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10904 if test "x$ac_cv_func_connect" = xyes; then :
10908 if test $ac_cv_func_connect = no; then
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10910 $as_echo_n "checking for connect in -lsocket... " >&6; }
10911 if ${ac_cv_lib_socket_connect+:} false; then :
10912 $as_echo_n "(cached) " >&6
10913 else
10914 ac_check_lib_save_LIBS=$LIBS
10915 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char connect ();
10927 main ()
10929 return connect ();
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 ac_cv_lib_socket_connect=yes
10936 else
10937 ac_cv_lib_socket_connect=no
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10944 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10945 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10946 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10951 # Guillermo Gomez says -lposix is necessary on A/UX.
10952 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10953 if test "x$ac_cv_func_remove" = xyes; then :
10957 if test $ac_cv_func_remove = no; then
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10959 $as_echo_n "checking for remove in -lposix... " >&6; }
10960 if ${ac_cv_lib_posix_remove+:} false; then :
10961 $as_echo_n "(cached) " >&6
10962 else
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lposix $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char remove ();
10976 main ()
10978 return remove ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_posix_remove=yes
10985 else
10986 ac_cv_lib_posix_remove=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10993 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10994 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10995 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11000 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11001 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11002 if test "x$ac_cv_func_shmat" = xyes; then :
11006 if test $ac_cv_func_shmat = no; then
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11008 $as_echo_n "checking for shmat in -lipc... " >&6; }
11009 if ${ac_cv_lib_ipc_shmat+:} false; then :
11010 $as_echo_n "(cached) " >&6
11011 else
11012 ac_check_lib_save_LIBS=$LIBS
11013 LIBS="-lipc $LIBS"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11017 /* Override any GCC internal prototype to avoid an error.
11018 Use char because int might match the return type of a GCC
11019 builtin and then its argument prototype would still apply. */
11020 #ifdef __cplusplus
11021 extern "C"
11022 #endif
11023 char shmat ();
11025 main ()
11027 return shmat ();
11029 return 0;
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"; then :
11033 ac_cv_lib_ipc_shmat=yes
11034 else
11035 ac_cv_lib_ipc_shmat=no
11037 rm -f core conftest.err conftest.$ac_objext \
11038 conftest$ac_exeext conftest.$ac_ext
11039 LIBS=$ac_check_lib_save_LIBS
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11042 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11043 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11050 # Check for libraries that X11R6 Xt/Xaw programs need.
11051 ac_save_LDFLAGS=$LDFLAGS
11052 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11053 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11054 # check for ICE first), but we must link in the order -lSM -lICE or
11055 # we get undefined symbols. So assume we have SM if we have ICE.
11056 # These have to be linked with before -lX11, unlike the other
11057 # libraries we check for below, so use a different variable.
11058 # John Interrante, Karl Berry
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11060 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11061 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11062 $as_echo_n "(cached) " >&6
11063 else
11064 ac_check_lib_save_LIBS=$LIBS
11065 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11072 #ifdef __cplusplus
11073 extern "C"
11074 #endif
11075 char IceConnectionNumber ();
11077 main ()
11079 return IceConnectionNumber ();
11081 return 0;
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"; then :
11085 ac_cv_lib_ICE_IceConnectionNumber=yes
11086 else
11087 ac_cv_lib_ICE_IceConnectionNumber=no
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 LIBS=$ac_check_lib_save_LIBS
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11094 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11095 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11096 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11099 LDFLAGS=$ac_save_LDFLAGS
11104 if test "$have_x" = "yes"
11105 then
11106 ac_save_CPPFLAGS="$CPPFLAGS"
11107 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11110 $as_echo_n "checking for -lX11... " >&6; }
11111 if ${ac_cv_lib_soname_X11+:} false; then :
11112 $as_echo_n "(cached) " >&6
11113 else
11114 ac_check_soname_save_LIBS=$LIBS
11115 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char XCreateWindow ();
11127 main ()
11129 return XCreateWindow ();
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135 case "$LIBEXT" in
11136 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11137 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'` ;;
11138 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11139 if ${ac_cv_lib_soname_X11:+false} :; then :
11140 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11141 fi ;;
11142 esac
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_soname_save_LIBS
11148 if ${ac_cv_lib_soname_X11:+false} :; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11150 $as_echo "not found" >&6; }
11152 else
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11154 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11156 cat >>confdefs.h <<_ACEOF
11157 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11158 _ACEOF
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11163 $as_echo_n "checking for -lXext... " >&6; }
11164 if ${ac_cv_lib_soname_Xext+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_soname_save_LIBS=$LIBS
11168 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char XextCreateExtension ();
11180 main ()
11182 return XextCreateExtension ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 case "$LIBEXT" in
11189 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11190 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'` ;;
11191 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11192 if ${ac_cv_lib_soname_Xext:+false} :; then :
11193 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11194 fi ;;
11195 esac
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_soname_save_LIBS
11201 if ${ac_cv_lib_soname_Xext:+false} :; then :
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11203 $as_echo "not found" >&6; }
11205 else
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11207 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11209 cat >>confdefs.h <<_ACEOF
11210 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11211 _ACEOF
11213 X_LIBS="$X_LIBS -lXext"
11215 X_LIBS="$X_LIBS -lX11"
11217 for ac_header in X11/Xlib.h \
11218 X11/XKBlib.h \
11219 X11/Xutil.h \
11220 X11/Xcursor/Xcursor.h \
11221 X11/extensions/shape.h \
11222 X11/extensions/XInput.h \
11223 X11/extensions/XInput2.h \
11224 X11/extensions/XShm.h \
11225 X11/extensions/Xcomposite.h \
11226 X11/extensions/Xfixes.h \
11227 X11/extensions/Xinerama.h \
11228 X11/extensions/Xrandr.h \
11229 X11/extensions/Xrender.h \
11230 X11/extensions/xf86vmode.h \
11231 X11/extensions/xf86vmproto.h
11232 do :
11233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11235 # include <X11/Xlib.h>
11236 #endif
11237 #ifdef HAVE_X11_XUTIL_H
11238 # include <X11/Xutil.h>
11239 #endif
11241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11242 cat >>confdefs.h <<_ACEOF
11243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11244 _ACEOF
11248 done
11251 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11252 then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11254 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11255 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char XkbQueryExtension ();
11271 main ()
11273 return XkbQueryExtension ();
11275 return 0;
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 ac_cv_lib_X11_XkbQueryExtension=yes
11280 else
11281 ac_cv_lib_X11_XkbQueryExtension=no
11283 rm -f core conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11288 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11289 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11291 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11297 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11298 then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11300 $as_echo_n "checking for -lXcursor... " >&6; }
11301 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_soname_save_LIBS=$LIBS
11305 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char XcursorImageLoadCursor ();
11317 main ()
11319 return XcursorImageLoadCursor ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 case "$LIBEXT" in
11326 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 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'` ;;
11328 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11329 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11330 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11331 fi ;;
11332 esac
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_soname_save_LIBS
11338 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11344 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11346 cat >>confdefs.h <<_ACEOF
11347 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11348 _ACEOF
11353 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11354 case "x$with_xcursor" in
11355 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11356 xno) ;;
11357 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11358 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11359 esac
11363 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11364 then
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11366 $as_echo_n "checking for -lXi... " >&6; }
11367 if ${ac_cv_lib_soname_Xi+:} false; then :
11368 $as_echo_n "(cached) " >&6
11369 else
11370 ac_check_soname_save_LIBS=$LIBS
11371 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11378 #ifdef __cplusplus
11379 extern "C"
11380 #endif
11381 char XOpenDevice ();
11383 main ()
11385 return XOpenDevice ();
11387 return 0;
11389 _ACEOF
11390 if ac_fn_c_try_link "$LINENO"; then :
11391 case "$LIBEXT" in
11392 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11393 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'` ;;
11394 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11395 if ${ac_cv_lib_soname_Xi:+false} :; then :
11396 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11397 fi ;;
11398 esac
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_soname_save_LIBS
11404 if ${ac_cv_lib_soname_Xi:+false} :; then :
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11406 $as_echo "not found" >&6; }
11408 else
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11410 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11412 cat >>confdefs.h <<_ACEOF
11413 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11414 _ACEOF
11419 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11420 case "x$with_xinput" in
11421 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11422 xno) ;;
11423 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11424 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11425 esac
11429 if test "x$ac_cv_lib_soname_Xi" != x
11430 then
11431 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11432 case "x$with_xinput2" in
11433 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11434 xno) ;;
11435 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11436 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11437 esac
11442 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11443 then
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11445 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11446 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11447 $as_echo_n "(cached) " >&6
11448 else
11449 ac_check_lib_save_LIBS=$LIBS
11450 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11457 #ifdef __cplusplus
11458 extern "C"
11459 #endif
11460 char XShmQueryExtension ();
11462 main ()
11464 return XShmQueryExtension ();
11466 return 0;
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"; then :
11470 ac_cv_lib_Xext_XShmQueryExtension=yes
11471 else
11472 ac_cv_lib_Xext_XShmQueryExtension=no
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11479 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11480 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11482 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11487 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11488 case "x$with_xshm" in
11489 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11490 xno) ;;
11491 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11492 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11493 esac
11497 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11498 then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11500 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11501 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_lib_save_LIBS=$LIBS
11505 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char XShapeQueryExtension ();
11517 main ()
11519 return XShapeQueryExtension ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 ac_cv_lib_Xext_XShapeQueryExtension=yes
11526 else
11527 ac_cv_lib_Xext_XShapeQueryExtension=no
11529 rm -f core conftest.err conftest.$ac_objext \
11530 conftest$ac_exeext conftest.$ac_ext
11531 LIBS=$ac_check_lib_save_LIBS
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11534 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11535 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11537 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11542 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11543 case "x$with_xshape" in
11544 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11545 xno) ;;
11546 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11547 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11548 esac
11552 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11553 then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11555 $as_echo_n "checking for -lXxf86vm... " >&6; }
11556 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 ac_check_soname_save_LIBS=$LIBS
11560 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11567 #ifdef __cplusplus
11568 extern "C"
11569 #endif
11570 char XF86VidModeQueryExtension ();
11572 main ()
11574 return XF86VidModeQueryExtension ();
11576 return 0;
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"; then :
11580 case "$LIBEXT" in
11581 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11584 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11585 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11586 fi ;;
11587 esac
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_soname_save_LIBS
11593 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11597 else
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11599 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11601 cat >>confdefs.h <<_ACEOF
11602 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11603 _ACEOF
11608 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11609 case "x$with_xxf86vm" in
11610 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11611 xno) ;;
11612 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11613 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11614 esac
11618 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11619 then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11621 $as_echo_n "checking for -lXrender... " >&6; }
11622 if ${ac_cv_lib_soname_Xrender+:} false; then :
11623 $as_echo_n "(cached) " >&6
11624 else
11625 ac_check_soname_save_LIBS=$LIBS
11626 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char XRenderQueryExtension ();
11638 main ()
11640 return XRenderQueryExtension ();
11642 return 0;
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"; then :
11646 case "$LIBEXT" in
11647 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11648 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'` ;;
11649 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11650 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11651 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11652 fi ;;
11653 esac
11655 rm -f core conftest.err conftest.$ac_objext \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_soname_save_LIBS
11659 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11661 $as_echo "not found" >&6; }
11663 else
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11665 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11667 cat >>confdefs.h <<_ACEOF
11668 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11669 _ACEOF
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11672 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11673 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_lib_save_LIBS=$LIBS
11677 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char XRenderSetPictureTransform ();
11689 main ()
11691 return XRenderSetPictureTransform ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11698 else
11699 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11701 rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11706 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11707 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11709 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11714 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11715 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11716 $as_echo_n "(cached) " >&6
11717 else
11718 ac_check_lib_save_LIBS=$LIBS
11719 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11726 #ifdef __cplusplus
11727 extern "C"
11728 #endif
11729 char XRenderCreateLinearGradient ();
11731 main ()
11733 return XRenderCreateLinearGradient ();
11735 return 0;
11737 _ACEOF
11738 if ac_fn_c_try_link "$LINENO"; then :
11739 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11740 else
11741 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11743 rm -f core conftest.err conftest.$ac_objext \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_lib_save_LIBS
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11748 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11749 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11751 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11758 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11759 case "x$with_xrender" in
11760 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11761 xno) ;;
11762 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11763 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11764 esac
11768 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11769 then
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11772 #include <X11/Xlib.h>
11773 #include <X11/extensions/Xrandr.h>
11775 main ()
11777 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_compile "$LINENO"; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11784 $as_echo_n "checking for -lXrandr... " >&6; }
11785 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_soname_save_LIBS=$LIBS
11789 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char XRRQueryExtension ();
11801 main ()
11803 return XRRQueryExtension ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 case "$LIBEXT" in
11810 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11811 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'` ;;
11812 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11813 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11814 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11815 fi ;;
11816 esac
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_soname_save_LIBS
11822 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11826 else
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11828 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11830 cat >>confdefs.h <<_ACEOF
11831 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11832 _ACEOF
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11836 #include <X11/Xlib.h>
11837 #include <X11/extensions/Xrandr.h>
11839 main ()
11841 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11843 return 0;
11845 _ACEOF
11846 if ac_fn_c_try_compile "$LINENO"; then :
11848 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11856 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11857 case "x$with_xrandr" in
11858 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11859 xno) ;;
11860 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11861 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11862 esac
11866 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11867 then
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870 #include <X11/Xlib.h>
11871 #include <X11/extensions/Xfixes.h>
11873 main ()
11875 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_compile "$LINENO"; then :
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11882 $as_echo_n "checking for -lXfixes... " >&6; }
11883 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11884 $as_echo_n "(cached) " >&6
11885 else
11886 ac_check_soname_save_LIBS=$LIBS
11887 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11894 #ifdef __cplusplus
11895 extern "C"
11896 #endif
11897 char XFixesQueryVersion ();
11899 main ()
11901 return XFixesQueryVersion ();
11903 return 0;
11905 _ACEOF
11906 if ac_fn_c_try_link "$LINENO"; then :
11907 case "$LIBEXT" in
11908 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11909 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'` ;;
11910 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11911 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11912 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11913 fi ;;
11914 esac
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_soname_save_LIBS
11920 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11922 $as_echo "not found" >&6; }
11924 else
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11926 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11928 cat >>confdefs.h <<_ACEOF
11929 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11930 _ACEOF
11935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11937 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11938 case "x$with_xfixes" in
11939 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11940 xno) ;;
11941 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11942 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11943 esac
11947 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11948 then
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #include <X11/Xlib.h>
11952 #include <X11/extensions/Xinerama.h>
11954 main ()
11956 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_compile "$LINENO"; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11963 $as_echo_n "checking for -lXinerama... " >&6; }
11964 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_soname_save_LIBS=$LIBS
11968 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char XineramaQueryScreens ();
11980 main ()
11982 return XineramaQueryScreens ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 case "$LIBEXT" in
11989 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11990 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'` ;;
11991 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11992 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11993 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11994 fi ;;
11995 esac
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_soname_save_LIBS
12001 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12003 $as_echo "not found" >&6; }
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12007 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12009 cat >>confdefs.h <<_ACEOF
12010 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12011 _ACEOF
12016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12018 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12019 case "x$with_xinerama" in
12020 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12021 xno) ;;
12022 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12023 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12024 esac
12028 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12029 then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12031 $as_echo_n "checking for -lXcomposite... " >&6; }
12032 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12033 $as_echo_n "(cached) " >&6
12034 else
12035 ac_check_soname_save_LIBS=$LIBS
12036 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12040 /* Override any GCC internal prototype to avoid an error.
12041 Use char because int might match the return type of a GCC
12042 builtin and then its argument prototype would still apply. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 char XCompositeRedirectWindow ();
12048 main ()
12050 return XCompositeRedirectWindow ();
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_link "$LINENO"; then :
12056 case "$LIBEXT" in
12057 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12058 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'` ;;
12059 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12060 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12061 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12062 fi ;;
12063 esac
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_soname_save_LIBS
12069 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12071 $as_echo "not found" >&6; }
12073 else
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12075 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12077 cat >>confdefs.h <<_ACEOF
12078 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12079 _ACEOF
12084 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12085 case "x$with_xcomposite" in
12086 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12087 xno) ;;
12088 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12089 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12090 esac
12094 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12095 #include <X11/Xlib.h>
12096 #endif
12098 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12100 cat >>confdefs.h <<_ACEOF
12101 #define HAVE_XICCALLBACK_CALLBACK 1
12102 _ACEOF
12106 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12107 #include <X11/Xlib.h>
12108 #endif
12110 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12112 cat >>confdefs.h <<_ACEOF
12113 #define HAVE_XEVENT_XCOOKIE 1
12114 _ACEOF
12121 opengl_msg=""
12122 if test "x$with_opengl" != "xno"
12123 then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12125 $as_echo_n "checking for -lGL... " >&6; }
12126 if ${ac_cv_lib_soname_GL+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_soname_save_LIBS=$LIBS
12130 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char glXCreateContext ();
12142 main ()
12144 return glXCreateContext ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 case "$LIBEXT" in
12151 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12152 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'` ;;
12153 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12154 if ${ac_cv_lib_soname_GL:+false} :; then :
12155 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12156 fi ;;
12157 esac
12159 rm -f core conftest.err conftest.$ac_objext \
12160 conftest$ac_exeext conftest.$ac_ext
12161 LIBS=$ac_check_soname_save_LIBS
12163 if ${ac_cv_lib_soname_GL:+false} :; then :
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12165 $as_echo "not found" >&6; }
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12167 $as_echo_n "checking for -lGL... " >&6; }
12168 if ${ac_cv_lib_soname_GL+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 ac_check_soname_save_LIBS=$LIBS
12172 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"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12179 #ifdef __cplusplus
12180 extern "C"
12181 #endif
12182 char glXCreateContext ();
12184 main ()
12186 return glXCreateContext ();
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_link "$LINENO"; then :
12192 case "$LIBEXT" in
12193 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12194 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'` ;;
12195 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12196 if ${ac_cv_lib_soname_GL:+false} :; then :
12197 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12198 fi ;;
12199 esac
12201 rm -f core conftest.err conftest.$ac_objext \
12202 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_soname_save_LIBS
12205 if ${ac_cv_lib_soname_GL:+false} :; then :
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12207 $as_echo "not found" >&6; }
12208 if test -f /usr/X11R6/lib/libGL.a
12209 then
12210 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12211 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12212 else
12213 opengl_msg="No OpenGL library found on this system."
12215 else
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12217 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12219 cat >>confdefs.h <<_ACEOF
12220 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12221 _ACEOF
12223 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"
12225 else
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12227 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12229 cat >>confdefs.h <<_ACEOF
12230 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12231 _ACEOF
12233 OPENGL_LIBS="-lGL"
12235 if test "x$with_glu" != "xno"
12236 then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12238 $as_echo_n "checking for -lGLU... " >&6; }
12239 if ${ac_cv_lib_soname_GLU+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 ac_check_soname_save_LIBS=$LIBS
12243 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 char gluLookAt ();
12255 main ()
12257 return gluLookAt ();
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_link "$LINENO"; then :
12263 case "$LIBEXT" in
12264 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12265 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'` ;;
12266 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12267 if ${ac_cv_lib_soname_GLU:+false} :; then :
12268 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12269 fi ;;
12270 esac
12272 rm -f core conftest.err conftest.$ac_objext \
12273 conftest$ac_exeext conftest.$ac_ext
12274 LIBS=$ac_check_soname_save_LIBS
12276 if ${ac_cv_lib_soname_GLU:+false} :; then :
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12278 $as_echo "not found" >&6; }
12280 else
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12282 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12284 cat >>confdefs.h <<_ACEOF
12285 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12286 _ACEOF
12290 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12291 case "x$with_glu" in
12292 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12293 xno) ;;
12294 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12295 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12296 esac
12301 if test "x$with_osmesa" != "xno"
12302 then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12304 $as_echo_n "checking for -lOSMesa... " >&6; }
12305 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12306 $as_echo_n "(cached) " >&6
12307 else
12308 ac_check_soname_save_LIBS=$LIBS
12309 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 #ifdef __cplusplus
12317 extern "C"
12318 #endif
12319 char OSMesaGetProcAddress ();
12321 main ()
12323 return OSMesaGetProcAddress ();
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_link "$LINENO"; then :
12329 case "$LIBEXT" in
12330 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12331 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'` ;;
12332 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12333 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12334 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12335 fi ;;
12336 esac
12338 rm -f core conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12340 LIBS=$ac_check_soname_save_LIBS
12342 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12344 $as_echo "not found" >&6; }
12346 else
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12348 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12350 cat >>confdefs.h <<_ACEOF
12351 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12352 _ACEOF
12356 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12357 case "x$with_osmesa" in
12358 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12359 xno) ;;
12360 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12361 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12362 esac
12367 if test -n "$opengl_msg"; then :
12368 case "x$with_opengl" in
12369 x) as_fn_append wine_warnings "|$opengl_msg
12370 OpenGL and Direct3D won't be supported." ;;
12371 xno) ;;
12372 *) as_fn_error $? "$opengl_msg
12373 OpenGL and Direct3D won't be supported.
12374 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12375 esac
12379 CPPFLAGS="$ac_save_CPPFLAGS"
12380 else
12381 X_CFLAGS=""
12382 X_LIBS=""
12385 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12386 then
12387 if test "x$X_LIBS" = "x"; then :
12388 case "x$with_x" in
12389 xno) ;;
12390 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12391 without X support, which probably isn't what you want. You will need
12392 to install ${notice_platform}development packages of Xlib at the very least.
12393 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12394 esac
12395 enable_winex11_drv=${enable_winex11_drv:-no}
12397 else
12398 if test "x$X_LIBS" = "x"; then :
12399 case "x$with_x" in
12400 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12401 xno) ;;
12402 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12403 This is an error since --with-x was requested." "$LINENO" 5 ;;
12404 esac
12405 enable_winex11_drv=${enable_winex11_drv:-no}
12409 if test "$ac_cv_header_CL_cl_h" = "yes"
12410 then
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12412 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12413 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_lib_save_LIBS=$LIBS
12417 LIBS="-lOpenCL $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char clGetPlatformInfo ();
12429 main ()
12431 return clGetPlatformInfo ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12438 else
12439 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12446 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12447 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12448 OPENCL_LIBS="-lOpenCL"
12453 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12454 case "x$with_opencl" in
12455 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12456 xno) ;;
12457 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12458 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12459 esac
12460 enable_opencl=${enable_opencl:-no}
12463 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12464 then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12466 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12467 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_lib_save_LIBS=$LIBS
12471 LIBS="-lpcap $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char pcap_create ();
12483 main ()
12485 return pcap_create ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 ac_cv_lib_pcap_pcap_create=yes
12492 else
12493 ac_cv_lib_pcap_pcap_create=no
12495 rm -f core conftest.err conftest.$ac_objext \
12496 conftest$ac_exeext conftest.$ac_ext
12497 LIBS=$ac_check_lib_save_LIBS
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12500 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12501 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12502 PCAP_LIBS="-lpcap"
12507 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12508 case "x$with_pcap" in
12509 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12510 xno) ;;
12511 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12512 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12513 esac
12514 enable_wpcap=${enable_wpcap:-no}
12518 if test "x$with_xml" != "xno"
12519 then
12520 if ${XML2_CFLAGS:+false} :; then :
12521 if ${PKG_CONFIG+:} false; then :
12522 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12525 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12526 if ${XML2_LIBS:+false} :; then :
12527 if ${PKG_CONFIG+:} false; then :
12528 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12531 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12532 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12533 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12534 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12535 ac_save_CPPFLAGS=$CPPFLAGS
12536 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12537 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12538 do :
12539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12540 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12542 cat >>confdefs.h <<_ACEOF
12543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12544 _ACEOF
12548 done
12550 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"
12551 then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12553 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12554 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12555 $as_echo_n "(cached) " >&6
12556 else
12557 ac_check_lib_save_LIBS=$LIBS
12558 LIBS="-lxml2 $XML2_LIBS $LIBS"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12565 #ifdef __cplusplus
12566 extern "C"
12567 #endif
12568 char xmlParseMemory ();
12570 main ()
12572 return xmlParseMemory ();
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_link "$LINENO"; then :
12578 ac_cv_lib_xml2_xmlParseMemory=yes
12579 else
12580 ac_cv_lib_xml2_xmlParseMemory=no
12582 rm -f core conftest.err conftest.$ac_objext \
12583 conftest$ac_exeext conftest.$ac_ext
12584 LIBS=$ac_check_lib_save_LIBS
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12587 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12588 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12590 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12592 else
12593 XML2_LIBS=""
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12597 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12598 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12599 $as_echo_n "(cached) " >&6
12600 else
12601 ac_check_lib_save_LIBS=$LIBS
12602 LIBS="-lxml2 $XML2_LIBS $LIBS"
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12609 #ifdef __cplusplus
12610 extern "C"
12611 #endif
12612 char xmlReadMemory ();
12614 main ()
12616 return xmlReadMemory ();
12618 return 0;
12620 _ACEOF
12621 if ac_fn_c_try_link "$LINENO"; then :
12622 ac_cv_lib_xml2_xmlReadMemory=yes
12623 else
12624 ac_cv_lib_xml2_xmlReadMemory=no
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_lib_save_LIBS
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12631 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12632 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12634 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12639 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12640 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12641 $as_echo_n "(cached) " >&6
12642 else
12643 ac_check_lib_save_LIBS=$LIBS
12644 LIBS="-lxml2 $XML2_LIBS $LIBS"
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12648 /* Override any GCC internal prototype to avoid an error.
12649 Use char because int might match the return type of a GCC
12650 builtin and then its argument prototype would still apply. */
12651 #ifdef __cplusplus
12652 extern "C"
12653 #endif
12654 char xmlNewDocPI ();
12656 main ()
12658 return xmlNewDocPI ();
12660 return 0;
12662 _ACEOF
12663 if ac_fn_c_try_link "$LINENO"; then :
12664 ac_cv_lib_xml2_xmlNewDocPI=yes
12665 else
12666 ac_cv_lib_xml2_xmlNewDocPI=no
12668 rm -f core conftest.err conftest.$ac_objext \
12669 conftest$ac_exeext conftest.$ac_ext
12670 LIBS=$ac_check_lib_save_LIBS
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12673 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12674 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12676 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12681 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12682 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_lib_save_LIBS=$LIBS
12686 LIBS="-lxml2 $XML2_LIBS $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char xmlSchemaSetParserStructuredErrors ();
12698 main ()
12700 return xmlSchemaSetParserStructuredErrors ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12707 else
12708 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12715 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12716 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12718 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12723 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12724 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lxml2 $XML2_LIBS $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char xmlSchemaSetValidStructuredErrors ();
12740 main ()
12742 return xmlSchemaSetValidStructuredErrors ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12749 else
12750 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12757 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12758 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12760 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12765 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12766 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lxml2 $XML2_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char xmlFirstElementChild ();
12782 main ()
12784 return xmlFirstElementChild ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_xml2_xmlFirstElementChild=yes
12791 else
12792 ac_cv_lib_xml2_xmlFirstElementChild=no
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12799 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12800 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12802 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12806 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12808 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12810 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12814 else
12815 XML2_CFLAGS=""
12816 XML2_LIBS=""
12818 CPPFLAGS=$ac_save_CPPFLAGS
12819 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12820 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12823 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12824 case "x$with_xml" in
12825 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12826 xno) ;;
12827 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12828 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12829 esac
12833 if test "x$with_xslt" != "xno"
12834 then
12835 if ${XSLT_CFLAGS:+false} :; then :
12836 if ${PKG_CONFIG+:} false; then :
12837 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12840 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12841 if ${XSLT_LIBS:+false} :; then :
12842 if ${PKG_CONFIG+:} false; then :
12843 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12846 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12847 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12848 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12850 ac_save_CPPFLAGS=$CPPFLAGS
12851 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12852 for ac_header in libxslt/pattern.h libxslt/transform.h
12853 do :
12854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12856 # include <libxslt/pattern.h>
12857 #endif
12859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12860 cat >>confdefs.h <<_ACEOF
12861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12862 _ACEOF
12866 done
12868 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12869 then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12871 $as_echo_n "checking for -lxslt... " >&6; }
12872 if ${ac_cv_lib_soname_xslt+:} false; then :
12873 $as_echo_n "(cached) " >&6
12874 else
12875 ac_check_soname_save_LIBS=$LIBS
12876 LIBS="-lxslt $XSLT_LIBS $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char xsltCompilePattern ();
12888 main ()
12890 return xsltCompilePattern ();
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 case "$LIBEXT" in
12897 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12898 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'` ;;
12899 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12900 if ${ac_cv_lib_soname_xslt:+false} :; then :
12901 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12902 fi ;;
12903 esac
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_soname_save_LIBS
12909 if ${ac_cv_lib_soname_xslt:+false} :; then :
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12911 $as_echo "not found" >&6; }
12913 else
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12915 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12917 cat >>confdefs.h <<_ACEOF
12918 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12919 _ACEOF
12923 else
12924 XSLT_CFLAGS=""
12926 CPPFLAGS=$ac_save_CPPFLAGS
12927 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12928 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12931 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12932 case "x$with_xslt" in
12933 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12934 xno) ;;
12935 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12936 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12937 esac
12941 if test "x$with_dbus" != "xno"
12942 then
12943 if ${DBUS_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12949 if ${DBUS_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false; then :
12951 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12956 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12958 ac_save_CPPFLAGS=$CPPFLAGS
12959 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12960 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12961 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12963 $as_echo_n "checking for -ldbus-1... " >&6; }
12964 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12965 $as_echo_n "(cached) " >&6
12966 else
12967 ac_check_soname_save_LIBS=$LIBS
12968 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char dbus_connection_close ();
12980 main ()
12982 return dbus_connection_close ();
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 case "$LIBEXT" in
12989 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12990 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'` ;;
12991 *) 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'`
12992 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12993 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12994 fi ;;
12995 esac
12997 rm -f core conftest.err conftest.$ac_objext \
12998 conftest$ac_exeext conftest.$ac_ext
12999 LIBS=$ac_check_soname_save_LIBS
13001 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13003 $as_echo "not found" >&6; }
13004 DBUS_CFLAGS=""
13005 else
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13007 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13009 cat >>confdefs.h <<_ACEOF
13010 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13011 _ACEOF
13015 else
13016 DBUS_CFLAGS=""
13020 CPPFLAGS=$ac_save_CPPFLAGS
13021 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13022 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13025 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13026 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13027 case "x$with_dbus" in
13028 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13029 xno) ;;
13030 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13031 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13032 esac
13036 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13037 then
13038 if ${HAL_CFLAGS:+false} :; then :
13039 if ${PKG_CONFIG+:} false; then :
13040 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13044 if ${HAL_LIBS:+false} :; then :
13045 if ${PKG_CONFIG+:} false; then :
13046 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13050 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13051 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13052 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13053 ac_save_CPPFLAGS=$CPPFLAGS
13054 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13055 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13056 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13058 $as_echo_n "checking for -lhal... " >&6; }
13059 if ${ac_cv_lib_soname_hal+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_soname_save_LIBS=$LIBS
13063 LIBS="-lhal $HAL_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char libhal_ctx_new ();
13075 main ()
13077 return libhal_ctx_new ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 case "$LIBEXT" in
13084 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13085 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'` ;;
13086 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13087 if ${ac_cv_lib_soname_hal:+false} :; then :
13088 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13089 fi ;;
13090 esac
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_soname_save_LIBS
13096 if ${ac_cv_lib_soname_hal:+false} :; then :
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13098 $as_echo "not found" >&6; }
13099 HAL_CFLAGS=""
13100 else
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13102 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13104 cat >>confdefs.h <<_ACEOF
13105 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13106 _ACEOF
13110 else
13111 HAL_CFLAGS=""
13115 CPPFLAGS=$ac_save_CPPFLAGS
13116 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13117 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13119 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13120 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13121 case "x$with_hal" in
13122 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13123 xno) ;;
13124 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13125 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13126 esac
13131 if test "x$with_gnutls" != "xno"
13132 then
13133 if ${GNUTLS_CFLAGS:+false} :; then :
13134 if ${PKG_CONFIG+:} false; then :
13135 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13139 if ${GNUTLS_LIBS:+false} :; then :
13140 if ${PKG_CONFIG+:} false; then :
13141 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13146 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13147 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13148 ac_save_CPPFLAGS=$CPPFLAGS
13149 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13150 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13151 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13154 #include <gnutls/gnutls.h>
13155 #include <gnutls/crypto.h>
13157 main ()
13159 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13161 return 0;
13163 _ACEOF
13164 if ac_fn_c_try_compile "$LINENO"; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13166 $as_echo_n "checking for -lgnutls... " >&6; }
13167 if ${ac_cv_lib_soname_gnutls+:} false; then :
13168 $as_echo_n "(cached) " >&6
13169 else
13170 ac_check_soname_save_LIBS=$LIBS
13171 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13178 #ifdef __cplusplus
13179 extern "C"
13180 #endif
13181 char gnutls_global_init ();
13183 main ()
13185 return gnutls_global_init ();
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_link "$LINENO"; then :
13191 case "$LIBEXT" in
13192 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13193 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'` ;;
13194 *) 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'`
13195 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13196 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'`
13197 fi ;;
13198 esac
13200 rm -f core conftest.err conftest.$ac_objext \
13201 conftest$ac_exeext conftest.$ac_ext
13202 LIBS=$ac_check_soname_save_LIBS
13204 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13206 $as_echo "not found" >&6; }
13207 GNUTLS_CFLAGS=""
13208 else
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13210 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13212 cat >>confdefs.h <<_ACEOF
13213 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13214 _ACEOF
13218 ac_wine_check_funcs_save_LIBS="$LIBS"
13219 LIBS="$LIBS $GNUTLS_LIBS"
13220 for ac_func in gnutls_cipher_init
13221 do :
13222 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13223 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13224 cat >>confdefs.h <<_ACEOF
13225 #define HAVE_GNUTLS_CIPHER_INIT 1
13226 _ACEOF
13228 else
13229 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13231 done
13233 LIBS="$ac_wine_check_funcs_save_LIBS"
13235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13236 else
13237 GNUTLS_CFLAGS=""
13241 CPPFLAGS=$ac_save_CPPFLAGS
13242 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13243 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13246 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13247 case "x$with_gnutls" in
13248 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13249 xno) ;;
13250 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13251 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13252 esac
13256 CURSES_LIBS=""
13257 if test "$ac_cv_header_ncurses_h" = "yes"
13258 then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13260 $as_echo_n "checking for -lncurses... " >&6; }
13261 if ${ac_cv_lib_soname_ncurses+:} false; then :
13262 $as_echo_n "(cached) " >&6
13263 else
13264 ac_check_soname_save_LIBS=$LIBS
13265 LIBS="-lncurses $LIBS"
13266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267 /* end confdefs.h. */
13269 /* Override any GCC internal prototype to avoid an error.
13270 Use char because int might match the return type of a GCC
13271 builtin and then its argument prototype would still apply. */
13272 #ifdef __cplusplus
13273 extern "C"
13274 #endif
13275 char waddch ();
13277 main ()
13279 return waddch ();
13281 return 0;
13283 _ACEOF
13284 if ac_fn_c_try_link "$LINENO"; then :
13285 case "$LIBEXT" in
13286 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13287 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'` ;;
13288 *) 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'`
13289 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13290 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13291 fi ;;
13292 esac
13294 rm -f core conftest.err conftest.$ac_objext \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_soname_save_LIBS
13298 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13300 $as_echo "not found" >&6; }
13302 else
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13304 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13306 cat >>confdefs.h <<_ACEOF
13307 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13308 _ACEOF
13310 CURSES_LIBS="-lncurses"
13312 elif test "$ac_cv_header_curses_h" = "yes"
13313 then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13315 $as_echo_n "checking for -lcurses... " >&6; }
13316 if ${ac_cv_lib_soname_curses+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_soname_save_LIBS=$LIBS
13320 LIBS="-lcurses $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char waddch ();
13332 main ()
13334 return waddch ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 case "$LIBEXT" in
13341 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13342 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'` ;;
13343 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13344 if ${ac_cv_lib_soname_curses:+false} :; then :
13345 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13346 fi ;;
13347 esac
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_soname_save_LIBS
13353 if ${ac_cv_lib_soname_curses:+false} :; then :
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13355 $as_echo "not found" >&6; }
13357 else
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13359 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13361 cat >>confdefs.h <<_ACEOF
13362 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13363 _ACEOF
13365 CURSES_LIBS="-lcurses"
13368 ac_save_LIBS="$LIBS"
13369 LIBS="$LIBS $CURSES_LIBS"
13370 for ac_func in mousemask
13371 do :
13372 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13373 if test "x$ac_cv_func_mousemask" = xyes; then :
13374 cat >>confdefs.h <<_ACEOF
13375 #define HAVE_MOUSEMASK 1
13376 _ACEOF
13379 done
13381 LIBS="$ac_save_LIBS"
13382 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13383 case "x$with_curses" in
13384 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13385 xno) ;;
13386 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13387 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13388 esac
13392 if test "x$with_sane" != "xno"
13393 then
13394 if ${SANE_CFLAGS:+false} :; then :
13395 if ${PKG_CONFIG+:} false; then :
13396 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13399 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13400 if ${SANE_LIBS:+false} :; then :
13401 if ${PKG_CONFIG+:} false; then :
13402 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13405 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13407 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13408 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13409 ac_save_CPPFLAGS=$CPPFLAGS
13410 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13411 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13412 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13414 $as_echo_n "checking for -lsane... " >&6; }
13415 if ${ac_cv_lib_soname_sane+:} false; then :
13416 $as_echo_n "(cached) " >&6
13417 else
13418 ac_check_soname_save_LIBS=$LIBS
13419 LIBS="-lsane $SANE_LIBS $LIBS"
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char sane_init ();
13431 main ()
13433 return sane_init ();
13435 return 0;
13437 _ACEOF
13438 if ac_fn_c_try_link "$LINENO"; then :
13439 case "$LIBEXT" in
13440 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13441 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'` ;;
13442 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13443 if ${ac_cv_lib_soname_sane:+false} :; then :
13444 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13445 fi ;;
13446 esac
13448 rm -f core conftest.err conftest.$ac_objext \
13449 conftest$ac_exeext conftest.$ac_ext
13450 LIBS=$ac_check_soname_save_LIBS
13452 if ${ac_cv_lib_soname_sane:+false} :; then :
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13454 $as_echo "not found" >&6; }
13455 SANE_CFLAGS=""
13456 else
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13458 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13460 cat >>confdefs.h <<_ACEOF
13461 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13462 _ACEOF
13466 else
13467 SANE_CFLAGS=""
13471 CPPFLAGS=$ac_save_CPPFLAGS
13472 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13473 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13476 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13477 case "x$with_sane" in
13478 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13479 xno) ;;
13480 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13481 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13482 esac
13486 if test "x$with_v4l" != "xno"
13487 then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
13489 $as_echo_n "checking for -lv4l1... " >&6; }
13490 if ${ac_cv_lib_soname_v4l1+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_check_soname_save_LIBS=$LIBS
13494 LIBS="-lv4l1 $LIBS"
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13501 #ifdef __cplusplus
13502 extern "C"
13503 #endif
13504 char v4l1_open ();
13506 main ()
13508 return v4l1_open ();
13510 return 0;
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 case "$LIBEXT" in
13515 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13516 dylib) ac_cv_lib_soname_v4l1=`$OTOOL -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13517 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13518 if ${ac_cv_lib_soname_v4l1:+false} :; then :
13519 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13520 fi ;;
13521 esac
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LIBS=$ac_check_soname_save_LIBS
13527 if ${ac_cv_lib_soname_v4l1:+false} :; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13529 $as_echo "not found" >&6; }
13531 else
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
13533 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
13535 cat >>confdefs.h <<_ACEOF
13536 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
13537 _ACEOF
13542 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
13543 case "x$with_v4l" in
13544 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
13545 xno) ;;
13546 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
13547 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
13548 esac
13552 if test "x$with_gphoto" != "xno"
13553 then
13554 if ${GPHOTO2_CFLAGS:+false} :; then :
13555 if ${PKG_CONFIG+:} false; then :
13556 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13559 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13560 if ${GPHOTO2_LIBS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13565 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13566 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13568 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13569 ac_save_CPPFLAGS=$CPPFLAGS
13570 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13571 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13572 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13574 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13575 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13576 $as_echo_n "(cached) " >&6
13577 else
13578 ac_check_lib_save_LIBS=$LIBS
13579 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13583 /* Override any GCC internal prototype to avoid an error.
13584 Use char because int might match the return type of a GCC
13585 builtin and then its argument prototype would still apply. */
13586 #ifdef __cplusplus
13587 extern "C"
13588 #endif
13589 char gp_camera_new ();
13591 main ()
13593 return gp_camera_new ();
13595 return 0;
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 ac_cv_lib_gphoto2_gp_camera_new=yes
13600 else
13601 ac_cv_lib_gphoto2_gp_camera_new=no
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_lib_save_LIBS
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13608 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13609 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13611 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13613 else
13614 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13617 else
13618 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13622 CPPFLAGS=$ac_save_CPPFLAGS
13623 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13624 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13626 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13627 if ${PKG_CONFIG+:} false; then :
13628 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13631 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13632 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13633 if ${PKG_CONFIG+:} false; then :
13634 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13637 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13638 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13639 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13640 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13641 ac_save_CPPFLAGS=$CPPFLAGS
13642 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13643 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13644 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13646 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13647 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13648 $as_echo_n "(cached) " >&6
13649 else
13650 ac_check_lib_save_LIBS=$LIBS
13651 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13655 /* Override any GCC internal prototype to avoid an error.
13656 Use char because int might match the return type of a GCC
13657 builtin and then its argument prototype would still apply. */
13658 #ifdef __cplusplus
13659 extern "C"
13660 #endif
13661 char gp_port_info_list_new ();
13663 main ()
13665 return gp_port_info_list_new ();
13667 return 0;
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13672 else
13673 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13675 rm -f core conftest.err conftest.$ac_objext \
13676 conftest$ac_exeext conftest.$ac_ext
13677 LIBS=$ac_check_lib_save_LIBS
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13680 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13681 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13683 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13685 else
13686 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13689 else
13690 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13694 CPPFLAGS=$ac_save_CPPFLAGS
13695 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13696 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13699 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13700 case "x$with_gphoto" in
13701 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13702 xno) ;;
13703 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13704 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13705 esac
13708 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13709 case "x$with_gphoto" in
13710 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13711 xno) ;;
13712 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13713 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13714 esac
13719 if test "$ac_cv_header_resolv_h" = "yes"
13720 then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13722 $as_echo_n "checking for resolver library... " >&6; }
13723 if ${ac_cv_have_resolv+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_save_LIBS="$LIBS"
13727 for lib in '' -lresolv
13729 LIBS="$lib $ac_save_LIBS"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #ifdef HAVE_NETINET_IN_H
13733 #include <netinet/in.h>
13734 #endif
13735 #include <resolv.h>
13737 main ()
13739 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13741 return 0;
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 ac_cv_have_resolv=${lib:-"none required"}
13746 else
13747 ac_cv_have_resolv="not found"
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 test "x$ac_cv_have_resolv" = "xnot found" || break
13752 done
13753 LIBS="$ac_save_LIBS"
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13756 $as_echo "$ac_cv_have_resolv" >&6; }
13758 case "$ac_cv_have_resolv" in
13759 "not found") ;;
13760 "none required")
13762 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13765 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13767 RESOLV_LIBS=$ac_cv_have_resolv
13769 esac
13772 if test "x$with_cms" != "xno"
13773 then
13774 if ${LCMS2_CFLAGS:+false} :; then :
13775 if ${PKG_CONFIG+:} false; then :
13776 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13780 if ${LCMS2_LIBS:+false} :; then :
13781 if ${PKG_CONFIG+:} false; then :
13782 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13786 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13787 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13788 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13789 ac_save_CPPFLAGS=$CPPFLAGS
13790 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13791 for ac_header in lcms2.h
13792 do :
13793 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13795 cat >>confdefs.h <<_ACEOF
13796 #define HAVE_LCMS2_H 1
13797 _ACEOF
13801 done
13803 if test "$ac_cv_header_lcms2_h" = "yes"
13804 then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13806 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13807 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_check_lib_save_LIBS=$LIBS
13811 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 /* Override any GCC internal prototype to avoid an error.
13816 Use char because int might match the return type of a GCC
13817 builtin and then its argument prototype would still apply. */
13818 #ifdef __cplusplus
13819 extern "C"
13820 #endif
13821 char cmsOpenProfileFromFile ();
13823 main ()
13825 return cmsOpenProfileFromFile ();
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13832 else
13833 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LIBS=$ac_check_lib_save_LIBS
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13840 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13841 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13843 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13845 else
13846 LCMS2_LIBS=""
13849 else
13850 LCMS2_CFLAGS=""
13851 LCMS2_LIBS=""
13853 CPPFLAGS=$ac_save_CPPFLAGS
13854 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13855 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13858 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13859 case "x$with_cms" in
13860 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13861 xno) ;;
13862 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13863 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13864 esac
13868 if test "x$with_freetype" != "xno"
13869 then
13870 if ${FREETYPE_CFLAGS:+false} :; then :
13871 if ${PKG_CONFIG+:} false; then :
13872 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13875 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13876 if ${FREETYPE_LIBS:+false} :; then :
13877 if ${PKG_CONFIG+:} false; then :
13878 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13881 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13882 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13883 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13884 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13885 ac_save_CPPFLAGS=$CPPFLAGS
13886 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13887 for ac_header in ft2build.h
13888 do :
13889 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13890 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13891 cat >>confdefs.h <<_ACEOF
13892 #define HAVE_FT2BUILD_H 1
13893 _ACEOF
13897 done
13899 if test "$ac_cv_header_ft2build_h" = "yes"
13900 then
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13902 $as_echo_n "checking for -lfreetype... " >&6; }
13903 if ${ac_cv_lib_soname_freetype+:} false; then :
13904 $as_echo_n "(cached) " >&6
13905 else
13906 ac_check_soname_save_LIBS=$LIBS
13907 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13911 /* Override any GCC internal prototype to avoid an error.
13912 Use char because int might match the return type of a GCC
13913 builtin and then its argument prototype would still apply. */
13914 #ifdef __cplusplus
13915 extern "C"
13916 #endif
13917 char FT_Init_FreeType ();
13919 main ()
13921 return FT_Init_FreeType ();
13923 return 0;
13925 _ACEOF
13926 if ac_fn_c_try_link "$LINENO"; then :
13927 case "$LIBEXT" in
13928 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13929 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'` ;;
13930 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13931 if ${ac_cv_lib_soname_freetype:+false} :; then :
13932 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13933 fi ;;
13934 esac
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_soname_save_LIBS
13940 if ${ac_cv_lib_soname_freetype:+false} :; then :
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13942 $as_echo "not found" >&6; }
13943 FREETYPE_LIBS=""
13944 else
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13946 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13948 cat >>confdefs.h <<_ACEOF
13949 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13950 _ACEOF
13953 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13955 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13956 #include FT_MODULE_H
13958 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13960 cat >>confdefs.h <<_ACEOF
13961 #define HAVE_FT_TRUETYPEENGINETYPE 1
13962 _ACEOF
13968 else
13969 FREETYPE_CFLAGS=""
13970 FREETYPE_LIBS=""
13972 CPPFLAGS=$ac_save_CPPFLAGS
13973 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13974 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13977 if test "x$ac_cv_lib_soname_freetype" = x; then :
13978 case "x$with_freetype" in
13979 xno) ;;
13980 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13981 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13982 esac
13983 enable_fonts=${enable_fonts:-no}
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13987 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13988 if ${ac_cv_c_ppdev+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13993 #ifdef HAVE_SYS_IOCTL_H
13994 # include <sys/ioctl.h>
13995 #endif
13996 #include <linux/ppdev.h>
13998 main ()
14000 ioctl (1,PPCLAIM,0)
14002 return 0;
14004 _ACEOF
14005 if ac_fn_c_try_compile "$LINENO"; then :
14006 ac_cv_c_ppdev="yes"
14007 else
14008 ac_cv_c_ppdev="no"
14010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14013 $as_echo "$ac_cv_c_ppdev" >&6; }
14014 if test "$ac_cv_c_ppdev" = "yes"
14015 then
14017 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14021 ac_wine_check_funcs_save_LIBS="$LIBS"
14022 LIBS="$LIBS "
14023 for ac_func in \
14024 pthread_getthreadid_np \
14025 $PTHREAD_LIBS
14026 do :
14027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14029 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14030 cat >>confdefs.h <<_ACEOF
14031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14032 _ACEOF
14035 done
14037 LIBS="$ac_wine_check_funcs_save_LIBS"
14039 if test "$ac_cv_header_zlib_h" = "yes"
14040 then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14042 $as_echo_n "checking for inflate in -lz... " >&6; }
14043 if ${ac_cv_lib_z_inflate+:} false; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 ac_check_lib_save_LIBS=$LIBS
14047 LIBS="-lz $LIBS"
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 /* Override any GCC internal prototype to avoid an error.
14052 Use char because int might match the return type of a GCC
14053 builtin and then its argument prototype would still apply. */
14054 #ifdef __cplusplus
14055 extern "C"
14056 #endif
14057 char inflate ();
14059 main ()
14061 return inflate ();
14063 return 0;
14065 _ACEOF
14066 if ac_fn_c_try_link "$LINENO"; then :
14067 ac_cv_lib_z_inflate=yes
14068 else
14069 ac_cv_lib_z_inflate=no
14071 rm -f core conftest.err conftest.$ac_objext \
14072 conftest$ac_exeext conftest.$ac_ext
14073 LIBS=$ac_check_lib_save_LIBS
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14076 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14077 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14079 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14081 Z_LIBS="-lz"
14086 if test "x$Z_LIBS" = "x"; then :
14087 case "x$with_zlib" in
14088 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14089 xno) ;;
14090 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14091 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14092 esac
14096 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14097 then
14098 if test "$ac_cv_header_gettext_po_h" = "yes"
14099 then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14101 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14102 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_check_lib_save_LIBS=$LIBS
14106 LIBS="-lgettextpo $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14113 #ifdef __cplusplus
14114 extern "C"
14115 #endif
14116 char po_message_msgctxt ();
14118 main ()
14120 return po_message_msgctxt ();
14122 return 0;
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14127 else
14128 ac_cv_lib_gettextpo_po_message_msgctxt=no
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_lib_save_LIBS
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14135 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14136 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14138 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14140 GETTEXTPO_LIBS="-lgettextpo"
14145 if test "x$GETTEXTPO_LIBS" = "x"; then :
14146 case "x$with_gettextpo" in
14147 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14148 xno) ;;
14149 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14150 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14151 esac
14154 if test "$srcdir" != .; then :
14155 case "x$with_gettextpo" in
14156 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14157 xno) ;;
14158 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14159 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14160 esac
14165 if test "x$with_pulse" != "xno";
14166 then
14167 if ${PULSE_CFLAGS:+false} :; then :
14168 if ${PKG_CONFIG+:} false; then :
14169 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14173 if ${PULSE_LIBS:+false} :; then :
14174 if ${PKG_CONFIG+:} false; then :
14175 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14180 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14181 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14182 ac_save_CPPFLAGS=$CPPFLAGS
14183 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14184 for ac_header in pulse/pulseaudio.h
14185 do :
14186 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14187 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14188 cat >>confdefs.h <<_ACEOF
14189 #define HAVE_PULSE_PULSEAUDIO_H 1
14190 _ACEOF
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14192 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14193 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14194 $as_echo_n "(cached) " >&6
14195 else
14196 ac_check_lib_save_LIBS=$LIBS
14197 LIBS="-lpulse $PULSE_LIBS $LIBS"
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 #ifdef __cplusplus
14205 extern "C"
14206 #endif
14207 char pa_stream_is_corked ();
14209 main ()
14211 return pa_stream_is_corked ();
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_lib_pulse_pa_stream_is_corked=yes
14218 else
14219 ac_cv_lib_pulse_pa_stream_is_corked=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 LIBS=$ac_check_lib_save_LIBS
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14226 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14227 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14229 else
14230 PULSE_LIBS=""
14233 else
14234 PULSE_LIBS=""
14237 done
14239 CPPFLAGS=$ac_save_CPPFLAGS
14240 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14241 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14244 if test -z "$PULSE_LIBS"; then :
14245 case "x$with_pulse" in
14246 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14247 xno) ;;
14248 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14249 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14250 esac
14251 enable_winepulse_drv=${enable_winepulse_drv:-no}
14254 if test "x$with_gstreamer" != "xno"
14255 then
14256 if ${GSTREAMER_CFLAGS:+false} :; then :
14257 if ${PKG_CONFIG+:} false; then :
14258 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14262 if ${GSTREAMER_LIBS:+false} :; then :
14263 if ${PKG_CONFIG+:} false; then :
14264 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14269 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14270 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14271 ac_save_CPPFLAGS=$CPPFLAGS
14272 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14273 ac_gst_incl=""
14274 for i in $GSTREAMER_CFLAGS
14276 case "$i" in
14277 -I*) ac_gst_incl="$ac_gst_incl $i";;
14278 esac
14279 done
14280 GSTREAMER_CFLAGS=$ac_gst_incl
14281 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14282 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14283 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14285 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 #include <gst/gst.h>
14290 main ()
14292 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14294 return 0;
14296 _ACEOF
14297 if ac_fn_c_try_compile "$LINENO"; then :
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14299 $as_echo "yes" >&6; }
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14301 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14302 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_check_lib_save_LIBS=$LIBS
14306 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14313 #ifdef __cplusplus
14314 extern "C"
14315 #endif
14316 char gst_pad_new ();
14318 main ()
14320 return gst_pad_new ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14327 else
14328 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_lib_save_LIBS
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14335 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14336 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14340 else
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342 $as_echo "no" >&6; }
14343 ac_glib2_broken=yes
14344 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14350 CPPFLAGS=$ac_save_CPPFLAGS
14351 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14352 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14355 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 :
14356 case "x$with_gstreamer" in
14357 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14358 xno) ;;
14359 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14360 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14361 esac
14364 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14366 ALSA_LIBS=""
14368 if test "x$with_alsa" != "xno"
14369 then
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14371 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14372 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14373 $as_echo_n "(cached) " >&6
14374 else
14375 ac_check_lib_save_LIBS=$LIBS
14376 LIBS="-lasound $LIBS"
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14383 #ifdef __cplusplus
14384 extern "C"
14385 #endif
14386 char snd_pcm_hw_params_get_access_mask ();
14388 main ()
14390 return snd_pcm_hw_params_get_access_mask ();
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14397 else
14398 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_lib_save_LIBS
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14405 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14406 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 #include <alsa/asoundlib.h>
14411 main ()
14413 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_compile "$LINENO"; then :
14419 ALSA_LIBS="-lasound"
14421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14427 if test "x$with_oss" != xno
14428 then
14429 ac_save_CPPFLAGS="$CPPFLAGS"
14430 if test -f /etc/oss.conf
14431 then
14432 . /etc/oss.conf
14434 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14435 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14436 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14437 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14438 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14440 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14442 cat >>confdefs.h <<_ACEOF
14443 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14444 _ACEOF
14446 OSS4_CFLAGS="$ac_oss_incl"
14453 CPPFLAGS="$ac_save_CPPFLAGS"
14455 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14456 case "x$with_oss" in
14457 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14458 xno) ;;
14459 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14460 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14461 esac
14462 enable_wineoss_drv=${enable_wineoss_drv:-no}
14465 if test "x$with_udev" != "xno"
14466 then
14467 if ${UDEV_CFLAGS:+false} :; then :
14468 if ${PKG_CONFIG+:} false; then :
14469 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14473 if ${UDEV_LIBS:+false} :; then :
14474 if ${PKG_CONFIG+:} false; then :
14475 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14479 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14480 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14481 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14482 ac_save_CPPFLAGS=$CPPFLAGS
14483 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14484 for ac_header in libudev.h
14485 do :
14486 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14487 if test "x$ac_cv_header_libudev_h" = xyes; then :
14488 cat >>confdefs.h <<_ACEOF
14489 #define HAVE_LIBUDEV_H 1
14490 _ACEOF
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14492 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14493 if ${ac_cv_lib_udev_udev_new+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_check_lib_save_LIBS=$LIBS
14497 LIBS="-ludev $UDEV_LIBS $LIBS"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14504 #ifdef __cplusplus
14505 extern "C"
14506 #endif
14507 char udev_new ();
14509 main ()
14511 return udev_new ();
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_lib_udev_udev_new=yes
14518 else
14519 ac_cv_lib_udev_udev_new=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_lib_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14526 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14527 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14529 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14531 else
14532 UDEV_LIBS=""
14535 else
14536 UDEV_LIBS=""
14539 done
14541 CPPFLAGS=$ac_save_CPPFLAGS
14542 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14543 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14546 if test "x$UDEV_LIBS" = "x"; then :
14547 case "x$with_udev" in
14548 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14549 xno) ;;
14550 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14551 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14552 esac
14556 if test "x$with_sdl" != "xno"
14557 then
14558 if ${SDL2_CFLAGS:+false} :; then :
14559 if ${PKG_CONFIG+:} false; then :
14560 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14564 if ${SDL2_LIBS:+false} :; then :
14565 if ${PKG_CONFIG+:} false; then :
14566 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14570 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14571 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14572 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14573 ac_save_CPPFLAGS=$CPPFLAGS
14574 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14575 for ac_header in SDL2/SDL.h
14576 do :
14577 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14578 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14579 cat >>confdefs.h <<_ACEOF
14580 #define HAVE_SDL2_SDL_H 1
14581 _ACEOF
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14583 $as_echo_n "checking for -lSDL2... " >&6; }
14584 if ${ac_cv_lib_soname_SDL2+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 ac_check_soname_save_LIBS=$LIBS
14588 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14592 /* Override any GCC internal prototype to avoid an error.
14593 Use char because int might match the return type of a GCC
14594 builtin and then its argument prototype would still apply. */
14595 #ifdef __cplusplus
14596 extern "C"
14597 #endif
14598 char SDL_Init ();
14600 main ()
14602 return SDL_Init ();
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"; then :
14608 case "$LIBEXT" in
14609 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14610 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'` ;;
14611 *) 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'`
14612 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14613 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14614 fi ;;
14615 esac
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext conftest.$ac_ext
14619 LIBS=$ac_check_soname_save_LIBS
14621 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14623 $as_echo "not found" >&6; }
14625 else
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14627 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14629 cat >>confdefs.h <<_ACEOF
14630 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14631 _ACEOF
14637 done
14639 CPPFLAGS=$ac_save_CPPFLAGS
14640 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14641 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14644 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14645 case "x$with_sdl" in
14646 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14647 xno) ;;
14648 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14649 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14650 esac
14654 if test "x$with_faudio" != "xno"
14655 then
14656 if ${FAUDIO_CFLAGS:+false} :; then :
14657 if ${PKG_CONFIG+:} false; then :
14658 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14662 if ${FAUDIO_LIBS:+false} :; then :
14663 if ${PKG_CONFIG+:} false; then :
14664 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14668 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14669 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14670 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14671 ac_save_CPPFLAGS=$CPPFLAGS
14672 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14673 for ac_header in FAudio.h
14674 do :
14675 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14676 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14677 cat >>confdefs.h <<_ACEOF
14678 #define HAVE_FAUDIO_H 1
14679 _ACEOF
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14681 $as_echo_n "checking for -lFAudio... " >&6; }
14682 if ${ac_cv_lib_soname_FAudio+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 ac_check_soname_save_LIBS=$LIBS
14686 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14690 /* Override any GCC internal prototype to avoid an error.
14691 Use char because int might match the return type of a GCC
14692 builtin and then its argument prototype would still apply. */
14693 #ifdef __cplusplus
14694 extern "C"
14695 #endif
14696 char FAudioCreate ();
14698 main ()
14700 return FAudioCreate ();
14702 return 0;
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 case "$LIBEXT" in
14707 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14708 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'` ;;
14709 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14710 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14711 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14712 fi ;;
14713 esac
14715 rm -f core conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14717 LIBS=$ac_check_soname_save_LIBS
14719 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14721 $as_echo "not found" >&6; }
14723 else
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14725 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14727 cat >>confdefs.h <<_ACEOF
14728 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14729 _ACEOF
14735 done
14737 CPPFLAGS=$ac_save_CPPFLAGS
14738 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14739 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14742 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14743 case "x$with_faudio" in
14744 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14745 xno) ;;
14746 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14747 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14748 esac
14752 if test "x$with_capi" != "xno"
14753 then
14754 if ${CAPI20_CFLAGS:+false} :; then :
14755 if ${PKG_CONFIG+:} false; then :
14756 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14760 if ${CAPI20_LIBS:+false} :; then :
14761 if ${PKG_CONFIG+:} false; then :
14762 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14767 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14768 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14769 ac_save_CPPFLAGS=$CPPFLAGS
14770 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14771 for ac_header in capi20.h linux/capi.h
14772 do :
14773 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14774 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14776 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14777 cat >>confdefs.h <<_ACEOF
14778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14779 _ACEOF
14783 done
14785 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14786 then
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14788 $as_echo_n "checking for -lcapi20... " >&6; }
14789 if ${ac_cv_lib_soname_capi20+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_check_soname_save_LIBS=$LIBS
14793 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char capi20_register ();
14805 main ()
14807 return capi20_register ();
14809 return 0;
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 case "$LIBEXT" in
14814 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14815 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'` ;;
14816 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14817 if ${ac_cv_lib_soname_capi20:+false} :; then :
14818 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14819 fi ;;
14820 esac
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_soname_save_LIBS
14826 if ${ac_cv_lib_soname_capi20:+false} :; then :
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14828 $as_echo "not found" >&6; }
14830 else
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14832 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14834 cat >>confdefs.h <<_ACEOF
14835 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14836 _ACEOF
14841 CPPFLAGS=$ac_save_CPPFLAGS
14842 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14843 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14846 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14847 case "x$with_capi" in
14848 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14849 xno) ;;
14850 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14851 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14852 esac
14856 if test "x$with_cups" != "xno"
14857 then
14858 if ${CUPS_CFLAGS:+false} :; then :
14859 if ${PKG_CONFIG+:} false; then :
14860 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14863 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14864 if ${CUPS_LIBS:+false} :; then :
14865 if ${PKG_CONFIG+:} false; then :
14866 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14869 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14870 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14871 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14872 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14873 ac_save_CPPFLAGS=$CPPFLAGS
14874 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14875 for ac_header in cups/cups.h cups/ppd.h
14876 do :
14877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14878 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14880 cat >>confdefs.h <<_ACEOF
14881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14882 _ACEOF
14886 done
14888 if test "$ac_cv_header_cups_cups_h" = "yes"
14889 then
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14891 $as_echo_n "checking for -lcups... " >&6; }
14892 if ${ac_cv_lib_soname_cups+:} false; then :
14893 $as_echo_n "(cached) " >&6
14894 else
14895 ac_check_soname_save_LIBS=$LIBS
14896 LIBS="-lcups $CUPS_LIBS $LIBS"
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14900 /* Override any GCC internal prototype to avoid an error.
14901 Use char because int might match the return type of a GCC
14902 builtin and then its argument prototype would still apply. */
14903 #ifdef __cplusplus
14904 extern "C"
14905 #endif
14906 char cupsGetDefault ();
14908 main ()
14910 return cupsGetDefault ();
14912 return 0;
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"; then :
14916 case "$LIBEXT" in
14917 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14918 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'` ;;
14919 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14920 if ${ac_cv_lib_soname_cups:+false} :; then :
14921 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14922 fi ;;
14923 esac
14925 rm -f core conftest.err conftest.$ac_objext \
14926 conftest$ac_exeext conftest.$ac_ext
14927 LIBS=$ac_check_soname_save_LIBS
14929 if ${ac_cv_lib_soname_cups:+false} :; then :
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14931 $as_echo "not found" >&6; }
14932 CUPS_LIBS=""
14933 else
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14935 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14937 cat >>confdefs.h <<_ACEOF
14938 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14939 _ACEOF
14943 else
14944 CUPS_CFLAGS=""
14945 CUPS_LIBS=""
14947 CPPFLAGS=$ac_save_CPPFLAGS
14948 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14949 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14952 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14953 case "x$with_cups" in
14954 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14955 xno) ;;
14956 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14957 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14958 esac
14962 if test "x$with_fontconfig" != "xno"
14963 then
14964 if ${FONTCONFIG_CFLAGS:+false} :; then :
14965 if ${PKG_CONFIG+:} false; then :
14966 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14969 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14970 if ${FONTCONFIG_LIBS:+false} :; then :
14971 if ${PKG_CONFIG+:} false; then :
14972 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14975 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14977 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14978 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14979 ac_save_CPPFLAGS=$CPPFLAGS
14980 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14981 for ac_header in fontconfig/fontconfig.h
14982 do :
14983 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14984 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14985 cat >>confdefs.h <<_ACEOF
14986 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14987 _ACEOF
14991 done
14993 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14994 then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14996 $as_echo_n "checking for -lfontconfig... " >&6; }
14997 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_check_soname_save_LIBS=$LIBS
15001 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15008 #ifdef __cplusplus
15009 extern "C"
15010 #endif
15011 char FcInit ();
15013 main ()
15015 return FcInit ();
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"; then :
15021 case "$LIBEXT" in
15022 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15023 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'` ;;
15024 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15025 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15026 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15027 fi ;;
15028 esac
15030 rm -f core conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext conftest.$ac_ext
15032 LIBS=$ac_check_soname_save_LIBS
15034 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15036 $as_echo "not found" >&6; }
15037 FONTCONFIG_CFLAGS=""
15038 else
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15040 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15042 cat >>confdefs.h <<_ACEOF
15043 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15044 _ACEOF
15048 else
15049 FONTCONFIG_CFLAGS=""
15051 CPPFLAGS=$ac_save_CPPFLAGS
15052 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15053 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15056 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15057 case "x$with_fontconfig" in
15058 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15059 xno) ;;
15060 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15061 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15062 esac
15066 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15067 then
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15069 $as_echo_n "checking for -lgsm... " >&6; }
15070 if ${ac_cv_lib_soname_gsm+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 ac_check_soname_save_LIBS=$LIBS
15074 LIBS="-lgsm $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 #ifdef __cplusplus
15082 extern "C"
15083 #endif
15084 char gsm_create ();
15086 main ()
15088 return gsm_create ();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 case "$LIBEXT" in
15095 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15096 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'` ;;
15097 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15098 if ${ac_cv_lib_soname_gsm:+false} :; then :
15099 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15100 fi ;;
15101 esac
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_soname_save_LIBS
15107 if ${ac_cv_lib_soname_gsm:+false} :; then :
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15109 $as_echo "not found" >&6; }
15111 else
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15113 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15115 cat >>confdefs.h <<_ACEOF
15116 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15117 _ACEOF
15122 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15123 case "x$with_gsm" in
15124 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15125 xno) ;;
15126 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15127 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15128 esac
15132 if test "x$with_krb5" != "xno"
15133 then
15134 if ${KRB5_CFLAGS:+false} :; then :
15135 if ${PKG_CONFIG+:} false; then :
15136 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15139 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15140 if ${KRB5_LIBS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15145 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15147 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15148 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15149 ac_save_CPPFLAGS=$CPPFLAGS
15150 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15151 for ac_header in krb5/krb5.h
15152 do :
15153 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15154 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15155 cat >>confdefs.h <<_ACEOF
15156 #define HAVE_KRB5_KRB5_H 1
15157 _ACEOF
15161 done
15163 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15164 then
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15166 $as_echo_n "checking for -lkrb5... " >&6; }
15167 if ${ac_cv_lib_soname_krb5+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char krb5_is_config_principal ();
15183 main ()
15185 return krb5_is_config_principal ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 case "$LIBEXT" in
15192 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15193 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'` ;;
15194 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15195 if ${ac_cv_lib_soname_krb5:+false} :; then :
15196 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15197 fi ;;
15198 esac
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_check_soname_save_LIBS
15204 if ${ac_cv_lib_soname_krb5:+false} :; then :
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15206 $as_echo "not found" >&6; }
15207 KRB5_CFLAGS=""
15208 else
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15210 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15214 _ACEOF
15218 else
15219 KRB5_CFLAGS=""
15221 CPPFLAGS=$ac_save_CPPFLAGS
15222 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15223 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15225 else
15226 with_gssapi=${with_gssapi:-no}
15228 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15229 case "x$with_krb5" in
15230 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15231 xno) ;;
15232 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15233 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15234 esac
15238 if test "x$with_gssapi" != "xno"
15239 then
15240 if ${GSSAPI_CFLAGS:+false} :; then :
15241 if ${PKG_CONFIG+:} false; then :
15242 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15245 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15246 if ${GSSAPI_LIBS:+false} :; then :
15247 if ${PKG_CONFIG+:} false; then :
15248 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15251 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15253 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15254 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15255 ac_save_CPPFLAGS=$CPPFLAGS
15256 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15257 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15258 do :
15259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15260 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15262 cat >>confdefs.h <<_ACEOF
15263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15264 _ACEOF
15268 done
15270 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15271 then
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15273 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15274 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15275 $as_echo_n "(cached) " >&6
15276 else
15277 ac_check_soname_save_LIBS=$LIBS
15278 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 #ifdef __cplusplus
15286 extern "C"
15287 #endif
15288 char gss_init_sec_context ();
15290 main ()
15292 return gss_init_sec_context ();
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_link "$LINENO"; then :
15298 case "$LIBEXT" in
15299 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15300 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'` ;;
15301 *) 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'`
15302 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15303 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15304 fi ;;
15305 esac
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LIBS=$ac_check_soname_save_LIBS
15311 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15313 $as_echo "not found" >&6; }
15314 GSSAPI_CFLAGS=""
15315 else
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15317 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15319 cat >>confdefs.h <<_ACEOF
15320 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15321 _ACEOF
15325 else
15326 GSSAPI_CFLAGS=""
15328 CPPFLAGS=$ac_save_CPPFLAGS
15329 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15330 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15333 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15334 case "x$with_gssapi" in
15335 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15336 xno) ;;
15337 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15338 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15339 esac
15343 if test "x$with_jpeg" != "xno"
15344 then
15345 if ${JPEG_CFLAGS:+false} :; then :
15346 if ${PKG_CONFIG+:} false; then :
15347 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15351 if ${JPEG_LIBS:+false} :; then :
15352 if ${PKG_CONFIG+:} false; then :
15353 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15358 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15359 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15360 ac_save_CPPFLAGS=$CPPFLAGS
15361 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15362 for ac_header in jpeglib.h
15363 do :
15364 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15365 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15366 cat >>confdefs.h <<_ACEOF
15367 #define HAVE_JPEGLIB_H 1
15368 _ACEOF
15372 done
15374 if test "$ac_cv_header_jpeglib_h" = "yes"
15375 then
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15377 $as_echo_n "checking for -ljpeg... " >&6; }
15378 if ${ac_cv_lib_soname_jpeg+:} false; then :
15379 $as_echo_n "(cached) " >&6
15380 else
15381 ac_check_soname_save_LIBS=$LIBS
15382 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15386 /* Override any GCC internal prototype to avoid an error.
15387 Use char because int might match the return type of a GCC
15388 builtin and then its argument prototype would still apply. */
15389 #ifdef __cplusplus
15390 extern "C"
15391 #endif
15392 char jpeg_start_decompress ();
15394 main ()
15396 return jpeg_start_decompress ();
15398 return 0;
15400 _ACEOF
15401 if ac_fn_c_try_link "$LINENO"; then :
15402 case "$LIBEXT" in
15403 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15404 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'` ;;
15405 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15406 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15407 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15408 fi ;;
15409 esac
15411 rm -f core conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext conftest.$ac_ext
15413 LIBS=$ac_check_soname_save_LIBS
15415 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15417 $as_echo "not found" >&6; }
15418 JPEG_CFLAGS=""
15419 else
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15421 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15423 cat >>confdefs.h <<_ACEOF
15424 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15425 _ACEOF
15429 else
15430 JPEG_CFLAGS=""
15432 CPPFLAGS=$ac_save_CPPFLAGS
15433 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15434 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15437 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15438 case "x$with_jpeg" in
15439 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15440 xno) ;;
15441 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15442 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15443 esac
15447 if test "x$with_png" != "xno"
15448 then
15449 if ${PNG_CFLAGS:+false} :; then :
15450 if ${PKG_CONFIG+:} false; then :
15451 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15454 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15455 if ${PNG_LIBS:+false} :; then :
15456 if ${PKG_CONFIG+:} false; then :
15457 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15460 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15462 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15463 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15464 ac_save_CPPFLAGS=$CPPFLAGS
15465 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15466 for ac_header in png.h
15467 do :
15468 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15469 if test "x$ac_cv_header_png_h" = xyes; then :
15470 cat >>confdefs.h <<_ACEOF
15471 #define HAVE_PNG_H 1
15472 _ACEOF
15476 done
15478 if test "$ac_cv_header_png_h" = "yes"
15479 then
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15481 $as_echo_n "checking for -lpng... " >&6; }
15482 if ${ac_cv_lib_soname_png+:} false; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 ac_check_soname_save_LIBS=$LIBS
15486 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 #ifdef __cplusplus
15494 extern "C"
15495 #endif
15496 char png_create_read_struct ();
15498 main ()
15500 return png_create_read_struct ();
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_link "$LINENO"; then :
15506 case "$LIBEXT" in
15507 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15508 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'` ;;
15509 *) 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'`
15510 if ${ac_cv_lib_soname_png:+false} :; then :
15511 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15512 fi ;;
15513 esac
15515 rm -f core conftest.err conftest.$ac_objext \
15516 conftest$ac_exeext conftest.$ac_ext
15517 LIBS=$ac_check_soname_save_LIBS
15519 if ${ac_cv_lib_soname_png:+false} :; then :
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15521 $as_echo "not found" >&6; }
15522 PNG_CFLAGS=""
15523 else
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15525 $as_echo "$ac_cv_lib_soname_png" >&6; }
15527 cat >>confdefs.h <<_ACEOF
15528 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15529 _ACEOF
15533 else
15534 PNG_CFLAGS=""
15536 CPPFLAGS=$ac_save_CPPFLAGS
15537 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15538 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15541 if test "x$ac_cv_lib_soname_png" = "x"; then :
15542 case "x$with_png" in
15543 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15544 xno) ;;
15545 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15546 This is an error since --with-png was requested." "$LINENO" 5 ;;
15547 esac
15551 if test "x$with_tiff" != "xno"
15552 then
15553 if ${TIFF_CFLAGS:+false} :; then :
15554 if ${PKG_CONFIG+:} false; then :
15555 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15559 if ${TIFF_LIBS:+false} :; then :
15560 if ${PKG_CONFIG+:} false; then :
15561 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15566 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15567 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15568 ac_save_CPPFLAGS=$CPPFLAGS
15569 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15570 for ac_header in tiffio.h
15571 do :
15572 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15573 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15574 cat >>confdefs.h <<_ACEOF
15575 #define HAVE_TIFFIO_H 1
15576 _ACEOF
15580 done
15582 if test "$ac_cv_header_tiffio_h" = "yes"
15583 then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15585 $as_echo_n "checking for -ltiff... " >&6; }
15586 if ${ac_cv_lib_soname_tiff+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_check_soname_save_LIBS=$LIBS
15590 LIBS="-ltiff $TIFF_LIBS $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char TIFFClientOpen ();
15602 main ()
15604 return TIFFClientOpen ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 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'` ;;
15613 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_tiff:+false} :; then :
15615 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15616 fi ;;
15617 esac
15619 rm -f core conftest.err conftest.$ac_objext \
15620 conftest$ac_exeext conftest.$ac_ext
15621 LIBS=$ac_check_soname_save_LIBS
15623 if ${ac_cv_lib_soname_tiff:+false} :; then :
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15625 $as_echo "not found" >&6; }
15627 else
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15629 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15631 cat >>confdefs.h <<_ACEOF
15632 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15633 _ACEOF
15638 CPPFLAGS=$ac_save_CPPFLAGS
15639 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15640 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15643 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15644 case "x$with_tiff" in
15645 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15646 xno) ;;
15647 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15648 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15649 esac
15653 if test "x$with_mpg123" != "xno"
15654 then
15655 if ${MPG123_CFLAGS:+false} :; then :
15656 if ${PKG_CONFIG+:} false; then :
15657 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15661 if ${MPG123_LIBS:+false} :; then :
15662 if ${PKG_CONFIG+:} false; then :
15663 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15667 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15668 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15669 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15670 ac_save_CPPFLAGS=$CPPFLAGS
15671 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15672 for ac_header in mpg123.h
15673 do :
15674 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15675 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_MPG123_H 1
15678 _ACEOF
15682 done
15684 if test "$ac_cv_header_mpg123_h" = "yes"
15685 then
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15687 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15688 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 ac_check_lib_save_LIBS=$LIBS
15692 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15699 #ifdef __cplusplus
15700 extern "C"
15701 #endif
15702 char mpg123_feed ();
15704 main ()
15706 return mpg123_feed ();
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 ac_cv_lib_mpg123_mpg123_feed=yes
15713 else
15714 ac_cv_lib_mpg123_mpg123_feed=no
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_lib_save_LIBS
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15721 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15722 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15724 else
15725 MPG123_LIBS=""
15728 else
15729 MPG123_CFLAGS=""
15730 MPG123_LIBS=""
15732 CPPFLAGS=$ac_save_CPPFLAGS
15733 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15734 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15737 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15738 case "x$with_mpg123" in
15739 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15740 xno) ;;
15741 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15742 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15743 esac
15744 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15746 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15748 if test "$ac_cv_header_AL_al_h" = "yes"
15749 then
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15751 $as_echo_n "checking for -lopenal... " >&6; }
15752 if ${ac_cv_lib_soname_openal+:} false; then :
15753 $as_echo_n "(cached) " >&6
15754 else
15755 ac_check_soname_save_LIBS=$LIBS
15756 LIBS="-lopenal $LIBS"
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 #ifdef __cplusplus
15764 extern "C"
15765 #endif
15766 char alGetSource3i ();
15768 main ()
15770 return alGetSource3i ();
15772 return 0;
15774 _ACEOF
15775 if ac_fn_c_try_link "$LINENO"; then :
15776 case "$LIBEXT" in
15777 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15778 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'` ;;
15779 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15780 if ${ac_cv_lib_soname_openal:+false} :; then :
15781 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15782 fi ;;
15783 esac
15785 rm -f core conftest.err conftest.$ac_objext \
15786 conftest$ac_exeext conftest.$ac_ext
15787 LIBS=$ac_check_soname_save_LIBS
15789 if ${ac_cv_lib_soname_openal:+false} :; then :
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15791 $as_echo "not found" >&6; }
15793 else
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15795 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15797 cat >>confdefs.h <<_ACEOF
15798 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15799 _ACEOF
15801 OPENAL_LIBS="-lopenal"
15803 ac_cv_lib_openal=yes
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_OPENAL 1
15807 _ACEOF
15811 if test "x$ac_cv_lib_openal" != xyes; then :
15812 case "x$with_openal" in
15813 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15814 xno) ;;
15815 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15816 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15817 esac
15818 enable_openal32=${enable_openal32:-no}
15821 if test "x$ac_cv_lib_soname_FAudio" = "x"
15822 then
15823 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15824 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15825 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15826 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15827 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15828 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15829 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15830 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15831 enable_xapofx1_1=${enable_xapofx1_1:-no}
15832 enable_xapofx1_2=${enable_xapofx1_2:-no}
15833 enable_xapofx1_3=${enable_xapofx1_3:-no}
15834 enable_xapofx1_4=${enable_xapofx1_4:-no}
15835 enable_xapofx1_5=${enable_xapofx1_5:-no}
15836 enable_xaudio2_0=${enable_xaudio2_0:-no}
15837 enable_xaudio2_1=${enable_xaudio2_1:-no}
15838 enable_xaudio2_2=${enable_xaudio2_2:-no}
15839 enable_xaudio2_3=${enable_xaudio2_3:-no}
15840 enable_xaudio2_4=${enable_xaudio2_4:-no}
15841 enable_xaudio2_5=${enable_xaudio2_5:-no}
15842 enable_xaudio2_6=${enable_xaudio2_6:-no}
15843 enable_xaudio2_7=${enable_xaudio2_7:-no}
15844 enable_xaudio2_8=${enable_xaudio2_8:-no}
15845 enable_xaudio2_9=${enable_xaudio2_9:-no}
15848 if test "$ac_cv_header_kstat_h" = "yes"
15849 then
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15851 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15852 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15853 $as_echo_n "(cached) " >&6
15854 else
15855 ac_check_lib_save_LIBS=$LIBS
15856 LIBS="-lkstat $LIBS"
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15860 /* Override any GCC internal prototype to avoid an error.
15861 Use char because int might match the return type of a GCC
15862 builtin and then its argument prototype would still apply. */
15863 #ifdef __cplusplus
15864 extern "C"
15865 #endif
15866 char kstat_open ();
15868 main ()
15870 return kstat_open ();
15872 return 0;
15874 _ACEOF
15875 if ac_fn_c_try_link "$LINENO"; then :
15876 ac_cv_lib_kstat_kstat_open=yes
15877 else
15878 ac_cv_lib_kstat_kstat_open=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15882 LIBS=$ac_check_lib_save_LIBS
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15885 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15886 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15888 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15890 KSTAT_LIBS="-lkstat"
15896 if test "$ac_cv_header_libprocstat_h" = "yes"
15897 then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15899 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15900 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 ac_check_lib_save_LIBS=$LIBS
15904 LIBS="-lprocstat $LIBS"
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char procstat_open_sysctl ();
15916 main ()
15918 return procstat_open_sysctl ();
15920 return 0;
15922 _ACEOF
15923 if ac_fn_c_try_link "$LINENO"; then :
15924 ac_cv_lib_procstat_procstat_open_sysctl=yes
15925 else
15926 ac_cv_lib_procstat_procstat_open_sysctl=no
15928 rm -f core conftest.err conftest.$ac_objext \
15929 conftest$ac_exeext conftest.$ac_ext
15930 LIBS=$ac_check_lib_save_LIBS
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15933 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15934 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15936 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15938 PROCSTAT_LIBS="-lprocstat"
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15945 $as_echo_n "checking for -lodbc... " >&6; }
15946 if ${ac_cv_lib_soname_odbc+:} false; then :
15947 $as_echo_n "(cached) " >&6
15948 else
15949 ac_check_soname_save_LIBS=$LIBS
15950 LIBS="-lodbc $LIBS"
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15954 /* Override any GCC internal prototype to avoid an error.
15955 Use char because int might match the return type of a GCC
15956 builtin and then its argument prototype would still apply. */
15957 #ifdef __cplusplus
15958 extern "C"
15959 #endif
15960 char SQLConnect ();
15962 main ()
15964 return SQLConnect ();
15966 return 0;
15968 _ACEOF
15969 if ac_fn_c_try_link "$LINENO"; then :
15970 case "$LIBEXT" in
15971 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15972 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'` ;;
15973 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15974 if ${ac_cv_lib_soname_odbc:+false} :; then :
15975 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15976 fi ;;
15977 esac
15979 rm -f core conftest.err conftest.$ac_objext \
15980 conftest$ac_exeext conftest.$ac_ext
15981 LIBS=$ac_check_soname_save_LIBS
15983 if ${ac_cv_lib_soname_odbc:+false} :; then :
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15985 $as_echo "not found" >&6; }
15986 cat >>confdefs.h <<_ACEOF
15987 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15988 _ACEOF
15990 else
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15992 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15994 cat >>confdefs.h <<_ACEOF
15995 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15996 _ACEOF
16001 if test "x$with_netapi" != "xno"
16002 then
16003 if ${NETAPI_CFLAGS:+false} :; then :
16004 if ${PKG_CONFIG+:} false; then :
16005 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16009 if ${NETAPI_LIBS:+false} :; then :
16010 if ${PKG_CONFIG+:} false; then :
16011 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16016 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16017 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16018 ac_save_CPPFLAGS=$CPPFLAGS
16019 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16021 $as_echo_n "checking for -lnetapi... " >&6; }
16022 if ${ac_cv_lib_soname_netapi+:} false; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 ac_check_soname_save_LIBS=$LIBS
16026 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16030 /* Override any GCC internal prototype to avoid an error.
16031 Use char because int might match the return type of a GCC
16032 builtin and then its argument prototype would still apply. */
16033 #ifdef __cplusplus
16034 extern "C"
16035 #endif
16036 char libnetapi_init ();
16038 main ()
16040 return libnetapi_init ();
16042 return 0;
16044 _ACEOF
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 case "$LIBEXT" in
16047 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16048 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'` ;;
16049 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16050 if ${ac_cv_lib_soname_netapi:+false} :; then :
16051 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16052 fi ;;
16053 esac
16055 rm -f core conftest.err conftest.$ac_objext \
16056 conftest$ac_exeext conftest.$ac_ext
16057 LIBS=$ac_check_soname_save_LIBS
16059 if ${ac_cv_lib_soname_netapi:+false} :; then :
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16061 $as_echo "not found" >&6; }
16062 cat >>confdefs.h <<_ACEOF
16063 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16064 _ACEOF
16066 else
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16068 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16070 cat >>confdefs.h <<_ACEOF
16071 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16072 _ACEOF
16076 CPPFLAGS=$ac_save_CPPFLAGS
16077 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16078 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16082 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16083 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16084 then
16085 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16088 if test "x$with_vulkan" != "xno"
16089 then
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16091 $as_echo_n "checking for -lvulkan... " >&6; }
16092 if ${ac_cv_lib_soname_vulkan+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 ac_check_soname_save_LIBS=$LIBS
16096 LIBS="-lvulkan $LIBS"
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16100 /* Override any GCC internal prototype to avoid an error.
16101 Use char because int might match the return type of a GCC
16102 builtin and then its argument prototype would still apply. */
16103 #ifdef __cplusplus
16104 extern "C"
16105 #endif
16106 char vkGetInstanceProcAddr ();
16108 main ()
16110 return vkGetInstanceProcAddr ();
16112 return 0;
16114 _ACEOF
16115 if ac_fn_c_try_link "$LINENO"; then :
16116 case "$LIBEXT" in
16117 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16118 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'` ;;
16119 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16120 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16121 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16122 fi ;;
16123 esac
16125 rm -f core conftest.err conftest.$ac_objext \
16126 conftest$ac_exeext conftest.$ac_ext
16127 LIBS=$ac_check_soname_save_LIBS
16129 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16131 $as_echo "not found" >&6; }
16133 else
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16135 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16137 cat >>confdefs.h <<_ACEOF
16138 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16139 _ACEOF
16143 if test "x$ac_cv_lib_soname_vulkan" = "x"
16144 then
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16146 $as_echo_n "checking for -lMoltenVK... " >&6; }
16147 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 ac_check_soname_save_LIBS=$LIBS
16151 LIBS="-lMoltenVK $LIBS"
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 #ifdef __cplusplus
16159 extern "C"
16160 #endif
16161 char vkGetInstanceProcAddr ();
16163 main ()
16165 return vkGetInstanceProcAddr ();
16167 return 0;
16169 _ACEOF
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 case "$LIBEXT" in
16172 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16173 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'` ;;
16174 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16175 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16176 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16177 fi ;;
16178 esac
16180 rm -f core conftest.err conftest.$ac_objext \
16181 conftest$ac_exeext conftest.$ac_ext
16182 LIBS=$ac_check_soname_save_LIBS
16184 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16186 $as_echo "not found" >&6; }
16188 else
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16190 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16192 cat >>confdefs.h <<_ACEOF
16193 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16194 _ACEOF
16200 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16201 case "x$with_vulkan" in
16202 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16203 xno) ;;
16204 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16205 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16206 esac
16210 if test "x$with_vkd3d" != "xno"
16211 then
16212 if ${VKD3D_CFLAGS:+false} :; then :
16213 if ${PKG_CONFIG+:} false; then :
16214 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16218 if ${VKD3D_LIBS:+false} :; then :
16219 if ${PKG_CONFIG+:} false; then :
16220 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16225 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16226 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16227 ac_save_CPPFLAGS=$CPPFLAGS
16228 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16230 $as_echo_n "checking for -lvkd3d... " >&6; }
16231 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 ac_check_soname_save_LIBS=$LIBS
16235 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16239 /* Override any GCC internal prototype to avoid an error.
16240 Use char because int might match the return type of a GCC
16241 builtin and then its argument prototype would still apply. */
16242 #ifdef __cplusplus
16243 extern "C"
16244 #endif
16245 char vkd3d_get_dxgi_format ();
16247 main ()
16249 return vkd3d_get_dxgi_format ();
16251 return 0;
16253 _ACEOF
16254 if ac_fn_c_try_link "$LINENO"; then :
16255 case "$LIBEXT" in
16256 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16257 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'` ;;
16258 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16259 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16260 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16261 fi ;;
16262 esac
16264 rm -f core conftest.err conftest.$ac_objext \
16265 conftest$ac_exeext conftest.$ac_ext
16266 LIBS=$ac_check_soname_save_LIBS
16268 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16270 $as_echo "not found" >&6; }
16272 else
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16274 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16276 cat >>confdefs.h <<_ACEOF
16277 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16278 _ACEOF
16282 CPPFLAGS=$ac_save_CPPFLAGS
16283 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16284 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16287 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16288 case "x$with_vkd3d" in
16289 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16290 xno) ;;
16291 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16292 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16293 esac
16296 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16299 EXTRACFLAGS=""
16301 if test "x${GCC}" = "xyes"
16302 then
16303 EXTRACFLAGS="-Wall -pipe"
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16306 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16307 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 if test "$cross_compiling" = yes; then :
16311 ac_cv_c_gcc_strength_bug="no"
16312 else
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16315 int L[4] = {0,1,2,3};
16317 main ()
16319 static int Array[3];
16320 unsigned int B = 3;
16321 int i;
16322 for(i=0; i<B; i++) Array[i] = i - 3;
16323 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16324 L[i] = 4;
16325 return (Array[1] != -2 || L[2] != 3)
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_run "$LINENO"; then :
16331 ac_cv_c_gcc_strength_bug="no"
16332 else
16333 ac_cv_c_gcc_strength_bug="yes"
16335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16336 conftest.$ac_objext conftest.beam conftest.$ac_ext
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16341 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16342 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16343 then
16344 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16348 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16349 if ${ac_cv_cflags__fno_builtin+:} false; then :
16350 $as_echo_n "(cached) " >&6
16351 else
16352 ac_wine_try_cflags_saved=$CFLAGS
16353 CFLAGS="$CFLAGS -fno-builtin"
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 int main(int argc, char **argv) { return 0; }
16357 _ACEOF
16358 if ac_fn_c_try_link "$LINENO"; then :
16359 ac_cv_cflags__fno_builtin=yes
16360 else
16361 ac_cv_cflags__fno_builtin=no
16363 rm -f core conftest.err conftest.$ac_objext \
16364 conftest$ac_exeext conftest.$ac_ext
16365 CFLAGS=$ac_wine_try_cflags_saved
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16368 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16369 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16370 BUILTINFLAG="-fno-builtin"
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16374 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16375 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16376 $as_echo_n "(cached) " >&6
16377 else
16378 ac_wine_try_cflags_saved=$CFLAGS
16379 CFLAGS="$CFLAGS -fno-strict-aliasing"
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 int main(int argc, char **argv) { return 0; }
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"; then :
16385 ac_cv_cflags__fno_strict_aliasing=yes
16386 else
16387 ac_cv_cflags__fno_strict_aliasing=no
16389 rm -f core conftest.err conftest.$ac_objext \
16390 conftest$ac_exeext conftest.$ac_ext
16391 CFLAGS=$ac_wine_try_cflags_saved
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16394 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16395 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16396 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16399 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16400 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 ac_wine_try_cflags_saved=$CFLAGS
16404 CFLAGS="$CFLAGS -fexcess-precision=standard"
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 int main(int argc, char **argv) { return 0; }
16408 _ACEOF
16409 if ac_fn_c_try_link "$LINENO"; then :
16410 ac_cv_cflags__fexcess_precision_standard=yes
16411 else
16412 ac_cv_cflags__fexcess_precision_standard=no
16414 rm -f core conftest.err conftest.$ac_objext \
16415 conftest$ac_exeext conftest.$ac_ext
16416 CFLAGS=$ac_wine_try_cflags_saved
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16419 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16420 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16421 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16424 saved_CFLAGS=$CFLAGS
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16426 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16427 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16428 $as_echo_n "(cached) " >&6
16429 else
16430 ac_wine_try_cflags_saved=$CFLAGS
16431 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 int main(int argc, char **argv) { return 0; }
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 ac_cv_cflags__Werror_unknown_warning_option=yes
16438 else
16439 ac_cv_cflags__Werror_unknown_warning_option=no
16441 rm -f core conftest.err conftest.$ac_objext \
16442 conftest$ac_exeext conftest.$ac_ext
16443 CFLAGS=$ac_wine_try_cflags_saved
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16446 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16447 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16448 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16451 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16452 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 ac_wine_try_cflags_saved=$CFLAGS
16456 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 int main(int argc, char **argv) { return 0; }
16460 _ACEOF
16461 if ac_fn_c_try_link "$LINENO"; then :
16462 ac_cv_cflags__Wdeclaration_after_statement=yes
16463 else
16464 ac_cv_cflags__Wdeclaration_after_statement=no
16466 rm -f core conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16468 CFLAGS=$ac_wine_try_cflags_saved
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16471 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16472 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16473 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16476 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16477 if ${ac_cv_cflags__Wempty_body+:} false; then :
16478 $as_echo_n "(cached) " >&6
16479 else
16480 ac_wine_try_cflags_saved=$CFLAGS
16481 CFLAGS="$CFLAGS -Wempty-body"
16482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16484 int main(int argc, char **argv) { return 0; }
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487 ac_cv_cflags__Wempty_body=yes
16488 else
16489 ac_cv_cflags__Wempty_body=no
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16493 CFLAGS=$ac_wine_try_cflags_saved
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16496 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16497 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16498 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16501 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16502 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16503 $as_echo_n "(cached) " >&6
16504 else
16505 ac_wine_try_cflags_saved=$CFLAGS
16506 CFLAGS="$CFLAGS -Wignored-qualifiers"
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16509 int main(int argc, char **argv) { return 0; }
16510 _ACEOF
16511 if ac_fn_c_try_link "$LINENO"; then :
16512 ac_cv_cflags__Wignored_qualifiers=yes
16513 else
16514 ac_cv_cflags__Wignored_qualifiers=no
16516 rm -f core conftest.err conftest.$ac_objext \
16517 conftest$ac_exeext conftest.$ac_ext
16518 CFLAGS=$ac_wine_try_cflags_saved
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16521 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16522 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16523 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16526 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16527 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16528 $as_echo_n "(cached) " >&6
16529 else
16530 ac_wine_try_cflags_saved=$CFLAGS
16531 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16534 int main(int argc, char **argv) { return 0; }
16535 _ACEOF
16536 if ac_fn_c_try_link "$LINENO"; then :
16537 ac_cv_cflags__Wpacked_not_aligned=yes
16538 else
16539 ac_cv_cflags__Wpacked_not_aligned=no
16541 rm -f core conftest.err conftest.$ac_objext \
16542 conftest$ac_exeext conftest.$ac_ext
16543 CFLAGS=$ac_wine_try_cflags_saved
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16546 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16547 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16548 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16551 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16552 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16555 ac_wine_try_cflags_saved=$CFLAGS
16556 CFLAGS="$CFLAGS -Wpragma-pack"
16557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558 /* end confdefs.h. */
16559 int main(int argc, char **argv) { return 0; }
16560 _ACEOF
16561 if ac_fn_c_try_link "$LINENO"; then :
16562 ac_cv_cflags__Wpragma_pack=yes
16563 else
16564 ac_cv_cflags__Wpragma_pack=no
16566 rm -f core conftest.err conftest.$ac_objext \
16567 conftest$ac_exeext conftest.$ac_ext
16568 CFLAGS=$ac_wine_try_cflags_saved
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16571 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16572 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16573 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16576 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16577 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16578 $as_echo_n "(cached) " >&6
16579 else
16580 ac_wine_try_cflags_saved=$CFLAGS
16581 CFLAGS="$CFLAGS -Wshift-overflow=2"
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16584 int main(int argc, char **argv) { return 0; }
16585 _ACEOF
16586 if ac_fn_c_try_link "$LINENO"; then :
16587 ac_cv_cflags__Wshift_overflow_2=yes
16588 else
16589 ac_cv_cflags__Wshift_overflow_2=no
16591 rm -f core conftest.err conftest.$ac_objext \
16592 conftest$ac_exeext conftest.$ac_ext
16593 CFLAGS=$ac_wine_try_cflags_saved
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16596 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16597 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16598 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16601 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16602 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16603 $as_echo_n "(cached) " >&6
16604 else
16605 ac_wine_try_cflags_saved=$CFLAGS
16606 CFLAGS="$CFLAGS -Wstrict-prototypes"
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 int main(int argc, char **argv) { return 0; }
16610 _ACEOF
16611 if ac_fn_c_try_link "$LINENO"; then :
16612 ac_cv_cflags__Wstrict_prototypes=yes
16613 else
16614 ac_cv_cflags__Wstrict_prototypes=no
16616 rm -f core conftest.err conftest.$ac_objext \
16617 conftest$ac_exeext conftest.$ac_ext
16618 CFLAGS=$ac_wine_try_cflags_saved
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16621 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16622 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16623 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16626 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16627 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 ac_wine_try_cflags_saved=$CFLAGS
16631 CFLAGS="$CFLAGS -Wtype-limits"
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 int main(int argc, char **argv) { return 0; }
16635 _ACEOF
16636 if ac_fn_c_try_link "$LINENO"; then :
16637 ac_cv_cflags__Wtype_limits=yes
16638 else
16639 ac_cv_cflags__Wtype_limits=no
16641 rm -f core conftest.err conftest.$ac_objext \
16642 conftest$ac_exeext conftest.$ac_ext
16643 CFLAGS=$ac_wine_try_cflags_saved
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16646 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16647 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16648 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16651 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16652 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 ac_wine_try_cflags_saved=$CFLAGS
16656 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 int main(int argc, char **argv) { return 0; }
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 ac_cv_cflags__Wunused_but_set_parameter=yes
16663 else
16664 ac_cv_cflags__Wunused_but_set_parameter=no
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 CFLAGS=$ac_wine_try_cflags_saved
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16671 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16672 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16673 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16676 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16677 if ${ac_cv_cflags__Wvla+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 ac_wine_try_cflags_saved=$CFLAGS
16681 CFLAGS="$CFLAGS -Wvla"
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16684 int main(int argc, char **argv) { return 0; }
16685 _ACEOF
16686 if ac_fn_c_try_link "$LINENO"; then :
16687 ac_cv_cflags__Wvla=yes
16688 else
16689 ac_cv_cflags__Wvla=no
16691 rm -f core conftest.err conftest.$ac_objext \
16692 conftest$ac_exeext conftest.$ac_ext
16693 CFLAGS=$ac_wine_try_cflags_saved
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16696 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16697 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16698 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16701 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16702 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_wine_try_cflags_saved=$CFLAGS
16706 CFLAGS="$CFLAGS -Wwrite-strings"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 int main(int argc, char **argv) { return 0; }
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 ac_cv_cflags__Wwrite_strings=yes
16713 else
16714 ac_cv_cflags__Wwrite_strings=no
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16718 CFLAGS=$ac_wine_try_cflags_saved
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16721 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16722 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16723 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16727 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16728 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 ac_wine_try_cflags_saved=$CFLAGS
16732 CFLAGS="$CFLAGS -Wpointer-arith"
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16735 int main(int argc, char **argv) { return 0; }
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"; then :
16738 ac_cv_cflags__Wpointer_arith=yes
16739 else
16740 ac_cv_cflags__Wpointer_arith=no
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16744 CFLAGS=$ac_wine_try_cflags_saved
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16747 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16748 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16749 saved_string_h_CFLAGS=$CFLAGS
16750 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16752 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16753 if ${ac_cv_c_string_h_warnings+:} false; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 #include <string.h>
16760 main ()
16764 return 0;
16766 _ACEOF
16767 if ac_fn_c_try_compile "$LINENO"; then :
16768 ac_cv_c_string_h_warnings=no
16769 else
16770 ac_cv_c_string_h_warnings=yes
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16775 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16776 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16777 CFLAGS=$saved_string_h_CFLAGS
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16781 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16782 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 ac_wine_try_cflags_saved=$CFLAGS
16786 CFLAGS="$CFLAGS -Wlogical-op"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 int main(int argc, char **argv) { return 0; }
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 ac_cv_cflags__Wlogical_op=yes
16793 else
16794 ac_cv_cflags__Wlogical_op=no
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16798 CFLAGS=$ac_wine_try_cflags_saved
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16801 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16802 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16803 saved_string_h_CFLAGS=$CFLAGS
16804 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16806 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16807 if ${ac_cv_c_logicalop_noisy+:} false; then :
16808 $as_echo_n "(cached) " >&6
16809 else
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 #include <string.h>
16813 char*f(const char *h,char n) {return strchr(h,n);}
16815 main ()
16819 return 0;
16821 _ACEOF
16822 if ac_fn_c_try_compile "$LINENO"; then :
16823 ac_cv_c_logicalop_noisy=no
16824 else
16825 ac_cv_c_logicalop_noisy=yes
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16830 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16831 CFLAGS=$saved_string_h_CFLAGS
16832 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16835 CFLAGS=$saved_CFLAGS
16837 for ac_flag in $CFLAGS; do
16838 case $ac_flag in
16839 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16840 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16841 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16842 $as_echo_n "(cached) " >&6
16843 else
16844 ac_wine_try_cflags_saved=$CFLAGS
16845 CFLAGS="$CFLAGS -gdwarf-2"
16846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h. */
16848 int main(int argc, char **argv) { return 0; }
16849 _ACEOF
16850 if ac_fn_c_try_link "$LINENO"; then :
16851 ac_cv_cflags__gdwarf_2=yes
16852 else
16853 ac_cv_cflags__gdwarf_2=no
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16857 CFLAGS=$ac_wine_try_cflags_saved
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16860 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16861 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16862 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16865 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16866 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869 ac_wine_try_cflags_saved=$CFLAGS
16870 CFLAGS="$CFLAGS -gstrict-dwarf"
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 int main(int argc, char **argv) { return 0; }
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"; then :
16876 ac_cv_cflags__gstrict_dwarf=yes
16877 else
16878 ac_cv_cflags__gstrict_dwarf=no
16880 rm -f core conftest.err conftest.$ac_objext \
16881 conftest$ac_exeext conftest.$ac_ext
16882 CFLAGS=$ac_wine_try_cflags_saved
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16885 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16886 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16887 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16888 fi ;;
16889 esac
16890 done
16892 case $host_cpu in
16893 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16894 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16895 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 ac_wine_try_cflags_saved=$CFLAGS
16899 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16902 int main(int argc, char **argv) { return 0; }
16903 _ACEOF
16904 if ac_fn_c_try_link "$LINENO"; then :
16905 ac_cv_cflags__fno_omit_frame_pointer=yes
16906 else
16907 ac_cv_cflags__fno_omit_frame_pointer=no
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16911 CFLAGS=$ac_wine_try_cflags_saved
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16914 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16915 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16916 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16917 fi ;;
16918 esac
16920 case $host in
16921 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16922 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16923 if ${ac_cv_cflags__Wno_format+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_wine_try_cflags_saved=$CFLAGS
16927 CFLAGS="$CFLAGS -Wno-format"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 int main(int argc, char **argv) { return 0; }
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_cflags__Wno_format=yes
16934 else
16935 ac_cv_cflags__Wno_format=no
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 CFLAGS=$ac_wine_try_cflags_saved
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16942 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16943 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16944 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16945 fi ;;
16946 esac
16948 if test "x$enable_maintainer_mode" = "xyes"
16949 then
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16951 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16952 if ${ac_cv_cflags__Werror+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 ac_wine_try_cflags_saved=$CFLAGS
16956 CFLAGS="$CFLAGS -Werror"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16959 int main(int argc, char **argv) { return 0; }
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_cflags__Werror=yes
16963 else
16964 ac_cv_cflags__Werror=no
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16968 CFLAGS=$ac_wine_try_cflags_saved
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16971 $as_echo "$ac_cv_cflags__Werror" >&6; }
16972 if test "x$ac_cv_cflags__Werror" = xyes; then :
16973 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16977 saved_CFLAGS="$CFLAGS"
16978 CFLAGS="$CFLAGS -Werror"
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16980 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16981 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16982 $as_echo_n "(cached) " >&6
16983 else
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16988 main ()
16992 return 0;
16994 _ACEOF
16995 if ac_fn_c_try_compile "$LINENO"; then :
16996 ac_cv_have_ms_hook_prologue="yes"
16997 else
16998 ac_cv_have_ms_hook_prologue="no"
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
17003 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
17004 CFLAGS="$saved_CFLAGS"
17005 if test "$ac_cv_have_ms_hook_prologue" = "yes"
17006 then
17008 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
17010 else
17011 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17018 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17019 if ${ac_cv_c_fortify_enabled+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #include <string.h>
17026 main ()
17028 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17029 #error Fortify enabled
17030 #endif
17032 return 0;
17034 _ACEOF
17035 if ac_fn_c_try_compile "$LINENO"; then :
17036 ac_cv_c_fortify_enabled=no
17037 else
17038 ac_cv_c_fortify_enabled=yes
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17043 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17044 if test "$ac_cv_c_fortify_enabled" = yes
17045 then
17046 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17051 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17052 if ${ac_cv_c_extern_prefix+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 extern int ac_test;
17059 main ()
17061 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17063 return 0;
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_c_extern_prefix="yes"
17068 else
17069 ac_cv_c_extern_prefix="no"
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17075 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17077 case $host_cpu in
17078 *i[3456789]86*)
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17080 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17081 if ${ac_cv_c_stdcall_suffix+:} false; then :
17082 $as_echo_n "(cached) " >&6
17083 else
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 #ifndef _MSC_VER
17087 #define __stdcall __attribute__((__stdcall__))
17088 #endif
17089 int __stdcall ac_test(int i) { return i; }
17091 main ()
17093 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17095 return 0;
17097 _ACEOF
17098 if ac_fn_c_try_link "$LINENO"; then :
17099 ac_cv_c_stdcall_suffix="yes"
17100 else
17101 ac_cv_c_stdcall_suffix="no"
17103 rm -f core conftest.err conftest.$ac_objext \
17104 conftest$ac_exeext conftest.$ac_ext
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17107 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17108 *) ac_cv_c_stdcall_suffix="no" ;;
17109 esac
17112 if test "$ac_cv_c_extern_prefix" = "yes"
17113 then
17114 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17116 asm_name_prefix="_"
17117 else
17118 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17120 asm_name_prefix=""
17124 if test "$ac_cv_c_stdcall_suffix" = "yes"
17125 then
17126 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17128 else
17129 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17135 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17136 if ${ac_cv_asm_func_def+:} false; then :
17137 $as_echo_n "(cached) " >&6
17138 else
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17143 main ()
17145 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17147 return 0;
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_asm_func_def=".def"
17152 else
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17157 main ()
17159 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17161 return 0;
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_asm_func_def=".type @function"
17166 else
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17171 main ()
17173 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17175 return 0;
17177 _ACEOF
17178 if ac_fn_c_try_link "$LINENO"; then :
17179 ac_cv_asm_func_def=".type 2"
17180 else
17181 ac_cv_asm_func_def="unknown"
17183 rm -f core conftest.err conftest.$ac_objext \
17184 conftest$ac_exeext conftest.$ac_ext
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17193 $as_echo "$ac_cv_asm_func_def" >&6; }
17195 case "$ac_cv_asm_func_def" in
17196 ".def")
17197 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17198 ".type @function")
17199 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17200 ".type 2")
17201 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17203 asm_func_header="" ;;
17204 esac
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17207 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17208 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17209 $as_echo_n "(cached) " >&6
17210 else
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 asm(".text\n\t.long 0");
17215 main ()
17219 return 0;
17221 _ACEOF
17222 if ac_fn_c_try_compile "$LINENO"; then :
17223 ac_cv_c_asm_outside_funcs="yes"
17224 else
17225 ac_cv_c_asm_outside_funcs="no"
17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17230 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17233 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17234 if ${ac_cv_c_dot_previous+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17241 main ()
17243 asm(".text\nac_test:\t.long 0\n\t.previous");
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"; then :
17249 ac_cv_c_dot_previous="yes"
17250 else
17251 ac_cv_c_dot_previous="no"
17253 rm -f core conftest.err conftest.$ac_objext \
17254 conftest$ac_exeext conftest.$ac_ext
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17257 $as_echo "$ac_cv_c_dot_previous" >&6; }
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17260 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17261 if ${ac_cv_c_cfi_support+:} false; then :
17262 $as_echo_n "(cached) " >&6
17263 else
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17268 main ()
17272 return 0;
17274 _ACEOF
17275 if ac_fn_c_try_compile "$LINENO"; then :
17276 ac_cv_c_cfi_support="yes"
17277 else
17278 ac_cv_c_cfi_support="no"
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17283 $as_echo "$ac_cv_c_cfi_support" >&6; }
17285 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17286 asm_func_trailer=""
17287 if test "$ac_cv_c_dot_previous" = "yes"
17288 then
17289 asm_func_trailer="\\n\\t.previous"
17291 if test "$ac_cv_c_cfi_support" = "yes"
17292 then
17293 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17294 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17296 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17298 UNWINDFLAGS=-fasynchronous-unwind-tables
17300 else
17301 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17303 if test "x$enable_win64" = "xyes"
17304 then
17305 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17309 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17312 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17313 then
17314 cat >>confdefs.h <<_ACEOF
17315 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17316 _ACEOF
17318 else
17319 cat >>confdefs.h <<_ACEOF
17320 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17321 _ACEOF
17325 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17328 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17332 case $build_os in
17333 cygwin*|mingw32*) TOOLSEXT=".exe"
17335 esac
17337 case $host_os in
17338 linux*)
17339 case $host_cpu in
17340 *i[3456789]86*|x86_64*|*aarch64*)
17341 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17342 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17344 esac
17346 esac
17349 ac_save_CFLAGS="$CFLAGS"
17350 CFLAGS="$CFLAGS $BUILTINFLAG"
17351 for ac_func in \
17352 __res_get_state \
17353 __res_getservers \
17354 _spawnvp \
17355 dlopen \
17356 epoll_create \
17357 ffs \
17358 finitef \
17359 fnmatch \
17360 fork \
17361 fpclass \
17362 fstatfs \
17363 fstatvfs \
17364 futimens \
17365 futimes \
17366 futimesat \
17367 getattrlist \
17368 getauxval \
17369 getifaddrs \
17370 getopt_long_only \
17371 kqueue \
17372 lstat \
17373 pipe2 \
17374 poll \
17375 port_create \
17376 prctl \
17377 pread \
17378 proc_pidinfo \
17379 pwrite \
17380 readdir \
17381 readlink \
17382 sched_yield \
17383 select \
17384 setproctitle \
17385 setprogname \
17386 settimeofday \
17387 sigprocmask \
17388 statfs \
17389 statvfs \
17390 strnlen \
17391 strtold \
17392 symlink \
17393 sysinfo \
17394 tcdrain \
17395 thr_kill2 \
17396 timegm \
17397 usleep
17399 do :
17400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17402 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17403 cat >>confdefs.h <<_ACEOF
17404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17405 _ACEOF
17408 done
17410 CFLAGS="$ac_save_CFLAGS"
17412 if test "$ac_cv_func_dlopen" = no
17413 then
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17415 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17416 if ${ac_cv_lib_dl_dlopen+:} false; then :
17417 $as_echo_n "(cached) " >&6
17418 else
17419 ac_check_lib_save_LIBS=$LIBS
17420 LIBS="-ldl $LIBS"
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17424 /* Override any GCC internal prototype to avoid an error.
17425 Use char because int might match the return type of a GCC
17426 builtin and then its argument prototype would still apply. */
17427 #ifdef __cplusplus
17428 extern "C"
17429 #endif
17430 char dlopen ();
17432 main ()
17434 return dlopen ();
17436 return 0;
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_lib_dl_dlopen=yes
17441 else
17442 ac_cv_lib_dl_dlopen=no
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 LIBS=$ac_check_lib_save_LIBS
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17449 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17450 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17451 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17452 DL_LIBS="-ldl"
17457 ac_wine_check_funcs_save_LIBS="$LIBS"
17458 LIBS="$LIBS $DL_LIBS"
17459 for ac_func in dladdr
17460 do :
17461 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17462 if test "x$ac_cv_func_dladdr" = xyes; then :
17463 cat >>confdefs.h <<_ACEOF
17464 #define HAVE_DLADDR 1
17465 _ACEOF
17468 done
17470 LIBS="$ac_wine_check_funcs_save_LIBS"
17472 if test "$ac_cv_func_poll" = no
17473 then
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17475 $as_echo_n "checking for poll in -lpoll... " >&6; }
17476 if ${ac_cv_lib_poll_poll+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 ac_check_lib_save_LIBS=$LIBS
17480 LIBS="-lpoll $LIBS"
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17484 /* Override any GCC internal prototype to avoid an error.
17485 Use char because int might match the return type of a GCC
17486 builtin and then its argument prototype would still apply. */
17487 #ifdef __cplusplus
17488 extern "C"
17489 #endif
17490 char poll ();
17492 main ()
17494 return poll ();
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_link "$LINENO"; then :
17500 ac_cv_lib_poll_poll=yes
17501 else
17502 ac_cv_lib_poll_poll=no
17504 rm -f core conftest.err conftest.$ac_objext \
17505 conftest$ac_exeext conftest.$ac_ext
17506 LIBS=$ac_check_lib_save_LIBS
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17509 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17510 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17511 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17512 POLL_LIBS="-lpoll"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17519 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17520 if ${ac_cv_search_gethostbyname+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 ac_func_search_save_LIBS=$LIBS
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17527 /* Override any GCC internal prototype to avoid an error.
17528 Use char because int might match the return type of a GCC
17529 builtin and then its argument prototype would still apply. */
17530 #ifdef __cplusplus
17531 extern "C"
17532 #endif
17533 char gethostbyname ();
17535 main ()
17537 return gethostbyname ();
17539 return 0;
17541 _ACEOF
17542 for ac_lib in '' nsl; do
17543 if test -z "$ac_lib"; then
17544 ac_res="none required"
17545 else
17546 ac_res=-l$ac_lib
17547 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_search_gethostbyname=$ac_res
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext
17554 if ${ac_cv_search_gethostbyname+:} false; then :
17555 break
17557 done
17558 if ${ac_cv_search_gethostbyname+:} false; then :
17560 else
17561 ac_cv_search_gethostbyname=no
17563 rm conftest.$ac_ext
17564 LIBS=$ac_func_search_save_LIBS
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17567 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17568 ac_res=$ac_cv_search_gethostbyname
17569 if test "$ac_res" != no; then :
17570 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17576 $as_echo_n "checking for library containing connect... " >&6; }
17577 if ${ac_cv_search_connect+:} false; then :
17578 $as_echo_n "(cached) " >&6
17579 else
17580 ac_func_search_save_LIBS=$LIBS
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17584 /* Override any GCC internal prototype to avoid an error.
17585 Use char because int might match the return type of a GCC
17586 builtin and then its argument prototype would still apply. */
17587 #ifdef __cplusplus
17588 extern "C"
17589 #endif
17590 char connect ();
17592 main ()
17594 return connect ();
17596 return 0;
17598 _ACEOF
17599 for ac_lib in '' socket; do
17600 if test -z "$ac_lib"; then
17601 ac_res="none required"
17602 else
17603 ac_res=-l$ac_lib
17604 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17606 if ac_fn_c_try_link "$LINENO"; then :
17607 ac_cv_search_connect=$ac_res
17609 rm -f core conftest.err conftest.$ac_objext \
17610 conftest$ac_exeext
17611 if ${ac_cv_search_connect+:} false; then :
17612 break
17614 done
17615 if ${ac_cv_search_connect+:} false; then :
17617 else
17618 ac_cv_search_connect=no
17620 rm conftest.$ac_ext
17621 LIBS=$ac_func_search_save_LIBS
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17624 $as_echo "$ac_cv_search_connect" >&6; }
17625 ac_res=$ac_cv_search_connect
17626 if test "$ac_res" != no; then :
17627 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17633 $as_echo_n "checking for library containing inet_aton... " >&6; }
17634 if ${ac_cv_search_inet_aton+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 ac_func_search_save_LIBS=$LIBS
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17644 #ifdef __cplusplus
17645 extern "C"
17646 #endif
17647 char inet_aton ();
17649 main ()
17651 return inet_aton ();
17653 return 0;
17655 _ACEOF
17656 for ac_lib in '' resolv; do
17657 if test -z "$ac_lib"; then
17658 ac_res="none required"
17659 else
17660 ac_res=-l$ac_lib
17661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17663 if ac_fn_c_try_link "$LINENO"; then :
17664 ac_cv_search_inet_aton=$ac_res
17666 rm -f core conftest.err conftest.$ac_objext \
17667 conftest$ac_exeext
17668 if ${ac_cv_search_inet_aton+:} false; then :
17669 break
17671 done
17672 if ${ac_cv_search_inet_aton+:} false; then :
17674 else
17675 ac_cv_search_inet_aton=no
17677 rm conftest.$ac_ext
17678 LIBS=$ac_func_search_save_LIBS
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17681 $as_echo "$ac_cv_search_inet_aton" >&6; }
17682 ac_res=$ac_cv_search_inet_aton
17683 if test "$ac_res" != no; then :
17684 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17689 for ac_func in \
17690 getaddrinfo \
17691 getnameinfo \
17692 getnetbyname \
17693 getprotobyname \
17694 getprotobynumber \
17695 getservbyport \
17696 inet_addr \
17697 inet_network \
17698 inet_ntop \
17699 inet_pton \
17701 do :
17702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17704 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17705 cat >>confdefs.h <<_ACEOF
17706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17707 _ACEOF
17710 done
17713 ac_save_LIBS=$LIBS
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17715 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17716 if ${ac_cv_search_clock_gettime+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 ac_func_search_save_LIBS=$LIBS
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17723 /* Override any GCC internal prototype to avoid an error.
17724 Use char because int might match the return type of a GCC
17725 builtin and then its argument prototype would still apply. */
17726 #ifdef __cplusplus
17727 extern "C"
17728 #endif
17729 char clock_gettime ();
17731 main ()
17733 return clock_gettime ();
17735 return 0;
17737 _ACEOF
17738 for ac_lib in '' rt; do
17739 if test -z "$ac_lib"; then
17740 ac_res="none required"
17741 else
17742 ac_res=-l$ac_lib
17743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 ac_cv_search_clock_gettime=$ac_res
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext
17750 if ${ac_cv_search_clock_gettime+:} false; then :
17751 break
17753 done
17754 if ${ac_cv_search_clock_gettime+:} false; then :
17756 else
17757 ac_cv_search_clock_gettime=no
17759 rm conftest.$ac_ext
17760 LIBS=$ac_func_search_save_LIBS
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17763 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17764 ac_res=$ac_cv_search_clock_gettime
17765 if test "$ac_res" != no; then :
17766 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17768 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17770 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17774 LIBS=$ac_save_LIBS
17776 if test "x$with_ldap" != "xno"
17777 then
17778 if ${LDAP_CFLAGS:+false} :; then :
17779 if ${PKG_CONFIG+:} false; then :
17780 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17784 if ${LDAP_LIBS:+false} :; then :
17785 if ${PKG_CONFIG+:} false; then :
17786 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17790 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17791 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17792 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17793 ac_save_CPPFLAGS=$CPPFLAGS
17794 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17795 for ac_header in ldap.h lber.h
17796 do :
17797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17798 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17799 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17800 cat >>confdefs.h <<_ACEOF
17801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17802 _ACEOF
17806 done
17808 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17809 then
17810 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17812 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17814 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17815 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17816 $as_echo_n "(cached) " >&6
17817 else
17818 ac_check_lib_save_LIBS=$LIBS
17819 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17823 /* Override any GCC internal prototype to avoid an error.
17824 Use char because int might match the return type of a GCC
17825 builtin and then its argument prototype would still apply. */
17826 #ifdef __cplusplus
17827 extern "C"
17828 #endif
17829 char ldap_initialize ();
17831 main ()
17833 return ldap_initialize ();
17835 return 0;
17837 _ACEOF
17838 if ac_fn_c_try_link "$LINENO"; then :
17839 ac_cv_lib_ldap_r_ldap_initialize=yes
17840 else
17841 ac_cv_lib_ldap_r_ldap_initialize=no
17843 rm -f core conftest.err conftest.$ac_objext \
17844 conftest$ac_exeext conftest.$ac_ext
17845 LIBS=$ac_check_lib_save_LIBS
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17848 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17849 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17851 $as_echo_n "checking for ber_init in -llber... " >&6; }
17852 if ${ac_cv_lib_lber_ber_init+:} false; then :
17853 $as_echo_n "(cached) " >&6
17854 else
17855 ac_check_lib_save_LIBS=$LIBS
17856 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17860 /* Override any GCC internal prototype to avoid an error.
17861 Use char because int might match the return type of a GCC
17862 builtin and then its argument prototype would still apply. */
17863 #ifdef __cplusplus
17864 extern "C"
17865 #endif
17866 char ber_init ();
17868 main ()
17870 return ber_init ();
17872 return 0;
17874 _ACEOF
17875 if ac_fn_c_try_link "$LINENO"; then :
17876 ac_cv_lib_lber_ber_init=yes
17877 else
17878 ac_cv_lib_lber_ber_init=no
17880 rm -f core conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17882 LIBS=$ac_check_lib_save_LIBS
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17885 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17886 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17888 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17890 else
17891 LDAP_LIBS=""
17894 else
17895 LDAP_LIBS=""
17898 else
17899 LDAP_LIBS=""
17902 ac_wine_check_funcs_save_LIBS="$LIBS"
17903 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17904 for ac_func in \
17905 ldap_count_references \
17906 ldap_first_reference \
17907 ldap_next_reference \
17908 ldap_parse_reference \
17909 ldap_parse_sort_control \
17910 ldap_parse_sortresponse_control \
17911 ldap_parse_vlv_control \
17912 ldap_parse_vlvresponse_control
17913 do :
17914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17917 cat >>confdefs.h <<_ACEOF
17918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17919 _ACEOF
17922 done
17924 LIBS="$ac_wine_check_funcs_save_LIBS"
17925 else
17926 LDAP_LIBS=""
17928 CPPFLAGS=$ac_save_CPPFLAGS
17929 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17930 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17933 if test "x$LDAP_LIBS" = "x"; then :
17934 case "x$with_ldap" in
17935 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17936 xno) ;;
17937 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17938 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17939 esac
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17944 $as_echo_n "checking for sched_setaffinity... " >&6; }
17945 if ${wine_cv_have_sched_setaffinity+:} false; then :
17946 $as_echo_n "(cached) " >&6
17947 else
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17950 #define _GNU_SOURCE
17951 #include <sched.h>
17953 main ()
17955 sched_setaffinity(0, 0, 0);
17957 return 0;
17959 _ACEOF
17960 if ac_fn_c_try_link "$LINENO"; then :
17961 wine_cv_have_sched_setaffinity=yes
17962 else
17963 wine_cv_have_sched_setaffinity=no
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17969 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17970 if test "$wine_cv_have_sched_setaffinity" = "yes"
17971 then
17973 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17978 $as_echo_n "checking for fallocate... " >&6; }
17979 if ${wine_cv_have_fallocate+:} false; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17984 #define _GNU_SOURCE
17985 #include <fcntl.h>
17987 main ()
17989 fallocate(-1, 0, 0, 0);
17991 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_link "$LINENO"; then :
17995 wine_cv_have_fallocate=yes
17996 else
17997 wine_cv_have_fallocate=no
17999 rm -f core conftest.err conftest.$ac_objext \
18000 conftest$ac_exeext conftest.$ac_ext
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18003 $as_echo "$wine_cv_have_fallocate" >&6; }
18004 if test "$wine_cv_have_fallocate" = "yes"
18005 then
18007 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18013 $as_echo_n "checking for inline... " >&6; }
18014 if ${ac_cv_c_inline+:} false; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017 ac_cv_c_inline=no
18018 for ac_kw in inline __inline__ __inline; do
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18021 #ifndef __cplusplus
18022 typedef int foo_t;
18023 static $ac_kw foo_t static_foo () {return 0; }
18024 $ac_kw foo_t foo () {return 0; }
18025 #endif
18027 _ACEOF
18028 if ac_fn_c_try_compile "$LINENO"; then :
18029 ac_cv_c_inline=$ac_kw
18031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18032 test "$ac_cv_c_inline" != no && break
18033 done
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18037 $as_echo "$ac_cv_c_inline" >&6; }
18039 case $ac_cv_c_inline in
18040 inline | yes) ;;
18042 case $ac_cv_c_inline in
18043 no) ac_val=;;
18044 *) ac_val=$ac_cv_c_inline;;
18045 esac
18046 cat >>confdefs.h <<_ACEOF
18047 #ifndef __cplusplus
18048 #define inline $ac_val
18049 #endif
18050 _ACEOF
18052 esac
18054 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18055 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18057 cat >>confdefs.h <<_ACEOF
18058 #define HAVE_FSBLKCNT_T 1
18059 _ACEOF
18063 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18064 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_FSFILCNT_T 1
18068 _ACEOF
18073 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18074 #include <signal.h>
18076 if test "x$ac_cv_type_sigset_t" = xyes; then :
18078 cat >>confdefs.h <<_ACEOF
18079 #define HAVE_SIGSET_T 1
18080 _ACEOF
18085 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18087 if test "x$ac_cv_type_request_sense" = xyes; then :
18089 cat >>confdefs.h <<_ACEOF
18090 #define HAVE_REQUEST_SENSE 1
18091 _ACEOF
18097 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18098 #ifdef HAVE_SYS_SOCKET_H
18099 #include <sys/socket.h>
18100 #endif
18101 #ifdef HAVE_SYS_SOCKETVAR_H
18102 #include <sys/socketvar.h>
18103 #endif
18104 #ifdef HAVE_NET_ROUTE_H
18105 #include <net/route.h>
18106 #endif
18107 #ifdef HAVE_NETINET_IN_H
18108 #include <netinet/in.h>
18109 #endif
18110 #ifdef HAVE_NETINET_IN_SYSTM_H
18111 #include <netinet/in_systm.h>
18112 #endif
18113 #ifdef HAVE_NETINET_IP_H
18114 #include <netinet/ip.h>
18115 #endif
18116 #ifdef HAVE_NETINET_IN_PCB_H
18117 #include <netinet/in_pcb.h>
18118 #endif
18120 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18122 cat >>confdefs.h <<_ACEOF
18123 #define HAVE_STRUCT_XINPGEN 1
18124 _ACEOF
18130 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18131 #include <link.h>
18132 #endif
18133 #ifdef HAVE_SYS_LINK_H
18134 #include <sys/link.h>
18135 #endif
18137 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18139 cat >>confdefs.h <<_ACEOF
18140 #define HAVE_STRUCT_R_DEBUG 1
18141 _ACEOF
18145 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18146 #include <link.h>
18147 #endif
18148 #ifdef HAVE_SYS_LINK_H
18149 #include <sys/link.h>
18150 #endif
18152 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18154 cat >>confdefs.h <<_ACEOF
18155 #define HAVE_STRUCT_LINK_MAP 1
18156 _ACEOF
18162 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18163 #include <linux/input.h>
18164 #endif
18166 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18168 cat >>confdefs.h <<_ACEOF
18169 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18170 _ACEOF
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18177 $as_echo_n "checking for if_nameindex... " >&6; }
18178 if ${wine_cv_have_if_nameindex+:} false; then :
18179 $as_echo_n "(cached) " >&6
18180 else
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18183 #ifdef HAVE_SYS_TYPES_H
18184 #include <sys/types.h>
18185 #endif
18186 #ifdef HAVE_SYS_SOCKET_H
18187 #include <sys/socket.h>
18188 #endif
18189 #ifdef HAVE_NET_IF_H
18190 # include <net/if.h>
18191 #endif
18193 main ()
18195 struct if_nameindex *p = if_nameindex(); return p->if_index;
18197 return 0;
18199 _ACEOF
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 wine_cv_have_if_nameindex=yes
18202 else
18203 wine_cv_have_if_nameindex=no
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18209 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18210 if test "$wine_cv_have_if_nameindex" = "yes"
18211 then
18213 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18218 $as_echo_n "checking for sigaddset... " >&6; }
18219 if ${wine_cv_have_sigaddset+:} false; then :
18220 $as_echo_n "(cached) " >&6
18221 else
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18224 #include <signal.h>
18226 main ()
18228 sigset_t set; sigaddset(&set,SIGTERM);
18230 return 0;
18232 _ACEOF
18233 if ac_fn_c_try_link "$LINENO"; then :
18234 wine_cv_have_sigaddset=yes
18235 else
18236 wine_cv_have_sigaddset=no
18238 rm -f core conftest.err conftest.$ac_objext \
18239 conftest$ac_exeext conftest.$ac_ext
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18242 $as_echo "$wine_cv_have_sigaddset" >&6; }
18243 if test "$wine_cv_have_sigaddset" = "yes"
18244 then
18246 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18252 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18253 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18254 $as_echo_n "(cached) " >&6
18255 else
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18258 #include <netdb.h>
18260 main ()
18263 char *name=0;
18264 struct hostent he;
18265 struct hostent *result;
18266 char *buf=0;
18267 int bufsize=0;
18268 int errnr;
18269 char *addr=0;
18270 int addrlen=0;
18271 int addrtype=0;
18272 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18273 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18276 return 0;
18278 _ACEOF
18279 if ac_fn_c_try_link "$LINENO"; then :
18280 wine_cv_linux_gethostbyname_r_6=yes
18281 else
18282 wine_cv_linux_gethostbyname_r_6=no
18285 rm -f core conftest.err conftest.$ac_objext \
18286 conftest$ac_exeext conftest.$ac_ext
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18290 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18291 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18292 then
18294 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18298 if test "$ac_cv_header_linux_joystick_h" = "yes"
18299 then
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18301 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18302 if ${wine_cv_linux_joystick_22_api+:} false; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18308 #include <sys/ioctl.h>
18309 #include <sys/types.h>
18310 #include <linux/joystick.h>
18312 struct js_event blub;
18313 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18314 #error "no 2.2 header"
18315 #endif
18318 main ()
18320 /*empty*/
18322 return 0;
18324 _ACEOF
18325 if ac_fn_c_try_compile "$LINENO"; then :
18326 wine_cv_linux_joystick_22_api=yes
18327 else
18328 wine_cv_linux_joystick_22_api=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18334 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18335 if test "$wine_cv_linux_joystick_22_api" = "yes"
18336 then
18338 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18344 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18345 #ifdef HAVE_SYS_PARAM_H
18346 # include <sys/param.h>
18347 #endif
18348 #ifdef HAVE_SYS_MOUNT_H
18349 # include <sys/mount.h>
18350 #endif
18351 #ifdef HAVE_SYS_VFS_H
18352 # include <sys/vfs.h>
18353 #endif
18354 #ifdef HAVE_SYS_STATFS_H
18355 # include <sys/statfs.h>
18356 #endif
18358 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18360 cat >>confdefs.h <<_ACEOF
18361 #define HAVE_STRUCT_STATFS_F_BFREE 1
18362 _ACEOF
18366 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18367 #ifdef HAVE_SYS_PARAM_H
18368 # include <sys/param.h>
18369 #endif
18370 #ifdef HAVE_SYS_MOUNT_H
18371 # include <sys/mount.h>
18372 #endif
18373 #ifdef HAVE_SYS_VFS_H
18374 # include <sys/vfs.h>
18375 #endif
18376 #ifdef HAVE_SYS_STATFS_H
18377 # include <sys/statfs.h>
18378 #endif
18380 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18382 cat >>confdefs.h <<_ACEOF
18383 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18384 _ACEOF
18388 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18389 #ifdef HAVE_SYS_PARAM_H
18390 # include <sys/param.h>
18391 #endif
18392 #ifdef HAVE_SYS_MOUNT_H
18393 # include <sys/mount.h>
18394 #endif
18395 #ifdef HAVE_SYS_VFS_H
18396 # include <sys/vfs.h>
18397 #endif
18398 #ifdef HAVE_SYS_STATFS_H
18399 # include <sys/statfs.h>
18400 #endif
18402 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18404 cat >>confdefs.h <<_ACEOF
18405 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18406 _ACEOF
18410 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18411 #ifdef HAVE_SYS_PARAM_H
18412 # include <sys/param.h>
18413 #endif
18414 #ifdef HAVE_SYS_MOUNT_H
18415 # include <sys/mount.h>
18416 #endif
18417 #ifdef HAVE_SYS_VFS_H
18418 # include <sys/vfs.h>
18419 #endif
18420 #ifdef HAVE_SYS_STATFS_H
18421 # include <sys/statfs.h>
18422 #endif
18424 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18426 cat >>confdefs.h <<_ACEOF
18427 #define HAVE_STRUCT_STATFS_F_FFREE 1
18428 _ACEOF
18432 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18433 #ifdef HAVE_SYS_PARAM_H
18434 # include <sys/param.h>
18435 #endif
18436 #ifdef HAVE_SYS_MOUNT_H
18437 # include <sys/mount.h>
18438 #endif
18439 #ifdef HAVE_SYS_VFS_H
18440 # include <sys/vfs.h>
18441 #endif
18442 #ifdef HAVE_SYS_STATFS_H
18443 # include <sys/statfs.h>
18444 #endif
18446 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18448 cat >>confdefs.h <<_ACEOF
18449 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18450 _ACEOF
18454 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18455 #ifdef HAVE_SYS_PARAM_H
18456 # include <sys/param.h>
18457 #endif
18458 #ifdef HAVE_SYS_MOUNT_H
18459 # include <sys/mount.h>
18460 #endif
18461 #ifdef HAVE_SYS_VFS_H
18462 # include <sys/vfs.h>
18463 #endif
18464 #ifdef HAVE_SYS_STATFS_H
18465 # include <sys/statfs.h>
18466 #endif
18468 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18470 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18472 _ACEOF
18478 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18479 #include <sys/statvfs.h>
18480 #endif
18482 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18484 cat >>confdefs.h <<_ACEOF
18485 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18486 _ACEOF
18492 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18493 #include <dirent.h>
18494 #endif
18496 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18498 cat >>confdefs.h <<_ACEOF
18499 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18500 _ACEOF
18506 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18507 #ifdef HAVE_SYS_SOCKET_H
18508 # include <sys/socket.h>
18509 #endif
18510 #ifdef HAVE_SYS_UN_H
18511 # include <sys/un.h>
18512 #endif
18514 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18518 _ACEOF
18522 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18523 #ifdef HAVE_SYS_SOCKET_H
18524 # include <sys/socket.h>
18525 #endif
18526 #ifdef HAVE_SYS_UN_H
18527 # include <sys/un.h>
18528 #endif
18530 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18532 cat >>confdefs.h <<_ACEOF
18533 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18534 _ACEOF
18538 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18539 #ifdef HAVE_SYS_SOCKET_H
18540 # include <sys/socket.h>
18541 #endif
18542 #ifdef HAVE_SYS_UN_H
18543 # include <sys/un.h>
18544 #endif
18546 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18548 cat >>confdefs.h <<_ACEOF
18549 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18550 _ACEOF
18556 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18557 #ifdef HAVE_SCSI_SG_H
18558 #include <scsi/sg.h>
18559 #endif
18561 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18563 cat >>confdefs.h <<_ACEOF
18564 #define HAVE_SCSIREQ_T_CMD 1
18565 _ACEOF
18569 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>
18570 #ifdef HAVE_SCSI_SG_H
18571 #include <scsi/sg.h>
18572 #endif
18574 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18576 cat >>confdefs.h <<_ACEOF
18577 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18578 _ACEOF
18584 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18586 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18588 cat >>confdefs.h <<_ACEOF
18589 #define HAVE_SIGINFO_T_SI_FD 1
18590 _ACEOF
18596 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18597 #ifdef HAVE_SYS_MTIO_H
18598 #include <sys/mtio.h>
18599 #endif
18601 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18603 cat >>confdefs.h <<_ACEOF
18604 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18605 _ACEOF
18609 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18610 #ifdef HAVE_SYS_MTIO_H
18611 #include <sys/mtio.h>
18612 #endif
18614 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18616 cat >>confdefs.h <<_ACEOF
18617 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18618 _ACEOF
18622 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18623 #ifdef HAVE_SYS_MTIO_H
18624 #include <sys/mtio.h>
18625 #endif
18627 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18629 cat >>confdefs.h <<_ACEOF
18630 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18631 _ACEOF
18637 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18638 #include <getopt.h>
18639 #endif
18641 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18643 cat >>confdefs.h <<_ACEOF
18644 #define HAVE_STRUCT_OPTION_NAME 1
18645 _ACEOF
18651 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18652 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18654 cat >>confdefs.h <<_ACEOF
18655 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18656 _ACEOF
18660 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18661 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18663 cat >>confdefs.h <<_ACEOF
18664 #define HAVE_STRUCT_STAT_ST_MTIM 1
18665 _ACEOF
18669 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18670 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18674 _ACEOF
18678 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18679 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_STRUCT_STAT_ST_CTIM 1
18683 _ACEOF
18687 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18688 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18692 _ACEOF
18696 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18697 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18699 cat >>confdefs.h <<_ACEOF
18700 #define HAVE_STRUCT_STAT_ST_ATIM 1
18701 _ACEOF
18705 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18706 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18708 cat >>confdefs.h <<_ACEOF
18709 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18710 _ACEOF
18714 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18715 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18719 _ACEOF
18723 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18724 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18728 _ACEOF
18732 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18733 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18735 cat >>confdefs.h <<_ACEOF
18736 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18737 _ACEOF
18741 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18742 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18746 _ACEOF
18750 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18751 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18753 cat >>confdefs.h <<_ACEOF
18754 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18755 _ACEOF
18761 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
18762 #include <sys/types.h>
18763 #endif
18764 #ifdef HAVE_NETINET_IN_H
18765 #include <netinet/in.h>
18766 #endif
18768 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18772 _ACEOF
18778 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18779 #include <sys/types.h>
18780 #endif
18781 #ifdef HAVE_NETINET_IN_H
18782 #include <netinet/in.h>
18783 #endif
18784 #ifdef HAVE_RESOLV_H
18785 #include <resolv.h>
18786 #endif
18788 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT___RES_STATE 1
18792 _ACEOF
18798 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
18799 #include <resolv.h>
18800 #endif
18802 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18806 _ACEOF
18812 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18813 #include <sys/types.h>
18814 #endif
18815 #ifdef HAVE_NETINET_IN_H
18816 # include <netinet/in.h>
18817 #endif
18818 #ifdef HAVE_ARPA_NAMESER_H
18819 # include <arpa/nameser.h>
18820 #endif
18822 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_NS_MSG__MSG_PTR 1
18826 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18833 #include <sys/types.h>
18834 #endif
18835 #ifdef HAVE_NETINET_IN_H
18836 #include <netinet/in.h>
18837 #endif
18838 #ifdef HAVE_NETINET_IP_H
18839 #include <netinet/ip.h>
18840 #endif
18841 #ifdef HAVE_NETINET_IP_ICMP_H
18842 #include <netinet/ip_icmp.h>
18843 #endif
18844 #ifdef HAVE_NETINET_ICMP_VAR_H
18845 #include <netinet/icmp_var.h>
18846 #endif
18848 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18850 cat >>confdefs.h <<_ACEOF
18851 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18852 _ACEOF
18858 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18859 #include <sys/types.h>
18860 #endif
18861 #ifdef HAVE_ALIAS_H
18862 #include <alias.h>
18863 #endif
18864 #ifdef HAVE_SYS_SOCKET_H
18865 #include <sys/socket.h>
18866 #endif
18867 #ifdef HAVE_SYS_SOCKETVAR_H
18868 #include <sys/socketvar.h>
18869 #endif
18870 #ifdef HAVE_SYS_TIMEOUT_H
18871 #include <sys/timeout.h>
18872 #endif
18873 #ifdef HAVE_NETINET_IN_H
18874 #include <netinet/in.h>
18875 #endif
18876 #ifdef HAVE_NETINET_IN_SYSTM_H
18877 #include <netinet/in_systm.h>
18878 #endif
18879 #ifdef HAVE_NETINET_IP_H
18880 #include <netinet/ip.h>
18881 #endif
18882 #ifdef HAVE_NETINET_IP_VAR_H
18883 #include <netinet/ip_var.h>
18884 #endif
18885 #ifdef HAVE_NETINET_IP_ICMP_H
18886 #include <netinet/ip_icmp.h>
18887 #endif
18888 #ifdef HAVE_NETINET_ICMP_VAR_H
18889 #include <netinet/icmp_var.h>
18890 #endif
18892 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18894 cat >>confdefs.h <<_ACEOF
18895 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18896 _ACEOF
18902 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18903 #include <sys/types.h>
18904 #endif
18905 #ifdef HAVE_SYS_SOCKETVAR_H
18906 #include <sys/socketvar.h>
18907 #endif
18908 #ifdef HAVE_NETINET_IN_H
18909 #include <netinet/in.h>
18910 #endif
18911 #ifdef HAVE_NETINET_IP_VAR_H
18912 #include <netinet/ip_var.h>
18913 #endif
18915 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18919 _ACEOF
18925 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
18926 #include <netinet/ip_var.h>
18927 #endif
18929 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18933 _ACEOF
18939 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18940 #include <sys/types.h>
18941 #endif
18942 #ifdef HAVE_SYS_SOCKETVAR_H
18943 #include <sys/socketvar.h>
18944 #endif
18945 #ifdef HAVE_NETINET_IN_H
18946 #include <netinet/in.h>
18947 #endif
18948 #ifdef HAVE_NETINET_TCP_H
18949 #include <netinet/tcp.h>
18950 #endif
18951 #ifdef HAVE_NETINET_TCP_VAR_H
18952 #include <netinet/tcp_var.h>
18953 #endif
18955 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18959 _ACEOF
18965 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
18966 #include <netinet/tcp_var.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18973 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18980 #include <sys/types.h>
18981 #endif
18982 #ifdef HAVE_NETINET_IN_H
18983 #include <netinet/in.h>
18984 #endif
18985 #ifdef HAVE_NETINET_IP_VAR_H
18986 #include <netinet/ip_var.h>
18987 #endif
18988 #ifdef HAVE_NETINET_UDP_H
18989 #include <netinet/udp.h>
18990 #endif
18991 #ifdef HAVE_NETINET_UDP_VAR_H
18992 #include <netinet/udp_var.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18999 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19006 #include <sys/types.h>
19007 #endif
19008 #ifdef HAVE_NET_IF_H
19009 # include <net/if.h>
19010 #endif
19012 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19016 _ACEOF
19022 ac_save_LIBS="$LIBS"
19023 LIBS="$LIBS -lm"
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19025 $as_echo_n "checking for isfinite... " >&6; }
19026 if ${ac_cv_have_isfinite+:} false; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 #define _GNU_SOURCE
19032 #include <math.h>
19034 main ()
19036 float f = 0.0; return isfinite(f)
19038 return 0;
19040 _ACEOF
19041 if ac_fn_c_try_link "$LINENO"; then :
19042 ac_cv_have_isfinite="yes"
19043 else
19044 ac_cv_have_isfinite="no"
19046 rm -f core conftest.err conftest.$ac_objext \
19047 conftest$ac_exeext conftest.$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19050 $as_echo "$ac_cv_have_isfinite" >&6; }
19051 if test "$ac_cv_have_isfinite" = "yes"
19052 then
19054 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19059 $as_echo_n "checking for isinf... " >&6; }
19060 if ${ac_cv_have_isinf+:} false; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19065 #include <math.h>
19067 main ()
19069 float f = 0.0; return isinf(f)
19071 return 0;
19073 _ACEOF
19074 if ac_fn_c_try_link "$LINENO"; then :
19075 ac_cv_have_isinf="yes"
19076 else
19077 ac_cv_have_isinf="no"
19079 rm -f core conftest.err conftest.$ac_objext \
19080 conftest$ac_exeext conftest.$ac_ext
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19083 $as_echo "$ac_cv_have_isinf" >&6; }
19084 if test "$ac_cv_have_isinf" = "yes"
19085 then
19087 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19092 $as_echo_n "checking for isnan... " >&6; }
19093 if ${ac_cv_have_isnan+:} false; then :
19094 $as_echo_n "(cached) " >&6
19095 else
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19098 #include <math.h>
19100 main ()
19102 float f = 0.0; return isnan(f)
19104 return 0;
19106 _ACEOF
19107 if ac_fn_c_try_link "$LINENO"; then :
19108 ac_cv_have_isnan="yes"
19109 else
19110 ac_cv_have_isnan="no"
19112 rm -f core conftest.err conftest.$ac_objext \
19113 conftest$ac_exeext conftest.$ac_ext
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19116 $as_echo "$ac_cv_have_isnan" >&6; }
19117 if test "$ac_cv_have_isnan" = "yes"
19118 then
19120 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19124 for ac_func in \
19125 acosh \
19126 acoshf \
19127 asinh \
19128 asinhf \
19129 atanh \
19130 atanhf \
19131 cbrt \
19132 cbrtf \
19133 erf \
19134 erfc \
19135 erfcf \
19136 erff \
19137 exp2 \
19138 exp2f \
19139 expm1 \
19140 expm1f \
19141 ilogb \
19142 ilogbf \
19143 j0 \
19144 j1 \
19145 jn \
19146 lgamma \
19147 lgammaf \
19148 llrint \
19149 llrintf \
19150 llround \
19151 llroundf \
19152 log1p \
19153 log1pf \
19154 log2 \
19155 log2f \
19156 lrint \
19157 lrintf \
19158 lround \
19159 lroundf \
19160 nearbyint \
19161 nearbyintf \
19162 nexttoward \
19163 nexttowardf \
19164 powl \
19165 remainder \
19166 remainderf \
19167 rint \
19168 rintf \
19169 round \
19170 roundf \
19171 trunc \
19172 truncf \
19173 y0 \
19174 y1 \
19177 do :
19178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19180 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19183 _ACEOF
19186 done
19188 LIBS="$ac_save_LIBS"
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19191 $as_echo_n "checking for __builtin_clz... " >&6; }
19192 if ${ac_cv_have___builtin_clz+:} false; then :
19193 $as_echo_n "(cached) " >&6
19194 else
19195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19196 /* end confdefs.h. */
19199 main ()
19201 return __builtin_clz(1)
19203 return 0;
19205 _ACEOF
19206 if ac_fn_c_try_link "$LINENO"; then :
19207 ac_cv_have___builtin_clz="yes"
19208 else
19209 ac_cv_have___builtin_clz="no"
19211 rm -f core conftest.err conftest.$ac_objext \
19212 conftest$ac_exeext conftest.$ac_ext
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19215 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19216 if test "$ac_cv_have___builtin_clz" = "yes"
19217 then
19219 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19224 $as_echo_n "checking for __builtin_popcount... " >&6; }
19225 if ${ac_cv_have___builtin_popcount+:} false; then :
19226 $as_echo_n "(cached) " >&6
19227 else
19228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h. */
19232 main ()
19234 return __builtin_popcount(1)
19236 return 0;
19238 _ACEOF
19239 if ac_fn_c_try_link "$LINENO"; then :
19240 ac_cv_have___builtin_popcount="yes"
19241 else
19242 ac_cv_have___builtin_popcount="no"
19244 rm -f core conftest.err conftest.$ac_objext \
19245 conftest$ac_exeext conftest.$ac_ext
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19248 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19249 if test "$ac_cv_have___builtin_popcount" = "yes"
19250 then
19252 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19257 $as_echo_n "checking for __clear_cache... " >&6; }
19258 if ${ac_cv_have___clear_cache+:} false; then :
19259 $as_echo_n "(cached) " >&6
19260 else
19261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19262 /* end confdefs.h. */
19265 main ()
19267 __clear_cache((void*)0, (void*)0); return 0;
19269 return 0;
19271 _ACEOF
19272 if ac_fn_c_try_link "$LINENO"; then :
19273 ac_cv_have___clear_cache="yes"
19274 else
19275 ac_cv_have___clear_cache="no"
19277 rm -f core conftest.err conftest.$ac_objext \
19278 conftest$ac_exeext conftest.$ac_ext
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19281 $as_echo "$ac_cv_have___clear_cache" >&6; }
19282 if test "$ac_cv_have___clear_cache" = "yes"
19283 then
19285 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19290 case $host_cpu in
19291 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19292 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19293 if ${ac_cv_cpp_def___i386__+:} false; then :
19294 $as_echo_n "(cached) " >&6
19295 else
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19298 #ifndef __i386__
19300 #endif
19301 _ACEOF
19302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19303 $EGREP "yes" >/dev/null 2>&1; then :
19304 ac_cv_cpp_def___i386__=yes
19305 else
19306 ac_cv_cpp_def___i386__=no
19308 rm -f conftest*
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19312 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19313 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19314 CFLAGS="$CFLAGS -D__i386__"
19315 LINTFLAGS="$LINTFLAGS -D__i386__"
19316 fi ;;
19317 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19318 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19319 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19320 $as_echo_n "(cached) " >&6
19321 else
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 #ifndef __x86_64__
19326 #endif
19327 _ACEOF
19328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19329 $EGREP "yes" >/dev/null 2>&1; then :
19330 ac_cv_cpp_def___x86_64__=yes
19331 else
19332 ac_cv_cpp_def___x86_64__=no
19334 rm -f conftest*
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19338 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19339 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19340 CFLAGS="$CFLAGS -D__x86_64__"
19341 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19342 fi ;;
19343 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19344 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19345 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19346 $as_echo_n "(cached) " >&6
19347 else
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19350 #ifndef __sparc64__
19352 #endif
19353 _ACEOF
19354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19355 $EGREP "yes" >/dev/null 2>&1; then :
19356 ac_cv_cpp_def___sparc64__=yes
19357 else
19358 ac_cv_cpp_def___sparc64__=no
19360 rm -f conftest*
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19364 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19365 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19366 CFLAGS="$CFLAGS -D__sparc64__"
19367 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19368 fi ;;
19369 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19370 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19371 if ${ac_cv_cpp_def___sparc__+:} false; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375 /* end confdefs.h. */
19376 #ifndef __sparc__
19378 #endif
19379 _ACEOF
19380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19381 $EGREP "yes" >/dev/null 2>&1; then :
19382 ac_cv_cpp_def___sparc__=yes
19383 else
19384 ac_cv_cpp_def___sparc__=no
19386 rm -f conftest*
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19390 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19391 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19392 CFLAGS="$CFLAGS -D__sparc__"
19393 LINTFLAGS="$LINTFLAGS -D__sparc__"
19394 fi ;;
19395 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19396 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19397 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #ifndef __powerpc64__
19404 #endif
19405 _ACEOF
19406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19407 $EGREP "yes" >/dev/null 2>&1; then :
19408 ac_cv_cpp_def___powerpc64__=yes
19409 else
19410 ac_cv_cpp_def___powerpc64__=no
19412 rm -f conftest*
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19416 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19417 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19418 CFLAGS="$CFLAGS -D__powerpc64__"
19419 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19420 fi ;;
19421 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19422 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19423 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 #ifndef __powerpc__
19430 #endif
19431 _ACEOF
19432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19433 $EGREP "yes" >/dev/null 2>&1; then :
19434 ac_cv_cpp_def___powerpc__=yes
19435 else
19436 ac_cv_cpp_def___powerpc__=no
19438 rm -f conftest*
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19442 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19443 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19444 CFLAGS="$CFLAGS -D__powerpc__"
19445 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19446 fi ;;
19447 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19448 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19449 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19450 $as_echo_n "(cached) " >&6
19451 else
19452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 #ifndef __aarch64__
19456 #endif
19457 _ACEOF
19458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19459 $EGREP "yes" >/dev/null 2>&1; then :
19460 ac_cv_cpp_def___aarch64__=yes
19461 else
19462 ac_cv_cpp_def___aarch64__=no
19464 rm -f conftest*
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19468 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19469 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19470 CFLAGS="$CFLAGS -D__aarch64__"
19471 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19472 fi ;;
19473 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19474 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19475 if ${ac_cv_cpp_def___arm__+:} false; then :
19476 $as_echo_n "(cached) " >&6
19477 else
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 #ifndef __arm__
19482 #endif
19483 _ACEOF
19484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19485 $EGREP "yes" >/dev/null 2>&1; then :
19486 ac_cv_cpp_def___arm__=yes
19487 else
19488 ac_cv_cpp_def___arm__=no
19490 rm -f conftest*
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19494 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19495 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19496 CFLAGS="$CFLAGS -D__arm__"
19497 LINTFLAGS="$LINTFLAGS -D__arm__"
19498 fi ;;
19499 esac
19501 case $host_vendor in
19502 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19503 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19504 if ${ac_cv_cpp_def___sun__+:} false; then :
19505 $as_echo_n "(cached) " >&6
19506 else
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #ifndef __sun__
19511 #endif
19512 _ACEOF
19513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19514 $EGREP "yes" >/dev/null 2>&1; then :
19515 ac_cv_cpp_def___sun__=yes
19516 else
19517 ac_cv_cpp_def___sun__=no
19519 rm -f conftest*
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19523 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19524 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19525 CFLAGS="$CFLAGS -D__sun__"
19526 LINTFLAGS="$LINTFLAGS -D__sun__"
19527 fi ;;
19528 esac
19534 ac_config_commands="$ac_config_commands include/stamp-h"
19536 $as_echo_n "creating Makefile rules..." >&6
19538 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19539 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19540 IOKIT_LIBS = $IOKIT_LIBS
19541 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19542 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19543 CORESERVICES_LIBS = $CORESERVICES_LIBS
19544 APPKIT_LIBS = $APPKIT_LIBS
19545 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19546 SECURITY_LIBS = $SECURITY_LIBS
19547 COREAUDIO_LIBS = $COREAUDIO_LIBS
19548 OPENAL_LIBS = $OPENAL_LIBS
19549 OPENCL_LIBS = $OPENCL_LIBS
19550 QUICKTIME_LIBS = $QUICKTIME_LIBS
19551 CARBON_LIBS = $CARBON_LIBS
19552 METAL_LIBS = $METAL_LIBS
19553 PTHREAD_LIBS = $PTHREAD_LIBS
19554 X_CFLAGS = $X_CFLAGS
19555 X_PRE_LIBS = $X_PRE_LIBS
19556 X_LIBS = $X_LIBS
19557 X_EXTRA_LIBS = $X_EXTRA_LIBS
19558 PCAP_LIBS = $PCAP_LIBS
19559 XML2_CFLAGS = $XML2_CFLAGS
19560 XML2_LIBS = $XML2_LIBS
19561 XSLT_CFLAGS = $XSLT_CFLAGS
19562 XSLT_LIBS = $XSLT_LIBS
19563 DBUS_CFLAGS = $DBUS_CFLAGS
19564 DBUS_LIBS = $DBUS_LIBS
19565 HAL_CFLAGS = $HAL_CFLAGS
19566 HAL_LIBS = $HAL_LIBS
19567 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19568 GNUTLS_LIBS = $GNUTLS_LIBS
19569 SANE_CFLAGS = $SANE_CFLAGS
19570 SANE_LIBS = $SANE_LIBS
19571 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19572 GPHOTO2_LIBS = $GPHOTO2_LIBS
19573 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19574 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19575 RESOLV_LIBS = $RESOLV_LIBS
19576 LCMS2_CFLAGS = $LCMS2_CFLAGS
19577 LCMS2_LIBS = $LCMS2_LIBS
19578 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19579 FREETYPE_LIBS = $FREETYPE_LIBS
19580 Z_LIBS = $Z_LIBS
19581 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19582 PULSE_CFLAGS = $PULSE_CFLAGS
19583 PULSE_LIBS = $PULSE_LIBS
19584 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19585 GSTREAMER_LIBS = $GSTREAMER_LIBS
19586 ALSA_LIBS = $ALSA_LIBS
19587 OSS4_CFLAGS = $OSS4_CFLAGS
19588 UDEV_CFLAGS = $UDEV_CFLAGS
19589 UDEV_LIBS = $UDEV_LIBS
19590 SDL2_CFLAGS = $SDL2_CFLAGS
19591 SDL2_LIBS = $SDL2_LIBS
19592 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19593 FAUDIO_LIBS = $FAUDIO_LIBS
19594 CAPI20_CFLAGS = $CAPI20_CFLAGS
19595 CAPI20_LIBS = $CAPI20_LIBS
19596 CUPS_CFLAGS = $CUPS_CFLAGS
19597 CUPS_LIBS = $CUPS_LIBS
19598 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19599 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19600 KRB5_CFLAGS = $KRB5_CFLAGS
19601 KRB5_LIBS = $KRB5_LIBS
19602 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19603 GSSAPI_LIBS = $GSSAPI_LIBS
19604 JPEG_CFLAGS = $JPEG_CFLAGS
19605 JPEG_LIBS = $JPEG_LIBS
19606 PNG_CFLAGS = $PNG_CFLAGS
19607 PNG_LIBS = $PNG_LIBS
19608 TIFF_CFLAGS = $TIFF_CFLAGS
19609 TIFF_LIBS = $TIFF_LIBS
19610 MPG123_CFLAGS = $MPG123_CFLAGS
19611 MPG123_LIBS = $MPG123_LIBS
19612 KSTAT_LIBS = $KSTAT_LIBS
19613 PROCSTAT_LIBS = $PROCSTAT_LIBS
19614 NETAPI_CFLAGS = $NETAPI_CFLAGS
19615 NETAPI_LIBS = $NETAPI_LIBS
19616 VKD3D_CFLAGS = $VKD3D_CFLAGS
19617 VKD3D_LIBS = $VKD3D_LIBS
19618 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19619 DL_LIBS = $DL_LIBS
19620 POLL_LIBS = $POLL_LIBS
19621 RT_LIBS = $RT_LIBS
19622 LDAP_CFLAGS = $LDAP_CFLAGS
19623 LDAP_LIBS = $LDAP_LIBS
19628 wine_fn_append_rule "
19629 # Rules automatically generated by configure
19631 .INIT: Makefile
19632 .MAKEFILEDEPS:
19633 all: Makefile
19634 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19635 @./config.status Make.tmp Makefile
19636 depend: \$(MAKEDEP) dummy
19637 \$(MAKEDEP)"
19639 if test "x$enable_fonts" != xno; then
19640 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19641 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19642 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19643 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19644 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19645 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19647 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19648 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19649 ac_config_links="$ac_config_links wine:tools/winewrapper"
19650 wine_fn_config_symlink wine
19651 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19652 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19653 wine_fn_config_symlink wine64
19656 wine_fn_config_makefile dlls/acledit enable_acledit
19657 wine_fn_config_makefile dlls/aclui enable_aclui
19658 wine_fn_config_makefile dlls/activeds enable_activeds
19659 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19660 wine_fn_config_makefile dlls/adsiid enable_adsiid
19661 wine_fn_config_makefile dlls/adsldp enable_adsldp
19662 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19663 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19664 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19665 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19666 wine_fn_config_makefile dlls/advpack enable_advpack
19667 wine_fn_config_makefile dlls/advpack/tests enable_tests
19668 wine_fn_config_makefile dlls/amsi enable_amsi
19669 wine_fn_config_makefile dlls/amstream enable_amstream
19670 wine_fn_config_makefile dlls/amstream/tests enable_tests
19671 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19672 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19673 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19674 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19675 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19676 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19677 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19678 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19679 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19680 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19681 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19682 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19683 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19684 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19685 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19686 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19687 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19688 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19689 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19690 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19691 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19692 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19693 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19694 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19695 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19696 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19697 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19698 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19699 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19700 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19701 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19702 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19703 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19704 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19705 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19706 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19707 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19708 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19709 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19710 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19711 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19712 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19714 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19715 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19716 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19718 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19719 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19720 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19721 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19722 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19723 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19724 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19725 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19726 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19727 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19728 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19729 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19730 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19731 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19732 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19733 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19734 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19736 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19737 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19738 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19739 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19740 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19741 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19742 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19743 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19744 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19745 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19746 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19747 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19748 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19749 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19750 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19751 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19753 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19754 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19755 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19757 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19759 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19760 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19762 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19763 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19768 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19769 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19772 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19773 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19776 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19777 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19779 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19780 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19783 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19789 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19790 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19791 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19792 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19795 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19796 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19797 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19801 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19803 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19822 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19823 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19830 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19842 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19853 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19857 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19859 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19861 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19862 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19867 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19869 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19874 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19875 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19878 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19880 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19882 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19886 wine_fn_config_makefile dlls/apphelp enable_apphelp
19887 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19888 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19889 wine_fn_config_makefile dlls/atl enable_atl
19890 wine_fn_config_makefile dlls/atl/tests enable_tests
19891 wine_fn_config_makefile dlls/atl100 enable_atl100
19892 wine_fn_config_makefile dlls/atl100/tests enable_tests
19893 wine_fn_config_makefile dlls/atl110 enable_atl110
19894 wine_fn_config_makefile dlls/atl80 enable_atl80
19895 wine_fn_config_makefile dlls/atl80/tests enable_tests
19896 wine_fn_config_makefile dlls/atl90 enable_atl90
19897 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19898 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19899 wine_fn_config_makefile dlls/atmlib enable_atmlib
19900 wine_fn_config_makefile dlls/authz enable_authz
19901 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19902 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19903 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19904 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19905 wine_fn_config_makefile dlls/avrt enable_avrt
19906 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19907 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19908 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19909 wine_fn_config_makefile dlls/browseui enable_browseui
19910 wine_fn_config_makefile dlls/browseui/tests enable_tests
19911 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19912 wine_fn_config_makefile dlls/cabinet enable_cabinet
19913 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19914 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19915 wine_fn_config_makefile dlls/cards enable_cards
19916 wine_fn_config_makefile dlls/cdosys enable_cdosys
19917 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19918 wine_fn_config_makefile dlls/clusapi enable_clusapi
19919 wine_fn_config_makefile dlls/combase enable_combase
19920 wine_fn_config_makefile dlls/combase/tests enable_tests
19921 wine_fn_config_makefile dlls/comcat enable_comcat
19922 wine_fn_config_makefile dlls/comcat/tests enable_tests
19923 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19924 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19925 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19926 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19927 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19928 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19929 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19930 wine_fn_config_makefile dlls/compstui enable_compstui
19931 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19932 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19933 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19934 wine_fn_config_makefile dlls/connect enable_connect
19935 wine_fn_config_makefile dlls/credui enable_credui
19936 wine_fn_config_makefile dlls/credui/tests enable_tests
19937 wine_fn_config_makefile dlls/crtdll enable_crtdll
19938 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19939 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19940 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19941 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19942 wine_fn_config_makefile dlls/cryptext enable_cryptext
19943 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19944 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19945 wine_fn_config_makefile dlls/cryptui enable_cryptui
19946 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19947 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19948 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19949 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19950 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19951 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19952 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19953 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19954 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19955 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19956 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19957 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19958 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19959 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19960 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19961 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19962 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19963 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19964 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19965 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19966 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19967 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19968 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19969 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19970 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19971 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19972 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19973 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19974 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19975 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19976 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19977 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19978 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19979 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19980 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19981 wine_fn_config_makefile dlls/d3dim enable_d3dim
19982 wine_fn_config_makefile dlls/d3drm enable_d3drm
19983 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19984 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19985 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19986 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19987 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19988 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19989 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19990 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19991 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19992 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19993 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19994 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19995 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19996 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19997 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19998 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19999 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20000 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20001 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20002 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20003 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20004 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20005 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20006 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20007 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20008 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20009 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20010 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20011 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20012 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20013 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20014 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20015 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20016 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20017 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20018 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20019 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20020 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20021 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20022 wine_fn_config_makefile dlls/davclnt enable_davclnt
20023 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20024 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20025 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20026 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20027 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20028 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20029 wine_fn_config_makefile dlls/ddraw enable_ddraw
20030 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20031 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20032 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20033 wine_fn_config_makefile dlls/devenum enable_devenum
20034 wine_fn_config_makefile dlls/devenum/tests enable_tests
20035 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20036 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20037 wine_fn_config_makefile dlls/difxapi enable_difxapi
20038 wine_fn_config_makefile dlls/dinput enable_dinput
20039 wine_fn_config_makefile dlls/dinput/tests enable_tests
20040 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20041 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20042 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20043 wine_fn_config_makefile dlls/dispex enable_dispex
20044 wine_fn_config_makefile dlls/dispex/tests enable_tests
20045 wine_fn_config_makefile dlls/display.drv16 enable_win16
20046 wine_fn_config_makefile dlls/dmband enable_dmband
20047 wine_fn_config_makefile dlls/dmband/tests enable_tests
20048 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20049 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20050 wine_fn_config_makefile dlls/dmime enable_dmime
20051 wine_fn_config_makefile dlls/dmime/tests enable_tests
20052 wine_fn_config_makefile dlls/dmloader enable_dmloader
20053 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20054 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20055 wine_fn_config_makefile dlls/dmscript enable_dmscript
20056 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20057 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20058 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20059 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20060 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20061 wine_fn_config_makefile dlls/dmusic enable_dmusic
20062 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20063 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20064 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20065 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20066 wine_fn_config_makefile dlls/dplay enable_dplay
20067 wine_fn_config_makefile dlls/dplayx enable_dplayx
20068 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20069 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20070 wine_fn_config_makefile dlls/dpnet enable_dpnet
20071 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20072 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20073 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20074 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20075 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20076 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20077 wine_fn_config_makefile dlls/drmclien enable_drmclien
20078 wine_fn_config_makefile dlls/dsound enable_dsound
20079 wine_fn_config_makefile dlls/dsound/tests enable_tests
20080 wine_fn_config_makefile dlls/dsquery enable_dsquery
20081 wine_fn_config_makefile dlls/dssenh enable_dssenh
20082 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20083 wine_fn_config_makefile dlls/dswave enable_dswave
20084 wine_fn_config_makefile dlls/dswave/tests enable_tests
20085 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20086 wine_fn_config_makefile dlls/dwrite enable_dwrite
20087 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20088 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20089 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20090 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20091 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20092 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20093 wine_fn_config_makefile dlls/dxgi enable_dxgi
20094 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20095 wine_fn_config_makefile dlls/dxguid enable_dxguid
20096 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20097 wine_fn_config_makefile dlls/esent enable_esent
20098 wine_fn_config_makefile dlls/evr enable_evr
20099 wine_fn_config_makefile dlls/evr/tests enable_tests
20100 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20101 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20102 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20103 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20104 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20105 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20106 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20107 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20108 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20109 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20110 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20111 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20112 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20113 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20114 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20115 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20116 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20117 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20118 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20119 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20120 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20121 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20122 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20123 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20124 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20125 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20126 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20127 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20128 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20129 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20130 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20131 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20132 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20133 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20134 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20135 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20136 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20137 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20138 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20139 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20140 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20141 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20142 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
20143 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20144 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20145 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20146 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20147 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20148 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20149 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20150 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20151 wine_fn_config_makefile dlls/faultrep enable_faultrep
20152 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20153 wine_fn_config_makefile dlls/feclient enable_feclient
20154 wine_fn_config_makefile dlls/fltlib enable_fltlib
20155 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20156 wine_fn_config_makefile dlls/fntcache enable_fntcache
20157 wine_fn_config_makefile dlls/fontsub enable_fontsub
20158 wine_fn_config_makefile dlls/fusion enable_fusion
20159 wine_fn_config_makefile dlls/fusion/tests enable_tests
20160 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20161 wine_fn_config_makefile dlls/gameux enable_gameux
20162 wine_fn_config_makefile dlls/gameux/tests enable_tests
20163 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20164 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20165 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20166 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20167 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20168 wine_fn_config_makefile dlls/glu32 enable_glu32
20169 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20170 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20171 wine_fn_config_makefile dlls/hal enable_hal
20172 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20173 wine_fn_config_makefile dlls/hid enable_hid
20174 wine_fn_config_makefile dlls/hid/tests enable_tests
20175 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20176 wine_fn_config_makefile dlls/hlink enable_hlink
20177 wine_fn_config_makefile dlls/hlink/tests enable_tests
20178 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20179 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20180 wine_fn_config_makefile dlls/httpapi enable_httpapi
20181 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20182 wine_fn_config_makefile dlls/iccvid enable_iccvid
20183 wine_fn_config_makefile dlls/icmp enable_icmp
20184 wine_fn_config_makefile dlls/ieframe enable_ieframe
20185 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20186 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20187 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20188 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20189 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20190 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20191 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20192 wine_fn_config_makefile dlls/imm32 enable_imm32
20193 wine_fn_config_makefile dlls/imm32/tests enable_tests
20194 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20195 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20196 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20197 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20198 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20199 wine_fn_config_makefile dlls/infosoft enable_infosoft
20200 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20201 wine_fn_config_makefile dlls/initpki enable_initpki
20202 wine_fn_config_makefile dlls/inkobj enable_inkobj
20203 wine_fn_config_makefile dlls/inseng enable_inseng
20204 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20205 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20206 wine_fn_config_makefile dlls/iprop enable_iprop
20207 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20208 wine_fn_config_makefile dlls/itircl enable_itircl
20209 wine_fn_config_makefile dlls/itss enable_itss
20210 wine_fn_config_makefile dlls/itss/tests enable_tests
20211 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20212 wine_fn_config_makefile dlls/jscript enable_jscript
20213 wine_fn_config_makefile dlls/jscript/tests enable_tests
20214 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20215 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20216 wine_fn_config_makefile dlls/kerberos enable_kerberos
20217 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20218 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20219 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20220 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20221 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20222 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20223 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20224 wine_fn_config_makefile dlls/ksuser enable_ksuser
20225 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20226 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20227 wine_fn_config_makefile dlls/loadperf enable_loadperf
20228 wine_fn_config_makefile dlls/localspl enable_localspl
20229 wine_fn_config_makefile dlls/localspl/tests enable_tests
20230 wine_fn_config_makefile dlls/localui enable_localui
20231 wine_fn_config_makefile dlls/localui/tests enable_tests
20232 wine_fn_config_makefile dlls/lz32 enable_lz32
20233 wine_fn_config_makefile dlls/lz32/tests enable_tests
20234 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20235 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20236 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20237 wine_fn_config_makefile dlls/mapistub enable_mapistub
20238 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20239 wine_fn_config_makefile dlls/mcicda enable_mcicda
20240 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20241 wine_fn_config_makefile dlls/mciseq enable_mciseq
20242 wine_fn_config_makefile dlls/mciwave enable_mciwave
20243 wine_fn_config_makefile dlls/mf enable_mf
20244 wine_fn_config_makefile dlls/mf/tests enable_tests
20245 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20246 wine_fn_config_makefile dlls/mferror enable_mferror
20247 wine_fn_config_makefile dlls/mfplat enable_mfplat
20248 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20249 wine_fn_config_makefile dlls/mfplay enable_mfplay
20250 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20251 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20252 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20253 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20254 wine_fn_config_makefile dlls/midimap enable_midimap
20255 wine_fn_config_makefile dlls/mlang enable_mlang
20256 wine_fn_config_makefile dlls/mlang/tests enable_tests
20257 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20258 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20259 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20260 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20261 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20262 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20263 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20264 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20265 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20266 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20267 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20268 wine_fn_config_makefile dlls/mpr enable_mpr
20269 wine_fn_config_makefile dlls/mpr/tests enable_tests
20270 wine_fn_config_makefile dlls/mprapi enable_mprapi
20271 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20272 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20273 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20274 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20275 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20276 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20277 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20278 wine_fn_config_makefile dlls/mscms enable_mscms
20279 wine_fn_config_makefile dlls/mscms/tests enable_tests
20280 wine_fn_config_makefile dlls/mscoree enable_mscoree
20281 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20282 wine_fn_config_makefile dlls/msctf enable_msctf
20283 wine_fn_config_makefile dlls/msctf/tests enable_tests
20284 wine_fn_config_makefile dlls/msctfp enable_msctfp
20285 wine_fn_config_makefile dlls/msdaps enable_msdaps
20286 wine_fn_config_makefile dlls/msdelta enable_msdelta
20287 wine_fn_config_makefile dlls/msdmo enable_msdmo
20288 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20289 wine_fn_config_makefile dlls/msdrm enable_msdrm
20290 wine_fn_config_makefile dlls/msftedit enable_msftedit
20291 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20292 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20293 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20294 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20295 wine_fn_config_makefile dlls/mshtml enable_mshtml
20296 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20297 wine_fn_config_makefile dlls/msi enable_msi
20298 wine_fn_config_makefile dlls/msi/tests enable_tests
20299 wine_fn_config_makefile dlls/msident enable_msident
20300 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20301 wine_fn_config_makefile dlls/msimsg enable_msimsg
20302 wine_fn_config_makefile dlls/msimtf enable_msimtf
20303 wine_fn_config_makefile dlls/msisip enable_msisip
20304 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20305 wine_fn_config_makefile dlls/msls31 enable_msls31
20306 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20307 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20308 wine_fn_config_makefile dlls/msports enable_msports
20309 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20310 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20311 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20312 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20313 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20314 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20315 wine_fn_config_makefile dlls/mstask enable_mstask
20316 wine_fn_config_makefile dlls/mstask/tests enable_tests
20317 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20318 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20319 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20320 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20321 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20322 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20323 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20324 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20325 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20326 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20327 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20328 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20329 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20330 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20331 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20332 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20333 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20334 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20335 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20336 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20337 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20338 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20339 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20340 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20341 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20342 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20343 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20344 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20345 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20346 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20347 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20348 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20349 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20350 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20351 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20352 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20353 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20354 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20355 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20356 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20357 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20358 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20359 wine_fn_config_makefile dlls/mswsock enable_mswsock
20360 wine_fn_config_makefile dlls/msxml enable_msxml
20361 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20362 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20363 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20364 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20365 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20366 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20367 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20368 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20369 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20370 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20371 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20372 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20373 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20374 wine_fn_config_makefile dlls/netprofm enable_netprofm
20375 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20376 wine_fn_config_makefile dlls/newdev enable_newdev
20377 wine_fn_config_makefile dlls/ninput enable_ninput
20378 wine_fn_config_makefile dlls/ninput/tests enable_tests
20379 wine_fn_config_makefile dlls/normaliz enable_normaliz
20380 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20381 wine_fn_config_makefile dlls/npptools enable_npptools
20382 wine_fn_config_makefile dlls/ntdll enable_ntdll
20383 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20384 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20385 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20386 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20387 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20388 wine_fn_config_makefile dlls/ntprint enable_ntprint
20389 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20390 wine_fn_config_makefile dlls/objsel enable_objsel
20391 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20392 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20393 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20394 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20395 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20396 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20397 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20398 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20399 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20400 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20401 wine_fn_config_makefile dlls/ole32 enable_ole32
20402 wine_fn_config_makefile dlls/ole32/tests enable_tests
20403 wine_fn_config_makefile dlls/oleacc enable_oleacc
20404 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20405 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20406 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20407 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20408 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20409 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20410 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20411 wine_fn_config_makefile dlls/oledlg enable_oledlg
20412 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20413 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20414 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20415 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20416 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20417 wine_fn_config_makefile dlls/opcservices enable_opcservices
20418 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20419 wine_fn_config_makefile dlls/openal32 enable_openal32
20420 wine_fn_config_makefile dlls/opencl enable_opencl
20421 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20422 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20423 wine_fn_config_makefile dlls/packager enable_packager
20424 wine_fn_config_makefile dlls/packager/tests enable_tests
20425 wine_fn_config_makefile dlls/pdh enable_pdh
20426 wine_fn_config_makefile dlls/pdh/tests enable_tests
20427 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20428 wine_fn_config_makefile dlls/pidgen enable_pidgen
20429 wine_fn_config_makefile dlls/powrprof enable_powrprof
20430 wine_fn_config_makefile dlls/printui enable_printui
20431 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20432 wine_fn_config_makefile dlls/propsys enable_propsys
20433 wine_fn_config_makefile dlls/propsys/tests enable_tests
20434 wine_fn_config_makefile dlls/psapi enable_psapi
20435 wine_fn_config_makefile dlls/psapi/tests enable_tests
20436 wine_fn_config_makefile dlls/pstorec enable_pstorec
20437 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20438 wine_fn_config_makefile dlls/qcap enable_qcap
20439 wine_fn_config_makefile dlls/qcap/tests enable_tests
20440 wine_fn_config_makefile dlls/qedit enable_qedit
20441 wine_fn_config_makefile dlls/qedit/tests enable_tests
20442 wine_fn_config_makefile dlls/qmgr enable_qmgr
20443 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20444 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20445 wine_fn_config_makefile dlls/quartz enable_quartz
20446 wine_fn_config_makefile dlls/quartz/tests enable_tests
20447 wine_fn_config_makefile dlls/query enable_query
20448 wine_fn_config_makefile dlls/qwave enable_qwave
20449 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20450 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20451 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20452 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20453 wine_fn_config_makefile dlls/regapi enable_regapi
20454 wine_fn_config_makefile dlls/resutils enable_resutils
20455 wine_fn_config_makefile dlls/riched20 enable_riched20
20456 wine_fn_config_makefile dlls/riched20/tests enable_tests
20457 wine_fn_config_makefile dlls/riched32 enable_riched32
20458 wine_fn_config_makefile dlls/riched32/tests enable_tests
20459 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20460 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20461 wine_fn_config_makefile dlls/rsabase enable_rsabase
20462 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20463 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20464 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20465 wine_fn_config_makefile dlls/rtutils enable_rtutils
20466 wine_fn_config_makefile dlls/samlib enable_samlib
20467 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20468 wine_fn_config_makefile dlls/sapi enable_sapi
20469 wine_fn_config_makefile dlls/sapi/tests enable_tests
20470 wine_fn_config_makefile dlls/sas enable_sas
20471 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20472 wine_fn_config_makefile dlls/sccbase enable_sccbase
20473 wine_fn_config_makefile dlls/schannel enable_schannel
20474 wine_fn_config_makefile dlls/schannel/tests enable_tests
20475 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20476 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20477 wine_fn_config_makefile dlls/scrobj enable_scrobj
20478 wine_fn_config_makefile dlls/scrrun enable_scrrun
20479 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20480 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20481 wine_fn_config_makefile dlls/secur32 enable_secur32
20482 wine_fn_config_makefile dlls/secur32/tests enable_tests
20483 wine_fn_config_makefile dlls/security enable_security
20484 wine_fn_config_makefile dlls/sensapi enable_sensapi
20485 wine_fn_config_makefile dlls/serialui enable_serialui
20486 wine_fn_config_makefile dlls/serialui/tests enable_tests
20487 wine_fn_config_makefile dlls/setupapi enable_setupapi
20488 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20489 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20490 wine_fn_config_makefile dlls/sfc enable_sfc
20491 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20492 wine_fn_config_makefile dlls/shcore enable_shcore
20493 wine_fn_config_makefile dlls/shcore/tests enable_tests
20494 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20495 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20496 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20497 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20498 wine_fn_config_makefile dlls/shell32 enable_shell32
20499 wine_fn_config_makefile dlls/shell32/tests enable_tests
20500 wine_fn_config_makefile dlls/shfolder enable_shfolder
20501 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20502 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20503 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20504 wine_fn_config_makefile dlls/slc enable_slc
20505 wine_fn_config_makefile dlls/slc/tests enable_tests
20506 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20507 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20508 wine_fn_config_makefile dlls/softpub enable_softpub
20509 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20510 wine_fn_config_makefile dlls/spoolss enable_spoolss
20511 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20512 wine_fn_config_makefile dlls/srclient enable_srclient
20513 wine_fn_config_makefile dlls/sspicli enable_sspicli
20514 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20515 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20516 wine_fn_config_makefile dlls/sti enable_sti
20517 wine_fn_config_makefile dlls/sti/tests enable_tests
20518 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20519 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20520 wine_fn_config_makefile dlls/strmbase enable_strmbase
20521 wine_fn_config_makefile dlls/strmdll enable_strmdll
20522 wine_fn_config_makefile dlls/strmiids enable_strmiids
20523 wine_fn_config_makefile dlls/svrapi enable_svrapi
20524 wine_fn_config_makefile dlls/sxs enable_sxs
20525 wine_fn_config_makefile dlls/sxs/tests enable_tests
20526 wine_fn_config_makefile dlls/system.drv16 enable_win16
20527 wine_fn_config_makefile dlls/t2embed enable_t2embed
20528 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20529 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20530 wine_fn_config_makefile dlls/taskschd enable_taskschd
20531 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20532 wine_fn_config_makefile dlls/tdh enable_tdh
20533 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20534 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20535 wine_fn_config_makefile dlls/traffic enable_traffic
20536 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20537 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20538 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20539 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20540 wine_fn_config_makefile dlls/tzres enable_tzres
20541 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20542 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20543 wine_fn_config_makefile dlls/uianimation enable_uianimation
20544 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20545 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20546 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20547 wine_fn_config_makefile dlls/unicows enable_unicows
20548 wine_fn_config_makefile dlls/updspapi enable_updspapi
20549 wine_fn_config_makefile dlls/url enable_url
20550 wine_fn_config_makefile dlls/urlmon enable_urlmon
20551 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20552 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20553 wine_fn_config_makefile dlls/user.exe16 enable_win16
20554 wine_fn_config_makefile dlls/user32 enable_user32
20555 wine_fn_config_makefile dlls/user32/tests enable_tests
20556 wine_fn_config_makefile dlls/userenv enable_userenv
20557 wine_fn_config_makefile dlls/userenv/tests enable_tests
20558 wine_fn_config_makefile dlls/usp10 enable_usp10
20559 wine_fn_config_makefile dlls/usp10/tests enable_tests
20560 wine_fn_config_makefile dlls/uuid enable_uuid
20561 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20562 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20563 wine_fn_config_makefile dlls/vbscript enable_vbscript
20564 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20565 wine_fn_config_makefile dlls/vcomp enable_vcomp
20566 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20567 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20568 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20569 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20570 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20571 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20572 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20573 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20574 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20575 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20576 wine_fn_config_makefile dlls/version enable_version
20577 wine_fn_config_makefile dlls/version/tests enable_tests
20578 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20579 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20580 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20581 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20582 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20583 wine_fn_config_makefile dlls/vssapi enable_vssapi
20584 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20585 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20586 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20587 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20588 wine_fn_config_makefile dlls/w32skrnl enable_win16
20589 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20590 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20591 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20592 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20593 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20594 wine_fn_config_makefile dlls/wdscore enable_wdscore
20595 wine_fn_config_makefile dlls/webservices enable_webservices
20596 wine_fn_config_makefile dlls/webservices/tests enable_tests
20597 wine_fn_config_makefile dlls/wer enable_wer
20598 wine_fn_config_makefile dlls/wer/tests enable_tests
20599 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20600 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20601 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20602 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20603 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20604 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20605 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20606 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20607 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20608 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20609 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20610 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20611 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20612 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20613 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20614 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20615 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20616 wine_fn_config_makefile dlls/wined3d enable_wined3d
20617 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20618 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20619 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20620 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20621 wine_fn_config_makefile dlls/winemapi enable_winemapi
20622 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20623 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20624 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20625 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20626 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20627 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20628 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20629 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20630 wine_fn_config_makefile dlls/wing32 enable_wing32
20631 wine_fn_config_makefile dlls/winhttp enable_winhttp
20632 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20633 wine_fn_config_makefile dlls/wininet enable_wininet
20634 wine_fn_config_makefile dlls/wininet/tests enable_tests
20635 wine_fn_config_makefile dlls/winmm enable_winmm
20636 wine_fn_config_makefile dlls/winmm/tests enable_tests
20637 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20638 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20639 wine_fn_config_makefile dlls/winscard enable_winscard
20640 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20641 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20642 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20643 wine_fn_config_makefile dlls/winsta enable_winsta
20644 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20645 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20646 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20647 wine_fn_config_makefile dlls/wintrust enable_wintrust
20648 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20649 wine_fn_config_makefile dlls/winusb enable_winusb
20650 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20651 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20652 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20653 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20654 wine_fn_config_makefile dlls/wmasf enable_wmasf
20655 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20656 wine_fn_config_makefile dlls/wmi enable_wmi
20657 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20658 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20659 wine_fn_config_makefile dlls/wmp enable_wmp
20660 wine_fn_config_makefile dlls/wmp/tests enable_tests
20661 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20662 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20663 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20664 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20665 wine_fn_config_makefile dlls/wow32 enable_win16
20666 wine_fn_config_makefile dlls/wpc enable_wpc
20667 wine_fn_config_makefile dlls/wpc/tests enable_tests
20668 wine_fn_config_makefile dlls/wpcap enable_wpcap
20669 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20670 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20671 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20672 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20673 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20674 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20675 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20676 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20677 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20678 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20679 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20680 wine_fn_config_makefile dlls/wuapi enable_wuapi
20681 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20682 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20683 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20684 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20685 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20686 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20687 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20688 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20689 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20690 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20691 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20692 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20693 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20694 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20695 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20696 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20697 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20698 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20699 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20700 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20701 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20702 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20703 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20704 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20705 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20706 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20707 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20708 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20709 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20710 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20711 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20712 wine_fn_config_makefile dlls/xmllite enable_xmllite
20713 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20714 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20715 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20716 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20717 wine_fn_config_makefile fonts enable_fonts
20718 wine_fn_config_makefile include enable_include
20719 wine_fn_config_makefile libs/port enable_port
20720 wine_fn_config_makefile libs/wine enable_wine
20721 wine_fn_config_makefile libs/wpp enable_wpp
20722 wine_fn_config_makefile loader enable_loader
20723 wine_fn_config_makefile po enable_po
20724 wine_fn_config_makefile programs/arp enable_arp
20725 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20726 wine_fn_config_makefile programs/attrib enable_attrib
20727 wine_fn_config_makefile programs/cabarc enable_cabarc
20728 wine_fn_config_makefile programs/cacls enable_cacls
20729 wine_fn_config_makefile programs/clock enable_clock
20730 wine_fn_config_makefile programs/cmd enable_cmd
20731 wine_fn_config_makefile programs/cmd/tests enable_tests
20732 wine_fn_config_makefile programs/conhost enable_conhost
20733 wine_fn_config_makefile programs/control enable_control
20734 wine_fn_config_makefile programs/cscript enable_cscript
20735 wine_fn_config_makefile programs/dism enable_dism
20736 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20737 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20738 wine_fn_config_makefile programs/eject enable_eject
20739 wine_fn_config_makefile programs/expand enable_expand
20740 wine_fn_config_makefile programs/explorer enable_explorer
20741 wine_fn_config_makefile programs/extrac32 enable_extrac32
20742 wine_fn_config_makefile programs/fc enable_fc
20743 wine_fn_config_makefile programs/find enable_find
20744 wine_fn_config_makefile programs/findstr enable_findstr
20745 wine_fn_config_makefile programs/fsutil enable_fsutil
20746 wine_fn_config_makefile programs/hh enable_hh
20747 wine_fn_config_makefile programs/hostname enable_hostname
20748 wine_fn_config_makefile programs/icacls enable_icacls
20749 wine_fn_config_makefile programs/icinfo enable_icinfo
20750 wine_fn_config_makefile programs/iexplore enable_iexplore
20751 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20752 wine_fn_config_makefile programs/lodctr enable_lodctr
20753 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20754 wine_fn_config_makefile programs/mshta enable_mshta
20755 wine_fn_config_makefile programs/msidb enable_msidb
20756 wine_fn_config_makefile programs/msiexec enable_msiexec
20757 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20758 wine_fn_config_makefile programs/net enable_net
20759 wine_fn_config_makefile programs/netsh enable_netsh
20760 wine_fn_config_makefile programs/netstat enable_netstat
20761 wine_fn_config_makefile programs/ngen enable_ngen
20762 wine_fn_config_makefile programs/notepad enable_notepad
20763 wine_fn_config_makefile programs/oleview enable_oleview
20764 wine_fn_config_makefile programs/ping enable_ping
20765 wine_fn_config_makefile programs/plugplay enable_plugplay
20766 wine_fn_config_makefile programs/powershell enable_powershell
20767 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20768 wine_fn_config_makefile programs/progman enable_progman
20769 wine_fn_config_makefile programs/reg enable_reg
20770 wine_fn_config_makefile programs/reg/tests enable_tests
20771 wine_fn_config_makefile programs/regasm enable_regasm
20772 wine_fn_config_makefile programs/regedit enable_regedit
20773 wine_fn_config_makefile programs/regedit/tests enable_tests
20774 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20775 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20776 wine_fn_config_makefile programs/rpcss enable_rpcss
20777 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20778 wine_fn_config_makefile programs/rundll32 enable_rundll32
20779 wine_fn_config_makefile programs/sc enable_sc
20780 wine_fn_config_makefile programs/schtasks enable_schtasks
20781 wine_fn_config_makefile programs/schtasks/tests enable_tests
20782 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20783 wine_fn_config_makefile programs/secedit enable_secedit
20784 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20785 wine_fn_config_makefile programs/services enable_services
20786 wine_fn_config_makefile programs/services/tests enable_tests
20787 wine_fn_config_makefile programs/shutdown enable_shutdown
20788 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20789 wine_fn_config_makefile programs/start enable_start
20790 wine_fn_config_makefile programs/subst enable_subst
20791 wine_fn_config_makefile programs/svchost enable_svchost
20792 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20793 wine_fn_config_makefile programs/taskkill enable_taskkill
20794 wine_fn_config_makefile programs/tasklist enable_tasklist
20795 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20796 wine_fn_config_makefile programs/termsv enable_termsv
20797 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20798 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20799 wine_fn_config_makefile programs/view enable_view
20800 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20801 wine_fn_config_makefile programs/wineboot enable_wineboot
20802 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20803 wine_fn_config_makefile programs/winecfg enable_winecfg
20804 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20805 wine_fn_config_makefile programs/winedbg enable_winedbg
20806 wine_fn_config_makefile programs/winedevice enable_winedevice
20807 wine_fn_config_makefile programs/winefile enable_winefile
20808 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20809 wine_fn_config_makefile programs/winemine enable_winemine
20810 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20811 wine_fn_config_makefile programs/winepath enable_winepath
20812 wine_fn_config_makefile programs/winetest enable_winetest
20813 wine_fn_config_makefile programs/winevdm enable_win16
20814 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20815 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20816 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20817 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20818 wine_fn_config_makefile programs/winver enable_winver
20819 wine_fn_config_makefile programs/wmic enable_wmic
20820 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20821 wine_fn_config_makefile programs/wordpad enable_wordpad
20822 wine_fn_config_makefile programs/write enable_write
20823 wine_fn_config_makefile programs/wscript enable_wscript
20824 wine_fn_config_makefile programs/wscript/tests enable_tests
20825 wine_fn_config_makefile programs/wusa enable_wusa
20826 wine_fn_config_makefile programs/xcopy enable_xcopy
20827 wine_fn_config_makefile programs/xcopy/tests enable_tests
20828 wine_fn_config_makefile server enable_server
20829 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20830 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20831 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20832 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20833 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20834 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20835 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20836 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20837 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20840 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20841 wine_fn_append_file CONFIGURE_TARGETS "tags"
20842 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20843 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20844 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20845 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20846 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20847 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20849 if test "x$enable_tools" != xno
20850 then
20851 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20852 ac_config_commands="$ac_config_commands tools/makedep"
20856 ac_config_commands="$ac_config_commands Makefile"
20859 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20863 if test "x$enable_maintainer_mode" = xyes
20864 then
20865 wine_fn_append_rule "configure: configure.ac aclocal.m4
20866 autoconf --warnings=all
20867 include/config.h.in: include/stamp-h.in
20868 include/stamp-h.in: configure.ac aclocal.m4
20869 autoheader --warnings=all
20870 @echo timestamp > \$@"
20873 if test "x$enable_tools" != xno
20874 then
20875 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20876 @./config.status tools/makedep
20877 Makefile: tools/makedep$ac_exeext
20878 fonts: tools/sfnt2fon
20879 include: tools tools/widl"
20880 else
20881 wine_fn_append_rule "\$(MAKEDEP):
20882 @echo \"You need to run make in $TOOLSDIR first\" && false"
20885 if test -n "$with_wine64"
20886 then
20887 case "$with_wine64" in
20888 /*) reldir="" ;;
20889 *) reldir="../" ;;
20890 esac
20891 rm -f fonts server 2>/dev/null
20892 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20893 loader/wine64 loader/wine64-preloader:
20894 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20895 $with_wine64/loader/wine:
20896 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20897 $with_wine64/loader/wine-preloader:
20898 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20899 clean::
20900 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20901 else
20902 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20903 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20904 fonts \
20905 loader/l_intl.nls \
20906 loader/wine.inf \
20907 programs/msidb/msidb \
20908 programs/msiexec/msiexec \
20909 programs/notepad/notepad \
20910 programs/regedit/regedit \
20911 programs/regsvr32/regsvr32 \
20912 programs/wineboot/wineboot \
20913 programs/winecfg/winecfg \
20914 programs/wineconsole/wineconsole \
20915 programs/winedbg/winedbg \
20916 programs/winefile/winefile \
20917 programs/winemine/winemine \
20918 programs/winepath/winepath \
20919 server/wineserver"
20921 case $host_os in
20922 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20923 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20924 esac
20927 $as_echo " done" >&6
20928 cat >confcache <<\_ACEOF
20929 # This file is a shell script that caches the results of configure
20930 # tests run on this system so they can be shared between configure
20931 # scripts and configure runs, see configure's option --config-cache.
20932 # It is not useful on other systems. If it contains results you don't
20933 # want to keep, you may remove or edit it.
20935 # config.status only pays attention to the cache file if you give it
20936 # the --recheck option to rerun configure.
20938 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20939 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20940 # following values.
20942 _ACEOF
20944 # The following way of writing the cache mishandles newlines in values,
20945 # but we know of no workaround that is simple, portable, and efficient.
20946 # So, we kill variables containing newlines.
20947 # Ultrix sh set writes to stderr and can't be redirected directly,
20948 # and sets the high bit in the cache file unless we assign to the vars.
20950 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20951 eval ac_val=\$$ac_var
20952 case $ac_val in #(
20953 *${as_nl}*)
20954 case $ac_var in #(
20955 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20956 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20957 esac
20958 case $ac_var in #(
20959 _ | IFS | as_nl) ;; #(
20960 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20961 *) { eval $ac_var=; unset $ac_var;} ;;
20962 esac ;;
20963 esac
20964 done
20966 (set) 2>&1 |
20967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20968 *${as_nl}ac_space=\ *)
20969 # `set' does not quote correctly, so add quotes: double-quote
20970 # substitution turns \\\\ into \\, and sed turns \\ into \.
20971 sed -n \
20972 "s/'/'\\\\''/g;
20973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20974 ;; #(
20976 # `set' quotes correctly as required by POSIX, so do not add quotes.
20977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20979 esac |
20980 sort
20982 sed '
20983 /^ac_cv_env_/b end
20984 t clear
20985 :clear
20986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20987 t end
20988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20989 :end' >>confcache
20990 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20991 if test -w "$cache_file"; then
20992 if test "x$cache_file" != "x/dev/null"; then
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20994 $as_echo "$as_me: updating cache $cache_file" >&6;}
20995 if test ! -f "$cache_file" || test -h "$cache_file"; then
20996 cat confcache >"$cache_file"
20997 else
20998 case $cache_file in #(
20999 */* | ?:*)
21000 mv -f confcache "$cache_file"$$ &&
21001 mv -f "$cache_file"$$ "$cache_file" ;; #(
21003 mv -f confcache "$cache_file" ;;
21004 esac
21007 else
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21009 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21012 rm -f confcache
21014 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21015 # Let make expand exec_prefix.
21016 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21018 DEFS=-DHAVE_CONFIG_H
21020 ac_libobjs=
21021 ac_ltlibobjs=
21023 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21024 # 1. Remove the extension, and $U if already installed.
21025 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21026 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21027 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21028 # will be set to the directory where LIBOBJS objects are built.
21029 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21030 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21031 done
21032 LIBOBJS=$ac_libobjs
21034 LTLIBOBJS=$ac_ltlibobjs
21038 : "${CONFIG_STATUS=./config.status}"
21039 ac_write_fail=0
21040 ac_clean_files_save=$ac_clean_files
21041 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21043 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21044 as_write_fail=0
21045 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21046 #! $SHELL
21047 # Generated by $as_me.
21048 # Run this file to recreate the current configuration.
21049 # Compiler output produced by configure, useful for debugging
21050 # configure, is in config.log if it exists.
21052 debug=false
21053 ac_cs_recheck=false
21054 ac_cs_silent=false
21056 SHELL=\${CONFIG_SHELL-$SHELL}
21057 export SHELL
21058 _ASEOF
21059 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21060 ## -------------------- ##
21061 ## M4sh Initialization. ##
21062 ## -------------------- ##
21064 # Be more Bourne compatible
21065 DUALCASE=1; export DUALCASE # for MKS sh
21066 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21067 emulate sh
21068 NULLCMD=:
21069 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21070 # is contrary to our usage. Disable this feature.
21071 alias -g '${1+"$@"}'='"$@"'
21072 setopt NO_GLOB_SUBST
21073 else
21074 case `(set -o) 2>/dev/null` in #(
21075 *posix*) :
21076 set -o posix ;; #(
21077 *) :
21079 esac
21083 as_nl='
21085 export as_nl
21086 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21087 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21088 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21089 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21090 # Prefer a ksh shell builtin over an external printf program on Solaris,
21091 # but without wasting forks for bash or zsh.
21092 if test -z "$BASH_VERSION$ZSH_VERSION" \
21093 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21094 as_echo='print -r --'
21095 as_echo_n='print -rn --'
21096 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21097 as_echo='printf %s\n'
21098 as_echo_n='printf %s'
21099 else
21100 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21101 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21102 as_echo_n='/usr/ucb/echo -n'
21103 else
21104 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21105 as_echo_n_body='eval
21106 arg=$1;
21107 case $arg in #(
21108 *"$as_nl"*)
21109 expr "X$arg" : "X\\(.*\\)$as_nl";
21110 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21111 esac;
21112 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21114 export as_echo_n_body
21115 as_echo_n='sh -c $as_echo_n_body as_echo'
21117 export as_echo_body
21118 as_echo='sh -c $as_echo_body as_echo'
21121 # The user is always right.
21122 if test "${PATH_SEPARATOR+set}" != set; then
21123 PATH_SEPARATOR=:
21124 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21125 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21126 PATH_SEPARATOR=';'
21131 # IFS
21132 # We need space, tab and new line, in precisely that order. Quoting is
21133 # there to prevent editors from complaining about space-tab.
21134 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21135 # splitting by setting IFS to empty value.)
21136 IFS=" "" $as_nl"
21138 # Find who we are. Look in the path if we contain no directory separator.
21139 as_myself=
21140 case $0 in #((
21141 *[\\/]* ) as_myself=$0 ;;
21142 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21143 for as_dir in $PATH
21145 IFS=$as_save_IFS
21146 test -z "$as_dir" && as_dir=.
21147 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21148 done
21149 IFS=$as_save_IFS
21152 esac
21153 # We did not find ourselves, most probably we were run as `sh COMMAND'
21154 # in which case we are not to be found in the path.
21155 if test "x$as_myself" = x; then
21156 as_myself=$0
21158 if test ! -f "$as_myself"; then
21159 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21160 exit 1
21163 # Unset variables that we do not need and which cause bugs (e.g. in
21164 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21165 # suppresses any "Segmentation fault" message there. '((' could
21166 # trigger a bug in pdksh 5.2.14.
21167 for as_var in BASH_ENV ENV MAIL MAILPATH
21168 do eval test x\${$as_var+set} = xset \
21169 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21170 done
21171 PS1='$ '
21172 PS2='> '
21173 PS4='+ '
21175 # NLS nuisances.
21176 LC_ALL=C
21177 export LC_ALL
21178 LANGUAGE=C
21179 export LANGUAGE
21181 # CDPATH.
21182 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21185 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21186 # ----------------------------------------
21187 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21188 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21189 # script with STATUS, using 1 if that was 0.
21190 as_fn_error ()
21192 as_status=$1; test $as_status -eq 0 && as_status=1
21193 if test "$4"; then
21194 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21195 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21197 $as_echo "$as_me: error: $2" >&2
21198 as_fn_exit $as_status
21199 } # as_fn_error
21202 # as_fn_set_status STATUS
21203 # -----------------------
21204 # Set $? to STATUS, without forking.
21205 as_fn_set_status ()
21207 return $1
21208 } # as_fn_set_status
21210 # as_fn_exit STATUS
21211 # -----------------
21212 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21213 as_fn_exit ()
21215 set +e
21216 as_fn_set_status $1
21217 exit $1
21218 } # as_fn_exit
21220 # as_fn_unset VAR
21221 # ---------------
21222 # Portably unset VAR.
21223 as_fn_unset ()
21225 { eval $1=; unset $1;}
21227 as_unset=as_fn_unset
21228 # as_fn_append VAR VALUE
21229 # ----------------------
21230 # Append the text in VALUE to the end of the definition contained in VAR. Take
21231 # advantage of any shell optimizations that allow amortized linear growth over
21232 # repeated appends, instead of the typical quadratic growth present in naive
21233 # implementations.
21234 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21235 eval 'as_fn_append ()
21237 eval $1+=\$2
21239 else
21240 as_fn_append ()
21242 eval $1=\$$1\$2
21244 fi # as_fn_append
21246 # as_fn_arith ARG...
21247 # ------------------
21248 # Perform arithmetic evaluation on the ARGs, and store the result in the
21249 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21250 # must be portable across $(()) and expr.
21251 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21252 eval 'as_fn_arith ()
21254 as_val=$(( $* ))
21256 else
21257 as_fn_arith ()
21259 as_val=`expr "$@" || test $? -eq 1`
21261 fi # as_fn_arith
21264 if expr a : '\(a\)' >/dev/null 2>&1 &&
21265 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21266 as_expr=expr
21267 else
21268 as_expr=false
21271 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21272 as_basename=basename
21273 else
21274 as_basename=false
21277 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21278 as_dirname=dirname
21279 else
21280 as_dirname=false
21283 as_me=`$as_basename -- "$0" ||
21284 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21285 X"$0" : 'X\(//\)$' \| \
21286 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21287 $as_echo X/"$0" |
21288 sed '/^.*\/\([^/][^/]*\)\/*$/{
21289 s//\1/
21292 /^X\/\(\/\/\)$/{
21293 s//\1/
21296 /^X\/\(\/\).*/{
21297 s//\1/
21300 s/.*/./; q'`
21302 # Avoid depending upon Character Ranges.
21303 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21304 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21305 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21306 as_cr_digits='0123456789'
21307 as_cr_alnum=$as_cr_Letters$as_cr_digits
21309 ECHO_C= ECHO_N= ECHO_T=
21310 case `echo -n x` in #(((((
21311 -n*)
21312 case `echo 'xy\c'` in
21313 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21314 xy) ECHO_C='\c';;
21315 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21316 ECHO_T=' ';;
21317 esac;;
21319 ECHO_N='-n';;
21320 esac
21322 rm -f conf$$ conf$$.exe conf$$.file
21323 if test -d conf$$.dir; then
21324 rm -f conf$$.dir/conf$$.file
21325 else
21326 rm -f conf$$.dir
21327 mkdir conf$$.dir 2>/dev/null
21329 if (echo >conf$$.file) 2>/dev/null; then
21330 if ln -s conf$$.file conf$$ 2>/dev/null; then
21331 as_ln_s='ln -s'
21332 # ... but there are two gotchas:
21333 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21334 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21335 # In both cases, we have to default to `cp -pR'.
21336 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21337 as_ln_s='cp -pR'
21338 elif ln conf$$.file conf$$ 2>/dev/null; then
21339 as_ln_s=ln
21340 else
21341 as_ln_s='cp -pR'
21343 else
21344 as_ln_s='cp -pR'
21346 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21347 rmdir conf$$.dir 2>/dev/null
21350 # as_fn_mkdir_p
21351 # -------------
21352 # Create "$as_dir" as a directory, including parents if necessary.
21353 as_fn_mkdir_p ()
21356 case $as_dir in #(
21357 -*) as_dir=./$as_dir;;
21358 esac
21359 test -d "$as_dir" || eval $as_mkdir_p || {
21360 as_dirs=
21361 while :; do
21362 case $as_dir in #(
21363 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21364 *) as_qdir=$as_dir;;
21365 esac
21366 as_dirs="'$as_qdir' $as_dirs"
21367 as_dir=`$as_dirname -- "$as_dir" ||
21368 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21369 X"$as_dir" : 'X\(//\)[^/]' \| \
21370 X"$as_dir" : 'X\(//\)$' \| \
21371 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21372 $as_echo X"$as_dir" |
21373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21374 s//\1/
21377 /^X\(\/\/\)[^/].*/{
21378 s//\1/
21381 /^X\(\/\/\)$/{
21382 s//\1/
21385 /^X\(\/\).*/{
21386 s//\1/
21389 s/.*/./; q'`
21390 test -d "$as_dir" && break
21391 done
21392 test -z "$as_dirs" || eval "mkdir $as_dirs"
21393 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21396 } # as_fn_mkdir_p
21397 if mkdir -p . 2>/dev/null; then
21398 as_mkdir_p='mkdir -p "$as_dir"'
21399 else
21400 test -d ./-p && rmdir ./-p
21401 as_mkdir_p=false
21405 # as_fn_executable_p FILE
21406 # -----------------------
21407 # Test if FILE is an executable regular file.
21408 as_fn_executable_p ()
21410 test -f "$1" && test -x "$1"
21411 } # as_fn_executable_p
21412 as_test_x='test -x'
21413 as_executable_p=as_fn_executable_p
21415 # Sed expression to map a string onto a valid CPP name.
21416 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21418 # Sed expression to map a string onto a valid variable name.
21419 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21422 exec 6>&1
21423 ## ----------------------------------- ##
21424 ## Main body of $CONFIG_STATUS script. ##
21425 ## ----------------------------------- ##
21426 _ASEOF
21427 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21430 # Save the log message, to keep $0 and so on meaningful, and to
21431 # report actual input values of CONFIG_FILES etc. instead of their
21432 # values after options handling.
21433 ac_log="
21434 This file was extended by Wine $as_me 4.5, which was
21435 generated by GNU Autoconf 2.69. Invocation command line was
21437 CONFIG_FILES = $CONFIG_FILES
21438 CONFIG_HEADERS = $CONFIG_HEADERS
21439 CONFIG_LINKS = $CONFIG_LINKS
21440 CONFIG_COMMANDS = $CONFIG_COMMANDS
21441 $ $0 $@
21443 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21446 _ACEOF
21448 case $ac_config_files in *"
21449 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21450 esac
21452 case $ac_config_headers in *"
21453 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21454 esac
21457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21458 # Files that config.status was made for.
21459 config_files="$ac_config_files"
21460 config_headers="$ac_config_headers"
21461 config_links="$ac_config_links"
21462 config_commands="$ac_config_commands"
21464 _ACEOF
21466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21467 ac_cs_usage="\
21468 \`$as_me' instantiates files and other configuration actions
21469 from templates according to the current configuration. Unless the files
21470 and actions are specified as TAGs, all are instantiated by default.
21472 Usage: $0 [OPTION]... [TAG]...
21474 -h, --help print this help, then exit
21475 -V, --version print version number and configuration settings, then exit
21476 --config print configuration, then exit
21477 -q, --quiet, --silent
21478 do not print progress messages
21479 -d, --debug don't remove temporary files
21480 --recheck update $as_me by reconfiguring in the same conditions
21481 --file=FILE[:TEMPLATE]
21482 instantiate the configuration file FILE
21483 --header=FILE[:TEMPLATE]
21484 instantiate the configuration header FILE
21486 Configuration files:
21487 $config_files
21489 Configuration headers:
21490 $config_headers
21492 Configuration links:
21493 $config_links
21495 Configuration commands:
21496 $config_commands
21498 Report bugs to <wine-devel@winehq.org>.
21499 Wine home page: <https://www.winehq.org>."
21501 _ACEOF
21502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21503 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21504 ac_cs_version="\\
21505 Wine config.status 4.5
21506 configured by $0, generated by GNU Autoconf 2.69,
21507 with options \\"\$ac_cs_config\\"
21509 Copyright (C) 2012 Free Software Foundation, Inc.
21510 This config.status script is free software; the Free Software Foundation
21511 gives unlimited permission to copy, distribute and modify it."
21513 ac_pwd='$ac_pwd'
21514 srcdir='$srcdir'
21515 test -n "\$AWK" || AWK=awk
21516 _ACEOF
21518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21519 # The default lists apply if the user does not specify any file.
21520 ac_need_defaults=:
21521 while test $# != 0
21523 case $1 in
21524 --*=?*)
21525 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21526 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21527 ac_shift=:
21529 --*=)
21530 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21531 ac_optarg=
21532 ac_shift=:
21535 ac_option=$1
21536 ac_optarg=$2
21537 ac_shift=shift
21539 esac
21541 case $ac_option in
21542 # Handling of the options.
21543 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21544 ac_cs_recheck=: ;;
21545 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21546 $as_echo "$ac_cs_version"; exit ;;
21547 --config | --confi | --conf | --con | --co | --c )
21548 $as_echo "$ac_cs_config"; exit ;;
21549 --debug | --debu | --deb | --de | --d | -d )
21550 debug=: ;;
21551 --file | --fil | --fi | --f )
21552 $ac_shift
21553 case $ac_optarg in
21554 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21555 '') as_fn_error $? "missing file argument" ;;
21556 esac
21557 as_fn_append CONFIG_FILES " '$ac_optarg'"
21558 ac_need_defaults=false;;
21559 --header | --heade | --head | --hea )
21560 $ac_shift
21561 case $ac_optarg in
21562 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21563 esac
21564 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21565 ac_need_defaults=false;;
21566 --he | --h)
21567 # Conflict between --help and --header
21568 as_fn_error $? "ambiguous option: \`$1'
21569 Try \`$0 --help' for more information.";;
21570 --help | --hel | -h )
21571 $as_echo "$ac_cs_usage"; exit ;;
21572 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21573 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21574 ac_cs_silent=: ;;
21576 # This is an error.
21577 -*) as_fn_error $? "unrecognized option: \`$1'
21578 Try \`$0 --help' for more information." ;;
21580 *) as_fn_append ac_config_targets " $1"
21581 ac_need_defaults=false ;;
21583 esac
21584 shift
21585 done
21587 ac_configure_extra_args=
21589 if $ac_cs_silent; then
21590 exec 6>/dev/null
21591 ac_configure_extra_args="$ac_configure_extra_args --silent"
21594 _ACEOF
21595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21596 if \$ac_cs_recheck; then
21597 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21598 shift
21599 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21600 CONFIG_SHELL='$SHELL'
21601 export CONFIG_SHELL
21602 exec "\$@"
21605 _ACEOF
21606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21607 exec 5>>config.log
21609 echo
21610 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21611 ## Running $as_me. ##
21612 _ASBOX
21613 $as_echo "$ac_log"
21614 } >&5
21616 _ACEOF
21617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21619 # INIT-COMMANDS
21621 wine_fn_output_makedep ()
21623 as_dir=tools; as_fn_mkdir_p
21624 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21626 wine_fn_output_makefile ()
21628 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21629 `cat $wine_rules_file`
21630 _WINE_EOF
21631 as_fn_error $? "could not create Makefile" "$LINENO" 5
21634 _ACEOF
21636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21638 # Handling of arguments.
21639 for ac_config_target in $ac_config_targets
21641 case $ac_config_target in
21642 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21643 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21644 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21645 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21646 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21647 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21648 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21649 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21650 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21651 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21652 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21653 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21654 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21656 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21657 esac
21658 done
21661 # If the user did not use the arguments to specify the items to instantiate,
21662 # then the envvar interface is used. Set only those that are not.
21663 # We use the long form for the default assignment because of an extremely
21664 # bizarre bug on SunOS 4.1.3.
21665 if $ac_need_defaults; then
21666 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21667 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21668 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21672 # Have a temporary directory for convenience. Make it in the build tree
21673 # simply because there is no reason against having it here, and in addition,
21674 # creating and moving files from /tmp can sometimes cause problems.
21675 # Hook for its removal unless debugging.
21676 # Note that there is a small window in which the directory will not be cleaned:
21677 # after its creation but before its name has been assigned to `$tmp'.
21678 $debug ||
21680 tmp= ac_tmp=
21681 trap 'exit_status=$?
21682 : "${ac_tmp:=$tmp}"
21683 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21685 trap 'as_fn_exit 1' 1 2 13 15
21687 # Create a (secure) tmp directory for tmp files.
21690 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21691 test -d "$tmp"
21692 } ||
21694 tmp=./conf$$-$RANDOM
21695 (umask 077 && mkdir "$tmp")
21696 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21697 ac_tmp=$tmp
21699 # Set up the scripts for CONFIG_FILES section.
21700 # No need to generate them if there are no CONFIG_FILES.
21701 # This happens for instance with `./config.status config.h'.
21702 if test -n "$CONFIG_FILES"; then
21705 ac_cr=`echo X | tr X '\015'`
21706 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21707 # But we know of no other shell where ac_cr would be empty at this
21708 # point, so we can use a bashism as a fallback.
21709 if test "x$ac_cr" = x; then
21710 eval ac_cr=\$\'\\r\'
21712 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21714 ac_cs_awk_cr='\\r'
21715 else
21716 ac_cs_awk_cr=$ac_cr
21719 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21720 _ACEOF
21724 echo "cat >conf$$subs.awk <<_ACEOF" &&
21725 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21726 echo "_ACEOF"
21727 } >conf$$subs.sh ||
21728 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21730 ac_delim='%!_!# '
21731 for ac_last_try in false false false false false :; do
21732 . ./conf$$subs.sh ||
21733 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21735 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21736 if test $ac_delim_n = $ac_delim_num; then
21737 break
21738 elif $ac_last_try; then
21739 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21740 else
21741 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21743 done
21744 rm -f conf$$subs.sh
21746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21747 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21748 _ACEOF
21749 sed -n '
21751 s/^/S["/; s/!.*/"]=/
21754 s/^[^!]*!//
21755 :repl
21756 t repl
21757 s/'"$ac_delim"'$//
21758 t delim
21761 s/\(.\{148\}\)..*/\1/
21762 t more1
21763 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21766 b repl
21767 :more1
21768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21771 s/.\{148\}//
21772 t nl
21773 :delim
21775 s/\(.\{148\}\)..*/\1/
21776 t more2
21777 s/["\\]/\\&/g; s/^/"/; s/$/"/
21780 :more2
21781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21784 s/.\{148\}//
21785 t delim
21786 ' <conf$$subs.awk | sed '
21787 /^[^""]/{
21789 s/\n//
21791 ' >>$CONFIG_STATUS || ac_write_fail=1
21792 rm -f conf$$subs.awk
21793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21794 _ACAWK
21795 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21796 for (key in S) S_is_set[key] = 1
21797 FS = "\a"
21801 line = $ 0
21802 nfields = split(line, field, "@")
21803 substed = 0
21804 len = length(field[1])
21805 for (i = 2; i < nfields; i++) {
21806 key = field[i]
21807 keylen = length(key)
21808 if (S_is_set[key]) {
21809 value = S[key]
21810 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21811 len += length(value) + length(field[++i])
21812 substed = 1
21813 } else
21814 len += 1 + keylen
21817 print line
21820 _ACAWK
21821 _ACEOF
21822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21823 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21824 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21825 else
21827 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21828 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21829 _ACEOF
21831 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21832 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21833 # trailing colons and then remove the whole line if VPATH becomes empty
21834 # (actually we leave an empty line to preserve line numbers).
21835 if test "x$srcdir" = x.; then
21836 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21838 s///
21839 s/^/:/
21840 s/[ ]*$/:/
21841 s/:\$(srcdir):/:/g
21842 s/:\${srcdir}:/:/g
21843 s/:@srcdir@:/:/g
21844 s/^:*//
21845 s/:*$//
21847 s/\(=[ ]*\).*/\1/
21849 s/\n//
21850 s/^[^=]*=[ ]*$//
21854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21855 fi # test -n "$CONFIG_FILES"
21857 # Set up the scripts for CONFIG_HEADERS section.
21858 # No need to generate them if there are no CONFIG_HEADERS.
21859 # This happens for instance with `./config.status Makefile'.
21860 if test -n "$CONFIG_HEADERS"; then
21861 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21862 BEGIN {
21863 _ACEOF
21865 # Transform confdefs.h into an awk script `defines.awk', embedded as
21866 # here-document in config.status, that substitutes the proper values into
21867 # config.h.in to produce config.h.
21869 # Create a delimiter string that does not exist in confdefs.h, to ease
21870 # handling of long lines.
21871 ac_delim='%!_!# '
21872 for ac_last_try in false false :; do
21873 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21874 if test -z "$ac_tt"; then
21875 break
21876 elif $ac_last_try; then
21877 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21878 else
21879 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21881 done
21883 # For the awk script, D is an array of macro values keyed by name,
21884 # likewise P contains macro parameters if any. Preserve backslash
21885 # newline sequences.
21887 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21888 sed -n '
21889 s/.\{148\}/&'"$ac_delim"'/g
21890 t rset
21891 :rset
21892 s/^[ ]*#[ ]*define[ ][ ]*/ /
21893 t def
21895 :def
21896 s/\\$//
21897 t bsnl
21898 s/["\\]/\\&/g
21899 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21900 D["\1"]=" \3"/p
21901 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21903 :bsnl
21904 s/["\\]/\\&/g
21905 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21906 D["\1"]=" \3\\\\\\n"\\/p
21907 t cont
21908 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21909 t cont
21911 :cont
21913 s/.\{148\}/&'"$ac_delim"'/g
21914 t clear
21915 :clear
21916 s/\\$//
21917 t bsnlc
21918 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21920 :bsnlc
21921 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21922 b cont
21923 ' <confdefs.h | sed '
21924 s/'"$ac_delim"'/"\\\
21925 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21928 for (key in D) D_is_set[key] = 1
21929 FS = "\a"
21931 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21932 line = \$ 0
21933 split(line, arg, " ")
21934 if (arg[1] == "#") {
21935 defundef = arg[2]
21936 mac1 = arg[3]
21937 } else {
21938 defundef = substr(arg[1], 2)
21939 mac1 = arg[2]
21941 split(mac1, mac2, "(") #)
21942 macro = mac2[1]
21943 prefix = substr(line, 1, index(line, defundef) - 1)
21944 if (D_is_set[macro]) {
21945 # Preserve the white space surrounding the "#".
21946 print prefix "define", macro P[macro] D[macro]
21947 next
21948 } else {
21949 # Replace #undef with comments. This is necessary, for example,
21950 # in the case of _POSIX_SOURCE, which is predefined and required
21951 # on some systems where configure will not decide to define it.
21952 if (defundef == "undef") {
21953 print "/*", prefix defundef, macro, "*/"
21954 next
21958 { print }
21959 _ACAWK
21960 _ACEOF
21961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21962 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21963 fi # test -n "$CONFIG_HEADERS"
21966 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21967 shift
21968 for ac_tag
21970 case $ac_tag in
21971 :[FHLC]) ac_mode=$ac_tag; continue;;
21972 esac
21973 case $ac_mode$ac_tag in
21974 :[FHL]*:*);;
21975 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21976 :[FH]-) ac_tag=-:-;;
21977 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21978 esac
21979 ac_save_IFS=$IFS
21980 IFS=:
21981 set x $ac_tag
21982 IFS=$ac_save_IFS
21983 shift
21984 ac_file=$1
21985 shift
21987 case $ac_mode in
21988 :L) ac_source=$1;;
21989 :[FH])
21990 ac_file_inputs=
21991 for ac_f
21993 case $ac_f in
21994 -) ac_f="$ac_tmp/stdin";;
21995 *) # Look for the file first in the build tree, then in the source tree
21996 # (if the path is not absolute). The absolute path cannot be DOS-style,
21997 # because $ac_f cannot contain `:'.
21998 test -f "$ac_f" ||
21999 case $ac_f in
22000 [\\/$]*) false;;
22001 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22002 esac ||
22003 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22004 esac
22005 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22006 as_fn_append ac_file_inputs " '$ac_f'"
22007 done
22009 # Let's still pretend it is `configure' which instantiates (i.e., don't
22010 # use $as_me), people would be surprised to read:
22011 # /* config.h. Generated by config.status. */
22012 configure_input='Generated from '`
22013 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22014 `' by configure.'
22015 if test x"$ac_file" != x-; then
22016 configure_input="$ac_file. $configure_input"
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22018 $as_echo "$as_me: creating $ac_file" >&6;}
22020 # Neutralize special characters interpreted by sed in replacement strings.
22021 case $configure_input in #(
22022 *\&* | *\|* | *\\* )
22023 ac_sed_conf_input=`$as_echo "$configure_input" |
22024 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22025 *) ac_sed_conf_input=$configure_input;;
22026 esac
22028 case $ac_tag in
22029 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22030 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22031 esac
22033 esac
22035 ac_dir=`$as_dirname -- "$ac_file" ||
22036 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22037 X"$ac_file" : 'X\(//\)[^/]' \| \
22038 X"$ac_file" : 'X\(//\)$' \| \
22039 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22040 $as_echo X"$ac_file" |
22041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22042 s//\1/
22045 /^X\(\/\/\)[^/].*/{
22046 s//\1/
22049 /^X\(\/\/\)$/{
22050 s//\1/
22053 /^X\(\/\).*/{
22054 s//\1/
22057 s/.*/./; q'`
22058 as_dir="$ac_dir"; as_fn_mkdir_p
22059 ac_builddir=.
22061 case "$ac_dir" in
22062 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22064 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22065 # A ".." for each directory in $ac_dir_suffix.
22066 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22067 case $ac_top_builddir_sub in
22068 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22069 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22070 esac ;;
22071 esac
22072 ac_abs_top_builddir=$ac_pwd
22073 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22074 # for backward compatibility:
22075 ac_top_builddir=$ac_top_build_prefix
22077 case $srcdir in
22078 .) # We are building in place.
22079 ac_srcdir=.
22080 ac_top_srcdir=$ac_top_builddir_sub
22081 ac_abs_top_srcdir=$ac_pwd ;;
22082 [\\/]* | ?:[\\/]* ) # Absolute name.
22083 ac_srcdir=$srcdir$ac_dir_suffix;
22084 ac_top_srcdir=$srcdir
22085 ac_abs_top_srcdir=$srcdir ;;
22086 *) # Relative name.
22087 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22088 ac_top_srcdir=$ac_top_build_prefix$srcdir
22089 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22090 esac
22091 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22094 case $ac_mode in
22097 # CONFIG_FILE
22100 _ACEOF
22102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22103 # If the template does not know about datarootdir, expand it.
22104 # FIXME: This hack should be removed a few years after 2.60.
22105 ac_datarootdir_hack=; ac_datarootdir_seen=
22106 ac_sed_dataroot='
22107 /datarootdir/ {
22111 /@datadir@/p
22112 /@docdir@/p
22113 /@infodir@/p
22114 /@localedir@/p
22115 /@mandir@/p'
22116 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22117 *datarootdir*) ac_datarootdir_seen=yes;;
22118 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22120 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22121 _ACEOF
22122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22123 ac_datarootdir_hack='
22124 s&@datadir@&$datadir&g
22125 s&@docdir@&$docdir&g
22126 s&@infodir@&$infodir&g
22127 s&@localedir@&$localedir&g
22128 s&@mandir@&$mandir&g
22129 s&\\\${datarootdir}&$datarootdir&g' ;;
22130 esac
22131 _ACEOF
22133 # Neutralize VPATH when `$srcdir' = `.'.
22134 # Shell code in configure.ac might set extrasub.
22135 # FIXME: do we really want to maintain this feature?
22136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22137 ac_sed_extra="$ac_vpsub
22138 $extrasub
22139 _ACEOF
22140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22142 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22143 s|@configure_input@|$ac_sed_conf_input|;t t
22144 s&@top_builddir@&$ac_top_builddir_sub&;t t
22145 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22146 s&@srcdir@&$ac_srcdir&;t t
22147 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22148 s&@top_srcdir@&$ac_top_srcdir&;t t
22149 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22150 s&@builddir@&$ac_builddir&;t t
22151 s&@abs_builddir@&$ac_abs_builddir&;t t
22152 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22153 $ac_datarootdir_hack
22155 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22156 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22158 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22159 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22160 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22161 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22163 which seems to be undefined. Please make sure it is defined" >&5
22164 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22165 which seems to be undefined. Please make sure it is defined" >&2;}
22167 rm -f "$ac_tmp/stdin"
22168 case $ac_file in
22169 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22170 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22171 esac \
22172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22176 # CONFIG_HEADER
22178 if test x"$ac_file" != x-; then
22180 $as_echo "/* $configure_input */" \
22181 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22182 } >"$ac_tmp/config.h" \
22183 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22184 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22186 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22187 else
22188 rm -f "$ac_file"
22189 mv "$ac_tmp/config.h" "$ac_file" \
22190 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22192 else
22193 $as_echo "/* $configure_input */" \
22194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22195 || as_fn_error $? "could not create -" "$LINENO" 5
22200 # CONFIG_LINK
22203 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22205 else
22206 # Prefer the file from the source tree if names are identical.
22207 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22208 ac_source=$srcdir/$ac_source
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22212 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22214 if test ! -r "$ac_source"; then
22215 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22217 rm -f "$ac_file"
22219 # Try a relative symlink, then a hard link, then a copy.
22220 case $ac_source in
22221 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22222 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22223 esac
22224 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22225 ln "$ac_source" "$ac_file" 2>/dev/null ||
22226 cp -p "$ac_source" "$ac_file" ||
22227 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22230 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22231 $as_echo "$as_me: executing $ac_file commands" >&6;}
22233 esac
22236 case $ac_file$ac_mode in
22237 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22238 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22239 "Makefile":C) wine_fn_output_makefile Makefile ;;
22241 esac
22242 done # for ac_tag
22245 as_fn_exit 0
22246 _ACEOF
22247 ac_clean_files=$ac_clean_files_save
22249 test $ac_write_fail = 0 ||
22250 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22253 # configure is writing to config.log, and then calls config.status.
22254 # config.status does its own redirection, appending to config.log.
22255 # Unfortunately, on DOS this fails, as config.log is still kept open
22256 # by configure, so config.status won't be able to write to it; its
22257 # output is simply discarded. So we exec the FD to /dev/null,
22258 # effectively closing config.log, so it can be properly (re)opened and
22259 # appended to by config.status. When coming back to configure, we
22260 # need to make the FD available again.
22261 if test "$no_create" != yes; then
22262 ac_cs_success=:
22263 ac_config_status_args=
22264 test "$silent" = yes &&
22265 ac_config_status_args="$ac_config_status_args --quiet"
22266 exec 5>/dev/null
22267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22268 exec 5>>config.log
22269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22270 # would make configure fail if this is the last instruction.
22271 $ac_cs_success || as_fn_exit 1
22273 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22275 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22279 if test "$no_create" = "yes"
22280 then
22281 exit 0
22284 ac_save_IFS="$IFS"
22285 if test "x$wine_notices" != x; then
22286 echo >&6
22287 IFS="|"
22288 for msg in $wine_notices; do
22289 IFS="$ac_save_IFS"
22290 if ${msg:+false} :; then :
22292 else
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22294 $as_echo "$as_me: $msg" >&6;}
22296 done
22298 IFS="|"
22299 for msg in $wine_warnings; do
22300 IFS="$ac_save_IFS"
22301 if ${msg:+false} :; then :
22303 else
22304 echo >&2
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22306 $as_echo "$as_me: WARNING: $msg" >&2;}
22308 done
22309 IFS="$ac_save_IFS"
22311 $as_echo "
22312 $as_me: Finished. Do '${ac_make}' to compile Wine.
22313 " >&6