dxgi: Implement dxgi_output_GetGammaControlCapabilities().
[wine.git] / configure
blobd00057ba2f770769ef374342bd0b4ae74cd97861
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.21.
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='3.21'
584 PACKAGE_STRING='Wine 3.21'
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 SDL2_LIBS
663 SDL2_CFLAGS
664 UDEV_LIBS
665 UDEV_CFLAGS
666 OSS4_CFLAGS
667 ALSA_LIBS
668 GSTREAMER_LIBS
669 GSTREAMER_CFLAGS
670 PULSE_LIBS
671 PULSE_CFLAGS
672 GETTEXTPO_LIBS
673 Z_LIBS
674 FREETYPE_LIBS
675 FREETYPE_CFLAGS
676 LCMS2_LIBS
677 LCMS2_CFLAGS
678 RESOLV_LIBS
679 GPHOTO2_PORT_LIBS
680 GPHOTO2_PORT_CFLAGS
681 GPHOTO2_LIBS
682 GPHOTO2_CFLAGS
683 SANE_LIBS
684 SANE_CFLAGS
685 GNUTLS_LIBS
686 GNUTLS_CFLAGS
687 HAL_LIBS
688 HAL_CFLAGS
689 DBUS_LIBS
690 DBUS_CFLAGS
691 XSLT_LIBS
692 XSLT_CFLAGS
693 XML2_LIBS
694 XML2_CFLAGS
695 PCAP_LIBS
696 X_EXTRA_LIBS
697 X_LIBS
698 X_PRE_LIBS
699 X_CFLAGS
700 XMKMF
701 PTHREAD_LIBS
702 CROSSCFLAGS
703 CROSSCC
704 CROSSTARGET
705 PRELINK
706 WINELOADER_DEPENDS
707 METAL_LIBS
708 CARBON_LIBS
709 QUICKTIME_LIBS
710 OPENCL_LIBS
711 OPENAL_LIBS
712 COREAUDIO_LIBS
713 SECURITY_LIBS
714 DISKARBITRATION_LIBS
715 APPKIT_LIBS
716 CORESERVICES_LIBS
717 APPLICATIONSERVICES_LIBS
718 FORCEFEEDBACK_LIBS
719 IOKIT_LIBS
720 COREFOUNDATION_LIBS
721 OBJCPP
722 ac_ct_OBJC
723 OBJCFLAGS
724 OBJC
725 LIBWINE_DEPENDS
726 LIBWINE_LDFLAGS
727 LIBWINE_IMPORTLIB
728 LIBWINE_SHAREDLIB
729 DLLTOOL
730 WINELOADER_PROGRAMS
731 CONFIGURE_TARGETS
732 DISABLED_SUBDIRS
733 SUBDIRS
734 READELF
735 OTOOL
737 WINELOADER_LDFLAGS
738 TOP_INSTALL_DEV
739 TOP_INSTALL_LIB
740 LDEXECFLAGS
741 LDRPATH_LOCAL
742 LDRPATH_INSTALL
743 DLLFLAGS
745 OPENGL_LIBS
746 ICOTOOL
747 CONVERT
748 RSVG
749 FONTFORGE
750 PKG_CONFIG
751 MSGFMT
752 LDCONFIG
753 EGREP
754 GREP
755 LN_S
756 RANLIB
757 ARFLAGS
758 STRIP
759 ac_ct_AR
761 BISON
762 FLEX
763 TOOLSDIR
764 TARGETFLAGS
766 CPPBIN
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 SET_MAKE
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 target_alias
787 host_alias
788 build_alias
789 LIBS
790 ECHO_T
791 ECHO_N
792 ECHO_C
793 DEFS
794 mandir
795 localedir
796 libdir
797 psdir
798 pdfdir
799 dvidir
800 htmldir
801 infodir
802 docdir
803 oldincludedir
804 includedir
805 runstatedir
806 localstatedir
807 sharedstatedir
808 sysconfdir
809 datadir
810 datarootdir
811 libexecdir
812 sbindir
813 bindir
814 program_transform_name
815 prefix
816 exec_prefix
817 PACKAGE_URL
818 PACKAGE_BUGREPORT
819 PACKAGE_STRING
820 PACKAGE_VERSION
821 PACKAGE_TARNAME
822 PACKAGE_NAME
823 PATH_SEPARATOR
824 SHELL'
825 ac_subst_files=''
826 ac_user_opts='
827 enable_option_checking
828 enable_win16
829 enable_win64
830 enable_tests
831 enable_maintainer_mode
832 with_alsa
833 with_capi
834 with_cms
835 with_coreaudio
836 with_cups
837 with_curses
838 with_dbus
839 with_float_abi
840 with_fontconfig
841 with_freetype
842 with_gettext
843 with_gettextpo
844 with_gphoto
845 with_glu
846 with_gnutls
847 with_gsm
848 with_gssapi
849 with_gstreamer
850 with_hal
851 with_jpeg
852 with_krb5
853 with_ldap
854 with_mpg123
855 with_netapi
856 with_openal
857 with_opencl
858 with_opengl
859 with_osmesa
860 with_oss
861 with_pcap
862 with_png
863 with_pthread
864 with_pulse
865 with_sane
866 with_sdl
867 with_tiff
868 with_udev
869 with_v4l
870 with_vkd3d
871 with_vulkan
872 with_xcomposite
873 with_xcursor
874 with_xfixes
875 with_xinerama
876 with_xinput
877 with_xinput2
878 with_xml
879 with_xrandr
880 with_xrender
881 with_xshape
882 with_xshm
883 with_xslt
884 with_xxf86vm
885 with_zlib
886 with_wine_tools
887 with_wine64
888 enable_largefile
889 with_x
890 enable_acledit
891 enable_aclui
892 enable_activeds
893 enable_actxprxy
894 enable_adsiid
895 enable_adsldp
896 enable_adsldpc
897 enable_advapi32
898 enable_advpack
899 enable_amstream
900 enable_api_ms_win_appmodel_identity_l1_1_0
901 enable_api_ms_win_appmodel_runtime_l1_1_1
902 enable_api_ms_win_appmodel_runtime_l1_1_2
903 enable_api_ms_win_core_apiquery_l1_1_0
904 enable_api_ms_win_core_appcompat_l1_1_1
905 enable_api_ms_win_core_appinit_l1_1_0
906 enable_api_ms_win_core_atoms_l1_1_0
907 enable_api_ms_win_core_bem_l1_1_0
908 enable_api_ms_win_core_com_l1_1_0
909 enable_api_ms_win_core_com_l1_1_1
910 enable_api_ms_win_core_com_private_l1_1_0
911 enable_api_ms_win_core_comm_l1_1_0
912 enable_api_ms_win_core_console_l1_1_0
913 enable_api_ms_win_core_console_l2_1_0
914 enable_api_ms_win_core_crt_l1_1_0
915 enable_api_ms_win_core_crt_l2_1_0
916 enable_api_ms_win_core_datetime_l1_1_0
917 enable_api_ms_win_core_datetime_l1_1_1
918 enable_api_ms_win_core_debug_l1_1_0
919 enable_api_ms_win_core_debug_l1_1_1
920 enable_api_ms_win_core_delayload_l1_1_0
921 enable_api_ms_win_core_delayload_l1_1_1
922 enable_api_ms_win_core_errorhandling_l1_1_0
923 enable_api_ms_win_core_errorhandling_l1_1_1
924 enable_api_ms_win_core_errorhandling_l1_1_2
925 enable_api_ms_win_core_errorhandling_l1_1_3
926 enable_api_ms_win_core_fibers_l1_1_0
927 enable_api_ms_win_core_fibers_l1_1_1
928 enable_api_ms_win_core_file_l1_1_0
929 enable_api_ms_win_core_file_l1_2_0
930 enable_api_ms_win_core_file_l1_2_1
931 enable_api_ms_win_core_file_l1_2_2
932 enable_api_ms_win_core_file_l2_1_0
933 enable_api_ms_win_core_file_l2_1_1
934 enable_api_ms_win_core_file_l2_1_2
935 enable_api_ms_win_core_handle_l1_1_0
936 enable_api_ms_win_core_heap_l1_1_0
937 enable_api_ms_win_core_heap_l1_2_0
938 enable_api_ms_win_core_heap_l2_1_0
939 enable_api_ms_win_core_heap_obsolete_l1_1_0
940 enable_api_ms_win_core_interlocked_l1_1_0
941 enable_api_ms_win_core_interlocked_l1_2_0
942 enable_api_ms_win_core_io_l1_1_0
943 enable_api_ms_win_core_io_l1_1_1
944 enable_api_ms_win_core_job_l1_1_0
945 enable_api_ms_win_core_job_l2_1_0
946 enable_api_ms_win_core_kernel32_legacy_l1_1_0
947 enable_api_ms_win_core_kernel32_legacy_l1_1_1
948 enable_api_ms_win_core_kernel32_private_l1_1_1
949 enable_api_ms_win_core_largeinteger_l1_1_0
950 enable_api_ms_win_core_libraryloader_l1_1_0
951 enable_api_ms_win_core_libraryloader_l1_1_1
952 enable_api_ms_win_core_libraryloader_l1_2_0
953 enable_api_ms_win_core_libraryloader_l1_2_1
954 enable_api_ms_win_core_libraryloader_l1_2_2
955 enable_api_ms_win_core_localization_l1_1_0
956 enable_api_ms_win_core_localization_l1_2_0
957 enable_api_ms_win_core_localization_l1_2_1
958 enable_api_ms_win_core_localization_l2_1_0
959 enable_api_ms_win_core_localization_obsolete_l1_1_0
960 enable_api_ms_win_core_localization_obsolete_l1_2_0
961 enable_api_ms_win_core_localization_obsolete_l1_3_0
962 enable_api_ms_win_core_localization_private_l1_1_0
963 enable_api_ms_win_core_localregistry_l1_1_0
964 enable_api_ms_win_core_memory_l1_1_0
965 enable_api_ms_win_core_memory_l1_1_1
966 enable_api_ms_win_core_memory_l1_1_2
967 enable_api_ms_win_core_misc_l1_1_0
968 enable_api_ms_win_core_namedpipe_l1_1_0
969 enable_api_ms_win_core_namedpipe_l1_2_0
970 enable_api_ms_win_core_namespace_l1_1_0
971 enable_api_ms_win_core_normalization_l1_1_0
972 enable_api_ms_win_core_path_l1_1_0
973 enable_api_ms_win_core_privateprofile_l1_1_1
974 enable_api_ms_win_core_processenvironment_l1_1_0
975 enable_api_ms_win_core_processenvironment_l1_2_0
976 enable_api_ms_win_core_processthreads_l1_1_0
977 enable_api_ms_win_core_processthreads_l1_1_1
978 enable_api_ms_win_core_processthreads_l1_1_2
979 enable_api_ms_win_core_processthreads_l1_1_3
980 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
981 enable_api_ms_win_core_profile_l1_1_0
982 enable_api_ms_win_core_psapi_ansi_l1_1_0
983 enable_api_ms_win_core_psapi_l1_1_0
984 enable_api_ms_win_core_psapi_obsolete_l1_1_0
985 enable_api_ms_win_core_quirks_l1_1_0
986 enable_api_ms_win_core_realtime_l1_1_0
987 enable_api_ms_win_core_registry_l1_1_0
988 enable_api_ms_win_core_registry_l2_1_0
989 enable_api_ms_win_core_registryuserspecific_l1_1_0
990 enable_api_ms_win_core_rtlsupport_l1_1_0
991 enable_api_ms_win_core_rtlsupport_l1_2_0
992 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
993 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
994 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
995 enable_api_ms_win_core_shutdown_l1_1_0
996 enable_api_ms_win_core_sidebyside_l1_1_0
997 enable_api_ms_win_core_string_l1_1_0
998 enable_api_ms_win_core_string_l2_1_0
999 enable_api_ms_win_core_string_obsolete_l1_1_0
1000 enable_api_ms_win_core_stringansi_l1_1_0
1001 enable_api_ms_win_core_stringloader_l1_1_1
1002 enable_api_ms_win_core_synch_ansi_l1_1_0
1003 enable_api_ms_win_core_synch_l1_1_0
1004 enable_api_ms_win_core_synch_l1_2_0
1005 enable_api_ms_win_core_synch_l1_2_1
1006 enable_api_ms_win_core_sysinfo_l1_1_0
1007 enable_api_ms_win_core_sysinfo_l1_2_0
1008 enable_api_ms_win_core_sysinfo_l1_2_1
1009 enable_api_ms_win_core_threadpool_l1_1_0
1010 enable_api_ms_win_core_threadpool_l1_2_0
1011 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1012 enable_api_ms_win_core_threadpool_private_l1_1_0
1013 enable_api_ms_win_core_timezone_l1_1_0
1014 enable_api_ms_win_core_toolhelp_l1_1_0
1015 enable_api_ms_win_core_url_l1_1_0
1016 enable_api_ms_win_core_util_l1_1_0
1017 enable_api_ms_win_core_version_l1_1_0
1018 enable_api_ms_win_core_version_l1_1_1
1019 enable_api_ms_win_core_version_private_l1_1_0
1020 enable_api_ms_win_core_versionansi_l1_1_0
1021 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1022 enable_api_ms_win_core_winrt_error_l1_1_0
1023 enable_api_ms_win_core_winrt_error_l1_1_1
1024 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1025 enable_api_ms_win_core_winrt_l1_1_0
1026 enable_api_ms_win_core_winrt_registration_l1_1_0
1027 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1028 enable_api_ms_win_core_winrt_string_l1_1_0
1029 enable_api_ms_win_core_winrt_string_l1_1_1
1030 enable_api_ms_win_core_wow64_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_1
1032 enable_api_ms_win_core_xstate_l1_1_0
1033 enable_api_ms_win_core_xstate_l2_1_0
1034 enable_api_ms_win_crt_conio_l1_1_0
1035 enable_api_ms_win_crt_convert_l1_1_0
1036 enable_api_ms_win_crt_environment_l1_1_0
1037 enable_api_ms_win_crt_filesystem_l1_1_0
1038 enable_api_ms_win_crt_heap_l1_1_0
1039 enable_api_ms_win_crt_locale_l1_1_0
1040 enable_api_ms_win_crt_math_l1_1_0
1041 enable_api_ms_win_crt_multibyte_l1_1_0
1042 enable_api_ms_win_crt_private_l1_1_0
1043 enable_api_ms_win_crt_process_l1_1_0
1044 enable_api_ms_win_crt_runtime_l1_1_0
1045 enable_api_ms_win_crt_stdio_l1_1_0
1046 enable_api_ms_win_crt_string_l1_1_0
1047 enable_api_ms_win_crt_time_l1_1_0
1048 enable_api_ms_win_crt_utility_l1_1_0
1049 enable_api_ms_win_devices_config_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_1
1051 enable_api_ms_win_devices_query_l1_1_1
1052 enable_api_ms_win_downlevel_advapi32_l1_1_0
1053 enable_api_ms_win_downlevel_advapi32_l2_1_0
1054 enable_api_ms_win_downlevel_normaliz_l1_1_0
1055 enable_api_ms_win_downlevel_ole32_l1_1_0
1056 enable_api_ms_win_downlevel_shell32_l1_1_0
1057 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1059 enable_api_ms_win_downlevel_user32_l1_1_0
1060 enable_api_ms_win_downlevel_version_l1_1_0
1061 enable_api_ms_win_dx_d3dkmt_l1_1_0
1062 enable_api_ms_win_eventing_classicprovider_l1_1_0
1063 enable_api_ms_win_eventing_consumer_l1_1_0
1064 enable_api_ms_win_eventing_controller_l1_1_0
1065 enable_api_ms_win_eventing_legacy_l1_1_0
1066 enable_api_ms_win_eventing_provider_l1_1_0
1067 enable_api_ms_win_eventlog_legacy_l1_1_0
1068 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1069 enable_api_ms_win_mm_joystick_l1_1_0
1070 enable_api_ms_win_mm_misc_l1_1_1
1071 enable_api_ms_win_mm_mme_l1_1_0
1072 enable_api_ms_win_mm_time_l1_1_0
1073 enable_api_ms_win_ntuser_dc_access_l1_1_0
1074 enable_api_ms_win_ntuser_rectangle_l1_1_0
1075 enable_api_ms_win_ntuser_sysparams_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atmlib
1123 enable_authz
1124 enable_avicap32
1125 enable_avifil32
1126 enable_avrt
1127 enable_bcrypt
1128 enable_bluetoothapis
1129 enable_browseui
1130 enable_bthprops_cpl
1131 enable_cabinet
1132 enable_capi2032
1133 enable_cards
1134 enable_cdosys
1135 enable_cfgmgr32
1136 enable_clusapi
1137 enable_combase
1138 enable_comcat
1139 enable_comctl32
1140 enable_comdlg32
1141 enable_compstui
1142 enable_comsvcs
1143 enable_concrt140
1144 enable_connect
1145 enable_credui
1146 enable_crtdll
1147 enable_crypt32
1148 enable_cryptdlg
1149 enable_cryptdll
1150 enable_cryptext
1151 enable_cryptnet
1152 enable_cryptui
1153 enable_ctapi32
1154 enable_ctl3d32
1155 enable_d2d1
1156 enable_d3d10
1157 enable_d3d10_1
1158 enable_d3d10core
1159 enable_d3d11
1160 enable_d3d12
1161 enable_d3d8
1162 enable_d3d9
1163 enable_d3dcompiler_33
1164 enable_d3dcompiler_34
1165 enable_d3dcompiler_35
1166 enable_d3dcompiler_36
1167 enable_d3dcompiler_37
1168 enable_d3dcompiler_38
1169 enable_d3dcompiler_39
1170 enable_d3dcompiler_40
1171 enable_d3dcompiler_41
1172 enable_d3dcompiler_42
1173 enable_d3dcompiler_43
1174 enable_d3dcompiler_46
1175 enable_d3dcompiler_47
1176 enable_d3dim
1177 enable_d3drm
1178 enable_d3dx10_33
1179 enable_d3dx10_34
1180 enable_d3dx10_35
1181 enable_d3dx10_36
1182 enable_d3dx10_37
1183 enable_d3dx10_38
1184 enable_d3dx10_39
1185 enable_d3dx10_40
1186 enable_d3dx10_41
1187 enable_d3dx10_42
1188 enable_d3dx10_43
1189 enable_d3dx11_42
1190 enable_d3dx11_43
1191 enable_d3dx9_24
1192 enable_d3dx9_25
1193 enable_d3dx9_26
1194 enable_d3dx9_27
1195 enable_d3dx9_28
1196 enable_d3dx9_29
1197 enable_d3dx9_30
1198 enable_d3dx9_31
1199 enable_d3dx9_32
1200 enable_d3dx9_33
1201 enable_d3dx9_34
1202 enable_d3dx9_35
1203 enable_d3dx9_36
1204 enable_d3dx9_37
1205 enable_d3dx9_38
1206 enable_d3dx9_39
1207 enable_d3dx9_40
1208 enable_d3dx9_41
1209 enable_d3dx9_42
1210 enable_d3dx9_43
1211 enable_d3dxof
1212 enable_davclnt
1213 enable_dbgeng
1214 enable_dbghelp
1215 enable_dciman32
1216 enable_ddraw
1217 enable_ddrawex
1218 enable_devenum
1219 enable_dhcpcsvc
1220 enable_dhtmled_ocx
1221 enable_difxapi
1222 enable_dinput
1223 enable_dinput8
1224 enable_dispex
1225 enable_dmband
1226 enable_dmcompos
1227 enable_dmime
1228 enable_dmloader
1229 enable_dmoguids
1230 enable_dmscript
1231 enable_dmstyle
1232 enable_dmsynth
1233 enable_dmusic
1234 enable_dmusic32
1235 enable_dnsapi
1236 enable_dplay
1237 enable_dplayx
1238 enable_dpnaddr
1239 enable_dpnet
1240 enable_dpnhpast
1241 enable_dpnlobby
1242 enable_dpvoice
1243 enable_dpwsockx
1244 enable_drmclien
1245 enable_dsound
1246 enable_dsquery
1247 enable_dssenh
1248 enable_dswave
1249 enable_dwmapi
1250 enable_dwrite
1251 enable_dx8vb
1252 enable_dxdiagn
1253 enable_dxerr8
1254 enable_dxerr9
1255 enable_dxgi
1256 enable_dxguid
1257 enable_dxva2
1258 enable_esent
1259 enable_evr
1260 enable_explorerframe
1261 enable_ext_ms_win_authz_context_l1_1_0
1262 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1263 enable_ext_ms_win_dwmapi_ext_l1_1_0
1264 enable_ext_ms_win_gdi_dc_create_l1_1_1
1265 enable_ext_ms_win_gdi_dc_l1_2_0
1266 enable_ext_ms_win_gdi_devcaps_l1_1_0
1267 enable_ext_ms_win_gdi_draw_l1_1_1
1268 enable_ext_ms_win_gdi_render_l1_1_0
1269 enable_ext_ms_win_kernel32_package_current_l1_1_0
1270 enable_ext_ms_win_kernel32_package_l1_1_1
1271 enable_ext_ms_win_ntuser_draw_l1_1_0
1272 enable_ext_ms_win_ntuser_gui_l1_3_0
1273 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1274 enable_ext_ms_win_ntuser_message_l1_1_1
1275 enable_ext_ms_win_ntuser_misc_l1_5_1
1276 enable_ext_ms_win_ntuser_mouse_l1_1_0
1277 enable_ext_ms_win_ntuser_private_l1_1_1
1278 enable_ext_ms_win_ntuser_private_l1_3_1
1279 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1280 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_window_l1_1_1
1282 enable_ext_ms_win_ntuser_window_l1_1_4
1283 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1284 enable_ext_ms_win_oleacc_l1_1_0
1285 enable_ext_ms_win_ras_rasapi32_l1_1_0
1286 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1293 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1296 enable_ext_ms_win_security_credui_l1_1_0
1297 enable_ext_ms_win_security_cryptui_l1_1_0
1298 enable_ext_ms_win_uxtheme_themes_l1_1_0
1299 enable_faultrep
1300 enable_feclient
1301 enable_fltlib
1302 enable_fltmgr_sys
1303 enable_fntcache
1304 enable_fontsub
1305 enable_fusion
1306 enable_fwpuclnt
1307 enable_gameux
1308 enable_gdi32
1309 enable_gdiplus
1310 enable_glu32
1311 enable_gphoto2_ds
1312 enable_gpkcsp
1313 enable_hal
1314 enable_hhctrl_ocx
1315 enable_hid
1316 enable_hidclass_sys
1317 enable_hlink
1318 enable_hnetcfg
1319 enable_httpapi
1320 enable_iccvid
1321 enable_icmp
1322 enable_ieframe
1323 enable_ieproxy
1324 enable_imaadp32_acm
1325 enable_imagehlp
1326 enable_imm32
1327 enable_inetcomm
1328 enable_inetcpl_cpl
1329 enable_inetmib1
1330 enable_infosoft
1331 enable_initpki
1332 enable_inkobj
1333 enable_inseng
1334 enable_iphlpapi
1335 enable_iprop
1336 enable_irprops_cpl
1337 enable_itircl
1338 enable_itss
1339 enable_joy_cpl
1340 enable_jscript
1341 enable_jsproxy
1342 enable_kerberos
1343 enable_kernel32
1344 enable_kernelbase
1345 enable_ksuser
1346 enable_ktmw32
1347 enable_l3codeca_acm
1348 enable_loadperf
1349 enable_localspl
1350 enable_localui
1351 enable_lz32
1352 enable_mapi32
1353 enable_mapistub
1354 enable_mciavi32
1355 enable_mcicda
1356 enable_mciqtz32
1357 enable_mciseq
1358 enable_mciwave
1359 enable_mf
1360 enable_mf3216
1361 enable_mfplat
1362 enable_mfreadwrite
1363 enable_mfuuid
1364 enable_mgmtapi
1365 enable_midimap
1366 enable_mlang
1367 enable_mmcndmgr
1368 enable_mmdevapi
1369 enable_mountmgr_sys
1370 enable_mp3dmod
1371 enable_mpr
1372 enable_mprapi
1373 enable_msacm32_drv
1374 enable_msacm32
1375 enable_msadp32_acm
1376 enable_msasn1
1377 enable_mscat32
1378 enable_mscms
1379 enable_mscoree
1380 enable_msctf
1381 enable_msctfp
1382 enable_msdaps
1383 enable_msdelta
1384 enable_msdmo
1385 enable_msdrm
1386 enable_msftedit
1387 enable_msg711_acm
1388 enable_msgsm32_acm
1389 enable_mshtml_tlb
1390 enable_mshtml
1391 enable_msi
1392 enable_msident
1393 enable_msimg32
1394 enable_msimsg
1395 enable_msimtf
1396 enable_msisip
1397 enable_msisys_ocx
1398 enable_msls31
1399 enable_msnet32
1400 enable_mspatcha
1401 enable_msports
1402 enable_msrle32
1403 enable_msscript_ocx
1404 enable_mssign32
1405 enable_mssip32
1406 enable_mstask
1407 enable_msvcirt
1408 enable_msvcm80
1409 enable_msvcm90
1410 enable_msvcp100
1411 enable_msvcp110
1412 enable_msvcp120
1413 enable_msvcp120_app
1414 enable_msvcp140
1415 enable_msvcp60
1416 enable_msvcp70
1417 enable_msvcp71
1418 enable_msvcp80
1419 enable_msvcp90
1420 enable_msvcr100
1421 enable_msvcr110
1422 enable_msvcr120
1423 enable_msvcr120_app
1424 enable_msvcr70
1425 enable_msvcr71
1426 enable_msvcr80
1427 enable_msvcr90
1428 enable_msvcrt
1429 enable_msvcrt20
1430 enable_msvcrt40
1431 enable_msvcrtd
1432 enable_msvfw32
1433 enable_msvidc32
1434 enable_mswsock
1435 enable_msxml
1436 enable_msxml2
1437 enable_msxml3
1438 enable_msxml4
1439 enable_msxml6
1440 enable_mtxdm
1441 enable_ncrypt
1442 enable_nddeapi
1443 enable_ndis_sys
1444 enable_netapi32
1445 enable_netcfgx
1446 enable_netprofm
1447 enable_newdev
1448 enable_ninput
1449 enable_normaliz
1450 enable_npmshtml
1451 enable_npptools
1452 enable_ntdll
1453 enable_ntdsapi
1454 enable_ntoskrnl_exe
1455 enable_ntprint
1456 enable_objsel
1457 enable_odbc32
1458 enable_odbccp32
1459 enable_odbccu32
1460 enable_ole32
1461 enable_oleacc
1462 enable_oleaut32
1463 enable_olecli32
1464 enable_oledb32
1465 enable_oledlg
1466 enable_olepro32
1467 enable_olesvr32
1468 enable_olethk32
1469 enable_opcservices
1470 enable_openal32
1471 enable_opencl
1472 enable_opengl32
1473 enable_packager
1474 enable_pdh
1475 enable_photometadatahandler
1476 enable_pidgen
1477 enable_powrprof
1478 enable_printui
1479 enable_prntvpt
1480 enable_propsys
1481 enable_psapi
1482 enable_pstorec
1483 enable_qcap
1484 enable_qedit
1485 enable_qmgr
1486 enable_qmgrprxy
1487 enable_quartz
1488 enable_query
1489 enable_qwave
1490 enable_rasapi32
1491 enable_rasdlg
1492 enable_regapi
1493 enable_resutils
1494 enable_riched20
1495 enable_riched32
1496 enable_rpcrt4
1497 enable_rsabase
1498 enable_rsaenh
1499 enable_rstrtmgr
1500 enable_rtutils
1501 enable_samlib
1502 enable_sane_ds
1503 enable_sapi
1504 enable_sas
1505 enable_scarddlg
1506 enable_sccbase
1507 enable_schannel
1508 enable_schedsvc
1509 enable_scrobj
1510 enable_scrrun
1511 enable_scsiport_sys
1512 enable_secur32
1513 enable_security
1514 enable_sensapi
1515 enable_serialui
1516 enable_setupapi
1517 enable_sfc
1518 enable_sfc_os
1519 enable_shcore
1520 enable_shdoclc
1521 enable_shdocvw
1522 enable_shell32
1523 enable_shfolder
1524 enable_shlwapi
1525 enable_slbcsp
1526 enable_slc
1527 enable_snmpapi
1528 enable_softpub
1529 enable_spoolss
1530 enable_srclient
1531 enable_sspicli
1532 enable_stdole2_tlb
1533 enable_stdole32_tlb
1534 enable_sti
1535 enable_strmbase
1536 enable_strmdll
1537 enable_strmiids
1538 enable_svrapi
1539 enable_sxs
1540 enable_t2embed
1541 enable_tapi32
1542 enable_taskschd
1543 enable_tdh
1544 enable_tdi_sys
1545 enable_traffic
1546 enable_twain_32
1547 enable_ucrtbase
1548 enable_uiautomationcore
1549 enable_uiribbon
1550 enable_unicows
1551 enable_updspapi
1552 enable_url
1553 enable_urlmon
1554 enable_usbd_sys
1555 enable_user32
1556 enable_userenv
1557 enable_usp10
1558 enable_uuid
1559 enable_uxtheme
1560 enable_vbscript
1561 enable_vcomp
1562 enable_vcomp100
1563 enable_vcomp110
1564 enable_vcomp120
1565 enable_vcomp140
1566 enable_vcomp90
1567 enable_vcruntime140
1568 enable_vdmdbg
1569 enable_version
1570 enable_virtdisk
1571 enable_vssapi
1572 enable_vulkan_1
1573 enable_wbemdisp
1574 enable_wbemprox
1575 enable_wdscore
1576 enable_webservices
1577 enable_wer
1578 enable_wevtapi
1579 enable_wiaservc
1580 enable_wimgapi
1581 enable_windowscodecs
1582 enable_windowscodecsext
1583 enable_winealsa_drv
1584 enable_wineandroid_drv
1585 enable_winebus_sys
1586 enable_winecoreaudio_drv
1587 enable_winecrt0
1588 enable_wined3d
1589 enable_winegstreamer
1590 enable_winehid_sys
1591 enable_winejoystick_drv
1592 enable_winemac_drv
1593 enable_winemapi
1594 enable_wineoss_drv
1595 enable_wineps_drv
1596 enable_winepulse_drv
1597 enable_wineqtdecoder
1598 enable_winevulkan
1599 enable_winex11_drv
1600 enable_wing32
1601 enable_winhttp
1602 enable_wininet
1603 enable_winmm
1604 enable_winnls32
1605 enable_winscard
1606 enable_winspool_drv
1607 enable_winsta
1608 enable_wintab32
1609 enable_wintrust
1610 enable_winusb
1611 enable_wlanapi
1612 enable_wldap32
1613 enable_wmasf
1614 enable_wmcodecdspuuid
1615 enable_wmi
1616 enable_wmiutils
1617 enable_wmp
1618 enable_wmphoto
1619 enable_wmvcore
1620 enable_wnaspi32
1621 enable_wpc
1622 enable_wpcap
1623 enable_ws2_32
1624 enable_wsdapi
1625 enable_wshom_ocx
1626 enable_wsnmp32
1627 enable_wsock32
1628 enable_wtsapi32
1629 enable_wuapi
1630 enable_wuaueng
1631 enable_x3daudio1_0
1632 enable_x3daudio1_1
1633 enable_x3daudio1_2
1634 enable_x3daudio1_3
1635 enable_x3daudio1_4
1636 enable_x3daudio1_5
1637 enable_x3daudio1_6
1638 enable_x3daudio1_7
1639 enable_xapofx1_1
1640 enable_xapofx1_2
1641 enable_xapofx1_3
1642 enable_xapofx1_4
1643 enable_xapofx1_5
1644 enable_xaudio2_0
1645 enable_xaudio2_1
1646 enable_xaudio2_2
1647 enable_xaudio2_3
1648 enable_xaudio2_4
1649 enable_xaudio2_5
1650 enable_xaudio2_6
1651 enable_xaudio2_7
1652 enable_xaudio2_8
1653 enable_xaudio2_9
1654 enable_xinput1_1
1655 enable_xinput1_2
1656 enable_xinput1_3
1657 enable_xinput1_4
1658 enable_xinput9_1_0
1659 enable_xmllite
1660 enable_xolehlp
1661 enable_xpsprint
1662 enable_xpssvcs
1663 enable_fonts
1664 enable_include
1665 enable_port
1666 enable_wine
1667 enable_wpp
1668 enable_loader
1669 enable_po
1670 enable_arp
1671 enable_aspnet_regiis
1672 enable_attrib
1673 enable_cabarc
1674 enable_cacls
1675 enable_clock
1676 enable_cmd
1677 enable_conhost
1678 enable_control
1679 enable_cscript
1680 enable_dism
1681 enable_dpnsvr
1682 enable_dxdiag
1683 enable_eject
1684 enable_expand
1685 enable_explorer
1686 enable_extrac32
1687 enable_fc
1688 enable_find
1689 enable_findstr
1690 enable_fsutil
1691 enable_hh
1692 enable_hostname
1693 enable_icacls
1694 enable_icinfo
1695 enable_iexplore
1696 enable_ipconfig
1697 enable_lodctr
1698 enable_mofcomp
1699 enable_mshta
1700 enable_msiexec
1701 enable_msinfo32
1702 enable_net
1703 enable_netsh
1704 enable_netstat
1705 enable_ngen
1706 enable_notepad
1707 enable_oleview
1708 enable_ping
1709 enable_plugplay
1710 enable_powershell
1711 enable_presentationfontcache
1712 enable_progman
1713 enable_reg
1714 enable_regasm
1715 enable_regedit
1716 enable_regsvcs
1717 enable_regsvr32
1718 enable_rpcss
1719 enable_rundll32
1720 enable_sc
1721 enable_schtasks
1722 enable_sdbinst
1723 enable_secedit
1724 enable_servicemodelreg
1725 enable_services
1726 enable_shutdown
1727 enable_spoolsv
1728 enable_start
1729 enable_subst
1730 enable_svchost
1731 enable_systeminfo
1732 enable_taskkill
1733 enable_tasklist
1734 enable_taskmgr
1735 enable_termsv
1736 enable_uninstaller
1737 enable_unlodctr
1738 enable_view
1739 enable_wevtutil
1740 enable_wineboot
1741 enable_winebrowser
1742 enable_winecfg
1743 enable_wineconsole
1744 enable_winedbg
1745 enable_winedevice
1746 enable_winefile
1747 enable_winemenubuilder
1748 enable_winemine
1749 enable_winemsibuilder
1750 enable_winepath
1751 enable_winetest
1752 enable_winhlp32
1753 enable_winmgmt
1754 enable_winver
1755 enable_wmic
1756 enable_wmplayer
1757 enable_wordpad
1758 enable_write
1759 enable_wscript
1760 enable_wusa
1761 enable_xcopy
1762 enable_server
1763 enable_tools
1764 enable_sfnt2fon
1765 enable_widl
1766 enable_winebuild
1767 enable_winedump
1768 enable_winegcc
1769 enable_winemaker
1770 enable_wmc
1771 enable_wrc
1773 ac_precious_vars='build_alias
1774 host_alias
1775 target_alias
1777 CFLAGS
1778 LDFLAGS
1779 LIBS
1780 CPPFLAGS
1782 CXXFLAGS
1785 OBJC
1786 OBJCFLAGS
1787 OBJCPP
1788 XMKMF
1789 XML2_CFLAGS
1790 XML2_LIBS
1791 XSLT_CFLAGS
1792 XSLT_LIBS
1793 DBUS_CFLAGS
1794 DBUS_LIBS
1795 HAL_CFLAGS
1796 HAL_LIBS
1797 GNUTLS_CFLAGS
1798 GNUTLS_LIBS
1799 SANE_CFLAGS
1800 SANE_LIBS
1801 GPHOTO2_CFLAGS
1802 GPHOTO2_LIBS
1803 GPHOTO2_PORT_CFLAGS
1804 GPHOTO2_PORT_LIBS
1805 LCMS2_CFLAGS
1806 LCMS2_LIBS
1807 FREETYPE_CFLAGS
1808 FREETYPE_LIBS
1809 PULSE_CFLAGS
1810 PULSE_LIBS
1811 GSTREAMER_CFLAGS
1812 GSTREAMER_LIBS
1813 UDEV_CFLAGS
1814 UDEV_LIBS
1815 SDL2_CFLAGS
1816 SDL2_LIBS
1817 CAPI20_CFLAGS
1818 CAPI20_LIBS
1819 CUPS_CFLAGS
1820 CUPS_LIBS
1821 FONTCONFIG_CFLAGS
1822 FONTCONFIG_LIBS
1823 KRB5_CFLAGS
1824 KRB5_LIBS
1825 GSSAPI_CFLAGS
1826 GSSAPI_LIBS
1827 JPEG_CFLAGS
1828 JPEG_LIBS
1829 PNG_CFLAGS
1830 PNG_LIBS
1831 TIFF_CFLAGS
1832 TIFF_LIBS
1833 MPG123_CFLAGS
1834 MPG123_LIBS
1835 NETAPI_CFLAGS
1836 NETAPI_LIBS
1837 VKD3D_CFLAGS
1838 VKD3D_LIBS
1839 LDAP_CFLAGS
1840 LDAP_LIBS'
1843 # Initialize some variables set by options.
1844 ac_init_help=
1845 ac_init_version=false
1846 ac_unrecognized_opts=
1847 ac_unrecognized_sep=
1848 # The variables have the same names as the options, with
1849 # dashes changed to underlines.
1850 cache_file=/dev/null
1851 exec_prefix=NONE
1852 no_create=
1853 no_recursion=
1854 prefix=NONE
1855 program_prefix=NONE
1856 program_suffix=NONE
1857 program_transform_name=s,x,x,
1858 silent=
1859 site=
1860 srcdir=
1861 verbose=
1862 x_includes=NONE
1863 x_libraries=NONE
1865 # Installation directory options.
1866 # These are left unexpanded so users can "make install exec_prefix=/foo"
1867 # and all the variables that are supposed to be based on exec_prefix
1868 # by default will actually change.
1869 # Use braces instead of parens because sh, perl, etc. also accept them.
1870 # (The list follows the same order as the GNU Coding Standards.)
1871 bindir='${exec_prefix}/bin'
1872 sbindir='${exec_prefix}/sbin'
1873 libexecdir='${exec_prefix}/libexec'
1874 datarootdir='${prefix}/share'
1875 datadir='${datarootdir}'
1876 sysconfdir='${prefix}/etc'
1877 sharedstatedir='${prefix}/com'
1878 localstatedir='${prefix}/var'
1879 runstatedir='${localstatedir}/run'
1880 includedir='${prefix}/include'
1881 oldincludedir='/usr/include'
1882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1883 infodir='${datarootdir}/info'
1884 htmldir='${docdir}'
1885 dvidir='${docdir}'
1886 pdfdir='${docdir}'
1887 psdir='${docdir}'
1888 libdir='${exec_prefix}/lib'
1889 localedir='${datarootdir}/locale'
1890 mandir='${datarootdir}/man'
1892 ac_prev=
1893 ac_dashdash=
1894 for ac_option
1896 # If the previous option needs an argument, assign it.
1897 if test -n "$ac_prev"; then
1898 eval $ac_prev=\$ac_option
1899 ac_prev=
1900 continue
1903 case $ac_option in
1904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1905 *=) ac_optarg= ;;
1906 *) ac_optarg=yes ;;
1907 esac
1909 # Accept the important Cygnus configure options, so we can diagnose typos.
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: $ac_useropt"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: $ac_useropt"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: $ac_useropt"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 $as_echo X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 3.21 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 3.21:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --disable-win16 do not include Win16 support
2470 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2471 binaries)
2472 --disable-tests do not build the regression tests
2473 --enable-maintainer-mode
2474 enable maintainer-specific build rules
2475 --disable-largefile omit support for large files
2477 Optional Packages:
2478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2480 --without-alsa do not use the Alsa sound support
2481 --without-capi do not use CAPI (ISDN support)
2482 --without-cms do not use CMS (color management support)
2483 --without-coreaudio do not use the CoreAudio sound support
2484 --without-cups do not use CUPS
2485 --without-curses do not use (n)curses
2486 --without-dbus do not use DBus (dynamic device support)
2487 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2488 --without-fontconfig do not use fontconfig
2489 --without-freetype do not use the FreeType library
2490 --without-gettext do not use gettext
2491 --with-gettextpo use the GetTextPO library to rebuild po files
2492 --without-gphoto do not use gphoto (Digital Camera support)
2493 --without-glu do not use the GLU library
2494 --without-gnutls do not use GnuTLS (schannel support)
2495 --without-gsm do not use libgsm (GSM 06.10 codec support)
2496 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2497 --without-gstreamer do not use GStreamer (codecs support)
2498 --without-hal do not use HAL (dynamic device support)
2499 --without-jpeg do not use JPEG
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-ldap do not use LDAP
2502 --without-mpg123 do not use the mpg123 library
2503 --without-netapi do not use the Samba NetAPI library
2504 --without-openal do not use OpenAL
2505 --without-opencl do not use OpenCL
2506 --without-opengl do not use OpenGL
2507 --without-osmesa do not use the OSMesa library
2508 --without-oss do not use the OSS sound support
2509 --without-pcap do not use the Packet Capture library
2510 --without-png do not use PNG
2511 --without-pthread do not use the pthread library
2512 --without-pulse do not use PulseAudio sound support
2513 --without-sane do not use SANE (scanner support)
2514 --without-sdl do not use SDL
2515 --without-tiff do not use TIFF
2516 --without-udev do not use udev (plug and play support)
2517 --without-v4l do not use v4l1 (v4l support)
2518 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2519 --without-vulkan do not use Vulkan
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xml do not use XML
2527 --without-xrandr do not use Xrandr (resolution changes)
2528 --without-xrender do not use the Xrender extension
2529 --without-xshape do not use the Xshape extension
2530 --without-xshm do not use XShm (shared memory extension)
2531 --without-xslt do not use XSLT
2532 --without-xxf86vm do not use XFree video mode extension
2533 --without-zlib do not use Zlib (data compression)
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 CPP C preprocessor
2549 OBJC Objective C compiler command
2550 OBJCFLAGS Objective C compiler flags
2551 OBJCPP Objective C preprocessor
2552 XMKMF Path to xmkmf, Makefile generator for X Window System
2553 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2554 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2555 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2556 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2557 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2558 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2559 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2560 HAL_LIBS Linker flags for hal, overriding pkg-config
2561 GNUTLS_CFLAGS
2562 C compiler flags for gnutls, overriding pkg-config
2563 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2564 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2565 SANE_LIBS Linker flags for libsane, overriding pkg-config
2566 GPHOTO2_CFLAGS
2567 C compiler flags for libgphoto2, overriding pkg-config
2568 GPHOTO2_LIBS
2569 Linker flags for libgphoto2, overriding pkg-config
2570 GPHOTO2_PORT_CFLAGS
2571 C compiler flags for libgphoto2_port, overriding pkg-config
2572 GPHOTO2_PORT_LIBS
2573 Linker flags for libgphoto2_port, overriding pkg-config
2574 LCMS2_CFLAGS
2575 C compiler flags for lcms2, overriding pkg-config
2576 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2577 FREETYPE_CFLAGS
2578 C compiler flags for freetype2, overriding pkg-config
2579 FREETYPE_LIBS
2580 Linker flags for freetype2, overriding pkg-config
2581 PULSE_CFLAGS
2582 C compiler flags for libpulse, overriding pkg-config
2583 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2584 GSTREAMER_CFLAGS
2585 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2586 gstreamer-audio-1.0, overriding pkg-config
2587 GSTREAMER_LIBS
2588 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2589 gstreamer-audio-1.0, overriding pkg-config
2590 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2591 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2592 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2593 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2594 CAPI20_CFLAGS
2595 C compiler flags for capi20, overriding pkg-config
2596 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2597 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2598 CUPS_LIBS Linker flags for cups, overriding pkg-config
2599 FONTCONFIG_CFLAGS
2600 C compiler flags for fontconfig, overriding pkg-config
2601 FONTCONFIG_LIBS
2602 Linker flags for fontconfig, overriding pkg-config
2603 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2604 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2605 GSSAPI_CFLAGS
2606 C compiler flags for krb5-gssapi, overriding pkg-config
2607 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2608 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2609 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2610 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2611 PNG_LIBS Linker flags for libpng, overriding pkg-config
2612 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2613 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2614 MPG123_CFLAGS
2615 C compiler flags for libmpg123, overriding pkg-config
2616 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2617 NETAPI_CFLAGS
2618 C compiler flags for netapi, overriding pkg-config
2619 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2620 VKD3D_CFLAGS
2621 C compiler flags for libvkd3d, overriding pkg-config
2622 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2623 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2624 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2626 Use these variables to override the choices made by `configure' or to help
2627 it to find libraries and programs with nonstandard names/locations.
2629 Report bugs to <wine-devel@winehq.org>.
2630 Wine home page: <https://www.winehq.org>.
2631 _ACEOF
2632 ac_status=$?
2635 if test "$ac_init_help" = "recursive"; then
2636 # If there are subdirs, report their specific --help.
2637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2638 test -d "$ac_dir" ||
2639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2640 continue
2641 ac_builddir=.
2643 case "$ac_dir" in
2644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2647 # A ".." for each directory in $ac_dir_suffix.
2648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2649 case $ac_top_builddir_sub in
2650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2652 esac ;;
2653 esac
2654 ac_abs_top_builddir=$ac_pwd
2655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2656 # for backward compatibility:
2657 ac_top_builddir=$ac_top_build_prefix
2659 case $srcdir in
2660 .) # We are building in place.
2661 ac_srcdir=.
2662 ac_top_srcdir=$ac_top_builddir_sub
2663 ac_abs_top_srcdir=$ac_pwd ;;
2664 [\\/]* | ?:[\\/]* ) # Absolute name.
2665 ac_srcdir=$srcdir$ac_dir_suffix;
2666 ac_top_srcdir=$srcdir
2667 ac_abs_top_srcdir=$srcdir ;;
2668 *) # Relative name.
2669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2670 ac_top_srcdir=$ac_top_build_prefix$srcdir
2671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2672 esac
2673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2675 cd "$ac_dir" || { ac_status=$?; continue; }
2676 # Check for guested configure.
2677 if test -f "$ac_srcdir/configure.gnu"; then
2678 echo &&
2679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2680 elif test -f "$ac_srcdir/configure"; then
2681 echo &&
2682 $SHELL "$ac_srcdir/configure" --help=recursive
2683 else
2684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2685 fi || ac_status=$?
2686 cd "$ac_pwd" || { ac_status=$?; break; }
2687 done
2690 test -n "$ac_init_help" && exit $ac_status
2691 if $ac_init_version; then
2692 cat <<\_ACEOF
2693 Wine configure 3.21
2694 generated by GNU Autoconf 2.69
2696 Copyright (C) 2012 Free Software Foundation, Inc.
2697 This configure script is free software; the Free Software Foundation
2698 gives unlimited permission to copy, distribute and modify it.
2699 _ACEOF
2700 exit
2703 ## ------------------------ ##
2704 ## Autoconf initialization. ##
2705 ## ------------------------ ##
2707 # ac_fn_c_try_compile LINENO
2708 # --------------------------
2709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2710 ac_fn_c_try_compile ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 rm -f conftest.$ac_objext
2714 if { { ac_try="$ac_compile"
2715 case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2718 esac
2719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2720 $as_echo "$ac_try_echo"; } >&5
2721 (eval "$ac_compile") 2>conftest.err
2722 ac_status=$?
2723 if test -s conftest.err; then
2724 grep -v '^ *+' conftest.err >conftest.er1
2725 cat conftest.er1 >&5
2726 mv -f conftest.er1 conftest.err
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; } && {
2730 test -z "$ac_c_werror_flag" ||
2731 test ! -s conftest.err
2732 } && test -s conftest.$ac_objext; then :
2733 ac_retval=0
2734 else
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 ac_retval=1
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 as_fn_set_status $ac_retval
2743 } # ac_fn_c_try_compile
2745 # ac_fn_cxx_try_compile LINENO
2746 # ----------------------------
2747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2748 ac_fn_cxx_try_compile ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 rm -f conftest.$ac_objext
2752 if { { ac_try="$ac_compile"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2758 $as_echo "$ac_try_echo"; } >&5
2759 (eval "$ac_compile") 2>conftest.err
2760 ac_status=$?
2761 if test -s conftest.err; then
2762 grep -v '^ *+' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2764 mv -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } && {
2768 test -z "$ac_cxx_werror_flag" ||
2769 test ! -s conftest.err
2770 } && test -s conftest.$ac_objext; then :
2771 ac_retval=0
2772 else
2773 $as_echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 ac_retval=1
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 as_fn_set_status $ac_retval
2781 } # ac_fn_cxx_try_compile
2783 # ac_fn_c_try_link LINENO
2784 # -----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded.
2786 ac_fn_c_try_link ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 rm -f conftest.$ac_objext conftest$ac_exeext
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>conftest.err
2798 ac_status=$?
2799 if test -s conftest.err; then
2800 grep -v '^ *+' conftest.err >conftest.er1
2801 cat conftest.er1 >&5
2802 mv -f conftest.er1 conftest.err
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest$ac_exeext && {
2809 test "$cross_compiling" = yes ||
2810 test -x conftest$ac_exeext
2811 }; then :
2812 ac_retval=0
2813 else
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2821 # interfere with the next link command; also delete a directory that is
2822 # left behind by Apple's compiler. We do this before executing the actions.
2823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_link
2829 # ac_fn_c_try_cpp LINENO
2830 # ----------------------
2831 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2832 ac_fn_c_try_cpp ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if { { ac_try="$ac_cpp conftest.$ac_ext"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2843 ac_status=$?
2844 if test -s conftest.err; then
2845 grep -v '^ *+' conftest.err >conftest.er1
2846 cat conftest.er1 >&5
2847 mv -f conftest.er1 conftest.err
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; } > conftest.i && {
2851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2852 test ! -s conftest.err
2853 }; then :
2854 ac_retval=0
2855 else
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=1
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 as_fn_set_status $ac_retval
2864 } # ac_fn_c_try_cpp
2866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2867 # -------------------------------------------------------
2868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2869 # the include files in INCLUDES and setting the cache variable VAR
2870 # accordingly.
2871 ac_fn_c_check_header_mongrel ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 if eval \${$3+:} false; then :
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 $as_echo_n "checking for $2... " >&6; }
2877 if eval \${$3+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 eval ac_res=\$$3
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2882 $as_echo "$ac_res" >&6; }
2883 else
2884 # Is the header compilable?
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2886 $as_echo_n "checking $2 usability... " >&6; }
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2890 #include <$2>
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2893 ac_header_compiler=yes
2894 else
2895 ac_header_compiler=no
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2899 $as_echo "$ac_header_compiler" >&6; }
2901 # Is the header present?
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2903 $as_echo_n "checking $2 presence... " >&6; }
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2906 #include <$2>
2907 _ACEOF
2908 if ac_fn_c_try_cpp "$LINENO"; then :
2909 ac_header_preproc=yes
2910 else
2911 ac_header_preproc=no
2913 rm -f conftest.err conftest.i conftest.$ac_ext
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2915 $as_echo "$ac_header_preproc" >&6; }
2917 # So? What about this header?
2918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2919 yes:no: )
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2925 no:yes:* )
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2936 ( $as_echo "## ------------------------------------ ##
2937 ## Report this to wine-devel@winehq.org ##
2938 ## ------------------------------------ ##"
2939 ) | sed "s/^/$as_me: WARNING: /" >&2
2941 esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 eval "$3=\$ac_header_compiler"
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_header_mongrel
2957 # ac_fn_c_try_run LINENO
2958 # ----------------------
2959 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2960 # that executables *can* be run.
2961 ac_fn_c_try_run ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if { { ac_try="$ac_link"
2965 case "(($ac_try" in
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2968 esac
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2972 ac_status=$?
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2975 { { case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_try") 2>&5
2982 ac_status=$?
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; }; then :
2985 ac_retval=0
2986 else
2987 $as_echo "$as_me: program exited with status $ac_status" >&5
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 ac_retval=$ac_status
2993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 as_fn_set_status $ac_retval
2997 } # ac_fn_c_try_run
2999 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3000 # -------------------------------------------------------
3001 # Tests whether HEADER exists and can be compiled using the include files in
3002 # INCLUDES, setting the cache variable VAR accordingly.
3003 ac_fn_c_check_header_compile ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3007 $as_echo_n "checking for $2... " >&6; }
3008 if eval \${$3+:} false; then :
3009 $as_echo_n "(cached) " >&6
3010 else
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3014 #include <$2>
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 eval "$3=yes"
3018 else
3019 eval "$3=no"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_header_compile
3030 # ac_fn_objc_try_compile LINENO
3031 # -----------------------------
3032 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3033 ac_fn_objc_try_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 rm -f conftest.$ac_objext
3037 if { { ac_try="$ac_compile"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_compile") 2>conftest.err
3045 ac_status=$?
3046 if test -s conftest.err; then
3047 grep -v '^ *+' conftest.err >conftest.er1
3048 cat conftest.er1 >&5
3049 mv -f conftest.er1 conftest.err
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; } && {
3053 test -z "$ac_objc_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then :
3056 ac_retval=0
3057 else
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 ac_retval=1
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_objc_try_compile
3068 # ac_fn_objc_try_cpp LINENO
3069 # -------------------------
3070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3071 ac_fn_objc_try_cpp ()
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 ac_status=$?
3083 if test -s conftest.err; then
3084 grep -v '^ *+' conftest.err >conftest.er1
3085 cat conftest.er1 >&5
3086 mv -f conftest.er1 conftest.err
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; } > conftest.i && {
3090 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then :
3093 ac_retval=0
3094 else
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 ac_retval=1
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3103 } # ac_fn_objc_try_cpp
3105 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3106 # ----------------------------------------------------------
3107 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3108 # the include files in INCLUDES and setting the cache variable VAR
3109 # accordingly.
3110 ac_fn_objc_check_header_mongrel ()
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 if eval \${$3+:} false; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 else
3123 # Is the header compilable?
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3125 $as_echo_n "checking $2 usability... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3129 #include <$2>
3130 _ACEOF
3131 if ac_fn_objc_try_compile "$LINENO"; then :
3132 ac_header_compiler=yes
3133 else
3134 ac_header_compiler=no
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3138 $as_echo "$ac_header_compiler" >&6; }
3140 # Is the header present?
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3142 $as_echo_n "checking $2 presence... " >&6; }
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_objc_try_cpp "$LINENO"; then :
3148 ac_header_preproc=yes
3149 else
3150 ac_header_preproc=no
3152 rm -f conftest.err conftest.i conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3154 $as_echo "$ac_header_preproc" >&6; }
3156 # So? What about this header?
3157 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3158 yes:no: )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3160 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164 no:yes:* )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3166 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3168 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3170 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3172 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ( $as_echo "## ------------------------------------ ##
3176 ## Report this to wine-devel@winehq.org ##
3177 ## ------------------------------------ ##"
3178 ) | sed "s/^/$as_me: WARNING: /" >&2
3180 esac
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 eval "$3=\$ac_header_compiler"
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3194 } # ac_fn_objc_check_header_mongrel
3196 # ac_fn_c_check_func LINENO FUNC VAR
3197 # ----------------------------------
3198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3199 ac_fn_c_check_func ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3211 #define $2 innocuous_$2
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char $2 (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3218 #ifdef __STDC__
3219 # include <limits.h>
3220 #else
3221 # include <assert.h>
3222 #endif
3224 #undef $2
3226 /* Override any GCC internal prototype to avoid an error.
3227 Use char because int might match the return type of a GCC
3228 builtin and then its argument prototype would still apply. */
3229 #ifdef __cplusplus
3230 extern "C"
3231 #endif
3232 char $2 ();
3233 /* The GNU C library defines this for functions which it implements
3234 to always fail with ENOSYS. Some functions are actually named
3235 something starting with __ and the normal name is an alias. */
3236 #if defined __stub_$2 || defined __stub___$2
3237 choke me
3238 #endif
3241 main ()
3243 return $2 ();
3245 return 0;
3247 _ACEOF
3248 if ac_fn_c_try_link "$LINENO"; then :
3249 eval "$3=yes"
3250 else
3251 eval "$3=no"
3253 rm -f core conftest.err conftest.$ac_objext \
3254 conftest$ac_exeext conftest.$ac_ext
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 } # ac_fn_c_check_func
3263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3264 # ----------------------------------------------------
3265 # Tries to find if the field MEMBER exists in type AGGR, after including
3266 # INCLUDES, setting cache variable VAR accordingly.
3267 ac_fn_c_check_member ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3271 $as_echo_n "checking for $2.$3... " >&6; }
3272 if eval \${$4+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3279 main ()
3281 static $2 ac_aggr;
3282 if (ac_aggr.$3)
3283 return 0;
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 eval "$4=yes"
3290 else
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main ()
3297 static $2 ac_aggr;
3298 if (sizeof ac_aggr.$3)
3299 return 0;
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 eval "$4=yes"
3306 else
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 $as_echo "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 $as_echo_n "checking for $2... " >&6; }
3329 if eval \${$3+:} false; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 eval "$3=no"
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3337 main ()
3339 if (sizeof ($2))
3340 return 0;
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 main ()
3352 if (sizeof (($2)))
3353 return 0;
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3360 else
3361 eval "$3=yes"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 eval ac_res=\$$3
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3369 $as_echo "$ac_res" >&6; }
3370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3372 } # ac_fn_c_check_type
3373 cat >config.log <<_ACEOF
3374 This file contains any messages produced by compilers while
3375 running configure, to aid debugging if configure makes a mistake.
3377 It was created by Wine $as_me 3.21, which was
3378 generated by GNU Autoconf 2.69. Invocation command line was
3380 $ $0 $@
3382 _ACEOF
3383 exec 5>>config.log
3385 cat <<_ASUNAME
3386 ## --------- ##
3387 ## Platform. ##
3388 ## --------- ##
3390 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3391 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3392 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3393 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3394 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3396 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3397 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3399 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3400 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3401 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3402 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3403 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3404 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3405 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3407 _ASUNAME
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 for as_dir in $PATH
3412 IFS=$as_save_IFS
3413 test -z "$as_dir" && as_dir=.
3414 $as_echo "PATH: $as_dir"
3415 done
3416 IFS=$as_save_IFS
3418 } >&5
3420 cat >&5 <<_ACEOF
3423 ## ----------- ##
3424 ## Core tests. ##
3425 ## ----------- ##
3427 _ACEOF
3430 # Keep a trace of the command line.
3431 # Strip out --no-create and --no-recursion so they do not pile up.
3432 # Strip out --silent because we don't want to record it for future runs.
3433 # Also quote any args containing shell meta-characters.
3434 # Make two passes to allow for proper duplicate-argument suppression.
3435 ac_configure_args=
3436 ac_configure_args0=
3437 ac_configure_args1=
3438 ac_must_keep_next=false
3439 for ac_pass in 1 2
3441 for ac_arg
3443 case $ac_arg in
3444 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3446 | -silent | --silent | --silen | --sile | --sil)
3447 continue ;;
3448 *\'*)
3449 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3450 esac
3451 case $ac_pass in
3452 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3454 as_fn_append ac_configure_args1 " '$ac_arg'"
3455 if test $ac_must_keep_next = true; then
3456 ac_must_keep_next=false # Got value, back to normal.
3457 else
3458 case $ac_arg in
3459 *=* | --config-cache | -C | -disable-* | --disable-* \
3460 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3461 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3462 | -with-* | --with-* | -without-* | --without-* | --x)
3463 case "$ac_configure_args0 " in
3464 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3465 esac
3467 -* ) ac_must_keep_next=true ;;
3468 esac
3470 as_fn_append ac_configure_args " '$ac_arg'"
3472 esac
3473 done
3474 done
3475 { ac_configure_args0=; unset ac_configure_args0;}
3476 { ac_configure_args1=; unset ac_configure_args1;}
3478 # When interrupted or exit'd, cleanup temporary files, and complete
3479 # config.log. We remove comments because anyway the quotes in there
3480 # would cause problems or look ugly.
3481 # WARNING: Use '\'' to represent an apostrophe within the trap.
3482 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3483 trap 'exit_status=$?
3484 # Save into config.log some information that might help in debugging.
3486 echo
3488 $as_echo "## ---------------- ##
3489 ## Cache variables. ##
3490 ## ---------------- ##"
3491 echo
3492 # The following way of writing the cache mishandles newlines in values,
3494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3495 eval ac_val=\$$ac_var
3496 case $ac_val in #(
3497 *${as_nl}*)
3498 case $ac_var in #(
3499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3501 esac
3502 case $ac_var in #(
3503 _ | IFS | as_nl) ;; #(
3504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3505 *) { eval $ac_var=; unset $ac_var;} ;;
3506 esac ;;
3507 esac
3508 done
3509 (set) 2>&1 |
3510 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3511 *${as_nl}ac_space=\ *)
3512 sed -n \
3513 "s/'\''/'\''\\\\'\'''\''/g;
3514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3515 ;; #(
3517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3519 esac |
3520 sort
3522 echo
3524 $as_echo "## ----------------- ##
3525 ## Output variables. ##
3526 ## ----------------- ##"
3527 echo
3528 for ac_var in $ac_subst_vars
3530 eval ac_val=\$$ac_var
3531 case $ac_val in
3532 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 esac
3534 $as_echo "$ac_var='\''$ac_val'\''"
3535 done | sort
3536 echo
3538 if test -n "$ac_subst_files"; then
3539 $as_echo "## ------------------- ##
3540 ## File substitutions. ##
3541 ## ------------------- ##"
3542 echo
3543 for ac_var in $ac_subst_files
3545 eval ac_val=\$$ac_var
3546 case $ac_val in
3547 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3548 esac
3549 $as_echo "$ac_var='\''$ac_val'\''"
3550 done | sort
3551 echo
3554 if test -s confdefs.h; then
3555 $as_echo "## ----------- ##
3556 ## confdefs.h. ##
3557 ## ----------- ##"
3558 echo
3559 cat confdefs.h
3560 echo
3562 test "$ac_signal" != 0 &&
3563 $as_echo "$as_me: caught signal $ac_signal"
3564 $as_echo "$as_me: exit $exit_status"
3565 } >&5
3566 rm -f core *.core core.conftest.* &&
3567 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3568 exit $exit_status
3570 for ac_signal in 1 2 13 15; do
3571 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3572 done
3573 ac_signal=0
3575 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3576 rm -f -r conftest* confdefs.h
3578 $as_echo "/* confdefs.h */" > confdefs.h
3580 # Predefined preprocessor variables.
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_NAME "$PACKAGE_NAME"
3584 _ACEOF
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3588 _ACEOF
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3592 _ACEOF
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_STRING "$PACKAGE_STRING"
3596 _ACEOF
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3600 _ACEOF
3602 cat >>confdefs.h <<_ACEOF
3603 #define PACKAGE_URL "$PACKAGE_URL"
3604 _ACEOF
3607 # Let the site file select an alternate cache file if it wants to.
3608 # Prefer an explicitly selected file to automatically selected ones.
3609 ac_site_file1=NONE
3610 ac_site_file2=NONE
3611 if test -n "$CONFIG_SITE"; then
3612 # We do not want a PATH search for config.site.
3613 case $CONFIG_SITE in #((
3614 -*) ac_site_file1=./$CONFIG_SITE;;
3615 */*) ac_site_file1=$CONFIG_SITE;;
3616 *) ac_site_file1=./$CONFIG_SITE;;
3617 esac
3618 elif test "x$prefix" != xNONE; then
3619 ac_site_file1=$prefix/share/config.site
3620 ac_site_file2=$prefix/etc/config.site
3621 else
3622 ac_site_file1=$ac_default_prefix/share/config.site
3623 ac_site_file2=$ac_default_prefix/etc/config.site
3625 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3627 test "x$ac_site_file" = xNONE && continue
3628 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3630 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3631 sed 's/^/| /' "$ac_site_file" >&5
3632 . "$ac_site_file" \
3633 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "failed to load site script $ac_site_file
3636 See \`config.log' for more details" "$LINENO" 5; }
3638 done
3640 if test -r "$cache_file"; then
3641 # Some versions of bash will fail to source /dev/null (special files
3642 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3643 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3645 $as_echo "$as_me: loading cache $cache_file" >&6;}
3646 case $cache_file in
3647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3648 *) . "./$cache_file";;
3649 esac
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3653 $as_echo "$as_me: creating cache $cache_file" >&6;}
3654 >$cache_file
3657 # Check that the precious variables saved in the cache have kept the same
3658 # value.
3659 ac_cache_corrupted=false
3660 for ac_var in $ac_precious_vars; do
3661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3662 eval ac_new_set=\$ac_env_${ac_var}_set
3663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3664 eval ac_new_val=\$ac_env_${ac_var}_value
3665 case $ac_old_set,$ac_new_set in
3666 set,)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3668 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3669 ac_cache_corrupted=: ;;
3670 ,set)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3672 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3673 ac_cache_corrupted=: ;;
3674 ,);;
3676 if test "x$ac_old_val" != "x$ac_new_val"; then
3677 # differences in whitespace do not lead to failure.
3678 ac_old_val_w=`echo x $ac_old_val`
3679 ac_new_val_w=`echo x $ac_new_val`
3680 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3682 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3683 ac_cache_corrupted=:
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3686 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3687 eval $ac_var=\$ac_old_val
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3690 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3692 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3693 fi;;
3694 esac
3695 # Pass precious variables to config.status.
3696 if test "$ac_new_set" = set; then
3697 case $ac_new_val in
3698 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3699 *) ac_arg=$ac_var=$ac_new_val ;;
3700 esac
3701 case " $ac_configure_args " in
3702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3703 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3704 esac
3706 done
3707 if $ac_cache_corrupted; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3711 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3712 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3714 ## -------------------- ##
3715 ## Main body of script. ##
3716 ## -------------------- ##
3718 ac_ext=c
3719 ac_cpp='$CPP $CPPFLAGS'
3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 ac_config_headers="$ac_config_headers include/config.h"
3728 ac_aux_dir=
3729 for ac_dir in tools "$srcdir"/tools; do
3730 if test -f "$ac_dir/install-sh"; then
3731 ac_aux_dir=$ac_dir
3732 ac_install_sh="$ac_aux_dir/install-sh -c"
3733 break
3734 elif test -f "$ac_dir/install.sh"; then
3735 ac_aux_dir=$ac_dir
3736 ac_install_sh="$ac_aux_dir/install.sh -c"
3737 break
3738 elif test -f "$ac_dir/shtool"; then
3739 ac_aux_dir=$ac_dir
3740 ac_install_sh="$ac_aux_dir/shtool install -c"
3741 break
3743 done
3744 if test -z "$ac_aux_dir"; then
3745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3748 # These three variables are undocumented and unsupported,
3749 # and are intended to be withdrawn in a future Autoconf release.
3750 # They can cause serious problems if a builder's source tree is in a directory
3751 # whose full name contains unusual characters.
3752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3758 libwine_version="1.0"
3762 # Check whether --enable-win16 was given.
3763 if test "${enable_win16+set}" = set; then :
3764 enableval=$enable_win16;
3767 # Check whether --enable-win64 was given.
3768 if test "${enable_win64+set}" = set; then :
3769 enableval=$enable_win64;
3772 # Check whether --enable-tests was given.
3773 if test "${enable_tests+set}" = set; then :
3774 enableval=$enable_tests;
3777 # Check whether --enable-maintainer-mode was given.
3778 if test "${enable_maintainer_mode+set}" = set; then :
3779 enableval=$enable_maintainer_mode;
3784 # Check whether --with-alsa was given.
3785 if test "${with_alsa+set}" = set; then :
3786 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3790 # Check whether --with-capi was given.
3791 if test "${with_capi+set}" = set; then :
3792 withval=$with_capi;
3796 # Check whether --with-cms was given.
3797 if test "${with_cms+set}" = set; then :
3798 withval=$with_cms;
3802 # Check whether --with-coreaudio was given.
3803 if test "${with_coreaudio+set}" = set; then :
3804 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3808 # Check whether --with-cups was given.
3809 if test "${with_cups+set}" = set; then :
3810 withval=$with_cups;
3814 # Check whether --with-curses was given.
3815 if test "${with_curses+set}" = set; then :
3816 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3820 # Check whether --with-dbus was given.
3821 if test "${with_dbus+set}" = set; then :
3822 withval=$with_dbus;
3826 # Check whether --with-float-abi was given.
3827 if test "${with_float_abi+set}" = set; then :
3828 withval=$with_float_abi;
3832 # Check whether --with-fontconfig was given.
3833 if test "${with_fontconfig+set}" = set; then :
3834 withval=$with_fontconfig;
3838 # Check whether --with-freetype was given.
3839 if test "${with_freetype+set}" = set; then :
3840 withval=$with_freetype;
3844 # Check whether --with-gettext was given.
3845 if test "${with_gettext+set}" = set; then :
3846 withval=$with_gettext;
3850 # Check whether --with-gettextpo was given.
3851 if test "${with_gettextpo+set}" = set; then :
3852 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3856 # Check whether --with-gphoto was given.
3857 if test "${with_gphoto+set}" = set; then :
3858 withval=$with_gphoto;
3862 # Check whether --with-glu was given.
3863 if test "${with_glu+set}" = set; then :
3864 withval=$with_glu;
3868 # Check whether --with-gnutls was given.
3869 if test "${with_gnutls+set}" = set; then :
3870 withval=$with_gnutls;
3874 # Check whether --with-gsm was given.
3875 if test "${with_gsm+set}" = set; then :
3876 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3880 # Check whether --with-gssapi was given.
3881 if test "${with_gssapi+set}" = set; then :
3882 withval=$with_gssapi;
3886 # Check whether --with-gstreamer was given.
3887 if test "${with_gstreamer+set}" = set; then :
3888 withval=$with_gstreamer;
3892 # Check whether --with-hal was given.
3893 if test "${with_hal+set}" = set; then :
3894 withval=$with_hal;
3898 # Check whether --with-jpeg was given.
3899 if test "${with_jpeg+set}" = set; then :
3900 withval=$with_jpeg;
3904 # Check whether --with-krb5 was given.
3905 if test "${with_krb5+set}" = set; then :
3906 withval=$with_krb5;
3910 # Check whether --with-ldap was given.
3911 if test "${with_ldap+set}" = set; then :
3912 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3916 # Check whether --with-mpg123 was given.
3917 if test "${with_mpg123+set}" = set; then :
3918 withval=$with_mpg123;
3922 # Check whether --with-netapi was given.
3923 if test "${with_netapi+set}" = set; then :
3924 withval=$with_netapi;
3928 # Check whether --with-openal was given.
3929 if test "${with_openal+set}" = set; then :
3930 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3934 # Check whether --with-opencl was given.
3935 if test "${with_opencl+set}" = set; then :
3936 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3940 # Check whether --with-opengl was given.
3941 if test "${with_opengl+set}" = set; then :
3942 withval=$with_opengl;
3946 # Check whether --with-osmesa was given.
3947 if test "${with_osmesa+set}" = set; then :
3948 withval=$with_osmesa;
3952 # Check whether --with-oss was given.
3953 if test "${with_oss+set}" = set; then :
3954 withval=$with_oss;
3958 # Check whether --with-pcap was given.
3959 if test "${with_pcap+set}" = set; then :
3960 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3964 # Check whether --with-png was given.
3965 if test "${with_png+set}" = set; then :
3966 withval=$with_png;
3970 # Check whether --with-pthread was given.
3971 if test "${with_pthread+set}" = set; then :
3972 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3976 # Check whether --with-pulse was given.
3977 if test "${with_pulse+set}" = set; then :
3978 withval=$with_pulse;
3982 # Check whether --with-sane was given.
3983 if test "${with_sane+set}" = set; then :
3984 withval=$with_sane;
3988 # Check whether --with-sdl was given.
3989 if test "${with_sdl+set}" = set; then :
3990 withval=$with_sdl;
3994 # Check whether --with-tiff was given.
3995 if test "${with_tiff+set}" = set; then :
3996 withval=$with_tiff;
4000 # Check whether --with-udev was given.
4001 if test "${with_udev+set}" = set; then :
4002 withval=$with_udev;
4006 # Check whether --with-v4l was given.
4007 if test "${with_v4l+set}" = set; then :
4008 withval=$with_v4l;
4012 # Check whether --with-vkd3d was given.
4013 if test "${with_vkd3d+set}" = set; then :
4014 withval=$with_vkd3d;
4018 # Check whether --with-vulkan was given.
4019 if test "${with_vulkan+set}" = set; then :
4020 withval=$with_vulkan;
4024 # Check whether --with-xcomposite was given.
4025 if test "${with_xcomposite+set}" = set; then :
4026 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4030 # Check whether --with-xcursor was given.
4031 if test "${with_xcursor+set}" = set; then :
4032 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4036 # Check whether --with-xfixes was given.
4037 if test "${with_xfixes+set}" = set; then :
4038 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4042 # Check whether --with-xinerama was given.
4043 if test "${with_xinerama+set}" = set; then :
4044 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4048 # Check whether --with-xinput was given.
4049 if test "${with_xinput+set}" = set; then :
4050 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4054 # Check whether --with-xinput2 was given.
4055 if test "${with_xinput2+set}" = set; then :
4056 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4060 # Check whether --with-xml was given.
4061 if test "${with_xml+set}" = set; then :
4062 withval=$with_xml;
4066 # Check whether --with-xrandr was given.
4067 if test "${with_xrandr+set}" = set; then :
4068 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4072 # Check whether --with-xrender was given.
4073 if test "${with_xrender+set}" = set; then :
4074 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4078 # Check whether --with-xshape was given.
4079 if test "${with_xshape+set}" = set; then :
4080 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4084 # Check whether --with-xshm was given.
4085 if test "${with_xshm+set}" = set; then :
4086 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4090 # Check whether --with-xslt was given.
4091 if test "${with_xslt+set}" = set; then :
4092 withval=$with_xslt;
4096 # Check whether --with-xxf86vm was given.
4097 if test "${with_xxf86vm+set}" = set; then :
4098 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
4102 # Check whether --with-zlib was given.
4103 if test "${with_zlib+set}" = set; then :
4104 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4109 # Check whether --with-wine-tools was given.
4110 if test "${with_wine_tools+set}" = set; then :
4111 withval=$with_wine_tools;
4115 # Check whether --with-wine64 was given.
4116 if test "${with_wine64+set}" = set; then :
4117 withval=$with_wine64;
4121 # Make sure we can run config.sub.
4122 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4123 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4126 $as_echo_n "checking build system type... " >&6; }
4127 if ${ac_cv_build+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 ac_build_alias=$build_alias
4131 test "x$ac_build_alias" = x &&
4132 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4133 test "x$ac_build_alias" = x &&
4134 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4136 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4140 $as_echo "$ac_cv_build" >&6; }
4141 case $ac_cv_build in
4142 *-*-*) ;;
4143 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4144 esac
4145 build=$ac_cv_build
4146 ac_save_IFS=$IFS; IFS='-'
4147 set x $ac_cv_build
4148 shift
4149 build_cpu=$1
4150 build_vendor=$2
4151 shift; shift
4152 # Remember, the first character of IFS is used to create $*,
4153 # except with old shells:
4154 build_os=$*
4155 IFS=$ac_save_IFS
4156 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4160 $as_echo_n "checking host system type... " >&6; }
4161 if ${ac_cv_host+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 if test "x$host_alias" = x; then
4165 ac_cv_host=$ac_cv_build
4166 else
4167 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4173 $as_echo "$ac_cv_host" >&6; }
4174 case $ac_cv_host in
4175 *-*-*) ;;
4176 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4177 esac
4178 host=$ac_cv_host
4179 ac_save_IFS=$IFS; IFS='-'
4180 set x $ac_cv_host
4181 shift
4182 host_cpu=$1
4183 host_vendor=$2
4184 shift; shift
4185 # Remember, the first character of IFS is used to create $*,
4186 # except with old shells:
4187 host_os=$*
4188 IFS=$ac_save_IFS
4189 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4193 case "$srcdir" in
4194 .) ;;
4195 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4196 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4197 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4198 fi ;;
4199 esac
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4203 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4204 set x ${MAKE-make}
4205 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4206 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4207 $as_echo_n "(cached) " >&6
4208 else
4209 cat >conftest.make <<\_ACEOF
4210 SHELL = /bin/sh
4211 all:
4212 @echo '@@@%%%=$(MAKE)=@@@%%%'
4213 _ACEOF
4214 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4216 *@@@%%%=?*=@@@%%%*)
4217 eval ac_cv_prog_make_${ac_make}_set=yes;;
4219 eval ac_cv_prog_make_${ac_make}_set=no;;
4220 esac
4221 rm -f conftest.make
4223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4226 SET_MAKE=
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4230 SET_MAKE="MAKE=${MAKE-make}"
4233 ac_ext=c
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238 if test -n "$ac_tool_prefix"; then
4239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if ${ac_cv_prog_CC+:} false; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 if test -n "$CC"; then
4247 ac_cv_prog_CC="$CC" # Let the user override the test.
4248 else
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 for as_dir in $PATH
4252 IFS=$as_save_IFS
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 break 2
4260 done
4261 done
4262 IFS=$as_save_IFS
4266 CC=$ac_cv_prog_CC
4267 if test -n "$CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4269 $as_echo "$CC" >&6; }
4270 else
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 if test -z "$ac_cv_prog_CC"; then
4278 ac_ct_CC=$CC
4279 # Extract the first word of "gcc", so it can be a program name with args.
4280 set dummy gcc; ac_word=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 if test -n "$ac_ct_CC"; then
4287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4288 else
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_ac_ct_CC="gcc"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4300 done
4301 done
4302 IFS=$as_save_IFS
4306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4307 if test -n "$ac_ct_CC"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4309 $as_echo "$ac_ct_CC" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4315 if test "x$ac_ct_CC" = x; then
4316 CC=""
4317 else
4318 case $cross_compiling:$ac_tool_warned in
4319 yes:)
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322 ac_tool_warned=yes ;;
4323 esac
4324 CC=$ac_ct_CC
4326 else
4327 CC="$ac_cv_prog_CC"
4330 if test -z "$CC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4333 set dummy ${ac_tool_prefix}cc; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CC+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CC="${ac_tool_prefix}cc"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4353 done
4354 done
4355 IFS=$as_save_IFS
4359 CC=$ac_cv_prog_CC
4360 if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362 $as_echo "$CC" >&6; }
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4371 if test -z "$CC"; then
4372 # Extract the first word of "cc", so it can be a program name with args.
4373 set dummy cc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC="$CC" # Let the user override the test.
4381 else
4382 ac_prog_rejected=no
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4391 ac_prog_rejected=yes
4392 continue
4394 ac_cv_prog_CC="cc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4402 if test $ac_prog_rejected = yes; then
4403 # We found a bogon in the path, so make sure we never use it.
4404 set dummy $ac_cv_prog_CC
4405 shift
4406 if test $# != 0; then
4407 # We chose a different compiler from the bogus one.
4408 # However, it has the same basename, so the bogon will be chosen
4409 # first if we set CC to just the basename; use the full file name.
4410 shift
4411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4416 CC=$ac_cv_prog_CC
4417 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in cl.exe
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CC+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
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; }
4468 test -n "$CC" && break
4469 done
4471 if test -z "$CC"; then
4472 ac_ct_CC=$CC
4473 for ac_prog in cl.exe
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CC"; then
4483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CC="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4505 $as_echo "$ac_ct_CC" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CC" && break
4513 done
4515 if test "x$ac_ct_CC" = x; then
4516 CC=""
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CC=$ac_ct_CC
4531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "no acceptable C compiler found in \$PATH
4534 See \`config.log' for more details" "$LINENO" 5; }
4536 # Provide some information about the compiler.
4537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4538 set X $ac_compile
4539 ac_compiler=$2
4540 for ac_option in --version -v -V -qversion; do
4541 { { ac_try="$ac_compiler $ac_option >&5"
4542 case "(($ac_try" in
4543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4545 esac
4546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4547 $as_echo "$ac_try_echo"; } >&5
4548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4549 ac_status=$?
4550 if test -s conftest.err; then
4551 sed '10a\
4552 ... rest of stderr output deleted ...
4553 10q' conftest.err >conftest.er1
4554 cat conftest.er1 >&5
4556 rm -f conftest.er1 conftest.err
4557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4558 test $ac_status = 0; }
4559 done
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4569 return 0;
4571 _ACEOF
4572 ac_clean_files_save=$ac_clean_files
4573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4574 # Try to create an executable without -o first, disregard a.out.
4575 # It will help us diagnose broken compilers, and finding out an intuition
4576 # of exeext.
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4578 $as_echo_n "checking whether the C compiler works... " >&6; }
4579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4581 # The possible output files:
4582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4584 ac_rmfiles=
4585 for ac_file in $ac_files
4587 case $ac_file in
4588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4590 esac
4591 done
4592 rm -f $ac_rmfiles
4594 if { { ac_try="$ac_link_default"
4595 case "(($ac_try" in
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4598 esac
4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600 $as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_link_default") 2>&5
4602 ac_status=$?
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }; then :
4605 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4607 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4608 # so that the user can short-circuit this test for compilers unknown to
4609 # Autoconf.
4610 for ac_file in $ac_files ''
4612 test -f "$ac_file" || continue
4613 case $ac_file in
4614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4616 [ab].out )
4617 # We found the default executable, but exeext='' is most
4618 # certainly right.
4619 break;;
4620 *.* )
4621 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4622 then :; else
4623 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4625 # We set ac_cv_exeext here because the later test for it is not
4626 # safe: cross compilers may not add the suffix if given an `-o'
4627 # argument, so we may need to know it at that point already.
4628 # Even if this section looks crufty: it has the advantage of
4629 # actually working.
4630 break;;
4632 break;;
4633 esac
4634 done
4635 test "$ac_cv_exeext" = no && ac_cv_exeext=
4637 else
4638 ac_file=''
4640 if test -z "$ac_file"; then :
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4643 $as_echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error 77 "C compiler cannot create executables
4649 See \`config.log' for more details" "$LINENO" 5; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4652 $as_echo "yes" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4655 $as_echo_n "checking for C compiler default output file name... " >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4657 $as_echo "$ac_file" >&6; }
4658 ac_exeext=$ac_cv_exeext
4660 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4661 ac_clean_files=$ac_clean_files_save
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4663 $as_echo_n "checking for suffix of executables... " >&6; }
4664 if { { ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4670 $as_echo "$ac_try_echo"; } >&5
4671 (eval "$ac_link") 2>&5
4672 ac_status=$?
4673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674 test $ac_status = 0; }; then :
4675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4677 # work properly (i.e., refer to `conftest.exe'), while it won't with
4678 # `rm'.
4679 for ac_file in conftest.exe conftest conftest.*; do
4680 test -f "$ac_file" || continue
4681 case $ac_file in
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4684 break;;
4685 * ) break;;
4686 esac
4687 done
4688 else
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4692 See \`config.log' for more details" "$LINENO" 5; }
4694 rm -f conftest conftest$ac_cv_exeext
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4696 $as_echo "$ac_cv_exeext" >&6; }
4698 rm -f conftest.$ac_ext
4699 EXEEXT=$ac_cv_exeext
4700 ac_exeext=$EXEEXT
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <stdio.h>
4705 main ()
4707 FILE *f = fopen ("conftest.out", "w");
4708 return ferror (f) || fclose (f) != 0;
4711 return 0;
4713 _ACEOF
4714 ac_clean_files="$ac_clean_files conftest.out"
4715 # Check that the compiler produces executables we can run. If not, either
4716 # the compiler is broken, or we cross compile.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4718 $as_echo_n "checking whether we are cross compiling... " >&6; }
4719 if test "$cross_compiling" != yes; then
4720 { { ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$ac_link") 2>&5
4728 ac_status=$?
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 if { ac_try='./conftest$ac_cv_exeext'
4732 { { case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_try") 2>&5
4739 ac_status=$?
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }; }; then
4742 cross_compiling=no
4743 else
4744 if test "$cross_compiling" = maybe; then
4745 cross_compiling=yes
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot run C compiled programs.
4750 If you meant to cross compile, use \`--host'.
4751 See \`config.log' for more details" "$LINENO" 5; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4756 $as_echo "$cross_compiling" >&6; }
4758 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4759 ac_clean_files=$ac_clean_files_save
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4761 $as_echo_n "checking for suffix of object files... " >&6; }
4762 if ${ac_cv_objext+:} false; then :
4763 $as_echo_n "(cached) " >&6
4764 else
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4773 return 0;
4775 _ACEOF
4776 rm -f conftest.o conftest.obj
4777 if { { ac_try="$ac_compile"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_compile") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 for ac_file in conftest.o conftest.obj conftest.*; do
4789 test -f "$ac_file" || continue;
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4793 break;;
4794 esac
4795 done
4796 else
4797 $as_echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.$ac_ext >&5
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of object files: cannot compile
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4808 $as_echo "$ac_cv_objext" >&6; }
4809 OBJEXT=$ac_cv_objext
4810 ac_objext=$OBJEXT
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4812 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4813 if ${ac_cv_c_compiler_gnu+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4822 #ifndef __GNUC__
4823 choke me
4824 #endif
4827 return 0;
4829 _ACEOF
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_compiler_gnu=yes
4832 else
4833 ac_compiler_gnu=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4841 if test $ac_compiler_gnu = yes; then
4842 GCC=yes
4843 else
4844 GCC=
4846 ac_test_CFLAGS=${CFLAGS+set}
4847 ac_save_CFLAGS=$CFLAGS
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4850 if ${ac_cv_prog_cc_g+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 ac_save_c_werror_flag=$ac_c_werror_flag
4854 ac_c_werror_flag=yes
4855 ac_cv_prog_cc_g=no
4856 CFLAGS="-g"
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 if ac_fn_c_try_compile "$LINENO"; then :
4869 ac_cv_prog_cc_g=yes
4870 else
4871 CFLAGS=""
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 if ac_fn_c_try_compile "$LINENO"; then :
4885 else
4886 ac_c_werror_flag=$ac_save_c_werror_flag
4887 CFLAGS="-g"
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_prog_cc_g=yes
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 ac_c_werror_flag=$ac_save_c_werror_flag
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4910 $as_echo "$ac_cv_prog_cc_g" >&6; }
4911 if test "$ac_test_CFLAGS" = set; then
4912 CFLAGS=$ac_save_CFLAGS
4913 elif test $ac_cv_prog_cc_g = yes; then
4914 if test "$GCC" = yes; then
4915 CFLAGS="-g -O2"
4916 else
4917 CFLAGS="-g"
4919 else
4920 if test "$GCC" = yes; then
4921 CFLAGS="-O2"
4922 else
4923 CFLAGS=
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4927 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4928 if ${ac_cv_prog_cc_c89+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 ac_cv_prog_cc_c89=no
4932 ac_save_CC=$CC
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 #include <stdarg.h>
4936 #include <stdio.h>
4937 struct stat;
4938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4939 struct buf { int x; };
4940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4941 static char *e (p, i)
4942 char **p;
4943 int i;
4945 return p[i];
4947 static char *f (char * (*g) (char **, int), char **p, ...)
4949 char *s;
4950 va_list v;
4951 va_start (v,p);
4952 s = g (p, va_arg (v,int));
4953 va_end (v);
4954 return s;
4957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4958 function prototypes and stuff, but not '\xHH' hex character constants.
4959 These don't provoke an error unfortunately, instead are silently treated
4960 as 'x'. The following induces an error, until -std is added to get
4961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4962 array size at least. It's necessary to write '\x00'==0 to get something
4963 that's true only with -std. */
4964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4966 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4967 inside strings and character constants. */
4968 #define FOO(x) 'x'
4969 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4971 int test (int i, double x);
4972 struct s1 {int (*f) (int a);};
4973 struct s2 {int (*f) (double a);};
4974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4975 int argc;
4976 char **argv;
4978 main ()
4980 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4982 return 0;
4984 _ACEOF
4985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4986 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4988 CC="$ac_save_CC $ac_arg"
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_c89=$ac_arg
4992 rm -f core conftest.err conftest.$ac_objext
4993 test "x$ac_cv_prog_cc_c89" != "xno" && break
4994 done
4995 rm -f conftest.$ac_ext
4996 CC=$ac_save_CC
4999 # AC_CACHE_VAL
5000 case "x$ac_cv_prog_cc_c89" in
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5003 $as_echo "none needed" >&6; } ;;
5004 xno)
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5006 $as_echo "unsupported" >&6; } ;;
5008 CC="$CC $ac_cv_prog_cc_c89"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5010 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5011 esac
5012 if test "x$ac_cv_prog_cc_c89" != xno; then :
5016 ac_ext=c
5017 ac_cpp='$CPP $CPPFLAGS'
5018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5022 ac_ext=cpp
5023 ac_cpp='$CXXCPP $CPPFLAGS'
5024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5027 if test -z "$CXX"; then
5028 if test -n "$CCC"; then
5029 CXX=$CCC
5030 else
5031 if test -n "$ac_tool_prefix"; then
5032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_CXX+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$CXX"; then
5042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 CXX=$ac_cv_prog_CXX
5062 if test -n "$CXX"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5064 $as_echo "$CXX" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$CXX" && break
5072 done
5074 if test -z "$CXX"; then
5075 ac_ct_CXX=$CXX
5076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_CXX"; then
5086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_CXX="$ac_prog"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5106 if test -n "$ac_ct_CXX"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5108 $as_echo "$ac_ct_CXX" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 test -n "$ac_ct_CXX" && break
5116 done
5118 if test "x$ac_ct_CXX" = x; then
5119 CXX="g++"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CXX=$ac_ct_CXX
5133 # Provide some information about the compiler.
5134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5135 set X $ac_compile
5136 ac_compiler=$2
5137 for ac_option in --version -v -V -qversion; do
5138 { { ac_try="$ac_compiler $ac_option >&5"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5144 $as_echo "$ac_try_echo"; } >&5
5145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5146 ac_status=$?
5147 if test -s conftest.err; then
5148 sed '10a\
5149 ... rest of stderr output deleted ...
5150 10q' conftest.err >conftest.er1
5151 cat conftest.er1 >&5
5153 rm -f conftest.er1 conftest.err
5154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }
5156 done
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5159 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5160 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5167 main ()
5169 #ifndef __GNUC__
5170 choke me
5171 #endif
5174 return 0;
5176 _ACEOF
5177 if ac_fn_cxx_try_compile "$LINENO"; then :
5178 ac_compiler_gnu=yes
5179 else
5180 ac_compiler_gnu=no
5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5187 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5188 if test $ac_compiler_gnu = yes; then
5189 GXX=yes
5190 else
5191 GXX=
5193 ac_test_CXXFLAGS=${CXXFLAGS+set}
5194 ac_save_CXXFLAGS=$CXXFLAGS
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5196 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5197 if ${ac_cv_prog_cxx_g+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5201 ac_cxx_werror_flag=yes
5202 ac_cv_prog_cxx_g=no
5203 CXXFLAGS="-g"
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5208 main ()
5212 return 0;
5214 _ACEOF
5215 if ac_fn_cxx_try_compile "$LINENO"; then :
5216 ac_cv_prog_cxx_g=yes
5217 else
5218 CXXFLAGS=""
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_cxx_try_compile "$LINENO"; then :
5232 else
5233 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5234 CXXFLAGS="-g"
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5239 main ()
5243 return 0;
5245 _ACEOF
5246 if ac_fn_cxx_try_compile "$LINENO"; then :
5247 ac_cv_prog_cxx_g=yes
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5257 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5258 if test "$ac_test_CXXFLAGS" = set; then
5259 CXXFLAGS=$ac_save_CXXFLAGS
5260 elif test $ac_cv_prog_cxx_g = yes; then
5261 if test "$GXX" = yes; then
5262 CXXFLAGS="-g -O2"
5263 else
5264 CXXFLAGS="-g"
5266 else
5267 if test "$GXX" = yes; then
5268 CXXFLAGS="-O2"
5269 else
5270 CXXFLAGS=
5273 ac_ext=c
5274 ac_cpp='$CPP $CPPFLAGS'
5275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279 if test -n "$ac_tool_prefix"; then
5280 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5281 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_CPPBIN+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$CPPBIN"; then
5288 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 CPPBIN=$ac_cv_prog_CPPBIN
5308 if test -n "$CPPBIN"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5310 $as_echo "$CPPBIN" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5318 if test -z "$ac_cv_prog_CPPBIN"; then
5319 ac_ct_CPPBIN=$CPPBIN
5320 # Extract the first word of "cpp", so it can be a program name with args.
5321 set dummy cpp; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -n "$ac_ct_CPPBIN"; then
5328 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5329 else
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_ac_ct_CPPBIN="cpp"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 break 2
5341 done
5342 done
5343 IFS=$as_save_IFS
5347 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5348 if test -n "$ac_ct_CPPBIN"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5350 $as_echo "$ac_ct_CPPBIN" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5356 if test "x$ac_ct_CPPBIN" = x; then
5357 CPPBIN="cpp"
5358 else
5359 case $cross_compiling:$ac_tool_warned in
5360 yes:)
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5363 ac_tool_warned=yes ;;
5364 esac
5365 CPPBIN=$ac_ct_CPPBIN
5367 else
5368 CPPBIN="$ac_cv_prog_CPPBIN"
5372 cat >>confdefs.h <<_ACEOF
5373 #define EXEEXT "$ac_exeext"
5374 _ACEOF
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}ld; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_LD+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$LD"; then
5385 ac_cv_prog_LD="$LD" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_LD="${ac_tool_prefix}ld"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 LD=$ac_cv_prog_LD
5405 if test -n "$LD"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5407 $as_echo "$LD" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_LD"; then
5416 ac_ct_LD=$LD
5417 # Extract the first word of "ld", so it can be a program name with args.
5418 set dummy ld; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_LD"; then
5425 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_LD="ld"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5445 if test -n "$ac_ct_LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5447 $as_echo "$ac_ct_LD" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_LD" = x; then
5454 LD=""
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 LD=$ac_ct_LD
5464 else
5465 LD="$ac_cv_prog_LD"
5469 case $host in
5470 *-darwin*)
5471 with_fontconfig=${with_fontconfig:-no}
5473 *-mingw32*|*-cygwin*)
5474 enable_win16=${enable_win16:-no}
5475 CFLAGS="$CFLAGS -D_WIN32"
5477 esac
5479 case $host in
5480 x86_64*|amd64*)
5481 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5482 then
5483 CC="$CC -m32"
5484 CXX="$CXX -m32"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5486 $as_echo_n "checking whether $CC works... " >&6; }
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main ()
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_link "$LINENO"; then :
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5501 $as_echo "yes" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5505 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5507 rm -f core conftest.err conftest.$ac_objext \
5508 conftest$ac_exeext conftest.$ac_ext
5509 host_cpu="i386"
5510 notice_platform="32-bit "
5511 TARGETFLAGS="-m32"
5513 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5514 export PKG_CONFIG_PATH
5515 enable_win16=${enable_win16:-yes}
5516 else
5517 if test "x${GCC}" = "xyes"
5518 then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5520 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5523 #include <stdarg.h>
5525 main ()
5527 void func(__builtin_ms_va_list *args);
5529 return 0;
5531 _ACEOF
5532 if ac_fn_c_try_compile "$LINENO"; then :
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5534 $as_echo "yes" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542 CC="$CC -m64"
5543 CXX="$CXX -m64"
5544 host_cpu="x86_64"
5545 notice_platform="64-bit "
5546 TARGETFLAGS="-m64"
5550 arm*)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5552 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 int ac_test(int i) { return i; }
5557 main ()
5559 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5561 return 0;
5563 _ACEOF
5564 if ac_fn_c_try_link "$LINENO"; then :
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5566 $as_echo "yes" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5572 rm -f core conftest.err conftest.$ac_objext \
5573 conftest$ac_exeext conftest.$ac_ext
5574 case $with_float_abi in
5575 soft|softfp|hard)
5576 float_abi=$with_float_abi ;;
5578 case $host_os in
5579 *eabihf)
5580 float_abi=hard ;;
5582 float_abi=softfp
5583 saved_CFLAGS=$CFLAGS
5584 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5586 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5591 main ()
5593 asm("vmrs r2,fpscr");
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_link "$LINENO"; then :
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5600 $as_echo "yes" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5604 float_abi=soft
5605 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5607 rm -f core conftest.err conftest.$ac_objext \
5608 conftest$ac_exeext conftest.$ac_ext
5609 CFLAGS=$saved_CFLAGS
5610 esac
5612 esac
5613 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5614 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5617 aarch64*)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5619 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 #include <stdarg.h>
5624 main ()
5626 void func(__builtin_ms_va_list *args);
5628 return 0;
5630 _ACEOF
5631 if ac_fn_c_try_compile "$LINENO"; then :
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5633 $as_echo "yes" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5637 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 i[3456789]86*)
5642 enable_win16=${enable_win16:-yes}
5644 esac
5646 enable_win16=${enable_win16:-no}
5647 enable_win64=${enable_win64:-no}
5649 enable_winetest=${enable_winetest:-$enable_tests}
5651 if test "x$enable_win64" = "xyes"
5652 then
5653 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5654 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5655 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5659 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5660 if ${wine_cv_toolsdir+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 wine_cv_toolsdir="$with_wine_tools"
5664 if test -z "$with_wine_tools"; then
5665 if test "$cross_compiling" = "yes"; then
5666 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5667 elif test -n "$with_wine64"; then
5668 wine_cv_toolsdir="$with_wine64"
5671 if test -z "$wine_cv_toolsdir"; then
5672 wine_makedep=tools/makedep
5673 wine_cv_toolsdir="\$(top_builddir)"
5674 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5675 wine_makedep=$wine_cv_toolsdir/tools/makedep
5676 case "$wine_cv_toolsdir" in
5677 /*) ;;
5678 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5679 esac
5680 enable_tools=${enable_tools:-no}
5681 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5682 else
5683 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5687 $as_echo "$wine_cv_toolsdir" >&6; }
5688 TOOLSDIR=$wine_cv_toolsdir
5690 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5691 then
5692 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5696 for ac_prog in flex
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy $ac_prog; ac_word=$2
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 $as_echo_n "checking for $ac_word... " >&6; }
5702 if ${ac_cv_prog_FLEX+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 if test -n "$FLEX"; then
5706 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5707 else
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH
5711 IFS=$as_save_IFS
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_FLEX="$ac_prog"
5716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 break 2
5719 done
5720 done
5721 IFS=$as_save_IFS
5725 FLEX=$ac_cv_prog_FLEX
5726 if test -n "$FLEX"; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5728 $as_echo "$FLEX" >&6; }
5729 else
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }
5735 test -n "$FLEX" && break
5736 done
5737 test -n "$FLEX" || FLEX="none"
5739 if test "$FLEX" = "none"
5740 then
5741 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5744 $as_echo_n "checking whether flex is recent enough... " >&6; }
5745 cat >conftest.l <<EOF
5746 %top{
5747 #include "prediluvian.h"
5751 if $FLEX -t conftest.l >/dev/null 2>&5
5752 then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5754 $as_echo "yes" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5761 for ac_prog in bison
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_BISON+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$BISON"; then
5771 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_BISON="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 BISON=$ac_cv_prog_BISON
5791 if test -n "$BISON"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5793 $as_echo "$BISON" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$BISON" && break
5801 done
5802 test -n "$BISON" || BISON="none"
5804 if test "$BISON" = "none"
5805 then
5806 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5809 if test -n "$ac_tool_prefix"; then
5810 for ac_prog in ar gar
5812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_AR+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$AR"; then
5820 ac_cv_prog_AR="$AR" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 AR=$ac_cv_prog_AR
5840 if test -n "$AR"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5842 $as_echo "$AR" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5849 test -n "$AR" && break
5850 done
5852 if test -z "$AR"; then
5853 ac_ct_AR=$AR
5854 for ac_prog in ar gar
5856 # Extract the first word of "$ac_prog", so it can be a program name with args.
5857 set dummy $ac_prog; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 if test -n "$ac_ct_AR"; then
5864 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5869 IFS=$as_save_IFS
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_ac_ct_AR="$ac_prog"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 break 2
5877 done
5878 done
5879 IFS=$as_save_IFS
5883 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5884 if test -n "$ac_ct_AR"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5886 $as_echo "$ac_ct_AR" >&6; }
5887 else
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5893 test -n "$ac_ct_AR" && break
5894 done
5896 if test "x$ac_ct_AR" = x; then
5897 AR="ar"
5898 else
5899 case $cross_compiling:$ac_tool_warned in
5900 yes:)
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5903 ac_tool_warned=yes ;;
5904 esac
5905 AR=$ac_ct_AR
5909 if test -n "$ac_tool_prefix"; then
5910 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5911 set dummy ${ac_tool_prefix}strip; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_STRIP+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$STRIP"; then
5918 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 STRIP=$ac_cv_prog_STRIP
5938 if test -n "$STRIP"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5940 $as_echo "$STRIP" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5948 if test -z "$ac_cv_prog_STRIP"; then
5949 ac_ct_STRIP=$STRIP
5950 # Extract the first word of "strip", so it can be a program name with args.
5951 set dummy strip; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$ac_ct_STRIP"; then
5958 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_ac_ct_STRIP="strip"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5978 if test -n "$ac_ct_STRIP"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5980 $as_echo "$ac_ct_STRIP" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5986 if test "x$ac_ct_STRIP" = x; then
5987 STRIP="strip"
5988 else
5989 case $cross_compiling:$ac_tool_warned in
5990 yes:)
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5993 ac_tool_warned=yes ;;
5994 esac
5995 STRIP=$ac_ct_STRIP
5997 else
5998 STRIP="$ac_cv_prog_STRIP"
6001 ARFLAGS=rc
6003 if test -n "$ac_tool_prefix"; then
6004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6005 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RANLIB+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$RANLIB"; then
6012 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 RANLIB=$ac_cv_prog_RANLIB
6032 if test -n "$RANLIB"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6034 $as_echo "$RANLIB" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6042 if test -z "$ac_cv_prog_RANLIB"; then
6043 ac_ct_RANLIB=$RANLIB
6044 # Extract the first word of "ranlib", so it can be a program name with args.
6045 set dummy ranlib; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 if test -n "$ac_ct_RANLIB"; then
6052 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_ac_ct_RANLIB="ranlib"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6072 if test -n "$ac_ct_RANLIB"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6074 $as_echo "$ac_ct_RANLIB" >&6; }
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6080 if test "x$ac_ct_RANLIB" = x; then
6081 RANLIB=":"
6082 else
6083 case $cross_compiling:$ac_tool_warned in
6084 yes:)
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6087 ac_tool_warned=yes ;;
6088 esac
6089 RANLIB=$ac_ct_RANLIB
6091 else
6092 RANLIB="$ac_cv_prog_RANLIB"
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6096 $as_echo_n "checking whether ln -s works... " >&6; }
6097 LN_S=$as_ln_s
6098 if test "$LN_S" = "ln -s"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6100 $as_echo "yes" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6103 $as_echo "no, using $LN_S" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6107 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6108 if ${ac_cv_path_GREP+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -z "$GREP"; then
6112 ac_path_GREP_found=false
6113 # Loop through the user's path and test for each of PROGNAME-LIST
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_prog in grep ggrep; do
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6122 as_fn_executable_p "$ac_path_GREP" || continue
6123 # Check for GNU ac_path_GREP and select it if it is found.
6124 # Check for GNU $ac_path_GREP
6125 case `"$ac_path_GREP" --version 2>&1` in
6126 *GNU*)
6127 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6129 ac_count=0
6130 $as_echo_n 0123456789 >"conftest.in"
6131 while :
6133 cat "conftest.in" "conftest.in" >"conftest.tmp"
6134 mv "conftest.tmp" "conftest.in"
6135 cp "conftest.in" "conftest.nl"
6136 $as_echo 'GREP' >> "conftest.nl"
6137 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6139 as_fn_arith $ac_count + 1 && ac_count=$as_val
6140 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6141 # Best one so far, save it but keep looking for a better one
6142 ac_cv_path_GREP="$ac_path_GREP"
6143 ac_path_GREP_max=$ac_count
6145 # 10*(2^10) chars as input seems more than enough
6146 test $ac_count -gt 10 && break
6147 done
6148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6149 esac
6151 $ac_path_GREP_found && break 3
6152 done
6153 done
6154 done
6155 IFS=$as_save_IFS
6156 if test -z "$ac_cv_path_GREP"; then
6157 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6159 else
6160 ac_cv_path_GREP=$GREP
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6165 $as_echo "$ac_cv_path_GREP" >&6; }
6166 GREP="$ac_cv_path_GREP"
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6170 $as_echo_n "checking for egrep... " >&6; }
6171 if ${ac_cv_path_EGREP+:} false; then :
6172 $as_echo_n "(cached) " >&6
6173 else
6174 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6175 then ac_cv_path_EGREP="$GREP -E"
6176 else
6177 if test -z "$EGREP"; then
6178 ac_path_EGREP_found=false
6179 # Loop through the user's path and test for each of PROGNAME-LIST
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_prog in egrep; do
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6188 as_fn_executable_p "$ac_path_EGREP" || continue
6189 # Check for GNU ac_path_EGREP and select it if it is found.
6190 # Check for GNU $ac_path_EGREP
6191 case `"$ac_path_EGREP" --version 2>&1` in
6192 *GNU*)
6193 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6195 ac_count=0
6196 $as_echo_n 0123456789 >"conftest.in"
6197 while :
6199 cat "conftest.in" "conftest.in" >"conftest.tmp"
6200 mv "conftest.tmp" "conftest.in"
6201 cp "conftest.in" "conftest.nl"
6202 $as_echo 'EGREP' >> "conftest.nl"
6203 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6204 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6205 as_fn_arith $ac_count + 1 && ac_count=$as_val
6206 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6207 # Best one so far, save it but keep looking for a better one
6208 ac_cv_path_EGREP="$ac_path_EGREP"
6209 ac_path_EGREP_max=$ac_count
6211 # 10*(2^10) chars as input seems more than enough
6212 test $ac_count -gt 10 && break
6213 done
6214 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6215 esac
6217 $ac_path_EGREP_found && break 3
6218 done
6219 done
6220 done
6221 IFS=$as_save_IFS
6222 if test -z "$ac_cv_path_EGREP"; then
6223 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6225 else
6226 ac_cv_path_EGREP=$EGREP
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6232 $as_echo "$ac_cv_path_EGREP" >&6; }
6233 EGREP="$ac_cv_path_EGREP"
6236 # Extract the first word of "ldconfig", so it can be a program name with args.
6237 set dummy ldconfig; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_path_LDCONFIG+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
6243 case $LDCONFIG in
6244 [\\/]* | ?:[\\/]*)
6245 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in /sbin /usr/sbin $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6263 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6265 esac
6267 LDCONFIG=$ac_cv_path_LDCONFIG
6268 if test -n "$LDCONFIG"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6270 $as_echo "$LDCONFIG" >&6; }
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6277 for ac_prog in msgfmt
6279 # Extract the first word of "$ac_prog", so it can be a program name with args.
6280 set dummy $ac_prog; ac_word=$2
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282 $as_echo_n "checking for $ac_word... " >&6; }
6283 if ${ac_cv_prog_MSGFMT+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 if test -n "$MSGFMT"; then
6287 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6288 else
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in $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_prog_MSGFMT="$ac_prog"
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
6306 MSGFMT=$ac_cv_prog_MSGFMT
6307 if test -n "$MSGFMT"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6309 $as_echo "$MSGFMT" >&6; }
6310 else
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 $as_echo "no" >&6; }
6316 test -n "$MSGFMT" && break
6317 done
6318 test -n "$MSGFMT" || MSGFMT="false"
6320 if ${ac_tool_prefix+:} false; then :
6321 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6322 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324 $as_echo_n "checking for $ac_word... " >&6; }
6325 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 if test -n "$PKG_CONFIG"; then
6329 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6330 else
6331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 for as_dir in $PATH
6334 IFS=$as_save_IFS
6335 test -z "$as_dir" && as_dir=.
6336 for ac_exec_ext in '' $ac_executable_extensions; do
6337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6338 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 break 2
6342 done
6343 done
6344 IFS=$as_save_IFS
6348 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6349 if test -n "$PKG_CONFIG"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6351 $as_echo "$PKG_CONFIG" >&6; }
6352 else
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 $as_echo "no" >&6; }
6359 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6360 if test "x$cross_compiling" = xyes; then :
6362 else
6363 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6364 # Extract the first word of "pkg-config", so it can be a program name with args.
6365 set dummy pkg-config; ac_word=$2
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367 $as_echo_n "checking for $ac_word... " >&6; }
6368 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 if test -n "$PKG_CONFIG"; then
6372 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6373 else
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 for as_dir in $PATH
6377 IFS=$as_save_IFS
6378 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6381 ac_cv_prog_PKG_CONFIG="pkg-config"
6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 break 2
6385 done
6386 done
6387 IFS=$as_save_IFS
6391 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6392 if test -n "$PKG_CONFIG"; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6394 $as_echo "$PKG_CONFIG" >&6; }
6395 else
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397 $as_echo "no" >&6; }
6402 else
6403 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6406 if test "x$enable_maintainer_mode" != "xyes"
6407 then
6408 FONTFORGE=""
6409 RSVG=""
6410 CONVERT=""
6411 ICOTOOL=""
6412 else
6413 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6414 for ac_prog in fontforge
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419 $as_echo_n "checking for $ac_word... " >&6; }
6420 if ${ac_cv_prog_FONTFORGE+:} false; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 if test -n "$FONTFORGE"; then
6424 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6429 IFS=$as_save_IFS
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6433 ac_cv_prog_FONTFORGE="$ac_prog"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 break 2
6437 done
6438 done
6439 IFS=$as_save_IFS
6443 FONTFORGE=$ac_cv_prog_FONTFORGE
6444 if test -n "$FONTFORGE"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6446 $as_echo "$FONTFORGE" >&6; }
6447 else
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6453 test -n "$FONTFORGE" && break
6454 done
6455 test -n "$FONTFORGE" || FONTFORGE="false"
6457 for ac_prog in rsvg-convert rsvg
6459 # Extract the first word of "$ac_prog", so it can be a program name with args.
6460 set dummy $ac_prog; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_RSVG+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 if test -n "$RSVG"; then
6467 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6472 IFS=$as_save_IFS
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_RSVG="$ac_prog"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 break 2
6480 done
6481 done
6482 IFS=$as_save_IFS
6486 RSVG=$ac_cv_prog_RSVG
6487 if test -n "$RSVG"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6489 $as_echo "$RSVG" >&6; }
6490 else
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6496 test -n "$RSVG" && break
6497 done
6498 test -n "$RSVG" || RSVG="false"
6500 for ac_prog in convert
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if ${ac_cv_prog_CONVERT+:} false; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$CONVERT"; then
6510 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_CONVERT="$ac_prog"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 CONVERT=$ac_cv_prog_CONVERT
6530 if test -n "$CONVERT"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6532 $as_echo "$CONVERT" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6539 test -n "$CONVERT" && break
6540 done
6541 test -n "$CONVERT" || CONVERT="false"
6543 for ac_prog in icotool
6545 # Extract the first word of "$ac_prog", so it can be a program name with args.
6546 set dummy $ac_prog; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if ${ac_cv_prog_ICOTOOL+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test -n "$ICOTOOL"; then
6553 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6554 else
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 for as_dir in $PATH
6558 IFS=$as_save_IFS
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_ICOTOOL="$ac_prog"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564 break 2
6566 done
6567 done
6568 IFS=$as_save_IFS
6572 ICOTOOL=$ac_cv_prog_ICOTOOL
6573 if test -n "$ICOTOOL"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6575 $as_echo "$ICOTOOL" >&6; }
6576 else
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6582 test -n "$ICOTOOL" && break
6583 done
6584 test -n "$ICOTOOL" || ICOTOOL="false"
6586 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6587 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6589 if test "$CONVERT" = false
6590 then
6591 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6592 else
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6594 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6595 convert_version=`convert --version | head -n1`
6596 if test "x$convert_version" != "x"
6597 then
6598 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6599 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6600 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6601 then
6602 CONVERT=false
6605 if test "$CONVERT" = false
6606 then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6608 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6609 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6610 else
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6612 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6616 if test "$ICOTOOL" = false
6617 then
6618 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6621 $as_echo_n "checking for recent enough icotool... " >&6; }
6622 icotool_version=`icotool --version | head -n1`
6623 if test "x$icotool_version" != "x"
6624 then
6625 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6626 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6627 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6628 then
6629 ICOTOOL=false
6630 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6633 if test "$ICOTOOL" = false
6634 then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6636 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6637 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6640 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6644 with_gettext=yes
6645 with_gettextpo=yes
6646 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6649 test "x$with_gettext" != xno || MSGFMT=false
6650 if test "$MSGFMT" != "false"
6651 then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6653 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6654 cat >conftest.po <<EOF
6655 # comment
6656 msgctxt "ctxt"
6657 msgid "id"
6658 msgstr "str"
6660 if $MSGFMT -o /dev/null conftest.po 2>&5
6661 then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6663 $as_echo "yes" >&6; }
6664 else
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6667 MSGFMT=false
6670 if test "$MSGFMT" = false; then :
6671 case "x$with_gettext" in
6672 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6673 xno) ;;
6674 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6675 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6676 esac
6677 enable_po=${enable_po:-no}
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6682 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6683 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6684 $as_echo_n "(cached) " >&6
6685 else
6686 ac_check_lib_save_LIBS=$LIBS
6687 LIBS="-li386 $LIBS"
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6691 /* Override any GCC internal prototype to avoid an error.
6692 Use char because int might match the return type of a GCC
6693 builtin and then its argument prototype would still apply. */
6694 #ifdef __cplusplus
6695 extern "C"
6696 #endif
6697 char i386_set_ldt ();
6699 main ()
6701 return i386_set_ldt ();
6703 return 0;
6705 _ACEOF
6706 if ac_fn_c_try_link "$LINENO"; then :
6707 ac_cv_lib_i386_i386_set_ldt=yes
6708 else
6709 ac_cv_lib_i386_i386_set_ldt=no
6711 rm -f core conftest.err conftest.$ac_objext \
6712 conftest$ac_exeext conftest.$ac_ext
6713 LIBS=$ac_check_lib_save_LIBS
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6716 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6717 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6718 cat >>confdefs.h <<_ACEOF
6719 #define HAVE_LIBI386 1
6720 _ACEOF
6722 LIBS="-li386 $LIBS"
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6727 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6728 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 ac_check_lib_save_LIBS=$LIBS
6732 LIBS="-lossaudio $LIBS"
6733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6736 /* Override any GCC internal prototype to avoid an error.
6737 Use char because int might match the return type of a GCC
6738 builtin and then its argument prototype would still apply. */
6739 #ifdef __cplusplus
6740 extern "C"
6741 #endif
6742 char _oss_ioctl ();
6744 main ()
6746 return _oss_ioctl ();
6748 return 0;
6750 _ACEOF
6751 if ac_fn_c_try_link "$LINENO"; then :
6752 ac_cv_lib_ossaudio__oss_ioctl=yes
6753 else
6754 ac_cv_lib_ossaudio__oss_ioctl=no
6756 rm -f core conftest.err conftest.$ac_objext \
6757 conftest$ac_exeext conftest.$ac_ext
6758 LIBS=$ac_check_lib_save_LIBS
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6761 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6762 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define HAVE_LIBOSSAUDIO 1
6765 _ACEOF
6767 LIBS="-lossaudio $LIBS"
6772 OPENGL_LIBS=""
6776 # Check whether --enable-largefile was given.
6777 if test "${enable_largefile+set}" = set; then :
6778 enableval=$enable_largefile;
6781 if test "$enable_largefile" != no; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6784 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6785 if ${ac_cv_sys_largefile_CC+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 ac_cv_sys_largefile_CC=no
6789 if test "$GCC" != yes; then
6790 ac_save_CC=$CC
6791 while :; do
6792 # IRIX 6.2 and later do not support large files by default,
6793 # so use the C compiler's -n32 option if that helps.
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6796 #include <sys/types.h>
6797 /* Check that off_t can represent 2**63 - 1 correctly.
6798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6799 since some C++ compilers masquerading as C compilers
6800 incorrectly reject 9223372036854775807. */
6801 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6803 && LARGE_OFF_T % 2147483647 == 1)
6804 ? 1 : -1];
6806 main ()
6810 return 0;
6812 _ACEOF
6813 if ac_fn_c_try_compile "$LINENO"; then :
6814 break
6816 rm -f core conftest.err conftest.$ac_objext
6817 CC="$CC -n32"
6818 if ac_fn_c_try_compile "$LINENO"; then :
6819 ac_cv_sys_largefile_CC=' -n32'; break
6821 rm -f core conftest.err conftest.$ac_objext
6822 break
6823 done
6824 CC=$ac_save_CC
6825 rm -f conftest.$ac_ext
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6829 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6830 if test "$ac_cv_sys_largefile_CC" != no; then
6831 CC=$CC$ac_cv_sys_largefile_CC
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6835 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6836 if ${ac_cv_sys_file_offset_bits+:} false; then :
6837 $as_echo_n "(cached) " >&6
6838 else
6839 while :; do
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6842 #include <sys/types.h>
6843 /* Check that off_t can represent 2**63 - 1 correctly.
6844 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6845 since some C++ compilers masquerading as C compilers
6846 incorrectly reject 9223372036854775807. */
6847 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6849 && LARGE_OFF_T % 2147483647 == 1)
6850 ? 1 : -1];
6852 main ()
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_sys_file_offset_bits=no; break
6862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 #define _FILE_OFFSET_BITS 64
6866 #include <sys/types.h>
6867 /* Check that off_t can represent 2**63 - 1 correctly.
6868 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6869 since some C++ compilers masquerading as C compilers
6870 incorrectly reject 9223372036854775807. */
6871 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6872 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6873 && LARGE_OFF_T % 2147483647 == 1)
6874 ? 1 : -1];
6876 main ()
6880 return 0;
6882 _ACEOF
6883 if ac_fn_c_try_compile "$LINENO"; then :
6884 ac_cv_sys_file_offset_bits=64; break
6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6887 ac_cv_sys_file_offset_bits=unknown
6888 break
6889 done
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6892 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6893 case $ac_cv_sys_file_offset_bits in #(
6894 no | unknown) ;;
6896 cat >>confdefs.h <<_ACEOF
6897 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6898 _ACEOF
6900 esac
6901 rm -rf conftest*
6902 if test $ac_cv_sys_file_offset_bits = unknown; then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6904 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6905 if ${ac_cv_sys_large_files+:} false; then :
6906 $as_echo_n "(cached) " >&6
6907 else
6908 while :; do
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <sys/types.h>
6912 /* Check that off_t can represent 2**63 - 1 correctly.
6913 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6914 since some C++ compilers masquerading as C compilers
6915 incorrectly reject 9223372036854775807. */
6916 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6917 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6918 && LARGE_OFF_T % 2147483647 == 1)
6919 ? 1 : -1];
6921 main ()
6925 return 0;
6927 _ACEOF
6928 if ac_fn_c_try_compile "$LINENO"; then :
6929 ac_cv_sys_large_files=no; break
6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6934 #define _LARGE_FILES 1
6935 #include <sys/types.h>
6936 /* Check that off_t can represent 2**63 - 1 correctly.
6937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6938 since some C++ compilers masquerading as C compilers
6939 incorrectly reject 9223372036854775807. */
6940 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6942 && LARGE_OFF_T % 2147483647 == 1)
6943 ? 1 : -1];
6945 main ()
6949 return 0;
6951 _ACEOF
6952 if ac_fn_c_try_compile "$LINENO"; then :
6953 ac_cv_sys_large_files=1; break
6955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6956 ac_cv_sys_large_files=unknown
6957 break
6958 done
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6961 $as_echo "$ac_cv_sys_large_files" >&6; }
6962 case $ac_cv_sys_large_files in #(
6963 no | unknown) ;;
6965 cat >>confdefs.h <<_ACEOF
6966 #define _LARGE_FILES $ac_cv_sys_large_files
6967 _ACEOF
6969 esac
6970 rm -rf conftest*
6977 ac_ext=c
6978 ac_cpp='$CPP $CPPFLAGS'
6979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6983 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6984 # On Suns, sometimes $CPP names a directory.
6985 if test -n "$CPP" && test -d "$CPP"; then
6986 CPP=
6988 if test -z "$CPP"; then
6989 if ${ac_cv_prog_CPP+:} false; then :
6990 $as_echo_n "(cached) " >&6
6991 else
6992 # Double quotes because CPP needs to be expanded
6993 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6995 ac_preproc_ok=false
6996 for ac_c_preproc_warn_flag in '' yes
6998 # Use a header file that comes with gcc, so configuring glibc
6999 # with a fresh cross-compiler works.
7000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7001 # <limits.h> exists even on freestanding compilers.
7002 # On the NeXT, cc -E runs the code through the compiler's parser,
7003 # not just through cpp. "Syntax error" is here to catch this case.
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #ifdef __STDC__
7007 # include <limits.h>
7008 #else
7009 # include <assert.h>
7010 #endif
7011 Syntax error
7012 _ACEOF
7013 if ac_fn_c_try_cpp "$LINENO"; then :
7015 else
7016 # Broken: fails on valid input.
7017 continue
7019 rm -f conftest.err conftest.i conftest.$ac_ext
7021 # OK, works on sane cases. Now check whether nonexistent headers
7022 # can be detected and how.
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 #include <ac_nonexistent.h>
7026 _ACEOF
7027 if ac_fn_c_try_cpp "$LINENO"; then :
7028 # Broken: success on invalid input.
7029 continue
7030 else
7031 # Passes both tests.
7032 ac_preproc_ok=:
7033 break
7035 rm -f conftest.err conftest.i conftest.$ac_ext
7037 done
7038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7039 rm -f conftest.i conftest.err conftest.$ac_ext
7040 if $ac_preproc_ok; then :
7041 break
7044 done
7045 ac_cv_prog_CPP=$CPP
7048 CPP=$ac_cv_prog_CPP
7049 else
7050 ac_cv_prog_CPP=$CPP
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7053 $as_echo "$CPP" >&6; }
7054 ac_preproc_ok=false
7055 for ac_c_preproc_warn_flag in '' yes
7057 # Use a header file that comes with gcc, so configuring glibc
7058 # with a fresh cross-compiler works.
7059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7060 # <limits.h> exists even on freestanding compilers.
7061 # On the NeXT, cc -E runs the code through the compiler's parser,
7062 # not just through cpp. "Syntax error" is here to catch this case.
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7065 #ifdef __STDC__
7066 # include <limits.h>
7067 #else
7068 # include <assert.h>
7069 #endif
7070 Syntax error
7071 _ACEOF
7072 if ac_fn_c_try_cpp "$LINENO"; then :
7074 else
7075 # Broken: fails on valid input.
7076 continue
7078 rm -f conftest.err conftest.i conftest.$ac_ext
7080 # OK, works on sane cases. Now check whether nonexistent headers
7081 # can be detected and how.
7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7084 #include <ac_nonexistent.h>
7085 _ACEOF
7086 if ac_fn_c_try_cpp "$LINENO"; then :
7087 # Broken: success on invalid input.
7088 continue
7089 else
7090 # Passes both tests.
7091 ac_preproc_ok=:
7092 break
7094 rm -f conftest.err conftest.i conftest.$ac_ext
7096 done
7097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7098 rm -f conftest.i conftest.err conftest.$ac_ext
7099 if $ac_preproc_ok; then :
7101 else
7102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7104 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7105 See \`config.log' for more details" "$LINENO" 5; }
7108 ac_ext=c
7109 ac_cpp='$CPP $CPPFLAGS'
7110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7116 $as_echo_n "checking for ANSI C header files... " >&6; }
7117 if ${ac_cv_header_stdc+:} false; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <stdlib.h>
7123 #include <stdarg.h>
7124 #include <string.h>
7125 #include <float.h>
7128 main ()
7132 return 0;
7134 _ACEOF
7135 if ac_fn_c_try_compile "$LINENO"; then :
7136 ac_cv_header_stdc=yes
7137 else
7138 ac_cv_header_stdc=no
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7142 if test $ac_cv_header_stdc = yes; then
7143 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #include <string.h>
7148 _ACEOF
7149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7150 $EGREP "memchr" >/dev/null 2>&1; then :
7152 else
7153 ac_cv_header_stdc=no
7155 rm -f conftest*
7159 if test $ac_cv_header_stdc = yes; then
7160 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <stdlib.h>
7165 _ACEOF
7166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7167 $EGREP "free" >/dev/null 2>&1; then :
7169 else
7170 ac_cv_header_stdc=no
7172 rm -f conftest*
7176 if test $ac_cv_header_stdc = yes; then
7177 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7178 if test "$cross_compiling" = yes; then :
7180 else
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #include <ctype.h>
7184 #include <stdlib.h>
7185 #if ((' ' & 0x0FF) == 0x020)
7186 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7187 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7188 #else
7189 # define ISLOWER(c) \
7190 (('a' <= (c) && (c) <= 'i') \
7191 || ('j' <= (c) && (c) <= 'r') \
7192 || ('s' <= (c) && (c) <= 'z'))
7193 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7194 #endif
7196 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7198 main ()
7200 int i;
7201 for (i = 0; i < 256; i++)
7202 if (XOR (islower (i), ISLOWER (i))
7203 || toupper (i) != TOUPPER (i))
7204 return 2;
7205 return 0;
7207 _ACEOF
7208 if ac_fn_c_try_run "$LINENO"; then :
7210 else
7211 ac_cv_header_stdc=no
7213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7214 conftest.$ac_objext conftest.beam conftest.$ac_ext
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7220 $as_echo "$ac_cv_header_stdc" >&6; }
7221 if test $ac_cv_header_stdc = yes; then
7223 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7227 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7228 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7229 inttypes.h stdint.h unistd.h
7230 do :
7231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7237 _ACEOF
7241 done
7244 for ac_header in \
7245 AL/al.h \
7246 ApplicationServices/ApplicationServices.h \
7247 AudioToolbox/AudioConverter.h \
7248 AudioUnit/AudioUnit.h \
7249 AudioUnit/AudioComponent.h \
7250 CL/cl.h \
7251 Carbon/Carbon.h \
7252 CommonCrypto/CommonCryptor.h \
7253 CoreAudio/CoreAudio.h \
7254 CoreServices/CoreServices.h \
7255 DiskArbitration/DiskArbitration.h \
7256 EGL/egl.h \
7257 IOKit/IOKitLib.h \
7258 IOKit/hid/IOHIDLib.h \
7259 OpenAL/al.h \
7260 OpenCL/opencl.h \
7261 QuickTime/ImageCompression.h \
7262 Security/Security.h \
7263 alias.h \
7264 alsa/asoundlib.h \
7265 arpa/inet.h \
7266 arpa/nameser.h \
7267 asm/types.h \
7268 asm/user.h \
7269 curses.h \
7270 direct.h \
7271 dirent.h \
7272 dlfcn.h \
7273 elf.h \
7274 float.h \
7275 fnmatch.h \
7276 getopt.h \
7277 gettext-po.h \
7278 grp.h \
7279 gsm.h \
7280 gsm/gsm.h \
7281 ieeefp.h \
7282 inet/mib2.h \
7283 io.h \
7284 kstat.h \
7285 libproc.h \
7286 link.h \
7287 linux/cdrom.h \
7288 linux/compiler.h \
7289 linux/filter.h \
7290 linux/hdreg.h \
7291 linux/hidraw.h \
7292 linux/input.h \
7293 linux/ioctl.h \
7294 linux/joystick.h \
7295 linux/major.h \
7296 linux/param.h \
7297 linux/serial.h \
7298 linux/types.h \
7299 linux/ucdrom.h \
7300 lwp.h \
7301 mach-o/nlist.h \
7302 mach-o/loader.h \
7303 mach/mach.h \
7304 mach/machine.h \
7305 machine/cpu.h \
7306 machine/limits.h \
7307 machine/sysarch.h \
7308 mntent.h \
7309 ncurses.h \
7310 netdb.h \
7311 netinet/in.h \
7312 netinet/in_systm.h \
7313 netinet/tcp.h \
7314 netinet/tcp_fsm.h \
7315 pcap/pcap.h \
7316 poll.h \
7317 port.h \
7318 process.h \
7319 pthread.h \
7320 pwd.h \
7321 sched.h \
7322 scsi/scsi.h \
7323 scsi/scsi_ioctl.h \
7324 scsi/sg.h \
7325 stdbool.h \
7326 stdint.h \
7327 stropts.h \
7328 sys/asoundlib.h \
7329 sys/attr.h \
7330 sys/auxv.h \
7331 sys/cdio.h \
7332 sys/elf32.h \
7333 sys/epoll.h \
7334 sys/event.h \
7335 sys/exec_elf.h \
7336 sys/filio.h \
7337 sys/inotify.h \
7338 sys/ioctl.h \
7339 sys/ipc.h \
7340 sys/limits.h \
7341 sys/link.h \
7342 sys/mman.h \
7343 sys/modem.h \
7344 sys/msg.h \
7345 sys/mtio.h \
7346 sys/param.h \
7347 sys/poll.h \
7348 sys/prctl.h \
7349 sys/protosw.h \
7350 sys/ptrace.h \
7351 sys/queue.h \
7352 sys/resource.h \
7353 sys/scsiio.h \
7354 sys/shm.h \
7355 sys/signal.h \
7356 sys/socket.h \
7357 sys/socketvar.h \
7358 sys/sockio.h \
7359 sys/statvfs.h \
7360 sys/strtio.h \
7361 sys/syscall.h \
7362 sys/sysinfo.h \
7363 sys/tihdr.h \
7364 sys/time.h \
7365 sys/timeout.h \
7366 sys/times.h \
7367 sys/uio.h \
7368 sys/user.h \
7369 sys/utsname.h \
7370 sys/vnode.h \
7371 sys/wait.h \
7372 syscall.h \
7373 termios.h \
7374 unistd.h \
7375 utime.h \
7376 valgrind/memcheck.h \
7377 valgrind/valgrind.h \
7378 zlib.h
7380 do :
7381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7386 _ACEOF
7390 done
7392 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7393 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7395 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7400 if test $ac_cv_header_sys_mkdev_h = no; then
7401 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7402 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7404 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7411 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7412 if ${ac_cv_header_stat_broken+:} false; then :
7413 $as_echo_n "(cached) " >&6
7414 else
7415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7416 /* end confdefs.h. */
7417 #include <sys/types.h>
7418 #include <sys/stat.h>
7420 #if defined S_ISBLK && defined S_IFDIR
7421 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7422 #endif
7424 #if defined S_ISBLK && defined S_IFCHR
7425 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7426 #endif
7428 #if defined S_ISLNK && defined S_IFREG
7429 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7430 #endif
7432 #if defined S_ISSOCK && defined S_IFREG
7433 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7434 #endif
7436 _ACEOF
7437 if ac_fn_c_try_compile "$LINENO"; then :
7438 ac_cv_header_stat_broken=no
7439 else
7440 ac_cv_header_stat_broken=yes
7442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7445 $as_echo "$ac_cv_header_stat_broken" >&6; }
7446 if test $ac_cv_header_stat_broken = yes; then
7448 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7454 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7455 do :
7456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7458 #ifdef HAVE_SYS_PARAM_H
7459 # include <sys/param.h>
7460 #endif
7462 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7463 cat >>confdefs.h <<_ACEOF
7464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 _ACEOF
7469 done
7472 for ac_header in \
7473 netinet/ip.h \
7474 net/if.h \
7475 net/if_arp.h \
7476 net/if_dl.h \
7477 net/if_types.h \
7478 net/route.h \
7479 netinet/if_ether.h \
7480 netinet/if_inarp.h \
7481 netinet/in_pcb.h \
7482 netinet/ip_icmp.h \
7483 netinet/ip_var.h \
7484 netinet/udp.h \
7485 netipx/ipx.h \
7486 sys/un.h \
7488 do :
7489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7490 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7491 #ifdef HAVE_SYS_SOCKET_H
7492 # include <sys/socket.h>
7493 #endif
7494 #ifdef HAVE_SYS_SOCKETVAR_H
7495 # include <sys/socketvar.h>
7496 #endif
7497 #ifdef HAVE_NET_ROUTE_H
7498 # include <net/route.h>
7499 #endif
7500 #ifdef HAVE_NETINET_IN_H
7501 # include <netinet/in.h>
7502 #endif
7503 #ifdef HAVE_NETINET_IN_SYSTM_H
7504 # include <netinet/in_systm.h>
7505 #endif
7506 #ifdef HAVE_NET_IF_H
7507 # include <net/if.h>
7508 #endif
7509 #ifdef HAVE_NETINET_IP_H
7510 # include <netinet/ip.h>
7511 #endif
7513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7514 cat >>confdefs.h <<_ACEOF
7515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7516 _ACEOF
7520 done
7523 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.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_ALIAS_H
7528 # include <alias.h>
7529 #endif
7530 #ifdef HAVE_SYS_SOCKET_H
7531 # include <sys/socket.h>
7532 #endif
7533 #ifdef HAVE_SYS_SOCKETVAR_H
7534 # include <sys/socketvar.h>
7535 #endif
7536 #ifdef HAVE_SYS_TIMEOUT_H
7537 # include <sys/timeout.h>
7538 #endif
7539 #ifdef HAVE_NETINET_IN_H
7540 # include <netinet/in.h>
7541 #endif
7542 #ifdef HAVE_NETINET_IN_SYSTM_H
7543 # include <netinet/in_systm.h>
7544 #endif
7545 #ifdef HAVE_NETINET_IP_H
7546 # include <netinet/ip.h>
7547 #endif
7548 #ifdef HAVE_NETINET_IP_VAR_H
7549 # include <netinet/ip_var.h>
7550 #endif
7551 #ifdef HAVE_NETINET_IP_ICMP_H
7552 # include <netinet/ip_icmp.h>
7553 #endif
7554 #ifdef HAVE_NETINET_UDP_H
7555 # include <netinet/udp.h>
7556 #endif
7557 #ifdef HAVE_NETINET_TCP_H
7558 # include <netinet/tcp.h>
7559 #endif
7560 #ifdef HAVE_NETINET_TCP_TIMER_H
7561 #include <netinet/tcp_timer.h>
7562 #endif
7564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7565 cat >>confdefs.h <<_ACEOF
7566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7567 _ACEOF
7571 done
7574 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7575 do :
7576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7578 #ifdef HAVE_ASM_TYPES_H
7579 # include <asm/types.h>
7580 #endif
7581 #ifdef HAVE_SYS_SOCKET_H
7582 # include <sys/socket.h>
7583 #endif
7584 #ifdef HAVE_LINUX_TYPES_H
7585 # include <linux/types.h>
7586 #endif
7588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7589 cat >>confdefs.h <<_ACEOF
7590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 _ACEOF
7595 done
7598 for ac_header in mach-o/dyld_images.h
7599 do :
7600 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7601 # include <stdbool.h>
7602 #endif
7603 #ifdef HAVE_STDINT_H
7604 # include <stdint.h>
7605 #endif
7607 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7608 cat >>confdefs.h <<_ACEOF
7609 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7610 _ACEOF
7614 done
7617 for ac_header in resolv.h
7618 do :
7619 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7620 #ifdef HAVE_SYS_SOCKET_H
7621 # include <sys/socket.h>
7622 #endif
7623 #ifdef HAVE_NETINET_IN_H
7624 # include <netinet/in.h>
7625 #endif
7626 #ifdef HAVE_ARPA_NAMESER_H
7627 # include <arpa/nameser.h>
7628 #endif
7630 if test "x$ac_cv_header_resolv_h" = xyes; then :
7631 cat >>confdefs.h <<_ACEOF
7632 #define HAVE_RESOLV_H 1
7633 _ACEOF
7637 done
7640 for ac_header in ifaddrs.h
7641 do :
7642 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7644 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7645 cat >>confdefs.h <<_ACEOF
7646 #define HAVE_IFADDRS_H 1
7647 _ACEOF
7651 done
7654 for ac_header in sys/ucontext.h
7655 do :
7656 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7658 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_SYS_UCONTEXT_H 1
7661 _ACEOF
7665 done
7668 for ac_header in sys/thr.h
7669 do :
7670 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7671 #ifdef HAVE_SYS_UCONTEXT_H
7672 #include <sys/ucontext.h>
7673 #endif
7675 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define HAVE_SYS_THR_H 1
7678 _ACEOF
7682 done
7685 for ac_header in pthread_np.h
7686 do :
7687 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7688 #include <pthread.h>
7689 #endif
7691 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7692 cat >>confdefs.h <<_ACEOF
7693 #define HAVE_PTHREAD_NP_H 1
7694 _ACEOF
7698 done
7701 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7702 do :
7703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7705 #include <sys/time.h>
7706 #endif
7707 #include <sys/types.h>
7708 #ifdef HAVE_ASM_TYPES_H
7709 #include <asm/types.h>
7710 #endif
7712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7715 _ACEOF
7719 done
7722 for ac_header in libprocstat.h
7723 do :
7724 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7725 #include <sys/param.h>
7726 #endif
7727 #ifdef HAVE_SYS_QUEUE_H
7728 #include <sys/queue.h>
7729 #endif
7730 #ifdef HAVE_SYS_SOCKET_H
7731 #include <sys/socket.h>
7732 #endif
7734 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF
7736 #define HAVE_LIBPROCSTAT_H 1
7737 _ACEOF
7741 done
7745 DLLFLAGS="-D_REENTRANT"
7747 LDRPATH_INSTALL=""
7749 LDRPATH_LOCAL=""
7751 LDEXECFLAGS=""
7753 TOP_INSTALL_LIB=""
7755 TOP_INSTALL_DEV=""
7757 WINELOADER_LDFLAGS=""
7759 LIBEXT="so"
7760 DLLEXT=".so"
7761 IMPLIBEXT="def"
7762 # Extract the first word of "ldd", so it can be a program name with args.
7763 set dummy ldd; ac_word=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7765 $as_echo_n "checking for $ac_word... " >&6; }
7766 if ${ac_cv_path_LDD+:} false; then :
7767 $as_echo_n "(cached) " >&6
7768 else
7769 case $LDD in
7770 [\\/]* | ?:[\\/]*)
7771 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 as_dummy="/sbin:/usr/sbin:$PATH"
7776 for as_dir in $as_dummy
7778 IFS=$as_save_IFS
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7782 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 break 2
7786 done
7787 done
7788 IFS=$as_save_IFS
7790 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7792 esac
7794 LDD=$ac_cv_path_LDD
7795 if test -n "$LDD"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7797 $as_echo "$LDD" >&6; }
7798 else
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7804 if test -n "$ac_tool_prefix"; then
7805 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7806 set dummy ${ac_tool_prefix}otool; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808 $as_echo_n "checking for $ac_word... " >&6; }
7809 if ${ac_cv_prog_OTOOL+:} false; then :
7810 $as_echo_n "(cached) " >&6
7811 else
7812 if test -n "$OTOOL"; then
7813 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7814 else
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 for as_dir in $PATH
7818 IFS=$as_save_IFS
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7822 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 break 2
7826 done
7827 done
7828 IFS=$as_save_IFS
7832 OTOOL=$ac_cv_prog_OTOOL
7833 if test -n "$OTOOL"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7835 $as_echo "$OTOOL" >&6; }
7836 else
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7843 if test -z "$ac_cv_prog_OTOOL"; then
7844 ac_ct_OTOOL=$OTOOL
7845 # Extract the first word of "otool", so it can be a program name with args.
7846 set dummy otool; ac_word=$2
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848 $as_echo_n "checking for $ac_word... " >&6; }
7849 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7850 $as_echo_n "(cached) " >&6
7851 else
7852 if test -n "$ac_ct_OTOOL"; then
7853 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7854 else
7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 for as_dir in $PATH
7858 IFS=$as_save_IFS
7859 test -z "$as_dir" && as_dir=.
7860 for ac_exec_ext in '' $ac_executable_extensions; do
7861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7862 ac_cv_prog_ac_ct_OTOOL="otool"
7863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864 break 2
7866 done
7867 done
7868 IFS=$as_save_IFS
7872 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7873 if test -n "$ac_ct_OTOOL"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7875 $as_echo "$ac_ct_OTOOL" >&6; }
7876 else
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7881 if test "x$ac_ct_OTOOL" = x; then
7882 OTOOL="otool"
7883 else
7884 case $cross_compiling:$ac_tool_warned in
7885 yes:)
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7888 ac_tool_warned=yes ;;
7889 esac
7890 OTOOL=$ac_ct_OTOOL
7892 else
7893 OTOOL="$ac_cv_prog_OTOOL"
7896 if test -n "$ac_tool_prefix"; then
7897 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7898 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7900 $as_echo_n "checking for $ac_word... " >&6; }
7901 if ${ac_cv_prog_READELF+:} false; then :
7902 $as_echo_n "(cached) " >&6
7903 else
7904 if test -n "$READELF"; then
7905 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7906 else
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 for as_dir in $PATH
7910 IFS=$as_save_IFS
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 break 2
7918 done
7919 done
7920 IFS=$as_save_IFS
7924 READELF=$ac_cv_prog_READELF
7925 if test -n "$READELF"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7927 $as_echo "$READELF" >&6; }
7928 else
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7930 $as_echo "no" >&6; }
7935 if test -z "$ac_cv_prog_READELF"; then
7936 ac_ct_READELF=$READELF
7937 # Extract the first word of "readelf", so it can be a program name with args.
7938 set dummy readelf; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$ac_ct_READELF"; then
7945 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_ac_ct_READELF="readelf"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7958 done
7959 done
7960 IFS=$as_save_IFS
7964 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7965 if test -n "$ac_ct_READELF"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7967 $as_echo "$ac_ct_READELF" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7973 if test "x$ac_ct_READELF" = x; then
7974 READELF="true"
7975 else
7976 case $cross_compiling:$ac_tool_warned in
7977 yes:)
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7980 ac_tool_warned=yes ;;
7981 esac
7982 READELF=$ac_ct_READELF
7984 else
7985 READELF="$ac_cv_prog_READELF"
7988 wine_rules_file=conf$$rules.make
7989 rm -f $wine_rules_file
7990 SUBDIRS=""
7992 DISABLED_SUBDIRS=""
7994 CONFIGURE_TARGETS=""
7997 wine_fn_append_file ()
7999 as_fn_append $1 " \\$as_nl $2"
8002 wine_fn_append_rule ()
8004 $as_echo "$1" >>$wine_rules_file
8007 wine_fn_config_makefile ()
8009 wine_fn_append_file SUBDIRS $1
8010 if eval test \"x\$"$2"\" = x"no"; then :
8011 wine_fn_append_file DISABLED_SUBDIRS $1
8015 wine_fn_config_symlink ()
8017 ac_links=$@
8018 wine_fn_append_rule \
8019 "$ac_links:
8020 @./config.status \$@"
8021 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8024 wine_binary="wine"
8025 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8026 WINELOADER_PROGRAMS="$wine_binary"
8028 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8030 case $host_os in
8031 cygwin*|mingw32*)
8032 if test -n "$ac_tool_prefix"; then
8033 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8034 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_DLLTOOL+:} false; then :
8038 $as_echo_n "(cached) " >&6
8039 else
8040 if test -n "$DLLTOOL"; then
8041 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8042 else
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 for as_dir in $PATH
8046 IFS=$as_save_IFS
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 break 2
8054 done
8055 done
8056 IFS=$as_save_IFS
8060 DLLTOOL=$ac_cv_prog_DLLTOOL
8061 if test -n "$DLLTOOL"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8063 $as_echo "$DLLTOOL" >&6; }
8064 else
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8071 if test -z "$ac_cv_prog_DLLTOOL"; then
8072 ac_ct_DLLTOOL=$DLLTOOL
8073 # Extract the first word of "dlltool", so it can be a program name with args.
8074 set dummy dlltool; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076 $as_echo_n "checking for $ac_word... " >&6; }
8077 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8078 $as_echo_n "(cached) " >&6
8079 else
8080 if test -n "$ac_ct_DLLTOOL"; then
8081 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8082 else
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 for as_dir in $PATH
8086 IFS=$as_save_IFS
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 break 2
8094 done
8095 done
8096 IFS=$as_save_IFS
8100 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8101 if test -n "$ac_ct_DLLTOOL"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8103 $as_echo "$ac_ct_DLLTOOL" >&6; }
8104 else
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8109 if test "x$ac_ct_DLLTOOL" = x; then
8110 DLLTOOL="false"
8111 else
8112 case $cross_compiling:$ac_tool_warned in
8113 yes:)
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8116 ac_tool_warned=yes ;;
8117 esac
8118 DLLTOOL=$ac_ct_DLLTOOL
8120 else
8121 DLLTOOL="$ac_cv_prog_DLLTOOL"
8124 LIBEXT="dll"
8125 DLLEXT=""
8126 IMPLIBEXT="a"
8127 enable_iphlpapi=${enable_iphlpapi:-no}
8128 enable_kernel32=${enable_kernel32:-no}
8129 enable_msvcrt=${enable_msvcrt:-no}
8130 enable_ntdll=${enable_ntdll:-no}
8131 enable_ws2_32=${enable_ws2_32:-no}
8132 enable_loader=${enable_loader:-no}
8133 enable_server=${enable_server:-no}
8134 with_x=${with_x:-no}
8135 with_pthread=${with_pthread:-no}
8137 crtlibs=""
8138 case $host_os in
8139 mingw32*)
8140 crtlibs="-lmsvcrt" ;;
8141 esac
8143 LIBWINE_SHAREDLIB="libwine.dll"
8145 LIBWINE_IMPORTLIB="libwine.a"
8147 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8149 LIBWINE_DEPENDS="wine.def"
8151 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8152 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8155 darwin*|macosx*)
8156 for ac_header in libunwind.h
8157 do :
8158 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8160 cat >>confdefs.h <<_ACEOF
8161 #define HAVE_LIBUNWIND_H 1
8162 _ACEOF
8166 done
8168 ac_ext=m
8169 ac_cpp='$OBJCPP $CPPFLAGS'
8170 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8174 ac_ext=m
8175 ac_cpp='$OBJCPP $CPPFLAGS'
8176 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8177 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8178 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8179 if test -n "$ac_tool_prefix"; then
8180 for ac_prog in gcc objcc objc cc CC
8182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185 $as_echo_n "checking for $ac_word... " >&6; }
8186 if ${ac_cv_prog_OBJC+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 if test -n "$OBJC"; then
8190 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8191 else
8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 for as_dir in $PATH
8195 IFS=$as_save_IFS
8196 test -z "$as_dir" && as_dir=.
8197 for ac_exec_ext in '' $ac_executable_extensions; do
8198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8201 break 2
8203 done
8204 done
8205 IFS=$as_save_IFS
8209 OBJC=$ac_cv_prog_OBJC
8210 if test -n "$OBJC"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8212 $as_echo "$OBJC" >&6; }
8213 else
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8219 test -n "$OBJC" && break
8220 done
8222 if test -z "$OBJC"; then
8223 ac_ct_OBJC=$OBJC
8224 for ac_prog in gcc objcc objc cc CC
8226 # Extract the first word of "$ac_prog", so it can be a program name with args.
8227 set dummy $ac_prog; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 $as_echo_n "checking for $ac_word... " >&6; }
8230 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 if test -n "$ac_ct_OBJC"; then
8234 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8235 else
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 for as_dir in $PATH
8239 IFS=$as_save_IFS
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 break 2
8247 done
8248 done
8249 IFS=$as_save_IFS
8253 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8254 if test -n "$ac_ct_OBJC"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8256 $as_echo "$ac_ct_OBJC" >&6; }
8257 else
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259 $as_echo "no" >&6; }
8263 test -n "$ac_ct_OBJC" && break
8264 done
8266 if test "x$ac_ct_OBJC" = x; then
8267 OBJC="gcc"
8268 else
8269 case $cross_compiling:$ac_tool_warned in
8270 yes:)
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8274 esac
8275 OBJC=$ac_ct_OBJC
8279 # Provide some information about the compiler.
8280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8281 set X $ac_compile
8282 ac_compiler=$2
8283 for ac_option in --version -v -V -qversion; do
8284 { { ac_try="$ac_compiler $ac_option >&5"
8285 case "(($ac_try" in
8286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8287 *) ac_try_echo=$ac_try;;
8288 esac
8289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8290 $as_echo "$ac_try_echo"; } >&5
8291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8292 ac_status=$?
8293 if test -s conftest.err; then
8294 sed '10a\
8295 ... rest of stderr output deleted ...
8296 10q' conftest.err >conftest.er1
8297 cat conftest.er1 >&5
8299 rm -f conftest.er1 conftest.err
8300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8301 test $ac_status = 0; }
8302 done
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8305 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8306 if ${ac_cv_objc_compiler_gnu+:} false; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8313 main ()
8315 #ifndef __GNUC__
8316 choke me
8317 #endif
8320 return 0;
8322 _ACEOF
8323 if ac_fn_objc_try_compile "$LINENO"; then :
8324 ac_compiler_gnu=yes
8325 else
8326 ac_compiler_gnu=no
8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8329 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8333 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8334 if test $ac_compiler_gnu = yes; then
8335 GOBJC=yes
8336 else
8337 GOBJC=
8339 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8340 ac_save_OBJCFLAGS=$OBJCFLAGS
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8342 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8343 if ${ac_cv_prog_objc_g+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_save_objc_werror_flag=$ac_objc_werror_flag
8347 ac_objc_werror_flag=yes
8348 ac_cv_prog_objc_g=no
8349 OBJCFLAGS="-g"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8354 main ()
8358 return 0;
8360 _ACEOF
8361 if ac_fn_objc_try_compile "$LINENO"; then :
8362 ac_cv_prog_objc_g=yes
8363 else
8364 OBJCFLAGS=""
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8369 main ()
8373 return 0;
8375 _ACEOF
8376 if ac_fn_objc_try_compile "$LINENO"; then :
8378 else
8379 ac_objc_werror_flag=$ac_save_objc_werror_flag
8380 OBJCFLAGS="-g"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8385 main ()
8389 return 0;
8391 _ACEOF
8392 if ac_fn_objc_try_compile "$LINENO"; then :
8393 ac_cv_prog_objc_g=yes
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8400 ac_objc_werror_flag=$ac_save_objc_werror_flag
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8403 $as_echo "$ac_cv_prog_objc_g" >&6; }
8404 if test "$ac_test_OBJCFLAGS" = set; then
8405 OBJCFLAGS=$ac_save_OBJCFLAGS
8406 elif test $ac_cv_prog_objc_g = yes; then
8407 if test "$GOBJC" = yes; then
8408 OBJCFLAGS="-g -O2"
8409 else
8410 OBJCFLAGS="-g"
8412 else
8413 if test "$GOBJC" = yes; then
8414 OBJCFLAGS="-O2"
8415 else
8416 OBJCFLAGS=
8419 ac_ext=m
8420 ac_cpp='$OBJCPP $CPPFLAGS'
8421 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8422 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8423 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8426 ac_ext=m
8427 ac_cpp='$OBJCPP $CPPFLAGS'
8428 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8429 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8430 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8432 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8433 if test -z "$OBJCPP"; then
8434 if ${ac_cv_prog_OBJCPP+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 # Double quotes because OBJCPP needs to be expanded
8438 for OBJCPP in "$OBJC -E" "/lib/cpp"
8440 ac_preproc_ok=false
8441 for ac_objc_preproc_warn_flag in '' yes
8443 # Use a header file that comes with gcc, so configuring glibc
8444 # with a fresh cross-compiler works.
8445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8446 # <limits.h> exists even on freestanding compilers.
8447 # On the NeXT, cc -E runs the code through the compiler's parser,
8448 # not just through cpp. "Syntax error" is here to catch this case.
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 #ifdef __STDC__
8452 # include <limits.h>
8453 #else
8454 # include <assert.h>
8455 #endif
8456 Syntax error
8457 _ACEOF
8458 if ac_fn_objc_try_cpp "$LINENO"; then :
8460 else
8461 # Broken: fails on valid input.
8462 continue
8464 rm -f conftest.err conftest.i conftest.$ac_ext
8466 # OK, works on sane cases. Now check whether nonexistent headers
8467 # can be detected and how.
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 #include <ac_nonexistent.h>
8471 _ACEOF
8472 if ac_fn_objc_try_cpp "$LINENO"; then :
8473 # Broken: success on invalid input.
8474 continue
8475 else
8476 # Passes both tests.
8477 ac_preproc_ok=:
8478 break
8480 rm -f conftest.err conftest.i conftest.$ac_ext
8482 done
8483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8484 rm -f conftest.i conftest.err conftest.$ac_ext
8485 if $ac_preproc_ok; then :
8486 break
8489 done
8490 ac_cv_prog_OBJCPP=$OBJCPP
8493 OBJCPP=$ac_cv_prog_OBJCPP
8494 else
8495 ac_cv_prog_OBJCPP=$OBJCPP
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8498 $as_echo "$OBJCPP" >&6; }
8499 ac_preproc_ok=false
8500 for ac_objc_preproc_warn_flag in '' yes
8502 # Use a header file that comes with gcc, so configuring glibc
8503 # with a fresh cross-compiler works.
8504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8505 # <limits.h> exists even on freestanding compilers.
8506 # On the NeXT, cc -E runs the code through the compiler's parser,
8507 # not just through cpp. "Syntax error" is here to catch this case.
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 #ifdef __STDC__
8511 # include <limits.h>
8512 #else
8513 # include <assert.h>
8514 #endif
8515 Syntax error
8516 _ACEOF
8517 if ac_fn_objc_try_cpp "$LINENO"; then :
8519 else
8520 # Broken: fails on valid input.
8521 continue
8523 rm -f conftest.err conftest.i conftest.$ac_ext
8525 # OK, works on sane cases. Now check whether nonexistent headers
8526 # can be detected and how.
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 #include <ac_nonexistent.h>
8530 _ACEOF
8531 if ac_fn_objc_try_cpp "$LINENO"; then :
8532 # Broken: success on invalid input.
8533 continue
8534 else
8535 # Passes both tests.
8536 ac_preproc_ok=:
8537 break
8539 rm -f conftest.err conftest.i conftest.$ac_ext
8541 done
8542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8543 rm -f conftest.i conftest.err conftest.$ac_ext
8544 if $ac_preproc_ok; then :
8546 else
8547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8549 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8550 See \`config.log' for more details" "$LINENO" 5; }
8553 ac_ext=m
8554 ac_cpp='$OBJCPP $CPPFLAGS'
8555 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8556 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8557 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8560 for ac_header in Metal/Metal.h
8561 do :
8562 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8563 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8564 cat >>confdefs.h <<_ACEOF
8565 #define HAVE_METAL_METAL_H 1
8566 _ACEOF
8570 done
8572 ac_ext=c
8573 ac_cpp='$CPP $CPPFLAGS'
8574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8578 LIBEXT="dylib"
8579 DLLFLAGS="$DLLFLAGS -fPIC"
8580 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8581 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8582 COREFOUNDATION_LIBS="-framework CoreFoundation"
8584 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8586 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8588 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8590 CORESERVICES_LIBS="-framework CoreServices"
8592 APPKIT_LIBS="-framework AppKit"
8594 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8596 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8597 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_wine_try_cflags_saved=$CFLAGS
8601 CFLAGS="$CFLAGS -Wl,-no_pie"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8604 int main(int argc, char **argv) { return 0; }
8605 _ACEOF
8606 if ac_fn_c_try_link "$LINENO"; then :
8607 ac_cv_cflags__Wl__no_pie=yes
8608 else
8609 ac_cv_cflags__Wl__no_pie=no
8611 rm -f core conftest.err conftest.$ac_objext \
8612 conftest$ac_exeext conftest.$ac_ext
8613 CFLAGS=$ac_wine_try_cflags_saved
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8616 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8617 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8618 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8620 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8621 then
8622 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8625 if test "$ac_cv_header_Security_Security_h" = "yes"
8626 then
8627 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8629 ac_save_LIBS="$LIBS"
8630 LIBS="$LIBS $SECURITY_LIBS"
8631 for ac_func in SSLCopyPeerCertificates
8632 do :
8633 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8634 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8635 cat >>confdefs.h <<_ACEOF
8636 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8637 _ACEOF
8640 done
8642 LIBS="$ac_save_LIBS"
8644 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8645 then
8646 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8647 then
8648 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8650 else
8651 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8654 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8655 ac_save_LIBS="$LIBS"
8656 LIBS="$LIBS $COREAUDIO_LIBS"
8657 for ac_func in AUGraphAddNode
8658 do :
8659 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8660 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8661 cat >>confdefs.h <<_ACEOF
8662 #define HAVE_AUGRAPHADDNODE 1
8663 _ACEOF
8666 done
8668 LIBS="$ac_save_LIBS"
8670 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8671 then
8672 OPENAL_LIBS="-framework OpenAL"
8675 cat >>confdefs.h <<_ACEOF
8676 #define HAVE_OPENAL 1
8677 _ACEOF
8679 ac_cv_lib_openal=yes
8681 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8682 then
8683 OPENCL_LIBS="-framework OpenCL"
8685 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8687 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8688 then
8689 ac_save_LIBS="$LIBS"
8690 LIBS="$LIBS $IOKIT_LIBS"
8691 for ac_func in IOHIDManagerCreate
8692 do :
8693 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8694 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8695 cat >>confdefs.h <<_ACEOF
8696 #define HAVE_IOHIDMANAGERCREATE 1
8697 _ACEOF
8700 done
8702 LIBS="$ac_save_LIBS"
8704 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8705 then
8706 ac_save_LIBS="$LIBS"
8707 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8709 $as_echo_n "checking for the QuickTime framework... " >&6; }
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #include <QuickTime/ImageCompression.h>
8714 main ()
8716 CodecManagerVersion(NULL);
8718 return 0;
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8723 $as_echo "yes" >&6; }
8724 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8726 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8727 else
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729 $as_echo "no" >&6; }
8730 ac_cv_header_QuickTime_ImageCompression_h=no
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 LIBS="$ac_save_LIBS"
8736 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8737 then
8738 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8740 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8741 then
8742 CARBON_LIBS="-framework Carbon"
8745 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8746 then
8747 METAL_LIBS="-framework Metal -framework QuartzCore"
8751 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8752 then
8753 ac_save_LIBS="$LIBS"
8754 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8755 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8756 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8757 enable_winemac_drv=${enable_winemac_drv:-yes}
8760 LIBS="$ac_save_LIBS"
8763 if test "x$enable_win16" = "xyes"
8764 then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8766 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8767 if test "$cross_compiling" = yes; then :
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8769 $as_echo "cross-compiling, assuming yes" >&6; }
8770 else
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 asm(".text\n"
8774 "bad:\tnop;nop\n"
8775 "good:\tnop;nop\n\t"
8776 ".globl _testfunc\n"
8777 "_testfunc:\tcallw good");
8778 extern void testfunc();
8780 main ()
8782 unsigned short *p = (unsigned short *)testfunc;
8783 return p[0] != 0xe866 || p[1] != 0xfffa
8785 return 0;
8787 _ACEOF
8788 if ac_fn_c_try_run "$LINENO"; then :
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8790 $as_echo "yes" >&6; }
8791 else
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8793 $as_echo "no" >&6; }
8794 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
8796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8797 conftest.$ac_objext conftest.beam conftest.$ac_ext
8802 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8804 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8806 WINELOADER_DEPENDS="wine_info.plist"
8808 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8809 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8812 linux-android*)
8813 DLLFLAGS="$DLLFLAGS -fPIC"
8814 LDEXECFLAGS="-Wl,-pie"
8815 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8817 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8818 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8819 $as_echo_n "(cached) " >&6
8820 else
8821 ac_wine_try_cflags_saved=$CFLAGS
8822 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8825 int main(int argc, char **argv) { return 0; }
8826 _ACEOF
8827 if ac_fn_c_try_link "$LINENO"; then :
8828 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8829 else
8830 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8832 rm -f core conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8834 CFLAGS=$ac_wine_try_cflags_saved
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8837 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8838 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8839 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8841 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8843 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8844 if eval \${$as_ac_var+:} false; then :
8845 $as_echo_n "(cached) " >&6
8846 else
8847 ac_wine_try_cflags_saved=$CFLAGS
8848 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 int main(int argc, char **argv) { return 0; }
8852 _ACEOF
8853 if ac_fn_c_try_link "$LINENO"; then :
8854 eval "$as_ac_var=yes"
8855 else
8856 eval "$as_ac_var=no"
8858 rm -f core conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8860 CFLAGS=$ac_wine_try_cflags_saved
8862 eval ac_res=\$$as_ac_var
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8864 $as_echo "$ac_res" >&6; }
8865 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8866 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8867 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8868 else
8869 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8871 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8872 if eval \${$as_ac_var+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 ac_wine_try_cflags_saved=$CFLAGS
8876 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8879 int main(int argc, char **argv) { return 0; }
8880 _ACEOF
8881 if ac_fn_c_try_link "$LINENO"; then :
8882 eval "$as_ac_var=yes"
8883 else
8884 eval "$as_ac_var=no"
8886 rm -f core conftest.err conftest.$ac_objext \
8887 conftest$ac_exeext conftest.$ac_ext
8888 CFLAGS=$ac_wine_try_cflags_saved
8890 eval ac_res=\$$as_ac_var
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8892 $as_echo "$ac_res" >&6; }
8893 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8894 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8895 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8899 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8900 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 ac_wine_try_cflags_saved=$CFLAGS
8904 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 int main(int argc, char **argv) { return 0; }
8908 _ACEOF
8909 if ac_fn_c_try_link "$LINENO"; then :
8910 ac_cv_cflags__Wl___enable_new_dtags=yes
8911 else
8912 ac_cv_cflags__Wl___enable_new_dtags=no
8914 rm -f core conftest.err conftest.$ac_objext \
8915 conftest$ac_exeext conftest.$ac_ext
8916 CFLAGS=$ac_wine_try_cflags_saved
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8919 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8920 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8921 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8924 LIBWINE_SHAREDLIB="libwine.so"
8926 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8928 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8931 $as_echo_n "checking for -lEGL... " >&6; }
8932 if ${ac_cv_lib_soname_EGL+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 ac_check_soname_save_LIBS=$LIBS
8936 LIBS="-lEGL $LIBS"
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8940 /* Override any GCC internal prototype to avoid an error.
8941 Use char because int might match the return type of a GCC
8942 builtin and then its argument prototype would still apply. */
8943 #ifdef __cplusplus
8944 extern "C"
8945 #endif
8946 char eglGetProcAddress ();
8948 main ()
8950 return eglGetProcAddress ();
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 case "$LIBEXT" in
8957 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8958 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'` ;;
8959 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8960 if ${ac_cv_lib_soname_EGL:+false} :; then :
8961 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8962 fi ;;
8963 esac
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS=$ac_check_soname_save_LIBS
8969 if ${ac_cv_lib_soname_EGL:+false} :; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8971 $as_echo "not found" >&6; }
8973 else
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8975 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8977 cat >>confdefs.h <<_ACEOF
8978 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8979 _ACEOF
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8984 $as_echo_n "checking for -lGLESv2... " >&6; }
8985 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 ac_check_soname_save_LIBS=$LIBS
8989 LIBS="-lGLESv2 $LIBS"
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8993 /* Override any GCC internal prototype to avoid an error.
8994 Use char because int might match the return type of a GCC
8995 builtin and then its argument prototype would still apply. */
8996 #ifdef __cplusplus
8997 extern "C"
8998 #endif
8999 char glFlush ();
9001 main ()
9003 return glFlush ();
9005 return 0;
9007 _ACEOF
9008 if ac_fn_c_try_link "$LINENO"; then :
9009 case "$LIBEXT" in
9010 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9011 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'` ;;
9012 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9013 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9014 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9015 fi ;;
9016 esac
9018 rm -f core conftest.err conftest.$ac_objext \
9019 conftest$ac_exeext conftest.$ac_ext
9020 LIBS=$ac_check_soname_save_LIBS
9022 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9024 $as_echo "not found" >&6; }
9026 else
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9028 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9030 cat >>confdefs.h <<_ACEOF
9031 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9032 _ACEOF
9037 if test "x$exec_prefix" = xNONE
9038 then
9039 case $host_cpu in
9040 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9041 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9042 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9043 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9044 esac
9049 DLLFLAGS="$DLLFLAGS -fPIC"
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9051 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9052 if ${ac_cv_c_dll_gnuelf+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 void myfunc() {}
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_c_dll_gnuelf="yes"
9063 else
9064 ac_cv_c_dll_gnuelf="no"
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9071 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9072 if test "$ac_cv_c_dll_gnuelf" = "yes"
9073 then
9074 LIBWINE_LDFLAGS="-shared"
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9076 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9077 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_wine_try_cflags_saved=$CFLAGS
9081 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 int main(int argc, char **argv) { return 0; }
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9088 else
9089 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 CFLAGS=$ac_wine_try_cflags_saved
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9096 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9097 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9098 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9099 else
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9101 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9102 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9103 $as_echo_n "(cached) " >&6
9104 else
9105 ac_wine_try_cflags_saved=$CFLAGS
9106 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 int main(int argc, char **argv) { return 0; }
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9113 else
9114 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9116 rm -f core conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9118 CFLAGS=$ac_wine_try_cflags_saved
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9121 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9122 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9123 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9127 echo '{ global: *; };' >conftest.map
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9129 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9130 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 ac_wine_try_cflags_saved=$CFLAGS
9134 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 int main(int argc, char **argv) { return 0; }
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9141 else
9142 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9144 rm -f core conftest.err conftest.$ac_objext \
9145 conftest$ac_exeext conftest.$ac_ext
9146 CFLAGS=$ac_wine_try_cflags_saved
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9149 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9150 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9151 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9153 rm -f conftest.map
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9156 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9157 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 ac_wine_try_cflags_saved=$CFLAGS
9161 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9164 int main(int argc, char **argv) { return 0; }
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9168 else
9169 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 CFLAGS=$ac_wine_try_cflags_saved
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9176 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9177 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9178 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9181 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9183 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9184 if eval \${$as_ac_var+:} false; then :
9185 $as_echo_n "(cached) " >&6
9186 else
9187 ac_wine_try_cflags_saved=$CFLAGS
9188 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9191 int main(int argc, char **argv) { return 0; }
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 eval "$as_ac_var=yes"
9195 else
9196 eval "$as_ac_var=no"
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 CFLAGS=$ac_wine_try_cflags_saved
9202 eval ac_res=\$$as_ac_var
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9204 $as_echo "$ac_res" >&6; }
9205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9206 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9207 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9208 else
9209 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9211 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9212 if eval \${$as_ac_var+:} false; then :
9213 $as_echo_n "(cached) " >&6
9214 else
9215 ac_wine_try_cflags_saved=$CFLAGS
9216 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9219 int main(int argc, char **argv) { return 0; }
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 eval "$as_ac_var=yes"
9223 else
9224 eval "$as_ac_var=no"
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9228 CFLAGS=$ac_wine_try_cflags_saved
9230 eval ac_res=\$$as_ac_var
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9232 $as_echo "$ac_res" >&6; }
9233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9234 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9235 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9240 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9241 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9242 $as_echo_n "(cached) " >&6
9243 else
9244 ac_wine_try_cflags_saved=$CFLAGS
9245 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9248 int main(int argc, char **argv) { return 0; }
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 ac_cv_cflags__Wl___enable_new_dtags=yes
9252 else
9253 ac_cv_cflags__Wl___enable_new_dtags=no
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 CFLAGS=$ac_wine_try_cflags_saved
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9260 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9261 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9262 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9265 case $host_cpu in
9266 *i[3456789]86* | x86_64 | *aarch64*)
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9268 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9269 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_wine_try_cflags_saved=$CFLAGS
9273 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9276 int main(int argc, char **argv) { return 0; }
9277 _ACEOF
9278 if ac_fn_c_try_link "$LINENO"; then :
9279 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9280 else
9281 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9285 CFLAGS=$ac_wine_try_cflags_saved
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9288 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9289 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9290 case $host_os in
9291 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9292 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9293 esac
9294 else
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9296 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9297 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_wine_try_cflags_saved=$CFLAGS
9301 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9304 int main(int argc, char **argv) { return 0; }
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9308 else
9309 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 CFLAGS=$ac_wine_try_cflags_saved
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9316 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9317 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9318 case $host_os in
9319 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9320 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9321 esac
9323 # Extract the first word of "prelink", so it can be a program name with args.
9324 set dummy prelink; ac_word=$2
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 $as_echo_n "checking for $ac_word... " >&6; }
9327 if ${ac_cv_path_PRELINK+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 case $PRELINK in
9331 [\\/]* | ?:[\\/]*)
9332 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9336 for as_dir in /sbin /usr/sbin $PATH
9338 IFS=$as_save_IFS
9339 test -z "$as_dir" && as_dir=.
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9342 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9344 break 2
9346 done
9347 done
9348 IFS=$as_save_IFS
9350 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9352 esac
9354 PRELINK=$ac_cv_path_PRELINK
9355 if test -n "$PRELINK"; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9357 $as_echo "$PRELINK" >&6; }
9358 else
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 $as_echo "no" >&6; }
9364 if test "x$PRELINK" = xfalse
9365 then
9366 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9370 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9371 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9372 $as_echo_n "(cached) " >&6
9373 else
9374 ac_wine_try_cflags_saved=$CFLAGS
9375 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9378 int main(int argc, char **argv) { return 0; }
9379 _ACEOF
9380 if ac_fn_c_try_link "$LINENO"; then :
9381 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9382 else
9383 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9385 rm -f core conftest.err conftest.$ac_objext \
9386 conftest$ac_exeext conftest.$ac_ext
9387 CFLAGS=$ac_wine_try_cflags_saved
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9390 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9391 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9392 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9395 esac
9397 else
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9399 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9400 if ${ac_cv_c_dll_unixware+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_wine_try_cflags_saved=$CFLAGS
9404 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9407 void myfunc() {}
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 ac_cv_c_dll_unixware="yes"
9411 else
9412 ac_cv_c_dll_unixware="no"
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 CFLAGS=$ac_wine_try_cflags_saved
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9419 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9420 if test "$ac_cv_c_dll_unixware" = "yes"
9421 then
9422 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9425 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9427 LIBWINE_DEPENDS="wine.map"
9429 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9430 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9432 esac
9434 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9435 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9436 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9437 enable_winemac_drv=${enable_winemac_drv:-no}
9438 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9440 CROSSTARGET=""
9442 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9443 then
9444 case "$host_cpu" in
9445 aarch64*)
9446 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9447 arm*)
9448 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9449 i[3456789]86*)
9450 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
9451 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9452 mingw32-gcc" ;;
9453 x86_64)
9454 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
9455 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9457 ac_prefix_list="" ;;
9458 esac
9459 for ac_prog in $ac_prefix_list
9461 # Extract the first word of "$ac_prog", so it can be a program name with args.
9462 set dummy $ac_prog; ac_word=$2
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9464 $as_echo_n "checking for $ac_word... " >&6; }
9465 if ${ac_cv_prog_CROSSCC+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 if test -n "$CROSSCC"; then
9469 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9470 else
9471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9472 for as_dir in $PATH
9474 IFS=$as_save_IFS
9475 test -z "$as_dir" && as_dir=.
9476 for ac_exec_ext in '' $ac_executable_extensions; do
9477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9478 ac_cv_prog_CROSSCC="$ac_prog"
9479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9480 break 2
9482 done
9483 done
9484 IFS=$as_save_IFS
9488 CROSSCC=$ac_cv_prog_CROSSCC
9489 if test -n "$CROSSCC"; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9491 $as_echo "$CROSSCC" >&6; }
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9494 $as_echo "no" >&6; }
9498 test -n "$CROSSCC" && break
9499 done
9500 test -n "$CROSSCC" || CROSSCC="false"
9502 if test "$CROSSCC" != "false"
9503 then
9504 ac_save_CC="$CC"
9505 CC="$CROSSCC"
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9507 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9512 main ()
9516 return 0;
9518 _ACEOF
9519 if ac_fn_c_try_compile "$LINENO"; then :
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9521 $as_echo "yes" >&6; }
9522 set x $CROSSCC
9523 shift
9524 while test $# -ge 1
9526 case "$1" in
9527 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9528 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9529 esac
9530 shift
9531 done
9532 else
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9534 $as_echo "no" >&6; }
9536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9537 CC="$ac_save_CC"
9538 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9544 if test "$ac_cv_header_pthread_h" = "yes"
9545 then
9546 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9547 if test "x$ac_cv_func_pthread_create" = xyes; then :
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9551 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9552 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_check_lib_save_LIBS=$LIBS
9556 LIBS="-lpthread $LIBS"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9563 #ifdef __cplusplus
9564 extern "C"
9565 #endif
9566 char pthread_create ();
9568 main ()
9570 return pthread_create ();
9572 return 0;
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_lib_pthread_pthread_create=yes
9577 else
9578 ac_cv_lib_pthread_pthread_create=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_lib_save_LIBS
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9585 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9586 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9587 PTHREAD_LIBS="-lpthread"
9594 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9595 case "x$with_pthread" in
9596 xno) ;;
9597 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9598 Wine cannot support threads without libpthread.
9599 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9600 esac
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9606 $as_echo_n "checking for X... " >&6; }
9609 # Check whether --with-x was given.
9610 if test "${with_x+set}" = set; then :
9611 withval=$with_x;
9614 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9615 if test "x$with_x" = xno; then
9616 # The user explicitly disabled X.
9617 have_x=disabled
9618 else
9619 case $x_includes,$x_libraries in #(
9620 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9621 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 # One or both of the vars are not set, and there is no cached value.
9625 ac_x_includes=no ac_x_libraries=no
9626 rm -f -r conftest.dir
9627 if mkdir conftest.dir; then
9628 cd conftest.dir
9629 cat >Imakefile <<'_ACEOF'
9630 incroot:
9631 @echo incroot='${INCROOT}'
9632 usrlibdir:
9633 @echo usrlibdir='${USRLIBDIR}'
9634 libdir:
9635 @echo libdir='${LIBDIR}'
9636 _ACEOF
9637 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9638 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9639 for ac_var in incroot usrlibdir libdir; do
9640 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9641 done
9642 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9643 for ac_extension in a so sl dylib la dll; do
9644 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9645 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9646 ac_im_usrlibdir=$ac_im_libdir; break
9648 done
9649 # Screen out bogus values from the imake configuration. They are
9650 # bogus both because they are the default anyway, and because
9651 # using them would break gcc on systems where it needs fixed includes.
9652 case $ac_im_incroot in
9653 /usr/include) ac_x_includes= ;;
9654 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9655 esac
9656 case $ac_im_usrlibdir in
9657 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9658 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9659 esac
9661 cd ..
9662 rm -f -r conftest.dir
9665 # Standard set of common directories for X headers.
9666 # Check X11 before X11Rn because it is often a symlink to the current release.
9667 ac_x_header_dirs='
9668 /usr/X11/include
9669 /usr/X11R7/include
9670 /usr/X11R6/include
9671 /usr/X11R5/include
9672 /usr/X11R4/include
9674 /usr/include/X11
9675 /usr/include/X11R7
9676 /usr/include/X11R6
9677 /usr/include/X11R5
9678 /usr/include/X11R4
9680 /usr/local/X11/include
9681 /usr/local/X11R7/include
9682 /usr/local/X11R6/include
9683 /usr/local/X11R5/include
9684 /usr/local/X11R4/include
9686 /usr/local/include/X11
9687 /usr/local/include/X11R7
9688 /usr/local/include/X11R6
9689 /usr/local/include/X11R5
9690 /usr/local/include/X11R4
9692 /usr/X386/include
9693 /usr/x386/include
9694 /usr/XFree86/include/X11
9696 /usr/include
9697 /usr/local/include
9698 /usr/unsupported/include
9699 /usr/athena/include
9700 /usr/local/x11r5/include
9701 /usr/lpp/Xamples/include
9703 /usr/openwin/include
9704 /usr/openwin/share/include'
9706 if test "$ac_x_includes" = no; then
9707 # Guess where to find include files, by looking for Xlib.h.
9708 # First, try using that file with no special directory specified.
9709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9711 #include <X11/Xlib.h>
9712 _ACEOF
9713 if ac_fn_c_try_cpp "$LINENO"; then :
9714 # We can compile using X headers with no special include directory.
9715 ac_x_includes=
9716 else
9717 for ac_dir in $ac_x_header_dirs; do
9718 if test -r "$ac_dir/X11/Xlib.h"; then
9719 ac_x_includes=$ac_dir
9720 break
9722 done
9724 rm -f conftest.err conftest.i conftest.$ac_ext
9725 fi # $ac_x_includes = no
9727 if test "$ac_x_libraries" = no; then
9728 # Check for the libraries.
9729 # See if we find them without any special options.
9730 # Don't add to $LIBS permanently.
9731 ac_save_LIBS=$LIBS
9732 LIBS="-lX11 $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9735 #include <X11/Xlib.h>
9737 main ()
9739 XrmInitialize ()
9741 return 0;
9743 _ACEOF
9744 if ac_fn_c_try_link "$LINENO"; then :
9745 LIBS=$ac_save_LIBS
9746 # We can link X programs with no special library path.
9747 ac_x_libraries=
9748 else
9749 LIBS=$ac_save_LIBS
9750 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9752 # Don't even attempt the hair of trying to link an X program!
9753 for ac_extension in a so sl dylib la dll; do
9754 if test -r "$ac_dir/libX11.$ac_extension"; then
9755 ac_x_libraries=$ac_dir
9756 break 2
9758 done
9759 done
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 fi # $ac_x_libraries = no
9765 case $ac_x_includes,$ac_x_libraries in #(
9766 no,* | *,no | *\'*)
9767 # Didn't find X, or a directory has "'" in its name.
9768 ac_cv_have_x="have_x=no";; #(
9770 # Record where we found X for the cache.
9771 ac_cv_have_x="have_x=yes\
9772 ac_x_includes='$ac_x_includes'\
9773 ac_x_libraries='$ac_x_libraries'"
9774 esac
9776 ;; #(
9777 *) have_x=yes;;
9778 esac
9779 eval "$ac_cv_have_x"
9780 fi # $with_x != no
9782 if test "$have_x" != yes; then
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9784 $as_echo "$have_x" >&6; }
9785 no_x=yes
9786 else
9787 # If each of the values was on the command line, it overrides each guess.
9788 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9789 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9790 # Update the cache value to reflect the command line values.
9791 ac_cv_have_x="have_x=yes\
9792 ac_x_includes='$x_includes'\
9793 ac_x_libraries='$x_libraries'"
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9795 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9798 if test "$no_x" = yes; then
9799 # Not all programs may use this symbol, but it does not hurt to define it.
9801 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9803 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9804 else
9805 if test -n "$x_includes"; then
9806 X_CFLAGS="$X_CFLAGS -I$x_includes"
9809 # It would also be nice to do this for all -L options, not just this one.
9810 if test -n "$x_libraries"; then
9811 X_LIBS="$X_LIBS -L$x_libraries"
9812 # For Solaris; some versions of Sun CC require a space after -R and
9813 # others require no space. Words are not sufficient . . . .
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9815 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9816 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9817 ac_xsave_c_werror_flag=$ac_c_werror_flag
9818 ac_c_werror_flag=yes
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9823 main ()
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9832 $as_echo "no" >&6; }
9833 X_LIBS="$X_LIBS -R$x_libraries"
9834 else
9835 LIBS="$ac_xsave_LIBS -R $x_libraries"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9840 main ()
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9849 $as_echo "yes" >&6; }
9850 X_LIBS="$X_LIBS -R $x_libraries"
9851 else
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9853 $as_echo "neither works" >&6; }
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 ac_c_werror_flag=$ac_xsave_c_werror_flag
9861 LIBS=$ac_xsave_LIBS
9864 # Check for system-dependent libraries X programs must link with.
9865 # Do this before checking for the system-independent R6 libraries
9866 # (-lICE), since we may need -lsocket or whatever for X linking.
9868 if test "$ISC" = yes; then
9869 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9870 else
9871 # Martyn Johnson says this is needed for Ultrix, if the X
9872 # libraries were built with DECnet support. And Karl Berry says
9873 # the Alpha needs dnet_stub (dnet does not exist).
9874 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9878 /* Override any GCC internal prototype to avoid an error.
9879 Use char because int might match the return type of a GCC
9880 builtin and then its argument prototype would still apply. */
9881 #ifdef __cplusplus
9882 extern "C"
9883 #endif
9884 char XOpenDisplay ();
9886 main ()
9888 return XOpenDisplay ();
9890 return 0;
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"; then :
9895 else
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9897 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9898 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_check_lib_save_LIBS=$LIBS
9902 LIBS="-ldnet $LIBS"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char dnet_ntoa ();
9914 main ()
9916 return dnet_ntoa ();
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 ac_cv_lib_dnet_dnet_ntoa=yes
9923 else
9924 ac_cv_lib_dnet_dnet_ntoa=no
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_lib_save_LIBS
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9931 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9932 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9933 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9936 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9938 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9939 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_check_lib_save_LIBS=$LIBS
9943 LIBS="-ldnet_stub $LIBS"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9950 #ifdef __cplusplus
9951 extern "C"
9952 #endif
9953 char dnet_ntoa ();
9955 main ()
9957 return dnet_ntoa ();
9959 return 0;
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9964 else
9965 ac_cv_lib_dnet_stub_dnet_ntoa=no
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_lib_save_LIBS
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9972 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9973 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9974 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS="$ac_xsave_LIBS"
9983 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9984 # to get the SysV transport functions.
9985 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9986 # needs -lnsl.
9987 # The nsl library prevents programs from opening the X display
9988 # on Irix 5.2, according to T.E. Dickey.
9989 # The functions gethostbyname, getservbyname, and inet_addr are
9990 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9991 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9992 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9996 if test $ac_cv_func_gethostbyname = no; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9998 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9999 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_check_lib_save_LIBS=$LIBS
10003 LIBS="-lnsl $LIBS"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10010 #ifdef __cplusplus
10011 extern "C"
10012 #endif
10013 char gethostbyname ();
10015 main ()
10017 return gethostbyname ();
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 ac_cv_lib_nsl_gethostbyname=yes
10024 else
10025 ac_cv_lib_nsl_gethostbyname=no
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_lib_save_LIBS
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10032 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10033 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10034 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10037 if test $ac_cv_lib_nsl_gethostbyname = no; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10039 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10040 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10041 $as_echo_n "(cached) " >&6
10042 else
10043 ac_check_lib_save_LIBS=$LIBS
10044 LIBS="-lbsd $LIBS"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10048 /* Override any GCC internal prototype to avoid an error.
10049 Use char because int might match the return type of a GCC
10050 builtin and then its argument prototype would still apply. */
10051 #ifdef __cplusplus
10052 extern "C"
10053 #endif
10054 char gethostbyname ();
10056 main ()
10058 return gethostbyname ();
10060 return 0;
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_lib_bsd_gethostbyname=yes
10065 else
10066 ac_cv_lib_bsd_gethostbyname=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_lib_save_LIBS
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10073 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10074 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10075 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10081 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10082 # socket/setsockopt and other routines are undefined under SCO ODT
10083 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10084 # on later versions), says Simon Leinen: it contains gethostby*
10085 # variants that don't use the name server (or something). -lsocket
10086 # must be given before -lnsl if both are needed. We assume that
10087 # if connect needs -lnsl, so does gethostbyname.
10088 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10089 if test "x$ac_cv_func_connect" = xyes; then :
10093 if test $ac_cv_func_connect = no; then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10095 $as_echo_n "checking for connect in -lsocket... " >&6; }
10096 if ${ac_cv_lib_socket_connect+:} false; then :
10097 $as_echo_n "(cached) " >&6
10098 else
10099 ac_check_lib_save_LIBS=$LIBS
10100 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10104 /* Override any GCC internal prototype to avoid an error.
10105 Use char because int might match the return type of a GCC
10106 builtin and then its argument prototype would still apply. */
10107 #ifdef __cplusplus
10108 extern "C"
10109 #endif
10110 char connect ();
10112 main ()
10114 return connect ();
10116 return 0;
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"; then :
10120 ac_cv_lib_socket_connect=yes
10121 else
10122 ac_cv_lib_socket_connect=no
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_lib_save_LIBS
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10129 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10130 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10131 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10136 # Guillermo Gomez says -lposix is necessary on A/UX.
10137 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10138 if test "x$ac_cv_func_remove" = xyes; then :
10142 if test $ac_cv_func_remove = no; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10144 $as_echo_n "checking for remove in -lposix... " >&6; }
10145 if ${ac_cv_lib_posix_remove+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_check_lib_save_LIBS=$LIBS
10149 LIBS="-lposix $LIBS"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10156 #ifdef __cplusplus
10157 extern "C"
10158 #endif
10159 char remove ();
10161 main ()
10163 return remove ();
10165 return 0;
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 ac_cv_lib_posix_remove=yes
10170 else
10171 ac_cv_lib_posix_remove=no
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_lib_save_LIBS
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10178 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10179 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10185 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10186 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10187 if test "x$ac_cv_func_shmat" = xyes; then :
10191 if test $ac_cv_func_shmat = no; then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10193 $as_echo_n "checking for shmat in -lipc... " >&6; }
10194 if ${ac_cv_lib_ipc_shmat+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_check_lib_save_LIBS=$LIBS
10198 LIBS="-lipc $LIBS"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10205 #ifdef __cplusplus
10206 extern "C"
10207 #endif
10208 char shmat ();
10210 main ()
10212 return shmat ();
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_lib_ipc_shmat=yes
10219 else
10220 ac_cv_lib_ipc_shmat=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_lib_save_LIBS
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10227 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10228 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10229 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10235 # Check for libraries that X11R6 Xt/Xaw programs need.
10236 ac_save_LDFLAGS=$LDFLAGS
10237 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10238 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10239 # check for ICE first), but we must link in the order -lSM -lICE or
10240 # we get undefined symbols. So assume we have SM if we have ICE.
10241 # These have to be linked with before -lX11, unlike the other
10242 # libraries we check for below, so use a different variable.
10243 # John Interrante, Karl Berry
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10245 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10246 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_check_lib_save_LIBS=$LIBS
10250 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10257 #ifdef __cplusplus
10258 extern "C"
10259 #endif
10260 char IceConnectionNumber ();
10262 main ()
10264 return IceConnectionNumber ();
10266 return 0;
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 ac_cv_lib_ICE_IceConnectionNumber=yes
10271 else
10272 ac_cv_lib_ICE_IceConnectionNumber=no
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_lib_save_LIBS
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10279 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10280 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10281 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10284 LDFLAGS=$ac_save_LDFLAGS
10289 if test "$have_x" = "yes"
10290 then
10291 ac_save_CPPFLAGS="$CPPFLAGS"
10292 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10295 $as_echo_n "checking for -lX11... " >&6; }
10296 if ${ac_cv_lib_soname_X11+:} false; then :
10297 $as_echo_n "(cached) " >&6
10298 else
10299 ac_check_soname_save_LIBS=$LIBS
10300 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10304 /* Override any GCC internal prototype to avoid an error.
10305 Use char because int might match the return type of a GCC
10306 builtin and then its argument prototype would still apply. */
10307 #ifdef __cplusplus
10308 extern "C"
10309 #endif
10310 char XCreateWindow ();
10312 main ()
10314 return XCreateWindow ();
10316 return 0;
10318 _ACEOF
10319 if ac_fn_c_try_link "$LINENO"; then :
10320 case "$LIBEXT" in
10321 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10322 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'` ;;
10323 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10324 if ${ac_cv_lib_soname_X11:+false} :; then :
10325 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10326 fi ;;
10327 esac
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_soname_save_LIBS
10333 if ${ac_cv_lib_soname_X11:+false} :; then :
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10335 $as_echo "not found" >&6; }
10337 else
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10339 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10341 cat >>confdefs.h <<_ACEOF
10342 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10343 _ACEOF
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10348 $as_echo_n "checking for -lXext... " >&6; }
10349 if ${ac_cv_lib_soname_Xext+:} false; then :
10350 $as_echo_n "(cached) " >&6
10351 else
10352 ac_check_soname_save_LIBS=$LIBS
10353 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10357 /* Override any GCC internal prototype to avoid an error.
10358 Use char because int might match the return type of a GCC
10359 builtin and then its argument prototype would still apply. */
10360 #ifdef __cplusplus
10361 extern "C"
10362 #endif
10363 char XextCreateExtension ();
10365 main ()
10367 return XextCreateExtension ();
10369 return 0;
10371 _ACEOF
10372 if ac_fn_c_try_link "$LINENO"; then :
10373 case "$LIBEXT" in
10374 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10375 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'` ;;
10376 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10377 if ${ac_cv_lib_soname_Xext:+false} :; then :
10378 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10379 fi ;;
10380 esac
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_soname_save_LIBS
10386 if ${ac_cv_lib_soname_Xext:+false} :; then :
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10388 $as_echo "not found" >&6; }
10390 else
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10392 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10394 cat >>confdefs.h <<_ACEOF
10395 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10396 _ACEOF
10398 X_LIBS="$X_LIBS -lXext"
10400 X_LIBS="$X_LIBS -lX11"
10402 for ac_header in X11/Xlib.h \
10403 X11/XKBlib.h \
10404 X11/Xutil.h \
10405 X11/Xcursor/Xcursor.h \
10406 X11/extensions/shape.h \
10407 X11/extensions/XInput.h \
10408 X11/extensions/XInput2.h \
10409 X11/extensions/XShm.h \
10410 X11/extensions/Xcomposite.h \
10411 X11/extensions/Xfixes.h \
10412 X11/extensions/Xinerama.h \
10413 X11/extensions/Xrandr.h \
10414 X11/extensions/Xrender.h \
10415 X11/extensions/xf86vmode.h \
10416 X11/extensions/xf86vmproto.h
10417 do :
10418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10419 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10420 # include <X11/Xlib.h>
10421 #endif
10422 #ifdef HAVE_X11_XUTIL_H
10423 # include <X11/Xutil.h>
10424 #endif
10426 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10427 cat >>confdefs.h <<_ACEOF
10428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10429 _ACEOF
10433 done
10436 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10437 then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10439 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10440 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_check_lib_save_LIBS=$LIBS
10444 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char XkbQueryExtension ();
10456 main ()
10458 return XkbQueryExtension ();
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 ac_cv_lib_X11_XkbQueryExtension=yes
10465 else
10466 ac_cv_lib_X11_XkbQueryExtension=no
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10473 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10474 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10476 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10482 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10483 then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10485 $as_echo_n "checking for -lXcursor... " >&6; }
10486 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_check_soname_save_LIBS=$LIBS
10490 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10494 /* Override any GCC internal prototype to avoid an error.
10495 Use char because int might match the return type of a GCC
10496 builtin and then its argument prototype would still apply. */
10497 #ifdef __cplusplus
10498 extern "C"
10499 #endif
10500 char XcursorImageLoadCursor ();
10502 main ()
10504 return XcursorImageLoadCursor ();
10506 return 0;
10508 _ACEOF
10509 if ac_fn_c_try_link "$LINENO"; then :
10510 case "$LIBEXT" in
10511 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10512 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'` ;;
10513 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10514 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10515 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10516 fi ;;
10517 esac
10519 rm -f core conftest.err conftest.$ac_objext \
10520 conftest$ac_exeext conftest.$ac_ext
10521 LIBS=$ac_check_soname_save_LIBS
10523 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10525 $as_echo "not found" >&6; }
10527 else
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10529 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10531 cat >>confdefs.h <<_ACEOF
10532 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10533 _ACEOF
10538 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10539 case "x$with_xcursor" in
10540 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10541 xno) ;;
10542 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10543 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10544 esac
10548 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10549 then
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10551 $as_echo_n "checking for -lXi... " >&6; }
10552 if ${ac_cv_lib_soname_Xi+:} false; then :
10553 $as_echo_n "(cached) " >&6
10554 else
10555 ac_check_soname_save_LIBS=$LIBS
10556 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10563 #ifdef __cplusplus
10564 extern "C"
10565 #endif
10566 char XOpenDevice ();
10568 main ()
10570 return XOpenDevice ();
10572 return 0;
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 case "$LIBEXT" in
10577 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10578 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'` ;;
10579 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10580 if ${ac_cv_lib_soname_Xi:+false} :; then :
10581 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10582 fi ;;
10583 esac
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_soname_save_LIBS
10589 if ${ac_cv_lib_soname_Xi:+false} :; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10591 $as_echo "not found" >&6; }
10593 else
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10595 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10597 cat >>confdefs.h <<_ACEOF
10598 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10599 _ACEOF
10604 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10605 case "x$with_xinput" in
10606 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10607 xno) ;;
10608 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10609 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10610 esac
10614 if test "x$ac_cv_lib_soname_Xi" != x
10615 then
10616 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10617 case "x$with_xinput2" in
10618 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10619 xno) ;;
10620 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10621 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10622 esac
10627 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10628 then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10630 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10631 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10632 $as_echo_n "(cached) " >&6
10633 else
10634 ac_check_lib_save_LIBS=$LIBS
10635 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10642 #ifdef __cplusplus
10643 extern "C"
10644 #endif
10645 char XShmQueryExtension ();
10647 main ()
10649 return XShmQueryExtension ();
10651 return 0;
10653 _ACEOF
10654 if ac_fn_c_try_link "$LINENO"; then :
10655 ac_cv_lib_Xext_XShmQueryExtension=yes
10656 else
10657 ac_cv_lib_Xext_XShmQueryExtension=no
10659 rm -f core conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10661 LIBS=$ac_check_lib_save_LIBS
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10664 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10665 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10667 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10672 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10673 case "x$with_xshm" in
10674 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10675 xno) ;;
10676 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10677 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10678 esac
10682 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10683 then
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10685 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10686 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10687 $as_echo_n "(cached) " >&6
10688 else
10689 ac_check_lib_save_LIBS=$LIBS
10690 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10697 #ifdef __cplusplus
10698 extern "C"
10699 #endif
10700 char XShapeQueryExtension ();
10702 main ()
10704 return XShapeQueryExtension ();
10706 return 0;
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_lib_Xext_XShapeQueryExtension=yes
10711 else
10712 ac_cv_lib_Xext_XShapeQueryExtension=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10719 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10720 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10722 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10727 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10728 case "x$with_xshape" in
10729 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10730 xno) ;;
10731 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10732 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10733 esac
10737 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10738 then
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10740 $as_echo_n "checking for -lXxf86vm... " >&6; }
10741 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10742 $as_echo_n "(cached) " >&6
10743 else
10744 ac_check_soname_save_LIBS=$LIBS
10745 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10752 #ifdef __cplusplus
10753 extern "C"
10754 #endif
10755 char XF86VidModeQueryExtension ();
10757 main ()
10759 return XF86VidModeQueryExtension ();
10761 return 0;
10763 _ACEOF
10764 if ac_fn_c_try_link "$LINENO"; then :
10765 case "$LIBEXT" in
10766 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10767 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'` ;;
10768 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10769 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10770 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10771 fi ;;
10772 esac
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_soname_save_LIBS
10778 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10780 $as_echo "not found" >&6; }
10782 else
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10784 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10786 cat >>confdefs.h <<_ACEOF
10787 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10788 _ACEOF
10793 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10794 case "x$with_xxf86vm" in
10795 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10796 xno) ;;
10797 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10798 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10799 esac
10803 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10804 then
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10806 $as_echo_n "checking for -lXrender... " >&6; }
10807 if ${ac_cv_lib_soname_Xrender+:} false; then :
10808 $as_echo_n "(cached) " >&6
10809 else
10810 ac_check_soname_save_LIBS=$LIBS
10811 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10818 #ifdef __cplusplus
10819 extern "C"
10820 #endif
10821 char XRenderQueryExtension ();
10823 main ()
10825 return XRenderQueryExtension ();
10827 return 0;
10829 _ACEOF
10830 if ac_fn_c_try_link "$LINENO"; then :
10831 case "$LIBEXT" in
10832 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10833 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'` ;;
10834 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10835 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10836 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10837 fi ;;
10838 esac
10840 rm -f core conftest.err conftest.$ac_objext \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_soname_save_LIBS
10844 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10846 $as_echo "not found" >&6; }
10848 else
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10850 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10852 cat >>confdefs.h <<_ACEOF
10853 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10854 _ACEOF
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10857 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10858 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10859 $as_echo_n "(cached) " >&6
10860 else
10861 ac_check_lib_save_LIBS=$LIBS
10862 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char XRenderSetPictureTransform ();
10874 main ()
10876 return XRenderSetPictureTransform ();
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10883 else
10884 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10886 rm -f core conftest.err conftest.$ac_objext \
10887 conftest$ac_exeext conftest.$ac_ext
10888 LIBS=$ac_check_lib_save_LIBS
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10891 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10892 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10894 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10899 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10900 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10901 $as_echo_n "(cached) " >&6
10902 else
10903 ac_check_lib_save_LIBS=$LIBS
10904 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10908 /* Override any GCC internal prototype to avoid an error.
10909 Use char because int might match the return type of a GCC
10910 builtin and then its argument prototype would still apply. */
10911 #ifdef __cplusplus
10912 extern "C"
10913 #endif
10914 char XRenderCreateLinearGradient ();
10916 main ()
10918 return XRenderCreateLinearGradient ();
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10925 else
10926 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10933 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10934 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10936 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10943 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10944 case "x$with_xrender" in
10945 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10946 xno) ;;
10947 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10948 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10949 esac
10953 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10954 then
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 #include <X11/Xlib.h>
10958 #include <X11/extensions/Xrandr.h>
10960 main ()
10962 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_compile "$LINENO"; then :
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10969 $as_echo_n "checking for -lXrandr... " >&6; }
10970 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_soname_save_LIBS=$LIBS
10974 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char XRRQueryExtension ();
10986 main ()
10988 return XRRQueryExtension ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 case "$LIBEXT" in
10995 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10996 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'` ;;
10997 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10998 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10999 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11000 fi ;;
11001 esac
11003 rm -f core conftest.err conftest.$ac_objext \
11004 conftest$ac_exeext conftest.$ac_ext
11005 LIBS=$ac_check_soname_save_LIBS
11007 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11009 $as_echo "not found" >&6; }
11011 else
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11013 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11015 cat >>confdefs.h <<_ACEOF
11016 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11017 _ACEOF
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 #include <X11/Xlib.h>
11022 #include <X11/extensions/Xrandr.h>
11024 main ()
11026 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_compile "$LINENO"; then :
11033 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11041 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11042 case "x$with_xrandr" in
11043 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11044 xno) ;;
11045 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11046 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11047 esac
11051 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11052 then
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 #include <X11/Xlib.h>
11056 #include <X11/extensions/Xfixes.h>
11058 main ()
11060 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_compile "$LINENO"; then :
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11067 $as_echo_n "checking for -lXfixes... " >&6; }
11068 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_soname_save_LIBS=$LIBS
11072 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char XFixesQueryVersion ();
11084 main ()
11086 return XFixesQueryVersion ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 case "$LIBEXT" in
11093 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11094 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'` ;;
11095 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11096 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11097 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11098 fi ;;
11099 esac
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_soname_save_LIBS
11105 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11109 else
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11111 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11115 _ACEOF
11120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11122 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11123 case "x$with_xfixes" in
11124 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11125 xno) ;;
11126 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11127 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11128 esac
11132 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11133 then
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11136 #include <X11/Xlib.h>
11137 #include <X11/extensions/Xinerama.h>
11139 main ()
11141 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_compile "$LINENO"; then :
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11148 $as_echo_n "checking for -lXinerama... " >&6; }
11149 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11150 $as_echo_n "(cached) " >&6
11151 else
11152 ac_check_soname_save_LIBS=$LIBS
11153 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11160 #ifdef __cplusplus
11161 extern "C"
11162 #endif
11163 char XineramaQueryScreens ();
11165 main ()
11167 return XineramaQueryScreens ();
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 case "$LIBEXT" in
11174 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11175 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'` ;;
11176 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11177 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11178 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11179 fi ;;
11180 esac
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_soname_save_LIBS
11186 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11188 $as_echo "not found" >&6; }
11190 else
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11192 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11194 cat >>confdefs.h <<_ACEOF
11195 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11196 _ACEOF
11201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11204 case "x$with_xinerama" in
11205 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11206 xno) ;;
11207 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11208 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11209 esac
11213 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11214 then
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11216 $as_echo_n "checking for -lXcomposite... " >&6; }
11217 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_soname_save_LIBS=$LIBS
11221 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char XCompositeRedirectWindow ();
11233 main ()
11235 return XCompositeRedirectWindow ();
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 case "$LIBEXT" in
11242 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11243 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'` ;;
11244 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11245 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11246 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11247 fi ;;
11248 esac
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_soname_save_LIBS
11254 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11256 $as_echo "not found" >&6; }
11258 else
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11260 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11262 cat >>confdefs.h <<_ACEOF
11263 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11264 _ACEOF
11269 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11270 case "x$with_xcomposite" in
11271 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11272 xno) ;;
11273 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11274 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11275 esac
11279 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11280 #include <X11/Xlib.h>
11281 #endif
11283 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11285 cat >>confdefs.h <<_ACEOF
11286 #define HAVE_XICCALLBACK_CALLBACK 1
11287 _ACEOF
11291 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11292 #include <X11/Xlib.h>
11293 #endif
11295 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11297 cat >>confdefs.h <<_ACEOF
11298 #define HAVE_XEVENT_XCOOKIE 1
11299 _ACEOF
11306 opengl_msg=""
11307 if test "x$with_opengl" != "xno"
11308 then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11310 $as_echo_n "checking for -lGL... " >&6; }
11311 if ${ac_cv_lib_soname_GL+:} false; then :
11312 $as_echo_n "(cached) " >&6
11313 else
11314 ac_check_soname_save_LIBS=$LIBS
11315 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11322 #ifdef __cplusplus
11323 extern "C"
11324 #endif
11325 char glXCreateContext ();
11327 main ()
11329 return glXCreateContext ();
11331 return 0;
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 case "$LIBEXT" in
11336 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11337 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'` ;;
11338 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11339 if ${ac_cv_lib_soname_GL:+false} :; then :
11340 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11341 fi ;;
11342 esac
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_soname_save_LIBS
11348 if ${ac_cv_lib_soname_GL:+false} :; then :
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11350 $as_echo "not found" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11352 $as_echo_n "checking for -lGL... " >&6; }
11353 if ${ac_cv_lib_soname_GL+:} false; then :
11354 $as_echo_n "(cached) " >&6
11355 else
11356 ac_check_soname_save_LIBS=$LIBS
11357 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"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11364 #ifdef __cplusplus
11365 extern "C"
11366 #endif
11367 char glXCreateContext ();
11369 main ()
11371 return glXCreateContext ();
11373 return 0;
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"; then :
11377 case "$LIBEXT" in
11378 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11379 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'` ;;
11380 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11381 if ${ac_cv_lib_soname_GL:+false} :; then :
11382 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11383 fi ;;
11384 esac
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LIBS=$ac_check_soname_save_LIBS
11390 if ${ac_cv_lib_soname_GL:+false} :; then :
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11392 $as_echo "not found" >&6; }
11393 if test -f /usr/X11R6/lib/libGL.a
11394 then
11395 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11396 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11397 else
11398 opengl_msg="No OpenGL library found on this system."
11400 else
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11402 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11404 cat >>confdefs.h <<_ACEOF
11405 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11406 _ACEOF
11408 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"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11412 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11414 cat >>confdefs.h <<_ACEOF
11415 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11416 _ACEOF
11418 OPENGL_LIBS="-lGL"
11420 if test "x$with_glu" != "xno"
11421 then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11423 $as_echo_n "checking for -lGLU... " >&6; }
11424 if ${ac_cv_lib_soname_GLU+:} false; then :
11425 $as_echo_n "(cached) " >&6
11426 else
11427 ac_check_soname_save_LIBS=$LIBS
11428 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char gluLookAt ();
11440 main ()
11442 return gluLookAt ();
11444 return 0;
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 case "$LIBEXT" in
11449 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11450 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'` ;;
11451 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11452 if ${ac_cv_lib_soname_GLU:+false} :; then :
11453 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11454 fi ;;
11455 esac
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_soname_save_LIBS
11461 if ${ac_cv_lib_soname_GLU:+false} :; then :
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11463 $as_echo "not found" >&6; }
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11467 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11469 cat >>confdefs.h <<_ACEOF
11470 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11471 _ACEOF
11475 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11476 case "x$with_glu" in
11477 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11478 xno) ;;
11479 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11480 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11481 esac
11486 if test "x$with_osmesa" != "xno"
11487 then
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11489 $as_echo_n "checking for -lOSMesa... " >&6; }
11490 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_soname_save_LIBS=$LIBS
11494 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char OSMesaGetProcAddress ();
11506 main ()
11508 return OSMesaGetProcAddress ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 case "$LIBEXT" in
11515 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11516 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'` ;;
11517 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11518 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11519 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11520 fi ;;
11521 esac
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_soname_save_LIBS
11527 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11529 $as_echo "not found" >&6; }
11531 else
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11533 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11535 cat >>confdefs.h <<_ACEOF
11536 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11537 _ACEOF
11541 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11542 case "x$with_osmesa" in
11543 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11544 xno) ;;
11545 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11546 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11547 esac
11552 if test -n "$opengl_msg"; then :
11553 case "x$with_opengl" in
11554 x) as_fn_append wine_warnings "|$opengl_msg
11555 OpenGL and Direct3D won't be supported." ;;
11556 xno) ;;
11557 *) as_fn_error $? "$opengl_msg
11558 OpenGL and Direct3D won't be supported.
11559 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11560 esac
11564 CPPFLAGS="$ac_save_CPPFLAGS"
11565 else
11566 X_CFLAGS=""
11567 X_LIBS=""
11570 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11571 then
11572 if test "x$X_LIBS" = "x"; then :
11573 case "x$with_x" in
11574 xno) ;;
11575 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11576 without X support, which probably isn't what you want. You will need
11577 to install ${notice_platform}development packages of Xlib at the very least.
11578 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11579 esac
11580 enable_winex11_drv=${enable_winex11_drv:-no}
11582 else
11583 if test "x$X_LIBS" = "x"; then :
11584 case "x$with_x" in
11585 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11586 xno) ;;
11587 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11588 This is an error since --with-x was requested." "$LINENO" 5 ;;
11589 esac
11590 enable_winex11_drv=${enable_winex11_drv:-no}
11594 if test "$ac_cv_header_CL_cl_h" = "yes"
11595 then
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11597 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11598 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_lib_save_LIBS=$LIBS
11602 LIBS="-lOpenCL $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char clGetPlatformInfo ();
11614 main ()
11616 return clGetPlatformInfo ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11623 else
11624 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11626 rm -f core conftest.err conftest.$ac_objext \
11627 conftest$ac_exeext conftest.$ac_ext
11628 LIBS=$ac_check_lib_save_LIBS
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11631 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11632 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11633 OPENCL_LIBS="-lOpenCL"
11638 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11639 case "x$with_opencl" in
11640 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11641 xno) ;;
11642 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11643 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11644 esac
11645 enable_opencl=${enable_opencl:-no}
11648 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11649 then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11651 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11652 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11653 $as_echo_n "(cached) " >&6
11654 else
11655 ac_check_lib_save_LIBS=$LIBS
11656 LIBS="-lpcap $LIBS"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11663 #ifdef __cplusplus
11664 extern "C"
11665 #endif
11666 char pcap_create ();
11668 main ()
11670 return pcap_create ();
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 ac_cv_lib_pcap_pcap_create=yes
11677 else
11678 ac_cv_lib_pcap_pcap_create=no
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_lib_save_LIBS
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11685 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11686 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11687 PCAP_LIBS="-lpcap"
11692 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11693 case "x$with_pcap" in
11694 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11695 xno) ;;
11696 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11697 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11698 esac
11699 enable_wpcap=${enable_wpcap:-no}
11703 if test "x$with_xml" != "xno"
11704 then
11705 if ${XML2_CFLAGS:+false} :; then :
11706 if ${PKG_CONFIG+:} false; then :
11707 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11710 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11711 if ${XML2_LIBS:+false} :; then :
11712 if ${PKG_CONFIG+:} false; then :
11713 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11716 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11717 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11718 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11719 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11720 ac_save_CPPFLAGS=$CPPFLAGS
11721 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11722 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11723 do :
11724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11725 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11727 cat >>confdefs.h <<_ACEOF
11728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11729 _ACEOF
11733 done
11735 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"
11736 then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11738 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11739 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11740 $as_echo_n "(cached) " >&6
11741 else
11742 ac_check_lib_save_LIBS=$LIBS
11743 LIBS="-lxml2 $XML2_LIBS $LIBS"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char xmlParseMemory ();
11755 main ()
11757 return xmlParseMemory ();
11759 return 0;
11761 _ACEOF
11762 if ac_fn_c_try_link "$LINENO"; then :
11763 ac_cv_lib_xml2_xmlParseMemory=yes
11764 else
11765 ac_cv_lib_xml2_xmlParseMemory=no
11767 rm -f core conftest.err conftest.$ac_objext \
11768 conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_lib_save_LIBS
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11772 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11773 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11775 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11777 else
11778 XML2_LIBS=""
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11782 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11783 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_lib_save_LIBS=$LIBS
11787 LIBS="-lxml2 $XML2_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char xmlReadMemory ();
11799 main ()
11801 return xmlReadMemory ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 ac_cv_lib_xml2_xmlReadMemory=yes
11808 else
11809 ac_cv_lib_xml2_xmlReadMemory=no
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 LIBS=$ac_check_lib_save_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11816 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11817 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11819 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11824 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11825 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 ac_check_lib_save_LIBS=$LIBS
11829 LIBS="-lxml2 $XML2_LIBS $LIBS"
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11836 #ifdef __cplusplus
11837 extern "C"
11838 #endif
11839 char xmlNewDocPI ();
11841 main ()
11843 return xmlNewDocPI ();
11845 return 0;
11847 _ACEOF
11848 if ac_fn_c_try_link "$LINENO"; then :
11849 ac_cv_lib_xml2_xmlNewDocPI=yes
11850 else
11851 ac_cv_lib_xml2_xmlNewDocPI=no
11853 rm -f core conftest.err conftest.$ac_objext \
11854 conftest$ac_exeext conftest.$ac_ext
11855 LIBS=$ac_check_lib_save_LIBS
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11858 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11859 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11861 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11866 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11867 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_lib_save_LIBS=$LIBS
11871 LIBS="-lxml2 $XML2_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char xmlSchemaSetParserStructuredErrors ();
11883 main ()
11885 return xmlSchemaSetParserStructuredErrors ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11892 else
11893 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11900 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11901 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11903 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11908 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11909 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11910 $as_echo_n "(cached) " >&6
11911 else
11912 ac_check_lib_save_LIBS=$LIBS
11913 LIBS="-lxml2 $XML2_LIBS $LIBS"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char xmlSchemaSetValidStructuredErrors ();
11925 main ()
11927 return xmlSchemaSetValidStructuredErrors ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11934 else
11935 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11942 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11943 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11945 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11950 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11951 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11952 $as_echo_n "(cached) " >&6
11953 else
11954 ac_check_lib_save_LIBS=$LIBS
11955 LIBS="-lxml2 $XML2_LIBS $LIBS"
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11962 #ifdef __cplusplus
11963 extern "C"
11964 #endif
11965 char xmlFirstElementChild ();
11967 main ()
11969 return xmlFirstElementChild ();
11971 return 0;
11973 _ACEOF
11974 if ac_fn_c_try_link "$LINENO"; then :
11975 ac_cv_lib_xml2_xmlFirstElementChild=yes
11976 else
11977 ac_cv_lib_xml2_xmlFirstElementChild=no
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 LIBS=$ac_check_lib_save_LIBS
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11984 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11985 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11987 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11991 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11993 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11995 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11999 else
12000 XML2_CFLAGS=""
12001 XML2_LIBS=""
12003 CPPFLAGS=$ac_save_CPPFLAGS
12004 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12005 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12008 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12009 case "x$with_xml" in
12010 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12011 xno) ;;
12012 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12013 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12014 esac
12018 if test "x$with_xslt" != "xno"
12019 then
12020 if ${XSLT_CFLAGS:+false} :; then :
12021 if ${PKG_CONFIG+:} false; then :
12022 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12025 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12026 if ${XSLT_LIBS:+false} :; then :
12027 if ${PKG_CONFIG+:} false; then :
12028 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12031 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12032 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12033 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12034 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12035 ac_save_CPPFLAGS=$CPPFLAGS
12036 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12037 for ac_header in libxslt/pattern.h libxslt/transform.h
12038 do :
12039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12040 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12041 # include <libxslt/pattern.h>
12042 #endif
12044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12045 cat >>confdefs.h <<_ACEOF
12046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12047 _ACEOF
12051 done
12053 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12054 then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12056 $as_echo_n "checking for -lxslt... " >&6; }
12057 if ${ac_cv_lib_soname_xslt+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_check_soname_save_LIBS=$LIBS
12061 LIBS="-lxslt $XSLT_LIBS $LIBS"
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 char xsltCompilePattern ();
12073 main ()
12075 return xsltCompilePattern ();
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_link "$LINENO"; then :
12081 case "$LIBEXT" in
12082 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12083 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'` ;;
12084 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12085 if ${ac_cv_lib_soname_xslt:+false} :; then :
12086 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12087 fi ;;
12088 esac
12090 rm -f core conftest.err conftest.$ac_objext \
12091 conftest$ac_exeext conftest.$ac_ext
12092 LIBS=$ac_check_soname_save_LIBS
12094 if ${ac_cv_lib_soname_xslt:+false} :; then :
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12096 $as_echo "not found" >&6; }
12098 else
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12100 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12102 cat >>confdefs.h <<_ACEOF
12103 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12104 _ACEOF
12108 else
12109 XSLT_CFLAGS=""
12111 CPPFLAGS=$ac_save_CPPFLAGS
12112 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12113 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12116 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12117 case "x$with_xslt" in
12118 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12119 xno) ;;
12120 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12121 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12122 esac
12126 if test "x$with_dbus" != "xno"
12127 then
12128 if ${DBUS_CFLAGS:+false} :; then :
12129 if ${PKG_CONFIG+:} false; then :
12130 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12134 if ${DBUS_LIBS:+false} :; then :
12135 if ${PKG_CONFIG+:} false; then :
12136 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12141 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12142 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12143 ac_save_CPPFLAGS=$CPPFLAGS
12144 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12145 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12146 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12148 $as_echo_n "checking for -ldbus-1... " >&6; }
12149 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12150 $as_echo_n "(cached) " >&6
12151 else
12152 ac_check_soname_save_LIBS=$LIBS
12153 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12160 #ifdef __cplusplus
12161 extern "C"
12162 #endif
12163 char dbus_connection_close ();
12165 main ()
12167 return dbus_connection_close ();
12169 return 0;
12171 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then :
12173 case "$LIBEXT" in
12174 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12175 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'` ;;
12176 *) 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'`
12177 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12178 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12179 fi ;;
12180 esac
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_soname_save_LIBS
12186 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12188 $as_echo "not found" >&6; }
12189 DBUS_CFLAGS=""
12190 else
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12192 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12194 cat >>confdefs.h <<_ACEOF
12195 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12196 _ACEOF
12200 else
12201 DBUS_CFLAGS=""
12205 CPPFLAGS=$ac_save_CPPFLAGS
12206 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12207 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12210 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12211 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12212 case "x$with_dbus" in
12213 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12214 xno) ;;
12215 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12216 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12217 esac
12221 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12222 then
12223 if ${HAL_CFLAGS:+false} :; then :
12224 if ${PKG_CONFIG+:} false; then :
12225 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12229 if ${HAL_LIBS:+false} :; then :
12230 if ${PKG_CONFIG+:} false; then :
12231 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12235 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12236 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12237 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12238 ac_save_CPPFLAGS=$CPPFLAGS
12239 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12240 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12241 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12243 $as_echo_n "checking for -lhal... " >&6; }
12244 if ${ac_cv_lib_soname_hal+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 ac_check_soname_save_LIBS=$LIBS
12248 LIBS="-lhal $HAL_LIBS $LIBS"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12255 #ifdef __cplusplus
12256 extern "C"
12257 #endif
12258 char libhal_ctx_new ();
12260 main ()
12262 return libhal_ctx_new ();
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 case "$LIBEXT" in
12269 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12270 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'` ;;
12271 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12272 if ${ac_cv_lib_soname_hal:+false} :; then :
12273 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12274 fi ;;
12275 esac
12277 rm -f core conftest.err conftest.$ac_objext \
12278 conftest$ac_exeext conftest.$ac_ext
12279 LIBS=$ac_check_soname_save_LIBS
12281 if ${ac_cv_lib_soname_hal:+false} :; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12283 $as_echo "not found" >&6; }
12284 HAL_CFLAGS=""
12285 else
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12287 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12289 cat >>confdefs.h <<_ACEOF
12290 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12291 _ACEOF
12295 else
12296 HAL_CFLAGS=""
12300 CPPFLAGS=$ac_save_CPPFLAGS
12301 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12302 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12304 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12305 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12306 case "x$with_hal" in
12307 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12308 xno) ;;
12309 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12310 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12311 esac
12316 if test "x$with_gnutls" != "xno"
12317 then
12318 if ${GNUTLS_CFLAGS:+false} :; then :
12319 if ${PKG_CONFIG+:} false; then :
12320 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12324 if ${GNUTLS_LIBS:+false} :; then :
12325 if ${PKG_CONFIG+:} false; then :
12326 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12331 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12332 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12333 ac_save_CPPFLAGS=$CPPFLAGS
12334 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12335 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12336 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 #include <gnutls/gnutls.h>
12340 #include <gnutls/crypto.h>
12342 main ()
12344 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_compile "$LINENO"; then :
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12351 $as_echo_n "checking for -lgnutls... " >&6; }
12352 if ${ac_cv_lib_soname_gnutls+:} false; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 ac_check_soname_save_LIBS=$LIBS
12356 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12363 #ifdef __cplusplus
12364 extern "C"
12365 #endif
12366 char gnutls_global_init ();
12368 main ()
12370 return gnutls_global_init ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"; then :
12376 case "$LIBEXT" in
12377 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12378 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'` ;;
12379 *) 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'`
12380 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12381 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'`
12382 fi ;;
12383 esac
12385 rm -f core conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_soname_save_LIBS
12389 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12391 $as_echo "not found" >&6; }
12392 GNUTLS_CFLAGS=""
12393 else
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12395 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12397 cat >>confdefs.h <<_ACEOF
12398 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12399 _ACEOF
12403 ac_wine_check_funcs_save_LIBS="$LIBS"
12404 LIBS="$LIBS $GNUTLS_LIBS"
12405 for ac_func in gnutls_cipher_init
12406 do :
12407 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12408 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12409 cat >>confdefs.h <<_ACEOF
12410 #define HAVE_GNUTLS_CIPHER_INIT 1
12411 _ACEOF
12413 else
12414 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12416 done
12418 LIBS="$ac_wine_check_funcs_save_LIBS"
12420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12421 else
12422 GNUTLS_CFLAGS=""
12426 CPPFLAGS=$ac_save_CPPFLAGS
12427 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12428 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12431 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12432 case "x$with_gnutls" in
12433 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12434 xno) ;;
12435 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12436 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12437 esac
12441 CURSES_LIBS=""
12442 if test "$ac_cv_header_ncurses_h" = "yes"
12443 then
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12445 $as_echo_n "checking for -lncurses... " >&6; }
12446 if ${ac_cv_lib_soname_ncurses+:} false; then :
12447 $as_echo_n "(cached) " >&6
12448 else
12449 ac_check_soname_save_LIBS=$LIBS
12450 LIBS="-lncurses $LIBS"
12451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12452 /* end confdefs.h. */
12454 /* Override any GCC internal prototype to avoid an error.
12455 Use char because int might match the return type of a GCC
12456 builtin and then its argument prototype would still apply. */
12457 #ifdef __cplusplus
12458 extern "C"
12459 #endif
12460 char waddch ();
12462 main ()
12464 return waddch ();
12466 return 0;
12468 _ACEOF
12469 if ac_fn_c_try_link "$LINENO"; then :
12470 case "$LIBEXT" in
12471 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12472 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'` ;;
12473 *) 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'`
12474 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12475 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12476 fi ;;
12477 esac
12479 rm -f core conftest.err conftest.$ac_objext \
12480 conftest$ac_exeext conftest.$ac_ext
12481 LIBS=$ac_check_soname_save_LIBS
12483 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12485 $as_echo "not found" >&6; }
12487 else
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12489 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12491 cat >>confdefs.h <<_ACEOF
12492 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12493 _ACEOF
12495 CURSES_LIBS="-lncurses"
12497 elif test "$ac_cv_header_curses_h" = "yes"
12498 then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12500 $as_echo_n "checking for -lcurses... " >&6; }
12501 if ${ac_cv_lib_soname_curses+:} false; then :
12502 $as_echo_n "(cached) " >&6
12503 else
12504 ac_check_soname_save_LIBS=$LIBS
12505 LIBS="-lcurses $LIBS"
12506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507 /* end confdefs.h. */
12509 /* Override any GCC internal prototype to avoid an error.
12510 Use char because int might match the return type of a GCC
12511 builtin and then its argument prototype would still apply. */
12512 #ifdef __cplusplus
12513 extern "C"
12514 #endif
12515 char waddch ();
12517 main ()
12519 return waddch ();
12521 return 0;
12523 _ACEOF
12524 if ac_fn_c_try_link "$LINENO"; then :
12525 case "$LIBEXT" in
12526 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12527 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'` ;;
12528 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12529 if ${ac_cv_lib_soname_curses:+false} :; then :
12530 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12531 fi ;;
12532 esac
12534 rm -f core conftest.err conftest.$ac_objext \
12535 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_soname_save_LIBS
12538 if ${ac_cv_lib_soname_curses:+false} :; then :
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12540 $as_echo "not found" >&6; }
12542 else
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12544 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12546 cat >>confdefs.h <<_ACEOF
12547 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12548 _ACEOF
12550 CURSES_LIBS="-lcurses"
12553 ac_save_LIBS="$LIBS"
12554 LIBS="$LIBS $CURSES_LIBS"
12555 for ac_func in mousemask
12556 do :
12557 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12558 if test "x$ac_cv_func_mousemask" = xyes; then :
12559 cat >>confdefs.h <<_ACEOF
12560 #define HAVE_MOUSEMASK 1
12561 _ACEOF
12564 done
12566 LIBS="$ac_save_LIBS"
12567 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12568 case "x$with_curses" in
12569 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12570 xno) ;;
12571 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12572 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12573 esac
12577 if test "x$with_sane" != "xno"
12578 then
12579 if ${SANE_CFLAGS:+false} :; then :
12580 if ${PKG_CONFIG+:} false; then :
12581 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12584 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12585 if ${SANE_LIBS:+false} :; then :
12586 if ${PKG_CONFIG+:} false; then :
12587 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12590 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12592 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12593 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12594 ac_save_CPPFLAGS=$CPPFLAGS
12595 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12596 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12597 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12599 $as_echo_n "checking for -lsane... " >&6; }
12600 if ${ac_cv_lib_soname_sane+:} false; then :
12601 $as_echo_n "(cached) " >&6
12602 else
12603 ac_check_soname_save_LIBS=$LIBS
12604 LIBS="-lsane $SANE_LIBS $LIBS"
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12608 /* Override any GCC internal prototype to avoid an error.
12609 Use char because int might match the return type of a GCC
12610 builtin and then its argument prototype would still apply. */
12611 #ifdef __cplusplus
12612 extern "C"
12613 #endif
12614 char sane_init ();
12616 main ()
12618 return sane_init ();
12620 return 0;
12622 _ACEOF
12623 if ac_fn_c_try_link "$LINENO"; then :
12624 case "$LIBEXT" in
12625 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12626 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'` ;;
12627 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12628 if ${ac_cv_lib_soname_sane:+false} :; then :
12629 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12630 fi ;;
12631 esac
12633 rm -f core conftest.err conftest.$ac_objext \
12634 conftest$ac_exeext conftest.$ac_ext
12635 LIBS=$ac_check_soname_save_LIBS
12637 if ${ac_cv_lib_soname_sane:+false} :; then :
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12639 $as_echo "not found" >&6; }
12640 SANE_CFLAGS=""
12641 else
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12643 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12645 cat >>confdefs.h <<_ACEOF
12646 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12647 _ACEOF
12651 else
12652 SANE_CFLAGS=""
12656 CPPFLAGS=$ac_save_CPPFLAGS
12657 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12658 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12661 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12662 case "x$with_sane" in
12663 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12664 xno) ;;
12665 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12666 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12667 esac
12671 if test "x$with_v4l" != "xno"
12672 then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12674 $as_echo_n "checking for -lv4l1... " >&6; }
12675 if ${ac_cv_lib_soname_v4l1+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_check_soname_save_LIBS=$LIBS
12679 LIBS="-lv4l1 $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 char v4l1_open ();
12691 main ()
12693 return v4l1_open ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 case "$LIBEXT" in
12700 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12701 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'` ;;
12702 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12703 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12704 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12705 fi ;;
12706 esac
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_soname_save_LIBS
12712 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12714 $as_echo "not found" >&6; }
12716 else
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12718 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12720 cat >>confdefs.h <<_ACEOF
12721 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12722 _ACEOF
12727 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12728 case "x$with_v4l" in
12729 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12730 xno) ;;
12731 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12732 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12733 esac
12737 if test "x$with_gphoto" != "xno"
12738 then
12739 if ${GPHOTO2_CFLAGS:+false} :; then :
12740 if ${PKG_CONFIG+:} false; then :
12741 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12744 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12745 if ${GPHOTO2_LIBS:+false} :; then :
12746 if ${PKG_CONFIG+:} false; then :
12747 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12750 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12751 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12752 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12753 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12754 ac_save_CPPFLAGS=$CPPFLAGS
12755 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12756 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12757 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12759 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12760 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12761 $as_echo_n "(cached) " >&6
12762 else
12763 ac_check_lib_save_LIBS=$LIBS
12764 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 #ifdef __cplusplus
12772 extern "C"
12773 #endif
12774 char gp_camera_new ();
12776 main ()
12778 return gp_camera_new ();
12780 return 0;
12782 _ACEOF
12783 if ac_fn_c_try_link "$LINENO"; then :
12784 ac_cv_lib_gphoto2_gp_camera_new=yes
12785 else
12786 ac_cv_lib_gphoto2_gp_camera_new=no
12788 rm -f core conftest.err conftest.$ac_objext \
12789 conftest$ac_exeext conftest.$ac_ext
12790 LIBS=$ac_check_lib_save_LIBS
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12793 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12794 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12796 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12798 else
12799 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12802 else
12803 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12807 CPPFLAGS=$ac_save_CPPFLAGS
12808 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12809 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12811 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12816 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12817 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12822 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12823 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12824 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12828 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12829 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12831 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12832 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12833 $as_echo_n "(cached) " >&6
12834 else
12835 ac_check_lib_save_LIBS=$LIBS
12836 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12843 #ifdef __cplusplus
12844 extern "C"
12845 #endif
12846 char gp_port_info_list_new ();
12848 main ()
12850 return gp_port_info_list_new ();
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_link "$LINENO"; then :
12856 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12857 else
12858 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12860 rm -f core conftest.err conftest.$ac_objext \
12861 conftest$ac_exeext conftest.$ac_ext
12862 LIBS=$ac_check_lib_save_LIBS
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12865 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12866 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12868 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12870 else
12871 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12874 else
12875 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12879 CPPFLAGS=$ac_save_CPPFLAGS
12880 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12881 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12884 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12885 case "x$with_gphoto" in
12886 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12887 xno) ;;
12888 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12889 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12890 esac
12893 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12894 case "x$with_gphoto" in
12895 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12896 xno) ;;
12897 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12898 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12899 esac
12904 if test "$ac_cv_header_resolv_h" = "yes"
12905 then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12907 $as_echo_n "checking for resolver library... " >&6; }
12908 if ${ac_cv_have_resolv+:} false; then :
12909 $as_echo_n "(cached) " >&6
12910 else
12911 ac_save_LIBS="$LIBS"
12912 for lib in '' -lresolv
12914 LIBS="$lib $ac_save_LIBS"
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12917 #ifdef HAVE_NETINET_IN_H
12918 #include <netinet/in.h>
12919 #endif
12920 #include <resolv.h>
12922 main ()
12924 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12926 return 0;
12928 _ACEOF
12929 if ac_fn_c_try_link "$LINENO"; then :
12930 ac_cv_have_resolv=${lib:-"none required"}
12931 else
12932 ac_cv_have_resolv="not found"
12934 rm -f core conftest.err conftest.$ac_objext \
12935 conftest$ac_exeext conftest.$ac_ext
12936 test "x$ac_cv_have_resolv" = "xnot found" || break
12937 done
12938 LIBS="$ac_save_LIBS"
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12941 $as_echo "$ac_cv_have_resolv" >&6; }
12943 case "$ac_cv_have_resolv" in
12944 "not found") ;;
12945 "none required")
12947 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12950 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12952 RESOLV_LIBS=$ac_cv_have_resolv
12954 esac
12957 if test "x$with_cms" != "xno"
12958 then
12959 if ${LCMS2_CFLAGS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12965 if ${LCMS2_LIBS:+false} :; then :
12966 if ${PKG_CONFIG+:} false; then :
12967 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12971 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12972 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12973 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12974 ac_save_CPPFLAGS=$CPPFLAGS
12975 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12976 for ac_header in lcms2.h
12977 do :
12978 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12979 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12980 cat >>confdefs.h <<_ACEOF
12981 #define HAVE_LCMS2_H 1
12982 _ACEOF
12986 done
12988 if test "$ac_cv_header_lcms2_h" = "yes"
12989 then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12991 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12992 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 ac_check_lib_save_LIBS=$LIBS
12996 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 #ifdef __cplusplus
13004 extern "C"
13005 #endif
13006 char cmsOpenProfileFromFile ();
13008 main ()
13010 return cmsOpenProfileFromFile ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"; then :
13016 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13017 else
13018 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13020 rm -f core conftest.err conftest.$ac_objext \
13021 conftest$ac_exeext conftest.$ac_ext
13022 LIBS=$ac_check_lib_save_LIBS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13025 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13026 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13028 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13030 else
13031 LCMS2_LIBS=""
13034 else
13035 LCMS2_CFLAGS=""
13036 LCMS2_LIBS=""
13038 CPPFLAGS=$ac_save_CPPFLAGS
13039 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13040 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13043 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13044 case "x$with_cms" in
13045 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13046 xno) ;;
13047 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13048 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13049 esac
13053 if test "x$with_freetype" != "xno"
13054 then
13055 if ${FREETYPE_CFLAGS:+false} :; then :
13056 if ${PKG_CONFIG+:} false; then :
13057 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13060 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13061 if ${FREETYPE_LIBS:+false} :; then :
13062 if ${PKG_CONFIG+:} false; then :
13063 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13066 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13067 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13068 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13069 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13070 ac_save_CPPFLAGS=$CPPFLAGS
13071 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13072 for ac_header in ft2build.h
13073 do :
13074 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13076 cat >>confdefs.h <<_ACEOF
13077 #define HAVE_FT2BUILD_H 1
13078 _ACEOF
13082 done
13084 if test "$ac_cv_header_ft2build_h" = "yes"
13085 then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13087 $as_echo_n "checking for -lfreetype... " >&6; }
13088 if ${ac_cv_lib_soname_freetype+:} false; then :
13089 $as_echo_n "(cached) " >&6
13090 else
13091 ac_check_soname_save_LIBS=$LIBS
13092 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13099 #ifdef __cplusplus
13100 extern "C"
13101 #endif
13102 char FT_Init_FreeType ();
13104 main ()
13106 return FT_Init_FreeType ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"; then :
13112 case "$LIBEXT" in
13113 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13114 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'` ;;
13115 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13116 if ${ac_cv_lib_soname_freetype:+false} :; then :
13117 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13118 fi ;;
13119 esac
13121 rm -f core conftest.err conftest.$ac_objext \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LIBS=$ac_check_soname_save_LIBS
13125 if ${ac_cv_lib_soname_freetype:+false} :; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13127 $as_echo "not found" >&6; }
13128 FREETYPE_LIBS=""
13129 else
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13131 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13133 cat >>confdefs.h <<_ACEOF
13134 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13135 _ACEOF
13138 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13140 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13141 #include FT_MODULE_H
13143 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13145 cat >>confdefs.h <<_ACEOF
13146 #define HAVE_FT_TRUETYPEENGINETYPE 1
13147 _ACEOF
13153 else
13154 FREETYPE_CFLAGS=""
13155 FREETYPE_LIBS=""
13157 CPPFLAGS=$ac_save_CPPFLAGS
13158 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13159 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13162 if test "x$ac_cv_lib_soname_freetype" = x; then :
13163 case "x$with_freetype" in
13164 xno) ;;
13165 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13166 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13167 esac
13168 enable_fonts=${enable_fonts:-no}
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13172 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13173 if ${ac_cv_c_ppdev+:} false; then :
13174 $as_echo_n "(cached) " >&6
13175 else
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13178 #ifdef HAVE_SYS_IOCTL_H
13179 # include <sys/ioctl.h>
13180 #endif
13181 #include <linux/ppdev.h>
13183 main ()
13185 ioctl (1,PPCLAIM,0)
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_compile "$LINENO"; then :
13191 ac_cv_c_ppdev="yes"
13192 else
13193 ac_cv_c_ppdev="no"
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13198 $as_echo "$ac_cv_c_ppdev" >&6; }
13199 if test "$ac_cv_c_ppdev" = "yes"
13200 then
13202 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13206 ac_wine_check_funcs_save_LIBS="$LIBS"
13207 LIBS="$LIBS $PTHREAD_LIBS"
13208 for ac_func in \
13209 pthread_attr_get_np \
13210 pthread_getattr_np \
13211 pthread_getthreadid_np \
13212 pthread_get_stackaddr_np \
13213 pthread_get_stacksize_np
13214 do :
13215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13217 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13218 cat >>confdefs.h <<_ACEOF
13219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13220 _ACEOF
13223 done
13225 LIBS="$ac_wine_check_funcs_save_LIBS"
13227 if test "$ac_cv_header_zlib_h" = "yes"
13228 then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13230 $as_echo_n "checking for inflate in -lz... " >&6; }
13231 if ${ac_cv_lib_z_inflate+:} false; then :
13232 $as_echo_n "(cached) " >&6
13233 else
13234 ac_check_lib_save_LIBS=$LIBS
13235 LIBS="-lz $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 char inflate ();
13247 main ()
13249 return inflate ();
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 ac_cv_lib_z_inflate=yes
13256 else
13257 ac_cv_lib_z_inflate=no
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_lib_save_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13264 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13265 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13267 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13269 Z_LIBS="-lz"
13274 if test "x$Z_LIBS" = "x"; then :
13275 case "x$with_zlib" in
13276 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13277 xno) ;;
13278 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13279 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13280 esac
13284 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13285 then
13286 if test "$ac_cv_header_gettext_po_h" = "yes"
13287 then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13289 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13290 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_check_lib_save_LIBS=$LIBS
13294 LIBS="-lgettextpo $LIBS"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 char po_message_msgctxt ();
13306 main ()
13308 return po_message_msgctxt ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13315 else
13316 ac_cv_lib_gettextpo_po_message_msgctxt=no
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13323 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13324 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13326 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13328 GETTEXTPO_LIBS="-lgettextpo"
13333 if test "x$GETTEXTPO_LIBS" = "x"; then :
13334 case "x$with_gettextpo" in
13335 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13336 xno) ;;
13337 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13338 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13339 esac
13342 if test "$srcdir" != .; then :
13343 case "x$with_gettextpo" in
13344 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13345 xno) ;;
13346 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13347 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13348 esac
13353 if test "x$with_pulse" != "xno";
13354 then
13355 if ${PULSE_CFLAGS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13361 if ${PULSE_LIBS:+false} :; then :
13362 if ${PKG_CONFIG+:} false; then :
13363 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13368 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13369 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13370 ac_save_CPPFLAGS=$CPPFLAGS
13371 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13372 for ac_header in pulse/pulseaudio.h
13373 do :
13374 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13375 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13376 cat >>confdefs.h <<_ACEOF
13377 #define HAVE_PULSE_PULSEAUDIO_H 1
13378 _ACEOF
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13380 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13381 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_lib_save_LIBS=$LIBS
13385 LIBS="-lpulse $PULSE_LIBS $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char pa_stream_is_corked ();
13397 main ()
13399 return pa_stream_is_corked ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 ac_cv_lib_pulse_pa_stream_is_corked=yes
13406 else
13407 ac_cv_lib_pulse_pa_stream_is_corked=no
13409 rm -f core conftest.err conftest.$ac_objext \
13410 conftest$ac_exeext conftest.$ac_ext
13411 LIBS=$ac_check_lib_save_LIBS
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13414 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13415 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13417 else
13418 PULSE_LIBS=""
13421 else
13422 PULSE_LIBS=""
13425 done
13427 CPPFLAGS=$ac_save_CPPFLAGS
13428 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13429 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13432 if test -z "$PULSE_LIBS"; then :
13433 case "x$with_pulse" in
13434 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13435 xno) ;;
13436 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13437 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13438 esac
13439 enable_winepulse_drv=${enable_winepulse_drv:-no}
13442 if test "x$with_gstreamer" != "xno"
13443 then
13444 if ${GSTREAMER_CFLAGS:+false} :; then :
13445 if ${PKG_CONFIG+:} false; then :
13446 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13450 if ${GSTREAMER_LIBS:+false} :; then :
13451 if ${PKG_CONFIG+:} false; then :
13452 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13457 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13458 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13459 ac_save_CPPFLAGS=$CPPFLAGS
13460 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13461 ac_gst_incl=""
13462 for i in $GSTREAMER_CFLAGS
13464 case "$i" in
13465 -I*) ac_gst_incl="$ac_gst_incl $i";;
13466 esac
13467 done
13468 GSTREAMER_CFLAGS=$ac_gst_incl
13469 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13470 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13471 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13473 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <gst/gst.h>
13478 main ()
13480 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_compile "$LINENO"; then :
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13487 $as_echo "yes" >&6; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13489 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13490 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_check_lib_save_LIBS=$LIBS
13494 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $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 gst_pad_new ();
13506 main ()
13508 return gst_pad_new ();
13510 return 0;
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13515 else
13516 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13518 rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520 LIBS=$ac_check_lib_save_LIBS
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13523 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13524 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13528 else
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13530 $as_echo "no" >&6; }
13531 ac_glib2_broken=yes
13532 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13538 CPPFLAGS=$ac_save_CPPFLAGS
13539 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13540 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13543 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 :
13544 case "x$with_gstreamer" in
13545 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13546 xno) ;;
13547 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13548 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13549 esac
13552 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13554 ALSA_LIBS=""
13556 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13557 then
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13559 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13560 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 ac_check_lib_save_LIBS=$LIBS
13564 LIBS="-lasound $LIBS"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13571 #ifdef __cplusplus
13572 extern "C"
13573 #endif
13574 char snd_pcm_hw_params_get_access_mask ();
13576 main ()
13578 return snd_pcm_hw_params_get_access_mask ();
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13585 else
13586 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13588 rm -f core conftest.err conftest.$ac_objext \
13589 conftest$ac_exeext conftest.$ac_ext
13590 LIBS=$ac_check_lib_save_LIBS
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13593 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13594 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #ifdef HAVE_ALSA_ASOUNDLIB_H
13598 #include <alsa/asoundlib.h>
13599 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13600 #include <sys/asoundlib.h>
13601 #endif
13603 main ()
13605 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_compile "$LINENO"; then :
13611 ALSA_LIBS="-lasound"
13613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13619 if test "x$with_oss" != xno
13620 then
13621 ac_save_CPPFLAGS="$CPPFLAGS"
13622 if test -f /etc/oss.conf
13623 then
13624 . /etc/oss.conf
13626 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13627 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13628 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13629 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13630 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13632 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13634 cat >>confdefs.h <<_ACEOF
13635 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13636 _ACEOF
13638 OSS4_CFLAGS="$ac_oss_incl"
13645 CPPFLAGS="$ac_save_CPPFLAGS"
13647 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13648 case "x$with_oss" in
13649 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13650 xno) ;;
13651 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13652 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13653 esac
13654 enable_wineoss_drv=${enable_wineoss_drv:-no}
13657 if test "x$with_udev" != "xno"
13658 then
13659 if ${UDEV_CFLAGS:+false} :; then :
13660 if ${PKG_CONFIG+:} false; then :
13661 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13665 if ${UDEV_LIBS:+false} :; then :
13666 if ${PKG_CONFIG+:} false; then :
13667 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13671 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13672 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13673 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13674 ac_save_CPPFLAGS=$CPPFLAGS
13675 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13676 for ac_header in libudev.h
13677 do :
13678 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13679 if test "x$ac_cv_header_libudev_h" = xyes; then :
13680 cat >>confdefs.h <<_ACEOF
13681 #define HAVE_LIBUDEV_H 1
13682 _ACEOF
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13684 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13685 if ${ac_cv_lib_udev_udev_new+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 ac_check_lib_save_LIBS=$LIBS
13689 LIBS="-ludev $UDEV_LIBS $LIBS"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13693 /* Override any GCC internal prototype to avoid an error.
13694 Use char because int might match the return type of a GCC
13695 builtin and then its argument prototype would still apply. */
13696 #ifdef __cplusplus
13697 extern "C"
13698 #endif
13699 char udev_new ();
13701 main ()
13703 return udev_new ();
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709 ac_cv_lib_udev_udev_new=yes
13710 else
13711 ac_cv_lib_udev_udev_new=no
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_lib_save_LIBS
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13718 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13719 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13721 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13723 else
13724 UDEV_LIBS=""
13727 else
13728 UDEV_LIBS=""
13731 done
13733 CPPFLAGS=$ac_save_CPPFLAGS
13734 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13735 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13738 if test "x$UDEV_LIBS" = "x"; then :
13739 case "x$with_udev" in
13740 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13741 xno) ;;
13742 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13743 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13744 esac
13748 if test "x$with_sdl" != "xno"
13749 then
13750 if ${SDL2_CFLAGS:+false} :; then :
13751 if ${PKG_CONFIG+:} false; then :
13752 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13756 if ${SDL2_LIBS:+false} :; then :
13757 if ${PKG_CONFIG+:} false; then :
13758 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13762 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13763 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13764 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13765 ac_save_CPPFLAGS=$CPPFLAGS
13766 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13767 for ac_header in SDL2/SDL.h
13768 do :
13769 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13770 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13771 cat >>confdefs.h <<_ACEOF
13772 #define HAVE_SDL2_SDL_H 1
13773 _ACEOF
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13775 $as_echo_n "checking for -lSDL2... " >&6; }
13776 if ${ac_cv_lib_soname_SDL2+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 ac_check_soname_save_LIBS=$LIBS
13780 LIBS="-lSDL2 $LIBS"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 #ifdef __cplusplus
13788 extern "C"
13789 #endif
13790 char SDL_Init ();
13792 main ()
13794 return SDL_Init ();
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 case "$LIBEXT" in
13801 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13802 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'` ;;
13803 *) 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'`
13804 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13805 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13806 fi ;;
13807 esac
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 LIBS=$ac_check_soname_save_LIBS
13813 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13815 $as_echo "not found" >&6; }
13817 else
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13819 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13821 cat >>confdefs.h <<_ACEOF
13822 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13823 _ACEOF
13829 done
13831 CPPFLAGS=$ac_save_CPPFLAGS
13832 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13833 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13836 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13837 case "x$with_sdl" in
13838 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13839 xno) ;;
13840 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13841 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13842 esac
13846 if test "x$with_capi" != "xno"
13847 then
13848 if ${CAPI20_CFLAGS:+false} :; then :
13849 if ${PKG_CONFIG+:} false; then :
13850 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13854 if ${CAPI20_LIBS:+false} :; then :
13855 if ${PKG_CONFIG+:} false; then :
13856 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13861 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13862 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13863 ac_save_CPPFLAGS=$CPPFLAGS
13864 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13865 for ac_header in capi20.h linux/capi.h
13866 do :
13867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13868 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13871 cat >>confdefs.h <<_ACEOF
13872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13873 _ACEOF
13877 done
13879 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13880 then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13882 $as_echo_n "checking for -lcapi20... " >&6; }
13883 if ${ac_cv_lib_soname_capi20+:} false; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 ac_check_soname_save_LIBS=$LIBS
13887 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 /* Override any GCC internal prototype to avoid an error.
13892 Use char because int might match the return type of a GCC
13893 builtin and then its argument prototype would still apply. */
13894 #ifdef __cplusplus
13895 extern "C"
13896 #endif
13897 char capi20_register ();
13899 main ()
13901 return capi20_register ();
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"; then :
13907 case "$LIBEXT" in
13908 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13909 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'` ;;
13910 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13911 if ${ac_cv_lib_soname_capi20:+false} :; then :
13912 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13913 fi ;;
13914 esac
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13918 LIBS=$ac_check_soname_save_LIBS
13920 if ${ac_cv_lib_soname_capi20:+false} :; then :
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13922 $as_echo "not found" >&6; }
13924 else
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13926 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13928 cat >>confdefs.h <<_ACEOF
13929 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13930 _ACEOF
13935 CPPFLAGS=$ac_save_CPPFLAGS
13936 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13937 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13940 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13941 case "x$with_capi" in
13942 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13943 xno) ;;
13944 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13945 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13946 esac
13950 if test "x$with_cups" != "xno"
13951 then
13952 if ${CUPS_CFLAGS:+false} :; then :
13953 if ${PKG_CONFIG+:} false; then :
13954 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13957 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13958 if ${CUPS_LIBS:+false} :; then :
13959 if ${PKG_CONFIG+:} false; then :
13960 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13963 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13964 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13965 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13966 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13967 ac_save_CPPFLAGS=$CPPFLAGS
13968 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13969 for ac_header in cups/cups.h cups/ppd.h
13970 do :
13971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13972 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13973 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13974 cat >>confdefs.h <<_ACEOF
13975 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13976 _ACEOF
13980 done
13982 if test "$ac_cv_header_cups_cups_h" = "yes"
13983 then
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13985 $as_echo_n "checking for -lcups... " >&6; }
13986 if ${ac_cv_lib_soname_cups+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_check_soname_save_LIBS=$LIBS
13990 LIBS="-lcups $CUPS_LIBS $LIBS"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 #ifdef __cplusplus
13998 extern "C"
13999 #endif
14000 char cupsGetDefault ();
14002 main ()
14004 return cupsGetDefault ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 case "$LIBEXT" in
14011 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14012 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'` ;;
14013 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14014 if ${ac_cv_lib_soname_cups:+false} :; then :
14015 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14016 fi ;;
14017 esac
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 LIBS=$ac_check_soname_save_LIBS
14023 if ${ac_cv_lib_soname_cups:+false} :; then :
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14025 $as_echo "not found" >&6; }
14026 CUPS_LIBS=""
14027 else
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14029 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14031 cat >>confdefs.h <<_ACEOF
14032 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14033 _ACEOF
14037 else
14038 CUPS_CFLAGS=""
14039 CUPS_LIBS=""
14041 CPPFLAGS=$ac_save_CPPFLAGS
14042 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14043 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14046 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14047 case "x$with_cups" in
14048 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14049 xno) ;;
14050 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14051 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14052 esac
14056 if test "x$with_fontconfig" != "xno"
14057 then
14058 if ${FONTCONFIG_CFLAGS:+false} :; then :
14059 if ${PKG_CONFIG+:} false; then :
14060 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14063 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14064 if ${FONTCONFIG_LIBS:+false} :; then :
14065 if ${PKG_CONFIG+:} false; then :
14066 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14069 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14071 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14072 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14073 ac_save_CPPFLAGS=$CPPFLAGS
14074 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14075 for ac_header in fontconfig/fontconfig.h
14076 do :
14077 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14078 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14079 cat >>confdefs.h <<_ACEOF
14080 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14081 _ACEOF
14085 done
14087 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14088 then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14090 $as_echo_n "checking for -lfontconfig... " >&6; }
14091 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_check_soname_save_LIBS=$LIBS
14095 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 #ifdef __cplusplus
14103 extern "C"
14104 #endif
14105 char FcInit ();
14107 main ()
14109 return FcInit ();
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 case "$LIBEXT" in
14116 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14117 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'` ;;
14118 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14119 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14120 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14121 fi ;;
14122 esac
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 LIBS=$ac_check_soname_save_LIBS
14128 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14130 $as_echo "not found" >&6; }
14131 FONTCONFIG_CFLAGS=""
14132 else
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14134 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14136 cat >>confdefs.h <<_ACEOF
14137 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14138 _ACEOF
14142 else
14143 FONTCONFIG_CFLAGS=""
14145 CPPFLAGS=$ac_save_CPPFLAGS
14146 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14147 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14150 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14151 case "x$with_fontconfig" in
14152 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14153 xno) ;;
14154 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14155 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14156 esac
14160 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14161 then
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14163 $as_echo_n "checking for -lgsm... " >&6; }
14164 if ${ac_cv_lib_soname_gsm+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 ac_check_soname_save_LIBS=$LIBS
14168 LIBS="-lgsm $LIBS"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 #ifdef __cplusplus
14176 extern "C"
14177 #endif
14178 char gsm_create ();
14180 main ()
14182 return gsm_create ();
14184 return 0;
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 case "$LIBEXT" in
14189 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14190 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'` ;;
14191 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14192 if ${ac_cv_lib_soname_gsm:+false} :; then :
14193 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14194 fi ;;
14195 esac
14197 rm -f core conftest.err conftest.$ac_objext \
14198 conftest$ac_exeext conftest.$ac_ext
14199 LIBS=$ac_check_soname_save_LIBS
14201 if ${ac_cv_lib_soname_gsm:+false} :; then :
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14203 $as_echo "not found" >&6; }
14205 else
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14207 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14209 cat >>confdefs.h <<_ACEOF
14210 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14211 _ACEOF
14216 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14217 case "x$with_gsm" in
14218 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14219 xno) ;;
14220 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14221 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14222 esac
14226 if test "x$with_krb5" != "xno"
14227 then
14228 if ${KRB5_CFLAGS:+false} :; then :
14229 if ${PKG_CONFIG+:} false; then :
14230 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14233 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14234 if ${KRB5_LIBS:+false} :; then :
14235 if ${PKG_CONFIG+:} false; then :
14236 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14239 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14241 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14242 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14243 ac_save_CPPFLAGS=$CPPFLAGS
14244 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14245 for ac_header in krb5/krb5.h
14246 do :
14247 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14248 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14249 cat >>confdefs.h <<_ACEOF
14250 #define HAVE_KRB5_KRB5_H 1
14251 _ACEOF
14255 done
14257 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14258 then
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14260 $as_echo_n "checking for -lkrb5... " >&6; }
14261 if ${ac_cv_lib_soname_krb5+:} false; then :
14262 $as_echo_n "(cached) " >&6
14263 else
14264 ac_check_soname_save_LIBS=$LIBS
14265 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14269 /* Override any GCC internal prototype to avoid an error.
14270 Use char because int might match the return type of a GCC
14271 builtin and then its argument prototype would still apply. */
14272 #ifdef __cplusplus
14273 extern "C"
14274 #endif
14275 char krb5_is_config_principal ();
14277 main ()
14279 return krb5_is_config_principal ();
14281 return 0;
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 case "$LIBEXT" in
14286 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14287 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'` ;;
14288 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14289 if ${ac_cv_lib_soname_krb5:+false} :; then :
14290 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14291 fi ;;
14292 esac
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 LIBS=$ac_check_soname_save_LIBS
14298 if ${ac_cv_lib_soname_krb5:+false} :; then :
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14300 $as_echo "not found" >&6; }
14301 KRB5_CFLAGS=""
14302 else
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14304 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14306 cat >>confdefs.h <<_ACEOF
14307 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14308 _ACEOF
14312 else
14313 KRB5_CFLAGS=""
14315 CPPFLAGS=$ac_save_CPPFLAGS
14316 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14317 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14319 else
14320 with_gssapi=${with_gssapi:-no}
14322 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14323 case "x$with_krb5" in
14324 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14325 xno) ;;
14326 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14327 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14328 esac
14332 if test "x$with_gssapi" != "xno"
14333 then
14334 if ${GSSAPI_CFLAGS:+false} :; then :
14335 if ${PKG_CONFIG+:} false; then :
14336 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14339 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14340 if ${GSSAPI_LIBS:+false} :; then :
14341 if ${PKG_CONFIG+:} false; then :
14342 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14345 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14347 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14348 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14349 ac_save_CPPFLAGS=$CPPFLAGS
14350 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14351 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14352 do :
14353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14354 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14355 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14356 cat >>confdefs.h <<_ACEOF
14357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14358 _ACEOF
14362 done
14364 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14365 then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14367 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14368 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_check_soname_save_LIBS=$LIBS
14372 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char gss_init_sec_context ();
14384 main ()
14386 return gss_init_sec_context ();
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 case "$LIBEXT" in
14393 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14394 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'` ;;
14395 *) 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'`
14396 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14397 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14398 fi ;;
14399 esac
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 LIBS=$ac_check_soname_save_LIBS
14405 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14407 $as_echo "not found" >&6; }
14408 GSSAPI_CFLAGS=""
14409 else
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14411 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14413 cat >>confdefs.h <<_ACEOF
14414 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14415 _ACEOF
14419 else
14420 GSSAPI_CFLAGS=""
14422 CPPFLAGS=$ac_save_CPPFLAGS
14423 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14424 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14427 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14428 case "x$with_gssapi" in
14429 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14430 xno) ;;
14431 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14432 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14433 esac
14437 if test "x$with_jpeg" != "xno"
14438 then
14439 if ${JPEG_CFLAGS:+false} :; then :
14440 if ${PKG_CONFIG+:} false; then :
14441 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14445 if ${JPEG_LIBS:+false} :; then :
14446 if ${PKG_CONFIG+:} false; then :
14447 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14452 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14453 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14454 ac_save_CPPFLAGS=$CPPFLAGS
14455 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14456 for ac_header in jpeglib.h
14457 do :
14458 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14459 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14460 cat >>confdefs.h <<_ACEOF
14461 #define HAVE_JPEGLIB_H 1
14462 _ACEOF
14466 done
14468 if test "$ac_cv_header_jpeglib_h" = "yes"
14469 then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14471 $as_echo_n "checking for -ljpeg... " >&6; }
14472 if ${ac_cv_lib_soname_jpeg+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_check_soname_save_LIBS=$LIBS
14476 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 /* Override any GCC internal prototype to avoid an error.
14481 Use char because int might match the return type of a GCC
14482 builtin and then its argument prototype would still apply. */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char jpeg_start_decompress ();
14488 main ()
14490 return jpeg_start_decompress ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 case "$LIBEXT" in
14497 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14498 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'` ;;
14499 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14500 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14501 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14502 fi ;;
14503 esac
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_soname_save_LIBS
14509 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14511 $as_echo "not found" >&6; }
14512 JPEG_CFLAGS=""
14513 else
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14515 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14517 cat >>confdefs.h <<_ACEOF
14518 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14519 _ACEOF
14523 else
14524 JPEG_CFLAGS=""
14526 CPPFLAGS=$ac_save_CPPFLAGS
14527 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14528 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14531 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14532 case "x$with_jpeg" in
14533 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14534 xno) ;;
14535 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14536 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14537 esac
14541 if test "x$with_png" != "xno"
14542 then
14543 if ${PNG_CFLAGS:+false} :; then :
14544 if ${PKG_CONFIG+:} false; then :
14545 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14548 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14549 if ${PNG_LIBS:+false} :; then :
14550 if ${PKG_CONFIG+:} false; then :
14551 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14554 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14556 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14557 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14558 ac_save_CPPFLAGS=$CPPFLAGS
14559 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14560 for ac_header in png.h
14561 do :
14562 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14563 if test "x$ac_cv_header_png_h" = xyes; then :
14564 cat >>confdefs.h <<_ACEOF
14565 #define HAVE_PNG_H 1
14566 _ACEOF
14570 done
14572 if test "$ac_cv_header_png_h" = "yes"
14573 then
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14575 $as_echo_n "checking for -lpng... " >&6; }
14576 if ${ac_cv_lib_soname_png+:} false; then :
14577 $as_echo_n "(cached) " >&6
14578 else
14579 ac_check_soname_save_LIBS=$LIBS
14580 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14587 #ifdef __cplusplus
14588 extern "C"
14589 #endif
14590 char png_create_read_struct ();
14592 main ()
14594 return png_create_read_struct ();
14596 return 0;
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"; then :
14600 case "$LIBEXT" in
14601 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14602 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'` ;;
14603 *) 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'`
14604 if ${ac_cv_lib_soname_png:+false} :; then :
14605 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14606 fi ;;
14607 esac
14609 rm -f core conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_check_soname_save_LIBS
14613 if ${ac_cv_lib_soname_png:+false} :; then :
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14615 $as_echo "not found" >&6; }
14616 PNG_CFLAGS=""
14617 else
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14619 $as_echo "$ac_cv_lib_soname_png" >&6; }
14621 cat >>confdefs.h <<_ACEOF
14622 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14623 _ACEOF
14627 else
14628 PNG_CFLAGS=""
14630 CPPFLAGS=$ac_save_CPPFLAGS
14631 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14632 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14635 if test "x$ac_cv_lib_soname_png" = "x"; then :
14636 case "x$with_png" in
14637 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14638 xno) ;;
14639 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14640 This is an error since --with-png was requested." "$LINENO" 5 ;;
14641 esac
14645 if test "x$with_tiff" != "xno"
14646 then
14647 if ${TIFF_CFLAGS:+false} :; then :
14648 if ${PKG_CONFIG+:} false; then :
14649 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14653 if ${TIFF_LIBS:+false} :; then :
14654 if ${PKG_CONFIG+:} false; then :
14655 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14660 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14661 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14662 ac_save_CPPFLAGS=$CPPFLAGS
14663 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14664 for ac_header in tiffio.h
14665 do :
14666 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14667 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14668 cat >>confdefs.h <<_ACEOF
14669 #define HAVE_TIFFIO_H 1
14670 _ACEOF
14674 done
14676 if test "$ac_cv_header_tiffio_h" = "yes"
14677 then
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14679 $as_echo_n "checking for -ltiff... " >&6; }
14680 if ${ac_cv_lib_soname_tiff+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 ac_check_soname_save_LIBS=$LIBS
14684 LIBS="-ltiff $TIFF_LIBS $LIBS"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14691 #ifdef __cplusplus
14692 extern "C"
14693 #endif
14694 char TIFFClientOpen ();
14696 main ()
14698 return TIFFClientOpen ();
14700 return 0;
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 case "$LIBEXT" in
14705 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14706 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'` ;;
14707 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14708 if ${ac_cv_lib_soname_tiff:+false} :; then :
14709 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14710 fi ;;
14711 esac
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_check_soname_save_LIBS
14717 if ${ac_cv_lib_soname_tiff:+false} :; then :
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14719 $as_echo "not found" >&6; }
14721 else
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14723 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14725 cat >>confdefs.h <<_ACEOF
14726 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14727 _ACEOF
14732 CPPFLAGS=$ac_save_CPPFLAGS
14733 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14734 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14737 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14738 case "x$with_tiff" in
14739 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14740 xno) ;;
14741 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14742 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14743 esac
14747 if test "x$with_mpg123" != "xno"
14748 then
14749 if ${MPG123_CFLAGS:+false} :; then :
14750 if ${PKG_CONFIG+:} false; then :
14751 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14755 if ${MPG123_LIBS:+false} :; then :
14756 if ${PKG_CONFIG+:} false; then :
14757 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14761 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14762 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14763 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14764 ac_save_CPPFLAGS=$CPPFLAGS
14765 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14766 for ac_header in mpg123.h
14767 do :
14768 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14769 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14770 cat >>confdefs.h <<_ACEOF
14771 #define HAVE_MPG123_H 1
14772 _ACEOF
14776 done
14778 if test "$ac_cv_header_mpg123_h" = "yes"
14779 then
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14781 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14782 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_check_lib_save_LIBS=$LIBS
14786 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 #ifdef __cplusplus
14794 extern "C"
14795 #endif
14796 char mpg123_feed ();
14798 main ()
14800 return mpg123_feed ();
14802 return 0;
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"; then :
14806 ac_cv_lib_mpg123_mpg123_feed=yes
14807 else
14808 ac_cv_lib_mpg123_mpg123_feed=no
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14812 LIBS=$ac_check_lib_save_LIBS
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14815 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14816 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14818 else
14819 MPG123_LIBS=""
14822 else
14823 MPG123_CFLAGS=""
14824 MPG123_LIBS=""
14826 CPPFLAGS=$ac_save_CPPFLAGS
14827 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14828 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14831 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14832 case "x$with_mpg123" in
14833 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14834 xno) ;;
14835 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14836 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14837 esac
14838 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14840 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14842 if test "$ac_cv_header_AL_al_h" = "yes"
14843 then
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14845 $as_echo_n "checking for -lopenal... " >&6; }
14846 if ${ac_cv_lib_soname_openal+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 ac_check_soname_save_LIBS=$LIBS
14850 LIBS="-lopenal $LIBS"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14857 #ifdef __cplusplus
14858 extern "C"
14859 #endif
14860 char alGetSource3i ();
14862 main ()
14864 return alGetSource3i ();
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 case "$LIBEXT" in
14871 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14872 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'` ;;
14873 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14874 if ${ac_cv_lib_soname_openal:+false} :; then :
14875 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14876 fi ;;
14877 esac
14879 rm -f core conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext conftest.$ac_ext
14881 LIBS=$ac_check_soname_save_LIBS
14883 if ${ac_cv_lib_soname_openal:+false} :; then :
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14885 $as_echo "not found" >&6; }
14887 else
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14889 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14891 cat >>confdefs.h <<_ACEOF
14892 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14893 _ACEOF
14895 OPENAL_LIBS="-lopenal"
14897 ac_cv_lib_openal=yes
14899 cat >>confdefs.h <<_ACEOF
14900 #define HAVE_OPENAL 1
14901 _ACEOF
14905 if test "x$ac_cv_lib_openal" != xyes; then :
14906 case "x$with_openal" in
14907 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14908 xno) ;;
14909 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14910 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14911 esac
14912 enable_openal32=${enable_openal32:-no}
14915 if test "x$ac_cv_lib_openal" = xyes
14916 then
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14918 $as_echo_n "checking for openal-soft... " >&6; }
14919 if ${ac_cv_have_openalsoft+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #include <AL/al.h>
14925 #include <AL/alc.h>
14926 #include <AL/alext.h>
14927 LPALCRENDERSAMPLESSOFT x;
14929 main ()
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_compile "$LINENO"; then :
14937 ac_cv_have_openalsoft=yes
14938 else
14939 ac_cv_have_openalsoft=no
14941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14944 $as_echo "$ac_cv_have_openalsoft" >&6; }
14946 if test "x$ac_cv_have_openalsoft" != xyes
14947 then
14948 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14949 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14950 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14951 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14952 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14953 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14954 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14955 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14956 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14957 enable_xapofx1_1=${enable_xapofx1_1:-no}
14958 enable_xapofx1_2=${enable_xapofx1_2:-no}
14959 enable_xapofx1_3=${enable_xapofx1_3:-no}
14960 enable_xapofx1_4=${enable_xapofx1_4:-no}
14961 enable_xapofx1_5=${enable_xapofx1_5:-no}
14962 enable_xaudio2_0=${enable_xaudio2_0:-no}
14963 enable_xaudio2_1=${enable_xaudio2_1:-no}
14964 enable_xaudio2_2=${enable_xaudio2_2:-no}
14965 enable_xaudio2_3=${enable_xaudio2_3:-no}
14966 enable_xaudio2_4=${enable_xaudio2_4:-no}
14967 enable_xaudio2_5=${enable_xaudio2_5:-no}
14968 enable_xaudio2_6=${enable_xaudio2_6:-no}
14969 enable_xaudio2_7=${enable_xaudio2_7:-no}
14970 enable_xaudio2_8=${enable_xaudio2_8:-no}
14971 enable_xaudio2_9=${enable_xaudio2_9:-no}
14974 if test "$ac_cv_header_kstat_h" = "yes"
14975 then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14977 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14978 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14979 $as_echo_n "(cached) " >&6
14980 else
14981 ac_check_lib_save_LIBS=$LIBS
14982 LIBS="-lkstat $LIBS"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14986 /* Override any GCC internal prototype to avoid an error.
14987 Use char because int might match the return type of a GCC
14988 builtin and then its argument prototype would still apply. */
14989 #ifdef __cplusplus
14990 extern "C"
14991 #endif
14992 char kstat_open ();
14994 main ()
14996 return kstat_open ();
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"; then :
15002 ac_cv_lib_kstat_kstat_open=yes
15003 else
15004 ac_cv_lib_kstat_kstat_open=no
15006 rm -f core conftest.err conftest.$ac_objext \
15007 conftest$ac_exeext conftest.$ac_ext
15008 LIBS=$ac_check_lib_save_LIBS
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15011 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15012 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15014 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15016 KSTAT_LIBS="-lkstat"
15022 if test "$ac_cv_header_libprocstat_h" = "yes"
15023 then
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15025 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15026 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_check_lib_save_LIBS=$LIBS
15030 LIBS="-lprocstat $LIBS"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 char procstat_open_sysctl ();
15042 main ()
15044 return procstat_open_sysctl ();
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_lib_procstat_procstat_open_sysctl=yes
15051 else
15052 ac_cv_lib_procstat_procstat_open_sysctl=no
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_lib_save_LIBS
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15059 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15060 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15062 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15064 PROCSTAT_LIBS="-lprocstat"
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15071 $as_echo_n "checking for -lodbc... " >&6; }
15072 if ${ac_cv_lib_soname_odbc+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 ac_check_soname_save_LIBS=$LIBS
15076 LIBS="-lodbc $LIBS"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 #ifdef __cplusplus
15084 extern "C"
15085 #endif
15086 char SQLConnect ();
15088 main ()
15090 return SQLConnect ();
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"; then :
15096 case "$LIBEXT" in
15097 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15098 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'` ;;
15099 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15100 if ${ac_cv_lib_soname_odbc:+false} :; then :
15101 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15102 fi ;;
15103 esac
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_soname_save_LIBS
15109 if ${ac_cv_lib_soname_odbc:+false} :; then :
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15111 $as_echo "not found" >&6; }
15112 cat >>confdefs.h <<_ACEOF
15113 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15114 _ACEOF
15116 else
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15118 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15120 cat >>confdefs.h <<_ACEOF
15121 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15122 _ACEOF
15127 if test "x$with_netapi" != "xno"
15128 then
15129 if ${NETAPI_CFLAGS:+false} :; then :
15130 if ${PKG_CONFIG+:} false; then :
15131 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15135 if ${NETAPI_LIBS:+false} :; then :
15136 if ${PKG_CONFIG+:} false; then :
15137 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15142 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15143 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15144 ac_save_CPPFLAGS=$CPPFLAGS
15145 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15147 $as_echo_n "checking for -lnetapi... " >&6; }
15148 if ${ac_cv_lib_soname_netapi+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 ac_check_soname_save_LIBS=$LIBS
15152 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15156 /* Override any GCC internal prototype to avoid an error.
15157 Use char because int might match the return type of a GCC
15158 builtin and then its argument prototype would still apply. */
15159 #ifdef __cplusplus
15160 extern "C"
15161 #endif
15162 char libnetapi_init ();
15164 main ()
15166 return libnetapi_init ();
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 case "$LIBEXT" in
15173 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15174 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'` ;;
15175 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15176 if ${ac_cv_lib_soname_netapi:+false} :; then :
15177 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15178 fi ;;
15179 esac
15181 rm -f core conftest.err conftest.$ac_objext \
15182 conftest$ac_exeext conftest.$ac_ext
15183 LIBS=$ac_check_soname_save_LIBS
15185 if ${ac_cv_lib_soname_netapi:+false} :; then :
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15187 $as_echo "not found" >&6; }
15188 cat >>confdefs.h <<_ACEOF
15189 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15190 _ACEOF
15192 else
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15194 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15196 cat >>confdefs.h <<_ACEOF
15197 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15198 _ACEOF
15202 CPPFLAGS=$ac_save_CPPFLAGS
15203 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15204 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15208 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15209 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15210 then
15211 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15214 if test "x$with_vulkan" != "xno"
15215 then
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15217 $as_echo_n "checking for -lvulkan... " >&6; }
15218 if ${ac_cv_lib_soname_vulkan+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 ac_check_soname_save_LIBS=$LIBS
15222 LIBS="-lvulkan $LIBS"
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15226 /* Override any GCC internal prototype to avoid an error.
15227 Use char because int might match the return type of a GCC
15228 builtin and then its argument prototype would still apply. */
15229 #ifdef __cplusplus
15230 extern "C"
15231 #endif
15232 char vkGetInstanceProcAddr ();
15234 main ()
15236 return vkGetInstanceProcAddr ();
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 case "$LIBEXT" in
15243 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15244 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'` ;;
15245 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15246 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15247 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15248 fi ;;
15249 esac
15251 rm -f core conftest.err conftest.$ac_objext \
15252 conftest$ac_exeext conftest.$ac_ext
15253 LIBS=$ac_check_soname_save_LIBS
15255 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15257 $as_echo "not found" >&6; }
15259 else
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15261 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15263 cat >>confdefs.h <<_ACEOF
15264 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15265 _ACEOF
15269 if test "x$ac_cv_lib_soname_vulkan" = "x"
15270 then
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15272 $as_echo_n "checking for -lMoltenVK... " >&6; }
15273 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15276 ac_check_soname_save_LIBS=$LIBS
15277 LIBS="-lMoltenVK $LIBS"
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 #ifdef __cplusplus
15285 extern "C"
15286 #endif
15287 char vkGetInstanceProcAddr ();
15289 main ()
15291 return vkGetInstanceProcAddr ();
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_link "$LINENO"; then :
15297 case "$LIBEXT" in
15298 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15299 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'` ;;
15300 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15301 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15302 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15303 fi ;;
15304 esac
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15308 LIBS=$ac_check_soname_save_LIBS
15310 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15312 $as_echo "not found" >&6; }
15314 else
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15316 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15318 cat >>confdefs.h <<_ACEOF
15319 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15320 _ACEOF
15326 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15327 case "x$with_vulkan" in
15328 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15329 xno) ;;
15330 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15331 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15332 esac
15336 if test "x$with_vkd3d" != "xno"
15337 then
15338 if ${VKD3D_CFLAGS:+false} :; then :
15339 if ${PKG_CONFIG+:} false; then :
15340 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15344 if ${VKD3D_LIBS:+false} :; then :
15345 if ${PKG_CONFIG+:} false; then :
15346 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15351 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15352 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15353 ac_save_CPPFLAGS=$CPPFLAGS
15354 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15356 $as_echo_n "checking for -lvkd3d... " >&6; }
15357 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 ac_check_soname_save_LIBS=$LIBS
15361 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15368 #ifdef __cplusplus
15369 extern "C"
15370 #endif
15371 char vkd3d_create_device ();
15373 main ()
15375 return vkd3d_create_device ();
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_link "$LINENO"; then :
15381 case "$LIBEXT" in
15382 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15383 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'` ;;
15384 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15385 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15386 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15387 fi ;;
15388 esac
15390 rm -f core conftest.err conftest.$ac_objext \
15391 conftest$ac_exeext conftest.$ac_ext
15392 LIBS=$ac_check_soname_save_LIBS
15394 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15396 $as_echo "not found" >&6; }
15398 else
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15400 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15402 cat >>confdefs.h <<_ACEOF
15403 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15404 _ACEOF
15408 CPPFLAGS=$ac_save_CPPFLAGS
15409 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15410 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15413 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15414 case "x$with_vkd3d" in
15415 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15416 xno) ;;
15417 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15418 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15419 esac
15422 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15425 EXTRACFLAGS=""
15427 if test "x${GCC}" = "xyes"
15428 then
15429 EXTRACFLAGS="-Wall -pipe"
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15432 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15433 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15434 $as_echo_n "(cached) " >&6
15435 else
15436 if test "$cross_compiling" = yes; then :
15437 ac_cv_c_gcc_strength_bug="no"
15438 else
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15441 int L[4] = {0,1,2,3};
15443 main ()
15445 static int Array[3];
15446 unsigned int B = 3;
15447 int i;
15448 for(i=0; i<B; i++) Array[i] = i - 3;
15449 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15450 L[i] = 4;
15451 return (Array[1] != -2 || L[2] != 3)
15453 return 0;
15455 _ACEOF
15456 if ac_fn_c_try_run "$LINENO"; then :
15457 ac_cv_c_gcc_strength_bug="no"
15458 else
15459 ac_cv_c_gcc_strength_bug="yes"
15461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15462 conftest.$ac_objext conftest.beam conftest.$ac_ext
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15467 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15468 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15469 then
15470 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15474 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15475 if ${ac_cv_cflags__fno_builtin+:} false; then :
15476 $as_echo_n "(cached) " >&6
15477 else
15478 ac_wine_try_cflags_saved=$CFLAGS
15479 CFLAGS="$CFLAGS -fno-builtin"
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15482 int main(int argc, char **argv) { return 0; }
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 ac_cv_cflags__fno_builtin=yes
15486 else
15487 ac_cv_cflags__fno_builtin=no
15489 rm -f core conftest.err conftest.$ac_objext \
15490 conftest$ac_exeext conftest.$ac_ext
15491 CFLAGS=$ac_wine_try_cflags_saved
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15494 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15495 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15496 BUILTINFLAG="-fno-builtin"
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15500 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15501 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_wine_try_cflags_saved=$CFLAGS
15505 CFLAGS="$CFLAGS -fno-strict-aliasing"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15508 int main(int argc, char **argv) { return 0; }
15509 _ACEOF
15510 if ac_fn_c_try_link "$LINENO"; then :
15511 ac_cv_cflags__fno_strict_aliasing=yes
15512 else
15513 ac_cv_cflags__fno_strict_aliasing=no
15515 rm -f core conftest.err conftest.$ac_objext \
15516 conftest$ac_exeext conftest.$ac_ext
15517 CFLAGS=$ac_wine_try_cflags_saved
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15520 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15521 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15522 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15525 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15526 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15527 $as_echo_n "(cached) " >&6
15528 else
15529 ac_wine_try_cflags_saved=$CFLAGS
15530 CFLAGS="$CFLAGS -fexcess-precision=standard"
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15533 int main(int argc, char **argv) { return 0; }
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 ac_cv_cflags__fexcess_precision_standard=yes
15537 else
15538 ac_cv_cflags__fexcess_precision_standard=no
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15542 CFLAGS=$ac_wine_try_cflags_saved
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15545 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15546 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15547 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15550 saved_CFLAGS=$CFLAGS
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15552 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15553 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15554 $as_echo_n "(cached) " >&6
15555 else
15556 ac_wine_try_cflags_saved=$CFLAGS
15557 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15560 int main(int argc, char **argv) { return 0; }
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"; then :
15563 ac_cv_cflags__Werror_unknown_warning_option=yes
15564 else
15565 ac_cv_cflags__Werror_unknown_warning_option=no
15567 rm -f core conftest.err conftest.$ac_objext \
15568 conftest$ac_exeext conftest.$ac_ext
15569 CFLAGS=$ac_wine_try_cflags_saved
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15572 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15573 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15574 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15577 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15578 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15579 $as_echo_n "(cached) " >&6
15580 else
15581 ac_wine_try_cflags_saved=$CFLAGS
15582 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15585 int main(int argc, char **argv) { return 0; }
15586 _ACEOF
15587 if ac_fn_c_try_link "$LINENO"; then :
15588 ac_cv_cflags__Wdeclaration_after_statement=yes
15589 else
15590 ac_cv_cflags__Wdeclaration_after_statement=no
15592 rm -f core conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15594 CFLAGS=$ac_wine_try_cflags_saved
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15597 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15598 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15599 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15602 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15603 if ${ac_cv_cflags__Wempty_body+:} false; then :
15604 $as_echo_n "(cached) " >&6
15605 else
15606 ac_wine_try_cflags_saved=$CFLAGS
15607 CFLAGS="$CFLAGS -Wempty-body"
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15610 int main(int argc, char **argv) { return 0; }
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 ac_cv_cflags__Wempty_body=yes
15614 else
15615 ac_cv_cflags__Wempty_body=no
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15619 CFLAGS=$ac_wine_try_cflags_saved
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15622 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15623 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15624 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15627 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15628 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15629 $as_echo_n "(cached) " >&6
15630 else
15631 ac_wine_try_cflags_saved=$CFLAGS
15632 CFLAGS="$CFLAGS -Wignored-qualifiers"
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15635 int main(int argc, char **argv) { return 0; }
15636 _ACEOF
15637 if ac_fn_c_try_link "$LINENO"; then :
15638 ac_cv_cflags__Wignored_qualifiers=yes
15639 else
15640 ac_cv_cflags__Wignored_qualifiers=no
15642 rm -f core conftest.err conftest.$ac_objext \
15643 conftest$ac_exeext conftest.$ac_ext
15644 CFLAGS=$ac_wine_try_cflags_saved
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15647 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15648 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15649 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15652 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15653 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15654 $as_echo_n "(cached) " >&6
15655 else
15656 ac_wine_try_cflags_saved=$CFLAGS
15657 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15660 int main(int argc, char **argv) { return 0; }
15661 _ACEOF
15662 if ac_fn_c_try_link "$LINENO"; then :
15663 ac_cv_cflags__Wpacked_not_aligned=yes
15664 else
15665 ac_cv_cflags__Wpacked_not_aligned=no
15667 rm -f core conftest.err conftest.$ac_objext \
15668 conftest$ac_exeext conftest.$ac_ext
15669 CFLAGS=$ac_wine_try_cflags_saved
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15672 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15673 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15674 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15677 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15678 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15679 $as_echo_n "(cached) " >&6
15680 else
15681 ac_wine_try_cflags_saved=$CFLAGS
15682 CFLAGS="$CFLAGS -Wpragma-pack"
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15685 int main(int argc, char **argv) { return 0; }
15686 _ACEOF
15687 if ac_fn_c_try_link "$LINENO"; then :
15688 ac_cv_cflags__Wpragma_pack=yes
15689 else
15690 ac_cv_cflags__Wpragma_pack=no
15692 rm -f core conftest.err conftest.$ac_objext \
15693 conftest$ac_exeext conftest.$ac_ext
15694 CFLAGS=$ac_wine_try_cflags_saved
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15697 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15698 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15699 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15702 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15703 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15704 $as_echo_n "(cached) " >&6
15705 else
15706 ac_wine_try_cflags_saved=$CFLAGS
15707 CFLAGS="$CFLAGS -Wshift-overflow=2"
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15710 int main(int argc, char **argv) { return 0; }
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 ac_cv_cflags__Wshift_overflow_2=yes
15714 else
15715 ac_cv_cflags__Wshift_overflow_2=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15719 CFLAGS=$ac_wine_try_cflags_saved
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15722 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15723 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15724 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15727 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15728 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 ac_wine_try_cflags_saved=$CFLAGS
15732 CFLAGS="$CFLAGS -Wstrict-prototypes"
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15735 int main(int argc, char **argv) { return 0; }
15736 _ACEOF
15737 if ac_fn_c_try_link "$LINENO"; then :
15738 ac_cv_cflags__Wstrict_prototypes=yes
15739 else
15740 ac_cv_cflags__Wstrict_prototypes=no
15742 rm -f core conftest.err conftest.$ac_objext \
15743 conftest$ac_exeext conftest.$ac_ext
15744 CFLAGS=$ac_wine_try_cflags_saved
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15747 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15748 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15749 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15752 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15753 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15754 $as_echo_n "(cached) " >&6
15755 else
15756 ac_wine_try_cflags_saved=$CFLAGS
15757 CFLAGS="$CFLAGS -Wtype-limits"
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15760 int main(int argc, char **argv) { return 0; }
15761 _ACEOF
15762 if ac_fn_c_try_link "$LINENO"; then :
15763 ac_cv_cflags__Wtype_limits=yes
15764 else
15765 ac_cv_cflags__Wtype_limits=no
15767 rm -f core conftest.err conftest.$ac_objext \
15768 conftest$ac_exeext conftest.$ac_ext
15769 CFLAGS=$ac_wine_try_cflags_saved
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15772 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15773 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15774 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15777 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15778 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 ac_wine_try_cflags_saved=$CFLAGS
15782 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784 /* end confdefs.h. */
15785 int main(int argc, char **argv) { return 0; }
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"; then :
15788 ac_cv_cflags__Wunused_but_set_parameter=yes
15789 else
15790 ac_cv_cflags__Wunused_but_set_parameter=no
15792 rm -f core conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext conftest.$ac_ext
15794 CFLAGS=$ac_wine_try_cflags_saved
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15797 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15798 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15799 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15802 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15803 if ${ac_cv_cflags__Wvla+:} false; then :
15804 $as_echo_n "(cached) " >&6
15805 else
15806 ac_wine_try_cflags_saved=$CFLAGS
15807 CFLAGS="$CFLAGS -Wvla"
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15810 int main(int argc, char **argv) { return 0; }
15811 _ACEOF
15812 if ac_fn_c_try_link "$LINENO"; then :
15813 ac_cv_cflags__Wvla=yes
15814 else
15815 ac_cv_cflags__Wvla=no
15817 rm -f core conftest.err conftest.$ac_objext \
15818 conftest$ac_exeext conftest.$ac_ext
15819 CFLAGS=$ac_wine_try_cflags_saved
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15822 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15823 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15824 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15827 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15828 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15829 $as_echo_n "(cached) " >&6
15830 else
15831 ac_wine_try_cflags_saved=$CFLAGS
15832 CFLAGS="$CFLAGS -Wwrite-strings"
15833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 int main(int argc, char **argv) { return 0; }
15836 _ACEOF
15837 if ac_fn_c_try_link "$LINENO"; then :
15838 ac_cv_cflags__Wwrite_strings=yes
15839 else
15840 ac_cv_cflags__Wwrite_strings=no
15842 rm -f core conftest.err conftest.$ac_objext \
15843 conftest$ac_exeext conftest.$ac_ext
15844 CFLAGS=$ac_wine_try_cflags_saved
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15847 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15848 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15849 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15853 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15854 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15855 $as_echo_n "(cached) " >&6
15856 else
15857 ac_wine_try_cflags_saved=$CFLAGS
15858 CFLAGS="$CFLAGS -Wpointer-arith"
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15861 int main(int argc, char **argv) { return 0; }
15862 _ACEOF
15863 if ac_fn_c_try_link "$LINENO"; then :
15864 ac_cv_cflags__Wpointer_arith=yes
15865 else
15866 ac_cv_cflags__Wpointer_arith=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 CFLAGS=$ac_wine_try_cflags_saved
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15873 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15874 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15875 saved_string_h_CFLAGS=$CFLAGS
15876 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15878 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15879 if ${ac_cv_c_string_h_warnings+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #include <string.h>
15886 main ()
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15894 ac_cv_c_string_h_warnings=no
15895 else
15896 ac_cv_c_string_h_warnings=yes
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15901 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15902 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15903 CFLAGS=$saved_string_h_CFLAGS
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15907 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15908 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15909 $as_echo_n "(cached) " >&6
15910 else
15911 ac_wine_try_cflags_saved=$CFLAGS
15912 CFLAGS="$CFLAGS -Wlogical-op"
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 int main(int argc, char **argv) { return 0; }
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 ac_cv_cflags__Wlogical_op=yes
15919 else
15920 ac_cv_cflags__Wlogical_op=no
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15924 CFLAGS=$ac_wine_try_cflags_saved
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15927 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15928 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15929 saved_string_h_CFLAGS=$CFLAGS
15930 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15932 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15933 if ${ac_cv_c_logicalop_noisy+:} false; then :
15934 $as_echo_n "(cached) " >&6
15935 else
15936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937 /* end confdefs.h. */
15938 #include <string.h>
15939 char*f(const char *h,char n) {return strchr(h,n);}
15941 main ()
15945 return 0;
15947 _ACEOF
15948 if ac_fn_c_try_compile "$LINENO"; then :
15949 ac_cv_c_logicalop_noisy=no
15950 else
15951 ac_cv_c_logicalop_noisy=yes
15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15956 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15957 CFLAGS=$saved_string_h_CFLAGS
15958 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15961 CFLAGS=$saved_CFLAGS
15963 for ac_flag in $CFLAGS; do
15964 case $ac_flag in
15965 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15966 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15967 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 ac_wine_try_cflags_saved=$CFLAGS
15971 CFLAGS="$CFLAGS -gdwarf-2"
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15974 int main(int argc, char **argv) { return 0; }
15975 _ACEOF
15976 if ac_fn_c_try_link "$LINENO"; then :
15977 ac_cv_cflags__gdwarf_2=yes
15978 else
15979 ac_cv_cflags__gdwarf_2=no
15981 rm -f core conftest.err conftest.$ac_objext \
15982 conftest$ac_exeext conftest.$ac_ext
15983 CFLAGS=$ac_wine_try_cflags_saved
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15986 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15987 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15988 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15991 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15992 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15993 $as_echo_n "(cached) " >&6
15994 else
15995 ac_wine_try_cflags_saved=$CFLAGS
15996 CFLAGS="$CFLAGS -gstrict-dwarf"
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
15999 int main(int argc, char **argv) { return 0; }
16000 _ACEOF
16001 if ac_fn_c_try_link "$LINENO"; then :
16002 ac_cv_cflags__gstrict_dwarf=yes
16003 else
16004 ac_cv_cflags__gstrict_dwarf=no
16006 rm -f core conftest.err conftest.$ac_objext \
16007 conftest$ac_exeext conftest.$ac_ext
16008 CFLAGS=$ac_wine_try_cflags_saved
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16011 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16012 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16013 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16014 fi ;;
16015 esac
16016 done
16018 case $host_cpu in
16019 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16020 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16021 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16022 $as_echo_n "(cached) " >&6
16023 else
16024 ac_wine_try_cflags_saved=$CFLAGS
16025 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16028 int main(int argc, char **argv) { return 0; }
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"; then :
16031 ac_cv_cflags__fno_omit_frame_pointer=yes
16032 else
16033 ac_cv_cflags__fno_omit_frame_pointer=no
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16037 CFLAGS=$ac_wine_try_cflags_saved
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16040 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16041 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16042 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16043 fi ;;
16044 esac
16046 case $host in
16047 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16048 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16049 if ${ac_cv_cflags__Wno_format+:} false; then :
16050 $as_echo_n "(cached) " >&6
16051 else
16052 ac_wine_try_cflags_saved=$CFLAGS
16053 CFLAGS="$CFLAGS -Wno-format"
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16056 int main(int argc, char **argv) { return 0; }
16057 _ACEOF
16058 if ac_fn_c_try_link "$LINENO"; then :
16059 ac_cv_cflags__Wno_format=yes
16060 else
16061 ac_cv_cflags__Wno_format=no
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext conftest.$ac_ext
16065 CFLAGS=$ac_wine_try_cflags_saved
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16068 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16069 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16070 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16071 fi ;;
16072 esac
16074 if test "x$enable_maintainer_mode" = "xyes"
16075 then
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16077 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16078 if ${ac_cv_cflags__Werror+:} false; then :
16079 $as_echo_n "(cached) " >&6
16080 else
16081 ac_wine_try_cflags_saved=$CFLAGS
16082 CFLAGS="$CFLAGS -Werror"
16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16085 int main(int argc, char **argv) { return 0; }
16086 _ACEOF
16087 if ac_fn_c_try_link "$LINENO"; then :
16088 ac_cv_cflags__Werror=yes
16089 else
16090 ac_cv_cflags__Werror=no
16092 rm -f core conftest.err conftest.$ac_objext \
16093 conftest$ac_exeext conftest.$ac_ext
16094 CFLAGS=$ac_wine_try_cflags_saved
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16097 $as_echo "$ac_cv_cflags__Werror" >&6; }
16098 if test "x$ac_cv_cflags__Werror" = xyes; then :
16099 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16103 saved_CFLAGS="$CFLAGS"
16104 CFLAGS="$CFLAGS -Werror"
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16106 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16107 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16112 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16114 main ()
16118 return 0;
16120 _ACEOF
16121 if ac_fn_c_try_compile "$LINENO"; then :
16122 ac_cv_have_ms_hook_prologue="yes"
16123 else
16124 ac_cv_have_ms_hook_prologue="no"
16126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16129 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16130 CFLAGS="$saved_CFLAGS"
16131 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16132 then
16134 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16136 else
16137 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16144 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16145 if ${ac_cv_c_fortify_enabled+:} false; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16150 #include <string.h>
16152 main ()
16154 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16155 #error Fortify enabled
16156 #endif
16158 return 0;
16160 _ACEOF
16161 if ac_fn_c_try_compile "$LINENO"; then :
16162 ac_cv_c_fortify_enabled=no
16163 else
16164 ac_cv_c_fortify_enabled=yes
16166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16169 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16170 if test "$ac_cv_c_fortify_enabled" = yes
16171 then
16172 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16177 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16178 if ${ac_cv_c_extern_prefix+:} false; then :
16179 $as_echo_n "(cached) " >&6
16180 else
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 extern int ac_test;
16185 main ()
16187 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16189 return 0;
16191 _ACEOF
16192 if ac_fn_c_try_link "$LINENO"; then :
16193 ac_cv_c_extern_prefix="yes"
16194 else
16195 ac_cv_c_extern_prefix="no"
16197 rm -f core conftest.err conftest.$ac_objext \
16198 conftest$ac_exeext conftest.$ac_ext
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16201 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16203 case $host_cpu in
16204 *i[3456789]86*)
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16206 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16207 if ${ac_cv_c_stdcall_suffix+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16212 #ifndef _MSC_VER
16213 #define __stdcall __attribute__((__stdcall__))
16214 #endif
16215 int __stdcall ac_test(int i) { return i; }
16217 main ()
16219 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16221 return 0;
16223 _ACEOF
16224 if ac_fn_c_try_link "$LINENO"; then :
16225 ac_cv_c_stdcall_suffix="yes"
16226 else
16227 ac_cv_c_stdcall_suffix="no"
16229 rm -f core conftest.err conftest.$ac_objext \
16230 conftest$ac_exeext conftest.$ac_ext
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16233 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16234 *) ac_cv_c_stdcall_suffix="no" ;;
16235 esac
16238 if test "$ac_cv_c_extern_prefix" = "yes"
16239 then
16240 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16242 asm_name_prefix="_"
16243 else
16244 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16246 asm_name_prefix=""
16250 if test "$ac_cv_c_stdcall_suffix" = "yes"
16251 then
16252 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16254 else
16255 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16261 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16262 if ${ac_cv_asm_func_def+:} false; then :
16263 $as_echo_n "(cached) " >&6
16264 else
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16269 main ()
16271 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16273 return 0;
16275 _ACEOF
16276 if ac_fn_c_try_link "$LINENO"; then :
16277 ac_cv_asm_func_def=".def"
16278 else
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16283 main ()
16285 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16287 return 0;
16289 _ACEOF
16290 if ac_fn_c_try_link "$LINENO"; then :
16291 ac_cv_asm_func_def=".type @function"
16292 else
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16297 main ()
16299 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"; then :
16305 ac_cv_asm_func_def=".type 2"
16306 else
16307 ac_cv_asm_func_def="unknown"
16309 rm -f core conftest.err conftest.$ac_objext \
16310 conftest$ac_exeext conftest.$ac_ext
16312 rm -f core conftest.err conftest.$ac_objext \
16313 conftest$ac_exeext conftest.$ac_ext
16315 rm -f core conftest.err conftest.$ac_objext \
16316 conftest$ac_exeext conftest.$ac_ext
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16319 $as_echo "$ac_cv_asm_func_def" >&6; }
16322 case "$ac_cv_asm_func_def" in
16323 ".def")
16324 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16326 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16327 ".type @function")
16328 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16330 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16331 ".type 2")
16332 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16334 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16336 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16338 asm_func_header="" ;;
16339 esac
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16342 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16343 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16344 $as_echo_n "(cached) " >&6
16345 else
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16348 asm(".text\n\t.long 0");
16350 main ()
16354 return 0;
16356 _ACEOF
16357 if ac_fn_c_try_compile "$LINENO"; then :
16358 ac_cv_c_asm_outside_funcs="yes"
16359 else
16360 ac_cv_c_asm_outside_funcs="no"
16362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16365 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16368 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16369 if ${ac_cv_c_dot_previous+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16376 main ()
16378 asm(".text\nac_test:\t.long 0\n\t.previous");
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 ac_cv_c_dot_previous="yes"
16385 else
16386 ac_cv_c_dot_previous="no"
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16392 $as_echo "$ac_cv_c_dot_previous" >&6; }
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16395 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16396 if ${ac_cv_c_cfi_support+:} false; then :
16397 $as_echo_n "(cached) " >&6
16398 else
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16403 main ()
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_compile "$LINENO"; then :
16411 ac_cv_c_cfi_support="yes"
16412 else
16413 ac_cv_c_cfi_support="no"
16415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16418 $as_echo "$ac_cv_c_cfi_support" >&6; }
16420 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16421 asm_func_trailer=""
16422 if test "$ac_cv_c_dot_previous" = "yes"
16423 then
16424 asm_func_trailer="\\n\\t.previous"
16426 if test "$ac_cv_c_cfi_support" = "yes"
16427 then
16428 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16429 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16431 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16433 UNWINDFLAGS=-fasynchronous-unwind-tables
16435 else
16436 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16438 if test "x$enable_win64" = "xyes"
16439 then
16440 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16444 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16447 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16448 then
16449 cat >>confdefs.h <<_ACEOF
16450 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16451 _ACEOF
16453 else
16454 cat >>confdefs.h <<_ACEOF
16455 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16456 _ACEOF
16460 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16463 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16467 case $build_os in
16468 cygwin*|mingw32*) TOOLSEXT=".exe"
16470 esac
16472 case $host_os in
16473 linux*)
16474 case $host_cpu in
16475 *i[3456789]86*|x86_64*|*aarch64*)
16476 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16477 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16479 esac
16481 esac
16484 ac_save_CFLAGS="$CFLAGS"
16485 CFLAGS="$CFLAGS $BUILTINFLAG"
16486 for ac_func in \
16487 __res_get_state \
16488 __res_getservers \
16489 _finite \
16490 _isnan \
16491 _pclose \
16492 _popen \
16493 _snprintf \
16494 _spawnvp \
16495 _strdup \
16496 _stricmp \
16497 _strnicmp \
16498 _strtoi64 \
16499 _strtoui64 \
16500 _vsnprintf \
16501 asctime_r \
16502 chsize \
16503 dlopen \
16504 epoll_create \
16505 ffs \
16506 finitef \
16507 fnmatch \
16508 fork \
16509 fpclass \
16510 fstatfs \
16511 fstatvfs \
16512 ftruncate \
16513 futimens \
16514 futimes \
16515 futimesat \
16516 getattrlist \
16517 getauxval \
16518 getifaddrs \
16519 getopt_long_only \
16520 getpwuid \
16521 gettimeofday \
16522 getuid \
16523 kqueue \
16524 lstat \
16525 memmove \
16526 mmap \
16527 pclose \
16528 pipe2 \
16529 poll \
16530 popen \
16531 port_create \
16532 prctl \
16533 pread \
16534 proc_pidinfo \
16535 pwrite \
16536 readdir \
16537 readlink \
16538 sched_yield \
16539 select \
16540 setproctitle \
16541 setprogname \
16542 setrlimit \
16543 settimeofday \
16544 sigaltstack \
16545 sigprocmask \
16546 snprintf \
16547 statfs \
16548 statvfs \
16549 strcasecmp \
16550 strdup \
16551 strerror \
16552 strncasecmp \
16553 strnlen \
16554 strtold \
16555 strtoll \
16556 strtoull \
16557 symlink \
16558 sysinfo \
16559 tcdrain \
16560 thr_kill2 \
16561 timegm \
16562 usleep \
16563 vsnprintf
16565 do :
16566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16568 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16571 _ACEOF
16574 done
16576 CFLAGS="$ac_save_CFLAGS"
16578 if test "$ac_cv_func_dlopen" = no
16579 then
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16581 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16582 if ${ac_cv_lib_dl_dlopen+:} false; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 ac_check_lib_save_LIBS=$LIBS
16586 LIBS="-ldl $LIBS"
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16590 /* Override any GCC internal prototype to avoid an error.
16591 Use char because int might match the return type of a GCC
16592 builtin and then its argument prototype would still apply. */
16593 #ifdef __cplusplus
16594 extern "C"
16595 #endif
16596 char dlopen ();
16598 main ()
16600 return dlopen ();
16602 return 0;
16604 _ACEOF
16605 if ac_fn_c_try_link "$LINENO"; then :
16606 ac_cv_lib_dl_dlopen=yes
16607 else
16608 ac_cv_lib_dl_dlopen=no
16610 rm -f core conftest.err conftest.$ac_objext \
16611 conftest$ac_exeext conftest.$ac_ext
16612 LIBS=$ac_check_lib_save_LIBS
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16615 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16616 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16617 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16618 DL_LIBS="-ldl"
16623 ac_wine_check_funcs_save_LIBS="$LIBS"
16624 LIBS="$LIBS $DL_LIBS"
16625 for ac_func in dladdr
16626 do :
16627 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16628 if test "x$ac_cv_func_dladdr" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_DLADDR 1
16631 _ACEOF
16634 done
16636 LIBS="$ac_wine_check_funcs_save_LIBS"
16638 if test "$ac_cv_func_poll" = no
16639 then
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16641 $as_echo_n "checking for poll in -lpoll... " >&6; }
16642 if ${ac_cv_lib_poll_poll+:} false; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16645 ac_check_lib_save_LIBS=$LIBS
16646 LIBS="-lpoll $LIBS"
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16650 /* Override any GCC internal prototype to avoid an error.
16651 Use char because int might match the return type of a GCC
16652 builtin and then its argument prototype would still apply. */
16653 #ifdef __cplusplus
16654 extern "C"
16655 #endif
16656 char poll ();
16658 main ()
16660 return poll ();
16662 return 0;
16664 _ACEOF
16665 if ac_fn_c_try_link "$LINENO"; then :
16666 ac_cv_lib_poll_poll=yes
16667 else
16668 ac_cv_lib_poll_poll=no
16670 rm -f core conftest.err conftest.$ac_objext \
16671 conftest$ac_exeext conftest.$ac_ext
16672 LIBS=$ac_check_lib_save_LIBS
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16675 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16676 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16677 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16678 POLL_LIBS="-lpoll"
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16685 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16686 if ${ac_cv_search_gethostbyname+:} false; then :
16687 $as_echo_n "(cached) " >&6
16688 else
16689 ac_func_search_save_LIBS=$LIBS
16690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16693 /* Override any GCC internal prototype to avoid an error.
16694 Use char because int might match the return type of a GCC
16695 builtin and then its argument prototype would still apply. */
16696 #ifdef __cplusplus
16697 extern "C"
16698 #endif
16699 char gethostbyname ();
16701 main ()
16703 return gethostbyname ();
16705 return 0;
16707 _ACEOF
16708 for ac_lib in '' nsl; do
16709 if test -z "$ac_lib"; then
16710 ac_res="none required"
16711 else
16712 ac_res=-l$ac_lib
16713 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16715 if ac_fn_c_try_link "$LINENO"; then :
16716 ac_cv_search_gethostbyname=$ac_res
16718 rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext
16720 if ${ac_cv_search_gethostbyname+:} false; then :
16721 break
16723 done
16724 if ${ac_cv_search_gethostbyname+:} false; then :
16726 else
16727 ac_cv_search_gethostbyname=no
16729 rm conftest.$ac_ext
16730 LIBS=$ac_func_search_save_LIBS
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16733 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16734 ac_res=$ac_cv_search_gethostbyname
16735 if test "$ac_res" != no; then :
16736 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16742 $as_echo_n "checking for library containing connect... " >&6; }
16743 if ${ac_cv_search_connect+:} false; then :
16744 $as_echo_n "(cached) " >&6
16745 else
16746 ac_func_search_save_LIBS=$LIBS
16747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16750 /* Override any GCC internal prototype to avoid an error.
16751 Use char because int might match the return type of a GCC
16752 builtin and then its argument prototype would still apply. */
16753 #ifdef __cplusplus
16754 extern "C"
16755 #endif
16756 char connect ();
16758 main ()
16760 return connect ();
16762 return 0;
16764 _ACEOF
16765 for ac_lib in '' socket; do
16766 if test -z "$ac_lib"; then
16767 ac_res="none required"
16768 else
16769 ac_res=-l$ac_lib
16770 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16772 if ac_fn_c_try_link "$LINENO"; then :
16773 ac_cv_search_connect=$ac_res
16775 rm -f core conftest.err conftest.$ac_objext \
16776 conftest$ac_exeext
16777 if ${ac_cv_search_connect+:} false; then :
16778 break
16780 done
16781 if ${ac_cv_search_connect+:} false; then :
16783 else
16784 ac_cv_search_connect=no
16786 rm conftest.$ac_ext
16787 LIBS=$ac_func_search_save_LIBS
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16790 $as_echo "$ac_cv_search_connect" >&6; }
16791 ac_res=$ac_cv_search_connect
16792 if test "$ac_res" != no; then :
16793 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16799 $as_echo_n "checking for library containing inet_aton... " >&6; }
16800 if ${ac_cv_search_inet_aton+:} false; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16803 ac_func_search_save_LIBS=$LIBS
16804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16807 /* Override any GCC internal prototype to avoid an error.
16808 Use char because int might match the return type of a GCC
16809 builtin and then its argument prototype would still apply. */
16810 #ifdef __cplusplus
16811 extern "C"
16812 #endif
16813 char inet_aton ();
16815 main ()
16817 return inet_aton ();
16819 return 0;
16821 _ACEOF
16822 for ac_lib in '' resolv; do
16823 if test -z "$ac_lib"; then
16824 ac_res="none required"
16825 else
16826 ac_res=-l$ac_lib
16827 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16829 if ac_fn_c_try_link "$LINENO"; then :
16830 ac_cv_search_inet_aton=$ac_res
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext
16834 if ${ac_cv_search_inet_aton+:} false; then :
16835 break
16837 done
16838 if ${ac_cv_search_inet_aton+:} false; then :
16840 else
16841 ac_cv_search_inet_aton=no
16843 rm conftest.$ac_ext
16844 LIBS=$ac_func_search_save_LIBS
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16847 $as_echo "$ac_cv_search_inet_aton" >&6; }
16848 ac_res=$ac_cv_search_inet_aton
16849 if test "$ac_res" != no; then :
16850 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16855 for ac_func in \
16856 getaddrinfo \
16857 getnameinfo \
16858 getnetbyname \
16859 getprotobyname \
16860 getprotobynumber \
16861 getservbyport \
16862 inet_addr \
16863 inet_network \
16864 inet_ntop \
16865 inet_pton \
16866 sendmsg \
16867 socketpair \
16869 do :
16870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16873 cat >>confdefs.h <<_ACEOF
16874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16875 _ACEOF
16878 done
16881 ac_save_LIBS=$LIBS
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16883 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16884 if ${ac_cv_search_clock_gettime+:} false; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 ac_func_search_save_LIBS=$LIBS
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16891 /* Override any GCC internal prototype to avoid an error.
16892 Use char because int might match the return type of a GCC
16893 builtin and then its argument prototype would still apply. */
16894 #ifdef __cplusplus
16895 extern "C"
16896 #endif
16897 char clock_gettime ();
16899 main ()
16901 return clock_gettime ();
16903 return 0;
16905 _ACEOF
16906 for ac_lib in '' rt; do
16907 if test -z "$ac_lib"; then
16908 ac_res="none required"
16909 else
16910 ac_res=-l$ac_lib
16911 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_search_clock_gettime=$ac_res
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext
16918 if ${ac_cv_search_clock_gettime+:} false; then :
16919 break
16921 done
16922 if ${ac_cv_search_clock_gettime+:} false; then :
16924 else
16925 ac_cv_search_clock_gettime=no
16927 rm conftest.$ac_ext
16928 LIBS=$ac_func_search_save_LIBS
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16931 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16932 ac_res=$ac_cv_search_clock_gettime
16933 if test "$ac_res" != no; then :
16934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16936 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16938 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16942 LIBS=$ac_save_LIBS
16944 if test "x$with_ldap" != "xno"
16945 then
16946 if ${LDAP_CFLAGS:+false} :; then :
16947 if ${PKG_CONFIG+:} false; then :
16948 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16952 if ${LDAP_LIBS:+false} :; then :
16953 if ${PKG_CONFIG+:} false; then :
16954 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16958 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16959 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16960 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16961 ac_save_CPPFLAGS=$CPPFLAGS
16962 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16963 for ac_header in ldap.h lber.h
16964 do :
16965 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16966 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16968 cat >>confdefs.h <<_ACEOF
16969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16970 _ACEOF
16974 done
16976 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16977 then
16978 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16980 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16982 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16983 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 ac_check_lib_save_LIBS=$LIBS
16987 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16991 /* Override any GCC internal prototype to avoid an error.
16992 Use char because int might match the return type of a GCC
16993 builtin and then its argument prototype would still apply. */
16994 #ifdef __cplusplus
16995 extern "C"
16996 #endif
16997 char ldap_initialize ();
16999 main ()
17001 return ldap_initialize ();
17003 return 0;
17005 _ACEOF
17006 if ac_fn_c_try_link "$LINENO"; then :
17007 ac_cv_lib_ldap_r_ldap_initialize=yes
17008 else
17009 ac_cv_lib_ldap_r_ldap_initialize=no
17011 rm -f core conftest.err conftest.$ac_objext \
17012 conftest$ac_exeext conftest.$ac_ext
17013 LIBS=$ac_check_lib_save_LIBS
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17016 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17017 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17019 $as_echo_n "checking for ber_init in -llber... " >&6; }
17020 if ${ac_cv_lib_lber_ber_init+:} false; then :
17021 $as_echo_n "(cached) " >&6
17022 else
17023 ac_check_lib_save_LIBS=$LIBS
17024 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17031 #ifdef __cplusplus
17032 extern "C"
17033 #endif
17034 char ber_init ();
17036 main ()
17038 return ber_init ();
17040 return 0;
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_lib_lber_ber_init=yes
17045 else
17046 ac_cv_lib_lber_ber_init=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_lib_save_LIBS
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17053 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17054 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17056 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17058 else
17059 LDAP_LIBS=""
17062 else
17063 LDAP_LIBS=""
17066 else
17067 LDAP_LIBS=""
17070 ac_wine_check_funcs_save_LIBS="$LIBS"
17071 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17072 for ac_func in \
17073 ldap_count_references \
17074 ldap_first_reference \
17075 ldap_next_reference \
17076 ldap_parse_reference \
17077 ldap_parse_sort_control \
17078 ldap_parse_sortresponse_control \
17079 ldap_parse_vlv_control \
17080 ldap_parse_vlvresponse_control
17081 do :
17082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17085 cat >>confdefs.h <<_ACEOF
17086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17087 _ACEOF
17090 done
17092 LIBS="$ac_wine_check_funcs_save_LIBS"
17093 else
17094 LDAP_LIBS=""
17096 CPPFLAGS=$ac_save_CPPFLAGS
17097 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17098 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17101 if test "x$LDAP_LIBS" = "x"; then :
17102 case "x$with_ldap" in
17103 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17104 xno) ;;
17105 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17106 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17107 esac
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17112 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17113 if ${wine_cv_one_arg_mkdir+:} false; then :
17114 $as_echo_n "(cached) " >&6
17115 else
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 #include <sys/stat.h>
17120 main ()
17122 mkdir("foo");
17124 return 0;
17126 _ACEOF
17127 if ac_fn_c_try_compile "$LINENO"; then :
17128 wine_cv_one_arg_mkdir=yes
17129 else
17130 wine_cv_one_arg_mkdir=no
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17135 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17136 if test "$wine_cv_one_arg_mkdir" = "yes"
17137 then
17139 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17144 $as_echo_n "checking for sched_setaffinity... " >&6; }
17145 if ${wine_cv_have_sched_setaffinity+:} false; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 #define _GNU_SOURCE
17151 #include <sched.h>
17153 main ()
17155 sched_setaffinity(0, 0, 0);
17157 return 0;
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 wine_cv_have_sched_setaffinity=yes
17162 else
17163 wine_cv_have_sched_setaffinity=no
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17169 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17170 if test "$wine_cv_have_sched_setaffinity" = "yes"
17171 then
17173 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17178 $as_echo_n "checking for fallocate... " >&6; }
17179 if ${wine_cv_have_fallocate+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #define _GNU_SOURCE
17185 #include <fcntl.h>
17187 main ()
17189 fallocate(-1, 0, 0, 0);
17191 return 0;
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 wine_cv_have_fallocate=yes
17196 else
17197 wine_cv_have_fallocate=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17203 $as_echo "$wine_cv_have_fallocate" >&6; }
17204 if test "$wine_cv_have_fallocate" = "yes"
17205 then
17207 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17213 $as_echo_n "checking for inline... " >&6; }
17214 if ${ac_cv_c_inline+:} false; then :
17215 $as_echo_n "(cached) " >&6
17216 else
17217 ac_cv_c_inline=no
17218 for ac_kw in inline __inline__ __inline; do
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 #ifndef __cplusplus
17222 typedef int foo_t;
17223 static $ac_kw foo_t static_foo () {return 0; }
17224 $ac_kw foo_t foo () {return 0; }
17225 #endif
17227 _ACEOF
17228 if ac_fn_c_try_compile "$LINENO"; then :
17229 ac_cv_c_inline=$ac_kw
17231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17232 test "$ac_cv_c_inline" != no && break
17233 done
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17237 $as_echo "$ac_cv_c_inline" >&6; }
17239 case $ac_cv_c_inline in
17240 inline | yes) ;;
17242 case $ac_cv_c_inline in
17243 no) ac_val=;;
17244 *) ac_val=$ac_cv_c_inline;;
17245 esac
17246 cat >>confdefs.h <<_ACEOF
17247 #ifndef __cplusplus
17248 #define inline $ac_val
17249 #endif
17250 _ACEOF
17252 esac
17254 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17255 if test "x$ac_cv_type_mode_t" = xyes; then :
17257 cat >>confdefs.h <<_ACEOF
17258 #define HAVE_MODE_T 1
17259 _ACEOF
17263 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17264 if test "x$ac_cv_type_off_t" = xyes; then :
17266 cat >>confdefs.h <<_ACEOF
17267 #define HAVE_OFF_T 1
17268 _ACEOF
17272 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17273 if test "x$ac_cv_type_pid_t" = xyes; then :
17275 cat >>confdefs.h <<_ACEOF
17276 #define HAVE_PID_T 1
17277 _ACEOF
17281 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17282 if test "x$ac_cv_type_size_t" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_SIZE_T 1
17286 _ACEOF
17290 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17291 if test "x$ac_cv_type_ssize_t" = xyes; then :
17293 cat >>confdefs.h <<_ACEOF
17294 #define HAVE_SSIZE_T 1
17295 _ACEOF
17299 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17300 if test "x$ac_cv_type_long_long" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_LONG_LONG 1
17304 _ACEOF
17308 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17309 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_FSBLKCNT_T 1
17313 _ACEOF
17317 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17318 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_FSFILCNT_T 1
17322 _ACEOF
17327 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17328 #include <signal.h>
17330 if test "x$ac_cv_type_sigset_t" = xyes; then :
17332 cat >>confdefs.h <<_ACEOF
17333 #define HAVE_SIGSET_T 1
17334 _ACEOF
17339 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17341 if test "x$ac_cv_type_request_sense" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_REQUEST_SENSE 1
17345 _ACEOF
17351 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17352 #ifdef HAVE_SYS_SOCKET_H
17353 #include <sys/socket.h>
17354 #endif
17355 #ifdef HAVE_SYS_SOCKETVAR_H
17356 #include <sys/socketvar.h>
17357 #endif
17358 #ifdef HAVE_NET_ROUTE_H
17359 #include <net/route.h>
17360 #endif
17361 #ifdef HAVE_NETINET_IN_H
17362 #include <netinet/in.h>
17363 #endif
17364 #ifdef HAVE_NETINET_IN_SYSTM_H
17365 #include <netinet/in_systm.h>
17366 #endif
17367 #ifdef HAVE_NETINET_IP_H
17368 #include <netinet/ip.h>
17369 #endif
17370 #ifdef HAVE_NETINET_IN_PCB_H
17371 #include <netinet/in_pcb.h>
17372 #endif
17374 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17376 cat >>confdefs.h <<_ACEOF
17377 #define HAVE_STRUCT_XINPGEN 1
17378 _ACEOF
17384 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17385 #include <link.h>
17386 #endif
17387 #ifdef HAVE_SYS_LINK_H
17388 #include <sys/link.h>
17389 #endif
17391 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17393 cat >>confdefs.h <<_ACEOF
17394 #define HAVE_STRUCT_R_DEBUG 1
17395 _ACEOF
17399 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17400 #include <link.h>
17401 #endif
17402 #ifdef HAVE_SYS_LINK_H
17403 #include <sys/link.h>
17404 #endif
17406 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_STRUCT_LINK_MAP 1
17410 _ACEOF
17416 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17417 #include <linux/input.h>
17418 #endif
17420 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17424 _ACEOF
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17431 $as_echo_n "checking for if_nameindex... " >&6; }
17432 if ${wine_cv_have_if_nameindex+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #ifdef HAVE_SYS_TYPES_H
17438 #include <sys/types.h>
17439 #endif
17440 #ifdef HAVE_SYS_SOCKET_H
17441 #include <sys/socket.h>
17442 #endif
17443 #ifdef HAVE_NET_IF_H
17444 # include <net/if.h>
17445 #endif
17447 main ()
17449 struct if_nameindex *p = if_nameindex(); return p->if_index;
17451 return 0;
17453 _ACEOF
17454 if ac_fn_c_try_link "$LINENO"; then :
17455 wine_cv_have_if_nameindex=yes
17456 else
17457 wine_cv_have_if_nameindex=no
17459 rm -f core conftest.err conftest.$ac_objext \
17460 conftest$ac_exeext conftest.$ac_ext
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17463 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17464 if test "$wine_cv_have_if_nameindex" = "yes"
17465 then
17467 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17472 $as_echo_n "checking for sigaddset... " >&6; }
17473 if ${wine_cv_have_sigaddset+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #include <signal.h>
17480 main ()
17482 sigset_t set; sigaddset(&set,SIGTERM);
17484 return 0;
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 wine_cv_have_sigaddset=yes
17489 else
17490 wine_cv_have_sigaddset=no
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17496 $as_echo "$wine_cv_have_sigaddset" >&6; }
17497 if test "$wine_cv_have_sigaddset" = "yes"
17498 then
17500 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17506 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17507 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17508 $as_echo_n "(cached) " >&6
17509 else
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 #include <netdb.h>
17514 main ()
17517 char *name=0;
17518 struct hostent he;
17519 struct hostent *result;
17520 char *buf=0;
17521 int bufsize=0;
17522 int errnr;
17523 char *addr=0;
17524 int addrlen=0;
17525 int addrtype=0;
17526 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17527 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17530 return 0;
17532 _ACEOF
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 wine_cv_linux_gethostbyname_r_6=yes
17535 else
17536 wine_cv_linux_gethostbyname_r_6=no
17539 rm -f core conftest.err conftest.$ac_objext \
17540 conftest$ac_exeext conftest.$ac_ext
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17544 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17545 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17546 then
17548 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17552 if test "$ac_cv_header_linux_joystick_h" = "yes"
17553 then
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17555 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17556 if ${wine_cv_linux_joystick_22_api+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17562 #include <sys/ioctl.h>
17563 #include <sys/types.h>
17564 #include <linux/joystick.h>
17566 struct js_event blub;
17567 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17568 #error "no 2.2 header"
17569 #endif
17572 main ()
17574 /*empty*/
17576 return 0;
17578 _ACEOF
17579 if ac_fn_c_try_compile "$LINENO"; then :
17580 wine_cv_linux_joystick_22_api=yes
17581 else
17582 wine_cv_linux_joystick_22_api=no
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17588 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17589 if test "$wine_cv_linux_joystick_22_api" = "yes"
17590 then
17592 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17598 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17599 #ifdef HAVE_SYS_PARAM_H
17600 # include <sys/param.h>
17601 #endif
17602 #ifdef HAVE_SYS_MOUNT_H
17603 # include <sys/mount.h>
17604 #endif
17605 #ifdef HAVE_SYS_VFS_H
17606 # include <sys/vfs.h>
17607 #endif
17608 #ifdef HAVE_SYS_STATFS_H
17609 # include <sys/statfs.h>
17610 #endif
17612 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17614 cat >>confdefs.h <<_ACEOF
17615 #define HAVE_STRUCT_STATFS_F_BFREE 1
17616 _ACEOF
17620 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17621 #ifdef HAVE_SYS_PARAM_H
17622 # include <sys/param.h>
17623 #endif
17624 #ifdef HAVE_SYS_MOUNT_H
17625 # include <sys/mount.h>
17626 #endif
17627 #ifdef HAVE_SYS_VFS_H
17628 # include <sys/vfs.h>
17629 #endif
17630 #ifdef HAVE_SYS_STATFS_H
17631 # include <sys/statfs.h>
17632 #endif
17634 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17636 cat >>confdefs.h <<_ACEOF
17637 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17638 _ACEOF
17642 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17643 #ifdef HAVE_SYS_PARAM_H
17644 # include <sys/param.h>
17645 #endif
17646 #ifdef HAVE_SYS_MOUNT_H
17647 # include <sys/mount.h>
17648 #endif
17649 #ifdef HAVE_SYS_VFS_H
17650 # include <sys/vfs.h>
17651 #endif
17652 #ifdef HAVE_SYS_STATFS_H
17653 # include <sys/statfs.h>
17654 #endif
17656 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17658 cat >>confdefs.h <<_ACEOF
17659 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17660 _ACEOF
17664 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17665 #ifdef HAVE_SYS_PARAM_H
17666 # include <sys/param.h>
17667 #endif
17668 #ifdef HAVE_SYS_MOUNT_H
17669 # include <sys/mount.h>
17670 #endif
17671 #ifdef HAVE_SYS_VFS_H
17672 # include <sys/vfs.h>
17673 #endif
17674 #ifdef HAVE_SYS_STATFS_H
17675 # include <sys/statfs.h>
17676 #endif
17678 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17680 cat >>confdefs.h <<_ACEOF
17681 #define HAVE_STRUCT_STATFS_F_FFREE 1
17682 _ACEOF
17686 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17687 #ifdef HAVE_SYS_PARAM_H
17688 # include <sys/param.h>
17689 #endif
17690 #ifdef HAVE_SYS_MOUNT_H
17691 # include <sys/mount.h>
17692 #endif
17693 #ifdef HAVE_SYS_VFS_H
17694 # include <sys/vfs.h>
17695 #endif
17696 #ifdef HAVE_SYS_STATFS_H
17697 # include <sys/statfs.h>
17698 #endif
17700 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17702 cat >>confdefs.h <<_ACEOF
17703 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17704 _ACEOF
17708 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17709 #ifdef HAVE_SYS_PARAM_H
17710 # include <sys/param.h>
17711 #endif
17712 #ifdef HAVE_SYS_MOUNT_H
17713 # include <sys/mount.h>
17714 #endif
17715 #ifdef HAVE_SYS_VFS_H
17716 # include <sys/vfs.h>
17717 #endif
17718 #ifdef HAVE_SYS_STATFS_H
17719 # include <sys/statfs.h>
17720 #endif
17722 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17724 cat >>confdefs.h <<_ACEOF
17725 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17726 _ACEOF
17732 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17733 #include <sys/statvfs.h>
17734 #endif
17736 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17738 cat >>confdefs.h <<_ACEOF
17739 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17740 _ACEOF
17746 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17747 #include <dirent.h>
17748 #endif
17750 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17752 cat >>confdefs.h <<_ACEOF
17753 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17754 _ACEOF
17760 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17761 #ifdef HAVE_SYS_SOCKET_H
17762 # include <sys/socket.h>
17763 #endif
17764 #ifdef HAVE_SYS_UN_H
17765 # include <sys/un.h>
17766 #endif
17768 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17770 cat >>confdefs.h <<_ACEOF
17771 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17772 _ACEOF
17776 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17777 #ifdef HAVE_SYS_SOCKET_H
17778 # include <sys/socket.h>
17779 #endif
17780 #ifdef HAVE_SYS_UN_H
17781 # include <sys/un.h>
17782 #endif
17784 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17786 cat >>confdefs.h <<_ACEOF
17787 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17788 _ACEOF
17792 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17793 #ifdef HAVE_SYS_SOCKET_H
17794 # include <sys/socket.h>
17795 #endif
17796 #ifdef HAVE_SYS_UN_H
17797 # include <sys/un.h>
17798 #endif
17800 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17802 cat >>confdefs.h <<_ACEOF
17803 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17804 _ACEOF
17810 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17811 #ifdef HAVE_SCSI_SG_H
17812 #include <scsi/sg.h>
17813 #endif
17815 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_SCSIREQ_T_CMD 1
17819 _ACEOF
17823 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>
17824 #ifdef HAVE_SCSI_SG_H
17825 #include <scsi/sg.h>
17826 #endif
17828 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17830 cat >>confdefs.h <<_ACEOF
17831 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17832 _ACEOF
17838 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17840 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17842 cat >>confdefs.h <<_ACEOF
17843 #define HAVE_SIGINFO_T_SI_FD 1
17844 _ACEOF
17850 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17851 #ifdef HAVE_SYS_MTIO_H
17852 #include <sys/mtio.h>
17853 #endif
17855 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17857 cat >>confdefs.h <<_ACEOF
17858 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17859 _ACEOF
17863 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17864 #ifdef HAVE_SYS_MTIO_H
17865 #include <sys/mtio.h>
17866 #endif
17868 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17870 cat >>confdefs.h <<_ACEOF
17871 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17872 _ACEOF
17876 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17877 #ifdef HAVE_SYS_MTIO_H
17878 #include <sys/mtio.h>
17879 #endif
17881 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17883 cat >>confdefs.h <<_ACEOF
17884 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17885 _ACEOF
17891 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17892 #include <getopt.h>
17893 #endif
17895 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_STRUCT_OPTION_NAME 1
17899 _ACEOF
17905 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17906 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17908 cat >>confdefs.h <<_ACEOF
17909 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17910 _ACEOF
17914 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17915 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17917 cat >>confdefs.h <<_ACEOF
17918 #define HAVE_STRUCT_STAT_ST_MTIM 1
17919 _ACEOF
17923 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17924 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17926 cat >>confdefs.h <<_ACEOF
17927 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17928 _ACEOF
17932 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17933 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_STRUCT_STAT_ST_CTIM 1
17937 _ACEOF
17941 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17942 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17944 cat >>confdefs.h <<_ACEOF
17945 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17946 _ACEOF
17950 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17951 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17953 cat >>confdefs.h <<_ACEOF
17954 #define HAVE_STRUCT_STAT_ST_ATIM 1
17955 _ACEOF
17959 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17960 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17962 cat >>confdefs.h <<_ACEOF
17963 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17964 _ACEOF
17968 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17969 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17971 cat >>confdefs.h <<_ACEOF
17972 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17973 _ACEOF
17977 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17978 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17980 cat >>confdefs.h <<_ACEOF
17981 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17982 _ACEOF
17986 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17987 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17989 cat >>confdefs.h <<_ACEOF
17990 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17991 _ACEOF
17995 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17996 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17998 cat >>confdefs.h <<_ACEOF
17999 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18000 _ACEOF
18004 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18005 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18007 cat >>confdefs.h <<_ACEOF
18008 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18009 _ACEOF
18015 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
18016 #include <sys/types.h>
18017 #endif
18018 #ifdef HAVE_NETINET_IN_H
18019 #include <netinet/in.h>
18020 #endif
18022 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18024 cat >>confdefs.h <<_ACEOF
18025 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18026 _ACEOF
18032 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18033 #include <sys/types.h>
18034 #endif
18035 #ifdef HAVE_NETINET_IN_H
18036 #include <netinet/in.h>
18037 #endif
18038 #ifdef HAVE_RESOLV_H
18039 #include <resolv.h>
18040 #endif
18042 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_STRUCT___RES_STATE 1
18046 _ACEOF
18052 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
18053 #include <resolv.h>
18054 #endif
18056 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18060 _ACEOF
18066 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18067 #include <sys/types.h>
18068 #endif
18069 #ifdef HAVE_NETINET_IN_H
18070 # include <netinet/in.h>
18071 #endif
18072 #ifdef HAVE_ARPA_NAMESER_H
18073 # include <arpa/nameser.h>
18074 #endif
18076 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18078 cat >>confdefs.h <<_ACEOF
18079 #define HAVE_NS_MSG__MSG_PTR 1
18080 _ACEOF
18086 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18087 #include <sys/types.h>
18088 #endif
18089 #ifdef HAVE_NETINET_IN_H
18090 #include <netinet/in.h>
18091 #endif
18092 #ifdef HAVE_NETINET_IP_H
18093 #include <netinet/ip.h>
18094 #endif
18095 #ifdef HAVE_NETINET_IP_ICMP_H
18096 #include <netinet/ip_icmp.h>
18097 #endif
18098 #ifdef HAVE_NETINET_ICMP_VAR_H
18099 #include <netinet/icmp_var.h>
18100 #endif
18102 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18104 cat >>confdefs.h <<_ACEOF
18105 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18106 _ACEOF
18112 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18113 #include <sys/types.h>
18114 #endif
18115 #ifdef HAVE_ALIAS_H
18116 #include <alias.h>
18117 #endif
18118 #ifdef HAVE_SYS_SOCKET_H
18119 #include <sys/socket.h>
18120 #endif
18121 #ifdef HAVE_SYS_SOCKETVAR_H
18122 #include <sys/socketvar.h>
18123 #endif
18124 #ifdef HAVE_SYS_TIMEOUT_H
18125 #include <sys/timeout.h>
18126 #endif
18127 #ifdef HAVE_NETINET_IN_H
18128 #include <netinet/in.h>
18129 #endif
18130 #ifdef HAVE_NETINET_IN_SYSTM_H
18131 #include <netinet/in_systm.h>
18132 #endif
18133 #ifdef HAVE_NETINET_IP_H
18134 #include <netinet/ip.h>
18135 #endif
18136 #ifdef HAVE_NETINET_IP_VAR_H
18137 #include <netinet/ip_var.h>
18138 #endif
18139 #ifdef HAVE_NETINET_IP_ICMP_H
18140 #include <netinet/ip_icmp.h>
18141 #endif
18142 #ifdef HAVE_NETINET_ICMP_VAR_H
18143 #include <netinet/icmp_var.h>
18144 #endif
18146 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18148 cat >>confdefs.h <<_ACEOF
18149 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18150 _ACEOF
18156 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18157 #include <sys/types.h>
18158 #endif
18159 #ifdef HAVE_SYS_SOCKETVAR_H
18160 #include <sys/socketvar.h>
18161 #endif
18162 #ifdef HAVE_NETINET_IN_H
18163 #include <netinet/in.h>
18164 #endif
18165 #ifdef HAVE_NETINET_IP_VAR_H
18166 #include <netinet/ip_var.h>
18167 #endif
18169 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18171 cat >>confdefs.h <<_ACEOF
18172 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18173 _ACEOF
18179 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
18180 #include <netinet/ip_var.h>
18181 #endif
18183 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18185 cat >>confdefs.h <<_ACEOF
18186 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18187 _ACEOF
18193 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18194 #include <sys/types.h>
18195 #endif
18196 #ifdef HAVE_SYS_SOCKETVAR_H
18197 #include <sys/socketvar.h>
18198 #endif
18199 #ifdef HAVE_NETINET_IN_H
18200 #include <netinet/in.h>
18201 #endif
18202 #ifdef HAVE_NETINET_TCP_H
18203 #include <netinet/tcp.h>
18204 #endif
18205 #ifdef HAVE_NETINET_TCP_VAR_H
18206 #include <netinet/tcp_var.h>
18207 #endif
18209 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18211 cat >>confdefs.h <<_ACEOF
18212 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18213 _ACEOF
18219 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
18220 #include <netinet/tcp_var.h>
18221 #endif
18223 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18225 cat >>confdefs.h <<_ACEOF
18226 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18227 _ACEOF
18233 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18234 #include <sys/types.h>
18235 #endif
18236 #ifdef HAVE_NETINET_IN_H
18237 #include <netinet/in.h>
18238 #endif
18239 #ifdef HAVE_NETINET_IP_VAR_H
18240 #include <netinet/ip_var.h>
18241 #endif
18242 #ifdef HAVE_NETINET_UDP_H
18243 #include <netinet/udp.h>
18244 #endif
18245 #ifdef HAVE_NETINET_UDP_VAR_H
18246 #include <netinet/udp_var.h>
18247 #endif
18249 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18251 cat >>confdefs.h <<_ACEOF
18252 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18253 _ACEOF
18259 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18260 #include <sys/types.h>
18261 #endif
18262 #ifdef HAVE_NET_IF_H
18263 # include <net/if.h>
18264 #endif
18266 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18268 cat >>confdefs.h <<_ACEOF
18269 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18270 _ACEOF
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18277 $as_echo_n "checking for timezone variable... " >&6; }
18278 if ${ac_cv_have_timezone+:} false; then :
18279 $as_echo_n "(cached) " >&6
18280 else
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h. */
18283 #include <time.h>
18285 main ()
18287 timezone = 1
18289 return 0;
18291 _ACEOF
18292 if ac_fn_c_try_link "$LINENO"; then :
18293 ac_cv_have_timezone="yes"
18294 else
18295 ac_cv_have_timezone="no"
18297 rm -f core conftest.err conftest.$ac_objext \
18298 conftest$ac_exeext conftest.$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18301 $as_echo "$ac_cv_have_timezone" >&6; }
18302 if test "$ac_cv_have_timezone" = "yes"
18303 then
18305 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18309 $as_echo_n "checking for daylight variable... " >&6; }
18310 if ${ac_cv_have_daylight+:} false; then :
18311 $as_echo_n "(cached) " >&6
18312 else
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #include <time.h>
18317 main ()
18319 daylight = 1
18321 return 0;
18323 _ACEOF
18324 if ac_fn_c_try_link "$LINENO"; then :
18325 ac_cv_have_daylight="yes"
18326 else
18327 ac_cv_have_daylight="no"
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext conftest.$ac_ext
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18333 $as_echo "$ac_cv_have_daylight" >&6; }
18334 if test "$ac_cv_have_daylight" = "yes"
18335 then
18337 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18341 ac_save_LIBS="$LIBS"
18342 LIBS="$LIBS -lm"
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18344 $as_echo_n "checking for isfinite... " >&6; }
18345 if ${ac_cv_have_isfinite+:} false; then :
18346 $as_echo_n "(cached) " >&6
18347 else
18348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18349 /* end confdefs.h. */
18350 #define _GNU_SOURCE
18351 #include <math.h>
18353 main ()
18355 float f = 0.0; return isfinite(f)
18357 return 0;
18359 _ACEOF
18360 if ac_fn_c_try_link "$LINENO"; then :
18361 ac_cv_have_isfinite="yes"
18362 else
18363 ac_cv_have_isfinite="no"
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18369 $as_echo "$ac_cv_have_isfinite" >&6; }
18370 if test "$ac_cv_have_isfinite" = "yes"
18371 then
18373 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18378 $as_echo_n "checking for isinf... " >&6; }
18379 if ${ac_cv_have_isinf+:} false; then :
18380 $as_echo_n "(cached) " >&6
18381 else
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18384 #include <math.h>
18386 main ()
18388 float f = 0.0; return isinf(f)
18390 return 0;
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"; then :
18394 ac_cv_have_isinf="yes"
18395 else
18396 ac_cv_have_isinf="no"
18398 rm -f core conftest.err conftest.$ac_objext \
18399 conftest$ac_exeext conftest.$ac_ext
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18402 $as_echo "$ac_cv_have_isinf" >&6; }
18403 if test "$ac_cv_have_isinf" = "yes"
18404 then
18406 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18411 $as_echo_n "checking for isnan... " >&6; }
18412 if ${ac_cv_have_isnan+:} false; then :
18413 $as_echo_n "(cached) " >&6
18414 else
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18417 #include <math.h>
18419 main ()
18421 float f = 0.0; return isnan(f)
18423 return 0;
18425 _ACEOF
18426 if ac_fn_c_try_link "$LINENO"; then :
18427 ac_cv_have_isnan="yes"
18428 else
18429 ac_cv_have_isnan="no"
18431 rm -f core conftest.err conftest.$ac_objext \
18432 conftest$ac_exeext conftest.$ac_ext
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18435 $as_echo "$ac_cv_have_isnan" >&6; }
18436 if test "$ac_cv_have_isnan" = "yes"
18437 then
18439 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18443 for ac_func in \
18444 acosh \
18445 acoshf \
18446 asinh \
18447 asinhf \
18448 atanh \
18449 atanhf \
18450 cbrt \
18451 cbrtf \
18452 erf \
18453 erfc \
18454 erfcf \
18455 erff \
18456 exp2 \
18457 exp2f \
18458 expm1 \
18459 expm1f \
18460 j0 \
18461 j1 \
18462 jn \
18463 lgamma \
18464 lgammaf \
18465 llrint \
18466 llrintf \
18467 llround \
18468 llroundf \
18469 log1p \
18470 log1pf \
18471 log2 \
18472 log2f \
18473 lrint \
18474 lrintf \
18475 lround \
18476 lroundf \
18477 nearbyint \
18478 nearbyintf \
18479 powl \
18480 remainder \
18481 remainderf \
18482 rint \
18483 rintf \
18484 round \
18485 roundf \
18486 trunc \
18487 truncf \
18488 y0 \
18489 y1 \
18492 do :
18493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18496 cat >>confdefs.h <<_ACEOF
18497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18498 _ACEOF
18501 done
18503 LIBS="$ac_save_LIBS"
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18506 $as_echo_n "checking for __builtin_clz... " >&6; }
18507 if ${ac_cv_have___builtin_clz+:} false; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18514 main ()
18516 return __builtin_clz(1)
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_link "$LINENO"; then :
18522 ac_cv_have___builtin_clz="yes"
18523 else
18524 ac_cv_have___builtin_clz="no"
18526 rm -f core conftest.err conftest.$ac_objext \
18527 conftest$ac_exeext conftest.$ac_ext
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18530 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18531 if test "$ac_cv_have___builtin_clz" = "yes"
18532 then
18534 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18539 $as_echo_n "checking for __builtin_popcount... " >&6; }
18540 if ${ac_cv_have___builtin_popcount+:} false; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18547 main ()
18549 return __builtin_popcount(1)
18551 return 0;
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"; then :
18555 ac_cv_have___builtin_popcount="yes"
18556 else
18557 ac_cv_have___builtin_popcount="no"
18559 rm -f core conftest.err conftest.$ac_objext \
18560 conftest$ac_exeext conftest.$ac_ext
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18563 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18564 if test "$ac_cv_have___builtin_popcount" = "yes"
18565 then
18567 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18572 $as_echo_n "checking for __clear_cache... " >&6; }
18573 if ${ac_cv_have___clear_cache+:} false; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18580 main ()
18582 __clear_cache((void*)0, (void*)0); return 0;
18584 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"; then :
18588 ac_cv_have___clear_cache="yes"
18589 else
18590 ac_cv_have___clear_cache="no"
18592 rm -f core conftest.err conftest.$ac_objext \
18593 conftest$ac_exeext conftest.$ac_ext
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18596 $as_echo "$ac_cv_have___clear_cache" >&6; }
18597 if test "$ac_cv_have___clear_cache" = "yes"
18598 then
18600 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18605 case $host_cpu in
18606 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18607 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18608 if ${ac_cv_cpp_def___i386__+:} false; then :
18609 $as_echo_n "(cached) " >&6
18610 else
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #ifndef __i386__
18615 #endif
18616 _ACEOF
18617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18618 $EGREP "yes" >/dev/null 2>&1; then :
18619 ac_cv_cpp_def___i386__=yes
18620 else
18621 ac_cv_cpp_def___i386__=no
18623 rm -f conftest*
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18627 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18628 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18629 CFLAGS="$CFLAGS -D__i386__"
18630 LINTFLAGS="$LINTFLAGS -D__i386__"
18631 fi ;;
18632 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18633 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18634 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639 #ifndef __x86_64__
18641 #endif
18642 _ACEOF
18643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18644 $EGREP "yes" >/dev/null 2>&1; then :
18645 ac_cv_cpp_def___x86_64__=yes
18646 else
18647 ac_cv_cpp_def___x86_64__=no
18649 rm -f conftest*
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18653 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18654 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18655 CFLAGS="$CFLAGS -D__x86_64__"
18656 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18657 fi ;;
18658 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18659 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18660 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #ifndef __sparc64__
18667 #endif
18668 _ACEOF
18669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18670 $EGREP "yes" >/dev/null 2>&1; then :
18671 ac_cv_cpp_def___sparc64__=yes
18672 else
18673 ac_cv_cpp_def___sparc64__=no
18675 rm -f conftest*
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18679 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18680 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18681 CFLAGS="$CFLAGS -D__sparc64__"
18682 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18683 fi ;;
18684 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18685 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18686 if ${ac_cv_cpp_def___sparc__+:} false; then :
18687 $as_echo_n "(cached) " >&6
18688 else
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 #ifndef __sparc__
18693 #endif
18694 _ACEOF
18695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18696 $EGREP "yes" >/dev/null 2>&1; then :
18697 ac_cv_cpp_def___sparc__=yes
18698 else
18699 ac_cv_cpp_def___sparc__=no
18701 rm -f conftest*
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18705 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18706 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18707 CFLAGS="$CFLAGS -D__sparc__"
18708 LINTFLAGS="$LINTFLAGS -D__sparc__"
18709 fi ;;
18710 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18711 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18712 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18713 $as_echo_n "(cached) " >&6
18714 else
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #ifndef __powerpc64__
18719 #endif
18720 _ACEOF
18721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18722 $EGREP "yes" >/dev/null 2>&1; then :
18723 ac_cv_cpp_def___powerpc64__=yes
18724 else
18725 ac_cv_cpp_def___powerpc64__=no
18727 rm -f conftest*
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18731 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18732 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18733 CFLAGS="$CFLAGS -D__powerpc64__"
18734 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18735 fi ;;
18736 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18737 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18738 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18739 $as_echo_n "(cached) " >&6
18740 else
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 #ifndef __powerpc__
18745 #endif
18746 _ACEOF
18747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18748 $EGREP "yes" >/dev/null 2>&1; then :
18749 ac_cv_cpp_def___powerpc__=yes
18750 else
18751 ac_cv_cpp_def___powerpc__=no
18753 rm -f conftest*
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18757 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18758 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18759 CFLAGS="$CFLAGS -D__powerpc__"
18760 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18761 fi ;;
18762 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18763 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18764 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18765 $as_echo_n "(cached) " >&6
18766 else
18767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18769 #ifndef __aarch64__
18771 #endif
18772 _ACEOF
18773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18774 $EGREP "yes" >/dev/null 2>&1; then :
18775 ac_cv_cpp_def___aarch64__=yes
18776 else
18777 ac_cv_cpp_def___aarch64__=no
18779 rm -f conftest*
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18783 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18784 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18785 CFLAGS="$CFLAGS -D__aarch64__"
18786 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18787 fi ;;
18788 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18789 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18790 if ${ac_cv_cpp_def___arm__+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 #ifndef __arm__
18797 #endif
18798 _ACEOF
18799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18800 $EGREP "yes" >/dev/null 2>&1; then :
18801 ac_cv_cpp_def___arm__=yes
18802 else
18803 ac_cv_cpp_def___arm__=no
18805 rm -f conftest*
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18809 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18810 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18811 CFLAGS="$CFLAGS -D__arm__"
18812 LINTFLAGS="$LINTFLAGS -D__arm__"
18813 fi ;;
18814 esac
18816 case $host_vendor in
18817 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18818 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18819 if ${ac_cv_cpp_def___sun__+:} false; then :
18820 $as_echo_n "(cached) " >&6
18821 else
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18824 #ifndef __sun__
18826 #endif
18827 _ACEOF
18828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18829 $EGREP "yes" >/dev/null 2>&1; then :
18830 ac_cv_cpp_def___sun__=yes
18831 else
18832 ac_cv_cpp_def___sun__=no
18834 rm -f conftest*
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18838 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18839 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18840 CFLAGS="$CFLAGS -D__sun__"
18841 LINTFLAGS="$LINTFLAGS -D__sun__"
18842 fi ;;
18843 esac
18849 ac_config_commands="$ac_config_commands include/stamp-h"
18851 $as_echo_n "creating Makefile rules..." >&6
18853 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18854 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18855 IOKIT_LIBS = $IOKIT_LIBS
18856 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18857 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18858 CORESERVICES_LIBS = $CORESERVICES_LIBS
18859 APPKIT_LIBS = $APPKIT_LIBS
18860 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18861 SECURITY_LIBS = $SECURITY_LIBS
18862 COREAUDIO_LIBS = $COREAUDIO_LIBS
18863 OPENAL_LIBS = $OPENAL_LIBS
18864 OPENCL_LIBS = $OPENCL_LIBS
18865 QUICKTIME_LIBS = $QUICKTIME_LIBS
18866 CARBON_LIBS = $CARBON_LIBS
18867 METAL_LIBS = $METAL_LIBS
18868 PTHREAD_LIBS = $PTHREAD_LIBS
18869 X_CFLAGS = $X_CFLAGS
18870 X_PRE_LIBS = $X_PRE_LIBS
18871 X_LIBS = $X_LIBS
18872 X_EXTRA_LIBS = $X_EXTRA_LIBS
18873 PCAP_LIBS = $PCAP_LIBS
18874 XML2_CFLAGS = $XML2_CFLAGS
18875 XML2_LIBS = $XML2_LIBS
18876 XSLT_CFLAGS = $XSLT_CFLAGS
18877 XSLT_LIBS = $XSLT_LIBS
18878 DBUS_CFLAGS = $DBUS_CFLAGS
18879 DBUS_LIBS = $DBUS_LIBS
18880 HAL_CFLAGS = $HAL_CFLAGS
18881 HAL_LIBS = $HAL_LIBS
18882 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18883 GNUTLS_LIBS = $GNUTLS_LIBS
18884 SANE_CFLAGS = $SANE_CFLAGS
18885 SANE_LIBS = $SANE_LIBS
18886 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18887 GPHOTO2_LIBS = $GPHOTO2_LIBS
18888 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18889 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18890 RESOLV_LIBS = $RESOLV_LIBS
18891 LCMS2_CFLAGS = $LCMS2_CFLAGS
18892 LCMS2_LIBS = $LCMS2_LIBS
18893 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18894 FREETYPE_LIBS = $FREETYPE_LIBS
18895 Z_LIBS = $Z_LIBS
18896 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18897 PULSE_CFLAGS = $PULSE_CFLAGS
18898 PULSE_LIBS = $PULSE_LIBS
18899 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18900 GSTREAMER_LIBS = $GSTREAMER_LIBS
18901 ALSA_LIBS = $ALSA_LIBS
18902 OSS4_CFLAGS = $OSS4_CFLAGS
18903 UDEV_CFLAGS = $UDEV_CFLAGS
18904 UDEV_LIBS = $UDEV_LIBS
18905 SDL2_CFLAGS = $SDL2_CFLAGS
18906 SDL2_LIBS = $SDL2_LIBS
18907 CAPI20_CFLAGS = $CAPI20_CFLAGS
18908 CAPI20_LIBS = $CAPI20_LIBS
18909 CUPS_CFLAGS = $CUPS_CFLAGS
18910 CUPS_LIBS = $CUPS_LIBS
18911 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18912 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18913 KRB5_CFLAGS = $KRB5_CFLAGS
18914 KRB5_LIBS = $KRB5_LIBS
18915 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18916 GSSAPI_LIBS = $GSSAPI_LIBS
18917 JPEG_CFLAGS = $JPEG_CFLAGS
18918 JPEG_LIBS = $JPEG_LIBS
18919 PNG_CFLAGS = $PNG_CFLAGS
18920 PNG_LIBS = $PNG_LIBS
18921 TIFF_CFLAGS = $TIFF_CFLAGS
18922 TIFF_LIBS = $TIFF_LIBS
18923 MPG123_CFLAGS = $MPG123_CFLAGS
18924 MPG123_LIBS = $MPG123_LIBS
18925 KSTAT_LIBS = $KSTAT_LIBS
18926 PROCSTAT_LIBS = $PROCSTAT_LIBS
18927 NETAPI_CFLAGS = $NETAPI_CFLAGS
18928 NETAPI_LIBS = $NETAPI_LIBS
18929 VKD3D_CFLAGS = $VKD3D_CFLAGS
18930 VKD3D_LIBS = $VKD3D_LIBS
18931 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18932 DL_LIBS = $DL_LIBS
18933 POLL_LIBS = $POLL_LIBS
18934 RT_LIBS = $RT_LIBS
18935 LDAP_CFLAGS = $LDAP_CFLAGS
18936 LDAP_LIBS = $LDAP_LIBS
18941 wine_fn_append_rule "
18942 # Rules automatically generated by configure
18944 .INIT: Makefile
18945 .MAKEFILEDEPS:
18946 all: Makefile
18947 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18948 @./config.status Make.tmp Makefile
18949 depend: \$(MAKEDEP) dummy
18950 \$(MAKEDEP)"
18952 if test "x$enable_fonts" != xno; then
18953 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18954 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18955 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18956 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18957 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18958 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18960 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18961 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18962 ac_config_links="$ac_config_links wine:tools/winewrapper"
18963 wine_fn_config_symlink wine
18964 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
18965 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18966 wine_fn_config_symlink wine64
18969 wine_fn_config_makefile dlls/acledit enable_acledit
18970 wine_fn_config_makefile dlls/aclui enable_aclui
18971 wine_fn_config_makefile dlls/activeds enable_activeds
18972 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18973 wine_fn_config_makefile dlls/adsiid enable_adsiid
18974 wine_fn_config_makefile dlls/adsldp enable_adsldp
18975 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18976 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18977 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18978 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18979 wine_fn_config_makefile dlls/advpack enable_advpack
18980 wine_fn_config_makefile dlls/advpack/tests enable_tests
18981 wine_fn_config_makefile dlls/amstream enable_amstream
18982 wine_fn_config_makefile dlls/amstream/tests enable_tests
18983 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18984 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18985 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18986 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18987 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18988 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18989 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18990 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18991 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18992 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18993 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18994 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
18995 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18996 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18997 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18998 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18999 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19000 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19001 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19002 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19003 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19005 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19007 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19008 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19009 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19011 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19014 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19015 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19017 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19018 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19020 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19024 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19026 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19027 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19028 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19030 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19031 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19032 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19035 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19037 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19038 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19041 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19049 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19050 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19054 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19057 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19061 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19062 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19063 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19085 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19089 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19092 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19102 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19107 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19108 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19113 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19115 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19134 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19135 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19154 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19165 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19169 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19171 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19173 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19174 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19179 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19181 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19187 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19190 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19192 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19194 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19198 wine_fn_config_makefile dlls/apphelp enable_apphelp
19199 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19200 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19201 wine_fn_config_makefile dlls/atl enable_atl
19202 wine_fn_config_makefile dlls/atl/tests enable_tests
19203 wine_fn_config_makefile dlls/atl100 enable_atl100
19204 wine_fn_config_makefile dlls/atl100/tests enable_tests
19205 wine_fn_config_makefile dlls/atl110 enable_atl110
19206 wine_fn_config_makefile dlls/atl80 enable_atl80
19207 wine_fn_config_makefile dlls/atl80/tests enable_tests
19208 wine_fn_config_makefile dlls/atl90 enable_atl90
19209 wine_fn_config_makefile dlls/atmlib enable_atmlib
19210 wine_fn_config_makefile dlls/authz enable_authz
19211 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19212 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19213 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19214 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19215 wine_fn_config_makefile dlls/avrt enable_avrt
19216 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19217 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19218 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19219 wine_fn_config_makefile dlls/browseui enable_browseui
19220 wine_fn_config_makefile dlls/browseui/tests enable_tests
19221 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19222 wine_fn_config_makefile dlls/cabinet enable_cabinet
19223 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19224 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19225 wine_fn_config_makefile dlls/cards enable_cards
19226 wine_fn_config_makefile dlls/cdosys enable_cdosys
19227 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19228 wine_fn_config_makefile dlls/clusapi enable_clusapi
19229 wine_fn_config_makefile dlls/combase enable_combase
19230 wine_fn_config_makefile dlls/combase/tests enable_tests
19231 wine_fn_config_makefile dlls/comcat enable_comcat
19232 wine_fn_config_makefile dlls/comcat/tests enable_tests
19233 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19234 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19235 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19236 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19237 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19238 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19239 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19240 wine_fn_config_makefile dlls/compstui enable_compstui
19241 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19242 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19243 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19244 wine_fn_config_makefile dlls/connect enable_connect
19245 wine_fn_config_makefile dlls/credui enable_credui
19246 wine_fn_config_makefile dlls/credui/tests enable_tests
19247 wine_fn_config_makefile dlls/crtdll enable_crtdll
19248 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19249 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19250 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19251 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19252 wine_fn_config_makefile dlls/cryptext enable_cryptext
19253 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19254 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19255 wine_fn_config_makefile dlls/cryptui enable_cryptui
19256 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19257 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19258 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19259 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19260 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19261 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19262 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19263 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19264 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19265 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19266 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19267 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19268 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19269 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19270 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19271 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19272 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19273 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19274 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19275 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19276 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19277 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19278 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19279 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19280 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19281 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19282 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19283 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19284 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19285 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19286 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19287 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19288 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19289 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19290 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19291 wine_fn_config_makefile dlls/d3dim enable_d3dim
19292 wine_fn_config_makefile dlls/d3drm enable_d3drm
19293 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19294 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19295 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19296 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19297 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19298 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19299 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19300 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19301 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19302 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19303 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19304 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19305 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19306 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19307 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19308 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19309 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19310 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19311 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19312 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19313 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19314 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19315 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19316 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19317 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19318 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19319 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19320 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19321 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19322 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19323 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19324 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19325 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19326 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19327 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19328 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19329 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19330 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19331 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19332 wine_fn_config_makefile dlls/davclnt enable_davclnt
19333 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19334 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19335 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19336 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19337 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19338 wine_fn_config_makefile dlls/ddraw enable_ddraw
19339 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19340 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19341 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19342 wine_fn_config_makefile dlls/devenum enable_devenum
19343 wine_fn_config_makefile dlls/devenum/tests enable_tests
19344 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19345 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19346 wine_fn_config_makefile dlls/difxapi enable_difxapi
19347 wine_fn_config_makefile dlls/dinput enable_dinput
19348 wine_fn_config_makefile dlls/dinput/tests enable_tests
19349 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19350 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19351 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19352 wine_fn_config_makefile dlls/dispex enable_dispex
19353 wine_fn_config_makefile dlls/dispex/tests enable_tests
19354 wine_fn_config_makefile dlls/display.drv16 enable_win16
19355 wine_fn_config_makefile dlls/dmband enable_dmband
19356 wine_fn_config_makefile dlls/dmband/tests enable_tests
19357 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19358 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19359 wine_fn_config_makefile dlls/dmime enable_dmime
19360 wine_fn_config_makefile dlls/dmime/tests enable_tests
19361 wine_fn_config_makefile dlls/dmloader enable_dmloader
19362 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19363 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19364 wine_fn_config_makefile dlls/dmscript enable_dmscript
19365 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19366 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19367 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19368 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19369 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19370 wine_fn_config_makefile dlls/dmusic enable_dmusic
19371 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19372 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19373 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19374 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19375 wine_fn_config_makefile dlls/dplay enable_dplay
19376 wine_fn_config_makefile dlls/dplayx enable_dplayx
19377 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19378 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19379 wine_fn_config_makefile dlls/dpnet enable_dpnet
19380 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19381 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19382 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19383 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19384 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19385 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19386 wine_fn_config_makefile dlls/drmclien enable_drmclien
19387 wine_fn_config_makefile dlls/dsound enable_dsound
19388 wine_fn_config_makefile dlls/dsound/tests enable_tests
19389 wine_fn_config_makefile dlls/dsquery enable_dsquery
19390 wine_fn_config_makefile dlls/dssenh enable_dssenh
19391 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19392 wine_fn_config_makefile dlls/dswave enable_dswave
19393 wine_fn_config_makefile dlls/dswave/tests enable_tests
19394 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19395 wine_fn_config_makefile dlls/dwrite enable_dwrite
19396 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19397 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19398 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19399 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19400 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19401 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19402 wine_fn_config_makefile dlls/dxgi enable_dxgi
19403 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19404 wine_fn_config_makefile dlls/dxguid enable_dxguid
19405 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19406 wine_fn_config_makefile dlls/esent enable_esent
19407 wine_fn_config_makefile dlls/evr enable_evr
19408 wine_fn_config_makefile dlls/evr/tests enable_tests
19409 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19410 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19411 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19412 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19413 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19414 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19415 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19416 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19417 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19418 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19419 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19420 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19421 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19422 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19434 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19435 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19436 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19437 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19438 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19440 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
19441 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19443 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19447 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19448 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19449 wine_fn_config_makefile dlls/faultrep enable_faultrep
19450 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19451 wine_fn_config_makefile dlls/feclient enable_feclient
19452 wine_fn_config_makefile dlls/fltlib enable_fltlib
19453 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19454 wine_fn_config_makefile dlls/fntcache enable_fntcache
19455 wine_fn_config_makefile dlls/fontsub enable_fontsub
19456 wine_fn_config_makefile dlls/fusion enable_fusion
19457 wine_fn_config_makefile dlls/fusion/tests enable_tests
19458 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19459 wine_fn_config_makefile dlls/gameux enable_gameux
19460 wine_fn_config_makefile dlls/gameux/tests enable_tests
19461 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19462 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19463 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19464 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19465 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19466 wine_fn_config_makefile dlls/glu32 enable_glu32
19467 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19468 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19469 wine_fn_config_makefile dlls/hal enable_hal
19470 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19471 wine_fn_config_makefile dlls/hid enable_hid
19472 wine_fn_config_makefile dlls/hid/tests enable_tests
19473 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19474 wine_fn_config_makefile dlls/hlink enable_hlink
19475 wine_fn_config_makefile dlls/hlink/tests enable_tests
19476 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19477 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19478 wine_fn_config_makefile dlls/httpapi enable_httpapi
19479 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19480 wine_fn_config_makefile dlls/iccvid enable_iccvid
19481 wine_fn_config_makefile dlls/icmp enable_icmp
19482 wine_fn_config_makefile dlls/ieframe enable_ieframe
19483 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19484 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19485 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19486 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19487 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19488 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19489 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19490 wine_fn_config_makefile dlls/imm32 enable_imm32
19491 wine_fn_config_makefile dlls/imm32/tests enable_tests
19492 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19493 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19494 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19495 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19496 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19497 wine_fn_config_makefile dlls/infosoft enable_infosoft
19498 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19499 wine_fn_config_makefile dlls/initpki enable_initpki
19500 wine_fn_config_makefile dlls/inkobj enable_inkobj
19501 wine_fn_config_makefile dlls/inseng enable_inseng
19502 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19503 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19504 wine_fn_config_makefile dlls/iprop enable_iprop
19505 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19506 wine_fn_config_makefile dlls/itircl enable_itircl
19507 wine_fn_config_makefile dlls/itss enable_itss
19508 wine_fn_config_makefile dlls/itss/tests enable_tests
19509 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19510 wine_fn_config_makefile dlls/jscript enable_jscript
19511 wine_fn_config_makefile dlls/jscript/tests enable_tests
19512 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19513 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19514 wine_fn_config_makefile dlls/kerberos enable_kerberos
19515 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19516 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19517 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19518 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19519 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19520 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19521 wine_fn_config_makefile dlls/ksuser enable_ksuser
19522 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19523 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19524 wine_fn_config_makefile dlls/loadperf enable_loadperf
19525 wine_fn_config_makefile dlls/localspl enable_localspl
19526 wine_fn_config_makefile dlls/localspl/tests enable_tests
19527 wine_fn_config_makefile dlls/localui enable_localui
19528 wine_fn_config_makefile dlls/localui/tests enable_tests
19529 wine_fn_config_makefile dlls/lz32 enable_lz32
19530 wine_fn_config_makefile dlls/lz32/tests enable_tests
19531 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19532 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19533 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19534 wine_fn_config_makefile dlls/mapistub enable_mapistub
19535 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19536 wine_fn_config_makefile dlls/mcicda enable_mcicda
19537 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19538 wine_fn_config_makefile dlls/mciseq enable_mciseq
19539 wine_fn_config_makefile dlls/mciwave enable_mciwave
19540 wine_fn_config_makefile dlls/mf enable_mf
19541 wine_fn_config_makefile dlls/mf/tests enable_tests
19542 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19543 wine_fn_config_makefile dlls/mfplat enable_mfplat
19544 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19545 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19546 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19547 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19548 wine_fn_config_makefile dlls/midimap enable_midimap
19549 wine_fn_config_makefile dlls/mlang enable_mlang
19550 wine_fn_config_makefile dlls/mlang/tests enable_tests
19551 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19552 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19553 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19554 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19555 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19556 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19557 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19558 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19559 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19560 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19561 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19562 wine_fn_config_makefile dlls/mpr enable_mpr
19563 wine_fn_config_makefile dlls/mpr/tests enable_tests
19564 wine_fn_config_makefile dlls/mprapi enable_mprapi
19565 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19566 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19567 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19568 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19569 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19570 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19571 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19572 wine_fn_config_makefile dlls/mscms enable_mscms
19573 wine_fn_config_makefile dlls/mscms/tests enable_tests
19574 wine_fn_config_makefile dlls/mscoree enable_mscoree
19575 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19576 wine_fn_config_makefile dlls/msctf enable_msctf
19577 wine_fn_config_makefile dlls/msctf/tests enable_tests
19578 wine_fn_config_makefile dlls/msctfp enable_msctfp
19579 wine_fn_config_makefile dlls/msdaps enable_msdaps
19580 wine_fn_config_makefile dlls/msdelta enable_msdelta
19581 wine_fn_config_makefile dlls/msdmo enable_msdmo
19582 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19583 wine_fn_config_makefile dlls/msdrm enable_msdrm
19584 wine_fn_config_makefile dlls/msftedit enable_msftedit
19585 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19586 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19587 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19588 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19589 wine_fn_config_makefile dlls/mshtml enable_mshtml
19590 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19591 wine_fn_config_makefile dlls/msi enable_msi
19592 wine_fn_config_makefile dlls/msi/tests enable_tests
19593 wine_fn_config_makefile dlls/msident enable_msident
19594 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19595 wine_fn_config_makefile dlls/msimsg enable_msimsg
19596 wine_fn_config_makefile dlls/msimtf enable_msimtf
19597 wine_fn_config_makefile dlls/msisip enable_msisip
19598 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19599 wine_fn_config_makefile dlls/msls31 enable_msls31
19600 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19601 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19602 wine_fn_config_makefile dlls/msports enable_msports
19603 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19604 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19605 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19606 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19607 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19608 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19609 wine_fn_config_makefile dlls/mstask enable_mstask
19610 wine_fn_config_makefile dlls/mstask/tests enable_tests
19611 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19612 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19613 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19614 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19615 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19616 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19617 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19618 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19619 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19620 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19621 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19622 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19623 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19624 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19625 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19626 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19627 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19628 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19629 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19630 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19631 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19632 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19633 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19634 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19635 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19636 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19637 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19638 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19639 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19640 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19641 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19642 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19644 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19645 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19646 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19647 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19648 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19649 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19650 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19651 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19652 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19653 wine_fn_config_makefile dlls/mswsock enable_mswsock
19654 wine_fn_config_makefile dlls/msxml enable_msxml
19655 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19656 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19657 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19658 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19659 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19660 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19661 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19662 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19663 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19664 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19665 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19666 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19667 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19668 wine_fn_config_makefile dlls/netprofm enable_netprofm
19669 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19670 wine_fn_config_makefile dlls/newdev enable_newdev
19671 wine_fn_config_makefile dlls/ninput enable_ninput
19672 wine_fn_config_makefile dlls/ninput/tests enable_tests
19673 wine_fn_config_makefile dlls/normaliz enable_normaliz
19674 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19675 wine_fn_config_makefile dlls/npptools enable_npptools
19676 wine_fn_config_makefile dlls/ntdll enable_ntdll
19677 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19678 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19679 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19680 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19681 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19682 wine_fn_config_makefile dlls/ntprint enable_ntprint
19683 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19684 wine_fn_config_makefile dlls/objsel enable_objsel
19685 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19686 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19687 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19688 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19689 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19690 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19691 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19692 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19693 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19694 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19695 wine_fn_config_makefile dlls/ole32 enable_ole32
19696 wine_fn_config_makefile dlls/ole32/tests enable_tests
19697 wine_fn_config_makefile dlls/oleacc enable_oleacc
19698 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19699 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19700 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19701 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19702 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19703 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19704 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19705 wine_fn_config_makefile dlls/oledlg enable_oledlg
19706 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19707 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19708 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19709 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19710 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19711 wine_fn_config_makefile dlls/opcservices enable_opcservices
19712 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19713 wine_fn_config_makefile dlls/openal32 enable_openal32
19714 wine_fn_config_makefile dlls/opencl enable_opencl
19715 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19716 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19717 wine_fn_config_makefile dlls/packager enable_packager
19718 wine_fn_config_makefile dlls/packager/tests enable_tests
19719 wine_fn_config_makefile dlls/pdh enable_pdh
19720 wine_fn_config_makefile dlls/pdh/tests enable_tests
19721 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19722 wine_fn_config_makefile dlls/pidgen enable_pidgen
19723 wine_fn_config_makefile dlls/powrprof enable_powrprof
19724 wine_fn_config_makefile dlls/printui enable_printui
19725 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19726 wine_fn_config_makefile dlls/propsys enable_propsys
19727 wine_fn_config_makefile dlls/propsys/tests enable_tests
19728 wine_fn_config_makefile dlls/psapi enable_psapi
19729 wine_fn_config_makefile dlls/psapi/tests enable_tests
19730 wine_fn_config_makefile dlls/pstorec enable_pstorec
19731 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19732 wine_fn_config_makefile dlls/qcap enable_qcap
19733 wine_fn_config_makefile dlls/qcap/tests enable_tests
19734 wine_fn_config_makefile dlls/qedit enable_qedit
19735 wine_fn_config_makefile dlls/qedit/tests enable_tests
19736 wine_fn_config_makefile dlls/qmgr enable_qmgr
19737 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19738 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19739 wine_fn_config_makefile dlls/quartz enable_quartz
19740 wine_fn_config_makefile dlls/quartz/tests enable_tests
19741 wine_fn_config_makefile dlls/query enable_query
19742 wine_fn_config_makefile dlls/qwave enable_qwave
19743 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19744 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19745 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19746 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19747 wine_fn_config_makefile dlls/regapi enable_regapi
19748 wine_fn_config_makefile dlls/resutils enable_resutils
19749 wine_fn_config_makefile dlls/riched20 enable_riched20
19750 wine_fn_config_makefile dlls/riched20/tests enable_tests
19751 wine_fn_config_makefile dlls/riched32 enable_riched32
19752 wine_fn_config_makefile dlls/riched32/tests enable_tests
19753 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19754 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19755 wine_fn_config_makefile dlls/rsabase enable_rsabase
19756 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19757 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19758 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19759 wine_fn_config_makefile dlls/rtutils enable_rtutils
19760 wine_fn_config_makefile dlls/samlib enable_samlib
19761 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19762 wine_fn_config_makefile dlls/sapi enable_sapi
19763 wine_fn_config_makefile dlls/sapi/tests enable_tests
19764 wine_fn_config_makefile dlls/sas enable_sas
19765 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19766 wine_fn_config_makefile dlls/sccbase enable_sccbase
19767 wine_fn_config_makefile dlls/schannel enable_schannel
19768 wine_fn_config_makefile dlls/schannel/tests enable_tests
19769 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19770 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19771 wine_fn_config_makefile dlls/scrobj enable_scrobj
19772 wine_fn_config_makefile dlls/scrrun enable_scrrun
19773 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19774 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19775 wine_fn_config_makefile dlls/secur32 enable_secur32
19776 wine_fn_config_makefile dlls/secur32/tests enable_tests
19777 wine_fn_config_makefile dlls/security enable_security
19778 wine_fn_config_makefile dlls/sensapi enable_sensapi
19779 wine_fn_config_makefile dlls/serialui enable_serialui
19780 wine_fn_config_makefile dlls/serialui/tests enable_tests
19781 wine_fn_config_makefile dlls/setupapi enable_setupapi
19782 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19783 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19784 wine_fn_config_makefile dlls/sfc enable_sfc
19785 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19786 wine_fn_config_makefile dlls/shcore enable_shcore
19787 wine_fn_config_makefile dlls/shcore/tests enable_tests
19788 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19789 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19790 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19791 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19792 wine_fn_config_makefile dlls/shell32 enable_shell32
19793 wine_fn_config_makefile dlls/shell32/tests enable_tests
19794 wine_fn_config_makefile dlls/shfolder enable_shfolder
19795 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19796 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19797 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19798 wine_fn_config_makefile dlls/slc enable_slc
19799 wine_fn_config_makefile dlls/slc/tests enable_tests
19800 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19801 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19802 wine_fn_config_makefile dlls/softpub enable_softpub
19803 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19804 wine_fn_config_makefile dlls/spoolss enable_spoolss
19805 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19806 wine_fn_config_makefile dlls/srclient enable_srclient
19807 wine_fn_config_makefile dlls/sspicli enable_sspicli
19808 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19809 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19810 wine_fn_config_makefile dlls/sti enable_sti
19811 wine_fn_config_makefile dlls/sti/tests enable_tests
19812 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19813 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19814 wine_fn_config_makefile dlls/strmbase enable_strmbase
19815 wine_fn_config_makefile dlls/strmdll enable_strmdll
19816 wine_fn_config_makefile dlls/strmiids enable_strmiids
19817 wine_fn_config_makefile dlls/svrapi enable_svrapi
19818 wine_fn_config_makefile dlls/sxs enable_sxs
19819 wine_fn_config_makefile dlls/sxs/tests enable_tests
19820 wine_fn_config_makefile dlls/system.drv16 enable_win16
19821 wine_fn_config_makefile dlls/t2embed enable_t2embed
19822 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19823 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19824 wine_fn_config_makefile dlls/taskschd enable_taskschd
19825 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19826 wine_fn_config_makefile dlls/tdh enable_tdh
19827 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19828 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19829 wine_fn_config_makefile dlls/traffic enable_traffic
19830 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19831 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19832 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19833 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19834 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19835 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19836 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19837 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19838 wine_fn_config_makefile dlls/unicows enable_unicows
19839 wine_fn_config_makefile dlls/updspapi enable_updspapi
19840 wine_fn_config_makefile dlls/url enable_url
19841 wine_fn_config_makefile dlls/urlmon enable_urlmon
19842 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19843 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19844 wine_fn_config_makefile dlls/user.exe16 enable_win16
19845 wine_fn_config_makefile dlls/user32 enable_user32
19846 wine_fn_config_makefile dlls/user32/tests enable_tests
19847 wine_fn_config_makefile dlls/userenv enable_userenv
19848 wine_fn_config_makefile dlls/userenv/tests enable_tests
19849 wine_fn_config_makefile dlls/usp10 enable_usp10
19850 wine_fn_config_makefile dlls/usp10/tests enable_tests
19851 wine_fn_config_makefile dlls/uuid enable_uuid
19852 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19853 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19854 wine_fn_config_makefile dlls/vbscript enable_vbscript
19855 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19856 wine_fn_config_makefile dlls/vcomp enable_vcomp
19857 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19858 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19859 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19860 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19861 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19862 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19863 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19864 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19865 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19866 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19867 wine_fn_config_makefile dlls/version enable_version
19868 wine_fn_config_makefile dlls/version/tests enable_tests
19869 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19870 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19871 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19872 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19873 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19874 wine_fn_config_makefile dlls/vssapi enable_vssapi
19875 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19876 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19877 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19878 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19879 wine_fn_config_makefile dlls/w32skrnl enable_win16
19880 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19881 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19882 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19883 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19884 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19885 wine_fn_config_makefile dlls/wdscore enable_wdscore
19886 wine_fn_config_makefile dlls/webservices enable_webservices
19887 wine_fn_config_makefile dlls/webservices/tests enable_tests
19888 wine_fn_config_makefile dlls/wer enable_wer
19889 wine_fn_config_makefile dlls/wer/tests enable_tests
19890 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19891 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19892 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19893 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19894 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19895 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19896 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19897 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19898 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19899 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19900 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19901 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19902 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19903 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19904 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19905 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19906 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19907 wine_fn_config_makefile dlls/wined3d enable_wined3d
19908 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19909 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19910 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19911 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19912 wine_fn_config_makefile dlls/winemapi enable_winemapi
19913 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19914 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19915 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19916 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19917 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19918 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19919 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19920 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19921 wine_fn_config_makefile dlls/wing32 enable_wing32
19922 wine_fn_config_makefile dlls/winhttp enable_winhttp
19923 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19924 wine_fn_config_makefile dlls/wininet enable_wininet
19925 wine_fn_config_makefile dlls/wininet/tests enable_tests
19926 wine_fn_config_makefile dlls/winmm enable_winmm
19927 wine_fn_config_makefile dlls/winmm/tests enable_tests
19928 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19929 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19930 wine_fn_config_makefile dlls/winscard enable_winscard
19931 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19932 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19933 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19934 wine_fn_config_makefile dlls/winsta enable_winsta
19935 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19936 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19937 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19938 wine_fn_config_makefile dlls/wintrust enable_wintrust
19939 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19940 wine_fn_config_makefile dlls/winusb enable_winusb
19941 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19942 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19943 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19944 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19945 wine_fn_config_makefile dlls/wmasf enable_wmasf
19946 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19947 wine_fn_config_makefile dlls/wmi enable_wmi
19948 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19949 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19950 wine_fn_config_makefile dlls/wmp enable_wmp
19951 wine_fn_config_makefile dlls/wmp/tests enable_tests
19952 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19953 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19954 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19955 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19956 wine_fn_config_makefile dlls/wow32 enable_win16
19957 wine_fn_config_makefile dlls/wpc enable_wpc
19958 wine_fn_config_makefile dlls/wpc/tests enable_tests
19959 wine_fn_config_makefile dlls/wpcap enable_wpcap
19960 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19961 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19962 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19963 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19964 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19965 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19966 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19967 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19968 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19969 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19970 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19971 wine_fn_config_makefile dlls/wuapi enable_wuapi
19972 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19973 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19974 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19975 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19976 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19977 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19978 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19979 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19980 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19981 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19982 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19983 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19984 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19985 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19986 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19987 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19988 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19989 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19990 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19991 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19992 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19993 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19994 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19995 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19996 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19997 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19998 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19999 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20000 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20001 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20002 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20003 wine_fn_config_makefile dlls/xmllite enable_xmllite
20004 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20005 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20006 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20007 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20008 wine_fn_config_makefile fonts enable_fonts
20009 wine_fn_config_makefile include enable_include
20010 wine_fn_config_makefile libs/port enable_port
20011 wine_fn_config_makefile libs/wine enable_wine
20012 wine_fn_config_makefile libs/wpp enable_wpp
20013 wine_fn_config_makefile loader enable_loader
20014 wine_fn_config_makefile po enable_po
20015 wine_fn_config_makefile programs/arp enable_arp
20016 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20017 wine_fn_config_makefile programs/attrib enable_attrib
20018 wine_fn_config_makefile programs/cabarc enable_cabarc
20019 wine_fn_config_makefile programs/cacls enable_cacls
20020 wine_fn_config_makefile programs/clock enable_clock
20021 wine_fn_config_makefile programs/cmd enable_cmd
20022 wine_fn_config_makefile programs/cmd/tests enable_tests
20023 wine_fn_config_makefile programs/conhost enable_conhost
20024 wine_fn_config_makefile programs/control enable_control
20025 wine_fn_config_makefile programs/cscript enable_cscript
20026 wine_fn_config_makefile programs/dism enable_dism
20027 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20028 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20029 wine_fn_config_makefile programs/eject enable_eject
20030 wine_fn_config_makefile programs/expand enable_expand
20031 wine_fn_config_makefile programs/explorer enable_explorer
20032 wine_fn_config_makefile programs/extrac32 enable_extrac32
20033 wine_fn_config_makefile programs/fc enable_fc
20034 wine_fn_config_makefile programs/find enable_find
20035 wine_fn_config_makefile programs/findstr enable_findstr
20036 wine_fn_config_makefile programs/fsutil enable_fsutil
20037 wine_fn_config_makefile programs/hh enable_hh
20038 wine_fn_config_makefile programs/hostname enable_hostname
20039 wine_fn_config_makefile programs/icacls enable_icacls
20040 wine_fn_config_makefile programs/icinfo enable_icinfo
20041 wine_fn_config_makefile programs/iexplore enable_iexplore
20042 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20043 wine_fn_config_makefile programs/lodctr enable_lodctr
20044 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20045 wine_fn_config_makefile programs/mshta enable_mshta
20046 wine_fn_config_makefile programs/msiexec enable_msiexec
20047 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20048 wine_fn_config_makefile programs/net enable_net
20049 wine_fn_config_makefile programs/netsh enable_netsh
20050 wine_fn_config_makefile programs/netstat enable_netstat
20051 wine_fn_config_makefile programs/ngen enable_ngen
20052 wine_fn_config_makefile programs/notepad enable_notepad
20053 wine_fn_config_makefile programs/oleview enable_oleview
20054 wine_fn_config_makefile programs/ping enable_ping
20055 wine_fn_config_makefile programs/plugplay enable_plugplay
20056 wine_fn_config_makefile programs/powershell enable_powershell
20057 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20058 wine_fn_config_makefile programs/progman enable_progman
20059 wine_fn_config_makefile programs/reg enable_reg
20060 wine_fn_config_makefile programs/reg/tests enable_tests
20061 wine_fn_config_makefile programs/regasm enable_regasm
20062 wine_fn_config_makefile programs/regedit enable_regedit
20063 wine_fn_config_makefile programs/regedit/tests enable_tests
20064 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20065 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20066 wine_fn_config_makefile programs/rpcss enable_rpcss
20067 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20068 wine_fn_config_makefile programs/rundll32 enable_rundll32
20069 wine_fn_config_makefile programs/sc enable_sc
20070 wine_fn_config_makefile programs/schtasks enable_schtasks
20071 wine_fn_config_makefile programs/schtasks/tests enable_tests
20072 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20073 wine_fn_config_makefile programs/secedit enable_secedit
20074 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20075 wine_fn_config_makefile programs/services enable_services
20076 wine_fn_config_makefile programs/services/tests enable_tests
20077 wine_fn_config_makefile programs/shutdown enable_shutdown
20078 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20079 wine_fn_config_makefile programs/start enable_start
20080 wine_fn_config_makefile programs/subst enable_subst
20081 wine_fn_config_makefile programs/svchost enable_svchost
20082 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20083 wine_fn_config_makefile programs/taskkill enable_taskkill
20084 wine_fn_config_makefile programs/tasklist enable_tasklist
20085 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20086 wine_fn_config_makefile programs/termsv enable_termsv
20087 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20088 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20089 wine_fn_config_makefile programs/view enable_view
20090 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20091 wine_fn_config_makefile programs/wineboot enable_wineboot
20092 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20093 wine_fn_config_makefile programs/winecfg enable_winecfg
20094 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20095 wine_fn_config_makefile programs/winedbg enable_winedbg
20096 wine_fn_config_makefile programs/winedevice enable_winedevice
20097 wine_fn_config_makefile programs/winefile enable_winefile
20098 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20099 wine_fn_config_makefile programs/winemine enable_winemine
20100 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20101 wine_fn_config_makefile programs/winepath enable_winepath
20102 wine_fn_config_makefile programs/winetest enable_winetest
20103 wine_fn_config_makefile programs/winevdm enable_win16
20104 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20105 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20106 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20107 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20108 wine_fn_config_makefile programs/winver enable_winver
20109 wine_fn_config_makefile programs/wmic enable_wmic
20110 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20111 wine_fn_config_makefile programs/wordpad enable_wordpad
20112 wine_fn_config_makefile programs/write enable_write
20113 wine_fn_config_makefile programs/wscript enable_wscript
20114 wine_fn_config_makefile programs/wscript/tests enable_tests
20115 wine_fn_config_makefile programs/wusa enable_wusa
20116 wine_fn_config_makefile programs/xcopy enable_xcopy
20117 wine_fn_config_makefile programs/xcopy/tests enable_tests
20118 wine_fn_config_makefile server enable_server
20119 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20120 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20121 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20122 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20126 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20130 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20131 wine_fn_append_file CONFIGURE_TARGETS "tags"
20132 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20133 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20134 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20135 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20136 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20137 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20139 if test "x$enable_tools" != xno
20140 then
20141 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20142 ac_config_commands="$ac_config_commands tools/makedep"
20146 ac_config_commands="$ac_config_commands Makefile"
20149 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20153 if test "x$enable_maintainer_mode" = xyes
20154 then
20155 wine_fn_append_rule "configure: configure.ac aclocal.m4
20156 autoconf --warnings=all
20157 include/config.h.in: include/stamp-h.in
20158 include/stamp-h.in: configure.ac aclocal.m4
20159 autoheader --warnings=all
20160 @echo timestamp > \$@"
20163 if test "x$enable_tools" != xno
20164 then
20165 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20166 @./config.status tools/makedep
20167 Makefile: tools/makedep$ac_exeext
20168 fonts: tools/sfnt2fon
20169 include: tools tools/widl"
20170 else
20171 wine_fn_append_rule "\$(MAKEDEP):
20172 @echo \"You need to run make in $TOOLSDIR first\" && false"
20175 if test -n "$with_wine64"
20176 then
20177 case "$with_wine64" in
20178 /*) reldir="" ;;
20179 *) reldir="../" ;;
20180 esac
20181 rm -f fonts server 2>/dev/null
20182 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20183 loader/wine64 loader/wine64-preloader:
20184 \$(RM) \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20185 $with_wine64/loader/wine:
20186 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20187 $with_wine64/loader/wine-preloader:
20188 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20189 clean::
20190 \$(RM) loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20191 else
20192 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20193 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20194 fonts \
20195 loader/l_intl.nls \
20196 loader/wine.inf \
20197 programs/msiexec/msiexec \
20198 programs/notepad/notepad \
20199 programs/regedit/regedit \
20200 programs/regsvr32/regsvr32 \
20201 programs/wineboot/wineboot \
20202 programs/winecfg/winecfg \
20203 programs/wineconsole/wineconsole \
20204 programs/winedbg/winedbg \
20205 programs/winefile/winefile \
20206 programs/winemine/winemine \
20207 programs/winepath/winepath \
20208 server/wineserver"
20210 case $host_os in
20211 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20212 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20213 esac
20216 $as_echo " done" >&6
20217 cat >confcache <<\_ACEOF
20218 # This file is a shell script that caches the results of configure
20219 # tests run on this system so they can be shared between configure
20220 # scripts and configure runs, see configure's option --config-cache.
20221 # It is not useful on other systems. If it contains results you don't
20222 # want to keep, you may remove or edit it.
20224 # config.status only pays attention to the cache file if you give it
20225 # the --recheck option to rerun configure.
20227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20229 # following values.
20231 _ACEOF
20233 # The following way of writing the cache mishandles newlines in values,
20234 # but we know of no workaround that is simple, portable, and efficient.
20235 # So, we kill variables containing newlines.
20236 # Ultrix sh set writes to stderr and can't be redirected directly,
20237 # and sets the high bit in the cache file unless we assign to the vars.
20239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20240 eval ac_val=\$$ac_var
20241 case $ac_val in #(
20242 *${as_nl}*)
20243 case $ac_var in #(
20244 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20245 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20246 esac
20247 case $ac_var in #(
20248 _ | IFS | as_nl) ;; #(
20249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20250 *) { eval $ac_var=; unset $ac_var;} ;;
20251 esac ;;
20252 esac
20253 done
20255 (set) 2>&1 |
20256 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20257 *${as_nl}ac_space=\ *)
20258 # `set' does not quote correctly, so add quotes: double-quote
20259 # substitution turns \\\\ into \\, and sed turns \\ into \.
20260 sed -n \
20261 "s/'/'\\\\''/g;
20262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20263 ;; #(
20265 # `set' quotes correctly as required by POSIX, so do not add quotes.
20266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20268 esac |
20269 sort
20271 sed '
20272 /^ac_cv_env_/b end
20273 t clear
20274 :clear
20275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20276 t end
20277 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20278 :end' >>confcache
20279 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20280 if test -w "$cache_file"; then
20281 if test "x$cache_file" != "x/dev/null"; then
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20283 $as_echo "$as_me: updating cache $cache_file" >&6;}
20284 if test ! -f "$cache_file" || test -h "$cache_file"; then
20285 cat confcache >"$cache_file"
20286 else
20287 case $cache_file in #(
20288 */* | ?:*)
20289 mv -f confcache "$cache_file"$$ &&
20290 mv -f "$cache_file"$$ "$cache_file" ;; #(
20292 mv -f confcache "$cache_file" ;;
20293 esac
20296 else
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20298 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20301 rm -f confcache
20303 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20304 # Let make expand exec_prefix.
20305 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20307 DEFS=-DHAVE_CONFIG_H
20309 ac_libobjs=
20310 ac_ltlibobjs=
20312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20313 # 1. Remove the extension, and $U if already installed.
20314 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20315 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20316 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20317 # will be set to the directory where LIBOBJS objects are built.
20318 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20319 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20320 done
20321 LIBOBJS=$ac_libobjs
20323 LTLIBOBJS=$ac_ltlibobjs
20327 : "${CONFIG_STATUS=./config.status}"
20328 ac_write_fail=0
20329 ac_clean_files_save=$ac_clean_files
20330 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20332 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20333 as_write_fail=0
20334 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20335 #! $SHELL
20336 # Generated by $as_me.
20337 # Run this file to recreate the current configuration.
20338 # Compiler output produced by configure, useful for debugging
20339 # configure, is in config.log if it exists.
20341 debug=false
20342 ac_cs_recheck=false
20343 ac_cs_silent=false
20345 SHELL=\${CONFIG_SHELL-$SHELL}
20346 export SHELL
20347 _ASEOF
20348 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20349 ## -------------------- ##
20350 ## M4sh Initialization. ##
20351 ## -------------------- ##
20353 # Be more Bourne compatible
20354 DUALCASE=1; export DUALCASE # for MKS sh
20355 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20356 emulate sh
20357 NULLCMD=:
20358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20359 # is contrary to our usage. Disable this feature.
20360 alias -g '${1+"$@"}'='"$@"'
20361 setopt NO_GLOB_SUBST
20362 else
20363 case `(set -o) 2>/dev/null` in #(
20364 *posix*) :
20365 set -o posix ;; #(
20366 *) :
20368 esac
20372 as_nl='
20374 export as_nl
20375 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20376 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20379 # Prefer a ksh shell builtin over an external printf program on Solaris,
20380 # but without wasting forks for bash or zsh.
20381 if test -z "$BASH_VERSION$ZSH_VERSION" \
20382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20383 as_echo='print -r --'
20384 as_echo_n='print -rn --'
20385 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20386 as_echo='printf %s\n'
20387 as_echo_n='printf %s'
20388 else
20389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20390 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20391 as_echo_n='/usr/ucb/echo -n'
20392 else
20393 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20394 as_echo_n_body='eval
20395 arg=$1;
20396 case $arg in #(
20397 *"$as_nl"*)
20398 expr "X$arg" : "X\\(.*\\)$as_nl";
20399 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20400 esac;
20401 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20403 export as_echo_n_body
20404 as_echo_n='sh -c $as_echo_n_body as_echo'
20406 export as_echo_body
20407 as_echo='sh -c $as_echo_body as_echo'
20410 # The user is always right.
20411 if test "${PATH_SEPARATOR+set}" != set; then
20412 PATH_SEPARATOR=:
20413 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20414 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20415 PATH_SEPARATOR=';'
20420 # IFS
20421 # We need space, tab and new line, in precisely that order. Quoting is
20422 # there to prevent editors from complaining about space-tab.
20423 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20424 # splitting by setting IFS to empty value.)
20425 IFS=" "" $as_nl"
20427 # Find who we are. Look in the path if we contain no directory separator.
20428 as_myself=
20429 case $0 in #((
20430 *[\\/]* ) as_myself=$0 ;;
20431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20432 for as_dir in $PATH
20434 IFS=$as_save_IFS
20435 test -z "$as_dir" && as_dir=.
20436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20437 done
20438 IFS=$as_save_IFS
20441 esac
20442 # We did not find ourselves, most probably we were run as `sh COMMAND'
20443 # in which case we are not to be found in the path.
20444 if test "x$as_myself" = x; then
20445 as_myself=$0
20447 if test ! -f "$as_myself"; then
20448 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20449 exit 1
20452 # Unset variables that we do not need and which cause bugs (e.g. in
20453 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20454 # suppresses any "Segmentation fault" message there. '((' could
20455 # trigger a bug in pdksh 5.2.14.
20456 for as_var in BASH_ENV ENV MAIL MAILPATH
20457 do eval test x\${$as_var+set} = xset \
20458 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20459 done
20460 PS1='$ '
20461 PS2='> '
20462 PS4='+ '
20464 # NLS nuisances.
20465 LC_ALL=C
20466 export LC_ALL
20467 LANGUAGE=C
20468 export LANGUAGE
20470 # CDPATH.
20471 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20474 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20475 # ----------------------------------------
20476 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20477 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20478 # script with STATUS, using 1 if that was 0.
20479 as_fn_error ()
20481 as_status=$1; test $as_status -eq 0 && as_status=1
20482 if test "$4"; then
20483 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20484 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20486 $as_echo "$as_me: error: $2" >&2
20487 as_fn_exit $as_status
20488 } # as_fn_error
20491 # as_fn_set_status STATUS
20492 # -----------------------
20493 # Set $? to STATUS, without forking.
20494 as_fn_set_status ()
20496 return $1
20497 } # as_fn_set_status
20499 # as_fn_exit STATUS
20500 # -----------------
20501 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20502 as_fn_exit ()
20504 set +e
20505 as_fn_set_status $1
20506 exit $1
20507 } # as_fn_exit
20509 # as_fn_unset VAR
20510 # ---------------
20511 # Portably unset VAR.
20512 as_fn_unset ()
20514 { eval $1=; unset $1;}
20516 as_unset=as_fn_unset
20517 # as_fn_append VAR VALUE
20518 # ----------------------
20519 # Append the text in VALUE to the end of the definition contained in VAR. Take
20520 # advantage of any shell optimizations that allow amortized linear growth over
20521 # repeated appends, instead of the typical quadratic growth present in naive
20522 # implementations.
20523 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20524 eval 'as_fn_append ()
20526 eval $1+=\$2
20528 else
20529 as_fn_append ()
20531 eval $1=\$$1\$2
20533 fi # as_fn_append
20535 # as_fn_arith ARG...
20536 # ------------------
20537 # Perform arithmetic evaluation on the ARGs, and store the result in the
20538 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20539 # must be portable across $(()) and expr.
20540 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20541 eval 'as_fn_arith ()
20543 as_val=$(( $* ))
20545 else
20546 as_fn_arith ()
20548 as_val=`expr "$@" || test $? -eq 1`
20550 fi # as_fn_arith
20553 if expr a : '\(a\)' >/dev/null 2>&1 &&
20554 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20555 as_expr=expr
20556 else
20557 as_expr=false
20560 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20561 as_basename=basename
20562 else
20563 as_basename=false
20566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20567 as_dirname=dirname
20568 else
20569 as_dirname=false
20572 as_me=`$as_basename -- "$0" ||
20573 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20574 X"$0" : 'X\(//\)$' \| \
20575 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20576 $as_echo X/"$0" |
20577 sed '/^.*\/\([^/][^/]*\)\/*$/{
20578 s//\1/
20581 /^X\/\(\/\/\)$/{
20582 s//\1/
20585 /^X\/\(\/\).*/{
20586 s//\1/
20589 s/.*/./; q'`
20591 # Avoid depending upon Character Ranges.
20592 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20593 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20594 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20595 as_cr_digits='0123456789'
20596 as_cr_alnum=$as_cr_Letters$as_cr_digits
20598 ECHO_C= ECHO_N= ECHO_T=
20599 case `echo -n x` in #(((((
20600 -n*)
20601 case `echo 'xy\c'` in
20602 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20603 xy) ECHO_C='\c';;
20604 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20605 ECHO_T=' ';;
20606 esac;;
20608 ECHO_N='-n';;
20609 esac
20611 rm -f conf$$ conf$$.exe conf$$.file
20612 if test -d conf$$.dir; then
20613 rm -f conf$$.dir/conf$$.file
20614 else
20615 rm -f conf$$.dir
20616 mkdir conf$$.dir 2>/dev/null
20618 if (echo >conf$$.file) 2>/dev/null; then
20619 if ln -s conf$$.file conf$$ 2>/dev/null; then
20620 as_ln_s='ln -s'
20621 # ... but there are two gotchas:
20622 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20623 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20624 # In both cases, we have to default to `cp -pR'.
20625 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20626 as_ln_s='cp -pR'
20627 elif ln conf$$.file conf$$ 2>/dev/null; then
20628 as_ln_s=ln
20629 else
20630 as_ln_s='cp -pR'
20632 else
20633 as_ln_s='cp -pR'
20635 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20636 rmdir conf$$.dir 2>/dev/null
20639 # as_fn_mkdir_p
20640 # -------------
20641 # Create "$as_dir" as a directory, including parents if necessary.
20642 as_fn_mkdir_p ()
20645 case $as_dir in #(
20646 -*) as_dir=./$as_dir;;
20647 esac
20648 test -d "$as_dir" || eval $as_mkdir_p || {
20649 as_dirs=
20650 while :; do
20651 case $as_dir in #(
20652 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20653 *) as_qdir=$as_dir;;
20654 esac
20655 as_dirs="'$as_qdir' $as_dirs"
20656 as_dir=`$as_dirname -- "$as_dir" ||
20657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20658 X"$as_dir" : 'X\(//\)[^/]' \| \
20659 X"$as_dir" : 'X\(//\)$' \| \
20660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20661 $as_echo X"$as_dir" |
20662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20663 s//\1/
20666 /^X\(\/\/\)[^/].*/{
20667 s//\1/
20670 /^X\(\/\/\)$/{
20671 s//\1/
20674 /^X\(\/\).*/{
20675 s//\1/
20678 s/.*/./; q'`
20679 test -d "$as_dir" && break
20680 done
20681 test -z "$as_dirs" || eval "mkdir $as_dirs"
20682 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20685 } # as_fn_mkdir_p
20686 if mkdir -p . 2>/dev/null; then
20687 as_mkdir_p='mkdir -p "$as_dir"'
20688 else
20689 test -d ./-p && rmdir ./-p
20690 as_mkdir_p=false
20694 # as_fn_executable_p FILE
20695 # -----------------------
20696 # Test if FILE is an executable regular file.
20697 as_fn_executable_p ()
20699 test -f "$1" && test -x "$1"
20700 } # as_fn_executable_p
20701 as_test_x='test -x'
20702 as_executable_p=as_fn_executable_p
20704 # Sed expression to map a string onto a valid CPP name.
20705 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20707 # Sed expression to map a string onto a valid variable name.
20708 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20711 exec 6>&1
20712 ## ----------------------------------- ##
20713 ## Main body of $CONFIG_STATUS script. ##
20714 ## ----------------------------------- ##
20715 _ASEOF
20716 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20719 # Save the log message, to keep $0 and so on meaningful, and to
20720 # report actual input values of CONFIG_FILES etc. instead of their
20721 # values after options handling.
20722 ac_log="
20723 This file was extended by Wine $as_me 3.21, which was
20724 generated by GNU Autoconf 2.69. Invocation command line was
20726 CONFIG_FILES = $CONFIG_FILES
20727 CONFIG_HEADERS = $CONFIG_HEADERS
20728 CONFIG_LINKS = $CONFIG_LINKS
20729 CONFIG_COMMANDS = $CONFIG_COMMANDS
20730 $ $0 $@
20732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20735 _ACEOF
20737 case $ac_config_files in *"
20738 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20739 esac
20741 case $ac_config_headers in *"
20742 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20743 esac
20746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20747 # Files that config.status was made for.
20748 config_files="$ac_config_files"
20749 config_headers="$ac_config_headers"
20750 config_links="$ac_config_links"
20751 config_commands="$ac_config_commands"
20753 _ACEOF
20755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20756 ac_cs_usage="\
20757 \`$as_me' instantiates files and other configuration actions
20758 from templates according to the current configuration. Unless the files
20759 and actions are specified as TAGs, all are instantiated by default.
20761 Usage: $0 [OPTION]... [TAG]...
20763 -h, --help print this help, then exit
20764 -V, --version print version number and configuration settings, then exit
20765 --config print configuration, then exit
20766 -q, --quiet, --silent
20767 do not print progress messages
20768 -d, --debug don't remove temporary files
20769 --recheck update $as_me by reconfiguring in the same conditions
20770 --file=FILE[:TEMPLATE]
20771 instantiate the configuration file FILE
20772 --header=FILE[:TEMPLATE]
20773 instantiate the configuration header FILE
20775 Configuration files:
20776 $config_files
20778 Configuration headers:
20779 $config_headers
20781 Configuration links:
20782 $config_links
20784 Configuration commands:
20785 $config_commands
20787 Report bugs to <wine-devel@winehq.org>.
20788 Wine home page: <https://www.winehq.org>."
20790 _ACEOF
20791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20792 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20793 ac_cs_version="\\
20794 Wine config.status 3.21
20795 configured by $0, generated by GNU Autoconf 2.69,
20796 with options \\"\$ac_cs_config\\"
20798 Copyright (C) 2012 Free Software Foundation, Inc.
20799 This config.status script is free software; the Free Software Foundation
20800 gives unlimited permission to copy, distribute and modify it."
20802 ac_pwd='$ac_pwd'
20803 srcdir='$srcdir'
20804 test -n "\$AWK" || AWK=awk
20805 _ACEOF
20807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20808 # The default lists apply if the user does not specify any file.
20809 ac_need_defaults=:
20810 while test $# != 0
20812 case $1 in
20813 --*=?*)
20814 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20815 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20816 ac_shift=:
20818 --*=)
20819 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20820 ac_optarg=
20821 ac_shift=:
20824 ac_option=$1
20825 ac_optarg=$2
20826 ac_shift=shift
20828 esac
20830 case $ac_option in
20831 # Handling of the options.
20832 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20833 ac_cs_recheck=: ;;
20834 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20835 $as_echo "$ac_cs_version"; exit ;;
20836 --config | --confi | --conf | --con | --co | --c )
20837 $as_echo "$ac_cs_config"; exit ;;
20838 --debug | --debu | --deb | --de | --d | -d )
20839 debug=: ;;
20840 --file | --fil | --fi | --f )
20841 $ac_shift
20842 case $ac_optarg in
20843 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20844 '') as_fn_error $? "missing file argument" ;;
20845 esac
20846 as_fn_append CONFIG_FILES " '$ac_optarg'"
20847 ac_need_defaults=false;;
20848 --header | --heade | --head | --hea )
20849 $ac_shift
20850 case $ac_optarg in
20851 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20852 esac
20853 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20854 ac_need_defaults=false;;
20855 --he | --h)
20856 # Conflict between --help and --header
20857 as_fn_error $? "ambiguous option: \`$1'
20858 Try \`$0 --help' for more information.";;
20859 --help | --hel | -h )
20860 $as_echo "$ac_cs_usage"; exit ;;
20861 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20862 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20863 ac_cs_silent=: ;;
20865 # This is an error.
20866 -*) as_fn_error $? "unrecognized option: \`$1'
20867 Try \`$0 --help' for more information." ;;
20869 *) as_fn_append ac_config_targets " $1"
20870 ac_need_defaults=false ;;
20872 esac
20873 shift
20874 done
20876 ac_configure_extra_args=
20878 if $ac_cs_silent; then
20879 exec 6>/dev/null
20880 ac_configure_extra_args="$ac_configure_extra_args --silent"
20883 _ACEOF
20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 if \$ac_cs_recheck; then
20886 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20887 shift
20888 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20889 CONFIG_SHELL='$SHELL'
20890 export CONFIG_SHELL
20891 exec "\$@"
20894 _ACEOF
20895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20896 exec 5>>config.log
20898 echo
20899 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20900 ## Running $as_me. ##
20901 _ASBOX
20902 $as_echo "$ac_log"
20903 } >&5
20905 _ACEOF
20906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20908 # INIT-COMMANDS
20910 wine_fn_output_makedep ()
20912 as_dir=tools; as_fn_mkdir_p
20913 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20915 wine_fn_output_makefile ()
20917 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20918 `cat $wine_rules_file`
20919 _WINE_EOF
20920 as_fn_error $? "could not create Makefile" "$LINENO" 5
20923 _ACEOF
20925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20927 # Handling of arguments.
20928 for ac_config_target in $ac_config_targets
20930 case $ac_config_target in
20931 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20932 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20933 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20934 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20935 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20936 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20937 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20938 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20939 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20940 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20941 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20942 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20943 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20945 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20946 esac
20947 done
20950 # If the user did not use the arguments to specify the items to instantiate,
20951 # then the envvar interface is used. Set only those that are not.
20952 # We use the long form for the default assignment because of an extremely
20953 # bizarre bug on SunOS 4.1.3.
20954 if $ac_need_defaults; then
20955 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20956 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20957 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20958 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20961 # Have a temporary directory for convenience. Make it in the build tree
20962 # simply because there is no reason against having it here, and in addition,
20963 # creating and moving files from /tmp can sometimes cause problems.
20964 # Hook for its removal unless debugging.
20965 # Note that there is a small window in which the directory will not be cleaned:
20966 # after its creation but before its name has been assigned to `$tmp'.
20967 $debug ||
20969 tmp= ac_tmp=
20970 trap 'exit_status=$?
20971 : "${ac_tmp:=$tmp}"
20972 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20974 trap 'as_fn_exit 1' 1 2 13 15
20976 # Create a (secure) tmp directory for tmp files.
20979 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20980 test -d "$tmp"
20981 } ||
20983 tmp=./conf$$-$RANDOM
20984 (umask 077 && mkdir "$tmp")
20985 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20986 ac_tmp=$tmp
20988 # Set up the scripts for CONFIG_FILES section.
20989 # No need to generate them if there are no CONFIG_FILES.
20990 # This happens for instance with `./config.status config.h'.
20991 if test -n "$CONFIG_FILES"; then
20994 ac_cr=`echo X | tr X '\015'`
20995 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20996 # But we know of no other shell where ac_cr would be empty at this
20997 # point, so we can use a bashism as a fallback.
20998 if test "x$ac_cr" = x; then
20999 eval ac_cr=\$\'\\r\'
21001 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21002 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21003 ac_cs_awk_cr='\\r'
21004 else
21005 ac_cs_awk_cr=$ac_cr
21008 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21009 _ACEOF
21013 echo "cat >conf$$subs.awk <<_ACEOF" &&
21014 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21015 echo "_ACEOF"
21016 } >conf$$subs.sh ||
21017 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21018 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21019 ac_delim='%!_!# '
21020 for ac_last_try in false false false false false :; do
21021 . ./conf$$subs.sh ||
21022 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21024 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21025 if test $ac_delim_n = $ac_delim_num; then
21026 break
21027 elif $ac_last_try; then
21028 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21029 else
21030 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21032 done
21033 rm -f conf$$subs.sh
21035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21036 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21037 _ACEOF
21038 sed -n '
21040 s/^/S["/; s/!.*/"]=/
21043 s/^[^!]*!//
21044 :repl
21045 t repl
21046 s/'"$ac_delim"'$//
21047 t delim
21050 s/\(.\{148\}\)..*/\1/
21051 t more1
21052 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21055 b repl
21056 :more1
21057 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21060 s/.\{148\}//
21061 t nl
21062 :delim
21064 s/\(.\{148\}\)..*/\1/
21065 t more2
21066 s/["\\]/\\&/g; s/^/"/; s/$/"/
21069 :more2
21070 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21073 s/.\{148\}//
21074 t delim
21075 ' <conf$$subs.awk | sed '
21076 /^[^""]/{
21078 s/\n//
21080 ' >>$CONFIG_STATUS || ac_write_fail=1
21081 rm -f conf$$subs.awk
21082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21083 _ACAWK
21084 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21085 for (key in S) S_is_set[key] = 1
21086 FS = "\a"
21090 line = $ 0
21091 nfields = split(line, field, "@")
21092 substed = 0
21093 len = length(field[1])
21094 for (i = 2; i < nfields; i++) {
21095 key = field[i]
21096 keylen = length(key)
21097 if (S_is_set[key]) {
21098 value = S[key]
21099 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21100 len += length(value) + length(field[++i])
21101 substed = 1
21102 } else
21103 len += 1 + keylen
21106 print line
21109 _ACAWK
21110 _ACEOF
21111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21112 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21113 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21114 else
21116 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21117 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21118 _ACEOF
21120 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21121 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21122 # trailing colons and then remove the whole line if VPATH becomes empty
21123 # (actually we leave an empty line to preserve line numbers).
21124 if test "x$srcdir" = x.; then
21125 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21127 s///
21128 s/^/:/
21129 s/[ ]*$/:/
21130 s/:\$(srcdir):/:/g
21131 s/:\${srcdir}:/:/g
21132 s/:@srcdir@:/:/g
21133 s/^:*//
21134 s/:*$//
21136 s/\(=[ ]*\).*/\1/
21138 s/\n//
21139 s/^[^=]*=[ ]*$//
21143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21144 fi # test -n "$CONFIG_FILES"
21146 # Set up the scripts for CONFIG_HEADERS section.
21147 # No need to generate them if there are no CONFIG_HEADERS.
21148 # This happens for instance with `./config.status Makefile'.
21149 if test -n "$CONFIG_HEADERS"; then
21150 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21151 BEGIN {
21152 _ACEOF
21154 # Transform confdefs.h into an awk script `defines.awk', embedded as
21155 # here-document in config.status, that substitutes the proper values into
21156 # config.h.in to produce config.h.
21158 # Create a delimiter string that does not exist in confdefs.h, to ease
21159 # handling of long lines.
21160 ac_delim='%!_!# '
21161 for ac_last_try in false false :; do
21162 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21163 if test -z "$ac_tt"; then
21164 break
21165 elif $ac_last_try; then
21166 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21167 else
21168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21170 done
21172 # For the awk script, D is an array of macro values keyed by name,
21173 # likewise P contains macro parameters if any. Preserve backslash
21174 # newline sequences.
21176 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21177 sed -n '
21178 s/.\{148\}/&'"$ac_delim"'/g
21179 t rset
21180 :rset
21181 s/^[ ]*#[ ]*define[ ][ ]*/ /
21182 t def
21184 :def
21185 s/\\$//
21186 t bsnl
21187 s/["\\]/\\&/g
21188 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21189 D["\1"]=" \3"/p
21190 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21192 :bsnl
21193 s/["\\]/\\&/g
21194 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21195 D["\1"]=" \3\\\\\\n"\\/p
21196 t cont
21197 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21198 t cont
21200 :cont
21202 s/.\{148\}/&'"$ac_delim"'/g
21203 t clear
21204 :clear
21205 s/\\$//
21206 t bsnlc
21207 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21209 :bsnlc
21210 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21211 b cont
21212 ' <confdefs.h | sed '
21213 s/'"$ac_delim"'/"\\\
21214 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21217 for (key in D) D_is_set[key] = 1
21218 FS = "\a"
21220 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21221 line = \$ 0
21222 split(line, arg, " ")
21223 if (arg[1] == "#") {
21224 defundef = arg[2]
21225 mac1 = arg[3]
21226 } else {
21227 defundef = substr(arg[1], 2)
21228 mac1 = arg[2]
21230 split(mac1, mac2, "(") #)
21231 macro = mac2[1]
21232 prefix = substr(line, 1, index(line, defundef) - 1)
21233 if (D_is_set[macro]) {
21234 # Preserve the white space surrounding the "#".
21235 print prefix "define", macro P[macro] D[macro]
21236 next
21237 } else {
21238 # Replace #undef with comments. This is necessary, for example,
21239 # in the case of _POSIX_SOURCE, which is predefined and required
21240 # on some systems where configure will not decide to define it.
21241 if (defundef == "undef") {
21242 print "/*", prefix defundef, macro, "*/"
21243 next
21247 { print }
21248 _ACAWK
21249 _ACEOF
21250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21251 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21252 fi # test -n "$CONFIG_HEADERS"
21255 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21256 shift
21257 for ac_tag
21259 case $ac_tag in
21260 :[FHLC]) ac_mode=$ac_tag; continue;;
21261 esac
21262 case $ac_mode$ac_tag in
21263 :[FHL]*:*);;
21264 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21265 :[FH]-) ac_tag=-:-;;
21266 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21267 esac
21268 ac_save_IFS=$IFS
21269 IFS=:
21270 set x $ac_tag
21271 IFS=$ac_save_IFS
21272 shift
21273 ac_file=$1
21274 shift
21276 case $ac_mode in
21277 :L) ac_source=$1;;
21278 :[FH])
21279 ac_file_inputs=
21280 for ac_f
21282 case $ac_f in
21283 -) ac_f="$ac_tmp/stdin";;
21284 *) # Look for the file first in the build tree, then in the source tree
21285 # (if the path is not absolute). The absolute path cannot be DOS-style,
21286 # because $ac_f cannot contain `:'.
21287 test -f "$ac_f" ||
21288 case $ac_f in
21289 [\\/$]*) false;;
21290 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21291 esac ||
21292 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21293 esac
21294 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21295 as_fn_append ac_file_inputs " '$ac_f'"
21296 done
21298 # Let's still pretend it is `configure' which instantiates (i.e., don't
21299 # use $as_me), people would be surprised to read:
21300 # /* config.h. Generated by config.status. */
21301 configure_input='Generated from '`
21302 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21303 `' by configure.'
21304 if test x"$ac_file" != x-; then
21305 configure_input="$ac_file. $configure_input"
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21307 $as_echo "$as_me: creating $ac_file" >&6;}
21309 # Neutralize special characters interpreted by sed in replacement strings.
21310 case $configure_input in #(
21311 *\&* | *\|* | *\\* )
21312 ac_sed_conf_input=`$as_echo "$configure_input" |
21313 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21314 *) ac_sed_conf_input=$configure_input;;
21315 esac
21317 case $ac_tag in
21318 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21320 esac
21322 esac
21324 ac_dir=`$as_dirname -- "$ac_file" ||
21325 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21326 X"$ac_file" : 'X\(//\)[^/]' \| \
21327 X"$ac_file" : 'X\(//\)$' \| \
21328 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21329 $as_echo X"$ac_file" |
21330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21331 s//\1/
21334 /^X\(\/\/\)[^/].*/{
21335 s//\1/
21338 /^X\(\/\/\)$/{
21339 s//\1/
21342 /^X\(\/\).*/{
21343 s//\1/
21346 s/.*/./; q'`
21347 as_dir="$ac_dir"; as_fn_mkdir_p
21348 ac_builddir=.
21350 case "$ac_dir" in
21351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21353 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21354 # A ".." for each directory in $ac_dir_suffix.
21355 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21356 case $ac_top_builddir_sub in
21357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21359 esac ;;
21360 esac
21361 ac_abs_top_builddir=$ac_pwd
21362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21363 # for backward compatibility:
21364 ac_top_builddir=$ac_top_build_prefix
21366 case $srcdir in
21367 .) # We are building in place.
21368 ac_srcdir=.
21369 ac_top_srcdir=$ac_top_builddir_sub
21370 ac_abs_top_srcdir=$ac_pwd ;;
21371 [\\/]* | ?:[\\/]* ) # Absolute name.
21372 ac_srcdir=$srcdir$ac_dir_suffix;
21373 ac_top_srcdir=$srcdir
21374 ac_abs_top_srcdir=$srcdir ;;
21375 *) # Relative name.
21376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21377 ac_top_srcdir=$ac_top_build_prefix$srcdir
21378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21379 esac
21380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21383 case $ac_mode in
21386 # CONFIG_FILE
21389 _ACEOF
21391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21392 # If the template does not know about datarootdir, expand it.
21393 # FIXME: This hack should be removed a few years after 2.60.
21394 ac_datarootdir_hack=; ac_datarootdir_seen=
21395 ac_sed_dataroot='
21396 /datarootdir/ {
21400 /@datadir@/p
21401 /@docdir@/p
21402 /@infodir@/p
21403 /@localedir@/p
21404 /@mandir@/p'
21405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21406 *datarootdir*) ac_datarootdir_seen=yes;;
21407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21409 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21410 _ACEOF
21411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21412 ac_datarootdir_hack='
21413 s&@datadir@&$datadir&g
21414 s&@docdir@&$docdir&g
21415 s&@infodir@&$infodir&g
21416 s&@localedir@&$localedir&g
21417 s&@mandir@&$mandir&g
21418 s&\\\${datarootdir}&$datarootdir&g' ;;
21419 esac
21420 _ACEOF
21422 # Neutralize VPATH when `$srcdir' = `.'.
21423 # Shell code in configure.ac might set extrasub.
21424 # FIXME: do we really want to maintain this feature?
21425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21426 ac_sed_extra="$ac_vpsub
21427 $extrasub
21428 _ACEOF
21429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21432 s|@configure_input@|$ac_sed_conf_input|;t t
21433 s&@top_builddir@&$ac_top_builddir_sub&;t t
21434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21435 s&@srcdir@&$ac_srcdir&;t t
21436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21437 s&@top_srcdir@&$ac_top_srcdir&;t t
21438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21439 s&@builddir@&$ac_builddir&;t t
21440 s&@abs_builddir@&$ac_abs_builddir&;t t
21441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21442 $ac_datarootdir_hack
21444 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21445 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21447 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21448 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21449 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21450 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21452 which seems to be undefined. Please make sure it is defined" >&5
21453 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21454 which seems to be undefined. Please make sure it is defined" >&2;}
21456 rm -f "$ac_tmp/stdin"
21457 case $ac_file in
21458 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21459 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21460 esac \
21461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21465 # CONFIG_HEADER
21467 if test x"$ac_file" != x-; then
21469 $as_echo "/* $configure_input */" \
21470 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21471 } >"$ac_tmp/config.h" \
21472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21473 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21475 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21476 else
21477 rm -f "$ac_file"
21478 mv "$ac_tmp/config.h" "$ac_file" \
21479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21481 else
21482 $as_echo "/* $configure_input */" \
21483 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21484 || as_fn_error $? "could not create -" "$LINENO" 5
21489 # CONFIG_LINK
21492 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21494 else
21495 # Prefer the file from the source tree if names are identical.
21496 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21497 ac_source=$srcdir/$ac_source
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21501 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21503 if test ! -r "$ac_source"; then
21504 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21506 rm -f "$ac_file"
21508 # Try a relative symlink, then a hard link, then a copy.
21509 case $ac_source in
21510 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21511 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21512 esac
21513 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21514 ln "$ac_source" "$ac_file" 2>/dev/null ||
21515 cp -p "$ac_source" "$ac_file" ||
21516 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21519 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21520 $as_echo "$as_me: executing $ac_file commands" >&6;}
21522 esac
21525 case $ac_file$ac_mode in
21526 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21527 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21528 "Makefile":C) wine_fn_output_makefile Makefile ;;
21530 esac
21531 done # for ac_tag
21534 as_fn_exit 0
21535 _ACEOF
21536 ac_clean_files=$ac_clean_files_save
21538 test $ac_write_fail = 0 ||
21539 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21542 # configure is writing to config.log, and then calls config.status.
21543 # config.status does its own redirection, appending to config.log.
21544 # Unfortunately, on DOS this fails, as config.log is still kept open
21545 # by configure, so config.status won't be able to write to it; its
21546 # output is simply discarded. So we exec the FD to /dev/null,
21547 # effectively closing config.log, so it can be properly (re)opened and
21548 # appended to by config.status. When coming back to configure, we
21549 # need to make the FD available again.
21550 if test "$no_create" != yes; then
21551 ac_cs_success=:
21552 ac_config_status_args=
21553 test "$silent" = yes &&
21554 ac_config_status_args="$ac_config_status_args --quiet"
21555 exec 5>/dev/null
21556 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21557 exec 5>>config.log
21558 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21559 # would make configure fail if this is the last instruction.
21560 $ac_cs_success || as_fn_exit 1
21562 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21564 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21568 if test "$no_create" = "yes"
21569 then
21570 exit 0
21573 ac_save_IFS="$IFS"
21574 if test "x$wine_notices" != x; then
21575 echo >&6
21576 IFS="|"
21577 for msg in $wine_notices; do
21578 IFS="$ac_save_IFS"
21579 if ${msg:+false} :; then :
21581 else
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21583 $as_echo "$as_me: $msg" >&6;}
21585 done
21587 IFS="|"
21588 for msg in $wine_warnings; do
21589 IFS="$ac_save_IFS"
21590 if ${msg:+false} :; then :
21592 else
21593 echo >&2
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21595 $as_echo "$as_me: WARNING: $msg" >&2;}
21597 done
21598 IFS="$ac_save_IFS"
21600 $as_echo "
21601 $as_me: Finished. Do '${ac_make}' to compile Wine.
21602 " >&6