gdi32: Treat lpResults as optional in GetCharacterPlacement.
[wine.git] / configure
blob53e997f09c4ec70d99b919f6de197fddf2b88c27
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.12.
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.12'
584 PACKAGE_STRING='Wine 3.12'
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 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 VKD3D_LIBS
640 VKD3D_CFLAGS
641 NETAPI_LIBS
642 NETAPI_CFLAGS
643 PROCSTAT_LIBS
644 KSTAT_LIBS
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 XSLT_LIBS
693 XSLT_CFLAGS
694 XML2_LIBS
695 XML2_CFLAGS
696 PCAP_LIBS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 PTHREAD_LIBS
703 CROSSCFLAGS
704 CROSSCC
705 CROSSTARGET
706 PRELINK
707 WINELOADER_DEPENDS
708 METAL_LIBS
709 CARBON_LIBS
710 QUICKTIME_LIBS
711 OPENCL_LIBS
712 OPENAL_LIBS
713 COREAUDIO_LIBS
714 SECURITY_LIBS
715 DISKARBITRATION_LIBS
716 APPKIT_LIBS
717 CORESERVICES_LIBS
718 APPLICATIONSERVICES_LIBS
719 FORCEFEEDBACK_LIBS
720 IOKIT_LIBS
721 COREFOUNDATION_LIBS
722 OBJCPP
723 ac_ct_OBJC
724 OBJCFLAGS
725 OBJC
726 LIBWINE_DEPENDS
727 LIBWINE_LDFLAGS
728 LIBWINE_INSTALL_DEV
729 LIBWINE_INSTALL_LIB
730 LIBWINE_IMPORTLIB
731 LIBWINE_SHAREDLIB
732 SOCKET_LIBS
733 DLLTOOL
734 WINELOADER_PROGRAMS
735 CONFIGURE_TARGETS
736 DISABLED_SUBDIRS
737 SUBDIRS
738 READELF
739 OTOOL
741 WINELOADER_LDFLAGS
742 LDEXECFLAGS
743 LDRPATH_LOCAL
744 LDRPATH_INSTALL
745 DLLFLAGS
747 OPENGL_LIBS
748 ICOTOOL
749 CONVERT
750 RSVG
751 FONTFORGE
752 PKG_CONFIG
753 MSGFMT
754 LDCONFIG
755 EGREP
756 GREP
757 LN_S
758 RANLIB
759 ARFLAGS
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 wine64_disable
767 TARGETFLAGS
769 CPPBIN
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 SET_MAKE
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 runstatedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_win16
832 enable_win64
833 enable_tests
834 enable_maintainer_mode
835 with_alsa
836 with_capi
837 with_cms
838 with_coreaudio
839 with_cups
840 with_curses
841 with_dbus
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amstream
903 enable_api_ms_win_appmodel_identity_l1_1_0
904 enable_api_ms_win_appmodel_runtime_l1_1_1
905 enable_api_ms_win_appmodel_runtime_l1_1_2
906 enable_api_ms_win_core_apiquery_l1_1_0
907 enable_api_ms_win_core_appcompat_l1_1_1
908 enable_api_ms_win_core_appinit_l1_1_0
909 enable_api_ms_win_core_atoms_l1_1_0
910 enable_api_ms_win_core_bem_l1_1_0
911 enable_api_ms_win_core_com_l1_1_0
912 enable_api_ms_win_core_com_l1_1_1
913 enable_api_ms_win_core_com_private_l1_1_0
914 enable_api_ms_win_core_console_l1_1_0
915 enable_api_ms_win_core_console_l2_1_0
916 enable_api_ms_win_core_crt_l1_1_0
917 enable_api_ms_win_core_crt_l2_1_0
918 enable_api_ms_win_core_datetime_l1_1_0
919 enable_api_ms_win_core_datetime_l1_1_1
920 enable_api_ms_win_core_debug_l1_1_0
921 enable_api_ms_win_core_debug_l1_1_1
922 enable_api_ms_win_core_delayload_l1_1_0
923 enable_api_ms_win_core_delayload_l1_1_1
924 enable_api_ms_win_core_errorhandling_l1_1_0
925 enable_api_ms_win_core_errorhandling_l1_1_1
926 enable_api_ms_win_core_errorhandling_l1_1_2
927 enable_api_ms_win_core_errorhandling_l1_1_3
928 enable_api_ms_win_core_fibers_l1_1_0
929 enable_api_ms_win_core_fibers_l1_1_1
930 enable_api_ms_win_core_file_l1_1_0
931 enable_api_ms_win_core_file_l1_2_0
932 enable_api_ms_win_core_file_l1_2_1
933 enable_api_ms_win_core_file_l1_2_2
934 enable_api_ms_win_core_file_l2_1_0
935 enable_api_ms_win_core_file_l2_1_1
936 enable_api_ms_win_core_file_l2_1_2
937 enable_api_ms_win_core_handle_l1_1_0
938 enable_api_ms_win_core_heap_l1_1_0
939 enable_api_ms_win_core_heap_l1_2_0
940 enable_api_ms_win_core_heap_l2_1_0
941 enable_api_ms_win_core_heap_obsolete_l1_1_0
942 enable_api_ms_win_core_interlocked_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_2_0
944 enable_api_ms_win_core_io_l1_1_0
945 enable_api_ms_win_core_io_l1_1_1
946 enable_api_ms_win_core_job_l1_1_0
947 enable_api_ms_win_core_job_l2_1_0
948 enable_api_ms_win_core_kernel32_legacy_l1_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_1
950 enable_api_ms_win_core_kernel32_private_l1_1_1
951 enable_api_ms_win_core_largeinteger_l1_1_0
952 enable_api_ms_win_core_libraryloader_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_1
954 enable_api_ms_win_core_libraryloader_l1_2_0
955 enable_api_ms_win_core_libraryloader_l1_2_1
956 enable_api_ms_win_core_libraryloader_l1_2_2
957 enable_api_ms_win_core_localization_l1_1_0
958 enable_api_ms_win_core_localization_l1_2_0
959 enable_api_ms_win_core_localization_l1_2_1
960 enable_api_ms_win_core_localization_l2_1_0
961 enable_api_ms_win_core_localization_obsolete_l1_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_2_0
963 enable_api_ms_win_core_localization_obsolete_l1_3_0
964 enable_api_ms_win_core_localization_private_l1_1_0
965 enable_api_ms_win_core_localregistry_l1_1_0
966 enable_api_ms_win_core_memory_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_1
968 enable_api_ms_win_core_memory_l1_1_2
969 enable_api_ms_win_core_misc_l1_1_0
970 enable_api_ms_win_core_namedpipe_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_2_0
972 enable_api_ms_win_core_namespace_l1_1_0
973 enable_api_ms_win_core_normalization_l1_1_0
974 enable_api_ms_win_core_path_l1_1_0
975 enable_api_ms_win_core_privateprofile_l1_1_1
976 enable_api_ms_win_core_processenvironment_l1_1_0
977 enable_api_ms_win_core_processenvironment_l1_2_0
978 enable_api_ms_win_core_processthreads_l1_1_0
979 enable_api_ms_win_core_processthreads_l1_1_1
980 enable_api_ms_win_core_processthreads_l1_1_2
981 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
982 enable_api_ms_win_core_profile_l1_1_0
983 enable_api_ms_win_core_psapi_ansi_l1_1_0
984 enable_api_ms_win_core_psapi_l1_1_0
985 enable_api_ms_win_core_psapi_obsolete_l1_1_0
986 enable_api_ms_win_core_quirks_l1_1_0
987 enable_api_ms_win_core_realtime_l1_1_0
988 enable_api_ms_win_core_registry_l1_1_0
989 enable_api_ms_win_core_registry_l2_1_0
990 enable_api_ms_win_core_registryuserspecific_l1_1_0
991 enable_api_ms_win_core_rtlsupport_l1_1_0
992 enable_api_ms_win_core_rtlsupport_l1_2_0
993 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
994 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
995 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
996 enable_api_ms_win_core_shutdown_l1_1_0
997 enable_api_ms_win_core_sidebyside_l1_1_0
998 enable_api_ms_win_core_string_l1_1_0
999 enable_api_ms_win_core_string_l2_1_0
1000 enable_api_ms_win_core_string_obsolete_l1_1_0
1001 enable_api_ms_win_core_stringansi_l1_1_0
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_wow64_l1_1_0
1030 enable_api_ms_win_core_wow64_l1_1_1
1031 enable_api_ms_win_core_xstate_l1_1_0
1032 enable_api_ms_win_core_xstate_l2_1_0
1033 enable_api_ms_win_crt_conio_l1_1_0
1034 enable_api_ms_win_crt_convert_l1_1_0
1035 enable_api_ms_win_crt_environment_l1_1_0
1036 enable_api_ms_win_crt_filesystem_l1_1_0
1037 enable_api_ms_win_crt_heap_l1_1_0
1038 enable_api_ms_win_crt_locale_l1_1_0
1039 enable_api_ms_win_crt_math_l1_1_0
1040 enable_api_ms_win_crt_multibyte_l1_1_0
1041 enable_api_ms_win_crt_private_l1_1_0
1042 enable_api_ms_win_crt_process_l1_1_0
1043 enable_api_ms_win_crt_runtime_l1_1_0
1044 enable_api_ms_win_crt_stdio_l1_1_0
1045 enable_api_ms_win_crt_string_l1_1_0
1046 enable_api_ms_win_crt_time_l1_1_0
1047 enable_api_ms_win_crt_utility_l1_1_0
1048 enable_api_ms_win_devices_config_l1_1_1
1049 enable_api_ms_win_devices_query_l1_1_1
1050 enable_api_ms_win_downlevel_advapi32_l1_1_0
1051 enable_api_ms_win_downlevel_advapi32_l2_1_0
1052 enable_api_ms_win_downlevel_normaliz_l1_1_0
1053 enable_api_ms_win_downlevel_ole32_l1_1_0
1054 enable_api_ms_win_downlevel_shell32_l1_1_0
1055 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1056 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1057 enable_api_ms_win_downlevel_user32_l1_1_0
1058 enable_api_ms_win_downlevel_version_l1_1_0
1059 enable_api_ms_win_dx_d3dkmt_l1_1_0
1060 enable_api_ms_win_eventing_classicprovider_l1_1_0
1061 enable_api_ms_win_eventing_consumer_l1_1_0
1062 enable_api_ms_win_eventing_controller_l1_1_0
1063 enable_api_ms_win_eventing_legacy_l1_1_0
1064 enable_api_ms_win_eventing_provider_l1_1_0
1065 enable_api_ms_win_eventlog_legacy_l1_1_0
1066 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1067 enable_api_ms_win_mm_joystick_l1_1_0
1068 enable_api_ms_win_mm_misc_l1_1_1
1069 enable_api_ms_win_mm_mme_l1_1_0
1070 enable_api_ms_win_mm_time_l1_1_0
1071 enable_api_ms_win_ntuser_dc_access_l1_1_0
1072 enable_api_ms_win_ntuser_rectangle_l1_1_0
1073 enable_api_ms_win_perf_legacy_l1_1_0
1074 enable_api_ms_win_power_base_l1_1_0
1075 enable_api_ms_win_power_setting_l1_1_0
1076 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1077 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1078 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1079 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1083 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1084 enable_api_ms_win_security_audit_l1_1_1
1085 enable_api_ms_win_security_base_l1_1_0
1086 enable_api_ms_win_security_base_l1_2_0
1087 enable_api_ms_win_security_base_private_l1_1_1
1088 enable_api_ms_win_security_credentials_l1_1_0
1089 enable_api_ms_win_security_grouppolicy_l1_1_0
1090 enable_api_ms_win_security_lsalookup_l1_1_0
1091 enable_api_ms_win_security_lsalookup_l1_1_1
1092 enable_api_ms_win_security_lsalookup_l2_1_0
1093 enable_api_ms_win_security_lsalookup_l2_1_1
1094 enable_api_ms_win_security_lsapolicy_l1_1_0
1095 enable_api_ms_win_security_provider_l1_1_0
1096 enable_api_ms_win_security_sddl_l1_1_0
1097 enable_api_ms_win_security_systemfunctions_l1_1_0
1098 enable_api_ms_win_service_core_l1_1_0
1099 enable_api_ms_win_service_core_l1_1_1
1100 enable_api_ms_win_service_management_l1_1_0
1101 enable_api_ms_win_service_management_l2_1_0
1102 enable_api_ms_win_service_private_l1_1_1
1103 enable_api_ms_win_service_winsvc_l1_1_0
1104 enable_api_ms_win_service_winsvc_l1_2_0
1105 enable_api_ms_win_shcore_obsolete_l1_1_0
1106 enable_api_ms_win_shcore_scaling_l1_1_1
1107 enable_api_ms_win_shcore_stream_l1_1_0
1108 enable_api_ms_win_shcore_thread_l1_1_0
1109 enable_api_ms_win_shell_shellcom_l1_1_0
1110 enable_api_ms_win_shell_shellfolders_l1_1_0
1111 enable_apphelp
1112 enable_appwiz_cpl
1113 enable_atl
1114 enable_atl100
1115 enable_atl110
1116 enable_atl80
1117 enable_atl90
1118 enable_atmlib
1119 enable_authz
1120 enable_avicap32
1121 enable_avifil32
1122 enable_avrt
1123 enable_bcrypt
1124 enable_bluetoothapis
1125 enable_browseui
1126 enable_bthprops_cpl
1127 enable_cabinet
1128 enable_capi2032
1129 enable_cards
1130 enable_cdosys
1131 enable_cfgmgr32
1132 enable_clusapi
1133 enable_combase
1134 enable_comcat
1135 enable_comctl32
1136 enable_comdlg32
1137 enable_compstui
1138 enable_comsvcs
1139 enable_concrt140
1140 enable_connect
1141 enable_credui
1142 enable_crtdll
1143 enable_crypt32
1144 enable_cryptdlg
1145 enable_cryptdll
1146 enable_cryptext
1147 enable_cryptnet
1148 enable_cryptui
1149 enable_ctapi32
1150 enable_ctl3d32
1151 enable_d2d1
1152 enable_d3d10
1153 enable_d3d10_1
1154 enable_d3d10core
1155 enable_d3d11
1156 enable_d3d12
1157 enable_d3d8
1158 enable_d3d9
1159 enable_d3dcompiler_33
1160 enable_d3dcompiler_34
1161 enable_d3dcompiler_35
1162 enable_d3dcompiler_36
1163 enable_d3dcompiler_37
1164 enable_d3dcompiler_38
1165 enable_d3dcompiler_39
1166 enable_d3dcompiler_40
1167 enable_d3dcompiler_41
1168 enable_d3dcompiler_42
1169 enable_d3dcompiler_43
1170 enable_d3dcompiler_46
1171 enable_d3dcompiler_47
1172 enable_d3dim
1173 enable_d3drm
1174 enable_d3dx10_33
1175 enable_d3dx10_34
1176 enable_d3dx10_35
1177 enable_d3dx10_36
1178 enable_d3dx10_37
1179 enable_d3dx10_38
1180 enable_d3dx10_39
1181 enable_d3dx10_40
1182 enable_d3dx10_41
1183 enable_d3dx10_42
1184 enable_d3dx10_43
1185 enable_d3dx11_42
1186 enable_d3dx11_43
1187 enable_d3dx9_24
1188 enable_d3dx9_25
1189 enable_d3dx9_26
1190 enable_d3dx9_27
1191 enable_d3dx9_28
1192 enable_d3dx9_29
1193 enable_d3dx9_30
1194 enable_d3dx9_31
1195 enable_d3dx9_32
1196 enable_d3dx9_33
1197 enable_d3dx9_34
1198 enable_d3dx9_35
1199 enable_d3dx9_36
1200 enable_d3dx9_37
1201 enable_d3dx9_38
1202 enable_d3dx9_39
1203 enable_d3dx9_40
1204 enable_d3dx9_41
1205 enable_d3dx9_42
1206 enable_d3dx9_43
1207 enable_d3dxof
1208 enable_davclnt
1209 enable_dbgeng
1210 enable_dbghelp
1211 enable_dciman32
1212 enable_ddraw
1213 enable_ddrawex
1214 enable_devenum
1215 enable_dhcpcsvc
1216 enable_dhtmled_ocx
1217 enable_difxapi
1218 enable_dinput
1219 enable_dinput8
1220 enable_dispex
1221 enable_dmband
1222 enable_dmcompos
1223 enable_dmime
1224 enable_dmloader
1225 enable_dmoguids
1226 enable_dmscript
1227 enable_dmstyle
1228 enable_dmsynth
1229 enable_dmusic
1230 enable_dmusic32
1231 enable_dnsapi
1232 enable_dplay
1233 enable_dplayx
1234 enable_dpnaddr
1235 enable_dpnet
1236 enable_dpnhpast
1237 enable_dpnlobby
1238 enable_dpvoice
1239 enable_dpwsockx
1240 enable_drmclien
1241 enable_dsound
1242 enable_dsquery
1243 enable_dssenh
1244 enable_dswave
1245 enable_dwmapi
1246 enable_dwrite
1247 enable_dx8vb
1248 enable_dxdiagn
1249 enable_dxerr8
1250 enable_dxerr9
1251 enable_dxgi
1252 enable_dxguid
1253 enable_dxva2
1254 enable_esent
1255 enable_evr
1256 enable_explorerframe
1257 enable_ext_ms_win_authz_context_l1_1_0
1258 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1259 enable_ext_ms_win_dwmapi_ext_l1_1_0
1260 enable_ext_ms_win_gdi_dc_create_l1_1_1
1261 enable_ext_ms_win_gdi_dc_l1_2_0
1262 enable_ext_ms_win_gdi_devcaps_l1_1_0
1263 enable_ext_ms_win_gdi_draw_l1_1_1
1264 enable_ext_ms_win_gdi_render_l1_1_0
1265 enable_ext_ms_win_kernel32_package_current_l1_1_0
1266 enable_ext_ms_win_kernel32_package_l1_1_1
1267 enable_ext_ms_win_ntuser_draw_l1_1_0
1268 enable_ext_ms_win_ntuser_gui_l1_3_0
1269 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1270 enable_ext_ms_win_ntuser_message_l1_1_1
1271 enable_ext_ms_win_ntuser_misc_l1_5_1
1272 enable_ext_ms_win_ntuser_mouse_l1_1_0
1273 enable_ext_ms_win_ntuser_private_l1_1_1
1274 enable_ext_ms_win_ntuser_private_l1_3_1
1275 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1276 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1277 enable_ext_ms_win_ntuser_window_l1_1_1
1278 enable_ext_ms_win_ntuser_window_l1_1_4
1279 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1280 enable_ext_ms_win_oleacc_l1_1_0
1281 enable_ext_ms_win_ras_rasapi32_l1_1_0
1282 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1283 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1284 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1285 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1286 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1287 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1288 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1289 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1292 enable_ext_ms_win_security_credui_l1_1_0
1293 enable_ext_ms_win_security_cryptui_l1_1_0
1294 enable_ext_ms_win_uxtheme_themes_l1_1_0
1295 enable_faultrep
1296 enable_feclient
1297 enable_fltlib
1298 enable_fltmgr_sys
1299 enable_fntcache
1300 enable_fontsub
1301 enable_fusion
1302 enable_fwpuclnt
1303 enable_gameux
1304 enable_gdi32
1305 enable_gdiplus
1306 enable_glu32
1307 enable_gphoto2_ds
1308 enable_gpkcsp
1309 enable_hal
1310 enable_hhctrl_ocx
1311 enable_hid
1312 enable_hidclass_sys
1313 enable_hlink
1314 enable_hnetcfg
1315 enable_httpapi
1316 enable_iccvid
1317 enable_icmp
1318 enable_ieframe
1319 enable_ieproxy
1320 enable_imaadp32_acm
1321 enable_imagehlp
1322 enable_imm32
1323 enable_inetcomm
1324 enable_inetcpl_cpl
1325 enable_inetmib1
1326 enable_infosoft
1327 enable_initpki
1328 enable_inkobj
1329 enable_inseng
1330 enable_iphlpapi
1331 enable_iprop
1332 enable_irprops_cpl
1333 enable_itircl
1334 enable_itss
1335 enable_joy_cpl
1336 enable_jscript
1337 enable_jsproxy
1338 enable_kerberos
1339 enable_kernel32
1340 enable_kernelbase
1341 enable_ksuser
1342 enable_ktmw32
1343 enable_l3codeca_acm
1344 enable_loadperf
1345 enable_localspl
1346 enable_localui
1347 enable_lz32
1348 enable_mapi32
1349 enable_mapistub
1350 enable_mciavi32
1351 enable_mcicda
1352 enable_mciqtz32
1353 enable_mciseq
1354 enable_mciwave
1355 enable_mf
1356 enable_mf3216
1357 enable_mfplat
1358 enable_mfreadwrite
1359 enable_mfuuid
1360 enable_mgmtapi
1361 enable_midimap
1362 enable_mlang
1363 enable_mmcndmgr
1364 enable_mmdevapi
1365 enable_mountmgr_sys
1366 enable_mp3dmod
1367 enable_mpr
1368 enable_mprapi
1369 enable_msacm32_drv
1370 enable_msacm32
1371 enable_msadp32_acm
1372 enable_msasn1
1373 enable_mscat32
1374 enable_mscms
1375 enable_mscoree
1376 enable_msctf
1377 enable_msctfp
1378 enable_msdaps
1379 enable_msdelta
1380 enable_msdmo
1381 enable_msdrm
1382 enable_msftedit
1383 enable_msg711_acm
1384 enable_msgsm32_acm
1385 enable_mshtml_tlb
1386 enable_mshtml
1387 enable_msi
1388 enable_msident
1389 enable_msimg32
1390 enable_msimsg
1391 enable_msimtf
1392 enable_msisip
1393 enable_msisys_ocx
1394 enable_msls31
1395 enable_msnet32
1396 enable_mspatcha
1397 enable_msports
1398 enable_msrle32
1399 enable_msscript_ocx
1400 enable_mssign32
1401 enable_mssip32
1402 enable_mstask
1403 enable_msvcirt
1404 enable_msvcm80
1405 enable_msvcm90
1406 enable_msvcp100
1407 enable_msvcp110
1408 enable_msvcp120
1409 enable_msvcp120_app
1410 enable_msvcp140
1411 enable_msvcp60
1412 enable_msvcp70
1413 enable_msvcp71
1414 enable_msvcp80
1415 enable_msvcp90
1416 enable_msvcr100
1417 enable_msvcr110
1418 enable_msvcr120
1419 enable_msvcr120_app
1420 enable_msvcr70
1421 enable_msvcr71
1422 enable_msvcr80
1423 enable_msvcr90
1424 enable_msvcrt
1425 enable_msvcrt20
1426 enable_msvcrt40
1427 enable_msvcrtd
1428 enable_msvfw32
1429 enable_msvidc32
1430 enable_mswsock
1431 enable_msxml
1432 enable_msxml2
1433 enable_msxml3
1434 enable_msxml4
1435 enable_msxml6
1436 enable_mtxdm
1437 enable_ncrypt
1438 enable_nddeapi
1439 enable_ndis_sys
1440 enable_netapi32
1441 enable_netcfgx
1442 enable_netprofm
1443 enable_newdev
1444 enable_ninput
1445 enable_normaliz
1446 enable_npmshtml
1447 enable_npptools
1448 enable_ntdll
1449 enable_ntdsapi
1450 enable_ntoskrnl_exe
1451 enable_ntprint
1452 enable_objsel
1453 enable_odbc32
1454 enable_odbccp32
1455 enable_odbccu32
1456 enable_ole32
1457 enable_oleacc
1458 enable_oleaut32
1459 enable_olecli32
1460 enable_oledb32
1461 enable_oledlg
1462 enable_olepro32
1463 enable_olesvr32
1464 enable_olethk32
1465 enable_openal32
1466 enable_opencl
1467 enable_opengl32
1468 enable_packager
1469 enable_pdh
1470 enable_photometadatahandler
1471 enable_pidgen
1472 enable_powrprof
1473 enable_printui
1474 enable_prntvpt
1475 enable_propsys
1476 enable_psapi
1477 enable_pstorec
1478 enable_qcap
1479 enable_qedit
1480 enable_qmgr
1481 enable_qmgrprxy
1482 enable_quartz
1483 enable_query
1484 enable_rasapi32
1485 enable_rasdlg
1486 enable_regapi
1487 enable_resutils
1488 enable_riched20
1489 enable_riched32
1490 enable_rpcrt4
1491 enable_rsabase
1492 enable_rsaenh
1493 enable_rstrtmgr
1494 enable_rtutils
1495 enable_samlib
1496 enable_sane_ds
1497 enable_sapi
1498 enable_sas
1499 enable_scarddlg
1500 enable_sccbase
1501 enable_schannel
1502 enable_schedsvc
1503 enable_scrobj
1504 enable_scrrun
1505 enable_scsiport_sys
1506 enable_secur32
1507 enable_security
1508 enable_sensapi
1509 enable_serialui
1510 enable_setupapi
1511 enable_sfc
1512 enable_sfc_os
1513 enable_shcore
1514 enable_shdoclc
1515 enable_shdocvw
1516 enable_shell32
1517 enable_shfolder
1518 enable_shlwapi
1519 enable_slbcsp
1520 enable_slc
1521 enable_snmpapi
1522 enable_softpub
1523 enable_spoolss
1524 enable_srclient
1525 enable_sspicli
1526 enable_stdole2_tlb
1527 enable_stdole32_tlb
1528 enable_sti
1529 enable_strmbase
1530 enable_strmdll
1531 enable_strmiids
1532 enable_svrapi
1533 enable_sxs
1534 enable_t2embed
1535 enable_tapi32
1536 enable_taskschd
1537 enable_tdh
1538 enable_tdi_sys
1539 enable_traffic
1540 enable_twain_32
1541 enable_ucrtbase
1542 enable_uiautomationcore
1543 enable_uiribbon
1544 enable_unicows
1545 enable_updspapi
1546 enable_url
1547 enable_urlmon
1548 enable_usbd_sys
1549 enable_user32
1550 enable_userenv
1551 enable_usp10
1552 enable_uuid
1553 enable_uxtheme
1554 enable_vbscript
1555 enable_vcomp
1556 enable_vcomp100
1557 enable_vcomp110
1558 enable_vcomp120
1559 enable_vcomp140
1560 enable_vcomp90
1561 enable_vcruntime140
1562 enable_vdmdbg
1563 enable_version
1564 enable_virtdisk
1565 enable_vssapi
1566 enable_vulkan_1
1567 enable_wbemdisp
1568 enable_wbemprox
1569 enable_wdscore
1570 enable_webservices
1571 enable_wer
1572 enable_wevtapi
1573 enable_wiaservc
1574 enable_wimgapi
1575 enable_windowscodecs
1576 enable_windowscodecsext
1577 enable_winealsa_drv
1578 enable_wineandroid_drv
1579 enable_winebus_sys
1580 enable_winecoreaudio_drv
1581 enable_winecrt0
1582 enable_wined3d
1583 enable_winegstreamer
1584 enable_winehid_sys
1585 enable_winejoystick_drv
1586 enable_winemac_drv
1587 enable_winemapi
1588 enable_wineoss_drv
1589 enable_wineps_drv
1590 enable_winepulse_drv
1591 enable_wineqtdecoder
1592 enable_winevulkan
1593 enable_winex11_drv
1594 enable_wing32
1595 enable_winhttp
1596 enable_wininet
1597 enable_winmm
1598 enable_winnls32
1599 enable_winscard
1600 enable_winspool_drv
1601 enable_winsta
1602 enable_wintab32
1603 enable_wintrust
1604 enable_winusb
1605 enable_wlanapi
1606 enable_wldap32
1607 enable_wmasf
1608 enable_wmcodecdspuuid
1609 enable_wmi
1610 enable_wmiutils
1611 enable_wmp
1612 enable_wmphoto
1613 enable_wmvcore
1614 enable_wnaspi32
1615 enable_wpc
1616 enable_wpcap
1617 enable_ws2_32
1618 enable_wsdapi
1619 enable_wshom_ocx
1620 enable_wsnmp32
1621 enable_wsock32
1622 enable_wtsapi32
1623 enable_wuapi
1624 enable_wuaueng
1625 enable_x3daudio1_0
1626 enable_x3daudio1_1
1627 enable_x3daudio1_2
1628 enable_x3daudio1_3
1629 enable_x3daudio1_4
1630 enable_x3daudio1_5
1631 enable_x3daudio1_6
1632 enable_x3daudio1_7
1633 enable_xapofx1_1
1634 enable_xapofx1_2
1635 enable_xapofx1_3
1636 enable_xapofx1_4
1637 enable_xapofx1_5
1638 enable_xaudio2_0
1639 enable_xaudio2_1
1640 enable_xaudio2_2
1641 enable_xaudio2_3
1642 enable_xaudio2_4
1643 enable_xaudio2_5
1644 enable_xaudio2_6
1645 enable_xaudio2_7
1646 enable_xaudio2_8
1647 enable_xaudio2_9
1648 enable_xinput1_1
1649 enable_xinput1_2
1650 enable_xinput1_3
1651 enable_xinput1_4
1652 enable_xinput9_1_0
1653 enable_xmllite
1654 enable_xolehlp
1655 enable_xpsprint
1656 enable_xpssvcs
1657 enable_fonts
1658 enable_include
1659 enable_port
1660 enable_wine
1661 enable_wpp
1662 enable_loader
1663 enable_po
1664 enable_arp
1665 enable_aspnet_regiis
1666 enable_attrib
1667 enable_cabarc
1668 enable_cacls
1669 enable_clock
1670 enable_cmd
1671 enable_conhost
1672 enable_control
1673 enable_cscript
1674 enable_dism
1675 enable_dpnsvr
1676 enable_dxdiag
1677 enable_eject
1678 enable_expand
1679 enable_explorer
1680 enable_extrac32
1681 enable_fc
1682 enable_find
1683 enable_findstr
1684 enable_fsutil
1685 enable_hh
1686 enable_hostname
1687 enable_icacls
1688 enable_icinfo
1689 enable_iexplore
1690 enable_ipconfig
1691 enable_lodctr
1692 enable_mofcomp
1693 enable_mshta
1694 enable_msiexec
1695 enable_msinfo32
1696 enable_net
1697 enable_netsh
1698 enable_netstat
1699 enable_ngen
1700 enable_notepad
1701 enable_oleview
1702 enable_ping
1703 enable_plugplay
1704 enable_powershell
1705 enable_presentationfontcache
1706 enable_progman
1707 enable_reg
1708 enable_regasm
1709 enable_regedit
1710 enable_regsvcs
1711 enable_regsvr32
1712 enable_rpcss
1713 enable_rundll32
1714 enable_sc
1715 enable_schtasks
1716 enable_sdbinst
1717 enable_secedit
1718 enable_servicemodelreg
1719 enable_services
1720 enable_shutdown
1721 enable_spoolsv
1722 enable_start
1723 enable_subst
1724 enable_svchost
1725 enable_systeminfo
1726 enable_taskkill
1727 enable_tasklist
1728 enable_taskmgr
1729 enable_termsv
1730 enable_uninstaller
1731 enable_unlodctr
1732 enable_view
1733 enable_wevtutil
1734 enable_wineboot
1735 enable_winebrowser
1736 enable_winecfg
1737 enable_wineconsole
1738 enable_winedbg
1739 enable_winedevice
1740 enable_winefile
1741 enable_winemenubuilder
1742 enable_winemine
1743 enable_winemsibuilder
1744 enable_winepath
1745 enable_winetest
1746 enable_winhlp32
1747 enable_winmgmt
1748 enable_winver
1749 enable_wmic
1750 enable_wmplayer
1751 enable_wordpad
1752 enable_write
1753 enable_wscript
1754 enable_wusa
1755 enable_xcopy
1756 enable_server
1757 enable_tools
1758 enable_sfnt2fon
1759 enable_widl
1760 enable_winebuild
1761 enable_winedump
1762 enable_winegcc
1763 enable_winemaker
1764 enable_wmc
1765 enable_wrc
1767 ac_precious_vars='build_alias
1768 host_alias
1769 target_alias
1771 CFLAGS
1772 LDFLAGS
1773 LIBS
1774 CPPFLAGS
1776 CXXFLAGS
1779 OBJC
1780 OBJCFLAGS
1781 OBJCPP
1782 XMKMF
1783 XML2_CFLAGS
1784 XML2_LIBS
1785 XSLT_CFLAGS
1786 XSLT_LIBS
1787 DBUS_CFLAGS
1788 DBUS_LIBS
1789 HAL_CFLAGS
1790 HAL_LIBS
1791 GNUTLS_CFLAGS
1792 GNUTLS_LIBS
1793 SANE_CFLAGS
1794 SANE_LIBS
1795 GPHOTO2_CFLAGS
1796 GPHOTO2_LIBS
1797 GPHOTO2_PORT_CFLAGS
1798 GPHOTO2_PORT_LIBS
1799 LCMS2_CFLAGS
1800 LCMS2_LIBS
1801 FREETYPE_CFLAGS
1802 FREETYPE_LIBS
1803 PULSE_CFLAGS
1804 PULSE_LIBS
1805 GSTREAMER_CFLAGS
1806 GSTREAMER_LIBS
1807 UDEV_CFLAGS
1808 UDEV_LIBS
1809 SDL2_CFLAGS
1810 SDL2_LIBS
1811 CAPI20_CFLAGS
1812 CAPI20_LIBS
1813 CUPS_CFLAGS
1814 CUPS_LIBS
1815 FONTCONFIG_CFLAGS
1816 FONTCONFIG_LIBS
1817 KRB5_CFLAGS
1818 KRB5_LIBS
1819 GSSAPI_CFLAGS
1820 GSSAPI_LIBS
1821 JPEG_CFLAGS
1822 JPEG_LIBS
1823 PNG_CFLAGS
1824 PNG_LIBS
1825 TIFF_CFLAGS
1826 TIFF_LIBS
1827 MPG123_CFLAGS
1828 MPG123_LIBS
1829 NETAPI_CFLAGS
1830 NETAPI_LIBS
1831 VKD3D_CFLAGS
1832 VKD3D_LIBS
1833 LDAP_CFLAGS
1834 LDAP_LIBS'
1837 # Initialize some variables set by options.
1838 ac_init_help=
1839 ac_init_version=false
1840 ac_unrecognized_opts=
1841 ac_unrecognized_sep=
1842 # The variables have the same names as the options, with
1843 # dashes changed to underlines.
1844 cache_file=/dev/null
1845 exec_prefix=NONE
1846 no_create=
1847 no_recursion=
1848 prefix=NONE
1849 program_prefix=NONE
1850 program_suffix=NONE
1851 program_transform_name=s,x,x,
1852 silent=
1853 site=
1854 srcdir=
1855 verbose=
1856 x_includes=NONE
1857 x_libraries=NONE
1859 # Installation directory options.
1860 # These are left unexpanded so users can "make install exec_prefix=/foo"
1861 # and all the variables that are supposed to be based on exec_prefix
1862 # by default will actually change.
1863 # Use braces instead of parens because sh, perl, etc. also accept them.
1864 # (The list follows the same order as the GNU Coding Standards.)
1865 bindir='${exec_prefix}/bin'
1866 sbindir='${exec_prefix}/sbin'
1867 libexecdir='${exec_prefix}/libexec'
1868 datarootdir='${prefix}/share'
1869 datadir='${datarootdir}'
1870 sysconfdir='${prefix}/etc'
1871 sharedstatedir='${prefix}/com'
1872 localstatedir='${prefix}/var'
1873 runstatedir='${localstatedir}/run'
1874 includedir='${prefix}/include'
1875 oldincludedir='/usr/include'
1876 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1877 infodir='${datarootdir}/info'
1878 htmldir='${docdir}'
1879 dvidir='${docdir}'
1880 pdfdir='${docdir}'
1881 psdir='${docdir}'
1882 libdir='${exec_prefix}/lib'
1883 localedir='${datarootdir}/locale'
1884 mandir='${datarootdir}/man'
1886 ac_prev=
1887 ac_dashdash=
1888 for ac_option
1890 # If the previous option needs an argument, assign it.
1891 if test -n "$ac_prev"; then
1892 eval $ac_prev=\$ac_option
1893 ac_prev=
1894 continue
1897 case $ac_option in
1898 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1899 *=) ac_optarg= ;;
1900 *) ac_optarg=yes ;;
1901 esac
1903 # Accept the important Cygnus configure options, so we can diagnose typos.
1905 case $ac_dashdash$ac_option in
1907 ac_dashdash=yes ;;
1909 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1910 ac_prev=bindir ;;
1911 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1912 bindir=$ac_optarg ;;
1914 -build | --build | --buil | --bui | --bu)
1915 ac_prev=build_alias ;;
1916 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1917 build_alias=$ac_optarg ;;
1919 -cache-file | --cache-file | --cache-fil | --cache-fi \
1920 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1921 ac_prev=cache_file ;;
1922 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1923 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1924 cache_file=$ac_optarg ;;
1926 --config-cache | -C)
1927 cache_file=config.cache ;;
1929 -datadir | --datadir | --datadi | --datad)
1930 ac_prev=datadir ;;
1931 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1932 datadir=$ac_optarg ;;
1934 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1935 | --dataroo | --dataro | --datar)
1936 ac_prev=datarootdir ;;
1937 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1938 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1939 datarootdir=$ac_optarg ;;
1941 -disable-* | --disable-*)
1942 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1943 # Reject names that are not valid shell variable names.
1944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1945 as_fn_error $? "invalid feature name: $ac_useropt"
1946 ac_useropt_orig=$ac_useropt
1947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1948 case $ac_user_opts in
1950 "enable_$ac_useropt"
1951 "*) ;;
1952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1953 ac_unrecognized_sep=', ';;
1954 esac
1955 eval enable_$ac_useropt=no ;;
1957 -docdir | --docdir | --docdi | --doc | --do)
1958 ac_prev=docdir ;;
1959 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1960 docdir=$ac_optarg ;;
1962 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1963 ac_prev=dvidir ;;
1964 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1965 dvidir=$ac_optarg ;;
1967 -enable-* | --enable-*)
1968 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1969 # Reject names that are not valid shell variable names.
1970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1971 as_fn_error $? "invalid feature name: $ac_useropt"
1972 ac_useropt_orig=$ac_useropt
1973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1974 case $ac_user_opts in
1976 "enable_$ac_useropt"
1977 "*) ;;
1978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1979 ac_unrecognized_sep=', ';;
1980 esac
1981 eval enable_$ac_useropt=\$ac_optarg ;;
1983 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1984 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1985 | --exec | --exe | --ex)
1986 ac_prev=exec_prefix ;;
1987 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1988 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1989 | --exec=* | --exe=* | --ex=*)
1990 exec_prefix=$ac_optarg ;;
1992 -gas | --gas | --ga | --g)
1993 # Obsolete; use --with-gas.
1994 with_gas=yes ;;
1996 -help | --help | --hel | --he | -h)
1997 ac_init_help=long ;;
1998 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1999 ac_init_help=recursive ;;
2000 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2001 ac_init_help=short ;;
2003 -host | --host | --hos | --ho)
2004 ac_prev=host_alias ;;
2005 -host=* | --host=* | --hos=* | --ho=*)
2006 host_alias=$ac_optarg ;;
2008 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2009 ac_prev=htmldir ;;
2010 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2011 | --ht=*)
2012 htmldir=$ac_optarg ;;
2014 -includedir | --includedir | --includedi | --included | --include \
2015 | --includ | --inclu | --incl | --inc)
2016 ac_prev=includedir ;;
2017 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2018 | --includ=* | --inclu=* | --incl=* | --inc=*)
2019 includedir=$ac_optarg ;;
2021 -infodir | --infodir | --infodi | --infod | --info | --inf)
2022 ac_prev=infodir ;;
2023 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2024 infodir=$ac_optarg ;;
2026 -libdir | --libdir | --libdi | --libd)
2027 ac_prev=libdir ;;
2028 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2029 libdir=$ac_optarg ;;
2031 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2032 | --libexe | --libex | --libe)
2033 ac_prev=libexecdir ;;
2034 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2035 | --libexe=* | --libex=* | --libe=*)
2036 libexecdir=$ac_optarg ;;
2038 -localedir | --localedir | --localedi | --localed | --locale)
2039 ac_prev=localedir ;;
2040 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2041 localedir=$ac_optarg ;;
2043 -localstatedir | --localstatedir | --localstatedi | --localstated \
2044 | --localstate | --localstat | --localsta | --localst | --locals)
2045 ac_prev=localstatedir ;;
2046 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2047 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2048 localstatedir=$ac_optarg ;;
2050 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2051 ac_prev=mandir ;;
2052 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2053 mandir=$ac_optarg ;;
2055 -nfp | --nfp | --nf)
2056 # Obsolete; use --without-fp.
2057 with_fp=no ;;
2059 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2060 | --no-cr | --no-c | -n)
2061 no_create=yes ;;
2063 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2064 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2065 no_recursion=yes ;;
2067 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2068 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2069 | --oldin | --oldi | --old | --ol | --o)
2070 ac_prev=oldincludedir ;;
2071 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2072 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2073 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2074 oldincludedir=$ac_optarg ;;
2076 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2077 ac_prev=prefix ;;
2078 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2079 prefix=$ac_optarg ;;
2081 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2082 | --program-pre | --program-pr | --program-p)
2083 ac_prev=program_prefix ;;
2084 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2085 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2086 program_prefix=$ac_optarg ;;
2088 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2089 | --program-suf | --program-su | --program-s)
2090 ac_prev=program_suffix ;;
2091 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2092 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2093 program_suffix=$ac_optarg ;;
2095 -program-transform-name | --program-transform-name \
2096 | --program-transform-nam | --program-transform-na \
2097 | --program-transform-n | --program-transform- \
2098 | --program-transform | --program-transfor \
2099 | --program-transfo | --program-transf \
2100 | --program-trans | --program-tran \
2101 | --progr-tra | --program-tr | --program-t)
2102 ac_prev=program_transform_name ;;
2103 -program-transform-name=* | --program-transform-name=* \
2104 | --program-transform-nam=* | --program-transform-na=* \
2105 | --program-transform-n=* | --program-transform-=* \
2106 | --program-transform=* | --program-transfor=* \
2107 | --program-transfo=* | --program-transf=* \
2108 | --program-trans=* | --program-tran=* \
2109 | --progr-tra=* | --program-tr=* | --program-t=*)
2110 program_transform_name=$ac_optarg ;;
2112 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2113 ac_prev=pdfdir ;;
2114 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2115 pdfdir=$ac_optarg ;;
2117 -psdir | --psdir | --psdi | --psd | --ps)
2118 ac_prev=psdir ;;
2119 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2120 psdir=$ac_optarg ;;
2122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2123 | -silent | --silent | --silen | --sile | --sil)
2124 silent=yes ;;
2126 -runstatedir | --runstatedir | --runstatedi | --runstated \
2127 | --runstate | --runstat | --runsta | --runst | --runs \
2128 | --run | --ru | --r)
2129 ac_prev=runstatedir ;;
2130 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2131 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2132 | --run=* | --ru=* | --r=*)
2133 runstatedir=$ac_optarg ;;
2135 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2136 ac_prev=sbindir ;;
2137 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2138 | --sbi=* | --sb=*)
2139 sbindir=$ac_optarg ;;
2141 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2142 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2143 | --sharedst | --shareds | --shared | --share | --shar \
2144 | --sha | --sh)
2145 ac_prev=sharedstatedir ;;
2146 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2147 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2148 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2149 | --sha=* | --sh=*)
2150 sharedstatedir=$ac_optarg ;;
2152 -site | --site | --sit)
2153 ac_prev=site ;;
2154 -site=* | --site=* | --sit=*)
2155 site=$ac_optarg ;;
2157 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2158 ac_prev=srcdir ;;
2159 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2160 srcdir=$ac_optarg ;;
2162 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2163 | --syscon | --sysco | --sysc | --sys | --sy)
2164 ac_prev=sysconfdir ;;
2165 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2166 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2167 sysconfdir=$ac_optarg ;;
2169 -target | --target | --targe | --targ | --tar | --ta | --t)
2170 ac_prev=target_alias ;;
2171 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2172 target_alias=$ac_optarg ;;
2174 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2175 verbose=yes ;;
2177 -version | --version | --versio | --versi | --vers | -V)
2178 ac_init_version=: ;;
2180 -with-* | --with-*)
2181 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2182 # Reject names that are not valid shell variable names.
2183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2184 as_fn_error $? "invalid package name: $ac_useropt"
2185 ac_useropt_orig=$ac_useropt
2186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2187 case $ac_user_opts in
2189 "with_$ac_useropt"
2190 "*) ;;
2191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2192 ac_unrecognized_sep=', ';;
2193 esac
2194 eval with_$ac_useropt=\$ac_optarg ;;
2196 -without-* | --without-*)
2197 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2198 # Reject names that are not valid shell variable names.
2199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2200 as_fn_error $? "invalid package name: $ac_useropt"
2201 ac_useropt_orig=$ac_useropt
2202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2203 case $ac_user_opts in
2205 "with_$ac_useropt"
2206 "*) ;;
2207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2208 ac_unrecognized_sep=', ';;
2209 esac
2210 eval with_$ac_useropt=no ;;
2212 --x)
2213 # Obsolete; use --with-x.
2214 with_x=yes ;;
2216 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2217 | --x-incl | --x-inc | --x-in | --x-i)
2218 ac_prev=x_includes ;;
2219 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2220 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2221 x_includes=$ac_optarg ;;
2223 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2224 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2225 ac_prev=x_libraries ;;
2226 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2227 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2228 x_libraries=$ac_optarg ;;
2230 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2231 Try \`$0 --help' for more information"
2234 *=*)
2235 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2236 # Reject names that are not valid shell variable names.
2237 case $ac_envvar in #(
2238 '' | [0-9]* | *[!_$as_cr_alnum]* )
2239 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2240 esac
2241 eval $ac_envvar=\$ac_optarg
2242 export $ac_envvar ;;
2245 # FIXME: should be removed in autoconf 3.0.
2246 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2247 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2248 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2249 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2252 esac
2253 done
2255 if test -n "$ac_prev"; then
2256 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2257 as_fn_error $? "missing argument to $ac_option"
2260 if test -n "$ac_unrecognized_opts"; then
2261 case $enable_option_checking in
2262 no) ;;
2263 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2264 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2265 esac
2268 # Check all directory arguments for consistency.
2269 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2270 datadir sysconfdir sharedstatedir localstatedir includedir \
2271 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2272 libdir localedir mandir runstatedir
2274 eval ac_val=\$$ac_var
2275 # Remove trailing slashes.
2276 case $ac_val in
2277 */ )
2278 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2279 eval $ac_var=\$ac_val;;
2280 esac
2281 # Be sure to have absolute directory names.
2282 case $ac_val in
2283 [\\/$]* | ?:[\\/]* ) continue;;
2284 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2285 esac
2286 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2287 done
2289 # There might be people who depend on the old broken behavior: `$host'
2290 # used to hold the argument of --host etc.
2291 # FIXME: To remove some day.
2292 build=$build_alias
2293 host=$host_alias
2294 target=$target_alias
2296 # FIXME: To remove some day.
2297 if test "x$host_alias" != x; then
2298 if test "x$build_alias" = x; then
2299 cross_compiling=maybe
2300 elif test "x$build_alias" != "x$host_alias"; then
2301 cross_compiling=yes
2305 ac_tool_prefix=
2306 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2308 test "$silent" = yes && exec 6>/dev/null
2311 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2312 ac_ls_di=`ls -di .` &&
2313 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2314 as_fn_error $? "working directory cannot be determined"
2315 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2316 as_fn_error $? "pwd does not report name of working directory"
2319 # Find the source files, if location was not specified.
2320 if test -z "$srcdir"; then
2321 ac_srcdir_defaulted=yes
2322 # Try the directory containing this script, then the parent directory.
2323 ac_confdir=`$as_dirname -- "$as_myself" ||
2324 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2325 X"$as_myself" : 'X\(//\)[^/]' \| \
2326 X"$as_myself" : 'X\(//\)$' \| \
2327 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2328 $as_echo X"$as_myself" |
2329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2330 s//\1/
2333 /^X\(\/\/\)[^/].*/{
2334 s//\1/
2337 /^X\(\/\/\)$/{
2338 s//\1/
2341 /^X\(\/\).*/{
2342 s//\1/
2345 s/.*/./; q'`
2346 srcdir=$ac_confdir
2347 if test ! -r "$srcdir/$ac_unique_file"; then
2348 srcdir=..
2350 else
2351 ac_srcdir_defaulted=no
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2355 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2357 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2358 ac_abs_confdir=`(
2359 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2360 pwd)`
2361 # When building in place, set srcdir=.
2362 if test "$ac_abs_confdir" = "$ac_pwd"; then
2363 srcdir=.
2365 # Remove unnecessary trailing slashes from srcdir.
2366 # Double slashes in file names in object file debugging info
2367 # mess up M-x gdb in Emacs.
2368 case $srcdir in
2369 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2370 esac
2371 for ac_var in $ac_precious_vars; do
2372 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2373 eval ac_env_${ac_var}_value=\$${ac_var}
2374 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2375 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2376 done
2379 # Report the --help message.
2381 if test "$ac_init_help" = "long"; then
2382 # Omit some internal or obsolete options to make the list less imposing.
2383 # This message is too long to be a string in the A/UX 3.1 sh.
2384 cat <<_ACEOF
2385 \`configure' configures Wine 3.12 to adapt to many kinds of systems.
2387 Usage: $0 [OPTION]... [VAR=VALUE]...
2389 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2390 VAR=VALUE. See below for descriptions of some of the useful variables.
2392 Defaults for the options are specified in brackets.
2394 Configuration:
2395 -h, --help display this help and exit
2396 --help=short display options specific to this package
2397 --help=recursive display the short help of all the included packages
2398 -V, --version display version information and exit
2399 -q, --quiet, --silent do not print \`checking ...' messages
2400 --cache-file=FILE cache test results in FILE [disabled]
2401 -C, --config-cache alias for \`--cache-file=config.cache'
2402 -n, --no-create do not create output files
2403 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2405 Installation directories:
2406 --prefix=PREFIX install architecture-independent files in PREFIX
2407 [$ac_default_prefix]
2408 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2409 [PREFIX]
2411 By default, \`make install' will install all the files in
2412 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2413 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2414 for instance \`--prefix=\$HOME'.
2416 For better control, use the options below.
2418 Fine tuning of the installation directories:
2419 --bindir=DIR user executables [EPREFIX/bin]
2420 --sbindir=DIR system admin executables [EPREFIX/sbin]
2421 --libexecdir=DIR program executables [EPREFIX/libexec]
2422 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2423 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2424 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2425 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2426 --libdir=DIR object code libraries [EPREFIX/lib]
2427 --includedir=DIR C header files [PREFIX/include]
2428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2431 --infodir=DIR info documentation [DATAROOTDIR/info]
2432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2433 --mandir=DIR man documentation [DATAROOTDIR/man]
2434 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2435 --htmldir=DIR html documentation [DOCDIR]
2436 --dvidir=DIR dvi documentation [DOCDIR]
2437 --pdfdir=DIR pdf documentation [DOCDIR]
2438 --psdir=DIR ps documentation [DOCDIR]
2439 _ACEOF
2441 cat <<\_ACEOF
2443 X features:
2444 --x-includes=DIR X include files are in DIR
2445 --x-libraries=DIR X library files are in DIR
2447 System types:
2448 --build=BUILD configure for building on BUILD [guessed]
2449 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2450 _ACEOF
2453 if test -n "$ac_init_help"; then
2454 case $ac_init_help in
2455 short | recursive ) echo "Configuration of Wine 3.12:";;
2456 esac
2457 cat <<\_ACEOF
2459 Optional Features:
2460 --disable-option-checking ignore unrecognized --enable/--with options
2461 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2462 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2463 --disable-win16 do not include Win16 support
2464 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2465 binaries)
2466 --disable-tests do not build the regression tests
2467 --enable-maintainer-mode
2468 enable maintainer-specific build rules
2469 --disable-largefile omit support for large files
2471 Optional Packages:
2472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2474 --without-alsa do not use the Alsa sound support
2475 --without-capi do not use CAPI (ISDN support)
2476 --without-cms do not use CMS (color management support)
2477 --without-coreaudio do not use the CoreAudio sound support
2478 --without-cups do not use CUPS
2479 --without-curses do not use (n)curses
2480 --without-dbus do not use DBus (dynamic device support)
2481 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2482 --without-fontconfig do not use fontconfig
2483 --without-freetype do not use the FreeType library
2484 --without-gettext do not use gettext
2485 --with-gettextpo use the GetTextPO library to rebuild po files
2486 --without-gphoto do not use gphoto (Digital Camera support)
2487 --without-glu do not use the GLU library
2488 --without-gnutls do not use GnuTLS (schannel support)
2489 --without-gsm do not use libgsm (GSM 06.10 codec support)
2490 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2491 --without-gstreamer do not use GStreamer (codecs support)
2492 --without-hal do not use HAL (dynamic device support)
2493 --without-jpeg do not use JPEG
2494 --without-krb5 do not use krb5 (Kerberos)
2495 --without-ldap do not use LDAP
2496 --without-mpg123 do not use the mpg123 library
2497 --without-netapi do not use the Samba NetAPI library
2498 --without-openal do not use OpenAL
2499 --without-opencl do not use OpenCL
2500 --without-opengl do not use OpenGL
2501 --without-osmesa do not use the OSMesa library
2502 --without-oss do not use the OSS sound support
2503 --without-pcap do not use the Packet Capture library
2504 --without-png do not use PNG
2505 --without-pthread do not use the pthread library
2506 --without-pulse do not use PulseAudio sound support
2507 --without-sane do not use SANE (scanner support)
2508 --without-sdl do not use SDL
2509 --without-tiff do not use TIFF
2510 --without-udev do not use udev (plug and play support)
2511 --without-v4l do not use v4l1 (v4l support)
2512 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2513 --without-vulkan do not use Vulkan
2514 --without-xcomposite do not use the Xcomposite extension
2515 --without-xcursor do not use the Xcursor extension
2516 --without-xfixes do not use Xfixes for clipboard change notifications
2517 --without-xinerama do not use Xinerama (multi-monitor support)
2518 --without-xinput do not use the Xinput extension
2519 --without-xinput2 do not use the Xinput 2 extension
2520 --without-xml do not use XML
2521 --without-xrandr do not use Xrandr (resolution changes)
2522 --without-xrender do not use the Xrender extension
2523 --without-xshape do not use the Xshape extension
2524 --without-xshm do not use XShm (shared memory extension)
2525 --without-xslt do not use XSLT
2526 --without-xxf86vm do not use XFree video mode extension
2527 --without-zlib do not use Zlib (data compression)
2528 --with-wine-tools=DIR use Wine tools from directory DIR
2529 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2530 --with-x use the X Window System
2532 Some influential environment variables:
2533 CC C compiler command
2534 CFLAGS C compiler flags
2535 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2536 nonstandard directory <lib dir>
2537 LIBS libraries to pass to the linker, e.g. -l<library>
2538 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2539 you have headers in a nonstandard directory <include dir>
2540 CXX C++ compiler command
2541 CXXFLAGS C++ compiler flags
2542 CPP C preprocessor
2543 OBJC Objective C compiler command
2544 OBJCFLAGS Objective C compiler flags
2545 OBJCPP Objective C preprocessor
2546 XMKMF Path to xmkmf, Makefile generator for X Window System
2547 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2548 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2549 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2550 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2551 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2552 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2553 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2554 HAL_LIBS Linker flags for hal, overriding pkg-config
2555 GNUTLS_CFLAGS
2556 C compiler flags for gnutls, overriding pkg-config
2557 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2558 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2559 SANE_LIBS Linker flags for libsane, overriding pkg-config
2560 GPHOTO2_CFLAGS
2561 C compiler flags for libgphoto2, overriding pkg-config
2562 GPHOTO2_LIBS
2563 Linker flags for libgphoto2, overriding pkg-config
2564 GPHOTO2_PORT_CFLAGS
2565 C compiler flags for libgphoto2_port, overriding pkg-config
2566 GPHOTO2_PORT_LIBS
2567 Linker flags for libgphoto2_port, overriding pkg-config
2568 LCMS2_CFLAGS
2569 C compiler flags for lcms2, overriding pkg-config
2570 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2571 FREETYPE_CFLAGS
2572 C compiler flags for freetype2, overriding pkg-config
2573 FREETYPE_LIBS
2574 Linker flags for freetype2, overriding pkg-config
2575 PULSE_CFLAGS
2576 C compiler flags for libpulse, overriding pkg-config
2577 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2578 GSTREAMER_CFLAGS
2579 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2580 gstreamer-audio-1.0, overriding pkg-config
2581 GSTREAMER_LIBS
2582 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2583 gstreamer-audio-1.0, overriding pkg-config
2584 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2585 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2586 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2587 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2588 CAPI20_CFLAGS
2589 C compiler flags for capi20, overriding pkg-config
2590 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2591 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2592 CUPS_LIBS Linker flags for cups, overriding pkg-config
2593 FONTCONFIG_CFLAGS
2594 C compiler flags for fontconfig, overriding pkg-config
2595 FONTCONFIG_LIBS
2596 Linker flags for fontconfig, overriding pkg-config
2597 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2598 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2599 GSSAPI_CFLAGS
2600 C compiler flags for krb5-gssapi, overriding pkg-config
2601 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2602 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2603 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2604 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2605 PNG_LIBS Linker flags for libpng, overriding pkg-config
2606 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2607 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2608 MPG123_CFLAGS
2609 C compiler flags for libmpg123, overriding pkg-config
2610 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2611 NETAPI_CFLAGS
2612 C compiler flags for netapi, overriding pkg-config
2613 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2614 VKD3D_CFLAGS
2615 C compiler flags for libvkd3d, overriding pkg-config
2616 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2617 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2618 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2620 Use these variables to override the choices made by `configure' or to help
2621 it to find libraries and programs with nonstandard names/locations.
2623 Report bugs to <wine-devel@winehq.org>.
2624 Wine home page: <https://www.winehq.org>.
2625 _ACEOF
2626 ac_status=$?
2629 if test "$ac_init_help" = "recursive"; then
2630 # If there are subdirs, report their specific --help.
2631 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2632 test -d "$ac_dir" ||
2633 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2634 continue
2635 ac_builddir=.
2637 case "$ac_dir" in
2638 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2640 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2641 # A ".." for each directory in $ac_dir_suffix.
2642 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2643 case $ac_top_builddir_sub in
2644 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2645 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2646 esac ;;
2647 esac
2648 ac_abs_top_builddir=$ac_pwd
2649 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2650 # for backward compatibility:
2651 ac_top_builddir=$ac_top_build_prefix
2653 case $srcdir in
2654 .) # We are building in place.
2655 ac_srcdir=.
2656 ac_top_srcdir=$ac_top_builddir_sub
2657 ac_abs_top_srcdir=$ac_pwd ;;
2658 [\\/]* | ?:[\\/]* ) # Absolute name.
2659 ac_srcdir=$srcdir$ac_dir_suffix;
2660 ac_top_srcdir=$srcdir
2661 ac_abs_top_srcdir=$srcdir ;;
2662 *) # Relative name.
2663 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2664 ac_top_srcdir=$ac_top_build_prefix$srcdir
2665 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2666 esac
2667 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2669 cd "$ac_dir" || { ac_status=$?; continue; }
2670 # Check for guested configure.
2671 if test -f "$ac_srcdir/configure.gnu"; then
2672 echo &&
2673 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2674 elif test -f "$ac_srcdir/configure"; then
2675 echo &&
2676 $SHELL "$ac_srcdir/configure" --help=recursive
2677 else
2678 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2679 fi || ac_status=$?
2680 cd "$ac_pwd" || { ac_status=$?; break; }
2681 done
2684 test -n "$ac_init_help" && exit $ac_status
2685 if $ac_init_version; then
2686 cat <<\_ACEOF
2687 Wine configure 3.12
2688 generated by GNU Autoconf 2.69
2690 Copyright (C) 2012 Free Software Foundation, Inc.
2691 This configure script is free software; the Free Software Foundation
2692 gives unlimited permission to copy, distribute and modify it.
2693 _ACEOF
2694 exit
2697 ## ------------------------ ##
2698 ## Autoconf initialization. ##
2699 ## ------------------------ ##
2701 # ac_fn_c_try_compile LINENO
2702 # --------------------------
2703 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2704 ac_fn_c_try_compile ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 rm -f conftest.$ac_objext
2708 if { { ac_try="$ac_compile"
2709 case "(($ac_try" in
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2712 esac
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_compile") 2>conftest.err
2716 ac_status=$?
2717 if test -s conftest.err; then
2718 grep -v '^ *+' conftest.err >conftest.er1
2719 cat conftest.er1 >&5
2720 mv -f conftest.er1 conftest.err
2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2723 test $ac_status = 0; } && {
2724 test -z "$ac_c_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then :
2727 ac_retval=0
2728 else
2729 $as_echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 ac_retval=1
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 as_fn_set_status $ac_retval
2737 } # ac_fn_c_try_compile
2739 # ac_fn_cxx_try_compile LINENO
2740 # ----------------------------
2741 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2742 ac_fn_cxx_try_compile ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 rm -f conftest.$ac_objext
2746 if { { ac_try="$ac_compile"
2747 case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_compile") 2>conftest.err
2754 ac_status=$?
2755 if test -s conftest.err; then
2756 grep -v '^ *+' conftest.err >conftest.er1
2757 cat conftest.er1 >&5
2758 mv -f conftest.er1 conftest.err
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; } && {
2762 test -z "$ac_cxx_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then :
2765 ac_retval=0
2766 else
2767 $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 ac_retval=1
2772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2773 as_fn_set_status $ac_retval
2775 } # ac_fn_cxx_try_compile
2777 # ac_fn_c_try_link LINENO
2778 # -----------------------
2779 # Try to link conftest.$ac_ext, and return whether this succeeded.
2780 ac_fn_c_try_link ()
2782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2783 rm -f conftest.$ac_objext conftest$ac_exeext
2784 if { { ac_try="$ac_link"
2785 case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791 (eval "$ac_link") 2>conftest.err
2792 ac_status=$?
2793 if test -s conftest.err; then
2794 grep -v '^ *+' conftest.err >conftest.er1
2795 cat conftest.er1 >&5
2796 mv -f conftest.er1 conftest.err
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest$ac_exeext && {
2803 test "$cross_compiling" = yes ||
2804 test -x conftest$ac_exeext
2805 }; then :
2806 ac_retval=0
2807 else
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2811 ac_retval=1
2813 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2814 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2815 # interfere with the next link command; also delete a directory that is
2816 # left behind by Apple's compiler. We do this before executing the actions.
2817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_c_try_link
2823 # ac_fn_c_try_cpp LINENO
2824 # ----------------------
2825 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2826 ac_fn_c_try_cpp ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 if { { ac_try="$ac_cpp conftest.$ac_ext"
2830 case "(($ac_try" in
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2833 esac
2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2837 ac_status=$?
2838 if test -s conftest.err; then
2839 grep -v '^ *+' conftest.err >conftest.er1
2840 cat conftest.er1 >&5
2841 mv -f conftest.er1 conftest.err
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; } > conftest.i && {
2845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2846 test ! -s conftest.err
2847 }; then :
2848 ac_retval=0
2849 else
2850 $as_echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2853 ac_retval=1
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856 as_fn_set_status $ac_retval
2858 } # ac_fn_c_try_cpp
2860 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2861 # -------------------------------------------------------
2862 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2863 # the include files in INCLUDES and setting the cache variable VAR
2864 # accordingly.
2865 ac_fn_c_check_header_mongrel ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 if eval \${$3+:} false; then :
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2870 $as_echo_n "checking for $2... " >&6; }
2871 if eval \${$3+:} false; then :
2872 $as_echo_n "(cached) " >&6
2874 eval ac_res=\$$3
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2876 $as_echo "$ac_res" >&6; }
2877 else
2878 # Is the header compilable?
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2880 $as_echo_n "checking $2 usability... " >&6; }
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2884 #include <$2>
2885 _ACEOF
2886 if ac_fn_c_try_compile "$LINENO"; then :
2887 ac_header_compiler=yes
2888 else
2889 ac_header_compiler=no
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2893 $as_echo "$ac_header_compiler" >&6; }
2895 # Is the header present?
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2897 $as_echo_n "checking $2 presence... " >&6; }
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2900 #include <$2>
2901 _ACEOF
2902 if ac_fn_c_try_cpp "$LINENO"; then :
2903 ac_header_preproc=yes
2904 else
2905 ac_header_preproc=no
2907 rm -f conftest.err conftest.i conftest.$ac_ext
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2909 $as_echo "$ac_header_preproc" >&6; }
2911 # So? What about this header?
2912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2913 yes:no: )
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2915 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2917 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2919 no:yes:* )
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2921 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2923 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2925 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2927 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2929 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2930 ( $as_echo "## ------------------------------------ ##
2931 ## Report this to wine-devel@winehq.org ##
2932 ## ------------------------------------ ##"
2933 ) | sed "s/^/$as_me: WARNING: /" >&2
2935 esac
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2937 $as_echo_n "checking for $2... " >&6; }
2938 if eval \${$3+:} false; then :
2939 $as_echo_n "(cached) " >&6
2940 else
2941 eval "$3=\$ac_header_compiler"
2943 eval ac_res=\$$3
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2945 $as_echo "$ac_res" >&6; }
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 } # ac_fn_c_check_header_mongrel
2951 # ac_fn_c_try_run LINENO
2952 # ----------------------
2953 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2954 # that executables *can* be run.
2955 ac_fn_c_try_run ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 if { { ac_try="$ac_link"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_link") 2>&5
2966 ac_status=$?
2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2969 { { case "(($ac_try" in
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2972 esac
2973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_try") 2>&5
2976 ac_status=$?
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; }; }; then :
2979 ac_retval=0
2980 else
2981 $as_echo "$as_me: program exited with status $ac_status" >&5
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_retval=$ac_status
2987 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2989 as_fn_set_status $ac_retval
2991 } # ac_fn_c_try_run
2993 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2994 # -------------------------------------------------------
2995 # Tests whether HEADER exists and can be compiled using the include files in
2996 # INCLUDES, setting the cache variable VAR accordingly.
2997 ac_fn_c_check_header_compile ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 $as_echo_n "checking for $2... " >&6; }
3002 if eval \${$3+:} false; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3008 #include <$2>
3009 _ACEOF
3010 if ac_fn_c_try_compile "$LINENO"; then :
3011 eval "$3=yes"
3012 else
3013 eval "$3=no"
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 eval ac_res=\$$3
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3019 $as_echo "$ac_res" >&6; }
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 } # ac_fn_c_check_header_compile
3024 # ac_fn_objc_try_compile LINENO
3025 # -----------------------------
3026 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3027 ac_fn_objc_try_compile ()
3029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3030 rm -f conftest.$ac_objext
3031 if { { ac_try="$ac_compile"
3032 case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_compile") 2>conftest.err
3039 ac_status=$?
3040 if test -s conftest.err; then
3041 grep -v '^ *+' conftest.err >conftest.er1
3042 cat conftest.er1 >&5
3043 mv -f conftest.er1 conftest.err
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; } && {
3047 test -z "$ac_objc_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then :
3050 ac_retval=0
3051 else
3052 $as_echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3055 ac_retval=1
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 as_fn_set_status $ac_retval
3060 } # ac_fn_objc_try_compile
3062 # ac_fn_objc_try_cpp LINENO
3063 # -------------------------
3064 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3065 ac_fn_objc_try_cpp ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 if { { ac_try="$ac_cpp conftest.$ac_ext"
3069 case "(($ac_try" in
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3072 esac
3073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3076 ac_status=$?
3077 if test -s conftest.err; then
3078 grep -v '^ *+' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3080 mv -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; } > conftest.i && {
3084 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3085 test ! -s conftest.err
3086 }; then :
3087 ac_retval=0
3088 else
3089 $as_echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3092 ac_retval=1
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 as_fn_set_status $ac_retval
3097 } # ac_fn_objc_try_cpp
3099 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3100 # ----------------------------------------------------------
3101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3102 # the include files in INCLUDES and setting the cache variable VAR
3103 # accordingly.
3104 ac_fn_objc_check_header_mongrel ()
3106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3107 if eval \${$3+:} false; then :
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3109 $as_echo_n "checking for $2... " >&6; }
3110 if eval \${$3+:} false; then :
3111 $as_echo_n "(cached) " >&6
3113 eval ac_res=\$$3
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 $as_echo "$ac_res" >&6; }
3116 else
3117 # Is the header compilable?
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3119 $as_echo_n "checking $2 usability... " >&6; }
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3123 #include <$2>
3124 _ACEOF
3125 if ac_fn_objc_try_compile "$LINENO"; then :
3126 ac_header_compiler=yes
3127 else
3128 ac_header_compiler=no
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3132 $as_echo "$ac_header_compiler" >&6; }
3134 # Is the header present?
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3136 $as_echo_n "checking $2 presence... " >&6; }
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3139 #include <$2>
3140 _ACEOF
3141 if ac_fn_objc_try_cpp "$LINENO"; then :
3142 ac_header_preproc=yes
3143 else
3144 ac_header_preproc=no
3146 rm -f conftest.err conftest.i conftest.$ac_ext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3148 $as_echo "$ac_header_preproc" >&6; }
3150 # So? What about this header?
3151 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3152 yes:no: )
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3158 no:yes:* )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3169 ( $as_echo "## ------------------------------------ ##
3170 ## Report this to wine-devel@winehq.org ##
3171 ## ------------------------------------ ##"
3172 ) | sed "s/^/$as_me: WARNING: /" >&2
3174 esac
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3176 $as_echo_n "checking for $2... " >&6; }
3177 if eval \${$3+:} false; then :
3178 $as_echo_n "(cached) " >&6
3179 else
3180 eval "$3=\$ac_header_compiler"
3182 eval ac_res=\$$3
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3184 $as_echo "$ac_res" >&6; }
3186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3188 } # ac_fn_objc_check_header_mongrel
3190 # ac_fn_c_check_func LINENO FUNC VAR
3191 # ----------------------------------
3192 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3193 ac_fn_c_check_func ()
3195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3197 $as_echo_n "checking for $2... " >&6; }
3198 if eval \${$3+:} false; then :
3199 $as_echo_n "(cached) " >&6
3200 else
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3203 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3205 #define $2 innocuous_$2
3207 /* System header to define __stub macros and hopefully few prototypes,
3208 which can conflict with char $2 (); below.
3209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3210 <limits.h> exists even on freestanding compilers. */
3212 #ifdef __STDC__
3213 # include <limits.h>
3214 #else
3215 # include <assert.h>
3216 #endif
3218 #undef $2
3220 /* Override any GCC internal prototype to avoid an error.
3221 Use char because int might match the return type of a GCC
3222 builtin and then its argument prototype would still apply. */
3223 #ifdef __cplusplus
3224 extern "C"
3225 #endif
3226 char $2 ();
3227 /* The GNU C library defines this for functions which it implements
3228 to always fail with ENOSYS. Some functions are actually named
3229 something starting with __ and the normal name is an alias. */
3230 #if defined __stub_$2 || defined __stub___$2
3231 choke me
3232 #endif
3235 main ()
3237 return $2 ();
3239 return 0;
3241 _ACEOF
3242 if ac_fn_c_try_link "$LINENO"; then :
3243 eval "$3=yes"
3244 else
3245 eval "$3=no"
3247 rm -f core conftest.err conftest.$ac_objext \
3248 conftest$ac_exeext conftest.$ac_ext
3250 eval ac_res=\$$3
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3252 $as_echo "$ac_res" >&6; }
3253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3255 } # ac_fn_c_check_func
3257 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3258 # ----------------------------------------------------
3259 # Tries to find if the field MEMBER exists in type AGGR, after including
3260 # INCLUDES, setting cache variable VAR accordingly.
3261 ac_fn_c_check_member ()
3263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3265 $as_echo_n "checking for $2.$3... " >&6; }
3266 if eval \${$4+:} false; then :
3267 $as_echo_n "(cached) " >&6
3268 else
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3273 main ()
3275 static $2 ac_aggr;
3276 if (ac_aggr.$3)
3277 return 0;
3279 return 0;
3281 _ACEOF
3282 if ac_fn_c_try_compile "$LINENO"; then :
3283 eval "$4=yes"
3284 else
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3289 main ()
3291 static $2 ac_aggr;
3292 if (sizeof ac_aggr.$3)
3293 return 0;
3295 return 0;
3297 _ACEOF
3298 if ac_fn_c_try_compile "$LINENO"; then :
3299 eval "$4=yes"
3300 else
3301 eval "$4=no"
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 eval ac_res=\$$4
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3309 $as_echo "$ac_res" >&6; }
3310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3312 } # ac_fn_c_check_member
3314 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3315 # -------------------------------------------
3316 # Tests whether TYPE exists after having included INCLUDES, setting cache
3317 # variable VAR accordingly.
3318 ac_fn_c_check_type ()
3320 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3322 $as_echo_n "checking for $2... " >&6; }
3323 if eval \${$3+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 eval "$3=no"
3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3331 main ()
3333 if (sizeof ($2))
3334 return 0;
3336 return 0;
3338 _ACEOF
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3344 main ()
3346 if (sizeof (($2)))
3347 return 0;
3349 return 0;
3351 _ACEOF
3352 if ac_fn_c_try_compile "$LINENO"; then :
3354 else
3355 eval "$3=yes"
3357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 eval ac_res=\$$3
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3363 $as_echo "$ac_res" >&6; }
3364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3366 } # ac_fn_c_check_type
3367 cat >config.log <<_ACEOF
3368 This file contains any messages produced by compilers while
3369 running configure, to aid debugging if configure makes a mistake.
3371 It was created by Wine $as_me 3.12, which was
3372 generated by GNU Autoconf 2.69. Invocation command line was
3374 $ $0 $@
3376 _ACEOF
3377 exec 5>>config.log
3379 cat <<_ASUNAME
3380 ## --------- ##
3381 ## Platform. ##
3382 ## --------- ##
3384 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3385 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3386 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3387 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3388 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3390 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3391 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3393 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3394 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3395 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3396 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3397 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3398 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3399 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3401 _ASUNAME
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 $as_echo "PATH: $as_dir"
3409 done
3410 IFS=$as_save_IFS
3412 } >&5
3414 cat >&5 <<_ACEOF
3417 ## ----------- ##
3418 ## Core tests. ##
3419 ## ----------- ##
3421 _ACEOF
3424 # Keep a trace of the command line.
3425 # Strip out --no-create and --no-recursion so they do not pile up.
3426 # Strip out --silent because we don't want to record it for future runs.
3427 # Also quote any args containing shell meta-characters.
3428 # Make two passes to allow for proper duplicate-argument suppression.
3429 ac_configure_args=
3430 ac_configure_args0=
3431 ac_configure_args1=
3432 ac_must_keep_next=false
3433 for ac_pass in 1 2
3435 for ac_arg
3437 case $ac_arg in
3438 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3440 | -silent | --silent | --silen | --sile | --sil)
3441 continue ;;
3442 *\'*)
3443 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3444 esac
3445 case $ac_pass in
3446 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3448 as_fn_append ac_configure_args1 " '$ac_arg'"
3449 if test $ac_must_keep_next = true; then
3450 ac_must_keep_next=false # Got value, back to normal.
3451 else
3452 case $ac_arg in
3453 *=* | --config-cache | -C | -disable-* | --disable-* \
3454 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3455 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3456 | -with-* | --with-* | -without-* | --without-* | --x)
3457 case "$ac_configure_args0 " in
3458 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3459 esac
3461 -* ) ac_must_keep_next=true ;;
3462 esac
3464 as_fn_append ac_configure_args " '$ac_arg'"
3466 esac
3467 done
3468 done
3469 { ac_configure_args0=; unset ac_configure_args0;}
3470 { ac_configure_args1=; unset ac_configure_args1;}
3472 # When interrupted or exit'd, cleanup temporary files, and complete
3473 # config.log. We remove comments because anyway the quotes in there
3474 # would cause problems or look ugly.
3475 # WARNING: Use '\'' to represent an apostrophe within the trap.
3476 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3477 trap 'exit_status=$?
3478 # Save into config.log some information that might help in debugging.
3480 echo
3482 $as_echo "## ---------------- ##
3483 ## Cache variables. ##
3484 ## ---------------- ##"
3485 echo
3486 # The following way of writing the cache mishandles newlines in values,
3488 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3489 eval ac_val=\$$ac_var
3490 case $ac_val in #(
3491 *${as_nl}*)
3492 case $ac_var in #(
3493 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3494 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3495 esac
3496 case $ac_var in #(
3497 _ | IFS | as_nl) ;; #(
3498 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3499 *) { eval $ac_var=; unset $ac_var;} ;;
3500 esac ;;
3501 esac
3502 done
3503 (set) 2>&1 |
3504 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3505 *${as_nl}ac_space=\ *)
3506 sed -n \
3507 "s/'\''/'\''\\\\'\'''\''/g;
3508 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3509 ;; #(
3511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3513 esac |
3514 sort
3516 echo
3518 $as_echo "## ----------------- ##
3519 ## Output variables. ##
3520 ## ----------------- ##"
3521 echo
3522 for ac_var in $ac_subst_vars
3524 eval ac_val=\$$ac_var
3525 case $ac_val in
3526 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3527 esac
3528 $as_echo "$ac_var='\''$ac_val'\''"
3529 done | sort
3530 echo
3532 if test -n "$ac_subst_files"; then
3533 $as_echo "## ------------------- ##
3534 ## File substitutions. ##
3535 ## ------------------- ##"
3536 echo
3537 for ac_var in $ac_subst_files
3539 eval ac_val=\$$ac_var
3540 case $ac_val in
3541 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3542 esac
3543 $as_echo "$ac_var='\''$ac_val'\''"
3544 done | sort
3545 echo
3548 if test -s confdefs.h; then
3549 $as_echo "## ----------- ##
3550 ## confdefs.h. ##
3551 ## ----------- ##"
3552 echo
3553 cat confdefs.h
3554 echo
3556 test "$ac_signal" != 0 &&
3557 $as_echo "$as_me: caught signal $ac_signal"
3558 $as_echo "$as_me: exit $exit_status"
3559 } >&5
3560 rm -f core *.core core.conftest.* &&
3561 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3562 exit $exit_status
3564 for ac_signal in 1 2 13 15; do
3565 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3566 done
3567 ac_signal=0
3569 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3570 rm -f -r conftest* confdefs.h
3572 $as_echo "/* confdefs.h */" > confdefs.h
3574 # Predefined preprocessor variables.
3576 cat >>confdefs.h <<_ACEOF
3577 #define PACKAGE_NAME "$PACKAGE_NAME"
3578 _ACEOF
3580 cat >>confdefs.h <<_ACEOF
3581 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3582 _ACEOF
3584 cat >>confdefs.h <<_ACEOF
3585 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3586 _ACEOF
3588 cat >>confdefs.h <<_ACEOF
3589 #define PACKAGE_STRING "$PACKAGE_STRING"
3590 _ACEOF
3592 cat >>confdefs.h <<_ACEOF
3593 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3594 _ACEOF
3596 cat >>confdefs.h <<_ACEOF
3597 #define PACKAGE_URL "$PACKAGE_URL"
3598 _ACEOF
3601 # Let the site file select an alternate cache file if it wants to.
3602 # Prefer an explicitly selected file to automatically selected ones.
3603 ac_site_file1=NONE
3604 ac_site_file2=NONE
3605 if test -n "$CONFIG_SITE"; then
3606 # We do not want a PATH search for config.site.
3607 case $CONFIG_SITE in #((
3608 -*) ac_site_file1=./$CONFIG_SITE;;
3609 */*) ac_site_file1=$CONFIG_SITE;;
3610 *) ac_site_file1=./$CONFIG_SITE;;
3611 esac
3612 elif test "x$prefix" != xNONE; then
3613 ac_site_file1=$prefix/share/config.site
3614 ac_site_file2=$prefix/etc/config.site
3615 else
3616 ac_site_file1=$ac_default_prefix/share/config.site
3617 ac_site_file2=$ac_default_prefix/etc/config.site
3619 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3621 test "x$ac_site_file" = xNONE && continue
3622 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3624 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3625 sed 's/^/| /' "$ac_site_file" >&5
3626 . "$ac_site_file" \
3627 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 as_fn_error $? "failed to load site script $ac_site_file
3630 See \`config.log' for more details" "$LINENO" 5; }
3632 done
3634 if test -r "$cache_file"; then
3635 # Some versions of bash will fail to source /dev/null (special files
3636 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3637 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3639 $as_echo "$as_me: loading cache $cache_file" >&6;}
3640 case $cache_file in
3641 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3642 *) . "./$cache_file";;
3643 esac
3645 else
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3647 $as_echo "$as_me: creating cache $cache_file" >&6;}
3648 >$cache_file
3651 # Check that the precious variables saved in the cache have kept the same
3652 # value.
3653 ac_cache_corrupted=false
3654 for ac_var in $ac_precious_vars; do
3655 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3656 eval ac_new_set=\$ac_env_${ac_var}_set
3657 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3658 eval ac_new_val=\$ac_env_${ac_var}_value
3659 case $ac_old_set,$ac_new_set in
3660 set,)
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3662 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3663 ac_cache_corrupted=: ;;
3664 ,set)
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3666 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3667 ac_cache_corrupted=: ;;
3668 ,);;
3670 if test "x$ac_old_val" != "x$ac_new_val"; then
3671 # differences in whitespace do not lead to failure.
3672 ac_old_val_w=`echo x $ac_old_val`
3673 ac_new_val_w=`echo x $ac_new_val`
3674 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3676 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3677 ac_cache_corrupted=:
3678 else
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3680 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3681 eval $ac_var=\$ac_old_val
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3684 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3686 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3687 fi;;
3688 esac
3689 # Pass precious variables to config.status.
3690 if test "$ac_new_set" = set; then
3691 case $ac_new_val in
3692 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3693 *) ac_arg=$ac_var=$ac_new_val ;;
3694 esac
3695 case " $ac_configure_args " in
3696 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3697 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3698 esac
3700 done
3701 if $ac_cache_corrupted; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3705 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3706 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3708 ## -------------------- ##
3709 ## Main body of script. ##
3710 ## -------------------- ##
3712 ac_ext=c
3713 ac_cpp='$CPP $CPPFLAGS'
3714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 ac_config_headers="$ac_config_headers include/config.h"
3722 ac_aux_dir=
3723 for ac_dir in tools "$srcdir"/tools; do
3724 if test -f "$ac_dir/install-sh"; then
3725 ac_aux_dir=$ac_dir
3726 ac_install_sh="$ac_aux_dir/install-sh -c"
3727 break
3728 elif test -f "$ac_dir/install.sh"; then
3729 ac_aux_dir=$ac_dir
3730 ac_install_sh="$ac_aux_dir/install.sh -c"
3731 break
3732 elif test -f "$ac_dir/shtool"; then
3733 ac_aux_dir=$ac_dir
3734 ac_install_sh="$ac_aux_dir/shtool install -c"
3735 break
3737 done
3738 if test -z "$ac_aux_dir"; then
3739 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3742 # These three variables are undocumented and unsupported,
3743 # and are intended to be withdrawn in a future Autoconf release.
3744 # They can cause serious problems if a builder's source tree is in a directory
3745 # whose full name contains unusual characters.
3746 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3747 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3748 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3752 libwine_version="1.0"
3756 # Check whether --enable-win16 was given.
3757 if test "${enable_win16+set}" = set; then :
3758 enableval=$enable_win16;
3761 # Check whether --enable-win64 was given.
3762 if test "${enable_win64+set}" = set; then :
3763 enableval=$enable_win64;
3766 # Check whether --enable-tests was given.
3767 if test "${enable_tests+set}" = set; then :
3768 enableval=$enable_tests;
3771 # Check whether --enable-maintainer-mode was given.
3772 if test "${enable_maintainer_mode+set}" = set; then :
3773 enableval=$enable_maintainer_mode;
3778 # Check whether --with-alsa was given.
3779 if test "${with_alsa+set}" = set; then :
3780 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3784 # Check whether --with-capi was given.
3785 if test "${with_capi+set}" = set; then :
3786 withval=$with_capi;
3790 # Check whether --with-cms was given.
3791 if test "${with_cms+set}" = set; then :
3792 withval=$with_cms;
3796 # Check whether --with-coreaudio was given.
3797 if test "${with_coreaudio+set}" = set; then :
3798 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3802 # Check whether --with-cups was given.
3803 if test "${with_cups+set}" = set; then :
3804 withval=$with_cups;
3808 # Check whether --with-curses was given.
3809 if test "${with_curses+set}" = set; then :
3810 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3814 # Check whether --with-dbus was given.
3815 if test "${with_dbus+set}" = set; then :
3816 withval=$with_dbus;
3820 # Check whether --with-float-abi was given.
3821 if test "${with_float_abi+set}" = set; then :
3822 withval=$with_float_abi;
3826 # Check whether --with-fontconfig was given.
3827 if test "${with_fontconfig+set}" = set; then :
3828 withval=$with_fontconfig;
3832 # Check whether --with-freetype was given.
3833 if test "${with_freetype+set}" = set; then :
3834 withval=$with_freetype;
3838 # Check whether --with-gettext was given.
3839 if test "${with_gettext+set}" = set; then :
3840 withval=$with_gettext;
3844 # Check whether --with-gettextpo was given.
3845 if test "${with_gettextpo+set}" = set; then :
3846 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3850 # Check whether --with-gphoto was given.
3851 if test "${with_gphoto+set}" = set; then :
3852 withval=$with_gphoto;
3856 # Check whether --with-glu was given.
3857 if test "${with_glu+set}" = set; then :
3858 withval=$with_glu;
3862 # Check whether --with-gnutls was given.
3863 if test "${with_gnutls+set}" = set; then :
3864 withval=$with_gnutls;
3868 # Check whether --with-gsm was given.
3869 if test "${with_gsm+set}" = set; then :
3870 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3874 # Check whether --with-gssapi was given.
3875 if test "${with_gssapi+set}" = set; then :
3876 withval=$with_gssapi;
3880 # Check whether --with-gstreamer was given.
3881 if test "${with_gstreamer+set}" = set; then :
3882 withval=$with_gstreamer;
3886 # Check whether --with-hal was given.
3887 if test "${with_hal+set}" = set; then :
3888 withval=$with_hal;
3892 # Check whether --with-jpeg was given.
3893 if test "${with_jpeg+set}" = set; then :
3894 withval=$with_jpeg;
3898 # Check whether --with-krb5 was given.
3899 if test "${with_krb5+set}" = set; then :
3900 withval=$with_krb5;
3904 # Check whether --with-ldap was given.
3905 if test "${with_ldap+set}" = set; then :
3906 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3910 # Check whether --with-mpg123 was given.
3911 if test "${with_mpg123+set}" = set; then :
3912 withval=$with_mpg123;
3916 # Check whether --with-netapi was given.
3917 if test "${with_netapi+set}" = set; then :
3918 withval=$with_netapi;
3922 # Check whether --with-openal was given.
3923 if test "${with_openal+set}" = set; then :
3924 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3928 # Check whether --with-opencl was given.
3929 if test "${with_opencl+set}" = set; then :
3930 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3934 # Check whether --with-opengl was given.
3935 if test "${with_opengl+set}" = set; then :
3936 withval=$with_opengl;
3940 # Check whether --with-osmesa was given.
3941 if test "${with_osmesa+set}" = set; then :
3942 withval=$with_osmesa;
3946 # Check whether --with-oss was given.
3947 if test "${with_oss+set}" = set; then :
3948 withval=$with_oss;
3952 # Check whether --with-pcap was given.
3953 if test "${with_pcap+set}" = set; then :
3954 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3958 # Check whether --with-png was given.
3959 if test "${with_png+set}" = set; then :
3960 withval=$with_png;
3964 # Check whether --with-pthread was given.
3965 if test "${with_pthread+set}" = set; then :
3966 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3970 # Check whether --with-pulse was given.
3971 if test "${with_pulse+set}" = set; then :
3972 withval=$with_pulse;
3976 # Check whether --with-sane was given.
3977 if test "${with_sane+set}" = set; then :
3978 withval=$with_sane;
3982 # Check whether --with-sdl was given.
3983 if test "${with_sdl+set}" = set; then :
3984 withval=$with_sdl;
3988 # Check whether --with-tiff was given.
3989 if test "${with_tiff+set}" = set; then :
3990 withval=$with_tiff;
3994 # Check whether --with-udev was given.
3995 if test "${with_udev+set}" = set; then :
3996 withval=$with_udev;
4000 # Check whether --with-v4l was given.
4001 if test "${with_v4l+set}" = set; then :
4002 withval=$with_v4l;
4006 # Check whether --with-vkd3d was given.
4007 if test "${with_vkd3d+set}" = set; then :
4008 withval=$with_vkd3d;
4012 # Check whether --with-vulkan was given.
4013 if test "${with_vulkan+set}" = set; then :
4014 withval=$with_vulkan;
4018 # Check whether --with-xcomposite was given.
4019 if test "${with_xcomposite+set}" = set; then :
4020 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4024 # Check whether --with-xcursor was given.
4025 if test "${with_xcursor+set}" = set; then :
4026 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4030 # Check whether --with-xfixes was given.
4031 if test "${with_xfixes+set}" = set; then :
4032 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4036 # Check whether --with-xinerama was given.
4037 if test "${with_xinerama+set}" = set; then :
4038 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4042 # Check whether --with-xinput was given.
4043 if test "${with_xinput+set}" = set; then :
4044 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4048 # Check whether --with-xinput2 was given.
4049 if test "${with_xinput2+set}" = set; then :
4050 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4054 # Check whether --with-xml was given.
4055 if test "${with_xml+set}" = set; then :
4056 withval=$with_xml;
4060 # Check whether --with-xrandr was given.
4061 if test "${with_xrandr+set}" = set; then :
4062 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4066 # Check whether --with-xrender was given.
4067 if test "${with_xrender+set}" = set; then :
4068 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4072 # Check whether --with-xshape was given.
4073 if test "${with_xshape+set}" = set; then :
4074 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4078 # Check whether --with-xshm was given.
4079 if test "${with_xshm+set}" = set; then :
4080 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4084 # Check whether --with-xslt was given.
4085 if test "${with_xslt+set}" = set; then :
4086 withval=$with_xslt;
4090 # Check whether --with-xxf86vm was given.
4091 if test "${with_xxf86vm+set}" = set; then :
4092 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
4096 # Check whether --with-zlib was given.
4097 if test "${with_zlib+set}" = set; then :
4098 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4103 # Check whether --with-wine-tools was given.
4104 if test "${with_wine_tools+set}" = set; then :
4105 withval=$with_wine_tools;
4109 # Check whether --with-wine64 was given.
4110 if test "${with_wine64+set}" = set; then :
4111 withval=$with_wine64;
4115 # Make sure we can run config.sub.
4116 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4117 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4120 $as_echo_n "checking build system type... " >&6; }
4121 if ${ac_cv_build+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 ac_build_alias=$build_alias
4125 test "x$ac_build_alias" = x &&
4126 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4127 test "x$ac_build_alias" = x &&
4128 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4129 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4130 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4134 $as_echo "$ac_cv_build" >&6; }
4135 case $ac_cv_build in
4136 *-*-*) ;;
4137 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4138 esac
4139 build=$ac_cv_build
4140 ac_save_IFS=$IFS; IFS='-'
4141 set x $ac_cv_build
4142 shift
4143 build_cpu=$1
4144 build_vendor=$2
4145 shift; shift
4146 # Remember, the first character of IFS is used to create $*,
4147 # except with old shells:
4148 build_os=$*
4149 IFS=$ac_save_IFS
4150 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4154 $as_echo_n "checking host system type... " >&6; }
4155 if ${ac_cv_host+:} false; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 if test "x$host_alias" = x; then
4159 ac_cv_host=$ac_cv_build
4160 else
4161 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4162 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4167 $as_echo "$ac_cv_host" >&6; }
4168 case $ac_cv_host in
4169 *-*-*) ;;
4170 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4171 esac
4172 host=$ac_cv_host
4173 ac_save_IFS=$IFS; IFS='-'
4174 set x $ac_cv_host
4175 shift
4176 host_cpu=$1
4177 host_vendor=$2
4178 shift; shift
4179 # Remember, the first character of IFS is used to create $*,
4180 # except with old shells:
4181 host_os=$*
4182 IFS=$ac_save_IFS
4183 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4187 case "$srcdir" in
4188 .) ;;
4189 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4190 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4191 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4192 fi ;;
4193 esac
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4197 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4198 set x ${MAKE-make}
4199 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4200 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 cat >conftest.make <<\_ACEOF
4204 SHELL = /bin/sh
4205 all:
4206 @echo '@@@%%%=$(MAKE)=@@@%%%'
4207 _ACEOF
4208 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4209 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4210 *@@@%%%=?*=@@@%%%*)
4211 eval ac_cv_prog_make_${ac_make}_set=yes;;
4213 eval ac_cv_prog_make_${ac_make}_set=no;;
4214 esac
4215 rm -f conftest.make
4217 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4219 $as_echo "yes" >&6; }
4220 SET_MAKE=
4221 else
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4224 SET_MAKE="MAKE=${MAKE-make}"
4227 ac_ext=c
4228 ac_cpp='$CPP $CPPFLAGS'
4229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4232 if test -n "$ac_tool_prefix"; then
4233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4234 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if ${ac_cv_prog_CC+:} false; then :
4238 $as_echo_n "(cached) " >&6
4239 else
4240 if test -n "$CC"; then
4241 ac_cv_prog_CC="$CC" # Let the user override the test.
4242 else
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244 for as_dir in $PATH
4246 IFS=$as_save_IFS
4247 test -z "$as_dir" && as_dir=.
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4250 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 break 2
4254 done
4255 done
4256 IFS=$as_save_IFS
4260 CC=$ac_cv_prog_CC
4261 if test -n "$CC"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4263 $as_echo "$CC" >&6; }
4264 else
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4271 if test -z "$ac_cv_prog_CC"; then
4272 ac_ct_CC=$CC
4273 # Extract the first word of "gcc", so it can be a program name with args.
4274 set dummy gcc; ac_word=$2
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4278 $as_echo_n "(cached) " >&6
4279 else
4280 if test -n "$ac_ct_CC"; then
4281 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4282 else
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH
4286 IFS=$as_save_IFS
4287 test -z "$as_dir" && as_dir=.
4288 for ac_exec_ext in '' $ac_executable_extensions; do
4289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4290 ac_cv_prog_ac_ct_CC="gcc"
4291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 break 2
4294 done
4295 done
4296 IFS=$as_save_IFS
4300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4301 if test -n "$ac_ct_CC"; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4303 $as_echo "$ac_ct_CC" >&6; }
4304 else
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4309 if test "x$ac_ct_CC" = x; then
4310 CC=""
4311 else
4312 case $cross_compiling:$ac_tool_warned in
4313 yes:)
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4316 ac_tool_warned=yes ;;
4317 esac
4318 CC=$ac_ct_CC
4320 else
4321 CC="$ac_cv_prog_CC"
4324 if test -z "$CC"; then
4325 if test -n "$ac_tool_prefix"; then
4326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4327 set dummy ${ac_tool_prefix}cc; ac_word=$2
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329 $as_echo_n "checking for $ac_word... " >&6; }
4330 if ${ac_cv_prog_CC+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4333 if test -n "$CC"; then
4334 ac_cv_prog_CC="$CC" # Let the user override the test.
4335 else
4336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337 for as_dir in $PATH
4339 IFS=$as_save_IFS
4340 test -z "$as_dir" && as_dir=.
4341 for ac_exec_ext in '' $ac_executable_extensions; do
4342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343 ac_cv_prog_CC="${ac_tool_prefix}cc"
4344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 break 2
4347 done
4348 done
4349 IFS=$as_save_IFS
4353 CC=$ac_cv_prog_CC
4354 if test -n "$CC"; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4356 $as_echo "$CC" >&6; }
4357 else
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4365 if test -z "$CC"; then
4366 # Extract the first word of "cc", so it can be a program name with args.
4367 set dummy cc; ac_word=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if ${ac_cv_prog_CC+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 if test -n "$CC"; then
4374 ac_cv_prog_CC="$CC" # Let the user override the test.
4375 else
4376 ac_prog_rejected=no
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4380 IFS=$as_save_IFS
4381 test -z "$as_dir" && as_dir=.
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4385 ac_prog_rejected=yes
4386 continue
4388 ac_cv_prog_CC="cc"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 break 2
4392 done
4393 done
4394 IFS=$as_save_IFS
4396 if test $ac_prog_rejected = yes; then
4397 # We found a bogon in the path, so make sure we never use it.
4398 set dummy $ac_cv_prog_CC
4399 shift
4400 if test $# != 0; then
4401 # We chose a different compiler from the bogus one.
4402 # However, it has the same basename, so the bogon will be chosen
4403 # first if we set CC to just the basename; use the full file name.
4404 shift
4405 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4410 CC=$ac_cv_prog_CC
4411 if test -n "$CC"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4413 $as_echo "$CC" >&6; }
4414 else
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4421 if test -z "$CC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 for ac_prog in cl.exe
4425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$CC"; then
4433 ac_cv_prog_CC="$CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 CC=$ac_cv_prog_CC
4453 if test -n "$CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4455 $as_echo "$CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4462 test -n "$CC" && break
4463 done
4465 if test -z "$CC"; then
4466 ac_ct_CC=$CC
4467 for ac_prog in cl.exe
4469 # Extract the first word of "$ac_prog", so it can be a program name with args.
4470 set dummy $ac_prog; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$ac_ct_CC"; then
4477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_ac_ct_CC="$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4497 if test -n "$ac_ct_CC"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4499 $as_echo "$ac_ct_CC" >&6; }
4500 else
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$ac_ct_CC" && break
4507 done
4509 if test "x$ac_ct_CC" = x; then
4510 CC=""
4511 else
4512 case $cross_compiling:$ac_tool_warned in
4513 yes:)
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4517 esac
4518 CC=$ac_ct_CC
4525 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4527 as_fn_error $? "no acceptable C compiler found in \$PATH
4528 See \`config.log' for more details" "$LINENO" 5; }
4530 # Provide some information about the compiler.
4531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4532 set X $ac_compile
4533 ac_compiler=$2
4534 for ac_option in --version -v -V -qversion; do
4535 { { ac_try="$ac_compiler $ac_option >&5"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4543 ac_status=$?
4544 if test -s conftest.err; then
4545 sed '10a\
4546 ... rest of stderr output deleted ...
4547 10q' conftest.err >conftest.er1
4548 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552 test $ac_status = 0; }
4553 done
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4559 main ()
4563 return 0;
4565 _ACEOF
4566 ac_clean_files_save=$ac_clean_files
4567 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4568 # Try to create an executable without -o first, disregard a.out.
4569 # It will help us diagnose broken compilers, and finding out an intuition
4570 # of exeext.
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4572 $as_echo_n "checking whether the C compiler works... " >&6; }
4573 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4575 # The possible output files:
4576 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4578 ac_rmfiles=
4579 for ac_file in $ac_files
4581 case $ac_file in
4582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4583 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4584 esac
4585 done
4586 rm -f $ac_rmfiles
4588 if { { ac_try="$ac_link_default"
4589 case "(($ac_try" in
4590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4591 *) ac_try_echo=$ac_try;;
4592 esac
4593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4594 $as_echo "$ac_try_echo"; } >&5
4595 (eval "$ac_link_default") 2>&5
4596 ac_status=$?
4597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4598 test $ac_status = 0; }; then :
4599 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4600 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4601 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4602 # so that the user can short-circuit this test for compilers unknown to
4603 # Autoconf.
4604 for ac_file in $ac_files ''
4606 test -f "$ac_file" || continue
4607 case $ac_file in
4608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4610 [ab].out )
4611 # We found the default executable, but exeext='' is most
4612 # certainly right.
4613 break;;
4614 *.* )
4615 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4616 then :; else
4617 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4619 # We set ac_cv_exeext here because the later test for it is not
4620 # safe: cross compilers may not add the suffix if given an `-o'
4621 # argument, so we may need to know it at that point already.
4622 # Even if this section looks crufty: it has the advantage of
4623 # actually working.
4624 break;;
4626 break;;
4627 esac
4628 done
4629 test "$ac_cv_exeext" = no && ac_cv_exeext=
4631 else
4632 ac_file=''
4634 if test -z "$ac_file"; then :
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4637 $as_echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.$ac_ext >&5
4640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4642 as_fn_error 77 "C compiler cannot create executables
4643 See \`config.log' for more details" "$LINENO" 5; }
4644 else
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4646 $as_echo "yes" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4649 $as_echo_n "checking for C compiler default output file name... " >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4651 $as_echo "$ac_file" >&6; }
4652 ac_exeext=$ac_cv_exeext
4654 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4655 ac_clean_files=$ac_clean_files_save
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4657 $as_echo_n "checking for suffix of executables... " >&6; }
4658 if { { ac_try="$ac_link"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665 (eval "$ac_link") 2>&5
4666 ac_status=$?
4667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668 test $ac_status = 0; }; then :
4669 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4670 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4671 # work properly (i.e., refer to `conftest.exe'), while it won't with
4672 # `rm'.
4673 for ac_file in conftest.exe conftest conftest.*; do
4674 test -f "$ac_file" || continue
4675 case $ac_file in
4676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4677 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4678 break;;
4679 * ) break;;
4680 esac
4681 done
4682 else
4683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4685 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4686 See \`config.log' for more details" "$LINENO" 5; }
4688 rm -f conftest conftest$ac_cv_exeext
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4690 $as_echo "$ac_cv_exeext" >&6; }
4692 rm -f conftest.$ac_ext
4693 EXEEXT=$ac_cv_exeext
4694 ac_exeext=$EXEEXT
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <stdio.h>
4699 main ()
4701 FILE *f = fopen ("conftest.out", "w");
4702 return ferror (f) || fclose (f) != 0;
4705 return 0;
4707 _ACEOF
4708 ac_clean_files="$ac_clean_files conftest.out"
4709 # Check that the compiler produces executables we can run. If not, either
4710 # the compiler is broken, or we cross compile.
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4712 $as_echo_n "checking whether we are cross compiling... " >&6; }
4713 if test "$cross_compiling" != yes; then
4714 { { ac_try="$ac_link"
4715 case "(($ac_try" in
4716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717 *) ac_try_echo=$ac_try;;
4718 esac
4719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4720 $as_echo "$ac_try_echo"; } >&5
4721 (eval "$ac_link") 2>&5
4722 ac_status=$?
4723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4724 test $ac_status = 0; }
4725 if { ac_try='./conftest$ac_cv_exeext'
4726 { { case "(($ac_try" in
4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4728 *) ac_try_echo=$ac_try;;
4729 esac
4730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4731 $as_echo "$ac_try_echo"; } >&5
4732 (eval "$ac_try") 2>&5
4733 ac_status=$?
4734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4735 test $ac_status = 0; }; }; then
4736 cross_compiling=no
4737 else
4738 if test "$cross_compiling" = maybe; then
4739 cross_compiling=yes
4740 else
4741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4743 as_fn_error $? "cannot run C compiled programs.
4744 If you meant to cross compile, use \`--host'.
4745 See \`config.log' for more details" "$LINENO" 5; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4750 $as_echo "$cross_compiling" >&6; }
4752 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4753 ac_clean_files=$ac_clean_files_save
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4755 $as_echo_n "checking for suffix of object files... " >&6; }
4756 if ${ac_cv_objext+:} false; then :
4757 $as_echo_n "(cached) " >&6
4758 else
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4763 main ()
4767 return 0;
4769 _ACEOF
4770 rm -f conftest.o conftest.obj
4771 if { { ac_try="$ac_compile"
4772 case "(($ac_try" in
4773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4775 esac
4776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4777 $as_echo "$ac_try_echo"; } >&5
4778 (eval "$ac_compile") 2>&5
4779 ac_status=$?
4780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4781 test $ac_status = 0; }; then :
4782 for ac_file in conftest.o conftest.obj conftest.*; do
4783 test -f "$ac_file" || continue;
4784 case $ac_file in
4785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4787 break;;
4788 esac
4789 done
4790 else
4791 $as_echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.$ac_ext >&5
4794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4796 as_fn_error $? "cannot compute suffix of object files: cannot compile
4797 See \`config.log' for more details" "$LINENO" 5; }
4799 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4802 $as_echo "$ac_cv_objext" >&6; }
4803 OBJEXT=$ac_cv_objext
4804 ac_objext=$OBJEXT
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4806 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4807 if ${ac_cv_c_compiler_gnu+:} false; then :
4808 $as_echo_n "(cached) " >&6
4809 else
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4814 main ()
4816 #ifndef __GNUC__
4817 choke me
4818 #endif
4821 return 0;
4823 _ACEOF
4824 if ac_fn_c_try_compile "$LINENO"; then :
4825 ac_compiler_gnu=yes
4826 else
4827 ac_compiler_gnu=no
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4835 if test $ac_compiler_gnu = yes; then
4836 GCC=yes
4837 else
4838 GCC=
4840 ac_test_CFLAGS=${CFLAGS+set}
4841 ac_save_CFLAGS=$CFLAGS
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4844 if ${ac_cv_prog_cc_g+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 ac_save_c_werror_flag=$ac_c_werror_flag
4848 ac_c_werror_flag=yes
4849 ac_cv_prog_cc_g=no
4850 CFLAGS="-g"
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4855 main ()
4859 return 0;
4861 _ACEOF
4862 if ac_fn_c_try_compile "$LINENO"; then :
4863 ac_cv_prog_cc_g=yes
4864 else
4865 CFLAGS=""
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4870 main ()
4874 return 0;
4876 _ACEOF
4877 if ac_fn_c_try_compile "$LINENO"; then :
4879 else
4880 ac_c_werror_flag=$ac_save_c_werror_flag
4881 CFLAGS="-g"
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4886 main ()
4890 return 0;
4892 _ACEOF
4893 if ac_fn_c_try_compile "$LINENO"; then :
4894 ac_cv_prog_cc_g=yes
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 ac_c_werror_flag=$ac_save_c_werror_flag
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4904 $as_echo "$ac_cv_prog_cc_g" >&6; }
4905 if test "$ac_test_CFLAGS" = set; then
4906 CFLAGS=$ac_save_CFLAGS
4907 elif test $ac_cv_prog_cc_g = yes; then
4908 if test "$GCC" = yes; then
4909 CFLAGS="-g -O2"
4910 else
4911 CFLAGS="-g"
4913 else
4914 if test "$GCC" = yes; then
4915 CFLAGS="-O2"
4916 else
4917 CFLAGS=
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4921 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4922 if ${ac_cv_prog_cc_c89+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 ac_cv_prog_cc_c89=no
4926 ac_save_CC=$CC
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4929 #include <stdarg.h>
4930 #include <stdio.h>
4931 struct stat;
4932 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4933 struct buf { int x; };
4934 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4935 static char *e (p, i)
4936 char **p;
4937 int i;
4939 return p[i];
4941 static char *f (char * (*g) (char **, int), char **p, ...)
4943 char *s;
4944 va_list v;
4945 va_start (v,p);
4946 s = g (p, va_arg (v,int));
4947 va_end (v);
4948 return s;
4951 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4952 function prototypes and stuff, but not '\xHH' hex character constants.
4953 These don't provoke an error unfortunately, instead are silently treated
4954 as 'x'. The following induces an error, until -std is added to get
4955 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4956 array size at least. It's necessary to write '\x00'==0 to get something
4957 that's true only with -std. */
4958 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4960 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4961 inside strings and character constants. */
4962 #define FOO(x) 'x'
4963 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4965 int test (int i, double x);
4966 struct s1 {int (*f) (int a);};
4967 struct s2 {int (*f) (double a);};
4968 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4969 int argc;
4970 char **argv;
4972 main ()
4974 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4976 return 0;
4978 _ACEOF
4979 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4980 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4982 CC="$ac_save_CC $ac_arg"
4983 if ac_fn_c_try_compile "$LINENO"; then :
4984 ac_cv_prog_cc_c89=$ac_arg
4986 rm -f core conftest.err conftest.$ac_objext
4987 test "x$ac_cv_prog_cc_c89" != "xno" && break
4988 done
4989 rm -f conftest.$ac_ext
4990 CC=$ac_save_CC
4993 # AC_CACHE_VAL
4994 case "x$ac_cv_prog_cc_c89" in
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4997 $as_echo "none needed" >&6; } ;;
4998 xno)
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5000 $as_echo "unsupported" >&6; } ;;
5002 CC="$CC $ac_cv_prog_cc_c89"
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5004 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5005 esac
5006 if test "x$ac_cv_prog_cc_c89" != xno; then :
5010 ac_ext=c
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5016 ac_ext=cpp
5017 ac_cpp='$CXXCPP $CPPFLAGS'
5018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5021 if test -z "$CXX"; then
5022 if test -n "$CCC"; then
5023 CXX=$CCC
5024 else
5025 if test -n "$ac_tool_prefix"; then
5026 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_CXX+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$CXX"; then
5036 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 CXX=$ac_cv_prog_CXX
5056 if test -n "$CXX"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5058 $as_echo "$CXX" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5065 test -n "$CXX" && break
5066 done
5068 if test -z "$CXX"; then
5069 ac_ct_CXX=$CXX
5070 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5072 # Extract the first word of "$ac_prog", so it can be a program name with args.
5073 set dummy $ac_prog; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test -n "$ac_ct_CXX"; then
5080 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5081 else
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 for as_dir in $PATH
5085 IFS=$as_save_IFS
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_ac_ct_CXX="$ac_prog"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 break 2
5093 done
5094 done
5095 IFS=$as_save_IFS
5099 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5100 if test -n "$ac_ct_CXX"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5102 $as_echo "$ac_ct_CXX" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5109 test -n "$ac_ct_CXX" && break
5110 done
5112 if test "x$ac_ct_CXX" = x; then
5113 CXX="g++"
5114 else
5115 case $cross_compiling:$ac_tool_warned in
5116 yes:)
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5119 ac_tool_warned=yes ;;
5120 esac
5121 CXX=$ac_ct_CXX
5127 # Provide some information about the compiler.
5128 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5129 set X $ac_compile
5130 ac_compiler=$2
5131 for ac_option in --version -v -V -qversion; do
5132 { { ac_try="$ac_compiler $ac_option >&5"
5133 case "(($ac_try" in
5134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5135 *) ac_try_echo=$ac_try;;
5136 esac
5137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5138 $as_echo "$ac_try_echo"; } >&5
5139 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5140 ac_status=$?
5141 if test -s conftest.err; then
5142 sed '10a\
5143 ... rest of stderr output deleted ...
5144 10q' conftest.err >conftest.er1
5145 cat conftest.er1 >&5
5147 rm -f conftest.er1 conftest.err
5148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5149 test $ac_status = 0; }
5150 done
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5153 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5154 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5155 $as_echo_n "(cached) " >&6
5156 else
5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h. */
5161 main ()
5163 #ifndef __GNUC__
5164 choke me
5165 #endif
5168 return 0;
5170 _ACEOF
5171 if ac_fn_cxx_try_compile "$LINENO"; then :
5172 ac_compiler_gnu=yes
5173 else
5174 ac_compiler_gnu=no
5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5181 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5182 if test $ac_compiler_gnu = yes; then
5183 GXX=yes
5184 else
5185 GXX=
5187 ac_test_CXXFLAGS=${CXXFLAGS+set}
5188 ac_save_CXXFLAGS=$CXXFLAGS
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5190 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5191 if ${ac_cv_prog_cxx_g+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5195 ac_cxx_werror_flag=yes
5196 ac_cv_prog_cxx_g=no
5197 CXXFLAGS="-g"
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5202 main ()
5206 return 0;
5208 _ACEOF
5209 if ac_fn_cxx_try_compile "$LINENO"; then :
5210 ac_cv_prog_cxx_g=yes
5211 else
5212 CXXFLAGS=""
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5217 main ()
5221 return 0;
5223 _ACEOF
5224 if ac_fn_cxx_try_compile "$LINENO"; then :
5226 else
5227 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5228 CXXFLAGS="-g"
5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5233 main ()
5237 return 0;
5239 _ACEOF
5240 if ac_fn_cxx_try_compile "$LINENO"; then :
5241 ac_cv_prog_cxx_g=yes
5243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5251 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5252 if test "$ac_test_CXXFLAGS" = set; then
5253 CXXFLAGS=$ac_save_CXXFLAGS
5254 elif test $ac_cv_prog_cxx_g = yes; then
5255 if test "$GXX" = yes; then
5256 CXXFLAGS="-g -O2"
5257 else
5258 CXXFLAGS="-g"
5260 else
5261 if test "$GXX" = yes; then
5262 CXXFLAGS="-O2"
5263 else
5264 CXXFLAGS=
5267 ac_ext=c
5268 ac_cpp='$CPP $CPPFLAGS'
5269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5273 if test -n "$ac_tool_prefix"; then
5274 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5275 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_CPPBIN+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 if test -n "$CPPBIN"; then
5282 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5283 else
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 for as_dir in $PATH
5287 IFS=$as_save_IFS
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 break 2
5295 done
5296 done
5297 IFS=$as_save_IFS
5301 CPPBIN=$ac_cv_prog_CPPBIN
5302 if test -n "$CPPBIN"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5304 $as_echo "$CPPBIN" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5312 if test -z "$ac_cv_prog_CPPBIN"; then
5313 ac_ct_CPPBIN=$CPPBIN
5314 # Extract the first word of "cpp", so it can be a program name with args.
5315 set dummy cpp; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5319 $as_echo_n "(cached) " >&6
5320 else
5321 if test -n "$ac_ct_CPPBIN"; then
5322 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_CPPBIN="cpp"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5335 done
5336 done
5337 IFS=$as_save_IFS
5341 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5342 if test -n "$ac_ct_CPPBIN"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5344 $as_echo "$ac_ct_CPPBIN" >&6; }
5345 else
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5350 if test "x$ac_ct_CPPBIN" = x; then
5351 CPPBIN="cpp"
5352 else
5353 case $cross_compiling:$ac_tool_warned in
5354 yes:)
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5357 ac_tool_warned=yes ;;
5358 esac
5359 CPPBIN=$ac_ct_CPPBIN
5361 else
5362 CPPBIN="$ac_cv_prog_CPPBIN"
5366 cat >>confdefs.h <<_ACEOF
5367 #define EXEEXT "$ac_exeext"
5368 _ACEOF
5370 if test -n "$ac_tool_prefix"; then
5371 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5372 set dummy ${ac_tool_prefix}ld; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_LD+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$LD"; then
5379 ac_cv_prog_LD="$LD" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_LD="${ac_tool_prefix}ld"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 LD=$ac_cv_prog_LD
5399 if test -n "$LD"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5401 $as_echo "$LD" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5409 if test -z "$ac_cv_prog_LD"; then
5410 ac_ct_LD=$LD
5411 # Extract the first word of "ld", so it can be a program name with args.
5412 set dummy ld; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 if test -n "$ac_ct_LD"; then
5419 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_ac_ct_LD="ld"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5438 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5439 if test -n "$ac_ct_LD"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5441 $as_echo "$ac_ct_LD" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5447 if test "x$ac_ct_LD" = x; then
5448 LD=""
5449 else
5450 case $cross_compiling:$ac_tool_warned in
5451 yes:)
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5454 ac_tool_warned=yes ;;
5455 esac
5456 LD=$ac_ct_LD
5458 else
5459 LD="$ac_cv_prog_LD"
5463 case $host in
5464 *-darwin*)
5465 with_fontconfig=${with_fontconfig:-no}
5467 *-mingw32*|*-cygwin*)
5468 enable_win16=${enable_win16:-no}
5469 CFLAGS="$CFLAGS -D_WIN32"
5471 esac
5473 case $host in
5474 x86_64*|amd64*)
5475 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5476 then
5477 CC="$CC -m32"
5478 CXX="$CXX -m32"
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5480 $as_echo_n "checking whether $CC works... " >&6; }
5482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5483 /* end confdefs.h. */
5486 main ()
5490 return 0;
5492 _ACEOF
5493 if ac_fn_c_try_link "$LINENO"; then :
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495 $as_echo "yes" >&6; }
5496 else
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5499 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5501 rm -f core conftest.err conftest.$ac_objext \
5502 conftest$ac_exeext conftest.$ac_ext
5503 host_cpu="i386"
5504 notice_platform="32-bit "
5505 TARGETFLAGS="-m32"
5507 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5508 export PKG_CONFIG_PATH
5509 enable_win16=${enable_win16:-yes}
5510 else
5511 if test "x${GCC}" = "xyes"
5512 then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5514 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5516 /* end confdefs.h. */
5517 #include <stdarg.h>
5519 main ()
5521 void func(__builtin_ms_va_list *args);
5523 return 0;
5525 _ACEOF
5526 if ac_fn_c_try_compile "$LINENO"; then :
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5528 $as_echo "yes" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5532 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5536 CC="$CC -m64"
5537 CXX="$CXX -m64"
5538 host_cpu="x86_64"
5539 notice_platform="64-bit "
5540 TARGETFLAGS="-m64"
5544 arm*)
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5546 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5549 int ac_test(int i) { return i; }
5551 main ()
5553 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5555 return 0;
5557 _ACEOF
5558 if ac_fn_c_try_link "$LINENO"; then :
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5560 $as_echo "yes" >&6; }
5561 else
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5564 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5566 rm -f core conftest.err conftest.$ac_objext \
5567 conftest$ac_exeext conftest.$ac_ext
5568 case $with_float_abi in
5569 soft|softfp|hard)
5570 float_abi=$with_float_abi ;;
5572 case $host_os in
5573 *eabihf)
5574 float_abi=hard ;;
5576 float_abi=softfp
5577 saved_CFLAGS=$CFLAGS
5578 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5580 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5585 main ()
5587 asm("vmrs r2,fpscr");
5589 return 0;
5591 _ACEOF
5592 if ac_fn_c_try_link "$LINENO"; then :
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5594 $as_echo "yes" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5598 float_abi=soft
5599 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5601 rm -f core conftest.err conftest.$ac_objext \
5602 conftest$ac_exeext conftest.$ac_ext
5603 CFLAGS=$saved_CFLAGS
5604 esac
5606 esac
5607 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5608 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5611 aarch64*)
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5613 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5615 /* end confdefs.h. */
5616 #include <stdarg.h>
5618 main ()
5620 void func(__builtin_ms_va_list *args);
5622 return 0;
5624 _ACEOF
5625 if ac_fn_c_try_compile "$LINENO"; then :
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5627 $as_echo "yes" >&6; }
5628 else
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5631 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5635 i[3456789]86*)
5636 enable_win16=${enable_win16:-yes}
5638 esac
5640 enable_win16=${enable_win16:-no}
5641 enable_win64=${enable_win64:-no}
5643 enable_winetest=${enable_winetest:-$enable_tests}
5645 if test -n "$with_wine64"
5646 then
5647 if test "x$enable_win64" = "xyes"
5648 then
5649 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5650 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5652 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5653 You should create a separate build directory and run configure from there." "$LINENO" 5
5654 enable_fonts=${enable_fonts:-no}
5655 enable_server=${enable_server:-no}
5656 wine64_disable=\#
5658 elif test "x$enable_win64" = "xyes"
5659 then
5660 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5664 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5665 if ${wine_cv_toolsdir+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 wine_cv_toolsdir="$with_wine_tools"
5669 if test -z "$with_wine_tools"; then
5670 if test "$cross_compiling" = "yes"; then
5671 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5672 elif test -n "$with_wine64"; then
5673 wine_cv_toolsdir="$with_wine64"
5676 if test -z "$wine_cv_toolsdir"; then
5677 wine_makedep=tools/makedep
5678 wine_cv_toolsdir="\$(top_builddir)"
5679 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5680 wine_makedep=$wine_cv_toolsdir/tools/makedep
5681 case "$wine_cv_toolsdir" in
5682 /*) ;;
5683 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5684 esac
5685 enable_tools=${enable_tools:-no}
5686 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5687 else
5688 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5692 $as_echo "$wine_cv_toolsdir" >&6; }
5693 TOOLSDIR=$wine_cv_toolsdir
5695 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5696 then
5697 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5701 for ac_prog in flex
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_FLEX+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if test -n "$FLEX"; then
5711 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_FLEX="$ac_prog"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 FLEX=$ac_cv_prog_FLEX
5731 if test -n "$FLEX"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5733 $as_echo "$FLEX" >&6; }
5734 else
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5740 test -n "$FLEX" && break
5741 done
5742 test -n "$FLEX" || FLEX="none"
5744 if test "$FLEX" = "none"
5745 then
5746 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5749 $as_echo_n "checking whether flex is recent enough... " >&6; }
5750 cat >conftest.l <<EOF
5751 %top{
5752 #include "prediluvian.h"
5756 if $FLEX -t conftest.l >/dev/null 2>&5
5757 then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5759 $as_echo "yes" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5763 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5766 for ac_prog in bison
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_BISON+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$BISON"; then
5776 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_BISON="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 BISON=$ac_cv_prog_BISON
5796 if test -n "$BISON"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5798 $as_echo "$BISON" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$BISON" && break
5806 done
5807 test -n "$BISON" || BISON="none"
5809 if test "$BISON" = "none"
5810 then
5811 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5814 if test -n "$ac_tool_prefix"; then
5815 for ac_prog in ar gar
5817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820 $as_echo_n "checking for $ac_word... " >&6; }
5821 if ${ac_cv_prog_AR+:} false; then :
5822 $as_echo_n "(cached) " >&6
5823 else
5824 if test -n "$AR"; then
5825 ac_cv_prog_AR="$AR" # Let the user override the test.
5826 else
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in $PATH
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5838 done
5839 done
5840 IFS=$as_save_IFS
5844 AR=$ac_cv_prog_AR
5845 if test -n "$AR"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5847 $as_echo "$AR" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5854 test -n "$AR" && break
5855 done
5857 if test -z "$AR"; then
5858 ac_ct_AR=$AR
5859 for ac_prog in ar gar
5861 # Extract the first word of "$ac_prog", so it can be a program name with args.
5862 set dummy $ac_prog; ac_word=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864 $as_echo_n "checking for $ac_word... " >&6; }
5865 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 if test -n "$ac_ct_AR"; then
5869 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5870 else
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 for as_dir in $PATH
5874 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_ac_ct_AR="$ac_prog"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 break 2
5882 done
5883 done
5884 IFS=$as_save_IFS
5888 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5889 if test -n "$ac_ct_AR"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5891 $as_echo "$ac_ct_AR" >&6; }
5892 else
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 $as_echo "no" >&6; }
5898 test -n "$ac_ct_AR" && break
5899 done
5901 if test "x$ac_ct_AR" = x; then
5902 AR="ar"
5903 else
5904 case $cross_compiling:$ac_tool_warned in
5905 yes:)
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5908 ac_tool_warned=yes ;;
5909 esac
5910 AR=$ac_ct_AR
5914 if test -n "$ac_tool_prefix"; then
5915 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5916 set dummy ${ac_tool_prefix}strip; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_STRIP+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 if test -n "$STRIP"; then
5923 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5928 IFS=$as_save_IFS
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 break 2
5936 done
5937 done
5938 IFS=$as_save_IFS
5942 STRIP=$ac_cv_prog_STRIP
5943 if test -n "$STRIP"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5945 $as_echo "$STRIP" >&6; }
5946 else
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5953 if test -z "$ac_cv_prog_STRIP"; then
5954 ac_ct_STRIP=$STRIP
5955 # Extract the first word of "strip", so it can be a program name with args.
5956 set dummy strip; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 if test -n "$ac_ct_STRIP"; then
5963 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_ac_ct_STRIP="strip"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5978 IFS=$as_save_IFS
5982 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5983 if test -n "$ac_ct_STRIP"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5985 $as_echo "$ac_ct_STRIP" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5991 if test "x$ac_ct_STRIP" = x; then
5992 STRIP="strip"
5993 else
5994 case $cross_compiling:$ac_tool_warned in
5995 yes:)
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5998 ac_tool_warned=yes ;;
5999 esac
6000 STRIP=$ac_ct_STRIP
6002 else
6003 STRIP="$ac_cv_prog_STRIP"
6006 ARFLAGS=rc
6008 if test -n "$ac_tool_prefix"; then
6009 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6010 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if ${ac_cv_prog_RANLIB+:} false; then :
6014 $as_echo_n "(cached) " >&6
6015 else
6016 if test -n "$RANLIB"; then
6017 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6018 else
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6022 IFS=$as_save_IFS
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6036 RANLIB=$ac_cv_prog_RANLIB
6037 if test -n "$RANLIB"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6039 $as_echo "$RANLIB" >&6; }
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6047 if test -z "$ac_cv_prog_RANLIB"; then
6048 ac_ct_RANLIB=$RANLIB
6049 # Extract the first word of "ranlib", so it can be a program name with args.
6050 set dummy ranlib; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 if test -n "$ac_ct_RANLIB"; then
6057 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6058 else
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 for as_dir in $PATH
6062 IFS=$as_save_IFS
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_ac_ct_RANLIB="ranlib"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 IFS=$as_save_IFS
6076 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6077 if test -n "$ac_ct_RANLIB"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6079 $as_echo "$ac_ct_RANLIB" >&6; }
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6085 if test "x$ac_ct_RANLIB" = x; then
6086 RANLIB=":"
6087 else
6088 case $cross_compiling:$ac_tool_warned in
6089 yes:)
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092 ac_tool_warned=yes ;;
6093 esac
6094 RANLIB=$ac_ct_RANLIB
6096 else
6097 RANLIB="$ac_cv_prog_RANLIB"
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6101 $as_echo_n "checking whether ln -s works... " >&6; }
6102 LN_S=$as_ln_s
6103 if test "$LN_S" = "ln -s"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6105 $as_echo "yes" >&6; }
6106 else
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6108 $as_echo "no, using $LN_S" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6112 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6113 if ${ac_cv_path_GREP+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -z "$GREP"; then
6117 ac_path_GREP_found=false
6118 # Loop through the user's path and test for each of PROGNAME-LIST
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_prog in grep ggrep; do
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6127 as_fn_executable_p "$ac_path_GREP" || continue
6128 # Check for GNU ac_path_GREP and select it if it is found.
6129 # Check for GNU $ac_path_GREP
6130 case `"$ac_path_GREP" --version 2>&1` in
6131 *GNU*)
6132 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6134 ac_count=0
6135 $as_echo_n 0123456789 >"conftest.in"
6136 while :
6138 cat "conftest.in" "conftest.in" >"conftest.tmp"
6139 mv "conftest.tmp" "conftest.in"
6140 cp "conftest.in" "conftest.nl"
6141 $as_echo 'GREP' >> "conftest.nl"
6142 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6143 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6144 as_fn_arith $ac_count + 1 && ac_count=$as_val
6145 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6146 # Best one so far, save it but keep looking for a better one
6147 ac_cv_path_GREP="$ac_path_GREP"
6148 ac_path_GREP_max=$ac_count
6150 # 10*(2^10) chars as input seems more than enough
6151 test $ac_count -gt 10 && break
6152 done
6153 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6154 esac
6156 $ac_path_GREP_found && break 3
6157 done
6158 done
6159 done
6160 IFS=$as_save_IFS
6161 if test -z "$ac_cv_path_GREP"; then
6162 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6164 else
6165 ac_cv_path_GREP=$GREP
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6170 $as_echo "$ac_cv_path_GREP" >&6; }
6171 GREP="$ac_cv_path_GREP"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6175 $as_echo_n "checking for egrep... " >&6; }
6176 if ${ac_cv_path_EGREP+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6180 then ac_cv_path_EGREP="$GREP -E"
6181 else
6182 if test -z "$EGREP"; then
6183 ac_path_EGREP_found=false
6184 # Loop through the user's path and test for each of PROGNAME-LIST
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6188 IFS=$as_save_IFS
6189 test -z "$as_dir" && as_dir=.
6190 for ac_prog in egrep; do
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6193 as_fn_executable_p "$ac_path_EGREP" || continue
6194 # Check for GNU ac_path_EGREP and select it if it is found.
6195 # Check for GNU $ac_path_EGREP
6196 case `"$ac_path_EGREP" --version 2>&1` in
6197 *GNU*)
6198 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6200 ac_count=0
6201 $as_echo_n 0123456789 >"conftest.in"
6202 while :
6204 cat "conftest.in" "conftest.in" >"conftest.tmp"
6205 mv "conftest.tmp" "conftest.in"
6206 cp "conftest.in" "conftest.nl"
6207 $as_echo 'EGREP' >> "conftest.nl"
6208 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6210 as_fn_arith $ac_count + 1 && ac_count=$as_val
6211 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6212 # Best one so far, save it but keep looking for a better one
6213 ac_cv_path_EGREP="$ac_path_EGREP"
6214 ac_path_EGREP_max=$ac_count
6216 # 10*(2^10) chars as input seems more than enough
6217 test $ac_count -gt 10 && break
6218 done
6219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6220 esac
6222 $ac_path_EGREP_found && break 3
6223 done
6224 done
6225 done
6226 IFS=$as_save_IFS
6227 if test -z "$ac_cv_path_EGREP"; then
6228 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6230 else
6231 ac_cv_path_EGREP=$EGREP
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6237 $as_echo "$ac_cv_path_EGREP" >&6; }
6238 EGREP="$ac_cv_path_EGREP"
6241 # Extract the first word of "ldconfig", so it can be a program name with args.
6242 set dummy ldconfig; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if ${ac_cv_path_LDCONFIG+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 case $LDCONFIG in
6249 [\\/]* | ?:[\\/]*)
6250 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in /sbin /usr/sbin $PATH
6256 IFS=$as_save_IFS
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 break 2
6264 done
6265 done
6266 IFS=$as_save_IFS
6268 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6270 esac
6272 LDCONFIG=$ac_cv_path_LDCONFIG
6273 if test -n "$LDCONFIG"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6275 $as_echo "$LDCONFIG" >&6; }
6276 else
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6282 for ac_prog in msgfmt
6284 # Extract the first word of "$ac_prog", so it can be a program name with args.
6285 set dummy $ac_prog; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_MSGFMT+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$MSGFMT"; then
6292 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_MSGFMT="$ac_prog"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 break 2
6305 done
6306 done
6307 IFS=$as_save_IFS
6311 MSGFMT=$ac_cv_prog_MSGFMT
6312 if test -n "$MSGFMT"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6314 $as_echo "$MSGFMT" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6321 test -n "$MSGFMT" && break
6322 done
6323 test -n "$MSGFMT" || MSGFMT="false"
6325 if ${ac_tool_prefix+:} false; then :
6326 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6327 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if test -n "$PKG_CONFIG"; then
6334 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6335 else
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6339 IFS=$as_save_IFS
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6343 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 break 2
6347 done
6348 done
6349 IFS=$as_save_IFS
6353 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6354 if test -n "$PKG_CONFIG"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6356 $as_echo "$PKG_CONFIG" >&6; }
6357 else
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6364 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6365 if test "x$cross_compiling" = xyes; then :
6367 else
6368 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6369 # Extract the first word of "pkg-config", so it can be a program name with args.
6370 set dummy pkg-config; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 if test -n "$PKG_CONFIG"; then
6377 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6378 else
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH
6382 IFS=$as_save_IFS
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6386 ac_cv_prog_PKG_CONFIG="pkg-config"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 break 2
6390 done
6391 done
6392 IFS=$as_save_IFS
6396 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6397 if test -n "$PKG_CONFIG"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6399 $as_echo "$PKG_CONFIG" >&6; }
6400 else
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6407 else
6408 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6411 if test "x$enable_maintainer_mode" != "xyes"
6412 then
6413 FONTFORGE=""
6414 RSVG=""
6415 CONVERT=""
6416 ICOTOOL=""
6417 else
6418 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6419 for ac_prog in fontforge
6421 # Extract the first word of "$ac_prog", so it can be a program name with args.
6422 set dummy $ac_prog; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_FONTFORGE+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if test -n "$FONTFORGE"; then
6429 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_FONTFORGE="$ac_prog"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6442 done
6443 done
6444 IFS=$as_save_IFS
6448 FONTFORGE=$ac_cv_prog_FONTFORGE
6449 if test -n "$FONTFORGE"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6451 $as_echo "$FONTFORGE" >&6; }
6452 else
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6458 test -n "$FONTFORGE" && break
6459 done
6460 test -n "$FONTFORGE" || FONTFORGE="false"
6462 for ac_prog in rsvg-convert rsvg
6464 # Extract the first word of "$ac_prog", so it can be a program name with args.
6465 set dummy $ac_prog; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_prog_RSVG+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$RSVG"; then
6472 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_prog_RSVG="$ac_prog"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 RSVG=$ac_cv_prog_RSVG
6492 if test -n "$RSVG"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6494 $as_echo "$RSVG" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6501 test -n "$RSVG" && break
6502 done
6503 test -n "$RSVG" || RSVG="false"
6505 for ac_prog in convert
6507 # Extract the first word of "$ac_prog", so it can be a program name with args.
6508 set dummy $ac_prog; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_CONVERT+:} false; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$CONVERT"; then
6515 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_CONVERT="$ac_prog"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 CONVERT=$ac_cv_prog_CONVERT
6535 if test -n "$CONVERT"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6537 $as_echo "$CONVERT" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6544 test -n "$CONVERT" && break
6545 done
6546 test -n "$CONVERT" || CONVERT="false"
6548 for ac_prog in icotool
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if ${ac_cv_prog_ICOTOOL+:} false; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$ICOTOOL"; then
6558 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ICOTOOL="$ac_prog"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6571 done
6572 done
6573 IFS=$as_save_IFS
6577 ICOTOOL=$ac_cv_prog_ICOTOOL
6578 if test -n "$ICOTOOL"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6580 $as_echo "$ICOTOOL" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6587 test -n "$ICOTOOL" && break
6588 done
6589 test -n "$ICOTOOL" || ICOTOOL="false"
6591 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6592 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6594 if test "$CONVERT" = false
6595 then
6596 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6597 else
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6599 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6600 convert_version=`convert --version | head -n1`
6601 if test "x$convert_version" != "x"
6602 then
6603 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6604 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6605 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6606 then
6607 CONVERT=false
6610 if test "$CONVERT" = false
6611 then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6613 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6614 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6615 else
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6617 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6621 if test "$ICOTOOL" = false
6622 then
6623 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6624 else
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6626 $as_echo_n "checking for recent enough icotool... " >&6; }
6627 icotool_version=`icotool --version | head -n1`
6628 if test "x$icotool_version" != "x"
6629 then
6630 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6631 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6632 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6633 then
6634 ICOTOOL=false
6635 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6638 if test "$ICOTOOL" = false
6639 then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6641 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6642 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6645 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6649 with_gettext=yes
6650 with_gettextpo=yes
6651 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6654 test "x$with_gettext" != xno || MSGFMT=false
6655 if test "$MSGFMT" != "false"
6656 then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6658 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6659 cat >conftest.po <<EOF
6660 # comment
6661 msgctxt "ctxt"
6662 msgid "id"
6663 msgstr "str"
6665 if $MSGFMT -o /dev/null conftest.po 2>&5
6666 then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6668 $as_echo "yes" >&6; }
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6672 MSGFMT=false
6675 if test "$MSGFMT" = false; then :
6676 case "x$with_gettext" in
6677 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6678 xno) ;;
6679 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6680 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6681 esac
6682 enable_po=${enable_po:-no}
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6687 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6688 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 ac_check_lib_save_LIBS=$LIBS
6692 LIBS="-li386 $LIBS"
6693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6696 /* Override any GCC internal prototype to avoid an error.
6697 Use char because int might match the return type of a GCC
6698 builtin and then its argument prototype would still apply. */
6699 #ifdef __cplusplus
6700 extern "C"
6701 #endif
6702 char i386_set_ldt ();
6704 main ()
6706 return i386_set_ldt ();
6708 return 0;
6710 _ACEOF
6711 if ac_fn_c_try_link "$LINENO"; then :
6712 ac_cv_lib_i386_i386_set_ldt=yes
6713 else
6714 ac_cv_lib_i386_i386_set_ldt=no
6716 rm -f core conftest.err conftest.$ac_objext \
6717 conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6721 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6722 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6723 cat >>confdefs.h <<_ACEOF
6724 #define HAVE_LIBI386 1
6725 _ACEOF
6727 LIBS="-li386 $LIBS"
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6732 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6733 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 ac_check_lib_save_LIBS=$LIBS
6737 LIBS="-lossaudio $LIBS"
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6741 /* Override any GCC internal prototype to avoid an error.
6742 Use char because int might match the return type of a GCC
6743 builtin and then its argument prototype would still apply. */
6744 #ifdef __cplusplus
6745 extern "C"
6746 #endif
6747 char _oss_ioctl ();
6749 main ()
6751 return _oss_ioctl ();
6753 return 0;
6755 _ACEOF
6756 if ac_fn_c_try_link "$LINENO"; then :
6757 ac_cv_lib_ossaudio__oss_ioctl=yes
6758 else
6759 ac_cv_lib_ossaudio__oss_ioctl=no
6761 rm -f core conftest.err conftest.$ac_objext \
6762 conftest$ac_exeext conftest.$ac_ext
6763 LIBS=$ac_check_lib_save_LIBS
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6766 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6767 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6768 cat >>confdefs.h <<_ACEOF
6769 #define HAVE_LIBOSSAUDIO 1
6770 _ACEOF
6772 LIBS="-lossaudio $LIBS"
6777 OPENGL_LIBS=""
6781 # Check whether --enable-largefile was given.
6782 if test "${enable_largefile+set}" = set; then :
6783 enableval=$enable_largefile;
6786 if test "$enable_largefile" != no; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6789 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6790 if ${ac_cv_sys_largefile_CC+:} false; then :
6791 $as_echo_n "(cached) " >&6
6792 else
6793 ac_cv_sys_largefile_CC=no
6794 if test "$GCC" != yes; then
6795 ac_save_CC=$CC
6796 while :; do
6797 # IRIX 6.2 and later do not support large files by default,
6798 # so use the C compiler's -n32 option if that helps.
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6801 #include <sys/types.h>
6802 /* Check that off_t can represent 2**63 - 1 correctly.
6803 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6804 since some C++ compilers masquerading as C compilers
6805 incorrectly reject 9223372036854775807. */
6806 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6807 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6808 && LARGE_OFF_T % 2147483647 == 1)
6809 ? 1 : -1];
6811 main ()
6815 return 0;
6817 _ACEOF
6818 if ac_fn_c_try_compile "$LINENO"; then :
6819 break
6821 rm -f core conftest.err conftest.$ac_objext
6822 CC="$CC -n32"
6823 if ac_fn_c_try_compile "$LINENO"; then :
6824 ac_cv_sys_largefile_CC=' -n32'; break
6826 rm -f core conftest.err conftest.$ac_objext
6827 break
6828 done
6829 CC=$ac_save_CC
6830 rm -f conftest.$ac_ext
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6834 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6835 if test "$ac_cv_sys_largefile_CC" != no; then
6836 CC=$CC$ac_cv_sys_largefile_CC
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6840 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6841 if ${ac_cv_sys_file_offset_bits+:} false; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 while :; do
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <sys/types.h>
6848 /* Check that off_t can represent 2**63 - 1 correctly.
6849 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6850 since some C++ compilers masquerading as C compilers
6851 incorrectly reject 9223372036854775807. */
6852 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6853 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6854 && LARGE_OFF_T % 2147483647 == 1)
6855 ? 1 : -1];
6857 main ()
6861 return 0;
6863 _ACEOF
6864 if ac_fn_c_try_compile "$LINENO"; then :
6865 ac_cv_sys_file_offset_bits=no; break
6867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6870 #define _FILE_OFFSET_BITS 64
6871 #include <sys/types.h>
6872 /* Check that off_t can represent 2**63 - 1 correctly.
6873 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6874 since some C++ compilers masquerading as C compilers
6875 incorrectly reject 9223372036854775807. */
6876 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6877 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6878 && LARGE_OFF_T % 2147483647 == 1)
6879 ? 1 : -1];
6881 main ()
6885 return 0;
6887 _ACEOF
6888 if ac_fn_c_try_compile "$LINENO"; then :
6889 ac_cv_sys_file_offset_bits=64; break
6891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6892 ac_cv_sys_file_offset_bits=unknown
6893 break
6894 done
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6897 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6898 case $ac_cv_sys_file_offset_bits in #(
6899 no | unknown) ;;
6901 cat >>confdefs.h <<_ACEOF
6902 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6903 _ACEOF
6905 esac
6906 rm -rf conftest*
6907 if test $ac_cv_sys_file_offset_bits = unknown; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6909 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6910 if ${ac_cv_sys_large_files+:} false; then :
6911 $as_echo_n "(cached) " >&6
6912 else
6913 while :; do
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 #include <sys/types.h>
6917 /* Check that off_t can represent 2**63 - 1 correctly.
6918 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6919 since some C++ compilers masquerading as C compilers
6920 incorrectly reject 9223372036854775807. */
6921 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6922 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6923 && LARGE_OFF_T % 2147483647 == 1)
6924 ? 1 : -1];
6926 main ()
6930 return 0;
6932 _ACEOF
6933 if ac_fn_c_try_compile "$LINENO"; then :
6934 ac_cv_sys_large_files=no; break
6936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #define _LARGE_FILES 1
6940 #include <sys/types.h>
6941 /* Check that off_t can represent 2**63 - 1 correctly.
6942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6943 since some C++ compilers masquerading as C compilers
6944 incorrectly reject 9223372036854775807. */
6945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6947 && LARGE_OFF_T % 2147483647 == 1)
6948 ? 1 : -1];
6950 main ()
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_large_files=1; break
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6961 ac_cv_sys_large_files=unknown
6962 break
6963 done
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6966 $as_echo "$ac_cv_sys_large_files" >&6; }
6967 case $ac_cv_sys_large_files in #(
6968 no | unknown) ;;
6970 cat >>confdefs.h <<_ACEOF
6971 #define _LARGE_FILES $ac_cv_sys_large_files
6972 _ACEOF
6974 esac
6975 rm -rf conftest*
6982 ac_ext=c
6983 ac_cpp='$CPP $CPPFLAGS'
6984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6988 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6989 # On Suns, sometimes $CPP names a directory.
6990 if test -n "$CPP" && test -d "$CPP"; then
6991 CPP=
6993 if test -z "$CPP"; then
6994 if ${ac_cv_prog_CPP+:} false; then :
6995 $as_echo_n "(cached) " >&6
6996 else
6997 # Double quotes because CPP needs to be expanded
6998 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7000 ac_preproc_ok=false
7001 for ac_c_preproc_warn_flag in '' yes
7003 # Use a header file that comes with gcc, so configuring glibc
7004 # with a fresh cross-compiler works.
7005 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7006 # <limits.h> exists even on freestanding compilers.
7007 # On the NeXT, cc -E runs the code through the compiler's parser,
7008 # not just through cpp. "Syntax error" is here to catch this case.
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #ifdef __STDC__
7012 # include <limits.h>
7013 #else
7014 # include <assert.h>
7015 #endif
7016 Syntax error
7017 _ACEOF
7018 if ac_fn_c_try_cpp "$LINENO"; then :
7020 else
7021 # Broken: fails on valid input.
7022 continue
7024 rm -f conftest.err conftest.i conftest.$ac_ext
7026 # OK, works on sane cases. Now check whether nonexistent headers
7027 # can be detected and how.
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 #include <ac_nonexistent.h>
7031 _ACEOF
7032 if ac_fn_c_try_cpp "$LINENO"; then :
7033 # Broken: success on invalid input.
7034 continue
7035 else
7036 # Passes both tests.
7037 ac_preproc_ok=:
7038 break
7040 rm -f conftest.err conftest.i conftest.$ac_ext
7042 done
7043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7044 rm -f conftest.i conftest.err conftest.$ac_ext
7045 if $ac_preproc_ok; then :
7046 break
7049 done
7050 ac_cv_prog_CPP=$CPP
7053 CPP=$ac_cv_prog_CPP
7054 else
7055 ac_cv_prog_CPP=$CPP
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7058 $as_echo "$CPP" >&6; }
7059 ac_preproc_ok=false
7060 for ac_c_preproc_warn_flag in '' yes
7062 # Use a header file that comes with gcc, so configuring glibc
7063 # with a fresh cross-compiler works.
7064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7065 # <limits.h> exists even on freestanding compilers.
7066 # On the NeXT, cc -E runs the code through the compiler's parser,
7067 # not just through cpp. "Syntax error" is here to catch this case.
7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070 #ifdef __STDC__
7071 # include <limits.h>
7072 #else
7073 # include <assert.h>
7074 #endif
7075 Syntax error
7076 _ACEOF
7077 if ac_fn_c_try_cpp "$LINENO"; then :
7079 else
7080 # Broken: fails on valid input.
7081 continue
7083 rm -f conftest.err conftest.i conftest.$ac_ext
7085 # OK, works on sane cases. Now check whether nonexistent headers
7086 # can be detected and how.
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7089 #include <ac_nonexistent.h>
7090 _ACEOF
7091 if ac_fn_c_try_cpp "$LINENO"; then :
7092 # Broken: success on invalid input.
7093 continue
7094 else
7095 # Passes both tests.
7096 ac_preproc_ok=:
7097 break
7099 rm -f conftest.err conftest.i conftest.$ac_ext
7101 done
7102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7103 rm -f conftest.i conftest.err conftest.$ac_ext
7104 if $ac_preproc_ok; then :
7106 else
7107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7109 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7110 See \`config.log' for more details" "$LINENO" 5; }
7113 ac_ext=c
7114 ac_cpp='$CPP $CPPFLAGS'
7115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7121 $as_echo_n "checking for ANSI C header files... " >&6; }
7122 if ${ac_cv_header_stdc+:} false; then :
7123 $as_echo_n "(cached) " >&6
7124 else
7125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126 /* end confdefs.h. */
7127 #include <stdlib.h>
7128 #include <stdarg.h>
7129 #include <string.h>
7130 #include <float.h>
7133 main ()
7137 return 0;
7139 _ACEOF
7140 if ac_fn_c_try_compile "$LINENO"; then :
7141 ac_cv_header_stdc=yes
7142 else
7143 ac_cv_header_stdc=no
7145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147 if test $ac_cv_header_stdc = yes; then
7148 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7151 #include <string.h>
7153 _ACEOF
7154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7155 $EGREP "memchr" >/dev/null 2>&1; then :
7157 else
7158 ac_cv_header_stdc=no
7160 rm -f conftest*
7164 if test $ac_cv_header_stdc = yes; then
7165 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7168 #include <stdlib.h>
7170 _ACEOF
7171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7172 $EGREP "free" >/dev/null 2>&1; then :
7174 else
7175 ac_cv_header_stdc=no
7177 rm -f conftest*
7181 if test $ac_cv_header_stdc = yes; then
7182 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7183 if test "$cross_compiling" = yes; then :
7185 else
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7188 #include <ctype.h>
7189 #include <stdlib.h>
7190 #if ((' ' & 0x0FF) == 0x020)
7191 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7192 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7193 #else
7194 # define ISLOWER(c) \
7195 (('a' <= (c) && (c) <= 'i') \
7196 || ('j' <= (c) && (c) <= 'r') \
7197 || ('s' <= (c) && (c) <= 'z'))
7198 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7199 #endif
7201 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7203 main ()
7205 int i;
7206 for (i = 0; i < 256; i++)
7207 if (XOR (islower (i), ISLOWER (i))
7208 || toupper (i) != TOUPPER (i))
7209 return 2;
7210 return 0;
7212 _ACEOF
7213 if ac_fn_c_try_run "$LINENO"; then :
7215 else
7216 ac_cv_header_stdc=no
7218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7219 conftest.$ac_objext conftest.beam conftest.$ac_ext
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7225 $as_echo "$ac_cv_header_stdc" >&6; }
7226 if test $ac_cv_header_stdc = yes; then
7228 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7232 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7233 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7234 inttypes.h stdint.h unistd.h
7235 do :
7236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7237 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7242 _ACEOF
7246 done
7249 for ac_header in \
7250 AL/al.h \
7251 ApplicationServices/ApplicationServices.h \
7252 AudioToolbox/AudioConverter.h \
7253 AudioUnit/AudioUnit.h \
7254 AudioUnit/AudioComponent.h \
7255 CL/cl.h \
7256 Carbon/Carbon.h \
7257 CommonCrypto/CommonCryptor.h \
7258 CoreAudio/CoreAudio.h \
7259 CoreServices/CoreServices.h \
7260 DiskArbitration/DiskArbitration.h \
7261 EGL/egl.h \
7262 IOKit/IOKitLib.h \
7263 IOKit/hid/IOHIDLib.h \
7264 OpenAL/al.h \
7265 OpenCL/opencl.h \
7266 QuickTime/ImageCompression.h \
7267 Security/Security.h \
7268 alias.h \
7269 alsa/asoundlib.h \
7270 arpa/inet.h \
7271 arpa/nameser.h \
7272 asm/types.h \
7273 asm/user.h \
7274 curses.h \
7275 direct.h \
7276 dirent.h \
7277 dlfcn.h \
7278 elf.h \
7279 float.h \
7280 fnmatch.h \
7281 getopt.h \
7282 gettext-po.h \
7283 grp.h \
7284 gsm.h \
7285 gsm/gsm.h \
7286 ieeefp.h \
7287 inet/mib2.h \
7288 io.h \
7289 kstat.h \
7290 libproc.h \
7291 link.h \
7292 linux/cdrom.h \
7293 linux/compiler.h \
7294 linux/filter.h \
7295 linux/hdreg.h \
7296 linux/hidraw.h \
7297 linux/input.h \
7298 linux/ioctl.h \
7299 linux/joystick.h \
7300 linux/major.h \
7301 linux/param.h \
7302 linux/serial.h \
7303 linux/types.h \
7304 linux/ucdrom.h \
7305 lwp.h \
7306 mach-o/nlist.h \
7307 mach-o/loader.h \
7308 mach/mach.h \
7309 mach/machine.h \
7310 machine/cpu.h \
7311 machine/limits.h \
7312 machine/sysarch.h \
7313 mntent.h \
7314 ncurses.h \
7315 netdb.h \
7316 netinet/in.h \
7317 netinet/in_systm.h \
7318 netinet/tcp.h \
7319 netinet/tcp_fsm.h \
7320 pcap/pcap.h \
7321 poll.h \
7322 port.h \
7323 process.h \
7324 pthread.h \
7325 pwd.h \
7326 sched.h \
7327 scsi/scsi.h \
7328 scsi/scsi_ioctl.h \
7329 scsi/sg.h \
7330 stdbool.h \
7331 stdint.h \
7332 stropts.h \
7333 sys/asoundlib.h \
7334 sys/attr.h \
7335 sys/auxv.h \
7336 sys/cdio.h \
7337 sys/elf32.h \
7338 sys/epoll.h \
7339 sys/event.h \
7340 sys/exec_elf.h \
7341 sys/filio.h \
7342 sys/inotify.h \
7343 sys/ioctl.h \
7344 sys/ipc.h \
7345 sys/limits.h \
7346 sys/link.h \
7347 sys/mman.h \
7348 sys/modem.h \
7349 sys/msg.h \
7350 sys/mtio.h \
7351 sys/param.h \
7352 sys/poll.h \
7353 sys/prctl.h \
7354 sys/protosw.h \
7355 sys/ptrace.h \
7356 sys/queue.h \
7357 sys/resource.h \
7358 sys/scsiio.h \
7359 sys/shm.h \
7360 sys/signal.h \
7361 sys/socket.h \
7362 sys/socketvar.h \
7363 sys/sockio.h \
7364 sys/statvfs.h \
7365 sys/strtio.h \
7366 sys/syscall.h \
7367 sys/sysinfo.h \
7368 sys/tihdr.h \
7369 sys/time.h \
7370 sys/timeout.h \
7371 sys/times.h \
7372 sys/uio.h \
7373 sys/user.h \
7374 sys/utsname.h \
7375 sys/vnode.h \
7376 sys/wait.h \
7377 syscall.h \
7378 termios.h \
7379 unistd.h \
7380 utime.h \
7381 valgrind/memcheck.h \
7382 valgrind/valgrind.h \
7383 zlib.h
7385 do :
7386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7387 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7388 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7389 cat >>confdefs.h <<_ACEOF
7390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7391 _ACEOF
7395 done
7397 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7398 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7400 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7405 if test $ac_cv_header_sys_mkdev_h = no; then
7406 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7407 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7409 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7416 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7417 if ${ac_cv_header_stat_broken+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7421 /* end confdefs.h. */
7422 #include <sys/types.h>
7423 #include <sys/stat.h>
7425 #if defined S_ISBLK && defined S_IFDIR
7426 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7427 #endif
7429 #if defined S_ISBLK && defined S_IFCHR
7430 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7431 #endif
7433 #if defined S_ISLNK && defined S_IFREG
7434 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7435 #endif
7437 #if defined S_ISSOCK && defined S_IFREG
7438 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7439 #endif
7441 _ACEOF
7442 if ac_fn_c_try_compile "$LINENO"; then :
7443 ac_cv_header_stat_broken=no
7444 else
7445 ac_cv_header_stat_broken=yes
7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7450 $as_echo "$ac_cv_header_stat_broken" >&6; }
7451 if test $ac_cv_header_stat_broken = yes; then
7453 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7459 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7460 do :
7461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7462 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7463 #ifdef HAVE_SYS_PARAM_H
7464 # include <sys/param.h>
7465 #endif
7467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7468 cat >>confdefs.h <<_ACEOF
7469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7470 _ACEOF
7474 done
7477 for ac_header in \
7478 netinet/ip.h \
7479 net/if.h \
7480 net/if_arp.h \
7481 net/if_dl.h \
7482 net/if_types.h \
7483 net/route.h \
7484 netinet/if_ether.h \
7485 netinet/if_inarp.h \
7486 netinet/in_pcb.h \
7487 netinet/ip_icmp.h \
7488 netinet/ip_var.h \
7489 netinet/udp.h \
7490 netipx/ipx.h \
7491 sys/un.h \
7493 do :
7494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7496 #ifdef HAVE_SYS_SOCKET_H
7497 # include <sys/socket.h>
7498 #endif
7499 #ifdef HAVE_SYS_SOCKETVAR_H
7500 # include <sys/socketvar.h>
7501 #endif
7502 #ifdef HAVE_NET_ROUTE_H
7503 # include <net/route.h>
7504 #endif
7505 #ifdef HAVE_NETINET_IN_H
7506 # include <netinet/in.h>
7507 #endif
7508 #ifdef HAVE_NETINET_IN_SYSTM_H
7509 # include <netinet/in_systm.h>
7510 #endif
7511 #ifdef HAVE_NET_IF_H
7512 # include <net/if.h>
7513 #endif
7514 #ifdef HAVE_NETINET_IP_H
7515 # include <netinet/ip.h>
7516 #endif
7518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7519 cat >>confdefs.h <<_ACEOF
7520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7521 _ACEOF
7525 done
7528 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7529 do :
7530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7531 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7532 #ifdef HAVE_ALIAS_H
7533 # include <alias.h>
7534 #endif
7535 #ifdef HAVE_SYS_SOCKET_H
7536 # include <sys/socket.h>
7537 #endif
7538 #ifdef HAVE_SYS_SOCKETVAR_H
7539 # include <sys/socketvar.h>
7540 #endif
7541 #ifdef HAVE_SYS_TIMEOUT_H
7542 # include <sys/timeout.h>
7543 #endif
7544 #ifdef HAVE_NETINET_IN_H
7545 # include <netinet/in.h>
7546 #endif
7547 #ifdef HAVE_NETINET_IN_SYSTM_H
7548 # include <netinet/in_systm.h>
7549 #endif
7550 #ifdef HAVE_NETINET_IP_H
7551 # include <netinet/ip.h>
7552 #endif
7553 #ifdef HAVE_NETINET_IP_VAR_H
7554 # include <netinet/ip_var.h>
7555 #endif
7556 #ifdef HAVE_NETINET_IP_ICMP_H
7557 # include <netinet/ip_icmp.h>
7558 #endif
7559 #ifdef HAVE_NETINET_UDP_H
7560 # include <netinet/udp.h>
7561 #endif
7562 #ifdef HAVE_NETINET_TCP_H
7563 # include <netinet/tcp.h>
7564 #endif
7565 #ifdef HAVE_NETINET_TCP_TIMER_H
7566 #include <netinet/tcp_timer.h>
7567 #endif
7569 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7570 cat >>confdefs.h <<_ACEOF
7571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7572 _ACEOF
7576 done
7579 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7580 do :
7581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7583 #ifdef HAVE_ASM_TYPES_H
7584 # include <asm/types.h>
7585 #endif
7586 #ifdef HAVE_SYS_SOCKET_H
7587 # include <sys/socket.h>
7588 #endif
7589 #ifdef HAVE_LINUX_TYPES_H
7590 # include <linux/types.h>
7591 #endif
7593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7594 cat >>confdefs.h <<_ACEOF
7595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7596 _ACEOF
7600 done
7603 for ac_header in mach-o/dyld_images.h
7604 do :
7605 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7606 # include <stdbool.h>
7607 #endif
7608 #ifdef HAVE_STDINT_H
7609 # include <stdint.h>
7610 #endif
7612 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7613 cat >>confdefs.h <<_ACEOF
7614 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7615 _ACEOF
7619 done
7622 for ac_header in resolv.h
7623 do :
7624 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7625 #ifdef HAVE_SYS_SOCKET_H
7626 # include <sys/socket.h>
7627 #endif
7628 #ifdef HAVE_NETINET_IN_H
7629 # include <netinet/in.h>
7630 #endif
7631 #ifdef HAVE_ARPA_NAMESER_H
7632 # include <arpa/nameser.h>
7633 #endif
7635 if test "x$ac_cv_header_resolv_h" = xyes; then :
7636 cat >>confdefs.h <<_ACEOF
7637 #define HAVE_RESOLV_H 1
7638 _ACEOF
7642 done
7645 for ac_header in ifaddrs.h
7646 do :
7647 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7649 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7650 cat >>confdefs.h <<_ACEOF
7651 #define HAVE_IFADDRS_H 1
7652 _ACEOF
7656 done
7659 for ac_header in sys/ucontext.h
7660 do :
7661 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7663 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7664 cat >>confdefs.h <<_ACEOF
7665 #define HAVE_SYS_UCONTEXT_H 1
7666 _ACEOF
7670 done
7673 for ac_header in sys/thr.h
7674 do :
7675 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7676 #ifdef HAVE_SYS_UCONTEXT_H
7677 #include <sys/ucontext.h>
7678 #endif
7680 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_SYS_THR_H 1
7683 _ACEOF
7687 done
7690 for ac_header in pthread_np.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7693 #include <pthread.h>
7694 #endif
7696 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_PTHREAD_NP_H 1
7699 _ACEOF
7703 done
7706 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7707 do :
7708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7709 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7710 #include <sys/time.h>
7711 #endif
7712 #include <sys/types.h>
7713 #ifdef HAVE_ASM_TYPES_H
7714 #include <asm/types.h>
7715 #endif
7717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7720 _ACEOF
7724 done
7727 for ac_header in libprocstat.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7730 #include <sys/param.h>
7731 #endif
7732 #ifdef HAVE_SYS_QUEUE_H
7733 #include <sys/queue.h>
7734 #endif
7735 #ifdef HAVE_SYS_SOCKET_H
7736 #include <sys/socket.h>
7737 #endif
7739 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_LIBPROCSTAT_H 1
7742 _ACEOF
7746 done
7750 DLLFLAGS="-D_REENTRANT"
7752 LDRPATH_INSTALL=""
7754 LDRPATH_LOCAL=""
7756 LDEXECFLAGS=""
7758 WINELOADER_LDFLAGS=""
7760 LIBEXT="so"
7761 DLLEXT=".so"
7762 IMPLIBEXT="def"
7763 # Extract the first word of "ldd", so it can be a program name with args.
7764 set dummy ldd; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7766 $as_echo_n "checking for $ac_word... " >&6; }
7767 if ${ac_cv_path_LDD+:} false; then :
7768 $as_echo_n "(cached) " >&6
7769 else
7770 case $LDD in
7771 [\\/]* | ?:[\\/]*)
7772 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 as_dummy="/sbin:/usr/sbin:$PATH"
7777 for as_dir in $as_dummy
7779 IFS=$as_save_IFS
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7785 break 2
7787 done
7788 done
7789 IFS=$as_save_IFS
7791 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7793 esac
7795 LDD=$ac_cv_path_LDD
7796 if test -n "$LDD"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7798 $as_echo "$LDD" >&6; }
7799 else
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7807 set dummy ${ac_tool_prefix}otool; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_OTOOL+:} false; then :
7811 $as_echo_n "(cached) " >&6
7812 else
7813 if test -n "$OTOOL"; then
7814 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7815 else
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 for as_dir in $PATH
7819 IFS=$as_save_IFS
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 break 2
7827 done
7828 done
7829 IFS=$as_save_IFS
7833 OTOOL=$ac_cv_prog_OTOOL
7834 if test -n "$OTOOL"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7836 $as_echo "$OTOOL" >&6; }
7837 else
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_OTOOL"; then
7845 ac_ct_OTOOL=$OTOOL
7846 # Extract the first word of "otool", so it can be a program name with args.
7847 set dummy otool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7851 $as_echo_n "(cached) " >&6
7852 else
7853 if test -n "$ac_ct_OTOOL"; then
7854 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7855 else
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 for as_dir in $PATH
7859 IFS=$as_save_IFS
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_OTOOL="otool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 break 2
7867 done
7868 done
7869 IFS=$as_save_IFS
7873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7874 if test -n "$ac_ct_OTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7876 $as_echo "$ac_ct_OTOOL" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_OTOOL" = x; then
7883 OTOOL="otool"
7884 else
7885 case $cross_compiling:$ac_tool_warned in
7886 yes:)
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned=yes ;;
7890 esac
7891 OTOOL=$ac_ct_OTOOL
7893 else
7894 OTOOL="$ac_cv_prog_OTOOL"
7897 if test -n "$ac_tool_prefix"; then
7898 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7899 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7901 $as_echo_n "checking for $ac_word... " >&6; }
7902 if ${ac_cv_prog_READELF+:} false; then :
7903 $as_echo_n "(cached) " >&6
7904 else
7905 if test -n "$READELF"; then
7906 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7907 else
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 for as_dir in $PATH
7911 IFS=$as_save_IFS
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 break 2
7919 done
7920 done
7921 IFS=$as_save_IFS
7925 READELF=$ac_cv_prog_READELF
7926 if test -n "$READELF"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7928 $as_echo "$READELF" >&6; }
7929 else
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7931 $as_echo "no" >&6; }
7936 if test -z "$ac_cv_prog_READELF"; then
7937 ac_ct_READELF=$READELF
7938 # Extract the first word of "readelf", so it can be a program name with args.
7939 set dummy readelf; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7943 $as_echo_n "(cached) " >&6
7944 else
7945 if test -n "$ac_ct_READELF"; then
7946 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7947 else
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 for as_dir in $PATH
7951 IFS=$as_save_IFS
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_ac_ct_READELF="readelf"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 break 2
7959 done
7960 done
7961 IFS=$as_save_IFS
7965 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7966 if test -n "$ac_ct_READELF"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7968 $as_echo "$ac_ct_READELF" >&6; }
7969 else
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7974 if test "x$ac_ct_READELF" = x; then
7975 READELF="true"
7976 else
7977 case $cross_compiling:$ac_tool_warned in
7978 yes:)
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7981 ac_tool_warned=yes ;;
7982 esac
7983 READELF=$ac_ct_READELF
7985 else
7986 READELF="$ac_cv_prog_READELF"
7989 wine_rules_file=conf$$rules.make
7990 rm -f $wine_rules_file
7991 SUBDIRS=""
7993 DISABLED_SUBDIRS=""
7995 CONFIGURE_TARGETS=""
7998 wine_fn_append_file ()
8000 as_fn_append $1 " \\$as_nl $2"
8003 wine_fn_append_rule ()
8005 $as_echo "$1" >>$wine_rules_file
8008 wine_fn_config_makefile ()
8010 wine_fn_append_file SUBDIRS $1
8011 if eval test \"x\$"$2"\" = x"no"; then :
8012 wine_fn_append_file DISABLED_SUBDIRS $1
8016 wine_fn_config_symlink ()
8018 ac_links=$@
8019 wine_fn_append_rule \
8020 "$ac_links:
8021 @./config.status \$@"
8022 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8025 wine_binary="wine"
8026 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8027 WINELOADER_PROGRAMS="$wine_binary"
8029 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8031 case $host_os in
8032 cygwin*|mingw32*)
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8035 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 $as_echo_n "checking for $ac_word... " >&6; }
8038 if ${ac_cv_prog_DLLTOOL+:} false; then :
8039 $as_echo_n "(cached) " >&6
8040 else
8041 if test -n "$DLLTOOL"; then
8042 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8043 else
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 for as_dir in $PATH
8047 IFS=$as_save_IFS
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 break 2
8055 done
8056 done
8057 IFS=$as_save_IFS
8061 DLLTOOL=$ac_cv_prog_DLLTOOL
8062 if test -n "$DLLTOOL"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8064 $as_echo "$DLLTOOL" >&6; }
8065 else
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8072 if test -z "$ac_cv_prog_DLLTOOL"; then
8073 ac_ct_DLLTOOL=$DLLTOOL
8074 # Extract the first word of "dlltool", so it can be a program name with args.
8075 set dummy dlltool; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 if test -n "$ac_ct_DLLTOOL"; then
8082 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8083 else
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 for as_dir in $PATH
8087 IFS=$as_save_IFS
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 break 2
8095 done
8096 done
8097 IFS=$as_save_IFS
8101 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8102 if test -n "$ac_ct_DLLTOOL"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8104 $as_echo "$ac_ct_DLLTOOL" >&6; }
8105 else
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8110 if test "x$ac_ct_DLLTOOL" = x; then
8111 DLLTOOL="false"
8112 else
8113 case $cross_compiling:$ac_tool_warned in
8114 yes:)
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8117 ac_tool_warned=yes ;;
8118 esac
8119 DLLTOOL=$ac_ct_DLLTOOL
8121 else
8122 DLLTOOL="$ac_cv_prog_DLLTOOL"
8125 LIBEXT="dll"
8126 DLLEXT=""
8127 IMPLIBEXT="a"
8128 enable_iphlpapi=${enable_iphlpapi:-no}
8129 enable_kernel32=${enable_kernel32:-no}
8130 enable_msvcrt=${enable_msvcrt:-no}
8131 enable_ntdll=${enable_ntdll:-no}
8132 enable_ws2_32=${enable_ws2_32:-no}
8133 enable_loader=${enable_loader:-no}
8134 enable_server=${enable_server:-no}
8135 with_x=${with_x:-no}
8136 with_pthread=${with_pthread:-no}
8138 crtlibs=""
8139 case $host_os in
8140 mingw32*)
8141 crtlibs="-lmsvcrt"
8142 SOCKET_LIBS="-lws2_32"
8144 esac
8146 LIBWINE_SHAREDLIB="libwine.dll"
8148 LIBWINE_IMPORTLIB="libwine.a"
8150 LIBWINE_INSTALL_LIB="libwine.dll"
8152 LIBWINE_INSTALL_DEV="libwine.a"
8154 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8156 LIBWINE_DEPENDS="wine.def"
8160 darwin*|macosx*)
8161 for ac_header in libunwind.h
8162 do :
8163 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8165 cat >>confdefs.h <<_ACEOF
8166 #define HAVE_LIBUNWIND_H 1
8167 _ACEOF
8171 done
8173 ac_ext=m
8174 ac_cpp='$OBJCPP $CPPFLAGS'
8175 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8176 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8177 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8179 ac_ext=m
8180 ac_cpp='$OBJCPP $CPPFLAGS'
8181 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8182 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8183 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8184 if test -n "$ac_tool_prefix"; then
8185 for ac_prog in gcc objcc objc cc CC
8187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190 $as_echo_n "checking for $ac_word... " >&6; }
8191 if ${ac_cv_prog_OBJC+:} false; then :
8192 $as_echo_n "(cached) " >&6
8193 else
8194 if test -n "$OBJC"; then
8195 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8196 else
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 for as_dir in $PATH
8200 IFS=$as_save_IFS
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8204 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8206 break 2
8208 done
8209 done
8210 IFS=$as_save_IFS
8214 OBJC=$ac_cv_prog_OBJC
8215 if test -n "$OBJC"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8217 $as_echo "$OBJC" >&6; }
8218 else
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8224 test -n "$OBJC" && break
8225 done
8227 if test -z "$OBJC"; then
8228 ac_ct_OBJC=$OBJC
8229 for ac_prog in gcc objcc objc cc CC
8231 # Extract the first word of "$ac_prog", so it can be a program name with args.
8232 set dummy $ac_prog; ac_word=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8234 $as_echo_n "checking for $ac_word... " >&6; }
8235 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8236 $as_echo_n "(cached) " >&6
8237 else
8238 if test -n "$ac_ct_OBJC"; then
8239 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8240 else
8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242 for as_dir in $PATH
8244 IFS=$as_save_IFS
8245 test -z "$as_dir" && as_dir=.
8246 for ac_exec_ext in '' $ac_executable_extensions; do
8247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8248 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8250 break 2
8252 done
8253 done
8254 IFS=$as_save_IFS
8258 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8259 if test -n "$ac_ct_OBJC"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8261 $as_echo "$ac_ct_OBJC" >&6; }
8262 else
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8268 test -n "$ac_ct_OBJC" && break
8269 done
8271 if test "x$ac_ct_OBJC" = x; then
8272 OBJC="gcc"
8273 else
8274 case $cross_compiling:$ac_tool_warned in
8275 yes:)
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8278 ac_tool_warned=yes ;;
8279 esac
8280 OBJC=$ac_ct_OBJC
8284 # Provide some information about the compiler.
8285 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8286 set X $ac_compile
8287 ac_compiler=$2
8288 for ac_option in --version -v -V -qversion; do
8289 { { ac_try="$ac_compiler $ac_option >&5"
8290 case "(($ac_try" in
8291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8292 *) ac_try_echo=$ac_try;;
8293 esac
8294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8295 $as_echo "$ac_try_echo"; } >&5
8296 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8297 ac_status=$?
8298 if test -s conftest.err; then
8299 sed '10a\
8300 ... rest of stderr output deleted ...
8301 10q' conftest.err >conftest.er1
8302 cat conftest.er1 >&5
8304 rm -f conftest.er1 conftest.err
8305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8306 test $ac_status = 0; }
8307 done
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8310 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8311 if ${ac_cv_objc_compiler_gnu+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8318 main ()
8320 #ifndef __GNUC__
8321 choke me
8322 #endif
8325 return 0;
8327 _ACEOF
8328 if ac_fn_objc_try_compile "$LINENO"; then :
8329 ac_compiler_gnu=yes
8330 else
8331 ac_compiler_gnu=no
8333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8334 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8338 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8339 if test $ac_compiler_gnu = yes; then
8340 GOBJC=yes
8341 else
8342 GOBJC=
8344 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8345 ac_save_OBJCFLAGS=$OBJCFLAGS
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8347 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8348 if ${ac_cv_prog_objc_g+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 ac_save_objc_werror_flag=$ac_objc_werror_flag
8352 ac_objc_werror_flag=yes
8353 ac_cv_prog_objc_g=no
8354 OBJCFLAGS="-g"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8359 main ()
8363 return 0;
8365 _ACEOF
8366 if ac_fn_objc_try_compile "$LINENO"; then :
8367 ac_cv_prog_objc_g=yes
8368 else
8369 OBJCFLAGS=""
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 main ()
8378 return 0;
8380 _ACEOF
8381 if ac_fn_objc_try_compile "$LINENO"; then :
8383 else
8384 ac_objc_werror_flag=$ac_save_objc_werror_flag
8385 OBJCFLAGS="-g"
8386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8390 main ()
8394 return 0;
8396 _ACEOF
8397 if ac_fn_objc_try_compile "$LINENO"; then :
8398 ac_cv_prog_objc_g=yes
8400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8405 ac_objc_werror_flag=$ac_save_objc_werror_flag
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8408 $as_echo "$ac_cv_prog_objc_g" >&6; }
8409 if test "$ac_test_OBJCFLAGS" = set; then
8410 OBJCFLAGS=$ac_save_OBJCFLAGS
8411 elif test $ac_cv_prog_objc_g = yes; then
8412 if test "$GOBJC" = yes; then
8413 OBJCFLAGS="-g -O2"
8414 else
8415 OBJCFLAGS="-g"
8417 else
8418 if test "$GOBJC" = yes; then
8419 OBJCFLAGS="-O2"
8420 else
8421 OBJCFLAGS=
8424 ac_ext=m
8425 ac_cpp='$OBJCPP $CPPFLAGS'
8426 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8427 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8428 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8431 ac_ext=m
8432 ac_cpp='$OBJCPP $CPPFLAGS'
8433 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8434 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8435 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8437 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8438 if test -z "$OBJCPP"; then
8439 if ${ac_cv_prog_OBJCPP+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 # Double quotes because OBJCPP needs to be expanded
8443 for OBJCPP in "$OBJC -E" "/lib/cpp"
8445 ac_preproc_ok=false
8446 for ac_objc_preproc_warn_flag in '' yes
8448 # Use a header file that comes with gcc, so configuring glibc
8449 # with a fresh cross-compiler works.
8450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8451 # <limits.h> exists even on freestanding compilers.
8452 # On the NeXT, cc -E runs the code through the compiler's parser,
8453 # not just through cpp. "Syntax error" is here to catch this case.
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8456 #ifdef __STDC__
8457 # include <limits.h>
8458 #else
8459 # include <assert.h>
8460 #endif
8461 Syntax error
8462 _ACEOF
8463 if ac_fn_objc_try_cpp "$LINENO"; then :
8465 else
8466 # Broken: fails on valid input.
8467 continue
8469 rm -f conftest.err conftest.i conftest.$ac_ext
8471 # OK, works on sane cases. Now check whether nonexistent headers
8472 # can be detected and how.
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 #include <ac_nonexistent.h>
8476 _ACEOF
8477 if ac_fn_objc_try_cpp "$LINENO"; then :
8478 # Broken: success on invalid input.
8479 continue
8480 else
8481 # Passes both tests.
8482 ac_preproc_ok=:
8483 break
8485 rm -f conftest.err conftest.i conftest.$ac_ext
8487 done
8488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8489 rm -f conftest.i conftest.err conftest.$ac_ext
8490 if $ac_preproc_ok; then :
8491 break
8494 done
8495 ac_cv_prog_OBJCPP=$OBJCPP
8498 OBJCPP=$ac_cv_prog_OBJCPP
8499 else
8500 ac_cv_prog_OBJCPP=$OBJCPP
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8503 $as_echo "$OBJCPP" >&6; }
8504 ac_preproc_ok=false
8505 for ac_objc_preproc_warn_flag in '' yes
8507 # Use a header file that comes with gcc, so configuring glibc
8508 # with a fresh cross-compiler works.
8509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8510 # <limits.h> exists even on freestanding compilers.
8511 # On the NeXT, cc -E runs the code through the compiler's parser,
8512 # not just through cpp. "Syntax error" is here to catch this case.
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 #ifdef __STDC__
8516 # include <limits.h>
8517 #else
8518 # include <assert.h>
8519 #endif
8520 Syntax error
8521 _ACEOF
8522 if ac_fn_objc_try_cpp "$LINENO"; then :
8524 else
8525 # Broken: fails on valid input.
8526 continue
8528 rm -f conftest.err conftest.i conftest.$ac_ext
8530 # OK, works on sane cases. Now check whether nonexistent headers
8531 # can be detected and how.
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 #include <ac_nonexistent.h>
8535 _ACEOF
8536 if ac_fn_objc_try_cpp "$LINENO"; then :
8537 # Broken: success on invalid input.
8538 continue
8539 else
8540 # Passes both tests.
8541 ac_preproc_ok=:
8542 break
8544 rm -f conftest.err conftest.i conftest.$ac_ext
8546 done
8547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8548 rm -f conftest.i conftest.err conftest.$ac_ext
8549 if $ac_preproc_ok; then :
8551 else
8552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8554 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8555 See \`config.log' for more details" "$LINENO" 5; }
8558 ac_ext=m
8559 ac_cpp='$OBJCPP $CPPFLAGS'
8560 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8561 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8562 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8565 for ac_header in Metal/Metal.h
8566 do :
8567 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8568 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8569 cat >>confdefs.h <<_ACEOF
8570 #define HAVE_METAL_METAL_H 1
8571 _ACEOF
8575 done
8577 ac_ext=c
8578 ac_cpp='$CPP $CPPFLAGS'
8579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8583 LIBEXT="dylib"
8584 DLLFLAGS="$DLLFLAGS -fPIC"
8585 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8586 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8587 COREFOUNDATION_LIBS="-framework CoreFoundation"
8589 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8591 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8593 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8595 CORESERVICES_LIBS="-framework CoreServices"
8597 APPKIT_LIBS="-framework AppKit"
8599 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8601 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8602 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8603 $as_echo_n "(cached) " >&6
8604 else
8605 ac_wine_try_cflags_saved=$CFLAGS
8606 CFLAGS="$CFLAGS -Wl,-no_pie"
8607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8608 /* end confdefs.h. */
8609 int main(int argc, char **argv) { return 0; }
8610 _ACEOF
8611 if ac_fn_c_try_link "$LINENO"; then :
8612 ac_cv_cflags__Wl__no_pie=yes
8613 else
8614 ac_cv_cflags__Wl__no_pie=no
8616 rm -f core conftest.err conftest.$ac_objext \
8617 conftest$ac_exeext conftest.$ac_ext
8618 CFLAGS=$ac_wine_try_cflags_saved
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8621 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8622 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8623 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8625 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8626 then
8627 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8630 if test "$ac_cv_header_Security_Security_h" = "yes"
8631 then
8632 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8634 ac_save_LIBS="$LIBS"
8635 LIBS="$LIBS $SECURITY_LIBS"
8636 for ac_func in SSLCopyPeerCertificates
8637 do :
8638 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8639 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8640 cat >>confdefs.h <<_ACEOF
8641 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8642 _ACEOF
8645 done
8647 LIBS="$ac_save_LIBS"
8649 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8650 then
8651 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8652 then
8653 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8655 else
8656 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8659 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8660 ac_save_LIBS="$LIBS"
8661 LIBS="$LIBS $COREAUDIO_LIBS"
8662 for ac_func in AUGraphAddNode
8663 do :
8664 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8665 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8666 cat >>confdefs.h <<_ACEOF
8667 #define HAVE_AUGRAPHADDNODE 1
8668 _ACEOF
8671 done
8673 LIBS="$ac_save_LIBS"
8675 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8676 then
8677 OPENAL_LIBS="-framework OpenAL"
8680 cat >>confdefs.h <<_ACEOF
8681 #define HAVE_OPENAL 1
8682 _ACEOF
8684 ac_cv_lib_openal=yes
8686 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8687 then
8688 OPENCL_LIBS="-framework OpenCL"
8690 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8692 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8693 then
8694 ac_save_LIBS="$LIBS"
8695 LIBS="$LIBS $IOKIT_LIBS"
8696 for ac_func in IOHIDManagerCreate
8697 do :
8698 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8699 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8700 cat >>confdefs.h <<_ACEOF
8701 #define HAVE_IOHIDMANAGERCREATE 1
8702 _ACEOF
8705 done
8707 LIBS="$ac_save_LIBS"
8709 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8710 then
8711 ac_save_LIBS="$LIBS"
8712 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8714 $as_echo_n "checking for the QuickTime framework... " >&6; }
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 #include <QuickTime/ImageCompression.h>
8719 main ()
8721 CodecManagerVersion(NULL);
8723 return 0;
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8728 $as_echo "yes" >&6; }
8729 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8731 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8732 else
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734 $as_echo "no" >&6; }
8735 ac_cv_header_QuickTime_ImageCompression_h=no
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS="$ac_save_LIBS"
8741 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8742 then
8743 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8745 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8746 then
8747 CARBON_LIBS="-framework Carbon"
8750 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8751 then
8752 METAL_LIBS="-framework Metal -framework QuartzCore"
8756 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8757 then
8758 ac_save_LIBS="$LIBS"
8759 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8760 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8761 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8762 enable_winemac_drv=${enable_winemac_drv:-yes}
8765 LIBS="$ac_save_LIBS"
8768 if test "x$enable_win16" = "xyes"
8769 then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8771 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8772 if test "$cross_compiling" = yes; then :
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8774 $as_echo "cross-compiling, assuming yes" >&6; }
8775 else
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8778 asm(".text\n"
8779 "bad:\tnop;nop\n"
8780 "good:\tnop;nop\n\t"
8781 ".globl _testfunc\n"
8782 "_testfunc:\tcallw good");
8783 extern void testfunc();
8785 main ()
8787 unsigned short *p = (unsigned short *)testfunc;
8788 return p[0] != 0xe866 || p[1] != 0xfffa
8790 return 0;
8792 _ACEOF
8793 if ac_fn_c_try_run "$LINENO"; then :
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8795 $as_echo "yes" >&6; }
8796 else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8799 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
8801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8802 conftest.$ac_objext conftest.beam conftest.$ac_ext
8807 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8809 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8811 LIBWINE_INSTALL_DEV="libwine.dylib"
8813 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8815 WINELOADER_DEPENDS="wine_info.plist"
8819 linux-android*)
8820 DLLFLAGS="$DLLFLAGS -fPIC"
8821 LDEXECFLAGS="-Wl,-pie"
8822 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8824 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8825 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8826 $as_echo_n "(cached) " >&6
8827 else
8828 ac_wine_try_cflags_saved=$CFLAGS
8829 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8832 int main(int argc, char **argv) { return 0; }
8833 _ACEOF
8834 if ac_fn_c_try_link "$LINENO"; then :
8835 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8836 else
8837 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 CFLAGS=$ac_wine_try_cflags_saved
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8844 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8845 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8846 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8848 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8850 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8851 if eval \${$as_ac_var+:} false; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 ac_wine_try_cflags_saved=$CFLAGS
8855 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 int main(int argc, char **argv) { return 0; }
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 eval "$as_ac_var=yes"
8862 else
8863 eval "$as_ac_var=no"
8865 rm -f core conftest.err conftest.$ac_objext \
8866 conftest$ac_exeext conftest.$ac_ext
8867 CFLAGS=$ac_wine_try_cflags_saved
8869 eval ac_res=\$$as_ac_var
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8871 $as_echo "$ac_res" >&6; }
8872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8873 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8874 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8875 else
8876 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8878 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8879 if eval \${$as_ac_var+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 ac_wine_try_cflags_saved=$CFLAGS
8883 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8886 int main(int argc, char **argv) { return 0; }
8887 _ACEOF
8888 if ac_fn_c_try_link "$LINENO"; then :
8889 eval "$as_ac_var=yes"
8890 else
8891 eval "$as_ac_var=no"
8893 rm -f core conftest.err conftest.$ac_objext \
8894 conftest$ac_exeext conftest.$ac_ext
8895 CFLAGS=$ac_wine_try_cflags_saved
8897 eval ac_res=\$$as_ac_var
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8899 $as_echo "$ac_res" >&6; }
8900 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8901 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8902 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8906 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8907 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8908 $as_echo_n "(cached) " >&6
8909 else
8910 ac_wine_try_cflags_saved=$CFLAGS
8911 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8914 int main(int argc, char **argv) { return 0; }
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 ac_cv_cflags__Wl___enable_new_dtags=yes
8918 else
8919 ac_cv_cflags__Wl___enable_new_dtags=no
8921 rm -f core conftest.err conftest.$ac_objext \
8922 conftest$ac_exeext conftest.$ac_ext
8923 CFLAGS=$ac_wine_try_cflags_saved
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8926 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8927 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8928 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8931 LIBWINE_SHAREDLIB="libwine.so"
8933 LIBWINE_INSTALL_LIB="libwine.so"
8935 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8939 $as_echo_n "checking for -lEGL... " >&6; }
8940 if ${ac_cv_lib_soname_EGL+:} false; then :
8941 $as_echo_n "(cached) " >&6
8942 else
8943 ac_check_soname_save_LIBS=$LIBS
8944 LIBS="-lEGL $LIBS"
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8948 /* Override any GCC internal prototype to avoid an error.
8949 Use char because int might match the return type of a GCC
8950 builtin and then its argument prototype would still apply. */
8951 #ifdef __cplusplus
8952 extern "C"
8953 #endif
8954 char eglGetProcAddress ();
8956 main ()
8958 return eglGetProcAddress ();
8960 return 0;
8962 _ACEOF
8963 if ac_fn_c_try_link "$LINENO"; then :
8964 case "$LIBEXT" in
8965 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8966 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'` ;;
8967 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8968 if ${ac_cv_lib_soname_EGL:+false} :; then :
8969 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8970 fi ;;
8971 esac
8973 rm -f core conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 LIBS=$ac_check_soname_save_LIBS
8977 if ${ac_cv_lib_soname_EGL:+false} :; then :
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8979 $as_echo "not found" >&6; }
8981 else
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8983 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8985 cat >>confdefs.h <<_ACEOF
8986 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8987 _ACEOF
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8992 $as_echo_n "checking for -lGLESv2... " >&6; }
8993 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8994 $as_echo_n "(cached) " >&6
8995 else
8996 ac_check_soname_save_LIBS=$LIBS
8997 LIBS="-lGLESv2 $LIBS"
8998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8999 /* end confdefs.h. */
9001 /* Override any GCC internal prototype to avoid an error.
9002 Use char because int might match the return type of a GCC
9003 builtin and then its argument prototype would still apply. */
9004 #ifdef __cplusplus
9005 extern "C"
9006 #endif
9007 char glFlush ();
9009 main ()
9011 return glFlush ();
9013 return 0;
9015 _ACEOF
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 case "$LIBEXT" in
9018 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9019 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'` ;;
9020 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9021 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9022 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9023 fi ;;
9024 esac
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS=$ac_check_soname_save_LIBS
9030 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9032 $as_echo "not found" >&6; }
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9036 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9038 cat >>confdefs.h <<_ACEOF
9039 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9040 _ACEOF
9045 if test "x$exec_prefix" = xNONE
9046 then
9047 case $host_cpu in
9048 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9049 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9050 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9051 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9052 esac
9057 DLLFLAGS="$DLLFLAGS -fPIC"
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9059 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9060 if ${ac_cv_c_dll_gnuelf+:} false; then :
9061 $as_echo_n "(cached) " >&6
9062 else
9063 ac_wine_try_cflags_saved=$CFLAGS
9064 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9067 void myfunc() {}
9068 _ACEOF
9069 if ac_fn_c_try_link "$LINENO"; then :
9070 ac_cv_c_dll_gnuelf="yes"
9071 else
9072 ac_cv_c_dll_gnuelf="no"
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 CFLAGS=$ac_wine_try_cflags_saved
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9079 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9080 if test "$ac_cv_c_dll_gnuelf" = "yes"
9081 then
9082 LIBWINE_LDFLAGS="-shared"
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9084 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9085 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9086 $as_echo_n "(cached) " >&6
9087 else
9088 ac_wine_try_cflags_saved=$CFLAGS
9089 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9092 int main(int argc, char **argv) { return 0; }
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9096 else
9097 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 CFLAGS=$ac_wine_try_cflags_saved
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9104 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9105 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9106 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9107 else
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9109 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9110 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 ac_wine_try_cflags_saved=$CFLAGS
9114 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 int main(int argc, char **argv) { return 0; }
9118 _ACEOF
9119 if ac_fn_c_try_link "$LINENO"; then :
9120 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9121 else
9122 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9124 rm -f core conftest.err conftest.$ac_objext \
9125 conftest$ac_exeext conftest.$ac_ext
9126 CFLAGS=$ac_wine_try_cflags_saved
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9129 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9130 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9131 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9135 echo '{ global: *; };' >conftest.map
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9137 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9138 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_wine_try_cflags_saved=$CFLAGS
9142 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 int main(int argc, char **argv) { return 0; }
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9149 else
9150 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 CFLAGS=$ac_wine_try_cflags_saved
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9157 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9158 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9159 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9161 rm -f conftest.map
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9164 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9165 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_wine_try_cflags_saved=$CFLAGS
9169 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9172 int main(int argc, char **argv) { return 0; }
9173 _ACEOF
9174 if ac_fn_c_try_link "$LINENO"; then :
9175 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9176 else
9177 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9179 rm -f core conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9181 CFLAGS=$ac_wine_try_cflags_saved
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9184 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9185 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9186 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9189 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9191 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9192 if eval \${$as_ac_var+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 ac_wine_try_cflags_saved=$CFLAGS
9196 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9199 int main(int argc, char **argv) { return 0; }
9200 _ACEOF
9201 if ac_fn_c_try_link "$LINENO"; then :
9202 eval "$as_ac_var=yes"
9203 else
9204 eval "$as_ac_var=no"
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 CFLAGS=$ac_wine_try_cflags_saved
9210 eval ac_res=\$$as_ac_var
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9212 $as_echo "$ac_res" >&6; }
9213 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9214 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9215 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9216 else
9217 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9219 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9220 if eval \${$as_ac_var+:} false; then :
9221 $as_echo_n "(cached) " >&6
9222 else
9223 ac_wine_try_cflags_saved=$CFLAGS
9224 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9227 int main(int argc, char **argv) { return 0; }
9228 _ACEOF
9229 if ac_fn_c_try_link "$LINENO"; then :
9230 eval "$as_ac_var=yes"
9231 else
9232 eval "$as_ac_var=no"
9234 rm -f core conftest.err conftest.$ac_objext \
9235 conftest$ac_exeext conftest.$ac_ext
9236 CFLAGS=$ac_wine_try_cflags_saved
9238 eval ac_res=\$$as_ac_var
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9240 $as_echo "$ac_res" >&6; }
9241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9242 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9243 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9248 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9249 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9250 $as_echo_n "(cached) " >&6
9251 else
9252 ac_wine_try_cflags_saved=$CFLAGS
9253 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9256 int main(int argc, char **argv) { return 0; }
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 ac_cv_cflags__Wl___enable_new_dtags=yes
9260 else
9261 ac_cv_cflags__Wl___enable_new_dtags=no
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 CFLAGS=$ac_wine_try_cflags_saved
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9268 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9269 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9270 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9273 case $host_cpu in
9274 *i[3456789]86* | x86_64 | *aarch64*)
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9276 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9277 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_wine_try_cflags_saved=$CFLAGS
9281 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9284 int main(int argc, char **argv) { return 0; }
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"; then :
9287 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9288 else
9289 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 CFLAGS=$ac_wine_try_cflags_saved
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9296 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9297 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9298 case $host_os in
9299 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9300 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9301 esac
9302 else
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9304 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9305 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 ac_wine_try_cflags_saved=$CFLAGS
9309 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9312 int main(int argc, char **argv) { return 0; }
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9316 else
9317 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 CFLAGS=$ac_wine_try_cflags_saved
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9324 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9325 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9326 case $host_os in
9327 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9328 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9329 esac
9331 # Extract the first word of "prelink", so it can be a program name with args.
9332 set dummy prelink; ac_word=$2
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9334 $as_echo_n "checking for $ac_word... " >&6; }
9335 if ${ac_cv_path_PRELINK+:} false; then :
9336 $as_echo_n "(cached) " >&6
9337 else
9338 case $PRELINK in
9339 [\\/]* | ?:[\\/]*)
9340 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9344 for as_dir in /sbin /usr/sbin $PATH
9346 IFS=$as_save_IFS
9347 test -z "$as_dir" && as_dir=.
9348 for ac_exec_ext in '' $ac_executable_extensions; do
9349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9350 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9352 break 2
9354 done
9355 done
9356 IFS=$as_save_IFS
9358 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9360 esac
9362 PRELINK=$ac_cv_path_PRELINK
9363 if test -n "$PRELINK"; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9365 $as_echo "$PRELINK" >&6; }
9366 else
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 $as_echo "no" >&6; }
9372 if test "x$PRELINK" = xfalse
9373 then
9374 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9378 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9379 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9390 else
9391 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9398 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9399 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9400 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9403 esac
9405 else
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9407 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9408 if ${ac_cv_c_dll_unixware+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 void myfunc() {}
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_c_dll_unixware="yes"
9419 else
9420 ac_cv_c_dll_unixware="no"
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9427 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9428 if test "$ac_cv_c_dll_unixware" = "yes"
9429 then
9430 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9433 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9435 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9437 LIBWINE_INSTALL_DEV="libwine.so"
9439 LIBWINE_DEPENDS="wine.map"
9442 esac
9444 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9445 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9446 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9447 enable_winemac_drv=${enable_winemac_drv:-no}
9448 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9450 CROSSTARGET=""
9452 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9453 then
9454 case "$host_cpu" in
9455 aarch64*)
9456 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9457 arm*)
9458 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9459 i[3456789]86*)
9460 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
9461 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9462 mingw32-gcc" ;;
9463 x86_64)
9464 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
9465 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9467 ac_prefix_list="" ;;
9468 esac
9469 for ac_prog in $ac_prefix_list
9471 # Extract the first word of "$ac_prog", so it can be a program name with args.
9472 set dummy $ac_prog; ac_word=$2
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9474 $as_echo_n "checking for $ac_word... " >&6; }
9475 if ${ac_cv_prog_CROSSCC+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 if test -n "$CROSSCC"; then
9479 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9480 else
9481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9482 for as_dir in $PATH
9484 IFS=$as_save_IFS
9485 test -z "$as_dir" && as_dir=.
9486 for ac_exec_ext in '' $ac_executable_extensions; do
9487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9488 ac_cv_prog_CROSSCC="$ac_prog"
9489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9490 break 2
9492 done
9493 done
9494 IFS=$as_save_IFS
9498 CROSSCC=$ac_cv_prog_CROSSCC
9499 if test -n "$CROSSCC"; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9501 $as_echo "$CROSSCC" >&6; }
9502 else
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9504 $as_echo "no" >&6; }
9508 test -n "$CROSSCC" && break
9509 done
9510 test -n "$CROSSCC" || CROSSCC="false"
9512 if test "$CROSSCC" != "false"
9513 then
9514 ac_save_CC="$CC"
9515 CC="$CROSSCC"
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9517 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9522 main ()
9526 return 0;
9528 _ACEOF
9529 if ac_fn_c_try_compile "$LINENO"; then :
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9531 $as_echo "yes" >&6; }
9532 set x $CROSSCC
9533 shift
9534 while test $# -ge 1
9536 case "$1" in
9537 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9538 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9539 esac
9540 shift
9541 done
9542 else
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9544 $as_echo "no" >&6; }
9546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9547 CC="$ac_save_CC"
9548 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9554 if test "$ac_cv_header_pthread_h" = "yes"
9555 then
9556 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9557 if test "x$ac_cv_func_pthread_create" = xyes; then :
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9561 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9562 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_check_lib_save_LIBS=$LIBS
9566 LIBS="-lpthread $LIBS"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9570 /* Override any GCC internal prototype to avoid an error.
9571 Use char because int might match the return type of a GCC
9572 builtin and then its argument prototype would still apply. */
9573 #ifdef __cplusplus
9574 extern "C"
9575 #endif
9576 char pthread_create ();
9578 main ()
9580 return pthread_create ();
9582 return 0;
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586 ac_cv_lib_pthread_pthread_create=yes
9587 else
9588 ac_cv_lib_pthread_pthread_create=no
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 LIBS=$ac_check_lib_save_LIBS
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9595 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9596 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9597 PTHREAD_LIBS="-lpthread"
9604 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9605 case "x$with_pthread" in
9606 xno) ;;
9607 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9608 Wine cannot support threads without libpthread.
9609 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9610 esac
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9616 $as_echo_n "checking for X... " >&6; }
9619 # Check whether --with-x was given.
9620 if test "${with_x+set}" = set; then :
9621 withval=$with_x;
9624 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9625 if test "x$with_x" = xno; then
9626 # The user explicitly disabled X.
9627 have_x=disabled
9628 else
9629 case $x_includes,$x_libraries in #(
9630 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9631 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9632 $as_echo_n "(cached) " >&6
9633 else
9634 # One or both of the vars are not set, and there is no cached value.
9635 ac_x_includes=no ac_x_libraries=no
9636 rm -f -r conftest.dir
9637 if mkdir conftest.dir; then
9638 cd conftest.dir
9639 cat >Imakefile <<'_ACEOF'
9640 incroot:
9641 @echo incroot='${INCROOT}'
9642 usrlibdir:
9643 @echo usrlibdir='${USRLIBDIR}'
9644 libdir:
9645 @echo libdir='${LIBDIR}'
9646 _ACEOF
9647 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9648 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9649 for ac_var in incroot usrlibdir libdir; do
9650 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9651 done
9652 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9653 for ac_extension in a so sl dylib la dll; do
9654 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9655 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9656 ac_im_usrlibdir=$ac_im_libdir; break
9658 done
9659 # Screen out bogus values from the imake configuration. They are
9660 # bogus both because they are the default anyway, and because
9661 # using them would break gcc on systems where it needs fixed includes.
9662 case $ac_im_incroot in
9663 /usr/include) ac_x_includes= ;;
9664 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9665 esac
9666 case $ac_im_usrlibdir in
9667 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9668 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9669 esac
9671 cd ..
9672 rm -f -r conftest.dir
9675 # Standard set of common directories for X headers.
9676 # Check X11 before X11Rn because it is often a symlink to the current release.
9677 ac_x_header_dirs='
9678 /usr/X11/include
9679 /usr/X11R7/include
9680 /usr/X11R6/include
9681 /usr/X11R5/include
9682 /usr/X11R4/include
9684 /usr/include/X11
9685 /usr/include/X11R7
9686 /usr/include/X11R6
9687 /usr/include/X11R5
9688 /usr/include/X11R4
9690 /usr/local/X11/include
9691 /usr/local/X11R7/include
9692 /usr/local/X11R6/include
9693 /usr/local/X11R5/include
9694 /usr/local/X11R4/include
9696 /usr/local/include/X11
9697 /usr/local/include/X11R7
9698 /usr/local/include/X11R6
9699 /usr/local/include/X11R5
9700 /usr/local/include/X11R4
9702 /usr/X386/include
9703 /usr/x386/include
9704 /usr/XFree86/include/X11
9706 /usr/include
9707 /usr/local/include
9708 /usr/unsupported/include
9709 /usr/athena/include
9710 /usr/local/x11r5/include
9711 /usr/lpp/Xamples/include
9713 /usr/openwin/include
9714 /usr/openwin/share/include'
9716 if test "$ac_x_includes" = no; then
9717 # Guess where to find include files, by looking for Xlib.h.
9718 # First, try using that file with no special directory specified.
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9721 #include <X11/Xlib.h>
9722 _ACEOF
9723 if ac_fn_c_try_cpp "$LINENO"; then :
9724 # We can compile using X headers with no special include directory.
9725 ac_x_includes=
9726 else
9727 for ac_dir in $ac_x_header_dirs; do
9728 if test -r "$ac_dir/X11/Xlib.h"; then
9729 ac_x_includes=$ac_dir
9730 break
9732 done
9734 rm -f conftest.err conftest.i conftest.$ac_ext
9735 fi # $ac_x_includes = no
9737 if test "$ac_x_libraries" = no; then
9738 # Check for the libraries.
9739 # See if we find them without any special options.
9740 # Don't add to $LIBS permanently.
9741 ac_save_LIBS=$LIBS
9742 LIBS="-lX11 $LIBS"
9743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9744 /* end confdefs.h. */
9745 #include <X11/Xlib.h>
9747 main ()
9749 XrmInitialize ()
9751 return 0;
9753 _ACEOF
9754 if ac_fn_c_try_link "$LINENO"; then :
9755 LIBS=$ac_save_LIBS
9756 # We can link X programs with no special library path.
9757 ac_x_libraries=
9758 else
9759 LIBS=$ac_save_LIBS
9760 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9762 # Don't even attempt the hair of trying to link an X program!
9763 for ac_extension in a so sl dylib la dll; do
9764 if test -r "$ac_dir/libX11.$ac_extension"; then
9765 ac_x_libraries=$ac_dir
9766 break 2
9768 done
9769 done
9771 rm -f core conftest.err conftest.$ac_objext \
9772 conftest$ac_exeext conftest.$ac_ext
9773 fi # $ac_x_libraries = no
9775 case $ac_x_includes,$ac_x_libraries in #(
9776 no,* | *,no | *\'*)
9777 # Didn't find X, or a directory has "'" in its name.
9778 ac_cv_have_x="have_x=no";; #(
9780 # Record where we found X for the cache.
9781 ac_cv_have_x="have_x=yes\
9782 ac_x_includes='$ac_x_includes'\
9783 ac_x_libraries='$ac_x_libraries'"
9784 esac
9786 ;; #(
9787 *) have_x=yes;;
9788 esac
9789 eval "$ac_cv_have_x"
9790 fi # $with_x != no
9792 if test "$have_x" != yes; then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9794 $as_echo "$have_x" >&6; }
9795 no_x=yes
9796 else
9797 # If each of the values was on the command line, it overrides each guess.
9798 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9799 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9800 # Update the cache value to reflect the command line values.
9801 ac_cv_have_x="have_x=yes\
9802 ac_x_includes='$x_includes'\
9803 ac_x_libraries='$x_libraries'"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9805 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9808 if test "$no_x" = yes; then
9809 # Not all programs may use this symbol, but it does not hurt to define it.
9811 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9813 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9814 else
9815 if test -n "$x_includes"; then
9816 X_CFLAGS="$X_CFLAGS -I$x_includes"
9819 # It would also be nice to do this for all -L options, not just this one.
9820 if test -n "$x_libraries"; then
9821 X_LIBS="$X_LIBS -L$x_libraries"
9822 # For Solaris; some versions of Sun CC require a space after -R and
9823 # others require no space. Words are not sufficient . . . .
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9825 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9826 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9827 ac_xsave_c_werror_flag=$ac_c_werror_flag
9828 ac_c_werror_flag=yes
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9833 main ()
9837 return 0;
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9842 $as_echo "no" >&6; }
9843 X_LIBS="$X_LIBS -R$x_libraries"
9844 else
9845 LIBS="$ac_xsave_LIBS -R $x_libraries"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9850 main ()
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9859 $as_echo "yes" >&6; }
9860 X_LIBS="$X_LIBS -R $x_libraries"
9861 else
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9863 $as_echo "neither works" >&6; }
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 ac_c_werror_flag=$ac_xsave_c_werror_flag
9871 LIBS=$ac_xsave_LIBS
9874 # Check for system-dependent libraries X programs must link with.
9875 # Do this before checking for the system-independent R6 libraries
9876 # (-lICE), since we may need -lsocket or whatever for X linking.
9878 if test "$ISC" = yes; then
9879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9880 else
9881 # Martyn Johnson says this is needed for Ultrix, if the X
9882 # libraries were built with DECnet support. And Karl Berry says
9883 # the Alpha needs dnet_stub (dnet does not exist).
9884 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9891 #ifdef __cplusplus
9892 extern "C"
9893 #endif
9894 char XOpenDisplay ();
9896 main ()
9898 return XOpenDisplay ();
9900 return 0;
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"; then :
9905 else
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9907 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9908 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_check_lib_save_LIBS=$LIBS
9912 LIBS="-ldnet $LIBS"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9919 #ifdef __cplusplus
9920 extern "C"
9921 #endif
9922 char dnet_ntoa ();
9924 main ()
9926 return dnet_ntoa ();
9928 return 0;
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 ac_cv_lib_dnet_dnet_ntoa=yes
9933 else
9934 ac_cv_lib_dnet_dnet_ntoa=no
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 LIBS=$ac_check_lib_save_LIBS
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9941 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9942 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9943 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9946 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9948 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9949 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 ac_check_lib_save_LIBS=$LIBS
9953 LIBS="-ldnet_stub $LIBS"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9957 /* Override any GCC internal prototype to avoid an error.
9958 Use char because int might match the return type of a GCC
9959 builtin and then its argument prototype would still apply. */
9960 #ifdef __cplusplus
9961 extern "C"
9962 #endif
9963 char dnet_ntoa ();
9965 main ()
9967 return dnet_ntoa ();
9969 return 0;
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9974 else
9975 ac_cv_lib_dnet_stub_dnet_ntoa=no
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LIBS=$ac_check_lib_save_LIBS
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9982 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9983 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9984 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 LIBS="$ac_xsave_LIBS"
9993 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9994 # to get the SysV transport functions.
9995 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9996 # needs -lnsl.
9997 # The nsl library prevents programs from opening the X display
9998 # on Irix 5.2, according to T.E. Dickey.
9999 # The functions gethostbyname, getservbyname, and inet_addr are
10000 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10001 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10002 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10006 if test $ac_cv_func_gethostbyname = no; then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10008 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10009 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_check_lib_save_LIBS=$LIBS
10013 LIBS="-lnsl $LIBS"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char gethostbyname ();
10025 main ()
10027 return gethostbyname ();
10029 return 0;
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_lib_nsl_gethostbyname=yes
10034 else
10035 ac_cv_lib_nsl_gethostbyname=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_lib_save_LIBS
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10042 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10043 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10047 if test $ac_cv_lib_nsl_gethostbyname = no; then
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10049 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10050 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_check_lib_save_LIBS=$LIBS
10054 LIBS="-lbsd $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10058 /* Override any GCC internal prototype to avoid an error.
10059 Use char because int might match the return type of a GCC
10060 builtin and then its argument prototype would still apply. */
10061 #ifdef __cplusplus
10062 extern "C"
10063 #endif
10064 char gethostbyname ();
10066 main ()
10068 return gethostbyname ();
10070 return 0;
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_lib_bsd_gethostbyname=yes
10075 else
10076 ac_cv_lib_bsd_gethostbyname=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10083 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10084 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10091 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10092 # socket/setsockopt and other routines are undefined under SCO ODT
10093 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10094 # on later versions), says Simon Leinen: it contains gethostby*
10095 # variants that don't use the name server (or something). -lsocket
10096 # must be given before -lnsl if both are needed. We assume that
10097 # if connect needs -lnsl, so does gethostbyname.
10098 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10099 if test "x$ac_cv_func_connect" = xyes; then :
10103 if test $ac_cv_func_connect = no; then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10105 $as_echo_n "checking for connect in -lsocket... " >&6; }
10106 if ${ac_cv_lib_socket_connect+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char connect ();
10122 main ()
10124 return connect ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_lib_socket_connect=yes
10131 else
10132 ac_cv_lib_socket_connect=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_lib_save_LIBS
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10139 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10140 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10141 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10146 # Guillermo Gomez says -lposix is necessary on A/UX.
10147 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10148 if test "x$ac_cv_func_remove" = xyes; then :
10152 if test $ac_cv_func_remove = no; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10154 $as_echo_n "checking for remove in -lposix... " >&6; }
10155 if ${ac_cv_lib_posix_remove+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_check_lib_save_LIBS=$LIBS
10159 LIBS="-lposix $LIBS"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10166 #ifdef __cplusplus
10167 extern "C"
10168 #endif
10169 char remove ();
10171 main ()
10173 return remove ();
10175 return 0;
10177 _ACEOF
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 ac_cv_lib_posix_remove=yes
10180 else
10181 ac_cv_lib_posix_remove=no
10183 rm -f core conftest.err conftest.$ac_objext \
10184 conftest$ac_exeext conftest.$ac_ext
10185 LIBS=$ac_check_lib_save_LIBS
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10188 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10189 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10190 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10195 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10196 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10197 if test "x$ac_cv_func_shmat" = xyes; then :
10201 if test $ac_cv_func_shmat = no; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10203 $as_echo_n "checking for shmat in -lipc... " >&6; }
10204 if ${ac_cv_lib_ipc_shmat+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_check_lib_save_LIBS=$LIBS
10208 LIBS="-lipc $LIBS"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10215 #ifdef __cplusplus
10216 extern "C"
10217 #endif
10218 char shmat ();
10220 main ()
10222 return shmat ();
10224 return 0;
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_lib_ipc_shmat=yes
10229 else
10230 ac_cv_lib_ipc_shmat=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_lib_save_LIBS
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10237 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10238 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10239 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10245 # Check for libraries that X11R6 Xt/Xaw programs need.
10246 ac_save_LDFLAGS=$LDFLAGS
10247 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10248 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10249 # check for ICE first), but we must link in the order -lSM -lICE or
10250 # we get undefined symbols. So assume we have SM if we have ICE.
10251 # These have to be linked with before -lX11, unlike the other
10252 # libraries we check for below, so use a different variable.
10253 # John Interrante, Karl Berry
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10255 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10256 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_check_lib_save_LIBS=$LIBS
10260 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10267 #ifdef __cplusplus
10268 extern "C"
10269 #endif
10270 char IceConnectionNumber ();
10272 main ()
10274 return IceConnectionNumber ();
10276 return 0;
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_lib_ICE_IceConnectionNumber=yes
10281 else
10282 ac_cv_lib_ICE_IceConnectionNumber=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_lib_save_LIBS
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10289 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10290 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10291 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10294 LDFLAGS=$ac_save_LDFLAGS
10299 if test "$have_x" = "yes"
10300 then
10301 ac_save_CPPFLAGS="$CPPFLAGS"
10302 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10305 $as_echo_n "checking for -lX11... " >&6; }
10306 if ${ac_cv_lib_soname_X11+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_check_soname_save_LIBS=$LIBS
10310 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317 #ifdef __cplusplus
10318 extern "C"
10319 #endif
10320 char XCreateWindow ();
10322 main ()
10324 return XCreateWindow ();
10326 return 0;
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 case "$LIBEXT" in
10331 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10332 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'` ;;
10333 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10334 if ${ac_cv_lib_soname_X11:+false} :; then :
10335 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10336 fi ;;
10337 esac
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_soname_save_LIBS
10343 if ${ac_cv_lib_soname_X11:+false} :; then :
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10345 $as_echo "not found" >&6; }
10347 else
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10349 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10351 cat >>confdefs.h <<_ACEOF
10352 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10353 _ACEOF
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10358 $as_echo_n "checking for -lXext... " >&6; }
10359 if ${ac_cv_lib_soname_Xext+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_check_soname_save_LIBS=$LIBS
10363 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 char XextCreateExtension ();
10375 main ()
10377 return XextCreateExtension ();
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 case "$LIBEXT" in
10384 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10385 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'` ;;
10386 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10387 if ${ac_cv_lib_soname_Xext:+false} :; then :
10388 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10389 fi ;;
10390 esac
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 LIBS=$ac_check_soname_save_LIBS
10396 if ${ac_cv_lib_soname_Xext:+false} :; then :
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10398 $as_echo "not found" >&6; }
10400 else
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10402 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10404 cat >>confdefs.h <<_ACEOF
10405 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10406 _ACEOF
10408 X_LIBS="$X_LIBS -lXext"
10410 X_LIBS="$X_LIBS -lX11"
10412 for ac_header in X11/Xlib.h \
10413 X11/XKBlib.h \
10414 X11/Xutil.h \
10415 X11/Xcursor/Xcursor.h \
10416 X11/extensions/shape.h \
10417 X11/extensions/XInput.h \
10418 X11/extensions/XInput2.h \
10419 X11/extensions/XShm.h \
10420 X11/extensions/Xcomposite.h \
10421 X11/extensions/Xfixes.h \
10422 X11/extensions/Xinerama.h \
10423 X11/extensions/Xrandr.h \
10424 X11/extensions/Xrender.h \
10425 X11/extensions/xf86vmode.h \
10426 X11/extensions/xf86vmproto.h
10427 do :
10428 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10430 # include <X11/Xlib.h>
10431 #endif
10432 #ifdef HAVE_X11_XUTIL_H
10433 # include <X11/Xutil.h>
10434 #endif
10436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10437 cat >>confdefs.h <<_ACEOF
10438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10439 _ACEOF
10443 done
10446 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10447 then
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10449 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10450 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10451 $as_echo_n "(cached) " >&6
10452 else
10453 ac_check_lib_save_LIBS=$LIBS
10454 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10461 #ifdef __cplusplus
10462 extern "C"
10463 #endif
10464 char XkbQueryExtension ();
10466 main ()
10468 return XkbQueryExtension ();
10470 return 0;
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_lib_X11_XkbQueryExtension=yes
10475 else
10476 ac_cv_lib_X11_XkbQueryExtension=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_lib_save_LIBS
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10483 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10484 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10486 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10492 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10493 then
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10495 $as_echo_n "checking for -lXcursor... " >&6; }
10496 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10497 $as_echo_n "(cached) " >&6
10498 else
10499 ac_check_soname_save_LIBS=$LIBS
10500 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10504 /* Override any GCC internal prototype to avoid an error.
10505 Use char because int might match the return type of a GCC
10506 builtin and then its argument prototype would still apply. */
10507 #ifdef __cplusplus
10508 extern "C"
10509 #endif
10510 char XcursorImageLoadCursor ();
10512 main ()
10514 return XcursorImageLoadCursor ();
10516 return 0;
10518 _ACEOF
10519 if ac_fn_c_try_link "$LINENO"; then :
10520 case "$LIBEXT" in
10521 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10522 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'` ;;
10523 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10524 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10525 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10526 fi ;;
10527 esac
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_soname_save_LIBS
10533 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10535 $as_echo "not found" >&6; }
10537 else
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10539 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10541 cat >>confdefs.h <<_ACEOF
10542 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10543 _ACEOF
10548 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10549 case "x$with_xcursor" in
10550 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10551 xno) ;;
10552 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10553 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10554 esac
10558 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10559 then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10561 $as_echo_n "checking for -lXi... " >&6; }
10562 if ${ac_cv_lib_soname_Xi+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_check_soname_save_LIBS=$LIBS
10566 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10570 /* Override any GCC internal prototype to avoid an error.
10571 Use char because int might match the return type of a GCC
10572 builtin and then its argument prototype would still apply. */
10573 #ifdef __cplusplus
10574 extern "C"
10575 #endif
10576 char XOpenDevice ();
10578 main ()
10580 return XOpenDevice ();
10582 return 0;
10584 _ACEOF
10585 if ac_fn_c_try_link "$LINENO"; then :
10586 case "$LIBEXT" in
10587 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10588 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'` ;;
10589 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10590 if ${ac_cv_lib_soname_Xi:+false} :; then :
10591 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10592 fi ;;
10593 esac
10595 rm -f core conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10597 LIBS=$ac_check_soname_save_LIBS
10599 if ${ac_cv_lib_soname_Xi:+false} :; then :
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10601 $as_echo "not found" >&6; }
10603 else
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10605 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10607 cat >>confdefs.h <<_ACEOF
10608 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10609 _ACEOF
10614 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10615 case "x$with_xinput" in
10616 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10617 xno) ;;
10618 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10619 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10620 esac
10624 if test "x$ac_cv_lib_soname_Xi" != x
10625 then
10626 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10627 case "x$with_xinput2" in
10628 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10629 xno) ;;
10630 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10631 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10632 esac
10637 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10638 then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10640 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10641 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_lib_save_LIBS=$LIBS
10645 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char XShmQueryExtension ();
10657 main ()
10659 return XShmQueryExtension ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 ac_cv_lib_Xext_XShmQueryExtension=yes
10666 else
10667 ac_cv_lib_Xext_XShmQueryExtension=no
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10674 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10675 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10677 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10682 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10683 case "x$with_xshm" in
10684 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10685 xno) ;;
10686 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10687 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10688 esac
10692 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10693 then
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10695 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10696 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_check_lib_save_LIBS=$LIBS
10700 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10704 /* Override any GCC internal prototype to avoid an error.
10705 Use char because int might match the return type of a GCC
10706 builtin and then its argument prototype would still apply. */
10707 #ifdef __cplusplus
10708 extern "C"
10709 #endif
10710 char XShapeQueryExtension ();
10712 main ()
10714 return XShapeQueryExtension ();
10716 return 0;
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 ac_cv_lib_Xext_XShapeQueryExtension=yes
10721 else
10722 ac_cv_lib_Xext_XShapeQueryExtension=no
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_lib_save_LIBS
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10729 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10730 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10732 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10737 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10738 case "x$with_xshape" in
10739 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10740 xno) ;;
10741 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10742 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10743 esac
10747 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10748 then
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10750 $as_echo_n "checking for -lXxf86vm... " >&6; }
10751 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10752 $as_echo_n "(cached) " >&6
10753 else
10754 ac_check_soname_save_LIBS=$LIBS
10755 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 #endif
10765 char XF86VidModeQueryExtension ();
10767 main ()
10769 return XF86VidModeQueryExtension ();
10771 return 0;
10773 _ACEOF
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 case "$LIBEXT" in
10776 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10777 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'` ;;
10778 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10779 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10780 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10781 fi ;;
10782 esac
10784 rm -f core conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_soname_save_LIBS
10788 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10790 $as_echo "not found" >&6; }
10792 else
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10794 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10796 cat >>confdefs.h <<_ACEOF
10797 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10798 _ACEOF
10803 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10804 case "x$with_xxf86vm" in
10805 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10806 xno) ;;
10807 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10808 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10809 esac
10813 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10814 then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10816 $as_echo_n "checking for -lXrender... " >&6; }
10817 if ${ac_cv_lib_soname_Xrender+:} false; then :
10818 $as_echo_n "(cached) " >&6
10819 else
10820 ac_check_soname_save_LIBS=$LIBS
10821 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10825 /* Override any GCC internal prototype to avoid an error.
10826 Use char because int might match the return type of a GCC
10827 builtin and then its argument prototype would still apply. */
10828 #ifdef __cplusplus
10829 extern "C"
10830 #endif
10831 char XRenderQueryExtension ();
10833 main ()
10835 return XRenderQueryExtension ();
10837 return 0;
10839 _ACEOF
10840 if ac_fn_c_try_link "$LINENO"; then :
10841 case "$LIBEXT" in
10842 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10843 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'` ;;
10844 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10845 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10846 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10847 fi ;;
10848 esac
10850 rm -f core conftest.err conftest.$ac_objext \
10851 conftest$ac_exeext conftest.$ac_ext
10852 LIBS=$ac_check_soname_save_LIBS
10854 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10856 $as_echo "not found" >&6; }
10858 else
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10860 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10862 cat >>confdefs.h <<_ACEOF
10863 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10864 _ACEOF
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10867 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10868 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10869 $as_echo_n "(cached) " >&6
10870 else
10871 ac_check_lib_save_LIBS=$LIBS
10872 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10879 #ifdef __cplusplus
10880 extern "C"
10881 #endif
10882 char XRenderSetPictureTransform ();
10884 main ()
10886 return XRenderSetPictureTransform ();
10888 return 0;
10890 _ACEOF
10891 if ac_fn_c_try_link "$LINENO"; then :
10892 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10893 else
10894 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10901 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10902 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10904 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10909 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10910 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10911 $as_echo_n "(cached) " >&6
10912 else
10913 ac_check_lib_save_LIBS=$LIBS
10914 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10918 /* Override any GCC internal prototype to avoid an error.
10919 Use char because int might match the return type of a GCC
10920 builtin and then its argument prototype would still apply. */
10921 #ifdef __cplusplus
10922 extern "C"
10923 #endif
10924 char XRenderCreateLinearGradient ();
10926 main ()
10928 return XRenderCreateLinearGradient ();
10930 return 0;
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10935 else
10936 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10938 rm -f core conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LIBS=$ac_check_lib_save_LIBS
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10943 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10944 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10946 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10953 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10954 case "x$with_xrender" in
10955 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10956 xno) ;;
10957 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10958 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10959 esac
10963 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10964 then
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10967 #include <X11/Xlib.h>
10968 #include <X11/extensions/Xrandr.h>
10970 main ()
10972 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10974 return 0;
10976 _ACEOF
10977 if ac_fn_c_try_compile "$LINENO"; then :
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10979 $as_echo_n "checking for -lXrandr... " >&6; }
10980 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10981 $as_echo_n "(cached) " >&6
10982 else
10983 ac_check_soname_save_LIBS=$LIBS
10984 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10991 #ifdef __cplusplus
10992 extern "C"
10993 #endif
10994 char XRRQueryExtension ();
10996 main ()
10998 return XRRQueryExtension ();
11000 return 0;
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11004 case "$LIBEXT" in
11005 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11006 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'` ;;
11007 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11008 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11009 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11010 fi ;;
11011 esac
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_soname_save_LIBS
11017 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11019 $as_echo "not found" >&6; }
11021 else
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11023 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11025 cat >>confdefs.h <<_ACEOF
11026 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11027 _ACEOF
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11031 #include <X11/Xlib.h>
11032 #include <X11/extensions/Xrandr.h>
11034 main ()
11036 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_compile "$LINENO"; then :
11043 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11051 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11052 case "x$with_xrandr" in
11053 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11054 xno) ;;
11055 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11056 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11057 esac
11061 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11062 then
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11065 #include <X11/Xlib.h>
11066 #include <X11/extensions/Xfixes.h>
11068 main ()
11070 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_compile "$LINENO"; then :
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11077 $as_echo_n "checking for -lXfixes... " >&6; }
11078 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_soname_save_LIBS=$LIBS
11082 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char XFixesQueryVersion ();
11094 main ()
11096 return XFixesQueryVersion ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 case "$LIBEXT" in
11103 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11104 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'` ;;
11105 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11106 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11107 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11108 fi ;;
11109 esac
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 LIBS=$ac_check_soname_save_LIBS
11115 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11117 $as_echo "not found" >&6; }
11119 else
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11121 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11123 cat >>confdefs.h <<_ACEOF
11124 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11125 _ACEOF
11130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11132 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11133 case "x$with_xfixes" in
11134 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11135 xno) ;;
11136 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11137 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11138 esac
11142 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11143 then
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 #include <X11/Xlib.h>
11147 #include <X11/extensions/Xinerama.h>
11149 main ()
11151 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_compile "$LINENO"; then :
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11158 $as_echo_n "checking for -lXinerama... " >&6; }
11159 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11160 $as_echo_n "(cached) " >&6
11161 else
11162 ac_check_soname_save_LIBS=$LIBS
11163 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11170 #ifdef __cplusplus
11171 extern "C"
11172 #endif
11173 char XineramaQueryScreens ();
11175 main ()
11177 return XineramaQueryScreens ();
11179 return 0;
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"; then :
11183 case "$LIBEXT" in
11184 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11185 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'` ;;
11186 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11187 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11188 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11189 fi ;;
11190 esac
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_soname_save_LIBS
11196 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11198 $as_echo "not found" >&6; }
11200 else
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11202 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11204 cat >>confdefs.h <<_ACEOF
11205 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11206 _ACEOF
11211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11213 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11214 case "x$with_xinerama" in
11215 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11216 xno) ;;
11217 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11218 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11219 esac
11223 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11224 then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11226 $as_echo_n "checking for -lXcomposite... " >&6; }
11227 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_soname_save_LIBS=$LIBS
11231 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char XCompositeRedirectWindow ();
11243 main ()
11245 return XCompositeRedirectWindow ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 case "$LIBEXT" in
11252 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11253 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'` ;;
11254 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11255 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11256 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11257 fi ;;
11258 esac
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11270 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11272 cat >>confdefs.h <<_ACEOF
11273 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11274 _ACEOF
11279 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11280 case "x$with_xcomposite" in
11281 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11282 xno) ;;
11283 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11284 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11285 esac
11289 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11290 #include <X11/Xlib.h>
11291 #endif
11293 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11295 cat >>confdefs.h <<_ACEOF
11296 #define HAVE_XICCALLBACK_CALLBACK 1
11297 _ACEOF
11301 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11302 #include <X11/Xlib.h>
11303 #endif
11305 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11307 cat >>confdefs.h <<_ACEOF
11308 #define HAVE_XEVENT_XCOOKIE 1
11309 _ACEOF
11316 opengl_msg=""
11317 if test "x$with_opengl" != "xno"
11318 then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11320 $as_echo_n "checking for -lGL... " >&6; }
11321 if ${ac_cv_lib_soname_GL+:} false; then :
11322 $as_echo_n "(cached) " >&6
11323 else
11324 ac_check_soname_save_LIBS=$LIBS
11325 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11332 #ifdef __cplusplus
11333 extern "C"
11334 #endif
11335 char glXCreateContext ();
11337 main ()
11339 return glXCreateContext ();
11341 return 0;
11343 _ACEOF
11344 if ac_fn_c_try_link "$LINENO"; then :
11345 case "$LIBEXT" in
11346 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11347 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'` ;;
11348 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11349 if ${ac_cv_lib_soname_GL:+false} :; then :
11350 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11351 fi ;;
11352 esac
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_soname_save_LIBS
11358 if ${ac_cv_lib_soname_GL:+false} :; then :
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11360 $as_echo "not found" >&6; }
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11362 $as_echo_n "checking for -lGL... " >&6; }
11363 if ${ac_cv_lib_soname_GL+:} false; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_soname_save_LIBS=$LIBS
11367 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"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11374 #ifdef __cplusplus
11375 extern "C"
11376 #endif
11377 char glXCreateContext ();
11379 main ()
11381 return glXCreateContext ();
11383 return 0;
11385 _ACEOF
11386 if ac_fn_c_try_link "$LINENO"; then :
11387 case "$LIBEXT" in
11388 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11389 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'` ;;
11390 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11391 if ${ac_cv_lib_soname_GL:+false} :; then :
11392 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11393 fi ;;
11394 esac
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_soname_save_LIBS
11400 if ${ac_cv_lib_soname_GL:+false} :; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11402 $as_echo "not found" >&6; }
11403 if test -f /usr/X11R6/lib/libGL.a
11404 then
11405 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11406 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11407 else
11408 opengl_msg="No OpenGL library found on this system."
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="-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"
11420 else
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11422 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11424 cat >>confdefs.h <<_ACEOF
11425 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11426 _ACEOF
11428 OPENGL_LIBS="-lGL"
11430 if test "x$with_glu" != "xno"
11431 then
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11433 $as_echo_n "checking for -lGLU... " >&6; }
11434 if ${ac_cv_lib_soname_GLU+:} false; then :
11435 $as_echo_n "(cached) " >&6
11436 else
11437 ac_check_soname_save_LIBS=$LIBS
11438 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11442 /* Override any GCC internal prototype to avoid an error.
11443 Use char because int might match the return type of a GCC
11444 builtin and then its argument prototype would still apply. */
11445 #ifdef __cplusplus
11446 extern "C"
11447 #endif
11448 char gluLookAt ();
11450 main ()
11452 return gluLookAt ();
11454 return 0;
11456 _ACEOF
11457 if ac_fn_c_try_link "$LINENO"; then :
11458 case "$LIBEXT" in
11459 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11460 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'` ;;
11461 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11462 if ${ac_cv_lib_soname_GLU:+false} :; then :
11463 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11464 fi ;;
11465 esac
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_soname_save_LIBS
11471 if ${ac_cv_lib_soname_GLU:+false} :; then :
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11473 $as_echo "not found" >&6; }
11475 else
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11477 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11479 cat >>confdefs.h <<_ACEOF
11480 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11481 _ACEOF
11485 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11486 case "x$with_glu" in
11487 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11488 xno) ;;
11489 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11490 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11491 esac
11496 if test "x$with_osmesa" != "xno"
11497 then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11499 $as_echo_n "checking for -lOSMesa... " >&6; }
11500 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11501 $as_echo_n "(cached) " >&6
11502 else
11503 ac_check_soname_save_LIBS=$LIBS
11504 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11511 #ifdef __cplusplus
11512 extern "C"
11513 #endif
11514 char OSMesaGetProcAddress ();
11516 main ()
11518 return OSMesaGetProcAddress ();
11520 return 0;
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"; then :
11524 case "$LIBEXT" in
11525 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11528 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11529 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11530 fi ;;
11531 esac
11533 rm -f core conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_soname_save_LIBS
11537 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11539 $as_echo "not found" >&6; }
11541 else
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11543 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11545 cat >>confdefs.h <<_ACEOF
11546 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11547 _ACEOF
11551 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11552 case "x$with_osmesa" in
11553 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11554 xno) ;;
11555 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11556 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11557 esac
11562 if test -n "$opengl_msg"; then :
11563 case "x$with_opengl" in
11564 x) as_fn_append wine_warnings "|$opengl_msg
11565 OpenGL and Direct3D won't be supported." ;;
11566 xno) ;;
11567 *) as_fn_error $? "$opengl_msg
11568 OpenGL and Direct3D won't be supported.
11569 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11570 esac
11574 CPPFLAGS="$ac_save_CPPFLAGS"
11575 else
11576 X_CFLAGS=""
11577 X_LIBS=""
11580 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11581 then
11582 if test "x$X_LIBS" = "x"; then :
11583 case "x$with_x" in
11584 xno) ;;
11585 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11586 without X support, which probably isn't what you want. You will need
11587 to install ${notice_platform}development packages of Xlib at the very least.
11588 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11589 esac
11590 enable_winex11_drv=${enable_winex11_drv:-no}
11592 else
11593 if test "x$X_LIBS" = "x"; then :
11594 case "x$with_x" in
11595 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11596 xno) ;;
11597 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11598 This is an error since --with-x was requested." "$LINENO" 5 ;;
11599 esac
11600 enable_winex11_drv=${enable_winex11_drv:-no}
11604 if test "$ac_cv_header_CL_cl_h" = "yes"
11605 then
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11607 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11608 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11609 $as_echo_n "(cached) " >&6
11610 else
11611 ac_check_lib_save_LIBS=$LIBS
11612 LIBS="-lOpenCL $LIBS"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char clGetPlatformInfo ();
11624 main ()
11626 return clGetPlatformInfo ();
11628 return 0;
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11633 else
11634 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11636 rm -f core conftest.err conftest.$ac_objext \
11637 conftest$ac_exeext conftest.$ac_ext
11638 LIBS=$ac_check_lib_save_LIBS
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11641 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11642 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11643 OPENCL_LIBS="-lOpenCL"
11648 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11649 case "x$with_opencl" in
11650 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11651 xno) ;;
11652 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11653 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11654 esac
11655 enable_opencl=${enable_opencl:-no}
11658 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11659 then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11661 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11662 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_lib_save_LIBS=$LIBS
11666 LIBS="-lpcap $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char pcap_create ();
11678 main ()
11680 return pcap_create ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 ac_cv_lib_pcap_pcap_create=yes
11687 else
11688 ac_cv_lib_pcap_pcap_create=no
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_lib_save_LIBS
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11695 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11696 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11697 PCAP_LIBS="-lpcap"
11702 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11703 case "x$with_pcap" in
11704 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11705 xno) ;;
11706 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11707 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11708 esac
11709 enable_wpcap=${enable_wpcap:-no}
11713 if test "x$with_xml" != "xno"
11714 then
11715 if ${XML2_CFLAGS:+false} :; then :
11716 if ${PKG_CONFIG+:} false; then :
11717 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11720 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11721 if ${XML2_LIBS:+false} :; then :
11722 if ${PKG_CONFIG+:} false; then :
11723 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11726 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11727 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11728 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11729 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11730 ac_save_CPPFLAGS=$CPPFLAGS
11731 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11732 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11733 do :
11734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11735 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11737 cat >>confdefs.h <<_ACEOF
11738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11739 _ACEOF
11743 done
11745 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"
11746 then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11748 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11749 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11750 $as_echo_n "(cached) " >&6
11751 else
11752 ac_check_lib_save_LIBS=$LIBS
11753 LIBS="-lxml2 $XML2_LIBS $LIBS"
11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11755 /* end confdefs.h. */
11757 /* Override any GCC internal prototype to avoid an error.
11758 Use char because int might match the return type of a GCC
11759 builtin and then its argument prototype would still apply. */
11760 #ifdef __cplusplus
11761 extern "C"
11762 #endif
11763 char xmlParseMemory ();
11765 main ()
11767 return xmlParseMemory ();
11769 return 0;
11771 _ACEOF
11772 if ac_fn_c_try_link "$LINENO"; then :
11773 ac_cv_lib_xml2_xmlParseMemory=yes
11774 else
11775 ac_cv_lib_xml2_xmlParseMemory=no
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_lib_save_LIBS
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11782 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11783 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11785 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11787 else
11788 XML2_LIBS=""
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11792 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11793 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_check_lib_save_LIBS=$LIBS
11797 LIBS="-lxml2 $XML2_LIBS $LIBS"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char xmlReadMemory ();
11809 main ()
11811 return xmlReadMemory ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 ac_cv_lib_xml2_xmlReadMemory=yes
11818 else
11819 ac_cv_lib_xml2_xmlReadMemory=no
11821 rm -f core conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 LIBS=$ac_check_lib_save_LIBS
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11826 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11827 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11829 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11834 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11835 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11836 $as_echo_n "(cached) " >&6
11837 else
11838 ac_check_lib_save_LIBS=$LIBS
11839 LIBS="-lxml2 $XML2_LIBS $LIBS"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11846 #ifdef __cplusplus
11847 extern "C"
11848 #endif
11849 char xmlNewDocPI ();
11851 main ()
11853 return xmlNewDocPI ();
11855 return 0;
11857 _ACEOF
11858 if ac_fn_c_try_link "$LINENO"; then :
11859 ac_cv_lib_xml2_xmlNewDocPI=yes
11860 else
11861 ac_cv_lib_xml2_xmlNewDocPI=no
11863 rm -f core conftest.err conftest.$ac_objext \
11864 conftest$ac_exeext conftest.$ac_ext
11865 LIBS=$ac_check_lib_save_LIBS
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11868 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11869 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11871 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11876 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11877 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11878 $as_echo_n "(cached) " >&6
11879 else
11880 ac_check_lib_save_LIBS=$LIBS
11881 LIBS="-lxml2 $XML2_LIBS $LIBS"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11888 #ifdef __cplusplus
11889 extern "C"
11890 #endif
11891 char xmlSchemaSetParserStructuredErrors ();
11893 main ()
11895 return xmlSchemaSetParserStructuredErrors ();
11897 return 0;
11899 _ACEOF
11900 if ac_fn_c_try_link "$LINENO"; then :
11901 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11902 else
11903 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_lib_save_LIBS
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11910 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11911 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11913 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11918 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11919 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_lib_save_LIBS=$LIBS
11923 LIBS="-lxml2 $XML2_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char xmlSchemaSetValidStructuredErrors ();
11935 main ()
11937 return xmlSchemaSetValidStructuredErrors ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11944 else
11945 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11952 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11953 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11955 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11960 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11961 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_lib_save_LIBS=$LIBS
11965 LIBS="-lxml2 $XML2_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char xmlFirstElementChild ();
11977 main ()
11979 return xmlFirstElementChild ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 ac_cv_lib_xml2_xmlFirstElementChild=yes
11986 else
11987 ac_cv_lib_xml2_xmlFirstElementChild=no
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11994 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11995 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11997 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12001 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12003 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12005 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12009 else
12010 XML2_CFLAGS=""
12011 XML2_LIBS=""
12013 CPPFLAGS=$ac_save_CPPFLAGS
12014 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12015 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12018 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12019 case "x$with_xml" in
12020 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12021 xno) ;;
12022 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12023 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12024 esac
12028 if test "x$with_xslt" != "xno"
12029 then
12030 if ${XSLT_CFLAGS:+false} :; then :
12031 if ${PKG_CONFIG+:} false; then :
12032 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12035 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12036 if ${XSLT_LIBS:+false} :; then :
12037 if ${PKG_CONFIG+:} false; then :
12038 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12041 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12042 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12043 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12044 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12045 ac_save_CPPFLAGS=$CPPFLAGS
12046 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12047 for ac_header in libxslt/pattern.h libxslt/transform.h
12048 do :
12049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12051 # include <libxslt/pattern.h>
12052 #endif
12054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12055 cat >>confdefs.h <<_ACEOF
12056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12057 _ACEOF
12061 done
12063 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12064 then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12066 $as_echo_n "checking for -lxslt... " >&6; }
12067 if ${ac_cv_lib_soname_xslt+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_check_soname_save_LIBS=$LIBS
12071 LIBS="-lxslt $XSLT_LIBS $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char xsltCompilePattern ();
12083 main ()
12085 return xsltCompilePattern ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 case "$LIBEXT" in
12092 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12093 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'` ;;
12094 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12095 if ${ac_cv_lib_soname_xslt:+false} :; then :
12096 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12097 fi ;;
12098 esac
12100 rm -f core conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_soname_save_LIBS
12104 if ${ac_cv_lib_soname_xslt:+false} :; then :
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12106 $as_echo "not found" >&6; }
12108 else
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12110 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12112 cat >>confdefs.h <<_ACEOF
12113 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12114 _ACEOF
12118 else
12119 XSLT_CFLAGS=""
12121 CPPFLAGS=$ac_save_CPPFLAGS
12122 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12123 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12126 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12127 case "x$with_xslt" in
12128 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12129 xno) ;;
12130 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12131 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12132 esac
12136 if test "x$with_dbus" != "xno"
12137 then
12138 if ${DBUS_CFLAGS:+false} :; then :
12139 if ${PKG_CONFIG+:} false; then :
12140 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12144 if ${DBUS_LIBS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12151 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12155 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12156 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12158 $as_echo_n "checking for -ldbus-1... " >&6; }
12159 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_soname_save_LIBS=$LIBS
12163 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char dbus_connection_close ();
12175 main ()
12177 return dbus_connection_close ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 case "$LIBEXT" in
12184 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12185 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'` ;;
12186 *) 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'`
12187 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12188 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12189 fi ;;
12190 esac
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_soname_save_LIBS
12196 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12198 $as_echo "not found" >&6; }
12199 DBUS_CFLAGS=""
12200 else
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12202 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12204 cat >>confdefs.h <<_ACEOF
12205 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12206 _ACEOF
12210 else
12211 DBUS_CFLAGS=""
12215 CPPFLAGS=$ac_save_CPPFLAGS
12216 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12217 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12220 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12221 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12222 case "x$with_dbus" in
12223 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12224 xno) ;;
12225 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12226 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12227 esac
12231 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12232 then
12233 if ${HAL_CFLAGS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12239 if ${HAL_LIBS:+false} :; then :
12240 if ${PKG_CONFIG+:} false; then :
12241 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12245 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12246 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12247 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12248 ac_save_CPPFLAGS=$CPPFLAGS
12249 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12250 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12253 $as_echo_n "checking for -lhal... " >&6; }
12254 if ${ac_cv_lib_soname_hal+:} false; then :
12255 $as_echo_n "(cached) " >&6
12256 else
12257 ac_check_soname_save_LIBS=$LIBS
12258 LIBS="-lhal $HAL_LIBS $LIBS"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 /* Override any GCC internal prototype to avoid an error.
12263 Use char because int might match the return type of a GCC
12264 builtin and then its argument prototype would still apply. */
12265 #ifdef __cplusplus
12266 extern "C"
12267 #endif
12268 char libhal_ctx_new ();
12270 main ()
12272 return libhal_ctx_new ();
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 case "$LIBEXT" in
12279 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12280 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'` ;;
12281 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12282 if ${ac_cv_lib_soname_hal:+false} :; then :
12283 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12284 fi ;;
12285 esac
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_soname_save_LIBS
12291 if ${ac_cv_lib_soname_hal:+false} :; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12293 $as_echo "not found" >&6; }
12294 HAL_CFLAGS=""
12295 else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12297 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12299 cat >>confdefs.h <<_ACEOF
12300 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12301 _ACEOF
12305 else
12306 HAL_CFLAGS=""
12310 CPPFLAGS=$ac_save_CPPFLAGS
12311 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12312 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12314 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12315 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12316 case "x$with_hal" in
12317 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12318 xno) ;;
12319 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12320 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12321 esac
12326 if test "x$with_gnutls" != "xno"
12327 then
12328 if ${GNUTLS_CFLAGS:+false} :; then :
12329 if ${PKG_CONFIG+:} false; then :
12330 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12334 if ${GNUTLS_LIBS:+false} :; then :
12335 if ${PKG_CONFIG+:} false; then :
12336 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12341 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12342 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12343 ac_save_CPPFLAGS=$CPPFLAGS
12344 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12345 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12346 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12349 #include <gnutls/gnutls.h>
12350 #include <gnutls/crypto.h>
12352 main ()
12354 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12356 return 0;
12358 _ACEOF
12359 if ac_fn_c_try_compile "$LINENO"; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12361 $as_echo_n "checking for -lgnutls... " >&6; }
12362 if ${ac_cv_lib_soname_gnutls+:} false; then :
12363 $as_echo_n "(cached) " >&6
12364 else
12365 ac_check_soname_save_LIBS=$LIBS
12366 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12370 /* Override any GCC internal prototype to avoid an error.
12371 Use char because int might match the return type of a GCC
12372 builtin and then its argument prototype would still apply. */
12373 #ifdef __cplusplus
12374 extern "C"
12375 #endif
12376 char gnutls_global_init ();
12378 main ()
12380 return gnutls_global_init ();
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_link "$LINENO"; then :
12386 case "$LIBEXT" in
12387 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12388 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'` ;;
12389 *) 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'`
12390 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12391 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'`
12392 fi ;;
12393 esac
12395 rm -f core conftest.err conftest.$ac_objext \
12396 conftest$ac_exeext conftest.$ac_ext
12397 LIBS=$ac_check_soname_save_LIBS
12399 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12401 $as_echo "not found" >&6; }
12402 GNUTLS_CFLAGS=""
12403 else
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12405 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12407 cat >>confdefs.h <<_ACEOF
12408 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12409 _ACEOF
12413 ac_wine_check_funcs_save_LIBS="$LIBS"
12414 LIBS="$LIBS $GNUTLS_LIBS"
12415 for ac_func in gnutls_cipher_init
12416 do :
12417 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12418 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12419 cat >>confdefs.h <<_ACEOF
12420 #define HAVE_GNUTLS_CIPHER_INIT 1
12421 _ACEOF
12423 else
12424 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12426 done
12428 LIBS="$ac_wine_check_funcs_save_LIBS"
12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12431 else
12432 GNUTLS_CFLAGS=""
12436 CPPFLAGS=$ac_save_CPPFLAGS
12437 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12438 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12441 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12442 case "x$with_gnutls" in
12443 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12444 xno) ;;
12445 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12446 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12447 esac
12451 CURSES_LIBS=""
12452 if test "$ac_cv_header_ncurses_h" = "yes"
12453 then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12455 $as_echo_n "checking for -lncurses... " >&6; }
12456 if ${ac_cv_lib_soname_ncurses+:} false; then :
12457 $as_echo_n "(cached) " >&6
12458 else
12459 ac_check_soname_save_LIBS=$LIBS
12460 LIBS="-lncurses $LIBS"
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12467 #ifdef __cplusplus
12468 extern "C"
12469 #endif
12470 char waddch ();
12472 main ()
12474 return waddch ();
12476 return 0;
12478 _ACEOF
12479 if ac_fn_c_try_link "$LINENO"; then :
12480 case "$LIBEXT" in
12481 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12482 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'` ;;
12483 *) 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'`
12484 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12485 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12486 fi ;;
12487 esac
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12491 LIBS=$ac_check_soname_save_LIBS
12493 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12495 $as_echo "not found" >&6; }
12497 else
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12499 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12501 cat >>confdefs.h <<_ACEOF
12502 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12503 _ACEOF
12505 CURSES_LIBS="-lncurses"
12507 elif test "$ac_cv_header_curses_h" = "yes"
12508 then
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12510 $as_echo_n "checking for -lcurses... " >&6; }
12511 if ${ac_cv_lib_soname_curses+:} false; then :
12512 $as_echo_n "(cached) " >&6
12513 else
12514 ac_check_soname_save_LIBS=$LIBS
12515 LIBS="-lcurses $LIBS"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12522 #ifdef __cplusplus
12523 extern "C"
12524 #endif
12525 char waddch ();
12527 main ()
12529 return waddch ();
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_link "$LINENO"; then :
12535 case "$LIBEXT" in
12536 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12537 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'` ;;
12538 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12539 if ${ac_cv_lib_soname_curses:+false} :; then :
12540 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12541 fi ;;
12542 esac
12544 rm -f core conftest.err conftest.$ac_objext \
12545 conftest$ac_exeext conftest.$ac_ext
12546 LIBS=$ac_check_soname_save_LIBS
12548 if ${ac_cv_lib_soname_curses:+false} :; then :
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12550 $as_echo "not found" >&6; }
12552 else
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12554 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12556 cat >>confdefs.h <<_ACEOF
12557 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12558 _ACEOF
12560 CURSES_LIBS="-lcurses"
12563 ac_save_LIBS="$LIBS"
12564 LIBS="$LIBS $CURSES_LIBS"
12565 for ac_func in mousemask
12566 do :
12567 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12568 if test "x$ac_cv_func_mousemask" = xyes; then :
12569 cat >>confdefs.h <<_ACEOF
12570 #define HAVE_MOUSEMASK 1
12571 _ACEOF
12574 done
12576 LIBS="$ac_save_LIBS"
12577 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12578 case "x$with_curses" in
12579 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12580 xno) ;;
12581 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12582 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12583 esac
12587 if test "x$with_sane" != "xno"
12588 then
12589 if ${SANE_CFLAGS:+false} :; then :
12590 if ${PKG_CONFIG+:} false; then :
12591 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12594 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12595 if ${SANE_LIBS:+false} :; then :
12596 if ${PKG_CONFIG+:} false; then :
12597 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12600 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12602 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12603 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12604 ac_save_CPPFLAGS=$CPPFLAGS
12605 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12606 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12607 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12609 $as_echo_n "checking for -lsane... " >&6; }
12610 if ${ac_cv_lib_soname_sane+:} false; then :
12611 $as_echo_n "(cached) " >&6
12612 else
12613 ac_check_soname_save_LIBS=$LIBS
12614 LIBS="-lsane $SANE_LIBS $LIBS"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char sane_init ();
12626 main ()
12628 return sane_init ();
12630 return 0;
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 case "$LIBEXT" in
12635 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12636 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'` ;;
12637 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12638 if ${ac_cv_lib_soname_sane:+false} :; then :
12639 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12640 fi ;;
12641 esac
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_soname_save_LIBS
12647 if ${ac_cv_lib_soname_sane:+false} :; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12649 $as_echo "not found" >&6; }
12650 SANE_CFLAGS=""
12651 else
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12653 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12655 cat >>confdefs.h <<_ACEOF
12656 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12657 _ACEOF
12661 else
12662 SANE_CFLAGS=""
12666 CPPFLAGS=$ac_save_CPPFLAGS
12667 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12668 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12671 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12672 case "x$with_sane" in
12673 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12674 xno) ;;
12675 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12676 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12677 esac
12681 if test "x$with_v4l" != "xno"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12684 $as_echo_n "checking for -lv4l1... " >&6; }
12685 if ${ac_cv_lib_soname_v4l1+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_soname_save_LIBS=$LIBS
12689 LIBS="-lv4l1 $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char v4l1_open ();
12701 main ()
12703 return v4l1_open ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 case "$LIBEXT" in
12710 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12711 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'` ;;
12712 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12713 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12714 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12715 fi ;;
12716 esac
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_soname_save_LIBS
12722 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12724 $as_echo "not found" >&6; }
12726 else
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12728 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12730 cat >>confdefs.h <<_ACEOF
12731 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12732 _ACEOF
12737 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12738 case "x$with_v4l" in
12739 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12740 xno) ;;
12741 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12742 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12743 esac
12747 if test "x$with_gphoto" != "xno"
12748 then
12749 if ${GPHOTO2_CFLAGS:+false} :; then :
12750 if ${PKG_CONFIG+:} false; then :
12751 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12754 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12755 if ${GPHOTO2_LIBS:+false} :; then :
12756 if ${PKG_CONFIG+:} false; then :
12757 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12760 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12761 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12762 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12763 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12764 ac_save_CPPFLAGS=$CPPFLAGS
12765 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12766 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12767 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12769 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12770 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 ac_check_lib_save_LIBS=$LIBS
12774 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12781 #ifdef __cplusplus
12782 extern "C"
12783 #endif
12784 char gp_camera_new ();
12786 main ()
12788 return gp_camera_new ();
12790 return 0;
12792 _ACEOF
12793 if ac_fn_c_try_link "$LINENO"; then :
12794 ac_cv_lib_gphoto2_gp_camera_new=yes
12795 else
12796 ac_cv_lib_gphoto2_gp_camera_new=no
12798 rm -f core conftest.err conftest.$ac_objext \
12799 conftest$ac_exeext conftest.$ac_ext
12800 LIBS=$ac_check_lib_save_LIBS
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12803 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12804 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12806 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12808 else
12809 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12812 else
12813 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12817 CPPFLAGS=$ac_save_CPPFLAGS
12818 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12819 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12821 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12822 if ${PKG_CONFIG+:} false; then :
12823 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12826 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12827 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12828 if ${PKG_CONFIG+:} false; then :
12829 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12832 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12833 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12834 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12835 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12836 ac_save_CPPFLAGS=$CPPFLAGS
12837 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12838 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12839 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12841 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12842 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char gp_port_info_list_new ();
12858 main ()
12860 return gp_port_info_list_new ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12867 else
12868 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12875 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12876 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12878 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12880 else
12881 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12884 else
12885 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12889 CPPFLAGS=$ac_save_CPPFLAGS
12890 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12891 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12894 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12895 case "x$with_gphoto" in
12896 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12897 xno) ;;
12898 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12899 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12900 esac
12903 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12904 case "x$with_gphoto" in
12905 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12906 xno) ;;
12907 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12908 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12909 esac
12914 if test "$ac_cv_header_resolv_h" = "yes"
12915 then
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12917 $as_echo_n "checking for resolver library... " >&6; }
12918 if ${ac_cv_have_resolv+:} false; then :
12919 $as_echo_n "(cached) " >&6
12920 else
12921 ac_save_LIBS="$LIBS"
12922 for lib in '' -lresolv
12924 LIBS="$lib $ac_save_LIBS"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927 #ifdef HAVE_NETINET_IN_H
12928 #include <netinet/in.h>
12929 #endif
12930 #include <resolv.h>
12932 main ()
12934 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 ac_cv_have_resolv=${lib:-"none required"}
12941 else
12942 ac_cv_have_resolv="not found"
12944 rm -f core conftest.err conftest.$ac_objext \
12945 conftest$ac_exeext conftest.$ac_ext
12946 test "x$ac_cv_have_resolv" = "xnot found" || break
12947 done
12948 LIBS="$ac_save_LIBS"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12951 $as_echo "$ac_cv_have_resolv" >&6; }
12953 case "$ac_cv_have_resolv" in
12954 "not found") ;;
12955 "none required")
12957 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12960 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12962 RESOLV_LIBS=$ac_cv_have_resolv
12964 esac
12967 if test "x$with_cms" != "xno"
12968 then
12969 if ${LCMS2_CFLAGS:+false} :; then :
12970 if ${PKG_CONFIG+:} false; then :
12971 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12975 if ${LCMS2_LIBS:+false} :; then :
12976 if ${PKG_CONFIG+:} false; then :
12977 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12981 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12982 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12983 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12984 ac_save_CPPFLAGS=$CPPFLAGS
12985 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12986 for ac_header in lcms2.h
12987 do :
12988 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12989 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12990 cat >>confdefs.h <<_ACEOF
12991 #define HAVE_LCMS2_H 1
12992 _ACEOF
12996 done
12998 if test "$ac_cv_header_lcms2_h" = "yes"
12999 then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13001 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13002 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13003 $as_echo_n "(cached) " >&6
13004 else
13005 ac_check_lib_save_LIBS=$LIBS
13006 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 #ifdef __cplusplus
13014 extern "C"
13015 #endif
13016 char cmsOpenProfileFromFile ();
13018 main ()
13020 return cmsOpenProfileFromFile ();
13022 return 0;
13024 _ACEOF
13025 if ac_fn_c_try_link "$LINENO"; then :
13026 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13027 else
13028 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13030 rm -f core conftest.err conftest.$ac_objext \
13031 conftest$ac_exeext conftest.$ac_ext
13032 LIBS=$ac_check_lib_save_LIBS
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13035 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13036 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13038 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13040 else
13041 LCMS2_LIBS=""
13044 else
13045 LCMS2_CFLAGS=""
13046 LCMS2_LIBS=""
13048 CPPFLAGS=$ac_save_CPPFLAGS
13049 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13050 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13053 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13054 case "x$with_cms" in
13055 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13056 xno) ;;
13057 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13058 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13059 esac
13063 if test "x$with_freetype" != "xno"
13064 then
13065 if ${FREETYPE_CFLAGS:+false} :; then :
13066 if ${PKG_CONFIG+:} false; then :
13067 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13070 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13071 if ${FREETYPE_LIBS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13076 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13077 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13078 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13080 ac_save_CPPFLAGS=$CPPFLAGS
13081 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13082 for ac_header in ft2build.h
13083 do :
13084 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13085 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13086 cat >>confdefs.h <<_ACEOF
13087 #define HAVE_FT2BUILD_H 1
13088 _ACEOF
13092 done
13094 if test "$ac_cv_header_ft2build_h" = "yes"
13095 then
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13097 $as_echo_n "checking for -lfreetype... " >&6; }
13098 if ${ac_cv_lib_soname_freetype+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_soname_save_LIBS=$LIBS
13102 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char FT_Init_FreeType ();
13114 main ()
13116 return FT_Init_FreeType ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 case "$LIBEXT" in
13123 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13124 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'` ;;
13125 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13126 if ${ac_cv_lib_soname_freetype:+false} :; then :
13127 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13128 fi ;;
13129 esac
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_soname_save_LIBS
13135 if ${ac_cv_lib_soname_freetype:+false} :; then :
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13137 $as_echo "not found" >&6; }
13138 FREETYPE_LIBS=""
13139 else
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13141 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13143 cat >>confdefs.h <<_ACEOF
13144 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13145 _ACEOF
13148 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13150 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13151 #include FT_MODULE_H
13153 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13155 cat >>confdefs.h <<_ACEOF
13156 #define HAVE_FT_TRUETYPEENGINETYPE 1
13157 _ACEOF
13163 else
13164 FREETYPE_CFLAGS=""
13165 FREETYPE_LIBS=""
13167 CPPFLAGS=$ac_save_CPPFLAGS
13168 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13169 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13172 if test "x$ac_cv_lib_soname_freetype" = x; then :
13173 case "x$with_freetype" in
13174 xno) ;;
13175 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13176 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13177 esac
13178 enable_fonts=${enable_fonts:-no}
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13182 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13183 if ${ac_cv_c_ppdev+:} false; then :
13184 $as_echo_n "(cached) " >&6
13185 else
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13188 #ifdef HAVE_SYS_IOCTL_H
13189 # include <sys/ioctl.h>
13190 #endif
13191 #include <linux/ppdev.h>
13193 main ()
13195 ioctl (1,PPCLAIM,0)
13197 return 0;
13199 _ACEOF
13200 if ac_fn_c_try_compile "$LINENO"; then :
13201 ac_cv_c_ppdev="yes"
13202 else
13203 ac_cv_c_ppdev="no"
13205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13208 $as_echo "$ac_cv_c_ppdev" >&6; }
13209 if test "$ac_cv_c_ppdev" = "yes"
13210 then
13212 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13216 ac_wine_check_funcs_save_LIBS="$LIBS"
13217 LIBS="$LIBS $PTHREAD_LIBS"
13218 for ac_func in \
13219 pthread_attr_get_np \
13220 pthread_getattr_np \
13221 pthread_getthreadid_np \
13222 pthread_get_stackaddr_np \
13223 pthread_get_stacksize_np
13224 do :
13225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13228 cat >>confdefs.h <<_ACEOF
13229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13230 _ACEOF
13233 done
13235 LIBS="$ac_wine_check_funcs_save_LIBS"
13237 if test "$ac_cv_header_zlib_h" = "yes"
13238 then
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13240 $as_echo_n "checking for inflate in -lz... " >&6; }
13241 if ${ac_cv_lib_z_inflate+:} false; then :
13242 $as_echo_n "(cached) " >&6
13243 else
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-lz $LIBS"
13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13249 /* Override any GCC internal prototype to avoid an error.
13250 Use char because int might match the return type of a GCC
13251 builtin and then its argument prototype would still apply. */
13252 #ifdef __cplusplus
13253 extern "C"
13254 #endif
13255 char inflate ();
13257 main ()
13259 return inflate ();
13261 return 0;
13263 _ACEOF
13264 if ac_fn_c_try_link "$LINENO"; then :
13265 ac_cv_lib_z_inflate=yes
13266 else
13267 ac_cv_lib_z_inflate=no
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13271 LIBS=$ac_check_lib_save_LIBS
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13274 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13275 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13277 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13279 Z_LIBS="-lz"
13284 if test "x$Z_LIBS" = "x"; then :
13285 case "x$with_zlib" in
13286 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13287 xno) ;;
13288 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13289 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13290 esac
13294 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13295 then
13296 if test "$ac_cv_header_gettext_po_h" = "yes"
13297 then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13299 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13300 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13301 $as_echo_n "(cached) " >&6
13302 else
13303 ac_check_lib_save_LIBS=$LIBS
13304 LIBS="-lgettextpo $LIBS"
13305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13308 /* Override any GCC internal prototype to avoid an error.
13309 Use char because int might match the return type of a GCC
13310 builtin and then its argument prototype would still apply. */
13311 #ifdef __cplusplus
13312 extern "C"
13313 #endif
13314 char po_message_msgctxt ();
13316 main ()
13318 return po_message_msgctxt ();
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_link "$LINENO"; then :
13324 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13325 else
13326 ac_cv_lib_gettextpo_po_message_msgctxt=no
13328 rm -f core conftest.err conftest.$ac_objext \
13329 conftest$ac_exeext conftest.$ac_ext
13330 LIBS=$ac_check_lib_save_LIBS
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13333 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13334 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13336 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13338 GETTEXTPO_LIBS="-lgettextpo"
13343 if test "x$GETTEXTPO_LIBS" = "x"; then :
13344 case "x$with_gettextpo" in
13345 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13346 xno) ;;
13347 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13348 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13349 esac
13352 if test "$srcdir" != .; then :
13353 case "x$with_gettextpo" in
13354 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13355 xno) ;;
13356 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13357 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13358 esac
13363 if test "x$with_pulse" != "xno";
13364 then
13365 if ${PULSE_CFLAGS:+false} :; then :
13366 if ${PKG_CONFIG+:} false; then :
13367 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13371 if ${PULSE_LIBS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13378 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13379 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13380 ac_save_CPPFLAGS=$CPPFLAGS
13381 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13382 for ac_header in pulse/pulseaudio.h
13383 do :
13384 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13385 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13386 cat >>confdefs.h <<_ACEOF
13387 #define HAVE_PULSE_PULSEAUDIO_H 1
13388 _ACEOF
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13390 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13391 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13392 $as_echo_n "(cached) " >&6
13393 else
13394 ac_check_lib_save_LIBS=$LIBS
13395 LIBS="-lpulse $PULSE_LIBS $LIBS"
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13402 #ifdef __cplusplus
13403 extern "C"
13404 #endif
13405 char pa_stream_is_corked ();
13407 main ()
13409 return pa_stream_is_corked ();
13411 return 0;
13413 _ACEOF
13414 if ac_fn_c_try_link "$LINENO"; then :
13415 ac_cv_lib_pulse_pa_stream_is_corked=yes
13416 else
13417 ac_cv_lib_pulse_pa_stream_is_corked=no
13419 rm -f core conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_lib_save_LIBS
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13424 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13425 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13427 else
13428 PULSE_LIBS=""
13431 else
13432 PULSE_LIBS=""
13435 done
13437 CPPFLAGS=$ac_save_CPPFLAGS
13438 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13439 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13442 if test -z "$PULSE_LIBS"; then :
13443 case "x$with_pulse" in
13444 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13445 xno) ;;
13446 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13447 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13448 esac
13449 enable_winepulse_drv=${enable_winepulse_drv:-no}
13452 if test "x$with_gstreamer" != "xno"
13453 then
13454 if ${GSTREAMER_CFLAGS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13460 if ${GSTREAMER_LIBS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13467 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13469 ac_save_CPPFLAGS=$CPPFLAGS
13470 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13471 ac_gst_incl=""
13472 for i in $GSTREAMER_CFLAGS
13474 case "$i" in
13475 -I*) ac_gst_incl="$ac_gst_incl $i";;
13476 esac
13477 done
13478 GSTREAMER_CFLAGS=$ac_gst_incl
13479 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13480 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13481 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13483 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13486 #include <gst/gst.h>
13488 main ()
13490 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_compile "$LINENO"; then :
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13497 $as_echo "yes" >&6; }
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13499 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13500 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13501 $as_echo_n "(cached) " >&6
13502 else
13503 ac_check_lib_save_LIBS=$LIBS
13504 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13511 #ifdef __cplusplus
13512 extern "C"
13513 #endif
13514 char gst_pad_new ();
13516 main ()
13518 return gst_pad_new ();
13520 return 0;
13522 _ACEOF
13523 if ac_fn_c_try_link "$LINENO"; then :
13524 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13525 else
13526 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13530 LIBS=$ac_check_lib_save_LIBS
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13533 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13534 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13538 else
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13540 $as_echo "no" >&6; }
13541 ac_glib2_broken=yes
13542 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13548 CPPFLAGS=$ac_save_CPPFLAGS
13549 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13550 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13553 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 :
13554 case "x$with_gstreamer" in
13555 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13556 xno) ;;
13557 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13558 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13559 esac
13562 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13564 ALSA_LIBS=""
13566 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13567 then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13569 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13570 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13571 $as_echo_n "(cached) " >&6
13572 else
13573 ac_check_lib_save_LIBS=$LIBS
13574 LIBS="-lasound $LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13581 #ifdef __cplusplus
13582 extern "C"
13583 #endif
13584 char snd_pcm_hw_params_get_access_mask ();
13586 main ()
13588 return snd_pcm_hw_params_get_access_mask ();
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13595 else
13596 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_lib_save_LIBS
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13603 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13604 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13607 #ifdef HAVE_ALSA_ASOUNDLIB_H
13608 #include <alsa/asoundlib.h>
13609 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13610 #include <sys/asoundlib.h>
13611 #endif
13613 main ()
13615 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13617 return 0;
13619 _ACEOF
13620 if ac_fn_c_try_compile "$LINENO"; then :
13621 ALSA_LIBS="-lasound"
13623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13627 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13629 if test "x$with_oss" != xno
13630 then
13631 ac_save_CPPFLAGS="$CPPFLAGS"
13632 if test -f /etc/oss.conf
13633 then
13634 . /etc/oss.conf
13636 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13637 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13638 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13640 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13642 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13644 cat >>confdefs.h <<_ACEOF
13645 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13646 _ACEOF
13648 OSS4_CFLAGS="$ac_oss_incl"
13655 CPPFLAGS="$ac_save_CPPFLAGS"
13657 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13658 case "x$with_oss" in
13659 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13660 xno) ;;
13661 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13662 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13663 esac
13664 enable_wineoss_drv=${enable_wineoss_drv:-no}
13667 if test "x$with_udev" != "xno"
13668 then
13669 if ${UDEV_CFLAGS:+false} :; then :
13670 if ${PKG_CONFIG+:} false; then :
13671 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13675 if ${UDEV_LIBS:+false} :; then :
13676 if ${PKG_CONFIG+:} false; then :
13677 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13681 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13682 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13683 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13684 ac_save_CPPFLAGS=$CPPFLAGS
13685 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13686 for ac_header in libudev.h
13687 do :
13688 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13689 if test "x$ac_cv_header_libudev_h" = xyes; then :
13690 cat >>confdefs.h <<_ACEOF
13691 #define HAVE_LIBUDEV_H 1
13692 _ACEOF
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13694 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13695 if ${ac_cv_lib_udev_udev_new+:} false; then :
13696 $as_echo_n "(cached) " >&6
13697 else
13698 ac_check_lib_save_LIBS=$LIBS
13699 LIBS="-ludev $UDEV_LIBS $LIBS"
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13703 /* Override any GCC internal prototype to avoid an error.
13704 Use char because int might match the return type of a GCC
13705 builtin and then its argument prototype would still apply. */
13706 #ifdef __cplusplus
13707 extern "C"
13708 #endif
13709 char udev_new ();
13711 main ()
13713 return udev_new ();
13715 return 0;
13717 _ACEOF
13718 if ac_fn_c_try_link "$LINENO"; then :
13719 ac_cv_lib_udev_udev_new=yes
13720 else
13721 ac_cv_lib_udev_udev_new=no
13723 rm -f core conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 LIBS=$ac_check_lib_save_LIBS
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13728 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13729 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13731 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13733 else
13734 UDEV_LIBS=""
13737 else
13738 UDEV_LIBS=""
13741 done
13743 CPPFLAGS=$ac_save_CPPFLAGS
13744 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13745 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13748 if test "x$UDEV_LIBS" = "x"; then :
13749 case "x$with_udev" in
13750 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13751 xno) ;;
13752 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13753 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13754 esac
13758 if test "x$with_sdl" != "xno"
13759 then
13760 if ${SDL2_CFLAGS:+false} :; then :
13761 if ${PKG_CONFIG+:} false; then :
13762 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13766 if ${SDL2_LIBS:+false} :; then :
13767 if ${PKG_CONFIG+:} false; then :
13768 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13772 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13773 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13774 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13775 ac_save_CPPFLAGS=$CPPFLAGS
13776 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13777 for ac_header in SDL2/SDL.h
13778 do :
13779 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13780 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13781 cat >>confdefs.h <<_ACEOF
13782 #define HAVE_SDL2_SDL_H 1
13783 _ACEOF
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13785 $as_echo_n "checking for -lSDL2... " >&6; }
13786 if ${ac_cv_lib_soname_SDL2+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_check_soname_save_LIBS=$LIBS
13790 LIBS="-lSDL2 $LIBS"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13794 /* Override any GCC internal prototype to avoid an error.
13795 Use char because int might match the return type of a GCC
13796 builtin and then its argument prototype would still apply. */
13797 #ifdef __cplusplus
13798 extern "C"
13799 #endif
13800 char SDL_Init ();
13802 main ()
13804 return SDL_Init ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 case "$LIBEXT" in
13811 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13812 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'` ;;
13813 *) 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'`
13814 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13815 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13816 fi ;;
13817 esac
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_soname_save_LIBS
13823 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13825 $as_echo "not found" >&6; }
13827 else
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13829 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13831 cat >>confdefs.h <<_ACEOF
13832 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13833 _ACEOF
13839 done
13841 CPPFLAGS=$ac_save_CPPFLAGS
13842 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13843 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13846 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13847 case "x$with_sdl" in
13848 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13849 xno) ;;
13850 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13851 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13852 esac
13856 if test "x$with_capi" != "xno"
13857 then
13858 if ${CAPI20_CFLAGS:+false} :; then :
13859 if ${PKG_CONFIG+:} false; then :
13860 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13864 if ${CAPI20_LIBS:+false} :; then :
13865 if ${PKG_CONFIG+:} false; then :
13866 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13871 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13872 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13873 ac_save_CPPFLAGS=$CPPFLAGS
13874 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13875 for ac_header in capi20.h linux/capi.h
13876 do :
13877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13878 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13880 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13881 cat >>confdefs.h <<_ACEOF
13882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13883 _ACEOF
13887 done
13889 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13890 then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13892 $as_echo_n "checking for -lcapi20... " >&6; }
13893 if ${ac_cv_lib_soname_capi20+:} false; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 ac_check_soname_save_LIBS=$LIBS
13897 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13904 #ifdef __cplusplus
13905 extern "C"
13906 #endif
13907 char capi20_register ();
13909 main ()
13911 return capi20_register ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 case "$LIBEXT" in
13918 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13919 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'` ;;
13920 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13921 if ${ac_cv_lib_soname_capi20:+false} :; then :
13922 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13923 fi ;;
13924 esac
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 LIBS=$ac_check_soname_save_LIBS
13930 if ${ac_cv_lib_soname_capi20:+false} :; then :
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13932 $as_echo "not found" >&6; }
13934 else
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13936 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13938 cat >>confdefs.h <<_ACEOF
13939 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13940 _ACEOF
13945 CPPFLAGS=$ac_save_CPPFLAGS
13946 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13947 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13950 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13951 case "x$with_capi" in
13952 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13953 xno) ;;
13954 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13955 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13956 esac
13960 if test "x$with_cups" != "xno"
13961 then
13962 if ${CUPS_CFLAGS:+false} :; then :
13963 if ${PKG_CONFIG+:} false; then :
13964 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13967 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13968 if ${CUPS_LIBS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13973 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13974 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13975 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13977 ac_save_CPPFLAGS=$CPPFLAGS
13978 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13979 for ac_header in cups/cups.h cups/ppd.h
13980 do :
13981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13984 cat >>confdefs.h <<_ACEOF
13985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13986 _ACEOF
13990 done
13992 if test "$ac_cv_header_cups_cups_h" = "yes"
13993 then
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13995 $as_echo_n "checking for -lcups... " >&6; }
13996 if ${ac_cv_lib_soname_cups+:} false; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 ac_check_soname_save_LIBS=$LIBS
14000 LIBS="-lcups $CUPS_LIBS $LIBS"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 #ifdef __cplusplus
14008 extern "C"
14009 #endif
14010 char cupsGetDefault ();
14012 main ()
14014 return cupsGetDefault ();
14016 return 0;
14018 _ACEOF
14019 if ac_fn_c_try_link "$LINENO"; then :
14020 case "$LIBEXT" in
14021 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14022 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'` ;;
14023 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14024 if ${ac_cv_lib_soname_cups:+false} :; then :
14025 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14026 fi ;;
14027 esac
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_soname_save_LIBS
14033 if ${ac_cv_lib_soname_cups:+false} :; then :
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14035 $as_echo "not found" >&6; }
14036 CUPS_LIBS=""
14037 else
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14039 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14041 cat >>confdefs.h <<_ACEOF
14042 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14043 _ACEOF
14047 else
14048 CUPS_CFLAGS=""
14049 CUPS_LIBS=""
14051 CPPFLAGS=$ac_save_CPPFLAGS
14052 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14053 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14056 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14057 case "x$with_cups" in
14058 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14059 xno) ;;
14060 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14061 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14062 esac
14066 if test "x$with_fontconfig" != "xno"
14067 then
14068 if ${FONTCONFIG_CFLAGS:+false} :; then :
14069 if ${PKG_CONFIG+:} false; then :
14070 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14073 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14074 if ${FONTCONFIG_LIBS:+false} :; then :
14075 if ${PKG_CONFIG+:} false; then :
14076 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14079 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14081 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14082 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14083 ac_save_CPPFLAGS=$CPPFLAGS
14084 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14085 for ac_header in fontconfig/fontconfig.h
14086 do :
14087 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14088 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14089 cat >>confdefs.h <<_ACEOF
14090 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14091 _ACEOF
14095 done
14097 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14098 then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14100 $as_echo_n "checking for -lfontconfig... " >&6; }
14101 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_check_soname_save_LIBS=$LIBS
14105 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14112 #ifdef __cplusplus
14113 extern "C"
14114 #endif
14115 char FcInit ();
14117 main ()
14119 return FcInit ();
14121 return 0;
14123 _ACEOF
14124 if ac_fn_c_try_link "$LINENO"; then :
14125 case "$LIBEXT" in
14126 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14127 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'` ;;
14128 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14129 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14130 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14131 fi ;;
14132 esac
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 LIBS=$ac_check_soname_save_LIBS
14138 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14140 $as_echo "not found" >&6; }
14141 FONTCONFIG_CFLAGS=""
14142 else
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14144 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14146 cat >>confdefs.h <<_ACEOF
14147 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14148 _ACEOF
14152 else
14153 FONTCONFIG_CFLAGS=""
14155 CPPFLAGS=$ac_save_CPPFLAGS
14156 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14157 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14160 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14161 case "x$with_fontconfig" in
14162 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14163 xno) ;;
14164 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14165 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14166 esac
14170 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14171 then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14173 $as_echo_n "checking for -lgsm... " >&6; }
14174 if ${ac_cv_lib_soname_gsm+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_check_soname_save_LIBS=$LIBS
14178 LIBS="-lgsm $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14185 #ifdef __cplusplus
14186 extern "C"
14187 #endif
14188 char gsm_create ();
14190 main ()
14192 return gsm_create ();
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 case "$LIBEXT" in
14199 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14200 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'` ;;
14201 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14202 if ${ac_cv_lib_soname_gsm:+false} :; then :
14203 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14204 fi ;;
14205 esac
14207 rm -f core conftest.err conftest.$ac_objext \
14208 conftest$ac_exeext conftest.$ac_ext
14209 LIBS=$ac_check_soname_save_LIBS
14211 if ${ac_cv_lib_soname_gsm:+false} :; then :
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14213 $as_echo "not found" >&6; }
14215 else
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14217 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14219 cat >>confdefs.h <<_ACEOF
14220 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14221 _ACEOF
14226 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14227 case "x$with_gsm" in
14228 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14229 xno) ;;
14230 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14231 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14232 esac
14236 if test "x$with_krb5" != "xno"
14237 then
14238 if ${KRB5_CFLAGS:+false} :; then :
14239 if ${PKG_CONFIG+:} false; then :
14240 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14243 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14244 if ${KRB5_LIBS:+false} :; then :
14245 if ${PKG_CONFIG+:} false; then :
14246 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14249 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14251 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14252 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14253 ac_save_CPPFLAGS=$CPPFLAGS
14254 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14255 for ac_header in krb5/krb5.h
14256 do :
14257 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14258 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14259 cat >>confdefs.h <<_ACEOF
14260 #define HAVE_KRB5_KRB5_H 1
14261 _ACEOF
14265 done
14267 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14268 then
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14270 $as_echo_n "checking for -lkrb5... " >&6; }
14271 if ${ac_cv_lib_soname_krb5+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 ac_check_soname_save_LIBS=$LIBS
14275 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14279 /* Override any GCC internal prototype to avoid an error.
14280 Use char because int might match the return type of a GCC
14281 builtin and then its argument prototype would still apply. */
14282 #ifdef __cplusplus
14283 extern "C"
14284 #endif
14285 char krb5_is_config_principal ();
14287 main ()
14289 return krb5_is_config_principal ();
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"; then :
14295 case "$LIBEXT" in
14296 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14297 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'` ;;
14298 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14299 if ${ac_cv_lib_soname_krb5:+false} :; then :
14300 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14301 fi ;;
14302 esac
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 LIBS=$ac_check_soname_save_LIBS
14308 if ${ac_cv_lib_soname_krb5:+false} :; then :
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14310 $as_echo "not found" >&6; }
14311 KRB5_CFLAGS=""
14312 else
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14314 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14316 cat >>confdefs.h <<_ACEOF
14317 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14318 _ACEOF
14322 else
14323 KRB5_CFLAGS=""
14325 CPPFLAGS=$ac_save_CPPFLAGS
14326 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14327 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14329 else
14330 with_gssapi=${with_gssapi:-no}
14332 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14333 case "x$with_krb5" in
14334 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14335 xno) ;;
14336 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14337 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14338 esac
14342 if test "x$with_gssapi" != "xno"
14343 then
14344 if ${GSSAPI_CFLAGS:+false} :; then :
14345 if ${PKG_CONFIG+:} false; then :
14346 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14349 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14350 if ${GSSAPI_LIBS:+false} :; then :
14351 if ${PKG_CONFIG+:} false; then :
14352 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14355 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14357 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14358 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14359 ac_save_CPPFLAGS=$CPPFLAGS
14360 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14361 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14362 do :
14363 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14364 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14365 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14366 cat >>confdefs.h <<_ACEOF
14367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14368 _ACEOF
14372 done
14374 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14375 then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14377 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14378 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 ac_check_soname_save_LIBS=$LIBS
14382 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14386 /* Override any GCC internal prototype to avoid an error.
14387 Use char because int might match the return type of a GCC
14388 builtin and then its argument prototype would still apply. */
14389 #ifdef __cplusplus
14390 extern "C"
14391 #endif
14392 char gss_init_sec_context ();
14394 main ()
14396 return gss_init_sec_context ();
14398 return 0;
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 case "$LIBEXT" in
14403 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14404 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'` ;;
14405 *) 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'`
14406 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14407 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14408 fi ;;
14409 esac
14411 rm -f core conftest.err conftest.$ac_objext \
14412 conftest$ac_exeext conftest.$ac_ext
14413 LIBS=$ac_check_soname_save_LIBS
14415 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14417 $as_echo "not found" >&6; }
14418 GSSAPI_CFLAGS=""
14419 else
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14421 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14423 cat >>confdefs.h <<_ACEOF
14424 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14425 _ACEOF
14429 else
14430 GSSAPI_CFLAGS=""
14432 CPPFLAGS=$ac_save_CPPFLAGS
14433 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14434 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14437 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14438 case "x$with_gssapi" in
14439 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14440 xno) ;;
14441 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14442 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14443 esac
14447 if test "x$with_jpeg" != "xno"
14448 then
14449 if ${JPEG_CFLAGS:+false} :; then :
14450 if ${PKG_CONFIG+:} false; then :
14451 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14455 if ${JPEG_LIBS:+false} :; then :
14456 if ${PKG_CONFIG+:} false; then :
14457 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14464 ac_save_CPPFLAGS=$CPPFLAGS
14465 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14466 for ac_header in jpeglib.h
14467 do :
14468 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14469 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14470 cat >>confdefs.h <<_ACEOF
14471 #define HAVE_JPEGLIB_H 1
14472 _ACEOF
14476 done
14478 if test "$ac_cv_header_jpeglib_h" = "yes"
14479 then
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14481 $as_echo_n "checking for -ljpeg... " >&6; }
14482 if ${ac_cv_lib_soname_jpeg+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 ac_check_soname_save_LIBS=$LIBS
14486 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14490 /* Override any GCC internal prototype to avoid an error.
14491 Use char because int might match the return type of a GCC
14492 builtin and then its argument prototype would still apply. */
14493 #ifdef __cplusplus
14494 extern "C"
14495 #endif
14496 char jpeg_start_decompress ();
14498 main ()
14500 return jpeg_start_decompress ();
14502 return 0;
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 case "$LIBEXT" in
14507 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14508 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'` ;;
14509 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14510 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14511 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14512 fi ;;
14513 esac
14515 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14517 LIBS=$ac_check_soname_save_LIBS
14519 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14521 $as_echo "not found" >&6; }
14522 JPEG_CFLAGS=""
14523 else
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14525 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14527 cat >>confdefs.h <<_ACEOF
14528 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14529 _ACEOF
14533 else
14534 JPEG_CFLAGS=""
14536 CPPFLAGS=$ac_save_CPPFLAGS
14537 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14538 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14541 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14542 case "x$with_jpeg" in
14543 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14544 xno) ;;
14545 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14546 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14547 esac
14551 if test "x$with_png" != "xno"
14552 then
14553 if ${PNG_CFLAGS:+false} :; then :
14554 if ${PKG_CONFIG+:} false; then :
14555 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14558 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14559 if ${PNG_LIBS:+false} :; then :
14560 if ${PKG_CONFIG+:} false; then :
14561 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14564 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14566 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14568 ac_save_CPPFLAGS=$CPPFLAGS
14569 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14570 for ac_header in png.h
14571 do :
14572 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14573 if test "x$ac_cv_header_png_h" = xyes; then :
14574 cat >>confdefs.h <<_ACEOF
14575 #define HAVE_PNG_H 1
14576 _ACEOF
14580 done
14582 if test "$ac_cv_header_png_h" = "yes"
14583 then
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14585 $as_echo_n "checking for -lpng... " >&6; }
14586 if ${ac_cv_lib_soname_png+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 ac_check_soname_save_LIBS=$LIBS
14590 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 #ifdef __cplusplus
14598 extern "C"
14599 #endif
14600 char png_create_read_struct ();
14602 main ()
14604 return png_create_read_struct ();
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 case "$LIBEXT" in
14611 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14612 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'` ;;
14613 *) 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'`
14614 if ${ac_cv_lib_soname_png:+false} :; then :
14615 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14616 fi ;;
14617 esac
14619 rm -f core conftest.err conftest.$ac_objext \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_soname_save_LIBS
14623 if ${ac_cv_lib_soname_png:+false} :; then :
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14625 $as_echo "not found" >&6; }
14626 PNG_CFLAGS=""
14627 else
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14629 $as_echo "$ac_cv_lib_soname_png" >&6; }
14631 cat >>confdefs.h <<_ACEOF
14632 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14633 _ACEOF
14637 else
14638 PNG_CFLAGS=""
14640 CPPFLAGS=$ac_save_CPPFLAGS
14641 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14642 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14645 if test "x$ac_cv_lib_soname_png" = "x"; then :
14646 case "x$with_png" in
14647 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14648 xno) ;;
14649 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14650 This is an error since --with-png was requested." "$LINENO" 5 ;;
14651 esac
14655 if test "x$with_tiff" != "xno"
14656 then
14657 if ${TIFF_CFLAGS:+false} :; then :
14658 if ${PKG_CONFIG+:} false; then :
14659 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14663 if ${TIFF_LIBS:+false} :; then :
14664 if ${PKG_CONFIG+:} false; then :
14665 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14670 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14671 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14672 ac_save_CPPFLAGS=$CPPFLAGS
14673 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14674 for ac_header in tiffio.h
14675 do :
14676 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14677 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14678 cat >>confdefs.h <<_ACEOF
14679 #define HAVE_TIFFIO_H 1
14680 _ACEOF
14684 done
14686 if test "$ac_cv_header_tiffio_h" = "yes"
14687 then
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14689 $as_echo_n "checking for -ltiff... " >&6; }
14690 if ${ac_cv_lib_soname_tiff+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 ac_check_soname_save_LIBS=$LIBS
14694 LIBS="-ltiff $TIFF_LIBS $LIBS"
14695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14698 /* Override any GCC internal prototype to avoid an error.
14699 Use char because int might match the return type of a GCC
14700 builtin and then its argument prototype would still apply. */
14701 #ifdef __cplusplus
14702 extern "C"
14703 #endif
14704 char TIFFClientOpen ();
14706 main ()
14708 return TIFFClientOpen ();
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"; then :
14714 case "$LIBEXT" in
14715 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14716 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'` ;;
14717 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14718 if ${ac_cv_lib_soname_tiff:+false} :; then :
14719 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14720 fi ;;
14721 esac
14723 rm -f core conftest.err conftest.$ac_objext \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_soname_save_LIBS
14727 if ${ac_cv_lib_soname_tiff:+false} :; then :
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14729 $as_echo "not found" >&6; }
14731 else
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14733 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14735 cat >>confdefs.h <<_ACEOF
14736 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14737 _ACEOF
14742 CPPFLAGS=$ac_save_CPPFLAGS
14743 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14744 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14747 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14748 case "x$with_tiff" in
14749 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14750 xno) ;;
14751 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14752 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14753 esac
14757 if test "x$with_mpg123" != "xno"
14758 then
14759 if ${MPG123_CFLAGS:+false} :; then :
14760 if ${PKG_CONFIG+:} false; then :
14761 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14765 if ${MPG123_LIBS:+false} :; then :
14766 if ${PKG_CONFIG+:} false; then :
14767 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14771 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14772 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14773 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14774 ac_save_CPPFLAGS=$CPPFLAGS
14775 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14776 for ac_header in mpg123.h
14777 do :
14778 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14779 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14780 cat >>confdefs.h <<_ACEOF
14781 #define HAVE_MPG123_H 1
14782 _ACEOF
14786 done
14788 if test "$ac_cv_header_mpg123_h" = "yes"
14789 then
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14791 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14792 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_check_lib_save_LIBS=$LIBS
14796 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char mpg123_feed ();
14808 main ()
14810 return mpg123_feed ();
14812 return 0;
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_lib_mpg123_mpg123_feed=yes
14817 else
14818 ac_cv_lib_mpg123_mpg123_feed=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_lib_save_LIBS
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14825 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14826 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14828 else
14829 MPG123_LIBS=""
14832 else
14833 MPG123_CFLAGS=""
14834 MPG123_LIBS=""
14836 CPPFLAGS=$ac_save_CPPFLAGS
14837 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14838 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14841 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14842 case "x$with_mpg123" in
14843 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14844 xno) ;;
14845 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14846 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14847 esac
14848 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14850 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14852 if test "$ac_cv_header_AL_al_h" = "yes"
14853 then
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14855 $as_echo_n "checking for -lopenal... " >&6; }
14856 if ${ac_cv_lib_soname_openal+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_check_soname_save_LIBS=$LIBS
14860 LIBS="-lopenal $LIBS"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 /* Override any GCC internal prototype to avoid an error.
14865 Use char because int might match the return type of a GCC
14866 builtin and then its argument prototype would still apply. */
14867 #ifdef __cplusplus
14868 extern "C"
14869 #endif
14870 char alGetSource3i ();
14872 main ()
14874 return alGetSource3i ();
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 case "$LIBEXT" in
14881 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14882 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'` ;;
14883 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14884 if ${ac_cv_lib_soname_openal:+false} :; then :
14885 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14886 fi ;;
14887 esac
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14891 LIBS=$ac_check_soname_save_LIBS
14893 if ${ac_cv_lib_soname_openal:+false} :; then :
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14895 $as_echo "not found" >&6; }
14897 else
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14899 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14901 cat >>confdefs.h <<_ACEOF
14902 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14903 _ACEOF
14905 OPENAL_LIBS="-lopenal"
14907 ac_cv_lib_openal=yes
14909 cat >>confdefs.h <<_ACEOF
14910 #define HAVE_OPENAL 1
14911 _ACEOF
14915 if test "x$ac_cv_lib_openal" != xyes; then :
14916 case "x$with_openal" in
14917 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14918 xno) ;;
14919 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14920 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14921 esac
14922 enable_openal32=${enable_openal32:-no}
14925 if test "x$ac_cv_lib_openal" = xyes
14926 then
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14928 $as_echo_n "checking for openal-soft... " >&6; }
14929 if ${ac_cv_have_openalsoft+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14934 #include <AL/al.h>
14935 #include <AL/alc.h>
14936 #include <AL/alext.h>
14937 LPALCRENDERSAMPLESSOFT x;
14939 main ()
14943 return 0;
14945 _ACEOF
14946 if ac_fn_c_try_compile "$LINENO"; then :
14947 ac_cv_have_openalsoft=yes
14948 else
14949 ac_cv_have_openalsoft=no
14951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14954 $as_echo "$ac_cv_have_openalsoft" >&6; }
14956 if test "x$ac_cv_have_openalsoft" != xyes
14957 then
14958 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14959 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14960 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14961 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14962 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14963 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14964 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14965 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14966 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14967 enable_xapofx1_1=${enable_xapofx1_1:-no}
14968 enable_xapofx1_2=${enable_xapofx1_2:-no}
14969 enable_xapofx1_3=${enable_xapofx1_3:-no}
14970 enable_xapofx1_4=${enable_xapofx1_4:-no}
14971 enable_xapofx1_5=${enable_xapofx1_5:-no}
14972 enable_xaudio2_0=${enable_xaudio2_0:-no}
14973 enable_xaudio2_1=${enable_xaudio2_1:-no}
14974 enable_xaudio2_2=${enable_xaudio2_2:-no}
14975 enable_xaudio2_3=${enable_xaudio2_3:-no}
14976 enable_xaudio2_4=${enable_xaudio2_4:-no}
14977 enable_xaudio2_5=${enable_xaudio2_5:-no}
14978 enable_xaudio2_6=${enable_xaudio2_6:-no}
14979 enable_xaudio2_7=${enable_xaudio2_7:-no}
14980 enable_xaudio2_8=${enable_xaudio2_8:-no}
14981 enable_xaudio2_9=${enable_xaudio2_9:-no}
14984 if test "$ac_cv_header_kstat_h" = "yes"
14985 then
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14987 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14988 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 ac_check_lib_save_LIBS=$LIBS
14992 LIBS="-lkstat $LIBS"
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14996 /* Override any GCC internal prototype to avoid an error.
14997 Use char because int might match the return type of a GCC
14998 builtin and then its argument prototype would still apply. */
14999 #ifdef __cplusplus
15000 extern "C"
15001 #endif
15002 char kstat_open ();
15004 main ()
15006 return kstat_open ();
15008 return 0;
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_lib_kstat_kstat_open=yes
15013 else
15014 ac_cv_lib_kstat_kstat_open=no
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15018 LIBS=$ac_check_lib_save_LIBS
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15021 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15022 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15024 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15026 KSTAT_LIBS="-lkstat"
15032 if test "$ac_cv_header_libprocstat_h" = "yes"
15033 then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15035 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15036 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 ac_check_lib_save_LIBS=$LIBS
15040 LIBS="-lprocstat $LIBS"
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15044 /* Override any GCC internal prototype to avoid an error.
15045 Use char because int might match the return type of a GCC
15046 builtin and then its argument prototype would still apply. */
15047 #ifdef __cplusplus
15048 extern "C"
15049 #endif
15050 char procstat_open_sysctl ();
15052 main ()
15054 return procstat_open_sysctl ();
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_lib_procstat_procstat_open_sysctl=yes
15061 else
15062 ac_cv_lib_procstat_procstat_open_sysctl=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_lib_save_LIBS
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15069 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15070 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15072 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15074 PROCSTAT_LIBS="-lprocstat"
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15081 $as_echo_n "checking for -lodbc... " >&6; }
15082 if ${ac_cv_lib_soname_odbc+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 ac_check_soname_save_LIBS=$LIBS
15086 LIBS="-lodbc $LIBS"
15087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15093 #ifdef __cplusplus
15094 extern "C"
15095 #endif
15096 char SQLConnect ();
15098 main ()
15100 return SQLConnect ();
15102 return 0;
15104 _ACEOF
15105 if ac_fn_c_try_link "$LINENO"; then :
15106 case "$LIBEXT" in
15107 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15108 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'` ;;
15109 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15110 if ${ac_cv_lib_soname_odbc:+false} :; then :
15111 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15112 fi ;;
15113 esac
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 LIBS=$ac_check_soname_save_LIBS
15119 if ${ac_cv_lib_soname_odbc:+false} :; then :
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15121 $as_echo "not found" >&6; }
15122 cat >>confdefs.h <<_ACEOF
15123 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15124 _ACEOF
15126 else
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15128 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15130 cat >>confdefs.h <<_ACEOF
15131 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15132 _ACEOF
15137 if test "x$with_netapi" != "xno"
15138 then
15139 if ${NETAPI_CFLAGS:+false} :; then :
15140 if ${PKG_CONFIG+:} false; then :
15141 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15145 if ${NETAPI_LIBS:+false} :; then :
15146 if ${PKG_CONFIG+:} false; then :
15147 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15152 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15153 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15154 ac_save_CPPFLAGS=$CPPFLAGS
15155 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15157 $as_echo_n "checking for -lnetapi... " >&6; }
15158 if ${ac_cv_lib_soname_netapi+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 ac_check_soname_save_LIBS=$LIBS
15162 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 #ifdef __cplusplus
15170 extern "C"
15171 #endif
15172 char libnetapi_init ();
15174 main ()
15176 return libnetapi_init ();
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 case "$LIBEXT" in
15183 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15184 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'` ;;
15185 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15186 if ${ac_cv_lib_soname_netapi:+false} :; then :
15187 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15188 fi ;;
15189 esac
15191 rm -f core conftest.err conftest.$ac_objext \
15192 conftest$ac_exeext conftest.$ac_ext
15193 LIBS=$ac_check_soname_save_LIBS
15195 if ${ac_cv_lib_soname_netapi:+false} :; then :
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15197 $as_echo "not found" >&6; }
15198 cat >>confdefs.h <<_ACEOF
15199 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15200 _ACEOF
15202 else
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15204 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15206 cat >>confdefs.h <<_ACEOF
15207 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15208 _ACEOF
15212 CPPFLAGS=$ac_save_CPPFLAGS
15213 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15214 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15218 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15219 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15220 then
15221 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15224 if test "x$with_vulkan" != "xno"
15225 then
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15227 $as_echo_n "checking for -lvulkan... " >&6; }
15228 if ${ac_cv_lib_soname_vulkan+:} false; then :
15229 $as_echo_n "(cached) " >&6
15230 else
15231 ac_check_soname_save_LIBS=$LIBS
15232 LIBS="-lvulkan $LIBS"
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 #ifdef __cplusplus
15240 extern "C"
15241 #endif
15242 char vkGetInstanceProcAddr ();
15244 main ()
15246 return vkGetInstanceProcAddr ();
15248 return 0;
15250 _ACEOF
15251 if ac_fn_c_try_link "$LINENO"; then :
15252 case "$LIBEXT" in
15253 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15254 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'` ;;
15255 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15256 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15257 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 fi ;;
15259 esac
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15263 LIBS=$ac_check_soname_save_LIBS
15265 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15267 $as_echo "not found" >&6; }
15269 else
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15271 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15273 cat >>confdefs.h <<_ACEOF
15274 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15275 _ACEOF
15279 if test "x$ac_cv_lib_soname_vulkan" = "x"
15280 then
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15282 $as_echo_n "checking for -lMoltenVK... " >&6; }
15283 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15284 $as_echo_n "(cached) " >&6
15285 else
15286 ac_check_soname_save_LIBS=$LIBS
15287 LIBS="-lMoltenVK $LIBS"
15288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15291 /* Override any GCC internal prototype to avoid an error.
15292 Use char because int might match the return type of a GCC
15293 builtin and then its argument prototype would still apply. */
15294 #ifdef __cplusplus
15295 extern "C"
15296 #endif
15297 char vkGetInstanceProcAddr ();
15299 main ()
15301 return vkGetInstanceProcAddr ();
15303 return 0;
15305 _ACEOF
15306 if ac_fn_c_try_link "$LINENO"; then :
15307 case "$LIBEXT" in
15308 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15309 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'` ;;
15310 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15311 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15312 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15313 fi ;;
15314 esac
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15318 LIBS=$ac_check_soname_save_LIBS
15320 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15322 $as_echo "not found" >&6; }
15324 else
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15326 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15328 cat >>confdefs.h <<_ACEOF
15329 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15330 _ACEOF
15336 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15337 case "x$with_vulkan" in
15338 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15339 xno) ;;
15340 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15341 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15342 esac
15346 if test "x$with_vkd3d" != "xno"
15347 then
15348 if ${VKD3D_CFLAGS:+false} :; then :
15349 if ${PKG_CONFIG+:} false; then :
15350 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15354 if ${VKD3D_LIBS:+false} :; then :
15355 if ${PKG_CONFIG+:} false; then :
15356 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15361 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15362 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15363 ac_save_CPPFLAGS=$CPPFLAGS
15364 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15366 $as_echo_n "checking for -lvkd3d... " >&6; }
15367 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15368 $as_echo_n "(cached) " >&6
15369 else
15370 ac_check_soname_save_LIBS=$LIBS
15371 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15375 /* Override any GCC internal prototype to avoid an error.
15376 Use char because int might match the return type of a GCC
15377 builtin and then its argument prototype would still apply. */
15378 #ifdef __cplusplus
15379 extern "C"
15380 #endif
15381 char vkd3d_create_device ();
15383 main ()
15385 return vkd3d_create_device ();
15387 return 0;
15389 _ACEOF
15390 if ac_fn_c_try_link "$LINENO"; then :
15391 case "$LIBEXT" in
15392 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15393 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'` ;;
15394 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15395 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15396 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15397 fi ;;
15398 esac
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15406 $as_echo "not found" >&6; }
15408 else
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15410 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15412 cat >>confdefs.h <<_ACEOF
15413 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15414 _ACEOF
15418 CPPFLAGS=$ac_save_CPPFLAGS
15419 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15420 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15423 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15424 case "x$with_vkd3d" in
15425 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15426 xno) ;;
15427 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15428 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15429 esac
15432 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15435 EXTRACFLAGS=""
15437 if test "x${GCC}" = "xyes"
15438 then
15439 EXTRACFLAGS="-Wall -pipe"
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15442 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15443 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15444 $as_echo_n "(cached) " >&6
15445 else
15446 if test "$cross_compiling" = yes; then :
15447 ac_cv_c_gcc_strength_bug="no"
15448 else
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 int L[4] = {0,1,2,3};
15453 main ()
15455 static int Array[3];
15456 unsigned int B = 3;
15457 int i;
15458 for(i=0; i<B; i++) Array[i] = i - 3;
15459 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15460 L[i] = 4;
15461 return (Array[1] != -2 || L[2] != 3)
15463 return 0;
15465 _ACEOF
15466 if ac_fn_c_try_run "$LINENO"; then :
15467 ac_cv_c_gcc_strength_bug="no"
15468 else
15469 ac_cv_c_gcc_strength_bug="yes"
15471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15472 conftest.$ac_objext conftest.beam conftest.$ac_ext
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15477 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15478 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15479 then
15480 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15484 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15485 if ${ac_cv_cflags__fno_builtin+:} false; then :
15486 $as_echo_n "(cached) " >&6
15487 else
15488 ac_wine_try_cflags_saved=$CFLAGS
15489 CFLAGS="$CFLAGS -fno-builtin"
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15492 int main(int argc, char **argv) { return 0; }
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"; then :
15495 ac_cv_cflags__fno_builtin=yes
15496 else
15497 ac_cv_cflags__fno_builtin=no
15499 rm -f core conftest.err conftest.$ac_objext \
15500 conftest$ac_exeext conftest.$ac_ext
15501 CFLAGS=$ac_wine_try_cflags_saved
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15504 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15505 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15506 BUILTINFLAG="-fno-builtin"
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15510 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15511 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15512 $as_echo_n "(cached) " >&6
15513 else
15514 ac_wine_try_cflags_saved=$CFLAGS
15515 CFLAGS="$CFLAGS -fno-strict-aliasing"
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15518 int main(int argc, char **argv) { return 0; }
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 ac_cv_cflags__fno_strict_aliasing=yes
15522 else
15523 ac_cv_cflags__fno_strict_aliasing=no
15525 rm -f core conftest.err conftest.$ac_objext \
15526 conftest$ac_exeext conftest.$ac_ext
15527 CFLAGS=$ac_wine_try_cflags_saved
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15530 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15531 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15532 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15535 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15536 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15537 $as_echo_n "(cached) " >&6
15538 else
15539 ac_wine_try_cflags_saved=$CFLAGS
15540 CFLAGS="$CFLAGS -fexcess-precision=standard"
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15543 int main(int argc, char **argv) { return 0; }
15544 _ACEOF
15545 if ac_fn_c_try_link "$LINENO"; then :
15546 ac_cv_cflags__fexcess_precision_standard=yes
15547 else
15548 ac_cv_cflags__fexcess_precision_standard=no
15550 rm -f core conftest.err conftest.$ac_objext \
15551 conftest$ac_exeext conftest.$ac_ext
15552 CFLAGS=$ac_wine_try_cflags_saved
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15555 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15556 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15557 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15560 saved_CFLAGS=$CFLAGS
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15562 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15563 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 ac_wine_try_cflags_saved=$CFLAGS
15567 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15570 int main(int argc, char **argv) { return 0; }
15571 _ACEOF
15572 if ac_fn_c_try_link "$LINENO"; then :
15573 ac_cv_cflags__Werror_unknown_warning_option=yes
15574 else
15575 ac_cv_cflags__Werror_unknown_warning_option=no
15577 rm -f core conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext conftest.$ac_ext
15579 CFLAGS=$ac_wine_try_cflags_saved
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15582 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15583 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15584 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15587 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15588 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 ac_wine_try_cflags_saved=$CFLAGS
15592 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15595 int main(int argc, char **argv) { return 0; }
15596 _ACEOF
15597 if ac_fn_c_try_link "$LINENO"; then :
15598 ac_cv_cflags__Wdeclaration_after_statement=yes
15599 else
15600 ac_cv_cflags__Wdeclaration_after_statement=no
15602 rm -f core conftest.err conftest.$ac_objext \
15603 conftest$ac_exeext conftest.$ac_ext
15604 CFLAGS=$ac_wine_try_cflags_saved
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15607 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15608 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15609 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15612 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15613 if ${ac_cv_cflags__Wempty_body+:} false; then :
15614 $as_echo_n "(cached) " >&6
15615 else
15616 ac_wine_try_cflags_saved=$CFLAGS
15617 CFLAGS="$CFLAGS -Wempty-body"
15618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15620 int main(int argc, char **argv) { return 0; }
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"; then :
15623 ac_cv_cflags__Wempty_body=yes
15624 else
15625 ac_cv_cflags__Wempty_body=no
15627 rm -f core conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15629 CFLAGS=$ac_wine_try_cflags_saved
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15632 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15633 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15634 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15637 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15638 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 ac_wine_try_cflags_saved=$CFLAGS
15642 CFLAGS="$CFLAGS -Wignored-qualifiers"
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15645 int main(int argc, char **argv) { return 0; }
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"; then :
15648 ac_cv_cflags__Wignored_qualifiers=yes
15649 else
15650 ac_cv_cflags__Wignored_qualifiers=no
15652 rm -f core conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15654 CFLAGS=$ac_wine_try_cflags_saved
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15657 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15658 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15659 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15662 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15663 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 ac_wine_try_cflags_saved=$CFLAGS
15667 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15670 int main(int argc, char **argv) { return 0; }
15671 _ACEOF
15672 if ac_fn_c_try_link "$LINENO"; then :
15673 ac_cv_cflags__Wpacked_not_aligned=yes
15674 else
15675 ac_cv_cflags__Wpacked_not_aligned=no
15677 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext conftest.$ac_ext
15679 CFLAGS=$ac_wine_try_cflags_saved
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15682 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15683 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15684 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15687 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15688 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 ac_wine_try_cflags_saved=$CFLAGS
15692 CFLAGS="$CFLAGS -Wpragma-pack"
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15695 int main(int argc, char **argv) { return 0; }
15696 _ACEOF
15697 if ac_fn_c_try_link "$LINENO"; then :
15698 ac_cv_cflags__Wpragma_pack=yes
15699 else
15700 ac_cv_cflags__Wpragma_pack=no
15702 rm -f core conftest.err conftest.$ac_objext \
15703 conftest$ac_exeext conftest.$ac_ext
15704 CFLAGS=$ac_wine_try_cflags_saved
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15707 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15708 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15709 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15712 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15713 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15714 $as_echo_n "(cached) " >&6
15715 else
15716 ac_wine_try_cflags_saved=$CFLAGS
15717 CFLAGS="$CFLAGS -Wshift-overflow=2"
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15720 int main(int argc, char **argv) { return 0; }
15721 _ACEOF
15722 if ac_fn_c_try_link "$LINENO"; then :
15723 ac_cv_cflags__Wshift_overflow_2=yes
15724 else
15725 ac_cv_cflags__Wshift_overflow_2=no
15727 rm -f core conftest.err conftest.$ac_objext \
15728 conftest$ac_exeext conftest.$ac_ext
15729 CFLAGS=$ac_wine_try_cflags_saved
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15732 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15733 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15734 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15737 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15738 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15739 $as_echo_n "(cached) " >&6
15740 else
15741 ac_wine_try_cflags_saved=$CFLAGS
15742 CFLAGS="$CFLAGS -Wstrict-prototypes"
15743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15744 /* end confdefs.h. */
15745 int main(int argc, char **argv) { return 0; }
15746 _ACEOF
15747 if ac_fn_c_try_link "$LINENO"; then :
15748 ac_cv_cflags__Wstrict_prototypes=yes
15749 else
15750 ac_cv_cflags__Wstrict_prototypes=no
15752 rm -f core conftest.err conftest.$ac_objext \
15753 conftest$ac_exeext conftest.$ac_ext
15754 CFLAGS=$ac_wine_try_cflags_saved
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15757 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15758 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15759 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15762 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15763 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15764 $as_echo_n "(cached) " >&6
15765 else
15766 ac_wine_try_cflags_saved=$CFLAGS
15767 CFLAGS="$CFLAGS -Wtype-limits"
15768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15770 int main(int argc, char **argv) { return 0; }
15771 _ACEOF
15772 if ac_fn_c_try_link "$LINENO"; then :
15773 ac_cv_cflags__Wtype_limits=yes
15774 else
15775 ac_cv_cflags__Wtype_limits=no
15777 rm -f core conftest.err conftest.$ac_objext \
15778 conftest$ac_exeext conftest.$ac_ext
15779 CFLAGS=$ac_wine_try_cflags_saved
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15782 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15783 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15784 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15787 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15788 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15789 $as_echo_n "(cached) " >&6
15790 else
15791 ac_wine_try_cflags_saved=$CFLAGS
15792 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15795 int main(int argc, char **argv) { return 0; }
15796 _ACEOF
15797 if ac_fn_c_try_link "$LINENO"; then :
15798 ac_cv_cflags__Wunused_but_set_parameter=yes
15799 else
15800 ac_cv_cflags__Wunused_but_set_parameter=no
15802 rm -f core conftest.err conftest.$ac_objext \
15803 conftest$ac_exeext conftest.$ac_ext
15804 CFLAGS=$ac_wine_try_cflags_saved
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15807 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15808 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15809 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15812 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15813 if ${ac_cv_cflags__Wvla+:} false; then :
15814 $as_echo_n "(cached) " >&6
15815 else
15816 ac_wine_try_cflags_saved=$CFLAGS
15817 CFLAGS="$CFLAGS -Wvla"
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15820 int main(int argc, char **argv) { return 0; }
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"; then :
15823 ac_cv_cflags__Wvla=yes
15824 else
15825 ac_cv_cflags__Wvla=no
15827 rm -f core conftest.err conftest.$ac_objext \
15828 conftest$ac_exeext conftest.$ac_ext
15829 CFLAGS=$ac_wine_try_cflags_saved
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15832 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15833 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15834 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15837 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15838 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15839 $as_echo_n "(cached) " >&6
15840 else
15841 ac_wine_try_cflags_saved=$CFLAGS
15842 CFLAGS="$CFLAGS -Wwrite-strings"
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h. */
15845 int main(int argc, char **argv) { return 0; }
15846 _ACEOF
15847 if ac_fn_c_try_link "$LINENO"; then :
15848 ac_cv_cflags__Wwrite_strings=yes
15849 else
15850 ac_cv_cflags__Wwrite_strings=no
15852 rm -f core conftest.err conftest.$ac_objext \
15853 conftest$ac_exeext conftest.$ac_ext
15854 CFLAGS=$ac_wine_try_cflags_saved
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15857 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15858 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15859 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15863 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15864 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15865 $as_echo_n "(cached) " >&6
15866 else
15867 ac_wine_try_cflags_saved=$CFLAGS
15868 CFLAGS="$CFLAGS -Wpointer-arith"
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 int main(int argc, char **argv) { return 0; }
15872 _ACEOF
15873 if ac_fn_c_try_link "$LINENO"; then :
15874 ac_cv_cflags__Wpointer_arith=yes
15875 else
15876 ac_cv_cflags__Wpointer_arith=no
15878 rm -f core conftest.err conftest.$ac_objext \
15879 conftest$ac_exeext conftest.$ac_ext
15880 CFLAGS=$ac_wine_try_cflags_saved
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15883 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15884 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15885 saved_string_h_CFLAGS=$CFLAGS
15886 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15888 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15889 if ${ac_cv_c_string_h_warnings+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #include <string.h>
15896 main ()
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904 ac_cv_c_string_h_warnings=no
15905 else
15906 ac_cv_c_string_h_warnings=yes
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15911 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15912 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15913 CFLAGS=$saved_string_h_CFLAGS
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15917 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15918 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15919 $as_echo_n "(cached) " >&6
15920 else
15921 ac_wine_try_cflags_saved=$CFLAGS
15922 CFLAGS="$CFLAGS -Wlogical-op"
15923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h. */
15925 int main(int argc, char **argv) { return 0; }
15926 _ACEOF
15927 if ac_fn_c_try_link "$LINENO"; then :
15928 ac_cv_cflags__Wlogical_op=yes
15929 else
15930 ac_cv_cflags__Wlogical_op=no
15932 rm -f core conftest.err conftest.$ac_objext \
15933 conftest$ac_exeext conftest.$ac_ext
15934 CFLAGS=$ac_wine_try_cflags_saved
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15937 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15938 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15939 saved_string_h_CFLAGS=$CFLAGS
15940 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15942 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15943 if ${ac_cv_c_logicalop_noisy+:} false; then :
15944 $as_echo_n "(cached) " >&6
15945 else
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15948 #include <string.h>
15949 char*f(const char *h,char n) {return strchr(h,n);}
15951 main ()
15955 return 0;
15957 _ACEOF
15958 if ac_fn_c_try_compile "$LINENO"; then :
15959 ac_cv_c_logicalop_noisy=no
15960 else
15961 ac_cv_c_logicalop_noisy=yes
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15966 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15967 CFLAGS=$saved_string_h_CFLAGS
15968 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15971 CFLAGS=$saved_CFLAGS
15973 for ac_flag in $CFLAGS; do
15974 case $ac_flag in
15975 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15976 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15977 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15978 $as_echo_n "(cached) " >&6
15979 else
15980 ac_wine_try_cflags_saved=$CFLAGS
15981 CFLAGS="$CFLAGS -gdwarf-2"
15982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15984 int main(int argc, char **argv) { return 0; }
15985 _ACEOF
15986 if ac_fn_c_try_link "$LINENO"; then :
15987 ac_cv_cflags__gdwarf_2=yes
15988 else
15989 ac_cv_cflags__gdwarf_2=no
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext conftest.$ac_ext
15993 CFLAGS=$ac_wine_try_cflags_saved
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15996 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15997 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15998 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16001 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16002 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16003 $as_echo_n "(cached) " >&6
16004 else
16005 ac_wine_try_cflags_saved=$CFLAGS
16006 CFLAGS="$CFLAGS -gstrict-dwarf"
16007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16009 int main(int argc, char **argv) { return 0; }
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_cflags__gstrict_dwarf=yes
16013 else
16014 ac_cv_cflags__gstrict_dwarf=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16018 CFLAGS=$ac_wine_try_cflags_saved
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16021 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16022 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16023 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16024 fi ;;
16025 esac
16026 done
16028 case $host_cpu in
16029 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16030 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16031 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16032 $as_echo_n "(cached) " >&6
16033 else
16034 ac_wine_try_cflags_saved=$CFLAGS
16035 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16038 int main(int argc, char **argv) { return 0; }
16039 _ACEOF
16040 if ac_fn_c_try_link "$LINENO"; then :
16041 ac_cv_cflags__fno_omit_frame_pointer=yes
16042 else
16043 ac_cv_cflags__fno_omit_frame_pointer=no
16045 rm -f core conftest.err conftest.$ac_objext \
16046 conftest$ac_exeext conftest.$ac_ext
16047 CFLAGS=$ac_wine_try_cflags_saved
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16050 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16051 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16052 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16053 fi ;;
16054 esac
16056 case $host in
16057 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16058 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16059 if ${ac_cv_cflags__Wno_format+:} false; then :
16060 $as_echo_n "(cached) " >&6
16061 else
16062 ac_wine_try_cflags_saved=$CFLAGS
16063 CFLAGS="$CFLAGS -Wno-format"
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16066 int main(int argc, char **argv) { return 0; }
16067 _ACEOF
16068 if ac_fn_c_try_link "$LINENO"; then :
16069 ac_cv_cflags__Wno_format=yes
16070 else
16071 ac_cv_cflags__Wno_format=no
16073 rm -f core conftest.err conftest.$ac_objext \
16074 conftest$ac_exeext conftest.$ac_ext
16075 CFLAGS=$ac_wine_try_cflags_saved
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16078 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16079 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16080 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16081 fi ;;
16082 esac
16084 if test "x$enable_maintainer_mode" = "xyes"
16085 then
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16087 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16088 if ${ac_cv_cflags__Werror+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_wine_try_cflags_saved=$CFLAGS
16092 CFLAGS="$CFLAGS -Werror"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16095 int main(int argc, char **argv) { return 0; }
16096 _ACEOF
16097 if ac_fn_c_try_link "$LINENO"; then :
16098 ac_cv_cflags__Werror=yes
16099 else
16100 ac_cv_cflags__Werror=no
16102 rm -f core conftest.err conftest.$ac_objext \
16103 conftest$ac_exeext conftest.$ac_ext
16104 CFLAGS=$ac_wine_try_cflags_saved
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16107 $as_echo "$ac_cv_cflags__Werror" >&6; }
16108 if test "x$ac_cv_cflags__Werror" = xyes; then :
16109 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16113 saved_CFLAGS="$CFLAGS"
16114 CFLAGS="$CFLAGS -Werror"
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16116 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16117 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16124 main ()
16128 return 0;
16130 _ACEOF
16131 if ac_fn_c_try_compile "$LINENO"; then :
16132 ac_cv_have_ms_hook_prologue="yes"
16133 else
16134 ac_cv_have_ms_hook_prologue="no"
16136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16139 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16140 CFLAGS="$saved_CFLAGS"
16141 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16142 then
16144 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16146 else
16147 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16154 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16155 if ${ac_cv_c_fortify_enabled+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <string.h>
16162 main ()
16164 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16165 #error Fortify enabled
16166 #endif
16168 return 0;
16170 _ACEOF
16171 if ac_fn_c_try_compile "$LINENO"; then :
16172 ac_cv_c_fortify_enabled=no
16173 else
16174 ac_cv_c_fortify_enabled=yes
16176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16179 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16180 if test "$ac_cv_c_fortify_enabled" = yes
16181 then
16182 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16187 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16188 if ${ac_cv_c_extern_prefix+:} false; then :
16189 $as_echo_n "(cached) " >&6
16190 else
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16193 extern int ac_test;
16195 main ()
16197 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16199 return 0;
16201 _ACEOF
16202 if ac_fn_c_try_link "$LINENO"; then :
16203 ac_cv_c_extern_prefix="yes"
16204 else
16205 ac_cv_c_extern_prefix="no"
16207 rm -f core conftest.err conftest.$ac_objext \
16208 conftest$ac_exeext conftest.$ac_ext
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16211 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16213 case $host_cpu in
16214 *i[3456789]86*)
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16216 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16217 if ${ac_cv_c_stdcall_suffix+:} false; then :
16218 $as_echo_n "(cached) " >&6
16219 else
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16222 #ifndef _MSC_VER
16223 #define __stdcall __attribute__((__stdcall__))
16224 #endif
16225 int __stdcall ac_test(int i) { return i; }
16227 main ()
16229 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 ac_cv_c_stdcall_suffix="yes"
16236 else
16237 ac_cv_c_stdcall_suffix="no"
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16243 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16244 *) ac_cv_c_stdcall_suffix="no" ;;
16245 esac
16248 if test "$ac_cv_c_extern_prefix" = "yes"
16249 then
16250 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16252 asm_name_prefix="_"
16253 else
16254 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16256 asm_name_prefix=""
16260 if test "$ac_cv_c_stdcall_suffix" = "yes"
16261 then
16262 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16264 else
16265 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16271 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16272 if ${ac_cv_asm_func_def+:} false; then :
16273 $as_echo_n "(cached) " >&6
16274 else
16275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16279 main ()
16281 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16283 return 0;
16285 _ACEOF
16286 if ac_fn_c_try_link "$LINENO"; then :
16287 ac_cv_asm_func_def=".def"
16288 else
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16293 main ()
16295 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"; then :
16301 ac_cv_asm_func_def=".type @function"
16302 else
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16307 main ()
16309 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16311 return 0;
16313 _ACEOF
16314 if ac_fn_c_try_link "$LINENO"; then :
16315 ac_cv_asm_func_def=".type 2"
16316 else
16317 ac_cv_asm_func_def="unknown"
16319 rm -f core conftest.err conftest.$ac_objext \
16320 conftest$ac_exeext conftest.$ac_ext
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16329 $as_echo "$ac_cv_asm_func_def" >&6; }
16332 case "$ac_cv_asm_func_def" in
16333 ".def")
16334 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16336 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16337 ".type @function")
16338 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16340 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16341 ".type 2")
16342 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16344 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16346 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16348 asm_func_header="" ;;
16349 esac
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16352 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16353 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16354 $as_echo_n "(cached) " >&6
16355 else
16356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16358 asm(".text\n\t.long 0");
16360 main ()
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_compile "$LINENO"; then :
16368 ac_cv_c_asm_outside_funcs="yes"
16369 else
16370 ac_cv_c_asm_outside_funcs="no"
16372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16375 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16378 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16379 if ${ac_cv_c_dot_previous+:} false; then :
16380 $as_echo_n "(cached) " >&6
16381 else
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16386 main ()
16388 asm(".text\nac_test:\t.long 0\n\t.previous");
16390 return 0;
16392 _ACEOF
16393 if ac_fn_c_try_link "$LINENO"; then :
16394 ac_cv_c_dot_previous="yes"
16395 else
16396 ac_cv_c_dot_previous="no"
16398 rm -f core conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16402 $as_echo "$ac_cv_c_dot_previous" >&6; }
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16405 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16406 if ${ac_cv_c_cfi_support+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16413 main ()
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_compile "$LINENO"; then :
16421 ac_cv_c_cfi_support="yes"
16422 else
16423 ac_cv_c_cfi_support="no"
16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16428 $as_echo "$ac_cv_c_cfi_support" >&6; }
16430 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16431 asm_func_trailer=""
16432 if test "$ac_cv_c_dot_previous" = "yes"
16433 then
16434 asm_func_trailer="\\n\\t.previous"
16436 if test "$ac_cv_c_cfi_support" = "yes"
16437 then
16438 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16439 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16441 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16443 UNWINDFLAGS=-fasynchronous-unwind-tables
16445 else
16446 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16448 if test "x$enable_win64" = "xyes"
16449 then
16450 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16454 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16457 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16458 then
16459 cat >>confdefs.h <<_ACEOF
16460 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16461 _ACEOF
16463 else
16464 cat >>confdefs.h <<_ACEOF
16465 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16466 _ACEOF
16470 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16473 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16477 case $build_os in
16478 cygwin*|mingw32*) TOOLSEXT=".exe"
16480 esac
16482 case $host_os in
16483 linux*)
16484 case $host_cpu in
16485 *i[3456789]86*|x86_64*|*aarch64*)
16486 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16487 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16489 esac
16491 esac
16494 ac_save_CFLAGS="$CFLAGS"
16495 CFLAGS="$CFLAGS $BUILTINFLAG"
16496 for ac_func in \
16497 __res_get_state \
16498 __res_getservers \
16499 _finite \
16500 _isnan \
16501 _pclose \
16502 _popen \
16503 _snprintf \
16504 _spawnvp \
16505 _strdup \
16506 _stricmp \
16507 _strnicmp \
16508 _strtoi64 \
16509 _strtoui64 \
16510 _vsnprintf \
16511 asctime_r \
16512 chsize \
16513 dlopen \
16514 epoll_create \
16515 ffs \
16516 finitef \
16517 fnmatch \
16518 fork \
16519 fpclass \
16520 fstatfs \
16521 fstatvfs \
16522 ftruncate \
16523 futimens \
16524 futimes \
16525 futimesat \
16526 getattrlist \
16527 getauxval \
16528 getifaddrs \
16529 getopt_long_only \
16530 getpwuid \
16531 gettimeofday \
16532 getuid \
16533 isnanf \
16534 kqueue \
16535 lstat \
16536 memmove \
16537 mmap \
16538 pclose \
16539 pipe2 \
16540 poll \
16541 popen \
16542 port_create \
16543 prctl \
16544 pread \
16545 proc_pidinfo \
16546 pwrite \
16547 readdir \
16548 readlink \
16549 sched_yield \
16550 select \
16551 setproctitle \
16552 setprogname \
16553 setrlimit \
16554 settimeofday \
16555 sigaltstack \
16556 sigprocmask \
16557 snprintf \
16558 statfs \
16559 statvfs \
16560 strcasecmp \
16561 strdup \
16562 strerror \
16563 strncasecmp \
16564 strnlen \
16565 strtold \
16566 strtoll \
16567 strtoull \
16568 symlink \
16569 sysinfo \
16570 tcdrain \
16571 thr_kill2 \
16572 timegm \
16573 usleep \
16574 vsnprintf
16576 do :
16577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16582 _ACEOF
16585 done
16587 CFLAGS="$ac_save_CFLAGS"
16589 if test "$ac_cv_func_dlopen" = no
16590 then
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16592 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16593 if ${ac_cv_lib_dl_dlopen+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 ac_check_lib_save_LIBS=$LIBS
16597 LIBS="-ldl $LIBS"
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16601 /* Override any GCC internal prototype to avoid an error.
16602 Use char because int might match the return type of a GCC
16603 builtin and then its argument prototype would still apply. */
16604 #ifdef __cplusplus
16605 extern "C"
16606 #endif
16607 char dlopen ();
16609 main ()
16611 return dlopen ();
16613 return 0;
16615 _ACEOF
16616 if ac_fn_c_try_link "$LINENO"; then :
16617 ac_cv_lib_dl_dlopen=yes
16618 else
16619 ac_cv_lib_dl_dlopen=no
16621 rm -f core conftest.err conftest.$ac_objext \
16622 conftest$ac_exeext conftest.$ac_ext
16623 LIBS=$ac_check_lib_save_LIBS
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16626 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16627 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16628 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16629 DL_LIBS="-ldl"
16634 ac_wine_check_funcs_save_LIBS="$LIBS"
16635 LIBS="$LIBS $DL_LIBS"
16636 for ac_func in dladdr
16637 do :
16638 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16639 if test "x$ac_cv_func_dladdr" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_DLADDR 1
16642 _ACEOF
16645 done
16647 LIBS="$ac_wine_check_funcs_save_LIBS"
16649 if test "$ac_cv_func_poll" = no
16650 then
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16652 $as_echo_n "checking for poll in -lpoll... " >&6; }
16653 if ${ac_cv_lib_poll_poll+:} false; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16656 ac_check_lib_save_LIBS=$LIBS
16657 LIBS="-lpoll $LIBS"
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16661 /* Override any GCC internal prototype to avoid an error.
16662 Use char because int might match the return type of a GCC
16663 builtin and then its argument prototype would still apply. */
16664 #ifdef __cplusplus
16665 extern "C"
16666 #endif
16667 char poll ();
16669 main ()
16671 return poll ();
16673 return 0;
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"; then :
16677 ac_cv_lib_poll_poll=yes
16678 else
16679 ac_cv_lib_poll_poll=no
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 LIBS=$ac_check_lib_save_LIBS
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16686 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16687 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16688 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16689 POLL_LIBS="-lpoll"
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16696 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16697 if ${ac_cv_search_gethostbyname+:} false; then :
16698 $as_echo_n "(cached) " >&6
16699 else
16700 ac_func_search_save_LIBS=$LIBS
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16704 /* Override any GCC internal prototype to avoid an error.
16705 Use char because int might match the return type of a GCC
16706 builtin and then its argument prototype would still apply. */
16707 #ifdef __cplusplus
16708 extern "C"
16709 #endif
16710 char gethostbyname ();
16712 main ()
16714 return gethostbyname ();
16716 return 0;
16718 _ACEOF
16719 for ac_lib in '' nsl; do
16720 if test -z "$ac_lib"; then
16721 ac_res="none required"
16722 else
16723 ac_res=-l$ac_lib
16724 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16726 if ac_fn_c_try_link "$LINENO"; then :
16727 ac_cv_search_gethostbyname=$ac_res
16729 rm -f core conftest.err conftest.$ac_objext \
16730 conftest$ac_exeext
16731 if ${ac_cv_search_gethostbyname+:} false; then :
16732 break
16734 done
16735 if ${ac_cv_search_gethostbyname+:} false; then :
16737 else
16738 ac_cv_search_gethostbyname=no
16740 rm conftest.$ac_ext
16741 LIBS=$ac_func_search_save_LIBS
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16744 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16745 ac_res=$ac_cv_search_gethostbyname
16746 if test "$ac_res" != no; then :
16747 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16753 $as_echo_n "checking for library containing connect... " >&6; }
16754 if ${ac_cv_search_connect+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_func_search_save_LIBS=$LIBS
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16761 /* Override any GCC internal prototype to avoid an error.
16762 Use char because int might match the return type of a GCC
16763 builtin and then its argument prototype would still apply. */
16764 #ifdef __cplusplus
16765 extern "C"
16766 #endif
16767 char connect ();
16769 main ()
16771 return connect ();
16773 return 0;
16775 _ACEOF
16776 for ac_lib in '' socket; do
16777 if test -z "$ac_lib"; then
16778 ac_res="none required"
16779 else
16780 ac_res=-l$ac_lib
16781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16783 if ac_fn_c_try_link "$LINENO"; then :
16784 ac_cv_search_connect=$ac_res
16786 rm -f core conftest.err conftest.$ac_objext \
16787 conftest$ac_exeext
16788 if ${ac_cv_search_connect+:} false; then :
16789 break
16791 done
16792 if ${ac_cv_search_connect+:} false; then :
16794 else
16795 ac_cv_search_connect=no
16797 rm conftest.$ac_ext
16798 LIBS=$ac_func_search_save_LIBS
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16801 $as_echo "$ac_cv_search_connect" >&6; }
16802 ac_res=$ac_cv_search_connect
16803 if test "$ac_res" != no; then :
16804 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16810 $as_echo_n "checking for library containing inet_aton... " >&6; }
16811 if ${ac_cv_search_inet_aton+:} false; then :
16812 $as_echo_n "(cached) " >&6
16813 else
16814 ac_func_search_save_LIBS=$LIBS
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 #ifdef __cplusplus
16822 extern "C"
16823 #endif
16824 char inet_aton ();
16826 main ()
16828 return inet_aton ();
16830 return 0;
16832 _ACEOF
16833 for ac_lib in '' resolv; do
16834 if test -z "$ac_lib"; then
16835 ac_res="none required"
16836 else
16837 ac_res=-l$ac_lib
16838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16840 if ac_fn_c_try_link "$LINENO"; then :
16841 ac_cv_search_inet_aton=$ac_res
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext
16845 if ${ac_cv_search_inet_aton+:} false; then :
16846 break
16848 done
16849 if ${ac_cv_search_inet_aton+:} false; then :
16851 else
16852 ac_cv_search_inet_aton=no
16854 rm conftest.$ac_ext
16855 LIBS=$ac_func_search_save_LIBS
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16858 $as_echo "$ac_cv_search_inet_aton" >&6; }
16859 ac_res=$ac_cv_search_inet_aton
16860 if test "$ac_res" != no; then :
16861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16866 for ac_func in \
16867 getaddrinfo \
16868 getnameinfo \
16869 getnetbyname \
16870 getprotobyname \
16871 getprotobynumber \
16872 getservbyport \
16873 inet_addr \
16874 inet_network \
16875 inet_ntop \
16876 inet_pton \
16877 sendmsg \
16878 socketpair \
16880 do :
16881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16883 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16886 _ACEOF
16889 done
16892 ac_save_LIBS=$LIBS
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16894 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16895 if ${ac_cv_search_clock_gettime+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 ac_func_search_save_LIBS=$LIBS
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16902 /* Override any GCC internal prototype to avoid an error.
16903 Use char because int might match the return type of a GCC
16904 builtin and then its argument prototype would still apply. */
16905 #ifdef __cplusplus
16906 extern "C"
16907 #endif
16908 char clock_gettime ();
16910 main ()
16912 return clock_gettime ();
16914 return 0;
16916 _ACEOF
16917 for ac_lib in '' rt; do
16918 if test -z "$ac_lib"; then
16919 ac_res="none required"
16920 else
16921 ac_res=-l$ac_lib
16922 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16924 if ac_fn_c_try_link "$LINENO"; then :
16925 ac_cv_search_clock_gettime=$ac_res
16927 rm -f core conftest.err conftest.$ac_objext \
16928 conftest$ac_exeext
16929 if ${ac_cv_search_clock_gettime+:} false; then :
16930 break
16932 done
16933 if ${ac_cv_search_clock_gettime+:} false; then :
16935 else
16936 ac_cv_search_clock_gettime=no
16938 rm conftest.$ac_ext
16939 LIBS=$ac_func_search_save_LIBS
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16942 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16943 ac_res=$ac_cv_search_clock_gettime
16944 if test "$ac_res" != no; then :
16945 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16947 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16949 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16953 LIBS=$ac_save_LIBS
16955 if test "x$with_ldap" != "xno"
16956 then
16957 if ${LDAP_CFLAGS:+false} :; then :
16958 if ${PKG_CONFIG+:} false; then :
16959 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16963 if ${LDAP_LIBS:+false} :; then :
16964 if ${PKG_CONFIG+:} false; then :
16965 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16969 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16970 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16971 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16972 ac_save_CPPFLAGS=$CPPFLAGS
16973 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16974 for ac_header in ldap.h lber.h
16975 do :
16976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16977 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16978 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16981 _ACEOF
16985 done
16987 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16988 then
16989 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16991 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16993 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16994 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16995 $as_echo_n "(cached) " >&6
16996 else
16997 ac_check_lib_save_LIBS=$LIBS
16998 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17005 #ifdef __cplusplus
17006 extern "C"
17007 #endif
17008 char ldap_initialize ();
17010 main ()
17012 return ldap_initialize ();
17014 return 0;
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_lib_ldap_r_ldap_initialize=yes
17019 else
17020 ac_cv_lib_ldap_r_ldap_initialize=no
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 LIBS=$ac_check_lib_save_LIBS
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17027 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17028 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17030 $as_echo_n "checking for ber_init in -llber... " >&6; }
17031 if ${ac_cv_lib_lber_ber_init+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 ac_check_lib_save_LIBS=$LIBS
17035 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 #ifdef __cplusplus
17043 extern "C"
17044 #endif
17045 char ber_init ();
17047 main ()
17049 return ber_init ();
17051 return 0;
17053 _ACEOF
17054 if ac_fn_c_try_link "$LINENO"; then :
17055 ac_cv_lib_lber_ber_init=yes
17056 else
17057 ac_cv_lib_lber_ber_init=no
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17061 LIBS=$ac_check_lib_save_LIBS
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17064 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17065 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17067 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17069 else
17070 LDAP_LIBS=""
17073 else
17074 LDAP_LIBS=""
17077 else
17078 LDAP_LIBS=""
17081 ac_wine_check_funcs_save_LIBS="$LIBS"
17082 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17083 for ac_func in \
17084 ldap_count_references \
17085 ldap_first_reference \
17086 ldap_next_reference \
17087 ldap_parse_reference \
17088 ldap_parse_sort_control \
17089 ldap_parse_sortresponse_control \
17090 ldap_parse_vlv_control \
17091 ldap_parse_vlvresponse_control
17092 do :
17093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17095 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17096 cat >>confdefs.h <<_ACEOF
17097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17098 _ACEOF
17101 done
17103 LIBS="$ac_wine_check_funcs_save_LIBS"
17104 else
17105 LDAP_LIBS=""
17107 CPPFLAGS=$ac_save_CPPFLAGS
17108 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17109 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17112 if test "x$LDAP_LIBS" = "x"; then :
17113 case "x$with_ldap" in
17114 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17115 xno) ;;
17116 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17117 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17118 esac
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17123 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17124 if ${wine_cv_one_arg_mkdir+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 #include <sys/stat.h>
17131 main ()
17133 mkdir("foo");
17135 return 0;
17137 _ACEOF
17138 if ac_fn_c_try_compile "$LINENO"; then :
17139 wine_cv_one_arg_mkdir=yes
17140 else
17141 wine_cv_one_arg_mkdir=no
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17146 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17147 if test "$wine_cv_one_arg_mkdir" = "yes"
17148 then
17150 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17155 $as_echo_n "checking for sched_setaffinity... " >&6; }
17156 if ${wine_cv_have_sched_setaffinity+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #define _GNU_SOURCE
17162 #include <sched.h>
17164 main ()
17166 sched_setaffinity(0, 0, 0);
17168 return 0;
17170 _ACEOF
17171 if ac_fn_c_try_link "$LINENO"; then :
17172 wine_cv_have_sched_setaffinity=yes
17173 else
17174 wine_cv_have_sched_setaffinity=no
17176 rm -f core conftest.err conftest.$ac_objext \
17177 conftest$ac_exeext conftest.$ac_ext
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17180 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17181 if test "$wine_cv_have_sched_setaffinity" = "yes"
17182 then
17184 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17189 $as_echo_n "checking for fallocate... " >&6; }
17190 if ${wine_cv_have_fallocate+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 #define _GNU_SOURCE
17196 #include <fcntl.h>
17198 main ()
17200 fallocate(-1, 0, 0, 0);
17202 return 0;
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"; then :
17206 wine_cv_have_fallocate=yes
17207 else
17208 wine_cv_have_fallocate=no
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17214 $as_echo "$wine_cv_have_fallocate" >&6; }
17215 if test "$wine_cv_have_fallocate" = "yes"
17216 then
17218 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17224 $as_echo_n "checking for inline... " >&6; }
17225 if ${ac_cv_c_inline+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 ac_cv_c_inline=no
17229 for ac_kw in inline __inline__ __inline; do
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 #ifndef __cplusplus
17233 typedef int foo_t;
17234 static $ac_kw foo_t static_foo () {return 0; }
17235 $ac_kw foo_t foo () {return 0; }
17236 #endif
17238 _ACEOF
17239 if ac_fn_c_try_compile "$LINENO"; then :
17240 ac_cv_c_inline=$ac_kw
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 test "$ac_cv_c_inline" != no && break
17244 done
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17248 $as_echo "$ac_cv_c_inline" >&6; }
17250 case $ac_cv_c_inline in
17251 inline | yes) ;;
17253 case $ac_cv_c_inline in
17254 no) ac_val=;;
17255 *) ac_val=$ac_cv_c_inline;;
17256 esac
17257 cat >>confdefs.h <<_ACEOF
17258 #ifndef __cplusplus
17259 #define inline $ac_val
17260 #endif
17261 _ACEOF
17263 esac
17265 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17266 if test "x$ac_cv_type_mode_t" = xyes; then :
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_MODE_T 1
17270 _ACEOF
17274 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17275 if test "x$ac_cv_type_off_t" = xyes; then :
17277 cat >>confdefs.h <<_ACEOF
17278 #define HAVE_OFF_T 1
17279 _ACEOF
17283 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17284 if test "x$ac_cv_type_pid_t" = xyes; then :
17286 cat >>confdefs.h <<_ACEOF
17287 #define HAVE_PID_T 1
17288 _ACEOF
17292 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17293 if test "x$ac_cv_type_size_t" = xyes; then :
17295 cat >>confdefs.h <<_ACEOF
17296 #define HAVE_SIZE_T 1
17297 _ACEOF
17301 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17302 if test "x$ac_cv_type_ssize_t" = xyes; then :
17304 cat >>confdefs.h <<_ACEOF
17305 #define HAVE_SSIZE_T 1
17306 _ACEOF
17310 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17311 if test "x$ac_cv_type_long_long" = xyes; then :
17313 cat >>confdefs.h <<_ACEOF
17314 #define HAVE_LONG_LONG 1
17315 _ACEOF
17319 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17320 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17322 cat >>confdefs.h <<_ACEOF
17323 #define HAVE_FSBLKCNT_T 1
17324 _ACEOF
17328 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17329 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17331 cat >>confdefs.h <<_ACEOF
17332 #define HAVE_FSFILCNT_T 1
17333 _ACEOF
17338 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17339 #include <signal.h>
17341 if test "x$ac_cv_type_sigset_t" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_SIGSET_T 1
17345 _ACEOF
17350 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17352 if test "x$ac_cv_type_request_sense" = xyes; then :
17354 cat >>confdefs.h <<_ACEOF
17355 #define HAVE_REQUEST_SENSE 1
17356 _ACEOF
17362 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17363 #ifdef HAVE_SYS_SOCKET_H
17364 #include <sys/socket.h>
17365 #endif
17366 #ifdef HAVE_SYS_SOCKETVAR_H
17367 #include <sys/socketvar.h>
17368 #endif
17369 #ifdef HAVE_NET_ROUTE_H
17370 #include <net/route.h>
17371 #endif
17372 #ifdef HAVE_NETINET_IN_H
17373 #include <netinet/in.h>
17374 #endif
17375 #ifdef HAVE_NETINET_IN_SYSTM_H
17376 #include <netinet/in_systm.h>
17377 #endif
17378 #ifdef HAVE_NETINET_IP_H
17379 #include <netinet/ip.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IN_PCB_H
17382 #include <netinet/in_pcb.h>
17383 #endif
17385 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17387 cat >>confdefs.h <<_ACEOF
17388 #define HAVE_STRUCT_XINPGEN 1
17389 _ACEOF
17395 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17396 #include <link.h>
17397 #endif
17398 #ifdef HAVE_SYS_LINK_H
17399 #include <sys/link.h>
17400 #endif
17402 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17404 cat >>confdefs.h <<_ACEOF
17405 #define HAVE_STRUCT_R_DEBUG 1
17406 _ACEOF
17410 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17411 #include <link.h>
17412 #endif
17413 #ifdef HAVE_SYS_LINK_H
17414 #include <sys/link.h>
17415 #endif
17417 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17419 cat >>confdefs.h <<_ACEOF
17420 #define HAVE_STRUCT_LINK_MAP 1
17421 _ACEOF
17427 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17428 #include <linux/input.h>
17429 #endif
17431 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17435 _ACEOF
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17442 $as_echo_n "checking for if_nameindex... " >&6; }
17443 if ${wine_cv_have_if_nameindex+:} false; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #ifdef HAVE_SYS_TYPES_H
17449 #include <sys/types.h>
17450 #endif
17451 #ifdef HAVE_SYS_SOCKET_H
17452 #include <sys/socket.h>
17453 #endif
17454 #ifdef HAVE_NET_IF_H
17455 # include <net/if.h>
17456 #endif
17458 main ()
17460 struct if_nameindex *p = if_nameindex(); return p->if_index;
17462 return 0;
17464 _ACEOF
17465 if ac_fn_c_try_link "$LINENO"; then :
17466 wine_cv_have_if_nameindex=yes
17467 else
17468 wine_cv_have_if_nameindex=no
17470 rm -f core conftest.err conftest.$ac_objext \
17471 conftest$ac_exeext conftest.$ac_ext
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17474 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17475 if test "$wine_cv_have_if_nameindex" = "yes"
17476 then
17478 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17483 $as_echo_n "checking for sigaddset... " >&6; }
17484 if ${wine_cv_have_sigaddset+:} false; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17489 #include <signal.h>
17491 main ()
17493 sigset_t set; sigaddset(&set,SIGTERM);
17495 return 0;
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"; then :
17499 wine_cv_have_sigaddset=yes
17500 else
17501 wine_cv_have_sigaddset=no
17503 rm -f core conftest.err conftest.$ac_objext \
17504 conftest$ac_exeext conftest.$ac_ext
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17507 $as_echo "$wine_cv_have_sigaddset" >&6; }
17508 if test "$wine_cv_have_sigaddset" = "yes"
17509 then
17511 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17517 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17518 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17519 $as_echo_n "(cached) " >&6
17520 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <netdb.h>
17525 main ()
17528 char *name=0;
17529 struct hostent he;
17530 struct hostent *result;
17531 char *buf=0;
17532 int bufsize=0;
17533 int errnr;
17534 char *addr=0;
17535 int addrlen=0;
17536 int addrtype=0;
17537 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17538 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17541 return 0;
17543 _ACEOF
17544 if ac_fn_c_try_link "$LINENO"; then :
17545 wine_cv_linux_gethostbyname_r_6=yes
17546 else
17547 wine_cv_linux_gethostbyname_r_6=no
17550 rm -f core conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17555 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17556 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17557 then
17559 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17563 if test "$ac_cv_header_linux_joystick_h" = "yes"
17564 then
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17566 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17567 if ${wine_cv_linux_joystick_22_api+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 #include <sys/ioctl.h>
17574 #include <sys/types.h>
17575 #include <linux/joystick.h>
17577 struct js_event blub;
17578 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17579 #error "no 2.2 header"
17580 #endif
17583 main ()
17585 /*empty*/
17587 return 0;
17589 _ACEOF
17590 if ac_fn_c_try_compile "$LINENO"; then :
17591 wine_cv_linux_joystick_22_api=yes
17592 else
17593 wine_cv_linux_joystick_22_api=no
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17599 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17600 if test "$wine_cv_linux_joystick_22_api" = "yes"
17601 then
17603 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17609 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17610 #ifdef HAVE_SYS_PARAM_H
17611 # include <sys/param.h>
17612 #endif
17613 #ifdef HAVE_SYS_MOUNT_H
17614 # include <sys/mount.h>
17615 #endif
17616 #ifdef HAVE_SYS_VFS_H
17617 # include <sys/vfs.h>
17618 #endif
17619 #ifdef HAVE_SYS_STATFS_H
17620 # include <sys/statfs.h>
17621 #endif
17623 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17625 cat >>confdefs.h <<_ACEOF
17626 #define HAVE_STRUCT_STATFS_F_BFREE 1
17627 _ACEOF
17631 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17632 #ifdef HAVE_SYS_PARAM_H
17633 # include <sys/param.h>
17634 #endif
17635 #ifdef HAVE_SYS_MOUNT_H
17636 # include <sys/mount.h>
17637 #endif
17638 #ifdef HAVE_SYS_VFS_H
17639 # include <sys/vfs.h>
17640 #endif
17641 #ifdef HAVE_SYS_STATFS_H
17642 # include <sys/statfs.h>
17643 #endif
17645 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17647 cat >>confdefs.h <<_ACEOF
17648 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17649 _ACEOF
17653 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17654 #ifdef HAVE_SYS_PARAM_H
17655 # include <sys/param.h>
17656 #endif
17657 #ifdef HAVE_SYS_MOUNT_H
17658 # include <sys/mount.h>
17659 #endif
17660 #ifdef HAVE_SYS_VFS_H
17661 # include <sys/vfs.h>
17662 #endif
17663 #ifdef HAVE_SYS_STATFS_H
17664 # include <sys/statfs.h>
17665 #endif
17667 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17669 cat >>confdefs.h <<_ACEOF
17670 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17671 _ACEOF
17675 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17676 #ifdef HAVE_SYS_PARAM_H
17677 # include <sys/param.h>
17678 #endif
17679 #ifdef HAVE_SYS_MOUNT_H
17680 # include <sys/mount.h>
17681 #endif
17682 #ifdef HAVE_SYS_VFS_H
17683 # include <sys/vfs.h>
17684 #endif
17685 #ifdef HAVE_SYS_STATFS_H
17686 # include <sys/statfs.h>
17687 #endif
17689 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17691 cat >>confdefs.h <<_ACEOF
17692 #define HAVE_STRUCT_STATFS_F_FFREE 1
17693 _ACEOF
17697 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17698 #ifdef HAVE_SYS_PARAM_H
17699 # include <sys/param.h>
17700 #endif
17701 #ifdef HAVE_SYS_MOUNT_H
17702 # include <sys/mount.h>
17703 #endif
17704 #ifdef HAVE_SYS_VFS_H
17705 # include <sys/vfs.h>
17706 #endif
17707 #ifdef HAVE_SYS_STATFS_H
17708 # include <sys/statfs.h>
17709 #endif
17711 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17713 cat >>confdefs.h <<_ACEOF
17714 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17715 _ACEOF
17719 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17720 #ifdef HAVE_SYS_PARAM_H
17721 # include <sys/param.h>
17722 #endif
17723 #ifdef HAVE_SYS_MOUNT_H
17724 # include <sys/mount.h>
17725 #endif
17726 #ifdef HAVE_SYS_VFS_H
17727 # include <sys/vfs.h>
17728 #endif
17729 #ifdef HAVE_SYS_STATFS_H
17730 # include <sys/statfs.h>
17731 #endif
17733 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17735 cat >>confdefs.h <<_ACEOF
17736 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17737 _ACEOF
17743 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17744 #include <sys/statvfs.h>
17745 #endif
17747 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17749 cat >>confdefs.h <<_ACEOF
17750 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17751 _ACEOF
17757 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17758 #include <dirent.h>
17759 #endif
17761 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17763 cat >>confdefs.h <<_ACEOF
17764 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17765 _ACEOF
17771 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17772 #ifdef HAVE_SYS_SOCKET_H
17773 # include <sys/socket.h>
17774 #endif
17775 #ifdef HAVE_SYS_UN_H
17776 # include <sys/un.h>
17777 #endif
17779 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17781 cat >>confdefs.h <<_ACEOF
17782 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17783 _ACEOF
17787 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17788 #ifdef HAVE_SYS_SOCKET_H
17789 # include <sys/socket.h>
17790 #endif
17791 #ifdef HAVE_SYS_UN_H
17792 # include <sys/un.h>
17793 #endif
17795 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17797 cat >>confdefs.h <<_ACEOF
17798 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17799 _ACEOF
17803 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17804 #ifdef HAVE_SYS_SOCKET_H
17805 # include <sys/socket.h>
17806 #endif
17807 #ifdef HAVE_SYS_UN_H
17808 # include <sys/un.h>
17809 #endif
17811 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17813 cat >>confdefs.h <<_ACEOF
17814 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17815 _ACEOF
17821 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17822 #ifdef HAVE_SCSI_SG_H
17823 #include <scsi/sg.h>
17824 #endif
17826 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17828 cat >>confdefs.h <<_ACEOF
17829 #define HAVE_SCSIREQ_T_CMD 1
17830 _ACEOF
17834 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>
17835 #ifdef HAVE_SCSI_SG_H
17836 #include <scsi/sg.h>
17837 #endif
17839 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17841 cat >>confdefs.h <<_ACEOF
17842 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17843 _ACEOF
17849 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17851 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17853 cat >>confdefs.h <<_ACEOF
17854 #define HAVE_SIGINFO_T_SI_FD 1
17855 _ACEOF
17861 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17862 #ifdef HAVE_SYS_MTIO_H
17863 #include <sys/mtio.h>
17864 #endif
17866 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17868 cat >>confdefs.h <<_ACEOF
17869 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17870 _ACEOF
17874 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17875 #ifdef HAVE_SYS_MTIO_H
17876 #include <sys/mtio.h>
17877 #endif
17879 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17881 cat >>confdefs.h <<_ACEOF
17882 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17883 _ACEOF
17887 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17888 #ifdef HAVE_SYS_MTIO_H
17889 #include <sys/mtio.h>
17890 #endif
17892 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17894 cat >>confdefs.h <<_ACEOF
17895 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17896 _ACEOF
17902 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17903 #include <getopt.h>
17904 #endif
17906 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17908 cat >>confdefs.h <<_ACEOF
17909 #define HAVE_STRUCT_OPTION_NAME 1
17910 _ACEOF
17916 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17917 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17919 cat >>confdefs.h <<_ACEOF
17920 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17921 _ACEOF
17925 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17926 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17928 cat >>confdefs.h <<_ACEOF
17929 #define HAVE_STRUCT_STAT_ST_MTIM 1
17930 _ACEOF
17934 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17935 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17937 cat >>confdefs.h <<_ACEOF
17938 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17939 _ACEOF
17943 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17944 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17946 cat >>confdefs.h <<_ACEOF
17947 #define HAVE_STRUCT_STAT_ST_CTIM 1
17948 _ACEOF
17952 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17953 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17955 cat >>confdefs.h <<_ACEOF
17956 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17957 _ACEOF
17961 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17962 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17964 cat >>confdefs.h <<_ACEOF
17965 #define HAVE_STRUCT_STAT_ST_ATIM 1
17966 _ACEOF
17970 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17971 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17973 cat >>confdefs.h <<_ACEOF
17974 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17975 _ACEOF
17979 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17980 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17982 cat >>confdefs.h <<_ACEOF
17983 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17984 _ACEOF
17988 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17989 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17991 cat >>confdefs.h <<_ACEOF
17992 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17993 _ACEOF
17997 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17998 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18000 cat >>confdefs.h <<_ACEOF
18001 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18002 _ACEOF
18006 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18007 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18011 _ACEOF
18015 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18016 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18018 cat >>confdefs.h <<_ACEOF
18019 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18020 _ACEOF
18026 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
18027 #include <sys/types.h>
18028 #endif
18029 #ifdef HAVE_NETINET_IN_H
18030 #include <netinet/in.h>
18031 #endif
18033 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18035 cat >>confdefs.h <<_ACEOF
18036 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18037 _ACEOF
18043 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18044 #include <sys/types.h>
18045 #endif
18046 #ifdef HAVE_NETINET_IN_H
18047 #include <netinet/in.h>
18048 #endif
18049 #ifdef HAVE_RESOLV_H
18050 #include <resolv.h>
18051 #endif
18053 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18055 cat >>confdefs.h <<_ACEOF
18056 #define HAVE_STRUCT___RES_STATE 1
18057 _ACEOF
18063 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
18064 #include <resolv.h>
18065 #endif
18067 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18069 cat >>confdefs.h <<_ACEOF
18070 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18071 _ACEOF
18077 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18078 #include <sys/types.h>
18079 #endif
18080 #ifdef HAVE_NETINET_IN_H
18081 # include <netinet/in.h>
18082 #endif
18083 #ifdef HAVE_ARPA_NAMESER_H
18084 # include <arpa/nameser.h>
18085 #endif
18087 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18089 cat >>confdefs.h <<_ACEOF
18090 #define HAVE_NS_MSG__MSG_PTR 1
18091 _ACEOF
18097 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18098 #include <sys/types.h>
18099 #endif
18100 #ifdef HAVE_NETINET_IN_H
18101 #include <netinet/in.h>
18102 #endif
18103 #ifdef HAVE_NETINET_IP_H
18104 #include <netinet/ip.h>
18105 #endif
18106 #ifdef HAVE_NETINET_IP_ICMP_H
18107 #include <netinet/ip_icmp.h>
18108 #endif
18109 #ifdef HAVE_NETINET_ICMP_VAR_H
18110 #include <netinet/icmp_var.h>
18111 #endif
18113 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18115 cat >>confdefs.h <<_ACEOF
18116 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18117 _ACEOF
18123 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18124 #include <sys/types.h>
18125 #endif
18126 #ifdef HAVE_ALIAS_H
18127 #include <alias.h>
18128 #endif
18129 #ifdef HAVE_SYS_SOCKET_H
18130 #include <sys/socket.h>
18131 #endif
18132 #ifdef HAVE_SYS_SOCKETVAR_H
18133 #include <sys/socketvar.h>
18134 #endif
18135 #ifdef HAVE_SYS_TIMEOUT_H
18136 #include <sys/timeout.h>
18137 #endif
18138 #ifdef HAVE_NETINET_IN_H
18139 #include <netinet/in.h>
18140 #endif
18141 #ifdef HAVE_NETINET_IN_SYSTM_H
18142 #include <netinet/in_systm.h>
18143 #endif
18144 #ifdef HAVE_NETINET_IP_H
18145 #include <netinet/ip.h>
18146 #endif
18147 #ifdef HAVE_NETINET_IP_VAR_H
18148 #include <netinet/ip_var.h>
18149 #endif
18150 #ifdef HAVE_NETINET_IP_ICMP_H
18151 #include <netinet/ip_icmp.h>
18152 #endif
18153 #ifdef HAVE_NETINET_ICMP_VAR_H
18154 #include <netinet/icmp_var.h>
18155 #endif
18157 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18159 cat >>confdefs.h <<_ACEOF
18160 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18161 _ACEOF
18167 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18168 #include <sys/types.h>
18169 #endif
18170 #ifdef HAVE_SYS_SOCKETVAR_H
18171 #include <sys/socketvar.h>
18172 #endif
18173 #ifdef HAVE_NETINET_IN_H
18174 #include <netinet/in.h>
18175 #endif
18176 #ifdef HAVE_NETINET_IP_VAR_H
18177 #include <netinet/ip_var.h>
18178 #endif
18180 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18182 cat >>confdefs.h <<_ACEOF
18183 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18184 _ACEOF
18190 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
18191 #include <netinet/ip_var.h>
18192 #endif
18194 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18196 cat >>confdefs.h <<_ACEOF
18197 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18198 _ACEOF
18204 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18205 #include <sys/types.h>
18206 #endif
18207 #ifdef HAVE_SYS_SOCKETVAR_H
18208 #include <sys/socketvar.h>
18209 #endif
18210 #ifdef HAVE_NETINET_IN_H
18211 #include <netinet/in.h>
18212 #endif
18213 #ifdef HAVE_NETINET_TCP_H
18214 #include <netinet/tcp.h>
18215 #endif
18216 #ifdef HAVE_NETINET_TCP_VAR_H
18217 #include <netinet/tcp_var.h>
18218 #endif
18220 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18222 cat >>confdefs.h <<_ACEOF
18223 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18224 _ACEOF
18230 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
18231 #include <netinet/tcp_var.h>
18232 #endif
18234 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18236 cat >>confdefs.h <<_ACEOF
18237 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18238 _ACEOF
18244 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18245 #include <sys/types.h>
18246 #endif
18247 #ifdef HAVE_NETINET_IN_H
18248 #include <netinet/in.h>
18249 #endif
18250 #ifdef HAVE_NETINET_IP_VAR_H
18251 #include <netinet/ip_var.h>
18252 #endif
18253 #ifdef HAVE_NETINET_UDP_H
18254 #include <netinet/udp.h>
18255 #endif
18256 #ifdef HAVE_NETINET_UDP_VAR_H
18257 #include <netinet/udp_var.h>
18258 #endif
18260 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18262 cat >>confdefs.h <<_ACEOF
18263 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18264 _ACEOF
18270 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18271 #include <sys/types.h>
18272 #endif
18273 #ifdef HAVE_NET_IF_H
18274 # include <net/if.h>
18275 #endif
18277 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18279 cat >>confdefs.h <<_ACEOF
18280 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18281 _ACEOF
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18288 $as_echo_n "checking for timezone variable... " >&6; }
18289 if ${ac_cv_have_timezone+:} false; then :
18290 $as_echo_n "(cached) " >&6
18291 else
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18294 #include <time.h>
18296 main ()
18298 timezone = 1
18300 return 0;
18302 _ACEOF
18303 if ac_fn_c_try_link "$LINENO"; then :
18304 ac_cv_have_timezone="yes"
18305 else
18306 ac_cv_have_timezone="no"
18308 rm -f core conftest.err conftest.$ac_objext \
18309 conftest$ac_exeext conftest.$ac_ext
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18312 $as_echo "$ac_cv_have_timezone" >&6; }
18313 if test "$ac_cv_have_timezone" = "yes"
18314 then
18316 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18320 $as_echo_n "checking for daylight variable... " >&6; }
18321 if ${ac_cv_have_daylight+:} false; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <time.h>
18328 main ()
18330 daylight = 1
18332 return 0;
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"; then :
18336 ac_cv_have_daylight="yes"
18337 else
18338 ac_cv_have_daylight="no"
18340 rm -f core conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext conftest.$ac_ext
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18344 $as_echo "$ac_cv_have_daylight" >&6; }
18345 if test "$ac_cv_have_daylight" = "yes"
18346 then
18348 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18352 ac_save_LIBS="$LIBS"
18353 LIBS="$LIBS -lm"
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18355 $as_echo_n "checking for isfinite... " >&6; }
18356 if ${ac_cv_have_isfinite+:} false; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18361 #define _GNU_SOURCE
18362 #include <math.h>
18364 main ()
18366 float f = 0.0; return isfinite(f)
18368 return 0;
18370 _ACEOF
18371 if ac_fn_c_try_link "$LINENO"; then :
18372 ac_cv_have_isfinite="yes"
18373 else
18374 ac_cv_have_isfinite="no"
18376 rm -f core conftest.err conftest.$ac_objext \
18377 conftest$ac_exeext conftest.$ac_ext
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18380 $as_echo "$ac_cv_have_isfinite" >&6; }
18381 if test "$ac_cv_have_isfinite" = "yes"
18382 then
18384 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18389 $as_echo_n "checking for isinf... " >&6; }
18390 if ${ac_cv_have_isinf+:} false; then :
18391 $as_echo_n "(cached) " >&6
18392 else
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18395 #include <math.h>
18397 main ()
18399 float f = 0.0; return isinf(f)
18401 return 0;
18403 _ACEOF
18404 if ac_fn_c_try_link "$LINENO"; then :
18405 ac_cv_have_isinf="yes"
18406 else
18407 ac_cv_have_isinf="no"
18409 rm -f core conftest.err conftest.$ac_objext \
18410 conftest$ac_exeext conftest.$ac_ext
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18413 $as_echo "$ac_cv_have_isinf" >&6; }
18414 if test "$ac_cv_have_isinf" = "yes"
18415 then
18417 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18422 $as_echo_n "checking for isnan... " >&6; }
18423 if ${ac_cv_have_isnan+:} false; then :
18424 $as_echo_n "(cached) " >&6
18425 else
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #include <math.h>
18430 main ()
18432 float f = 0.0; return isnan(f)
18434 return 0;
18436 _ACEOF
18437 if ac_fn_c_try_link "$LINENO"; then :
18438 ac_cv_have_isnan="yes"
18439 else
18440 ac_cv_have_isnan="no"
18442 rm -f core conftest.err conftest.$ac_objext \
18443 conftest$ac_exeext conftest.$ac_ext
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18446 $as_echo "$ac_cv_have_isnan" >&6; }
18447 if test "$ac_cv_have_isnan" = "yes"
18448 then
18450 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18454 for ac_func in \
18455 acosh \
18456 acoshf \
18457 asinh \
18458 asinhf \
18459 atanh \
18460 atanhf \
18461 cbrt \
18462 cbrtf \
18463 erf \
18464 erfc \
18465 erfcf \
18466 erff \
18467 exp2 \
18468 exp2f \
18469 expm1 \
18470 expm1f \
18471 j0 \
18472 j1 \
18473 jn \
18474 lgamma \
18475 lgammaf \
18476 llrint \
18477 llrintf \
18478 llround \
18479 llroundf \
18480 log1p \
18481 log1pf \
18482 log2 \
18483 log2f \
18484 lrint \
18485 lrintf \
18486 lround \
18487 lroundf \
18488 nearbyint \
18489 nearbyintf \
18490 powl \
18491 remainder \
18492 remainderf \
18493 rint \
18494 rintf \
18495 round \
18496 roundf \
18497 trunc \
18498 truncf \
18499 y0 \
18500 y1 \
18503 do :
18504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18506 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18507 cat >>confdefs.h <<_ACEOF
18508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18509 _ACEOF
18512 done
18514 LIBS="$ac_save_LIBS"
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18517 $as_echo_n "checking for __builtin_clz... " >&6; }
18518 if ${ac_cv_have___builtin_clz+:} false; then :
18519 $as_echo_n "(cached) " >&6
18520 else
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18525 main ()
18527 return __builtin_clz(1)
18529 return 0;
18531 _ACEOF
18532 if ac_fn_c_try_link "$LINENO"; then :
18533 ac_cv_have___builtin_clz="yes"
18534 else
18535 ac_cv_have___builtin_clz="no"
18537 rm -f core conftest.err conftest.$ac_objext \
18538 conftest$ac_exeext conftest.$ac_ext
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18541 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18542 if test "$ac_cv_have___builtin_clz" = "yes"
18543 then
18545 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18550 $as_echo_n "checking for __builtin_popcount... " >&6; }
18551 if ${ac_cv_have___builtin_popcount+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18558 main ()
18560 return __builtin_popcount(1)
18562 return 0;
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"; then :
18566 ac_cv_have___builtin_popcount="yes"
18567 else
18568 ac_cv_have___builtin_popcount="no"
18570 rm -f core conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18574 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18575 if test "$ac_cv_have___builtin_popcount" = "yes"
18576 then
18578 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18583 $as_echo_n "checking for __clear_cache... " >&6; }
18584 if ${ac_cv_have___clear_cache+:} false; then :
18585 $as_echo_n "(cached) " >&6
18586 else
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18591 main ()
18593 __clear_cache((void*)0, (void*)0); return 0;
18595 return 0;
18597 _ACEOF
18598 if ac_fn_c_try_link "$LINENO"; then :
18599 ac_cv_have___clear_cache="yes"
18600 else
18601 ac_cv_have___clear_cache="no"
18603 rm -f core conftest.err conftest.$ac_objext \
18604 conftest$ac_exeext conftest.$ac_ext
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18607 $as_echo "$ac_cv_have___clear_cache" >&6; }
18608 if test "$ac_cv_have___clear_cache" = "yes"
18609 then
18611 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18616 case $host_cpu in
18617 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18618 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18619 if ${ac_cv_cpp_def___i386__+:} false; then :
18620 $as_echo_n "(cached) " >&6
18621 else
18622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18623 /* end confdefs.h. */
18624 #ifndef __i386__
18626 #endif
18627 _ACEOF
18628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18629 $EGREP "yes" >/dev/null 2>&1; then :
18630 ac_cv_cpp_def___i386__=yes
18631 else
18632 ac_cv_cpp_def___i386__=no
18634 rm -f conftest*
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18638 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18639 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18640 CFLAGS="$CFLAGS -D__i386__"
18641 LINTFLAGS="$LINTFLAGS -D__i386__"
18642 fi ;;
18643 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18644 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18645 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18646 $as_echo_n "(cached) " >&6
18647 else
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #ifndef __x86_64__
18652 #endif
18653 _ACEOF
18654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18655 $EGREP "yes" >/dev/null 2>&1; then :
18656 ac_cv_cpp_def___x86_64__=yes
18657 else
18658 ac_cv_cpp_def___x86_64__=no
18660 rm -f conftest*
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18664 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18665 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18666 CFLAGS="$CFLAGS -D__x86_64__"
18667 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18668 fi ;;
18669 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18670 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18671 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18672 $as_echo_n "(cached) " >&6
18673 else
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #ifndef __sparc64__
18678 #endif
18679 _ACEOF
18680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18681 $EGREP "yes" >/dev/null 2>&1; then :
18682 ac_cv_cpp_def___sparc64__=yes
18683 else
18684 ac_cv_cpp_def___sparc64__=no
18686 rm -f conftest*
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18690 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18691 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18692 CFLAGS="$CFLAGS -D__sparc64__"
18693 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18694 fi ;;
18695 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18696 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18697 if ${ac_cv_cpp_def___sparc__+:} false; then :
18698 $as_echo_n "(cached) " >&6
18699 else
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #ifndef __sparc__
18704 #endif
18705 _ACEOF
18706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18707 $EGREP "yes" >/dev/null 2>&1; then :
18708 ac_cv_cpp_def___sparc__=yes
18709 else
18710 ac_cv_cpp_def___sparc__=no
18712 rm -f conftest*
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18716 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18717 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18718 CFLAGS="$CFLAGS -D__sparc__"
18719 LINTFLAGS="$LINTFLAGS -D__sparc__"
18720 fi ;;
18721 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18722 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18723 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728 #ifndef __powerpc64__
18730 #endif
18731 _ACEOF
18732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18733 $EGREP "yes" >/dev/null 2>&1; then :
18734 ac_cv_cpp_def___powerpc64__=yes
18735 else
18736 ac_cv_cpp_def___powerpc64__=no
18738 rm -f conftest*
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18742 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18743 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18744 CFLAGS="$CFLAGS -D__powerpc64__"
18745 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18746 fi ;;
18747 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18748 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18749 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18750 $as_echo_n "(cached) " >&6
18751 else
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 #ifndef __powerpc__
18756 #endif
18757 _ACEOF
18758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18759 $EGREP "yes" >/dev/null 2>&1; then :
18760 ac_cv_cpp_def___powerpc__=yes
18761 else
18762 ac_cv_cpp_def___powerpc__=no
18764 rm -f conftest*
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18768 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18769 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18770 CFLAGS="$CFLAGS -D__powerpc__"
18771 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18772 fi ;;
18773 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18774 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18775 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18776 $as_echo_n "(cached) " >&6
18777 else
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780 #ifndef __aarch64__
18782 #endif
18783 _ACEOF
18784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18785 $EGREP "yes" >/dev/null 2>&1; then :
18786 ac_cv_cpp_def___aarch64__=yes
18787 else
18788 ac_cv_cpp_def___aarch64__=no
18790 rm -f conftest*
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18794 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18795 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18796 CFLAGS="$CFLAGS -D__aarch64__"
18797 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18798 fi ;;
18799 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18800 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18801 if ${ac_cv_cpp_def___arm__+:} false; then :
18802 $as_echo_n "(cached) " >&6
18803 else
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806 #ifndef __arm__
18808 #endif
18809 _ACEOF
18810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18811 $EGREP "yes" >/dev/null 2>&1; then :
18812 ac_cv_cpp_def___arm__=yes
18813 else
18814 ac_cv_cpp_def___arm__=no
18816 rm -f conftest*
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18820 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18821 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18822 CFLAGS="$CFLAGS -D__arm__"
18823 LINTFLAGS="$LINTFLAGS -D__arm__"
18824 fi ;;
18825 esac
18827 case $host_vendor in
18828 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18829 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18830 if ${ac_cv_cpp_def___sun__+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18834 /* end confdefs.h. */
18835 #ifndef __sun__
18837 #endif
18838 _ACEOF
18839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18840 $EGREP "yes" >/dev/null 2>&1; then :
18841 ac_cv_cpp_def___sun__=yes
18842 else
18843 ac_cv_cpp_def___sun__=no
18845 rm -f conftest*
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18849 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18850 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18851 CFLAGS="$CFLAGS -D__sun__"
18852 LINTFLAGS="$LINTFLAGS -D__sun__"
18853 fi ;;
18854 esac
18860 ac_config_commands="$ac_config_commands include/stamp-h"
18862 $as_echo_n "creating Makefile rules..." >&6
18864 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18865 SOCKET_LIBS = $SOCKET_LIBS
18866 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18867 IOKIT_LIBS = $IOKIT_LIBS
18868 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18869 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18870 CORESERVICES_LIBS = $CORESERVICES_LIBS
18871 APPKIT_LIBS = $APPKIT_LIBS
18872 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18873 SECURITY_LIBS = $SECURITY_LIBS
18874 COREAUDIO_LIBS = $COREAUDIO_LIBS
18875 OPENAL_LIBS = $OPENAL_LIBS
18876 OPENCL_LIBS = $OPENCL_LIBS
18877 QUICKTIME_LIBS = $QUICKTIME_LIBS
18878 CARBON_LIBS = $CARBON_LIBS
18879 METAL_LIBS = $METAL_LIBS
18880 PTHREAD_LIBS = $PTHREAD_LIBS
18881 X_CFLAGS = $X_CFLAGS
18882 X_PRE_LIBS = $X_PRE_LIBS
18883 X_LIBS = $X_LIBS
18884 X_EXTRA_LIBS = $X_EXTRA_LIBS
18885 PCAP_LIBS = $PCAP_LIBS
18886 XML2_CFLAGS = $XML2_CFLAGS
18887 XML2_LIBS = $XML2_LIBS
18888 XSLT_CFLAGS = $XSLT_CFLAGS
18889 XSLT_LIBS = $XSLT_LIBS
18890 DBUS_CFLAGS = $DBUS_CFLAGS
18891 DBUS_LIBS = $DBUS_LIBS
18892 HAL_CFLAGS = $HAL_CFLAGS
18893 HAL_LIBS = $HAL_LIBS
18894 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18895 GNUTLS_LIBS = $GNUTLS_LIBS
18896 SANE_CFLAGS = $SANE_CFLAGS
18897 SANE_LIBS = $SANE_LIBS
18898 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18899 GPHOTO2_LIBS = $GPHOTO2_LIBS
18900 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18901 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18902 RESOLV_LIBS = $RESOLV_LIBS
18903 LCMS2_CFLAGS = $LCMS2_CFLAGS
18904 LCMS2_LIBS = $LCMS2_LIBS
18905 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18906 FREETYPE_LIBS = $FREETYPE_LIBS
18907 Z_LIBS = $Z_LIBS
18908 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18909 PULSE_CFLAGS = $PULSE_CFLAGS
18910 PULSE_LIBS = $PULSE_LIBS
18911 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18912 GSTREAMER_LIBS = $GSTREAMER_LIBS
18913 ALSA_LIBS = $ALSA_LIBS
18914 OSS4_CFLAGS = $OSS4_CFLAGS
18915 UDEV_CFLAGS = $UDEV_CFLAGS
18916 UDEV_LIBS = $UDEV_LIBS
18917 SDL2_CFLAGS = $SDL2_CFLAGS
18918 SDL2_LIBS = $SDL2_LIBS
18919 CAPI20_CFLAGS = $CAPI20_CFLAGS
18920 CAPI20_LIBS = $CAPI20_LIBS
18921 CUPS_CFLAGS = $CUPS_CFLAGS
18922 CUPS_LIBS = $CUPS_LIBS
18923 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18924 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18925 KRB5_CFLAGS = $KRB5_CFLAGS
18926 KRB5_LIBS = $KRB5_LIBS
18927 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18928 GSSAPI_LIBS = $GSSAPI_LIBS
18929 JPEG_CFLAGS = $JPEG_CFLAGS
18930 JPEG_LIBS = $JPEG_LIBS
18931 PNG_CFLAGS = $PNG_CFLAGS
18932 PNG_LIBS = $PNG_LIBS
18933 TIFF_CFLAGS = $TIFF_CFLAGS
18934 TIFF_LIBS = $TIFF_LIBS
18935 MPG123_CFLAGS = $MPG123_CFLAGS
18936 MPG123_LIBS = $MPG123_LIBS
18937 KSTAT_LIBS = $KSTAT_LIBS
18938 PROCSTAT_LIBS = $PROCSTAT_LIBS
18939 NETAPI_CFLAGS = $NETAPI_CFLAGS
18940 NETAPI_LIBS = $NETAPI_LIBS
18941 VKD3D_CFLAGS = $VKD3D_CFLAGS
18942 VKD3D_LIBS = $VKD3D_LIBS
18943 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18944 DL_LIBS = $DL_LIBS
18945 POLL_LIBS = $POLL_LIBS
18946 RT_LIBS = $RT_LIBS
18947 LDAP_CFLAGS = $LDAP_CFLAGS
18948 LDAP_LIBS = $LDAP_LIBS
18953 wine_fn_append_rule "
18954 # Rules automatically generated by configure
18956 .INIT: Makefile
18957 .MAKEFILEDEPS:
18958 all: Makefile
18959 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18960 @./config.status Make.tmp Makefile
18961 depend: \$(MAKEDEP) dummy
18962 \$(MAKEDEP)"
18964 if test "x$enable_fonts" != xno; then
18965 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18966 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18967 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18968 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18969 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18970 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18972 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18973 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18974 ac_config_links="$ac_config_links wine:tools/winewrapper"
18975 wine_fn_config_symlink wine
18976 if test "x$enable_win64" != xno; then
18977 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18978 wine_fn_config_symlink wine64
18981 wine_fn_config_makefile dlls/acledit enable_acledit
18982 wine_fn_config_makefile dlls/aclui enable_aclui
18983 wine_fn_config_makefile dlls/activeds enable_activeds
18984 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18985 wine_fn_config_makefile dlls/adsiid enable_adsiid
18986 wine_fn_config_makefile dlls/adsldp enable_adsldp
18987 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18988 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18989 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18990 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18991 wine_fn_config_makefile dlls/advpack enable_advpack
18992 wine_fn_config_makefile dlls/advpack/tests enable_tests
18993 wine_fn_config_makefile dlls/amstream enable_amstream
18994 wine_fn_config_makefile dlls/amstream/tests enable_tests
18995 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18996 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18997 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18998 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18999 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19000 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19001 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19002 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19003 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19005 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19009 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19012 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19014 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19016 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19020 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19022 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19026 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19028 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19029 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19030 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19032 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19038 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19042 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19043 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19049 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19052 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19054 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19060 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19061 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19068 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19073 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19098 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19101 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19111 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19123 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19141 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19142 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19161 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19175 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19177 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19179 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19180 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19184 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19186 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19192 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19195 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19197 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19199 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19203 wine_fn_config_makefile dlls/apphelp enable_apphelp
19204 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19205 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19206 wine_fn_config_makefile dlls/atl enable_atl
19207 wine_fn_config_makefile dlls/atl/tests enable_tests
19208 wine_fn_config_makefile dlls/atl100 enable_atl100
19209 wine_fn_config_makefile dlls/atl100/tests enable_tests
19210 wine_fn_config_makefile dlls/atl110 enable_atl110
19211 wine_fn_config_makefile dlls/atl80 enable_atl80
19212 wine_fn_config_makefile dlls/atl80/tests enable_tests
19213 wine_fn_config_makefile dlls/atl90 enable_atl90
19214 wine_fn_config_makefile dlls/atmlib enable_atmlib
19215 wine_fn_config_makefile dlls/authz enable_authz
19216 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19217 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19218 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19219 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19220 wine_fn_config_makefile dlls/avrt enable_avrt
19221 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19222 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19223 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19224 wine_fn_config_makefile dlls/browseui enable_browseui
19225 wine_fn_config_makefile dlls/browseui/tests enable_tests
19226 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19227 wine_fn_config_makefile dlls/cabinet enable_cabinet
19228 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19229 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19230 wine_fn_config_makefile dlls/cards enable_cards
19231 wine_fn_config_makefile dlls/cdosys enable_cdosys
19232 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19233 wine_fn_config_makefile dlls/clusapi enable_clusapi
19234 wine_fn_config_makefile dlls/combase enable_combase
19235 wine_fn_config_makefile dlls/combase/tests enable_tests
19236 wine_fn_config_makefile dlls/comcat enable_comcat
19237 wine_fn_config_makefile dlls/comcat/tests enable_tests
19238 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19239 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19240 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19241 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19242 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19243 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19244 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19245 wine_fn_config_makefile dlls/compstui enable_compstui
19246 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19247 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19248 wine_fn_config_makefile dlls/connect enable_connect
19249 wine_fn_config_makefile dlls/credui enable_credui
19250 wine_fn_config_makefile dlls/credui/tests enable_tests
19251 wine_fn_config_makefile dlls/crtdll enable_crtdll
19252 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19253 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19254 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19255 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19256 wine_fn_config_makefile dlls/cryptext enable_cryptext
19257 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19258 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19259 wine_fn_config_makefile dlls/cryptui enable_cryptui
19260 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19261 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19262 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19263 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19264 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19265 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19266 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19267 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19268 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19269 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19270 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19271 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19272 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19273 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19274 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19275 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19276 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19277 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19278 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19279 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19280 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19281 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19282 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19283 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19284 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19285 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19286 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19287 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19288 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19289 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19290 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19291 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19292 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19293 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19294 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19295 wine_fn_config_makefile dlls/d3dim enable_d3dim
19296 wine_fn_config_makefile dlls/d3drm enable_d3drm
19297 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19298 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19299 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19300 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19301 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19302 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19303 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19304 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19305 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19306 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19307 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19308 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19309 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19310 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19311 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19312 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19313 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19314 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19315 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19316 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19317 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19318 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19319 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19320 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19321 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19322 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19323 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19324 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19325 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19326 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19327 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19328 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19329 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19330 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19331 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19332 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19333 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19334 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19335 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19336 wine_fn_config_makefile dlls/davclnt enable_davclnt
19337 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19338 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19339 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19340 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19341 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19342 wine_fn_config_makefile dlls/ddraw enable_ddraw
19343 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19344 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19345 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19346 wine_fn_config_makefile dlls/devenum enable_devenum
19347 wine_fn_config_makefile dlls/devenum/tests enable_tests
19348 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19349 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19350 wine_fn_config_makefile dlls/difxapi enable_difxapi
19351 wine_fn_config_makefile dlls/dinput enable_dinput
19352 wine_fn_config_makefile dlls/dinput/tests enable_tests
19353 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19354 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19355 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19356 wine_fn_config_makefile dlls/dispex enable_dispex
19357 wine_fn_config_makefile dlls/dispex/tests enable_tests
19358 wine_fn_config_makefile dlls/display.drv16 enable_win16
19359 wine_fn_config_makefile dlls/dmband enable_dmband
19360 wine_fn_config_makefile dlls/dmband/tests enable_tests
19361 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19362 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19363 wine_fn_config_makefile dlls/dmime enable_dmime
19364 wine_fn_config_makefile dlls/dmime/tests enable_tests
19365 wine_fn_config_makefile dlls/dmloader enable_dmloader
19366 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19367 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19368 wine_fn_config_makefile dlls/dmscript enable_dmscript
19369 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19370 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19371 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19372 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19373 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19374 wine_fn_config_makefile dlls/dmusic enable_dmusic
19375 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19376 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19377 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19378 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19379 wine_fn_config_makefile dlls/dplay enable_dplay
19380 wine_fn_config_makefile dlls/dplayx enable_dplayx
19381 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19382 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19383 wine_fn_config_makefile dlls/dpnet enable_dpnet
19384 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19385 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19386 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19387 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19388 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19389 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19390 wine_fn_config_makefile dlls/drmclien enable_drmclien
19391 wine_fn_config_makefile dlls/dsound enable_dsound
19392 wine_fn_config_makefile dlls/dsound/tests enable_tests
19393 wine_fn_config_makefile dlls/dsquery enable_dsquery
19394 wine_fn_config_makefile dlls/dssenh enable_dssenh
19395 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19396 wine_fn_config_makefile dlls/dswave enable_dswave
19397 wine_fn_config_makefile dlls/dswave/tests enable_tests
19398 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19399 wine_fn_config_makefile dlls/dwrite enable_dwrite
19400 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19401 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19402 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19403 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19404 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19405 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19406 wine_fn_config_makefile dlls/dxgi enable_dxgi
19407 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19408 wine_fn_config_makefile dlls/dxguid enable_dxguid
19409 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19410 wine_fn_config_makefile dlls/esent enable_esent
19411 wine_fn_config_makefile dlls/evr enable_evr
19412 wine_fn_config_makefile dlls/evr/tests enable_tests
19413 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19414 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19415 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19416 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19417 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19418 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19419 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19420 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19421 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19422 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19423 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19424 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19438 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19440 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19441 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19444 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
19445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19453 wine_fn_config_makefile dlls/faultrep enable_faultrep
19454 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19455 wine_fn_config_makefile dlls/feclient enable_feclient
19456 wine_fn_config_makefile dlls/fltlib enable_fltlib
19457 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19458 wine_fn_config_makefile dlls/fntcache enable_fntcache
19459 wine_fn_config_makefile dlls/fontsub enable_fontsub
19460 wine_fn_config_makefile dlls/fusion enable_fusion
19461 wine_fn_config_makefile dlls/fusion/tests enable_tests
19462 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19463 wine_fn_config_makefile dlls/gameux enable_gameux
19464 wine_fn_config_makefile dlls/gameux/tests enable_tests
19465 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19466 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19467 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19468 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19469 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19470 wine_fn_config_makefile dlls/glu32 enable_glu32
19471 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19472 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19473 wine_fn_config_makefile dlls/hal enable_hal
19474 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19475 wine_fn_config_makefile dlls/hid enable_hid
19476 wine_fn_config_makefile dlls/hid/tests enable_tests
19477 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19478 wine_fn_config_makefile dlls/hlink enable_hlink
19479 wine_fn_config_makefile dlls/hlink/tests enable_tests
19480 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19481 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19482 wine_fn_config_makefile dlls/httpapi enable_httpapi
19483 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19484 wine_fn_config_makefile dlls/iccvid enable_iccvid
19485 wine_fn_config_makefile dlls/icmp enable_icmp
19486 wine_fn_config_makefile dlls/ieframe enable_ieframe
19487 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19488 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19489 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19490 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19491 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19492 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19493 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19494 wine_fn_config_makefile dlls/imm32 enable_imm32
19495 wine_fn_config_makefile dlls/imm32/tests enable_tests
19496 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19497 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19498 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19499 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19500 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19501 wine_fn_config_makefile dlls/infosoft enable_infosoft
19502 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19503 wine_fn_config_makefile dlls/initpki enable_initpki
19504 wine_fn_config_makefile dlls/inkobj enable_inkobj
19505 wine_fn_config_makefile dlls/inseng enable_inseng
19506 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19507 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19508 wine_fn_config_makefile dlls/iprop enable_iprop
19509 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19510 wine_fn_config_makefile dlls/itircl enable_itircl
19511 wine_fn_config_makefile dlls/itss enable_itss
19512 wine_fn_config_makefile dlls/itss/tests enable_tests
19513 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19514 wine_fn_config_makefile dlls/jscript enable_jscript
19515 wine_fn_config_makefile dlls/jscript/tests enable_tests
19516 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19517 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19518 wine_fn_config_makefile dlls/kerberos enable_kerberos
19519 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19520 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19521 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19522 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19523 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19524 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19525 wine_fn_config_makefile dlls/ksuser enable_ksuser
19526 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19527 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19528 wine_fn_config_makefile dlls/loadperf enable_loadperf
19529 wine_fn_config_makefile dlls/localspl enable_localspl
19530 wine_fn_config_makefile dlls/localspl/tests enable_tests
19531 wine_fn_config_makefile dlls/localui enable_localui
19532 wine_fn_config_makefile dlls/localui/tests enable_tests
19533 wine_fn_config_makefile dlls/lz32 enable_lz32
19534 wine_fn_config_makefile dlls/lz32/tests enable_tests
19535 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19536 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19537 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19538 wine_fn_config_makefile dlls/mapistub enable_mapistub
19539 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19540 wine_fn_config_makefile dlls/mcicda enable_mcicda
19541 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19542 wine_fn_config_makefile dlls/mciseq enable_mciseq
19543 wine_fn_config_makefile dlls/mciwave enable_mciwave
19544 wine_fn_config_makefile dlls/mf enable_mf
19545 wine_fn_config_makefile dlls/mf/tests enable_tests
19546 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19547 wine_fn_config_makefile dlls/mfplat enable_mfplat
19548 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19549 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19550 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19551 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19552 wine_fn_config_makefile dlls/midimap enable_midimap
19553 wine_fn_config_makefile dlls/mlang enable_mlang
19554 wine_fn_config_makefile dlls/mlang/tests enable_tests
19555 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19556 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19557 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19558 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19559 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19560 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19561 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19562 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19563 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19564 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19565 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19566 wine_fn_config_makefile dlls/mpr enable_mpr
19567 wine_fn_config_makefile dlls/mpr/tests enable_tests
19568 wine_fn_config_makefile dlls/mprapi enable_mprapi
19569 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19570 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19571 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19572 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19573 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19574 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19575 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19576 wine_fn_config_makefile dlls/mscms enable_mscms
19577 wine_fn_config_makefile dlls/mscms/tests enable_tests
19578 wine_fn_config_makefile dlls/mscoree enable_mscoree
19579 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19580 wine_fn_config_makefile dlls/msctf enable_msctf
19581 wine_fn_config_makefile dlls/msctf/tests enable_tests
19582 wine_fn_config_makefile dlls/msctfp enable_msctfp
19583 wine_fn_config_makefile dlls/msdaps enable_msdaps
19584 wine_fn_config_makefile dlls/msdelta enable_msdelta
19585 wine_fn_config_makefile dlls/msdmo enable_msdmo
19586 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19587 wine_fn_config_makefile dlls/msdrm enable_msdrm
19588 wine_fn_config_makefile dlls/msftedit enable_msftedit
19589 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19590 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19591 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19592 wine_fn_config_makefile dlls/mshtml enable_mshtml
19593 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19594 wine_fn_config_makefile dlls/msi enable_msi
19595 wine_fn_config_makefile dlls/msi/tests enable_tests
19596 wine_fn_config_makefile dlls/msident enable_msident
19597 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19598 wine_fn_config_makefile dlls/msimsg enable_msimsg
19599 wine_fn_config_makefile dlls/msimtf enable_msimtf
19600 wine_fn_config_makefile dlls/msisip enable_msisip
19601 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19602 wine_fn_config_makefile dlls/msls31 enable_msls31
19603 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19604 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19605 wine_fn_config_makefile dlls/msports enable_msports
19606 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19607 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19608 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19609 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19610 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19611 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19612 wine_fn_config_makefile dlls/mstask enable_mstask
19613 wine_fn_config_makefile dlls/mstask/tests enable_tests
19614 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19615 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19616 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19617 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19618 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19619 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19620 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19621 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19622 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19623 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19624 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19625 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19626 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19627 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19628 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19629 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19630 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19631 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19632 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19633 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19634 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19635 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19636 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19637 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19638 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19639 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19640 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19641 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19642 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19643 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19644 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19645 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19646 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19647 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19648 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19649 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19650 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19651 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19652 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19653 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19654 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19655 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19656 wine_fn_config_makefile dlls/mswsock enable_mswsock
19657 wine_fn_config_makefile dlls/msxml enable_msxml
19658 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19659 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19660 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19661 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19662 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19663 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19664 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19665 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19666 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19667 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19668 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19669 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19670 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19671 wine_fn_config_makefile dlls/netprofm enable_netprofm
19672 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19673 wine_fn_config_makefile dlls/newdev enable_newdev
19674 wine_fn_config_makefile dlls/ninput enable_ninput
19675 wine_fn_config_makefile dlls/ninput/tests enable_tests
19676 wine_fn_config_makefile dlls/normaliz enable_normaliz
19677 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19678 wine_fn_config_makefile dlls/npptools enable_npptools
19679 wine_fn_config_makefile dlls/ntdll enable_ntdll
19680 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19681 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19682 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19683 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19684 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19685 wine_fn_config_makefile dlls/ntprint enable_ntprint
19686 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19687 wine_fn_config_makefile dlls/objsel enable_objsel
19688 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19689 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19690 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19691 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19692 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19693 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19694 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19695 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19696 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19697 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19698 wine_fn_config_makefile dlls/ole32 enable_ole32
19699 wine_fn_config_makefile dlls/ole32/tests enable_tests
19700 wine_fn_config_makefile dlls/oleacc enable_oleacc
19701 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19702 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19703 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19704 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19705 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19706 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19707 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19708 wine_fn_config_makefile dlls/oledlg enable_oledlg
19709 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19710 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19711 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19712 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19713 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19714 wine_fn_config_makefile dlls/openal32 enable_openal32
19715 wine_fn_config_makefile dlls/opencl enable_opencl
19716 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19717 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19718 wine_fn_config_makefile dlls/packager enable_packager
19719 wine_fn_config_makefile dlls/packager/tests enable_tests
19720 wine_fn_config_makefile dlls/pdh enable_pdh
19721 wine_fn_config_makefile dlls/pdh/tests enable_tests
19722 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19723 wine_fn_config_makefile dlls/pidgen enable_pidgen
19724 wine_fn_config_makefile dlls/powrprof enable_powrprof
19725 wine_fn_config_makefile dlls/printui enable_printui
19726 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19727 wine_fn_config_makefile dlls/propsys enable_propsys
19728 wine_fn_config_makefile dlls/propsys/tests enable_tests
19729 wine_fn_config_makefile dlls/psapi enable_psapi
19730 wine_fn_config_makefile dlls/psapi/tests enable_tests
19731 wine_fn_config_makefile dlls/pstorec enable_pstorec
19732 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19733 wine_fn_config_makefile dlls/qcap enable_qcap
19734 wine_fn_config_makefile dlls/qcap/tests enable_tests
19735 wine_fn_config_makefile dlls/qedit enable_qedit
19736 wine_fn_config_makefile dlls/qedit/tests enable_tests
19737 wine_fn_config_makefile dlls/qmgr enable_qmgr
19738 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19739 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19740 wine_fn_config_makefile dlls/quartz enable_quartz
19741 wine_fn_config_makefile dlls/quartz/tests enable_tests
19742 wine_fn_config_makefile dlls/query enable_query
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/shdoclc enable_shdoclc
19788 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19789 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19790 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19791 wine_fn_config_makefile dlls/shell32 enable_shell32
19792 wine_fn_config_makefile dlls/shell32/tests enable_tests
19793 wine_fn_config_makefile dlls/shfolder enable_shfolder
19794 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19795 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19796 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19797 wine_fn_config_makefile dlls/slc enable_slc
19798 wine_fn_config_makefile dlls/slc/tests enable_tests
19799 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19800 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19801 wine_fn_config_makefile dlls/softpub enable_softpub
19802 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19803 wine_fn_config_makefile dlls/spoolss enable_spoolss
19804 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19805 wine_fn_config_makefile dlls/srclient enable_srclient
19806 wine_fn_config_makefile dlls/sspicli enable_sspicli
19807 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19808 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19809 wine_fn_config_makefile dlls/sti enable_sti
19810 wine_fn_config_makefile dlls/sti/tests enable_tests
19811 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19812 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19813 wine_fn_config_makefile dlls/strmbase enable_strmbase
19814 wine_fn_config_makefile dlls/strmdll enable_strmdll
19815 wine_fn_config_makefile dlls/strmiids enable_strmiids
19816 wine_fn_config_makefile dlls/svrapi enable_svrapi
19817 wine_fn_config_makefile dlls/sxs enable_sxs
19818 wine_fn_config_makefile dlls/sxs/tests enable_tests
19819 wine_fn_config_makefile dlls/system.drv16 enable_win16
19820 wine_fn_config_makefile dlls/t2embed enable_t2embed
19821 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19822 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19823 wine_fn_config_makefile dlls/taskschd enable_taskschd
19824 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19825 wine_fn_config_makefile dlls/tdh enable_tdh
19826 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19827 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19828 wine_fn_config_makefile dlls/traffic enable_traffic
19829 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19830 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19831 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19832 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19833 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19834 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19835 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19836 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19837 wine_fn_config_makefile dlls/unicows enable_unicows
19838 wine_fn_config_makefile dlls/updspapi enable_updspapi
19839 wine_fn_config_makefile dlls/url enable_url
19840 wine_fn_config_makefile dlls/urlmon enable_urlmon
19841 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19842 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19843 wine_fn_config_makefile dlls/user.exe16 enable_win16
19844 wine_fn_config_makefile dlls/user32 enable_user32
19845 wine_fn_config_makefile dlls/user32/tests enable_tests
19846 wine_fn_config_makefile dlls/userenv enable_userenv
19847 wine_fn_config_makefile dlls/userenv/tests enable_tests
19848 wine_fn_config_makefile dlls/usp10 enable_usp10
19849 wine_fn_config_makefile dlls/usp10/tests enable_tests
19850 wine_fn_config_makefile dlls/uuid enable_uuid
19851 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19852 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19853 wine_fn_config_makefile dlls/vbscript enable_vbscript
19854 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19855 wine_fn_config_makefile dlls/vcomp enable_vcomp
19856 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19857 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19858 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19859 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19860 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19861 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19862 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19863 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19864 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19865 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19866 wine_fn_config_makefile dlls/version enable_version
19867 wine_fn_config_makefile dlls/version/tests enable_tests
19868 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19869 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19870 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19871 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19872 wine_fn_config_makefile dlls/vssapi enable_vssapi
19873 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19874 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19875 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19876 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19877 wine_fn_config_makefile dlls/w32skrnl enable_win16
19878 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19879 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19880 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19881 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19882 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19883 wine_fn_config_makefile dlls/wdscore enable_wdscore
19884 wine_fn_config_makefile dlls/webservices enable_webservices
19885 wine_fn_config_makefile dlls/webservices/tests enable_tests
19886 wine_fn_config_makefile dlls/wer enable_wer
19887 wine_fn_config_makefile dlls/wer/tests enable_tests
19888 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19889 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19890 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19891 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19892 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19893 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19894 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19895 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19896 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19897 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19898 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19899 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19900 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19901 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19902 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19903 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19904 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19905 wine_fn_config_makefile dlls/wined3d enable_wined3d
19906 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19907 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19908 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19909 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19910 wine_fn_config_makefile dlls/winemapi enable_winemapi
19911 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19912 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19913 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19914 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19915 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19916 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19917 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19918 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19919 wine_fn_config_makefile dlls/wing32 enable_wing32
19920 wine_fn_config_makefile dlls/winhttp enable_winhttp
19921 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19922 wine_fn_config_makefile dlls/wininet enable_wininet
19923 wine_fn_config_makefile dlls/wininet/tests enable_tests
19924 wine_fn_config_makefile dlls/winmm enable_winmm
19925 wine_fn_config_makefile dlls/winmm/tests enable_tests
19926 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19927 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19928 wine_fn_config_makefile dlls/winscard enable_winscard
19929 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19930 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19931 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19932 wine_fn_config_makefile dlls/winsta enable_winsta
19933 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19934 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19935 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19936 wine_fn_config_makefile dlls/wintrust enable_wintrust
19937 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19938 wine_fn_config_makefile dlls/winusb enable_winusb
19939 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19940 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19941 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19942 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19943 wine_fn_config_makefile dlls/wmasf enable_wmasf
19944 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19945 wine_fn_config_makefile dlls/wmi enable_wmi
19946 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19947 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19948 wine_fn_config_makefile dlls/wmp enable_wmp
19949 wine_fn_config_makefile dlls/wmp/tests enable_tests
19950 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19951 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19952 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19953 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19954 wine_fn_config_makefile dlls/wow32 enable_win16
19955 wine_fn_config_makefile dlls/wpc enable_wpc
19956 wine_fn_config_makefile dlls/wpc/tests enable_tests
19957 wine_fn_config_makefile dlls/wpcap enable_wpcap
19958 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19959 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19960 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19961 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19962 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19963 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19964 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19965 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19966 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19967 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19968 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19969 wine_fn_config_makefile dlls/wuapi enable_wuapi
19970 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19971 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19972 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19973 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19974 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19975 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19976 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19977 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19978 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19979 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19980 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19981 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19982 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19983 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19984 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19985 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19986 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19987 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19988 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19989 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19990 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19991 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19992 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19993 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19994 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19995 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19996 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19997 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19998 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19999 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20000 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20001 wine_fn_config_makefile dlls/xmllite enable_xmllite
20002 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20003 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20004 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20005 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20006 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20007 wine_fn_config_makefile include enable_include
20008 wine_fn_config_makefile libs/port enable_port
20009 wine_fn_config_makefile libs/wine enable_wine
20010 wine_fn_config_makefile libs/wpp enable_wpp
20011 wine_fn_config_makefile loader enable_loader
20012 wine_fn_config_makefile po enable_po
20013 wine_fn_config_makefile programs/arp enable_arp
20014 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20015 wine_fn_config_makefile programs/attrib enable_attrib
20016 wine_fn_config_makefile programs/cabarc enable_cabarc
20017 wine_fn_config_makefile programs/cacls enable_cacls
20018 wine_fn_config_makefile programs/clock enable_clock
20019 wine_fn_config_makefile programs/cmd enable_cmd
20020 wine_fn_config_makefile programs/cmd/tests enable_tests
20021 wine_fn_config_makefile programs/conhost enable_conhost
20022 wine_fn_config_makefile programs/control enable_control
20023 wine_fn_config_makefile programs/cscript enable_cscript
20024 wine_fn_config_makefile programs/dism enable_dism
20025 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20026 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20027 wine_fn_config_makefile programs/eject enable_eject
20028 wine_fn_config_makefile programs/expand enable_expand
20029 wine_fn_config_makefile programs/explorer enable_explorer
20030 wine_fn_config_makefile programs/extrac32 enable_extrac32
20031 wine_fn_config_makefile programs/fc enable_fc
20032 wine_fn_config_makefile programs/find enable_find
20033 wine_fn_config_makefile programs/findstr enable_findstr
20034 wine_fn_config_makefile programs/fsutil enable_fsutil
20035 wine_fn_config_makefile programs/hh enable_hh
20036 wine_fn_config_makefile programs/hostname enable_hostname
20037 wine_fn_config_makefile programs/icacls enable_icacls
20038 wine_fn_config_makefile programs/icinfo enable_icinfo
20039 wine_fn_config_makefile programs/iexplore enable_iexplore
20040 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20041 wine_fn_config_makefile programs/lodctr enable_lodctr
20042 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20043 wine_fn_config_makefile programs/mshta enable_mshta
20044 wine_fn_config_makefile programs/msiexec enable_msiexec
20045 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20046 wine_fn_config_makefile programs/net enable_net
20047 wine_fn_config_makefile programs/netsh enable_netsh
20048 wine_fn_config_makefile programs/netstat enable_netstat
20049 wine_fn_config_makefile programs/ngen enable_ngen
20050 wine_fn_config_makefile programs/notepad enable_notepad
20051 wine_fn_config_makefile programs/oleview enable_oleview
20052 wine_fn_config_makefile programs/ping enable_ping
20053 wine_fn_config_makefile programs/plugplay enable_plugplay
20054 wine_fn_config_makefile programs/powershell enable_powershell
20055 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20056 wine_fn_config_makefile programs/progman enable_progman
20057 wine_fn_config_makefile programs/reg enable_reg
20058 wine_fn_config_makefile programs/reg/tests enable_tests
20059 wine_fn_config_makefile programs/regasm enable_regasm
20060 wine_fn_config_makefile programs/regedit enable_regedit
20061 wine_fn_config_makefile programs/regedit/tests enable_tests
20062 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20063 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20064 wine_fn_config_makefile programs/rpcss enable_rpcss
20065 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20066 wine_fn_config_makefile programs/rundll32 enable_rundll32
20067 wine_fn_config_makefile programs/sc enable_sc
20068 wine_fn_config_makefile programs/schtasks enable_schtasks
20069 wine_fn_config_makefile programs/schtasks/tests enable_tests
20070 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20071 wine_fn_config_makefile programs/secedit enable_secedit
20072 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20073 wine_fn_config_makefile programs/services enable_services
20074 wine_fn_config_makefile programs/services/tests enable_tests
20075 wine_fn_config_makefile programs/shutdown enable_shutdown
20076 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20077 wine_fn_config_makefile programs/start enable_start
20078 wine_fn_config_makefile programs/subst enable_subst
20079 wine_fn_config_makefile programs/svchost enable_svchost
20080 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20081 wine_fn_config_makefile programs/taskkill enable_taskkill
20082 wine_fn_config_makefile programs/tasklist enable_tasklist
20083 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20084 wine_fn_config_makefile programs/termsv enable_termsv
20085 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20086 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20087 wine_fn_config_makefile programs/view enable_view
20088 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20089 wine_fn_config_makefile programs/wineboot enable_wineboot
20090 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20091 wine_fn_config_makefile programs/winecfg enable_winecfg
20092 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20093 wine_fn_config_makefile programs/winedbg enable_winedbg
20094 wine_fn_config_makefile programs/winedevice enable_winedevice
20095 wine_fn_config_makefile programs/winefile enable_winefile
20096 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20097 wine_fn_config_makefile programs/winemine enable_winemine
20098 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20099 wine_fn_config_makefile programs/winepath enable_winepath
20100 wine_fn_config_makefile programs/winetest enable_winetest
20101 wine_fn_config_makefile programs/winevdm enable_win16
20102 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20103 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20104 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20105 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20106 wine_fn_config_makefile programs/winver enable_winver
20107 wine_fn_config_makefile programs/wmic enable_wmic
20108 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20109 wine_fn_config_makefile programs/wordpad enable_wordpad
20110 wine_fn_config_makefile programs/write enable_write
20111 wine_fn_config_makefile programs/wscript enable_wscript
20112 wine_fn_config_makefile programs/wscript/tests enable_tests
20113 wine_fn_config_makefile programs/wusa enable_wusa
20114 wine_fn_config_makefile programs/xcopy enable_xcopy
20115 wine_fn_config_makefile programs/xcopy/tests enable_tests
20116 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20117 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20118 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20119 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20120 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20121 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20122 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20128 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20129 wine_fn_append_file CONFIGURE_TARGETS "tags"
20130 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20131 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20132 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20133 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20134 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20135 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20137 if test "x$enable_tools" != xno
20138 then
20139 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20140 ac_config_commands="$ac_config_commands tools/makedep"
20144 ac_config_commands="$ac_config_commands Makefile"
20147 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20151 if test "x$enable_maintainer_mode" = xyes
20152 then
20153 wine_fn_append_rule "configure: configure.ac aclocal.m4
20154 autoconf --warnings=all
20155 include/config.h.in: include/stamp-h.in
20156 include/stamp-h.in: configure.ac aclocal.m4
20157 autoheader --warnings=all
20158 @echo timestamp > \$@"
20161 if test "x$enable_tools" != xno
20162 then
20163 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20164 @./config.status tools/makedep
20165 Makefile: tools/makedep$ac_exeext
20166 fonts: tools/sfnt2fon
20167 include: tools tools/widl"
20168 else
20169 wine_fn_append_rule "\$(MAKEDEP):
20170 @echo \"You need to run make in $TOOLSDIR first\" && false"
20173 if test -n "$with_wine64"
20174 then
20175 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20176 fonts server:
20177 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20178 $with_wine64/loader/wine:
20179 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20180 $with_wine64/loader/wine-preloader:
20181 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20182 clean::
20183 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20184 else
20185 WINELOADER_INSTALL="wine.inf l_intl.nls"
20187 case $host_os in
20188 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20189 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20190 esac
20193 $as_echo " done" >&6
20194 cat >confcache <<\_ACEOF
20195 # This file is a shell script that caches the results of configure
20196 # tests run on this system so they can be shared between configure
20197 # scripts and configure runs, see configure's option --config-cache.
20198 # It is not useful on other systems. If it contains results you don't
20199 # want to keep, you may remove or edit it.
20201 # config.status only pays attention to the cache file if you give it
20202 # the --recheck option to rerun configure.
20204 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20205 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20206 # following values.
20208 _ACEOF
20210 # The following way of writing the cache mishandles newlines in values,
20211 # but we know of no workaround that is simple, portable, and efficient.
20212 # So, we kill variables containing newlines.
20213 # Ultrix sh set writes to stderr and can't be redirected directly,
20214 # and sets the high bit in the cache file unless we assign to the vars.
20216 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20217 eval ac_val=\$$ac_var
20218 case $ac_val in #(
20219 *${as_nl}*)
20220 case $ac_var in #(
20221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20223 esac
20224 case $ac_var in #(
20225 _ | IFS | as_nl) ;; #(
20226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20227 *) { eval $ac_var=; unset $ac_var;} ;;
20228 esac ;;
20229 esac
20230 done
20232 (set) 2>&1 |
20233 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20234 *${as_nl}ac_space=\ *)
20235 # `set' does not quote correctly, so add quotes: double-quote
20236 # substitution turns \\\\ into \\, and sed turns \\ into \.
20237 sed -n \
20238 "s/'/'\\\\''/g;
20239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20240 ;; #(
20242 # `set' quotes correctly as required by POSIX, so do not add quotes.
20243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20245 esac |
20246 sort
20248 sed '
20249 /^ac_cv_env_/b end
20250 t clear
20251 :clear
20252 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20253 t end
20254 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20255 :end' >>confcache
20256 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20257 if test -w "$cache_file"; then
20258 if test "x$cache_file" != "x/dev/null"; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20260 $as_echo "$as_me: updating cache $cache_file" >&6;}
20261 if test ! -f "$cache_file" || test -h "$cache_file"; then
20262 cat confcache >"$cache_file"
20263 else
20264 case $cache_file in #(
20265 */* | ?:*)
20266 mv -f confcache "$cache_file"$$ &&
20267 mv -f "$cache_file"$$ "$cache_file" ;; #(
20269 mv -f confcache "$cache_file" ;;
20270 esac
20273 else
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20275 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20278 rm -f confcache
20280 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20281 # Let make expand exec_prefix.
20282 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20284 DEFS=-DHAVE_CONFIG_H
20286 ac_libobjs=
20287 ac_ltlibobjs=
20289 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20290 # 1. Remove the extension, and $U if already installed.
20291 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20292 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20293 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20294 # will be set to the directory where LIBOBJS objects are built.
20295 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20296 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20297 done
20298 LIBOBJS=$ac_libobjs
20300 LTLIBOBJS=$ac_ltlibobjs
20304 : "${CONFIG_STATUS=./config.status}"
20305 ac_write_fail=0
20306 ac_clean_files_save=$ac_clean_files
20307 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20309 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20310 as_write_fail=0
20311 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20312 #! $SHELL
20313 # Generated by $as_me.
20314 # Run this file to recreate the current configuration.
20315 # Compiler output produced by configure, useful for debugging
20316 # configure, is in config.log if it exists.
20318 debug=false
20319 ac_cs_recheck=false
20320 ac_cs_silent=false
20322 SHELL=\${CONFIG_SHELL-$SHELL}
20323 export SHELL
20324 _ASEOF
20325 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20326 ## -------------------- ##
20327 ## M4sh Initialization. ##
20328 ## -------------------- ##
20330 # Be more Bourne compatible
20331 DUALCASE=1; export DUALCASE # for MKS sh
20332 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20333 emulate sh
20334 NULLCMD=:
20335 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20336 # is contrary to our usage. Disable this feature.
20337 alias -g '${1+"$@"}'='"$@"'
20338 setopt NO_GLOB_SUBST
20339 else
20340 case `(set -o) 2>/dev/null` in #(
20341 *posix*) :
20342 set -o posix ;; #(
20343 *) :
20345 esac
20349 as_nl='
20351 export as_nl
20352 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20353 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20355 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20356 # Prefer a ksh shell builtin over an external printf program on Solaris,
20357 # but without wasting forks for bash or zsh.
20358 if test -z "$BASH_VERSION$ZSH_VERSION" \
20359 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20360 as_echo='print -r --'
20361 as_echo_n='print -rn --'
20362 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20363 as_echo='printf %s\n'
20364 as_echo_n='printf %s'
20365 else
20366 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20367 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20368 as_echo_n='/usr/ucb/echo -n'
20369 else
20370 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20371 as_echo_n_body='eval
20372 arg=$1;
20373 case $arg in #(
20374 *"$as_nl"*)
20375 expr "X$arg" : "X\\(.*\\)$as_nl";
20376 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20377 esac;
20378 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20380 export as_echo_n_body
20381 as_echo_n='sh -c $as_echo_n_body as_echo'
20383 export as_echo_body
20384 as_echo='sh -c $as_echo_body as_echo'
20387 # The user is always right.
20388 if test "${PATH_SEPARATOR+set}" != set; then
20389 PATH_SEPARATOR=:
20390 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20391 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20392 PATH_SEPARATOR=';'
20397 # IFS
20398 # We need space, tab and new line, in precisely that order. Quoting is
20399 # there to prevent editors from complaining about space-tab.
20400 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20401 # splitting by setting IFS to empty value.)
20402 IFS=" "" $as_nl"
20404 # Find who we are. Look in the path if we contain no directory separator.
20405 as_myself=
20406 case $0 in #((
20407 *[\\/]* ) as_myself=$0 ;;
20408 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20409 for as_dir in $PATH
20411 IFS=$as_save_IFS
20412 test -z "$as_dir" && as_dir=.
20413 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20414 done
20415 IFS=$as_save_IFS
20418 esac
20419 # We did not find ourselves, most probably we were run as `sh COMMAND'
20420 # in which case we are not to be found in the path.
20421 if test "x$as_myself" = x; then
20422 as_myself=$0
20424 if test ! -f "$as_myself"; then
20425 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20426 exit 1
20429 # Unset variables that we do not need and which cause bugs (e.g. in
20430 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20431 # suppresses any "Segmentation fault" message there. '((' could
20432 # trigger a bug in pdksh 5.2.14.
20433 for as_var in BASH_ENV ENV MAIL MAILPATH
20434 do eval test x\${$as_var+set} = xset \
20435 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20436 done
20437 PS1='$ '
20438 PS2='> '
20439 PS4='+ '
20441 # NLS nuisances.
20442 LC_ALL=C
20443 export LC_ALL
20444 LANGUAGE=C
20445 export LANGUAGE
20447 # CDPATH.
20448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20451 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20452 # ----------------------------------------
20453 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20454 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20455 # script with STATUS, using 1 if that was 0.
20456 as_fn_error ()
20458 as_status=$1; test $as_status -eq 0 && as_status=1
20459 if test "$4"; then
20460 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20461 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20463 $as_echo "$as_me: error: $2" >&2
20464 as_fn_exit $as_status
20465 } # as_fn_error
20468 # as_fn_set_status STATUS
20469 # -----------------------
20470 # Set $? to STATUS, without forking.
20471 as_fn_set_status ()
20473 return $1
20474 } # as_fn_set_status
20476 # as_fn_exit STATUS
20477 # -----------------
20478 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20479 as_fn_exit ()
20481 set +e
20482 as_fn_set_status $1
20483 exit $1
20484 } # as_fn_exit
20486 # as_fn_unset VAR
20487 # ---------------
20488 # Portably unset VAR.
20489 as_fn_unset ()
20491 { eval $1=; unset $1;}
20493 as_unset=as_fn_unset
20494 # as_fn_append VAR VALUE
20495 # ----------------------
20496 # Append the text in VALUE to the end of the definition contained in VAR. Take
20497 # advantage of any shell optimizations that allow amortized linear growth over
20498 # repeated appends, instead of the typical quadratic growth present in naive
20499 # implementations.
20500 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20501 eval 'as_fn_append ()
20503 eval $1+=\$2
20505 else
20506 as_fn_append ()
20508 eval $1=\$$1\$2
20510 fi # as_fn_append
20512 # as_fn_arith ARG...
20513 # ------------------
20514 # Perform arithmetic evaluation on the ARGs, and store the result in the
20515 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20516 # must be portable across $(()) and expr.
20517 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20518 eval 'as_fn_arith ()
20520 as_val=$(( $* ))
20522 else
20523 as_fn_arith ()
20525 as_val=`expr "$@" || test $? -eq 1`
20527 fi # as_fn_arith
20530 if expr a : '\(a\)' >/dev/null 2>&1 &&
20531 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20532 as_expr=expr
20533 else
20534 as_expr=false
20537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20538 as_basename=basename
20539 else
20540 as_basename=false
20543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20544 as_dirname=dirname
20545 else
20546 as_dirname=false
20549 as_me=`$as_basename -- "$0" ||
20550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20551 X"$0" : 'X\(//\)$' \| \
20552 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20553 $as_echo X/"$0" |
20554 sed '/^.*\/\([^/][^/]*\)\/*$/{
20555 s//\1/
20558 /^X\/\(\/\/\)$/{
20559 s//\1/
20562 /^X\/\(\/\).*/{
20563 s//\1/
20566 s/.*/./; q'`
20568 # Avoid depending upon Character Ranges.
20569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20572 as_cr_digits='0123456789'
20573 as_cr_alnum=$as_cr_Letters$as_cr_digits
20575 ECHO_C= ECHO_N= ECHO_T=
20576 case `echo -n x` in #(((((
20577 -n*)
20578 case `echo 'xy\c'` in
20579 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20580 xy) ECHO_C='\c';;
20581 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20582 ECHO_T=' ';;
20583 esac;;
20585 ECHO_N='-n';;
20586 esac
20588 rm -f conf$$ conf$$.exe conf$$.file
20589 if test -d conf$$.dir; then
20590 rm -f conf$$.dir/conf$$.file
20591 else
20592 rm -f conf$$.dir
20593 mkdir conf$$.dir 2>/dev/null
20595 if (echo >conf$$.file) 2>/dev/null; then
20596 if ln -s conf$$.file conf$$ 2>/dev/null; then
20597 as_ln_s='ln -s'
20598 # ... but there are two gotchas:
20599 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20600 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20601 # In both cases, we have to default to `cp -pR'.
20602 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20603 as_ln_s='cp -pR'
20604 elif ln conf$$.file conf$$ 2>/dev/null; then
20605 as_ln_s=ln
20606 else
20607 as_ln_s='cp -pR'
20609 else
20610 as_ln_s='cp -pR'
20612 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20613 rmdir conf$$.dir 2>/dev/null
20616 # as_fn_mkdir_p
20617 # -------------
20618 # Create "$as_dir" as a directory, including parents if necessary.
20619 as_fn_mkdir_p ()
20622 case $as_dir in #(
20623 -*) as_dir=./$as_dir;;
20624 esac
20625 test -d "$as_dir" || eval $as_mkdir_p || {
20626 as_dirs=
20627 while :; do
20628 case $as_dir in #(
20629 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20630 *) as_qdir=$as_dir;;
20631 esac
20632 as_dirs="'$as_qdir' $as_dirs"
20633 as_dir=`$as_dirname -- "$as_dir" ||
20634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20635 X"$as_dir" : 'X\(//\)[^/]' \| \
20636 X"$as_dir" : 'X\(//\)$' \| \
20637 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20638 $as_echo X"$as_dir" |
20639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20640 s//\1/
20643 /^X\(\/\/\)[^/].*/{
20644 s//\1/
20647 /^X\(\/\/\)$/{
20648 s//\1/
20651 /^X\(\/\).*/{
20652 s//\1/
20655 s/.*/./; q'`
20656 test -d "$as_dir" && break
20657 done
20658 test -z "$as_dirs" || eval "mkdir $as_dirs"
20659 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20662 } # as_fn_mkdir_p
20663 if mkdir -p . 2>/dev/null; then
20664 as_mkdir_p='mkdir -p "$as_dir"'
20665 else
20666 test -d ./-p && rmdir ./-p
20667 as_mkdir_p=false
20671 # as_fn_executable_p FILE
20672 # -----------------------
20673 # Test if FILE is an executable regular file.
20674 as_fn_executable_p ()
20676 test -f "$1" && test -x "$1"
20677 } # as_fn_executable_p
20678 as_test_x='test -x'
20679 as_executable_p=as_fn_executable_p
20681 # Sed expression to map a string onto a valid CPP name.
20682 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20684 # Sed expression to map a string onto a valid variable name.
20685 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20688 exec 6>&1
20689 ## ----------------------------------- ##
20690 ## Main body of $CONFIG_STATUS script. ##
20691 ## ----------------------------------- ##
20692 _ASEOF
20693 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20696 # Save the log message, to keep $0 and so on meaningful, and to
20697 # report actual input values of CONFIG_FILES etc. instead of their
20698 # values after options handling.
20699 ac_log="
20700 This file was extended by Wine $as_me 3.12, which was
20701 generated by GNU Autoconf 2.69. Invocation command line was
20703 CONFIG_FILES = $CONFIG_FILES
20704 CONFIG_HEADERS = $CONFIG_HEADERS
20705 CONFIG_LINKS = $CONFIG_LINKS
20706 CONFIG_COMMANDS = $CONFIG_COMMANDS
20707 $ $0 $@
20709 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20712 _ACEOF
20714 case $ac_config_files in *"
20715 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20716 esac
20718 case $ac_config_headers in *"
20719 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20720 esac
20723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20724 # Files that config.status was made for.
20725 config_files="$ac_config_files"
20726 config_headers="$ac_config_headers"
20727 config_links="$ac_config_links"
20728 config_commands="$ac_config_commands"
20730 _ACEOF
20732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20733 ac_cs_usage="\
20734 \`$as_me' instantiates files and other configuration actions
20735 from templates according to the current configuration. Unless the files
20736 and actions are specified as TAGs, all are instantiated by default.
20738 Usage: $0 [OPTION]... [TAG]...
20740 -h, --help print this help, then exit
20741 -V, --version print version number and configuration settings, then exit
20742 --config print configuration, then exit
20743 -q, --quiet, --silent
20744 do not print progress messages
20745 -d, --debug don't remove temporary files
20746 --recheck update $as_me by reconfiguring in the same conditions
20747 --file=FILE[:TEMPLATE]
20748 instantiate the configuration file FILE
20749 --header=FILE[:TEMPLATE]
20750 instantiate the configuration header FILE
20752 Configuration files:
20753 $config_files
20755 Configuration headers:
20756 $config_headers
20758 Configuration links:
20759 $config_links
20761 Configuration commands:
20762 $config_commands
20764 Report bugs to <wine-devel@winehq.org>.
20765 Wine home page: <https://www.winehq.org>."
20767 _ACEOF
20768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20769 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20770 ac_cs_version="\\
20771 Wine config.status 3.12
20772 configured by $0, generated by GNU Autoconf 2.69,
20773 with options \\"\$ac_cs_config\\"
20775 Copyright (C) 2012 Free Software Foundation, Inc.
20776 This config.status script is free software; the Free Software Foundation
20777 gives unlimited permission to copy, distribute and modify it."
20779 ac_pwd='$ac_pwd'
20780 srcdir='$srcdir'
20781 test -n "\$AWK" || AWK=awk
20782 _ACEOF
20784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20785 # The default lists apply if the user does not specify any file.
20786 ac_need_defaults=:
20787 while test $# != 0
20789 case $1 in
20790 --*=?*)
20791 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20792 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20793 ac_shift=:
20795 --*=)
20796 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20797 ac_optarg=
20798 ac_shift=:
20801 ac_option=$1
20802 ac_optarg=$2
20803 ac_shift=shift
20805 esac
20807 case $ac_option in
20808 # Handling of the options.
20809 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20810 ac_cs_recheck=: ;;
20811 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20812 $as_echo "$ac_cs_version"; exit ;;
20813 --config | --confi | --conf | --con | --co | --c )
20814 $as_echo "$ac_cs_config"; exit ;;
20815 --debug | --debu | --deb | --de | --d | -d )
20816 debug=: ;;
20817 --file | --fil | --fi | --f )
20818 $ac_shift
20819 case $ac_optarg in
20820 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20821 '') as_fn_error $? "missing file argument" ;;
20822 esac
20823 as_fn_append CONFIG_FILES " '$ac_optarg'"
20824 ac_need_defaults=false;;
20825 --header | --heade | --head | --hea )
20826 $ac_shift
20827 case $ac_optarg in
20828 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20829 esac
20830 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20831 ac_need_defaults=false;;
20832 --he | --h)
20833 # Conflict between --help and --header
20834 as_fn_error $? "ambiguous option: \`$1'
20835 Try \`$0 --help' for more information.";;
20836 --help | --hel | -h )
20837 $as_echo "$ac_cs_usage"; exit ;;
20838 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20839 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20840 ac_cs_silent=: ;;
20842 # This is an error.
20843 -*) as_fn_error $? "unrecognized option: \`$1'
20844 Try \`$0 --help' for more information." ;;
20846 *) as_fn_append ac_config_targets " $1"
20847 ac_need_defaults=false ;;
20849 esac
20850 shift
20851 done
20853 ac_configure_extra_args=
20855 if $ac_cs_silent; then
20856 exec 6>/dev/null
20857 ac_configure_extra_args="$ac_configure_extra_args --silent"
20860 _ACEOF
20861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20862 if \$ac_cs_recheck; then
20863 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20864 shift
20865 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20866 CONFIG_SHELL='$SHELL'
20867 export CONFIG_SHELL
20868 exec "\$@"
20871 _ACEOF
20872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20873 exec 5>>config.log
20875 echo
20876 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20877 ## Running $as_me. ##
20878 _ASBOX
20879 $as_echo "$ac_log"
20880 } >&5
20882 _ACEOF
20883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 # INIT-COMMANDS
20887 wine_fn_output_makedep ()
20889 as_dir=tools; as_fn_mkdir_p
20890 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20892 wine_fn_output_makefile ()
20894 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20895 `cat $wine_rules_file`
20896 _WINE_EOF
20897 as_fn_error $? "could not create Makefile" "$LINENO" 5
20900 _ACEOF
20902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20904 # Handling of arguments.
20905 for ac_config_target in $ac_config_targets
20907 case $ac_config_target in
20908 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20909 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20910 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20911 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20912 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20913 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20914 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20915 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20916 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20917 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20918 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20919 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20920 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20922 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20923 esac
20924 done
20927 # If the user did not use the arguments to specify the items to instantiate,
20928 # then the envvar interface is used. Set only those that are not.
20929 # We use the long form for the default assignment because of an extremely
20930 # bizarre bug on SunOS 4.1.3.
20931 if $ac_need_defaults; then
20932 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20933 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20934 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20935 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20938 # Have a temporary directory for convenience. Make it in the build tree
20939 # simply because there is no reason against having it here, and in addition,
20940 # creating and moving files from /tmp can sometimes cause problems.
20941 # Hook for its removal unless debugging.
20942 # Note that there is a small window in which the directory will not be cleaned:
20943 # after its creation but before its name has been assigned to `$tmp'.
20944 $debug ||
20946 tmp= ac_tmp=
20947 trap 'exit_status=$?
20948 : "${ac_tmp:=$tmp}"
20949 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20951 trap 'as_fn_exit 1' 1 2 13 15
20953 # Create a (secure) tmp directory for tmp files.
20956 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20957 test -d "$tmp"
20958 } ||
20960 tmp=./conf$$-$RANDOM
20961 (umask 077 && mkdir "$tmp")
20962 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20963 ac_tmp=$tmp
20965 # Set up the scripts for CONFIG_FILES section.
20966 # No need to generate them if there are no CONFIG_FILES.
20967 # This happens for instance with `./config.status config.h'.
20968 if test -n "$CONFIG_FILES"; then
20971 ac_cr=`echo X | tr X '\015'`
20972 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20973 # But we know of no other shell where ac_cr would be empty at this
20974 # point, so we can use a bashism as a fallback.
20975 if test "x$ac_cr" = x; then
20976 eval ac_cr=\$\'\\r\'
20978 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20979 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20980 ac_cs_awk_cr='\\r'
20981 else
20982 ac_cs_awk_cr=$ac_cr
20985 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20986 _ACEOF
20990 echo "cat >conf$$subs.awk <<_ACEOF" &&
20991 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20992 echo "_ACEOF"
20993 } >conf$$subs.sh ||
20994 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20995 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20996 ac_delim='%!_!# '
20997 for ac_last_try in false false false false false :; do
20998 . ./conf$$subs.sh ||
20999 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21001 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21002 if test $ac_delim_n = $ac_delim_num; then
21003 break
21004 elif $ac_last_try; then
21005 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21006 else
21007 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21009 done
21010 rm -f conf$$subs.sh
21012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21013 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21014 _ACEOF
21015 sed -n '
21017 s/^/S["/; s/!.*/"]=/
21020 s/^[^!]*!//
21021 :repl
21022 t repl
21023 s/'"$ac_delim"'$//
21024 t delim
21027 s/\(.\{148\}\)..*/\1/
21028 t more1
21029 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21032 b repl
21033 :more1
21034 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21037 s/.\{148\}//
21038 t nl
21039 :delim
21041 s/\(.\{148\}\)..*/\1/
21042 t more2
21043 s/["\\]/\\&/g; s/^/"/; s/$/"/
21046 :more2
21047 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21050 s/.\{148\}//
21051 t delim
21052 ' <conf$$subs.awk | sed '
21053 /^[^""]/{
21055 s/\n//
21057 ' >>$CONFIG_STATUS || ac_write_fail=1
21058 rm -f conf$$subs.awk
21059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21060 _ACAWK
21061 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21062 for (key in S) S_is_set[key] = 1
21063 FS = "\a"
21067 line = $ 0
21068 nfields = split(line, field, "@")
21069 substed = 0
21070 len = length(field[1])
21071 for (i = 2; i < nfields; i++) {
21072 key = field[i]
21073 keylen = length(key)
21074 if (S_is_set[key]) {
21075 value = S[key]
21076 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21077 len += length(value) + length(field[++i])
21078 substed = 1
21079 } else
21080 len += 1 + keylen
21083 print line
21086 _ACAWK
21087 _ACEOF
21088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21089 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21090 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21091 else
21093 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21094 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21095 _ACEOF
21097 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21098 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21099 # trailing colons and then remove the whole line if VPATH becomes empty
21100 # (actually we leave an empty line to preserve line numbers).
21101 if test "x$srcdir" = x.; then
21102 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21104 s///
21105 s/^/:/
21106 s/[ ]*$/:/
21107 s/:\$(srcdir):/:/g
21108 s/:\${srcdir}:/:/g
21109 s/:@srcdir@:/:/g
21110 s/^:*//
21111 s/:*$//
21113 s/\(=[ ]*\).*/\1/
21115 s/\n//
21116 s/^[^=]*=[ ]*$//
21120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21121 fi # test -n "$CONFIG_FILES"
21123 # Set up the scripts for CONFIG_HEADERS section.
21124 # No need to generate them if there are no CONFIG_HEADERS.
21125 # This happens for instance with `./config.status Makefile'.
21126 if test -n "$CONFIG_HEADERS"; then
21127 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21128 BEGIN {
21129 _ACEOF
21131 # Transform confdefs.h into an awk script `defines.awk', embedded as
21132 # here-document in config.status, that substitutes the proper values into
21133 # config.h.in to produce config.h.
21135 # Create a delimiter string that does not exist in confdefs.h, to ease
21136 # handling of long lines.
21137 ac_delim='%!_!# '
21138 for ac_last_try in false false :; do
21139 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21140 if test -z "$ac_tt"; then
21141 break
21142 elif $ac_last_try; then
21143 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21144 else
21145 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21147 done
21149 # For the awk script, D is an array of macro values keyed by name,
21150 # likewise P contains macro parameters if any. Preserve backslash
21151 # newline sequences.
21153 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21154 sed -n '
21155 s/.\{148\}/&'"$ac_delim"'/g
21156 t rset
21157 :rset
21158 s/^[ ]*#[ ]*define[ ][ ]*/ /
21159 t def
21161 :def
21162 s/\\$//
21163 t bsnl
21164 s/["\\]/\\&/g
21165 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21166 D["\1"]=" \3"/p
21167 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21169 :bsnl
21170 s/["\\]/\\&/g
21171 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21172 D["\1"]=" \3\\\\\\n"\\/p
21173 t cont
21174 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21175 t cont
21177 :cont
21179 s/.\{148\}/&'"$ac_delim"'/g
21180 t clear
21181 :clear
21182 s/\\$//
21183 t bsnlc
21184 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21186 :bsnlc
21187 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21188 b cont
21189 ' <confdefs.h | sed '
21190 s/'"$ac_delim"'/"\\\
21191 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21194 for (key in D) D_is_set[key] = 1
21195 FS = "\a"
21197 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21198 line = \$ 0
21199 split(line, arg, " ")
21200 if (arg[1] == "#") {
21201 defundef = arg[2]
21202 mac1 = arg[3]
21203 } else {
21204 defundef = substr(arg[1], 2)
21205 mac1 = arg[2]
21207 split(mac1, mac2, "(") #)
21208 macro = mac2[1]
21209 prefix = substr(line, 1, index(line, defundef) - 1)
21210 if (D_is_set[macro]) {
21211 # Preserve the white space surrounding the "#".
21212 print prefix "define", macro P[macro] D[macro]
21213 next
21214 } else {
21215 # Replace #undef with comments. This is necessary, for example,
21216 # in the case of _POSIX_SOURCE, which is predefined and required
21217 # on some systems where configure will not decide to define it.
21218 if (defundef == "undef") {
21219 print "/*", prefix defundef, macro, "*/"
21220 next
21224 { print }
21225 _ACAWK
21226 _ACEOF
21227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21228 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21229 fi # test -n "$CONFIG_HEADERS"
21232 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21233 shift
21234 for ac_tag
21236 case $ac_tag in
21237 :[FHLC]) ac_mode=$ac_tag; continue;;
21238 esac
21239 case $ac_mode$ac_tag in
21240 :[FHL]*:*);;
21241 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21242 :[FH]-) ac_tag=-:-;;
21243 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21244 esac
21245 ac_save_IFS=$IFS
21246 IFS=:
21247 set x $ac_tag
21248 IFS=$ac_save_IFS
21249 shift
21250 ac_file=$1
21251 shift
21253 case $ac_mode in
21254 :L) ac_source=$1;;
21255 :[FH])
21256 ac_file_inputs=
21257 for ac_f
21259 case $ac_f in
21260 -) ac_f="$ac_tmp/stdin";;
21261 *) # Look for the file first in the build tree, then in the source tree
21262 # (if the path is not absolute). The absolute path cannot be DOS-style,
21263 # because $ac_f cannot contain `:'.
21264 test -f "$ac_f" ||
21265 case $ac_f in
21266 [\\/$]*) false;;
21267 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21268 esac ||
21269 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21270 esac
21271 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21272 as_fn_append ac_file_inputs " '$ac_f'"
21273 done
21275 # Let's still pretend it is `configure' which instantiates (i.e., don't
21276 # use $as_me), people would be surprised to read:
21277 # /* config.h. Generated by config.status. */
21278 configure_input='Generated from '`
21279 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21280 `' by configure.'
21281 if test x"$ac_file" != x-; then
21282 configure_input="$ac_file. $configure_input"
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21284 $as_echo "$as_me: creating $ac_file" >&6;}
21286 # Neutralize special characters interpreted by sed in replacement strings.
21287 case $configure_input in #(
21288 *\&* | *\|* | *\\* )
21289 ac_sed_conf_input=`$as_echo "$configure_input" |
21290 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21291 *) ac_sed_conf_input=$configure_input;;
21292 esac
21294 case $ac_tag in
21295 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21296 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21297 esac
21299 esac
21301 ac_dir=`$as_dirname -- "$ac_file" ||
21302 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21303 X"$ac_file" : 'X\(//\)[^/]' \| \
21304 X"$ac_file" : 'X\(//\)$' \| \
21305 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21306 $as_echo X"$ac_file" |
21307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21308 s//\1/
21311 /^X\(\/\/\)[^/].*/{
21312 s//\1/
21315 /^X\(\/\/\)$/{
21316 s//\1/
21319 /^X\(\/\).*/{
21320 s//\1/
21323 s/.*/./; q'`
21324 as_dir="$ac_dir"; as_fn_mkdir_p
21325 ac_builddir=.
21327 case "$ac_dir" in
21328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21330 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21331 # A ".." for each directory in $ac_dir_suffix.
21332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21333 case $ac_top_builddir_sub in
21334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21336 esac ;;
21337 esac
21338 ac_abs_top_builddir=$ac_pwd
21339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21340 # for backward compatibility:
21341 ac_top_builddir=$ac_top_build_prefix
21343 case $srcdir in
21344 .) # We are building in place.
21345 ac_srcdir=.
21346 ac_top_srcdir=$ac_top_builddir_sub
21347 ac_abs_top_srcdir=$ac_pwd ;;
21348 [\\/]* | ?:[\\/]* ) # Absolute name.
21349 ac_srcdir=$srcdir$ac_dir_suffix;
21350 ac_top_srcdir=$srcdir
21351 ac_abs_top_srcdir=$srcdir ;;
21352 *) # Relative name.
21353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21354 ac_top_srcdir=$ac_top_build_prefix$srcdir
21355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21356 esac
21357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21360 case $ac_mode in
21363 # CONFIG_FILE
21366 _ACEOF
21368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21369 # If the template does not know about datarootdir, expand it.
21370 # FIXME: This hack should be removed a few years after 2.60.
21371 ac_datarootdir_hack=; ac_datarootdir_seen=
21372 ac_sed_dataroot='
21373 /datarootdir/ {
21377 /@datadir@/p
21378 /@docdir@/p
21379 /@infodir@/p
21380 /@localedir@/p
21381 /@mandir@/p'
21382 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21383 *datarootdir*) ac_datarootdir_seen=yes;;
21384 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21386 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21387 _ACEOF
21388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21389 ac_datarootdir_hack='
21390 s&@datadir@&$datadir&g
21391 s&@docdir@&$docdir&g
21392 s&@infodir@&$infodir&g
21393 s&@localedir@&$localedir&g
21394 s&@mandir@&$mandir&g
21395 s&\\\${datarootdir}&$datarootdir&g' ;;
21396 esac
21397 _ACEOF
21399 # Neutralize VPATH when `$srcdir' = `.'.
21400 # Shell code in configure.ac might set extrasub.
21401 # FIXME: do we really want to maintain this feature?
21402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21403 ac_sed_extra="$ac_vpsub
21404 $extrasub
21405 _ACEOF
21406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21409 s|@configure_input@|$ac_sed_conf_input|;t t
21410 s&@top_builddir@&$ac_top_builddir_sub&;t t
21411 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21412 s&@srcdir@&$ac_srcdir&;t t
21413 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21414 s&@top_srcdir@&$ac_top_srcdir&;t t
21415 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21416 s&@builddir@&$ac_builddir&;t t
21417 s&@abs_builddir@&$ac_abs_builddir&;t t
21418 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21419 $ac_datarootdir_hack
21421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21422 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21424 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21425 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21426 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21427 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21429 which seems to be undefined. Please make sure it is defined" >&5
21430 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21431 which seems to be undefined. Please make sure it is defined" >&2;}
21433 rm -f "$ac_tmp/stdin"
21434 case $ac_file in
21435 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21436 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21437 esac \
21438 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21442 # CONFIG_HEADER
21444 if test x"$ac_file" != x-; then
21446 $as_echo "/* $configure_input */" \
21447 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21448 } >"$ac_tmp/config.h" \
21449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21450 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21452 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21453 else
21454 rm -f "$ac_file"
21455 mv "$ac_tmp/config.h" "$ac_file" \
21456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21458 else
21459 $as_echo "/* $configure_input */" \
21460 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21461 || as_fn_error $? "could not create -" "$LINENO" 5
21466 # CONFIG_LINK
21469 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21471 else
21472 # Prefer the file from the source tree if names are identical.
21473 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21474 ac_source=$srcdir/$ac_source
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21478 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21480 if test ! -r "$ac_source"; then
21481 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21483 rm -f "$ac_file"
21485 # Try a relative symlink, then a hard link, then a copy.
21486 case $ac_source in
21487 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21488 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21489 esac
21490 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21491 ln "$ac_source" "$ac_file" 2>/dev/null ||
21492 cp -p "$ac_source" "$ac_file" ||
21493 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21496 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21497 $as_echo "$as_me: executing $ac_file commands" >&6;}
21499 esac
21502 case $ac_file$ac_mode in
21503 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21504 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21505 "Makefile":C) wine_fn_output_makefile Makefile ;;
21507 esac
21508 done # for ac_tag
21511 as_fn_exit 0
21512 _ACEOF
21513 ac_clean_files=$ac_clean_files_save
21515 test $ac_write_fail = 0 ||
21516 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21519 # configure is writing to config.log, and then calls config.status.
21520 # config.status does its own redirection, appending to config.log.
21521 # Unfortunately, on DOS this fails, as config.log is still kept open
21522 # by configure, so config.status won't be able to write to it; its
21523 # output is simply discarded. So we exec the FD to /dev/null,
21524 # effectively closing config.log, so it can be properly (re)opened and
21525 # appended to by config.status. When coming back to configure, we
21526 # need to make the FD available again.
21527 if test "$no_create" != yes; then
21528 ac_cs_success=:
21529 ac_config_status_args=
21530 test "$silent" = yes &&
21531 ac_config_status_args="$ac_config_status_args --quiet"
21532 exec 5>/dev/null
21533 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21534 exec 5>>config.log
21535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21536 # would make configure fail if this is the last instruction.
21537 $ac_cs_success || as_fn_exit 1
21539 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21541 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21545 if test "$no_create" = "yes"
21546 then
21547 exit 0
21550 ac_save_IFS="$IFS"
21551 if test "x$wine_notices" != x; then
21552 echo >&6
21553 IFS="|"
21554 for msg in $wine_notices; do
21555 IFS="$ac_save_IFS"
21556 if ${msg:+false} :; then :
21558 else
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21560 $as_echo "$as_me: $msg" >&6;}
21562 done
21564 IFS="|"
21565 for msg in $wine_warnings; do
21566 IFS="$ac_save_IFS"
21567 if ${msg:+false} :; then :
21569 else
21570 echo >&2
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21572 $as_echo "$as_me: WARNING: $msg" >&2;}
21574 done
21575 IFS="$ac_save_IFS"
21577 $as_echo "
21578 $as_me: Finished. Do '${ac_make}' to compile Wine.
21579 " >&6