winemac: Use fallback implementation for screen dimensions in GetDeviceCaps().
[wine.git] / configure
blob2a611bd00de57bd24b2230a15d7848c8b211179d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.14.
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.14'
584 PACKAGE_STRING='Wine 3.14'
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_0
1049 enable_api_ms_win_devices_config_l1_1_1
1050 enable_api_ms_win_devices_query_l1_1_1
1051 enable_api_ms_win_downlevel_advapi32_l1_1_0
1052 enable_api_ms_win_downlevel_advapi32_l2_1_0
1053 enable_api_ms_win_downlevel_normaliz_l1_1_0
1054 enable_api_ms_win_downlevel_ole32_l1_1_0
1055 enable_api_ms_win_downlevel_shell32_l1_1_0
1056 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1057 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1058 enable_api_ms_win_downlevel_user32_l1_1_0
1059 enable_api_ms_win_downlevel_version_l1_1_0
1060 enable_api_ms_win_dx_d3dkmt_l1_1_0
1061 enable_api_ms_win_eventing_classicprovider_l1_1_0
1062 enable_api_ms_win_eventing_consumer_l1_1_0
1063 enable_api_ms_win_eventing_controller_l1_1_0
1064 enable_api_ms_win_eventing_legacy_l1_1_0
1065 enable_api_ms_win_eventing_provider_l1_1_0
1066 enable_api_ms_win_eventlog_legacy_l1_1_0
1067 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1068 enable_api_ms_win_mm_joystick_l1_1_0
1069 enable_api_ms_win_mm_misc_l1_1_1
1070 enable_api_ms_win_mm_mme_l1_1_0
1071 enable_api_ms_win_mm_time_l1_1_0
1072 enable_api_ms_win_ntuser_dc_access_l1_1_0
1073 enable_api_ms_win_ntuser_rectangle_l1_1_0
1074 enable_api_ms_win_perf_legacy_l1_1_0
1075 enable_api_ms_win_power_base_l1_1_0
1076 enable_api_ms_win_power_setting_l1_1_0
1077 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1078 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1080 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1084 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1085 enable_api_ms_win_security_audit_l1_1_1
1086 enable_api_ms_win_security_base_l1_1_0
1087 enable_api_ms_win_security_base_l1_2_0
1088 enable_api_ms_win_security_base_private_l1_1_1
1089 enable_api_ms_win_security_credentials_l1_1_0
1090 enable_api_ms_win_security_grouppolicy_l1_1_0
1091 enable_api_ms_win_security_lsalookup_l1_1_0
1092 enable_api_ms_win_security_lsalookup_l1_1_1
1093 enable_api_ms_win_security_lsalookup_l2_1_0
1094 enable_api_ms_win_security_lsalookup_l2_1_1
1095 enable_api_ms_win_security_lsapolicy_l1_1_0
1096 enable_api_ms_win_security_provider_l1_1_0
1097 enable_api_ms_win_security_sddl_l1_1_0
1098 enable_api_ms_win_security_systemfunctions_l1_1_0
1099 enable_api_ms_win_service_core_l1_1_0
1100 enable_api_ms_win_service_core_l1_1_1
1101 enable_api_ms_win_service_management_l1_1_0
1102 enable_api_ms_win_service_management_l2_1_0
1103 enable_api_ms_win_service_private_l1_1_1
1104 enable_api_ms_win_service_winsvc_l1_1_0
1105 enable_api_ms_win_service_winsvc_l1_2_0
1106 enable_api_ms_win_shcore_obsolete_l1_1_0
1107 enable_api_ms_win_shcore_scaling_l1_1_1
1108 enable_api_ms_win_shcore_stream_l1_1_0
1109 enable_api_ms_win_shcore_thread_l1_1_0
1110 enable_api_ms_win_shell_shellcom_l1_1_0
1111 enable_api_ms_win_shell_shellfolders_l1_1_0
1112 enable_apphelp
1113 enable_appwiz_cpl
1114 enable_atl
1115 enable_atl100
1116 enable_atl110
1117 enable_atl80
1118 enable_atl90
1119 enable_atmlib
1120 enable_authz
1121 enable_avicap32
1122 enable_avifil32
1123 enable_avrt
1124 enable_bcrypt
1125 enable_bluetoothapis
1126 enable_browseui
1127 enable_bthprops_cpl
1128 enable_cabinet
1129 enable_capi2032
1130 enable_cards
1131 enable_cdosys
1132 enable_cfgmgr32
1133 enable_clusapi
1134 enable_combase
1135 enable_comcat
1136 enable_comctl32
1137 enable_comdlg32
1138 enable_compstui
1139 enable_comsvcs
1140 enable_concrt140
1141 enable_connect
1142 enable_credui
1143 enable_crtdll
1144 enable_crypt32
1145 enable_cryptdlg
1146 enable_cryptdll
1147 enable_cryptext
1148 enable_cryptnet
1149 enable_cryptui
1150 enable_ctapi32
1151 enable_ctl3d32
1152 enable_d2d1
1153 enable_d3d10
1154 enable_d3d10_1
1155 enable_d3d10core
1156 enable_d3d11
1157 enable_d3d12
1158 enable_d3d8
1159 enable_d3d9
1160 enable_d3dcompiler_33
1161 enable_d3dcompiler_34
1162 enable_d3dcompiler_35
1163 enable_d3dcompiler_36
1164 enable_d3dcompiler_37
1165 enable_d3dcompiler_38
1166 enable_d3dcompiler_39
1167 enable_d3dcompiler_40
1168 enable_d3dcompiler_41
1169 enable_d3dcompiler_42
1170 enable_d3dcompiler_43
1171 enable_d3dcompiler_46
1172 enable_d3dcompiler_47
1173 enable_d3dim
1174 enable_d3drm
1175 enable_d3dx10_33
1176 enable_d3dx10_34
1177 enable_d3dx10_35
1178 enable_d3dx10_36
1179 enable_d3dx10_37
1180 enable_d3dx10_38
1181 enable_d3dx10_39
1182 enable_d3dx10_40
1183 enable_d3dx10_41
1184 enable_d3dx10_42
1185 enable_d3dx10_43
1186 enable_d3dx11_42
1187 enable_d3dx11_43
1188 enable_d3dx9_24
1189 enable_d3dx9_25
1190 enable_d3dx9_26
1191 enable_d3dx9_27
1192 enable_d3dx9_28
1193 enable_d3dx9_29
1194 enable_d3dx9_30
1195 enable_d3dx9_31
1196 enable_d3dx9_32
1197 enable_d3dx9_33
1198 enable_d3dx9_34
1199 enable_d3dx9_35
1200 enable_d3dx9_36
1201 enable_d3dx9_37
1202 enable_d3dx9_38
1203 enable_d3dx9_39
1204 enable_d3dx9_40
1205 enable_d3dx9_41
1206 enable_d3dx9_42
1207 enable_d3dx9_43
1208 enable_d3dxof
1209 enable_davclnt
1210 enable_dbgeng
1211 enable_dbghelp
1212 enable_dciman32
1213 enable_ddraw
1214 enable_ddrawex
1215 enable_devenum
1216 enable_dhcpcsvc
1217 enable_dhtmled_ocx
1218 enable_difxapi
1219 enable_dinput
1220 enable_dinput8
1221 enable_dispex
1222 enable_dmband
1223 enable_dmcompos
1224 enable_dmime
1225 enable_dmloader
1226 enable_dmoguids
1227 enable_dmscript
1228 enable_dmstyle
1229 enable_dmsynth
1230 enable_dmusic
1231 enable_dmusic32
1232 enable_dnsapi
1233 enable_dplay
1234 enable_dplayx
1235 enable_dpnaddr
1236 enable_dpnet
1237 enable_dpnhpast
1238 enable_dpnlobby
1239 enable_dpvoice
1240 enable_dpwsockx
1241 enable_drmclien
1242 enable_dsound
1243 enable_dsquery
1244 enable_dssenh
1245 enable_dswave
1246 enable_dwmapi
1247 enable_dwrite
1248 enable_dx8vb
1249 enable_dxdiagn
1250 enable_dxerr8
1251 enable_dxerr9
1252 enable_dxgi
1253 enable_dxguid
1254 enable_dxva2
1255 enable_esent
1256 enable_evr
1257 enable_explorerframe
1258 enable_ext_ms_win_authz_context_l1_1_0
1259 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1260 enable_ext_ms_win_dwmapi_ext_l1_1_0
1261 enable_ext_ms_win_gdi_dc_create_l1_1_1
1262 enable_ext_ms_win_gdi_dc_l1_2_0
1263 enable_ext_ms_win_gdi_devcaps_l1_1_0
1264 enable_ext_ms_win_gdi_draw_l1_1_1
1265 enable_ext_ms_win_gdi_render_l1_1_0
1266 enable_ext_ms_win_kernel32_package_current_l1_1_0
1267 enable_ext_ms_win_kernel32_package_l1_1_1
1268 enable_ext_ms_win_ntuser_draw_l1_1_0
1269 enable_ext_ms_win_ntuser_gui_l1_3_0
1270 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1271 enable_ext_ms_win_ntuser_message_l1_1_1
1272 enable_ext_ms_win_ntuser_misc_l1_5_1
1273 enable_ext_ms_win_ntuser_mouse_l1_1_0
1274 enable_ext_ms_win_ntuser_private_l1_1_1
1275 enable_ext_ms_win_ntuser_private_l1_3_1
1276 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1277 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1278 enable_ext_ms_win_ntuser_window_l1_1_1
1279 enable_ext_ms_win_ntuser_window_l1_1_4
1280 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1281 enable_ext_ms_win_oleacc_l1_1_0
1282 enable_ext_ms_win_ras_rasapi32_l1_1_0
1283 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1284 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1285 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1286 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1287 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1288 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1290 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1293 enable_ext_ms_win_security_credui_l1_1_0
1294 enable_ext_ms_win_security_cryptui_l1_1_0
1295 enable_ext_ms_win_uxtheme_themes_l1_1_0
1296 enable_faultrep
1297 enable_feclient
1298 enable_fltlib
1299 enable_fltmgr_sys
1300 enable_fntcache
1301 enable_fontsub
1302 enable_fusion
1303 enable_fwpuclnt
1304 enable_gameux
1305 enable_gdi32
1306 enable_gdiplus
1307 enable_glu32
1308 enable_gphoto2_ds
1309 enable_gpkcsp
1310 enable_hal
1311 enable_hhctrl_ocx
1312 enable_hid
1313 enable_hidclass_sys
1314 enable_hlink
1315 enable_hnetcfg
1316 enable_httpapi
1317 enable_iccvid
1318 enable_icmp
1319 enable_ieframe
1320 enable_ieproxy
1321 enable_imaadp32_acm
1322 enable_imagehlp
1323 enable_imm32
1324 enable_inetcomm
1325 enable_inetcpl_cpl
1326 enable_inetmib1
1327 enable_infosoft
1328 enable_initpki
1329 enable_inkobj
1330 enable_inseng
1331 enable_iphlpapi
1332 enable_iprop
1333 enable_irprops_cpl
1334 enable_itircl
1335 enable_itss
1336 enable_joy_cpl
1337 enable_jscript
1338 enable_jsproxy
1339 enable_kerberos
1340 enable_kernel32
1341 enable_kernelbase
1342 enable_ksuser
1343 enable_ktmw32
1344 enable_l3codeca_acm
1345 enable_loadperf
1346 enable_localspl
1347 enable_localui
1348 enable_lz32
1349 enable_mapi32
1350 enable_mapistub
1351 enable_mciavi32
1352 enable_mcicda
1353 enable_mciqtz32
1354 enable_mciseq
1355 enable_mciwave
1356 enable_mf
1357 enable_mf3216
1358 enable_mfplat
1359 enable_mfreadwrite
1360 enable_mfuuid
1361 enable_mgmtapi
1362 enable_midimap
1363 enable_mlang
1364 enable_mmcndmgr
1365 enable_mmdevapi
1366 enable_mountmgr_sys
1367 enable_mp3dmod
1368 enable_mpr
1369 enable_mprapi
1370 enable_msacm32_drv
1371 enable_msacm32
1372 enable_msadp32_acm
1373 enable_msasn1
1374 enable_mscat32
1375 enable_mscms
1376 enable_mscoree
1377 enable_msctf
1378 enable_msctfp
1379 enable_msdaps
1380 enable_msdelta
1381 enable_msdmo
1382 enable_msdrm
1383 enable_msftedit
1384 enable_msg711_acm
1385 enable_msgsm32_acm
1386 enable_mshtml_tlb
1387 enable_mshtml
1388 enable_msi
1389 enable_msident
1390 enable_msimg32
1391 enable_msimsg
1392 enable_msimtf
1393 enable_msisip
1394 enable_msisys_ocx
1395 enable_msls31
1396 enable_msnet32
1397 enable_mspatcha
1398 enable_msports
1399 enable_msrle32
1400 enable_msscript_ocx
1401 enable_mssign32
1402 enable_mssip32
1403 enable_mstask
1404 enable_msvcirt
1405 enable_msvcm80
1406 enable_msvcm90
1407 enable_msvcp100
1408 enable_msvcp110
1409 enable_msvcp120
1410 enable_msvcp120_app
1411 enable_msvcp140
1412 enable_msvcp60
1413 enable_msvcp70
1414 enable_msvcp71
1415 enable_msvcp80
1416 enable_msvcp90
1417 enable_msvcr100
1418 enable_msvcr110
1419 enable_msvcr120
1420 enable_msvcr120_app
1421 enable_msvcr70
1422 enable_msvcr71
1423 enable_msvcr80
1424 enable_msvcr90
1425 enable_msvcrt
1426 enable_msvcrt20
1427 enable_msvcrt40
1428 enable_msvcrtd
1429 enable_msvfw32
1430 enable_msvidc32
1431 enable_mswsock
1432 enable_msxml
1433 enable_msxml2
1434 enable_msxml3
1435 enable_msxml4
1436 enable_msxml6
1437 enable_mtxdm
1438 enable_ncrypt
1439 enable_nddeapi
1440 enable_ndis_sys
1441 enable_netapi32
1442 enable_netcfgx
1443 enable_netprofm
1444 enable_newdev
1445 enable_ninput
1446 enable_normaliz
1447 enable_npmshtml
1448 enable_npptools
1449 enable_ntdll
1450 enable_ntdsapi
1451 enable_ntoskrnl_exe
1452 enable_ntprint
1453 enable_objsel
1454 enable_odbc32
1455 enable_odbccp32
1456 enable_odbccu32
1457 enable_ole32
1458 enable_oleacc
1459 enable_oleaut32
1460 enable_olecli32
1461 enable_oledb32
1462 enable_oledlg
1463 enable_olepro32
1464 enable_olesvr32
1465 enable_olethk32
1466 enable_openal32
1467 enable_opencl
1468 enable_opengl32
1469 enable_packager
1470 enable_pdh
1471 enable_photometadatahandler
1472 enable_pidgen
1473 enable_powrprof
1474 enable_printui
1475 enable_prntvpt
1476 enable_propsys
1477 enable_psapi
1478 enable_pstorec
1479 enable_qcap
1480 enable_qedit
1481 enable_qmgr
1482 enable_qmgrprxy
1483 enable_quartz
1484 enable_query
1485 enable_rasapi32
1486 enable_rasdlg
1487 enable_regapi
1488 enable_resutils
1489 enable_riched20
1490 enable_riched32
1491 enable_rpcrt4
1492 enable_rsabase
1493 enable_rsaenh
1494 enable_rstrtmgr
1495 enable_rtutils
1496 enable_samlib
1497 enable_sane_ds
1498 enable_sapi
1499 enable_sas
1500 enable_scarddlg
1501 enable_sccbase
1502 enable_schannel
1503 enable_schedsvc
1504 enable_scrobj
1505 enable_scrrun
1506 enable_scsiport_sys
1507 enable_secur32
1508 enable_security
1509 enable_sensapi
1510 enable_serialui
1511 enable_setupapi
1512 enable_sfc
1513 enable_sfc_os
1514 enable_shcore
1515 enable_shdoclc
1516 enable_shdocvw
1517 enable_shell32
1518 enable_shfolder
1519 enable_shlwapi
1520 enable_slbcsp
1521 enable_slc
1522 enable_snmpapi
1523 enable_softpub
1524 enable_spoolss
1525 enable_srclient
1526 enable_sspicli
1527 enable_stdole2_tlb
1528 enable_stdole32_tlb
1529 enable_sti
1530 enable_strmbase
1531 enable_strmdll
1532 enable_strmiids
1533 enable_svrapi
1534 enable_sxs
1535 enable_t2embed
1536 enable_tapi32
1537 enable_taskschd
1538 enable_tdh
1539 enable_tdi_sys
1540 enable_traffic
1541 enable_twain_32
1542 enable_ucrtbase
1543 enable_uiautomationcore
1544 enable_uiribbon
1545 enable_unicows
1546 enable_updspapi
1547 enable_url
1548 enable_urlmon
1549 enable_usbd_sys
1550 enable_user32
1551 enable_userenv
1552 enable_usp10
1553 enable_uuid
1554 enable_uxtheme
1555 enable_vbscript
1556 enable_vcomp
1557 enable_vcomp100
1558 enable_vcomp110
1559 enable_vcomp120
1560 enable_vcomp140
1561 enable_vcomp90
1562 enable_vcruntime140
1563 enable_vdmdbg
1564 enable_version
1565 enable_virtdisk
1566 enable_vssapi
1567 enable_vulkan_1
1568 enable_wbemdisp
1569 enable_wbemprox
1570 enable_wdscore
1571 enable_webservices
1572 enable_wer
1573 enable_wevtapi
1574 enable_wiaservc
1575 enable_wimgapi
1576 enable_windowscodecs
1577 enable_windowscodecsext
1578 enable_winealsa_drv
1579 enable_wineandroid_drv
1580 enable_winebus_sys
1581 enable_winecoreaudio_drv
1582 enable_winecrt0
1583 enable_wined3d
1584 enable_winegstreamer
1585 enable_winehid_sys
1586 enable_winejoystick_drv
1587 enable_winemac_drv
1588 enable_winemapi
1589 enable_wineoss_drv
1590 enable_wineps_drv
1591 enable_winepulse_drv
1592 enable_wineqtdecoder
1593 enable_winevulkan
1594 enable_winex11_drv
1595 enable_wing32
1596 enable_winhttp
1597 enable_wininet
1598 enable_winmm
1599 enable_winnls32
1600 enable_winscard
1601 enable_winspool_drv
1602 enable_winsta
1603 enable_wintab32
1604 enable_wintrust
1605 enable_winusb
1606 enable_wlanapi
1607 enable_wldap32
1608 enable_wmasf
1609 enable_wmcodecdspuuid
1610 enable_wmi
1611 enable_wmiutils
1612 enable_wmp
1613 enable_wmphoto
1614 enable_wmvcore
1615 enable_wnaspi32
1616 enable_wpc
1617 enable_wpcap
1618 enable_ws2_32
1619 enable_wsdapi
1620 enable_wshom_ocx
1621 enable_wsnmp32
1622 enable_wsock32
1623 enable_wtsapi32
1624 enable_wuapi
1625 enable_wuaueng
1626 enable_x3daudio1_0
1627 enable_x3daudio1_1
1628 enable_x3daudio1_2
1629 enable_x3daudio1_3
1630 enable_x3daudio1_4
1631 enable_x3daudio1_5
1632 enable_x3daudio1_6
1633 enable_x3daudio1_7
1634 enable_xapofx1_1
1635 enable_xapofx1_2
1636 enable_xapofx1_3
1637 enable_xapofx1_4
1638 enable_xapofx1_5
1639 enable_xaudio2_0
1640 enable_xaudio2_1
1641 enable_xaudio2_2
1642 enable_xaudio2_3
1643 enable_xaudio2_4
1644 enable_xaudio2_5
1645 enable_xaudio2_6
1646 enable_xaudio2_7
1647 enable_xaudio2_8
1648 enable_xaudio2_9
1649 enable_xinput1_1
1650 enable_xinput1_2
1651 enable_xinput1_3
1652 enable_xinput1_4
1653 enable_xinput9_1_0
1654 enable_xmllite
1655 enable_xolehlp
1656 enable_xpsprint
1657 enable_xpssvcs
1658 enable_fonts
1659 enable_include
1660 enable_port
1661 enable_wine
1662 enable_wpp
1663 enable_loader
1664 enable_po
1665 enable_arp
1666 enable_aspnet_regiis
1667 enable_attrib
1668 enable_cabarc
1669 enable_cacls
1670 enable_clock
1671 enable_cmd
1672 enable_conhost
1673 enable_control
1674 enable_cscript
1675 enable_dism
1676 enable_dpnsvr
1677 enable_dxdiag
1678 enable_eject
1679 enable_expand
1680 enable_explorer
1681 enable_extrac32
1682 enable_fc
1683 enable_find
1684 enable_findstr
1685 enable_fsutil
1686 enable_hh
1687 enable_hostname
1688 enable_icacls
1689 enable_icinfo
1690 enable_iexplore
1691 enable_ipconfig
1692 enable_lodctr
1693 enable_mofcomp
1694 enable_mshta
1695 enable_msiexec
1696 enable_msinfo32
1697 enable_net
1698 enable_netsh
1699 enable_netstat
1700 enable_ngen
1701 enable_notepad
1702 enable_oleview
1703 enable_ping
1704 enable_plugplay
1705 enable_powershell
1706 enable_presentationfontcache
1707 enable_progman
1708 enable_reg
1709 enable_regasm
1710 enable_regedit
1711 enable_regsvcs
1712 enable_regsvr32
1713 enable_rpcss
1714 enable_rundll32
1715 enable_sc
1716 enable_schtasks
1717 enable_sdbinst
1718 enable_secedit
1719 enable_servicemodelreg
1720 enable_services
1721 enable_shutdown
1722 enable_spoolsv
1723 enable_start
1724 enable_subst
1725 enable_svchost
1726 enable_systeminfo
1727 enable_taskkill
1728 enable_tasklist
1729 enable_taskmgr
1730 enable_termsv
1731 enable_uninstaller
1732 enable_unlodctr
1733 enable_view
1734 enable_wevtutil
1735 enable_wineboot
1736 enable_winebrowser
1737 enable_winecfg
1738 enable_wineconsole
1739 enable_winedbg
1740 enable_winedevice
1741 enable_winefile
1742 enable_winemenubuilder
1743 enable_winemine
1744 enable_winemsibuilder
1745 enable_winepath
1746 enable_winetest
1747 enable_winhlp32
1748 enable_winmgmt
1749 enable_winver
1750 enable_wmic
1751 enable_wmplayer
1752 enable_wordpad
1753 enable_write
1754 enable_wscript
1755 enable_wusa
1756 enable_xcopy
1757 enable_server
1758 enable_tools
1759 enable_sfnt2fon
1760 enable_widl
1761 enable_winebuild
1762 enable_winedump
1763 enable_winegcc
1764 enable_winemaker
1765 enable_wmc
1766 enable_wrc
1768 ac_precious_vars='build_alias
1769 host_alias
1770 target_alias
1772 CFLAGS
1773 LDFLAGS
1774 LIBS
1775 CPPFLAGS
1777 CXXFLAGS
1780 OBJC
1781 OBJCFLAGS
1782 OBJCPP
1783 XMKMF
1784 XML2_CFLAGS
1785 XML2_LIBS
1786 XSLT_CFLAGS
1787 XSLT_LIBS
1788 DBUS_CFLAGS
1789 DBUS_LIBS
1790 HAL_CFLAGS
1791 HAL_LIBS
1792 GNUTLS_CFLAGS
1793 GNUTLS_LIBS
1794 SANE_CFLAGS
1795 SANE_LIBS
1796 GPHOTO2_CFLAGS
1797 GPHOTO2_LIBS
1798 GPHOTO2_PORT_CFLAGS
1799 GPHOTO2_PORT_LIBS
1800 LCMS2_CFLAGS
1801 LCMS2_LIBS
1802 FREETYPE_CFLAGS
1803 FREETYPE_LIBS
1804 PULSE_CFLAGS
1805 PULSE_LIBS
1806 GSTREAMER_CFLAGS
1807 GSTREAMER_LIBS
1808 UDEV_CFLAGS
1809 UDEV_LIBS
1810 SDL2_CFLAGS
1811 SDL2_LIBS
1812 CAPI20_CFLAGS
1813 CAPI20_LIBS
1814 CUPS_CFLAGS
1815 CUPS_LIBS
1816 FONTCONFIG_CFLAGS
1817 FONTCONFIG_LIBS
1818 KRB5_CFLAGS
1819 KRB5_LIBS
1820 GSSAPI_CFLAGS
1821 GSSAPI_LIBS
1822 JPEG_CFLAGS
1823 JPEG_LIBS
1824 PNG_CFLAGS
1825 PNG_LIBS
1826 TIFF_CFLAGS
1827 TIFF_LIBS
1828 MPG123_CFLAGS
1829 MPG123_LIBS
1830 NETAPI_CFLAGS
1831 NETAPI_LIBS
1832 VKD3D_CFLAGS
1833 VKD3D_LIBS
1834 LDAP_CFLAGS
1835 LDAP_LIBS'
1838 # Initialize some variables set by options.
1839 ac_init_help=
1840 ac_init_version=false
1841 ac_unrecognized_opts=
1842 ac_unrecognized_sep=
1843 # The variables have the same names as the options, with
1844 # dashes changed to underlines.
1845 cache_file=/dev/null
1846 exec_prefix=NONE
1847 no_create=
1848 no_recursion=
1849 prefix=NONE
1850 program_prefix=NONE
1851 program_suffix=NONE
1852 program_transform_name=s,x,x,
1853 silent=
1854 site=
1855 srcdir=
1856 verbose=
1857 x_includes=NONE
1858 x_libraries=NONE
1860 # Installation directory options.
1861 # These are left unexpanded so users can "make install exec_prefix=/foo"
1862 # and all the variables that are supposed to be based on exec_prefix
1863 # by default will actually change.
1864 # Use braces instead of parens because sh, perl, etc. also accept them.
1865 # (The list follows the same order as the GNU Coding Standards.)
1866 bindir='${exec_prefix}/bin'
1867 sbindir='${exec_prefix}/sbin'
1868 libexecdir='${exec_prefix}/libexec'
1869 datarootdir='${prefix}/share'
1870 datadir='${datarootdir}'
1871 sysconfdir='${prefix}/etc'
1872 sharedstatedir='${prefix}/com'
1873 localstatedir='${prefix}/var'
1874 runstatedir='${localstatedir}/run'
1875 includedir='${prefix}/include'
1876 oldincludedir='/usr/include'
1877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1878 infodir='${datarootdir}/info'
1879 htmldir='${docdir}'
1880 dvidir='${docdir}'
1881 pdfdir='${docdir}'
1882 psdir='${docdir}'
1883 libdir='${exec_prefix}/lib'
1884 localedir='${datarootdir}/locale'
1885 mandir='${datarootdir}/man'
1887 ac_prev=
1888 ac_dashdash=
1889 for ac_option
1891 # If the previous option needs an argument, assign it.
1892 if test -n "$ac_prev"; then
1893 eval $ac_prev=\$ac_option
1894 ac_prev=
1895 continue
1898 case $ac_option in
1899 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1900 *=) ac_optarg= ;;
1901 *) ac_optarg=yes ;;
1902 esac
1904 # Accept the important Cygnus configure options, so we can diagnose typos.
1906 case $ac_dashdash$ac_option in
1908 ac_dashdash=yes ;;
1910 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1911 ac_prev=bindir ;;
1912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1913 bindir=$ac_optarg ;;
1915 -build | --build | --buil | --bui | --bu)
1916 ac_prev=build_alias ;;
1917 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1918 build_alias=$ac_optarg ;;
1920 -cache-file | --cache-file | --cache-fil | --cache-fi \
1921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1922 ac_prev=cache_file ;;
1923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1925 cache_file=$ac_optarg ;;
1927 --config-cache | -C)
1928 cache_file=config.cache ;;
1930 -datadir | --datadir | --datadi | --datad)
1931 ac_prev=datadir ;;
1932 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1933 datadir=$ac_optarg ;;
1935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1936 | --dataroo | --dataro | --datar)
1937 ac_prev=datarootdir ;;
1938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1940 datarootdir=$ac_optarg ;;
1942 -disable-* | --disable-*)
1943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1944 # Reject names that are not valid shell variable names.
1945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1946 as_fn_error $? "invalid feature name: $ac_useropt"
1947 ac_useropt_orig=$ac_useropt
1948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1949 case $ac_user_opts in
1951 "enable_$ac_useropt"
1952 "*) ;;
1953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1954 ac_unrecognized_sep=', ';;
1955 esac
1956 eval enable_$ac_useropt=no ;;
1958 -docdir | --docdir | --docdi | --doc | --do)
1959 ac_prev=docdir ;;
1960 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1961 docdir=$ac_optarg ;;
1963 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1964 ac_prev=dvidir ;;
1965 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1966 dvidir=$ac_optarg ;;
1968 -enable-* | --enable-*)
1969 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1970 # Reject names that are not valid shell variable names.
1971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1972 as_fn_error $? "invalid feature name: $ac_useropt"
1973 ac_useropt_orig=$ac_useropt
1974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1975 case $ac_user_opts in
1977 "enable_$ac_useropt"
1978 "*) ;;
1979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1980 ac_unrecognized_sep=', ';;
1981 esac
1982 eval enable_$ac_useropt=\$ac_optarg ;;
1984 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1985 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1986 | --exec | --exe | --ex)
1987 ac_prev=exec_prefix ;;
1988 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1989 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1990 | --exec=* | --exe=* | --ex=*)
1991 exec_prefix=$ac_optarg ;;
1993 -gas | --gas | --ga | --g)
1994 # Obsolete; use --with-gas.
1995 with_gas=yes ;;
1997 -help | --help | --hel | --he | -h)
1998 ac_init_help=long ;;
1999 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2000 ac_init_help=recursive ;;
2001 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2002 ac_init_help=short ;;
2004 -host | --host | --hos | --ho)
2005 ac_prev=host_alias ;;
2006 -host=* | --host=* | --hos=* | --ho=*)
2007 host_alias=$ac_optarg ;;
2009 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2010 ac_prev=htmldir ;;
2011 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2012 | --ht=*)
2013 htmldir=$ac_optarg ;;
2015 -includedir | --includedir | --includedi | --included | --include \
2016 | --includ | --inclu | --incl | --inc)
2017 ac_prev=includedir ;;
2018 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2019 | --includ=* | --inclu=* | --incl=* | --inc=*)
2020 includedir=$ac_optarg ;;
2022 -infodir | --infodir | --infodi | --infod | --info | --inf)
2023 ac_prev=infodir ;;
2024 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2025 infodir=$ac_optarg ;;
2027 -libdir | --libdir | --libdi | --libd)
2028 ac_prev=libdir ;;
2029 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2030 libdir=$ac_optarg ;;
2032 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2033 | --libexe | --libex | --libe)
2034 ac_prev=libexecdir ;;
2035 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2036 | --libexe=* | --libex=* | --libe=*)
2037 libexecdir=$ac_optarg ;;
2039 -localedir | --localedir | --localedi | --localed | --locale)
2040 ac_prev=localedir ;;
2041 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2042 localedir=$ac_optarg ;;
2044 -localstatedir | --localstatedir | --localstatedi | --localstated \
2045 | --localstate | --localstat | --localsta | --localst | --locals)
2046 ac_prev=localstatedir ;;
2047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2048 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2049 localstatedir=$ac_optarg ;;
2051 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2052 ac_prev=mandir ;;
2053 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2054 mandir=$ac_optarg ;;
2056 -nfp | --nfp | --nf)
2057 # Obsolete; use --without-fp.
2058 with_fp=no ;;
2060 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2061 | --no-cr | --no-c | -n)
2062 no_create=yes ;;
2064 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2065 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2066 no_recursion=yes ;;
2068 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2069 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2070 | --oldin | --oldi | --old | --ol | --o)
2071 ac_prev=oldincludedir ;;
2072 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2073 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2074 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2075 oldincludedir=$ac_optarg ;;
2077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2078 ac_prev=prefix ;;
2079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2080 prefix=$ac_optarg ;;
2082 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2083 | --program-pre | --program-pr | --program-p)
2084 ac_prev=program_prefix ;;
2085 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2086 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2087 program_prefix=$ac_optarg ;;
2089 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2090 | --program-suf | --program-su | --program-s)
2091 ac_prev=program_suffix ;;
2092 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2093 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2094 program_suffix=$ac_optarg ;;
2096 -program-transform-name | --program-transform-name \
2097 | --program-transform-nam | --program-transform-na \
2098 | --program-transform-n | --program-transform- \
2099 | --program-transform | --program-transfor \
2100 | --program-transfo | --program-transf \
2101 | --program-trans | --program-tran \
2102 | --progr-tra | --program-tr | --program-t)
2103 ac_prev=program_transform_name ;;
2104 -program-transform-name=* | --program-transform-name=* \
2105 | --program-transform-nam=* | --program-transform-na=* \
2106 | --program-transform-n=* | --program-transform-=* \
2107 | --program-transform=* | --program-transfor=* \
2108 | --program-transfo=* | --program-transf=* \
2109 | --program-trans=* | --program-tran=* \
2110 | --progr-tra=* | --program-tr=* | --program-t=*)
2111 program_transform_name=$ac_optarg ;;
2113 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2114 ac_prev=pdfdir ;;
2115 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2116 pdfdir=$ac_optarg ;;
2118 -psdir | --psdir | --psdi | --psd | --ps)
2119 ac_prev=psdir ;;
2120 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2121 psdir=$ac_optarg ;;
2123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2124 | -silent | --silent | --silen | --sile | --sil)
2125 silent=yes ;;
2127 -runstatedir | --runstatedir | --runstatedi | --runstated \
2128 | --runstate | --runstat | --runsta | --runst | --runs \
2129 | --run | --ru | --r)
2130 ac_prev=runstatedir ;;
2131 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2132 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2133 | --run=* | --ru=* | --r=*)
2134 runstatedir=$ac_optarg ;;
2136 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2137 ac_prev=sbindir ;;
2138 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2139 | --sbi=* | --sb=*)
2140 sbindir=$ac_optarg ;;
2142 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2143 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2144 | --sharedst | --shareds | --shared | --share | --shar \
2145 | --sha | --sh)
2146 ac_prev=sharedstatedir ;;
2147 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2148 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2149 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2150 | --sha=* | --sh=*)
2151 sharedstatedir=$ac_optarg ;;
2153 -site | --site | --sit)
2154 ac_prev=site ;;
2155 -site=* | --site=* | --sit=*)
2156 site=$ac_optarg ;;
2158 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2159 ac_prev=srcdir ;;
2160 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2161 srcdir=$ac_optarg ;;
2163 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2164 | --syscon | --sysco | --sysc | --sys | --sy)
2165 ac_prev=sysconfdir ;;
2166 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2167 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2168 sysconfdir=$ac_optarg ;;
2170 -target | --target | --targe | --targ | --tar | --ta | --t)
2171 ac_prev=target_alias ;;
2172 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2173 target_alias=$ac_optarg ;;
2175 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2176 verbose=yes ;;
2178 -version | --version | --versio | --versi | --vers | -V)
2179 ac_init_version=: ;;
2181 -with-* | --with-*)
2182 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2183 # Reject names that are not valid shell variable names.
2184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2185 as_fn_error $? "invalid package name: $ac_useropt"
2186 ac_useropt_orig=$ac_useropt
2187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2188 case $ac_user_opts in
2190 "with_$ac_useropt"
2191 "*) ;;
2192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2193 ac_unrecognized_sep=', ';;
2194 esac
2195 eval with_$ac_useropt=\$ac_optarg ;;
2197 -without-* | --without-*)
2198 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2199 # Reject names that are not valid shell variable names.
2200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2201 as_fn_error $? "invalid package name: $ac_useropt"
2202 ac_useropt_orig=$ac_useropt
2203 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2204 case $ac_user_opts in
2206 "with_$ac_useropt"
2207 "*) ;;
2208 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2209 ac_unrecognized_sep=', ';;
2210 esac
2211 eval with_$ac_useropt=no ;;
2213 --x)
2214 # Obsolete; use --with-x.
2215 with_x=yes ;;
2217 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2218 | --x-incl | --x-inc | --x-in | --x-i)
2219 ac_prev=x_includes ;;
2220 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2221 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2222 x_includes=$ac_optarg ;;
2224 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2225 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2226 ac_prev=x_libraries ;;
2227 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2228 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2229 x_libraries=$ac_optarg ;;
2231 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2232 Try \`$0 --help' for more information"
2235 *=*)
2236 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2237 # Reject names that are not valid shell variable names.
2238 case $ac_envvar in #(
2239 '' | [0-9]* | *[!_$as_cr_alnum]* )
2240 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2241 esac
2242 eval $ac_envvar=\$ac_optarg
2243 export $ac_envvar ;;
2246 # FIXME: should be removed in autoconf 3.0.
2247 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2249 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2250 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2253 esac
2254 done
2256 if test -n "$ac_prev"; then
2257 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2258 as_fn_error $? "missing argument to $ac_option"
2261 if test -n "$ac_unrecognized_opts"; then
2262 case $enable_option_checking in
2263 no) ;;
2264 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2265 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2266 esac
2269 # Check all directory arguments for consistency.
2270 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2271 datadir sysconfdir sharedstatedir localstatedir includedir \
2272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2273 libdir localedir mandir runstatedir
2275 eval ac_val=\$$ac_var
2276 # Remove trailing slashes.
2277 case $ac_val in
2278 */ )
2279 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2280 eval $ac_var=\$ac_val;;
2281 esac
2282 # Be sure to have absolute directory names.
2283 case $ac_val in
2284 [\\/$]* | ?:[\\/]* ) continue;;
2285 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2286 esac
2287 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2288 done
2290 # There might be people who depend on the old broken behavior: `$host'
2291 # used to hold the argument of --host etc.
2292 # FIXME: To remove some day.
2293 build=$build_alias
2294 host=$host_alias
2295 target=$target_alias
2297 # FIXME: To remove some day.
2298 if test "x$host_alias" != x; then
2299 if test "x$build_alias" = x; then
2300 cross_compiling=maybe
2301 elif test "x$build_alias" != "x$host_alias"; then
2302 cross_compiling=yes
2306 ac_tool_prefix=
2307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2309 test "$silent" = yes && exec 6>/dev/null
2312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2313 ac_ls_di=`ls -di .` &&
2314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2315 as_fn_error $? "working directory cannot be determined"
2316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2317 as_fn_error $? "pwd does not report name of working directory"
2320 # Find the source files, if location was not specified.
2321 if test -z "$srcdir"; then
2322 ac_srcdir_defaulted=yes
2323 # Try the directory containing this script, then the parent directory.
2324 ac_confdir=`$as_dirname -- "$as_myself" ||
2325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2326 X"$as_myself" : 'X\(//\)[^/]' \| \
2327 X"$as_myself" : 'X\(//\)$' \| \
2328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2329 $as_echo X"$as_myself" |
2330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2331 s//\1/
2334 /^X\(\/\/\)[^/].*/{
2335 s//\1/
2338 /^X\(\/\/\)$/{
2339 s//\1/
2342 /^X\(\/\).*/{
2343 s//\1/
2346 s/.*/./; q'`
2347 srcdir=$ac_confdir
2348 if test ! -r "$srcdir/$ac_unique_file"; then
2349 srcdir=..
2351 else
2352 ac_srcdir_defaulted=no
2354 if test ! -r "$srcdir/$ac_unique_file"; then
2355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2359 ac_abs_confdir=`(
2360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2361 pwd)`
2362 # When building in place, set srcdir=.
2363 if test "$ac_abs_confdir" = "$ac_pwd"; then
2364 srcdir=.
2366 # Remove unnecessary trailing slashes from srcdir.
2367 # Double slashes in file names in object file debugging info
2368 # mess up M-x gdb in Emacs.
2369 case $srcdir in
2370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2371 esac
2372 for ac_var in $ac_precious_vars; do
2373 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2374 eval ac_env_${ac_var}_value=\$${ac_var}
2375 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2376 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2377 done
2380 # Report the --help message.
2382 if test "$ac_init_help" = "long"; then
2383 # Omit some internal or obsolete options to make the list less imposing.
2384 # This message is too long to be a string in the A/UX 3.1 sh.
2385 cat <<_ACEOF
2386 \`configure' configures Wine 3.14 to adapt to many kinds of systems.
2388 Usage: $0 [OPTION]... [VAR=VALUE]...
2390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2391 VAR=VALUE. See below for descriptions of some of the useful variables.
2393 Defaults for the options are specified in brackets.
2395 Configuration:
2396 -h, --help display this help and exit
2397 --help=short display options specific to this package
2398 --help=recursive display the short help of all the included packages
2399 -V, --version display version information and exit
2400 -q, --quiet, --silent do not print \`checking ...' messages
2401 --cache-file=FILE cache test results in FILE [disabled]
2402 -C, --config-cache alias for \`--cache-file=config.cache'
2403 -n, --no-create do not create output files
2404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2406 Installation directories:
2407 --prefix=PREFIX install architecture-independent files in PREFIX
2408 [$ac_default_prefix]
2409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2410 [PREFIX]
2412 By default, \`make install' will install all the files in
2413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2415 for instance \`--prefix=\$HOME'.
2417 For better control, use the options below.
2419 Fine tuning of the installation directories:
2420 --bindir=DIR user executables [EPREFIX/bin]
2421 --sbindir=DIR system admin executables [EPREFIX/sbin]
2422 --libexecdir=DIR program executables [EPREFIX/libexec]
2423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2426 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2427 --libdir=DIR object code libraries [EPREFIX/lib]
2428 --includedir=DIR C header files [PREFIX/include]
2429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2430 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2431 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2432 --infodir=DIR info documentation [DATAROOTDIR/info]
2433 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2434 --mandir=DIR man documentation [DATAROOTDIR/man]
2435 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2436 --htmldir=DIR html documentation [DOCDIR]
2437 --dvidir=DIR dvi documentation [DOCDIR]
2438 --pdfdir=DIR pdf documentation [DOCDIR]
2439 --psdir=DIR ps documentation [DOCDIR]
2440 _ACEOF
2442 cat <<\_ACEOF
2444 X features:
2445 --x-includes=DIR X include files are in DIR
2446 --x-libraries=DIR X library files are in DIR
2448 System types:
2449 --build=BUILD configure for building on BUILD [guessed]
2450 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2451 _ACEOF
2454 if test -n "$ac_init_help"; then
2455 case $ac_init_help in
2456 short | recursive ) echo "Configuration of Wine 3.14:";;
2457 esac
2458 cat <<\_ACEOF
2460 Optional Features:
2461 --disable-option-checking ignore unrecognized --enable/--with options
2462 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2463 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2464 --disable-win16 do not include Win16 support
2465 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2466 binaries)
2467 --disable-tests do not build the regression tests
2468 --enable-maintainer-mode
2469 enable maintainer-specific build rules
2470 --disable-largefile omit support for large files
2472 Optional Packages:
2473 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2474 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2475 --without-alsa do not use the Alsa sound support
2476 --without-capi do not use CAPI (ISDN support)
2477 --without-cms do not use CMS (color management support)
2478 --without-coreaudio do not use the CoreAudio sound support
2479 --without-cups do not use CUPS
2480 --without-curses do not use (n)curses
2481 --without-dbus do not use DBus (dynamic device support)
2482 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2483 --without-fontconfig do not use fontconfig
2484 --without-freetype do not use the FreeType library
2485 --without-gettext do not use gettext
2486 --with-gettextpo use the GetTextPO library to rebuild po files
2487 --without-gphoto do not use gphoto (Digital Camera support)
2488 --without-glu do not use the GLU library
2489 --without-gnutls do not use GnuTLS (schannel support)
2490 --without-gsm do not use libgsm (GSM 06.10 codec support)
2491 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2492 --without-gstreamer do not use GStreamer (codecs support)
2493 --without-hal do not use HAL (dynamic device support)
2494 --without-jpeg do not use JPEG
2495 --without-krb5 do not use krb5 (Kerberos)
2496 --without-ldap do not use LDAP
2497 --without-mpg123 do not use the mpg123 library
2498 --without-netapi do not use the Samba NetAPI library
2499 --without-openal do not use OpenAL
2500 --without-opencl do not use OpenCL
2501 --without-opengl do not use OpenGL
2502 --without-osmesa do not use the OSMesa library
2503 --without-oss do not use the OSS sound support
2504 --without-pcap do not use the Packet Capture library
2505 --without-png do not use PNG
2506 --without-pthread do not use the pthread library
2507 --without-pulse do not use PulseAudio sound support
2508 --without-sane do not use SANE (scanner support)
2509 --without-sdl do not use SDL
2510 --without-tiff do not use TIFF
2511 --without-udev do not use udev (plug and play support)
2512 --without-v4l do not use v4l1 (v4l support)
2513 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2514 --without-vulkan do not use Vulkan
2515 --without-xcomposite do not use the Xcomposite extension
2516 --without-xcursor do not use the Xcursor extension
2517 --without-xfixes do not use Xfixes for clipboard change notifications
2518 --without-xinerama do not use Xinerama (multi-monitor support)
2519 --without-xinput do not use the Xinput extension
2520 --without-xinput2 do not use the Xinput 2 extension
2521 --without-xml do not use XML
2522 --without-xrandr do not use Xrandr (resolution changes)
2523 --without-xrender do not use the Xrender extension
2524 --without-xshape do not use the Xshape extension
2525 --without-xshm do not use XShm (shared memory extension)
2526 --without-xslt do not use XSLT
2527 --without-xxf86vm do not use XFree video mode extension
2528 --without-zlib do not use Zlib (data compression)
2529 --with-wine-tools=DIR use Wine tools from directory DIR
2530 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2531 --with-x use the X Window System
2533 Some influential environment variables:
2534 CC C compiler command
2535 CFLAGS C compiler flags
2536 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2537 nonstandard directory <lib dir>
2538 LIBS libraries to pass to the linker, e.g. -l<library>
2539 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2540 you have headers in a nonstandard directory <include dir>
2541 CXX C++ compiler command
2542 CXXFLAGS C++ compiler flags
2543 CPP C preprocessor
2544 OBJC Objective C compiler command
2545 OBJCFLAGS Objective C compiler flags
2546 OBJCPP Objective C preprocessor
2547 XMKMF Path to xmkmf, Makefile generator for X Window System
2548 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2549 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2550 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2551 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2552 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2553 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2554 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2555 HAL_LIBS Linker flags for hal, overriding pkg-config
2556 GNUTLS_CFLAGS
2557 C compiler flags for gnutls, overriding pkg-config
2558 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2559 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2560 SANE_LIBS Linker flags for libsane, overriding pkg-config
2561 GPHOTO2_CFLAGS
2562 C compiler flags for libgphoto2, overriding pkg-config
2563 GPHOTO2_LIBS
2564 Linker flags for libgphoto2, overriding pkg-config
2565 GPHOTO2_PORT_CFLAGS
2566 C compiler flags for libgphoto2_port, overriding pkg-config
2567 GPHOTO2_PORT_LIBS
2568 Linker flags for libgphoto2_port, overriding pkg-config
2569 LCMS2_CFLAGS
2570 C compiler flags for lcms2, overriding pkg-config
2571 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2572 FREETYPE_CFLAGS
2573 C compiler flags for freetype2, overriding pkg-config
2574 FREETYPE_LIBS
2575 Linker flags for freetype2, overriding pkg-config
2576 PULSE_CFLAGS
2577 C compiler flags for libpulse, overriding pkg-config
2578 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2579 GSTREAMER_CFLAGS
2580 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2581 gstreamer-audio-1.0, overriding pkg-config
2582 GSTREAMER_LIBS
2583 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2584 gstreamer-audio-1.0, overriding pkg-config
2585 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2586 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2587 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2588 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2589 CAPI20_CFLAGS
2590 C compiler flags for capi20, overriding pkg-config
2591 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2592 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2593 CUPS_LIBS Linker flags for cups, overriding pkg-config
2594 FONTCONFIG_CFLAGS
2595 C compiler flags for fontconfig, overriding pkg-config
2596 FONTCONFIG_LIBS
2597 Linker flags for fontconfig, overriding pkg-config
2598 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2599 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2600 GSSAPI_CFLAGS
2601 C compiler flags for krb5-gssapi, overriding pkg-config
2602 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2603 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2604 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2605 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2606 PNG_LIBS Linker flags for libpng, overriding pkg-config
2607 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2608 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2609 MPG123_CFLAGS
2610 C compiler flags for libmpg123, overriding pkg-config
2611 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2612 NETAPI_CFLAGS
2613 C compiler flags for netapi, overriding pkg-config
2614 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2615 VKD3D_CFLAGS
2616 C compiler flags for libvkd3d, overriding pkg-config
2617 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2618 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2619 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2621 Use these variables to override the choices made by `configure' or to help
2622 it to find libraries and programs with nonstandard names/locations.
2624 Report bugs to <wine-devel@winehq.org>.
2625 Wine home page: <https://www.winehq.org>.
2626 _ACEOF
2627 ac_status=$?
2630 if test "$ac_init_help" = "recursive"; then
2631 # If there are subdirs, report their specific --help.
2632 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2633 test -d "$ac_dir" ||
2634 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2635 continue
2636 ac_builddir=.
2638 case "$ac_dir" in
2639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2641 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2642 # A ".." for each directory in $ac_dir_suffix.
2643 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2644 case $ac_top_builddir_sub in
2645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2647 esac ;;
2648 esac
2649 ac_abs_top_builddir=$ac_pwd
2650 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2651 # for backward compatibility:
2652 ac_top_builddir=$ac_top_build_prefix
2654 case $srcdir in
2655 .) # We are building in place.
2656 ac_srcdir=.
2657 ac_top_srcdir=$ac_top_builddir_sub
2658 ac_abs_top_srcdir=$ac_pwd ;;
2659 [\\/]* | ?:[\\/]* ) # Absolute name.
2660 ac_srcdir=$srcdir$ac_dir_suffix;
2661 ac_top_srcdir=$srcdir
2662 ac_abs_top_srcdir=$srcdir ;;
2663 *) # Relative name.
2664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2665 ac_top_srcdir=$ac_top_build_prefix$srcdir
2666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2667 esac
2668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2670 cd "$ac_dir" || { ac_status=$?; continue; }
2671 # Check for guested configure.
2672 if test -f "$ac_srcdir/configure.gnu"; then
2673 echo &&
2674 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2675 elif test -f "$ac_srcdir/configure"; then
2676 echo &&
2677 $SHELL "$ac_srcdir/configure" --help=recursive
2678 else
2679 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2680 fi || ac_status=$?
2681 cd "$ac_pwd" || { ac_status=$?; break; }
2682 done
2685 test -n "$ac_init_help" && exit $ac_status
2686 if $ac_init_version; then
2687 cat <<\_ACEOF
2688 Wine configure 3.14
2689 generated by GNU Autoconf 2.69
2691 Copyright (C) 2012 Free Software Foundation, Inc.
2692 This configure script is free software; the Free Software Foundation
2693 gives unlimited permission to copy, distribute and modify it.
2694 _ACEOF
2695 exit
2698 ## ------------------------ ##
2699 ## Autoconf initialization. ##
2700 ## ------------------------ ##
2702 # ac_fn_c_try_compile LINENO
2703 # --------------------------
2704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2705 ac_fn_c_try_compile ()
2707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708 rm -f conftest.$ac_objext
2709 if { { ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_compile") 2>conftest.err
2717 ac_status=$?
2718 if test -s conftest.err; then
2719 grep -v '^ *+' conftest.err >conftest.er1
2720 cat conftest.er1 >&5
2721 mv -f conftest.er1 conftest.err
2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724 test $ac_status = 0; } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then :
2728 ac_retval=0
2729 else
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 ac_retval=1
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 as_fn_set_status $ac_retval
2738 } # ac_fn_c_try_compile
2740 # ac_fn_cxx_try_compile LINENO
2741 # ----------------------------
2742 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2743 ac_fn_cxx_try_compile ()
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 rm -f conftest.$ac_objext
2747 if { { ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_compile") 2>conftest.err
2755 ac_status=$?
2756 if test -s conftest.err; then
2757 grep -v '^ *+' conftest.err >conftest.er1
2758 cat conftest.er1 >&5
2759 mv -f conftest.er1 conftest.err
2761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2762 test $ac_status = 0; } && {
2763 test -z "$ac_cxx_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then :
2766 ac_retval=0
2767 else
2768 $as_echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_retval=1
2773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2774 as_fn_set_status $ac_retval
2776 } # ac_fn_cxx_try_compile
2778 # ac_fn_c_try_link LINENO
2779 # -----------------------
2780 # Try to link conftest.$ac_ext, and return whether this succeeded.
2781 ac_fn_c_try_link ()
2783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2784 rm -f conftest.$ac_objext conftest$ac_exeext
2785 if { { ac_try="$ac_link"
2786 case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789 esac
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_link") 2>conftest.err
2793 ac_status=$?
2794 if test -s conftest.err; then
2795 grep -v '^ *+' conftest.err >conftest.er1
2796 cat conftest.er1 >&5
2797 mv -f conftest.er1 conftest.err
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; } && {
2801 test -z "$ac_c_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest$ac_exeext && {
2804 test "$cross_compiling" = yes ||
2805 test -x conftest$ac_exeext
2806 }; then :
2807 ac_retval=0
2808 else
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2812 ac_retval=1
2814 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2815 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2816 # interfere with the next link command; also delete a directory that is
2817 # left behind by Apple's compiler. We do this before executing the actions.
2818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 as_fn_set_status $ac_retval
2822 } # ac_fn_c_try_link
2824 # ac_fn_c_try_cpp LINENO
2825 # ----------------------
2826 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2827 ac_fn_c_try_cpp ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 if { { ac_try="$ac_cpp conftest.$ac_ext"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2838 ac_status=$?
2839 if test -s conftest.err; then
2840 grep -v '^ *+' conftest.err >conftest.er1
2841 cat conftest.er1 >&5
2842 mv -f conftest.er1 conftest.err
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; } > conftest.i && {
2846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2847 test ! -s conftest.err
2848 }; then :
2849 ac_retval=0
2850 else
2851 $as_echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2854 ac_retval=1
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2857 as_fn_set_status $ac_retval
2859 } # ac_fn_c_try_cpp
2861 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2862 # -------------------------------------------------------
2863 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2864 # the include files in INCLUDES and setting the cache variable VAR
2865 # accordingly.
2866 ac_fn_c_check_header_mongrel ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 if eval \${$3+:} false; then :
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2871 $as_echo_n "checking for $2... " >&6; }
2872 if eval \${$3+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 eval ac_res=\$$3
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2877 $as_echo "$ac_res" >&6; }
2878 else
2879 # Is the header compilable?
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2881 $as_echo_n "checking $2 usability... " >&6; }
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2885 #include <$2>
2886 _ACEOF
2887 if ac_fn_c_try_compile "$LINENO"; then :
2888 ac_header_compiler=yes
2889 else
2890 ac_header_compiler=no
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2894 $as_echo "$ac_header_compiler" >&6; }
2896 # Is the header present?
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2898 $as_echo_n "checking $2 presence... " >&6; }
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2901 #include <$2>
2902 _ACEOF
2903 if ac_fn_c_try_cpp "$LINENO"; then :
2904 ac_header_preproc=yes
2905 else
2906 ac_header_preproc=no
2908 rm -f conftest.err conftest.i conftest.$ac_ext
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2910 $as_echo "$ac_header_preproc" >&6; }
2912 # So? What about this header?
2913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2914 yes:no: )
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2916 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2918 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2920 no:yes:* )
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2922 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2924 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2926 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2928 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2930 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2931 ( $as_echo "## ------------------------------------ ##
2932 ## Report this to wine-devel@winehq.org ##
2933 ## ------------------------------------ ##"
2934 ) | sed "s/^/$as_me: WARNING: /" >&2
2936 esac
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2938 $as_echo_n "checking for $2... " >&6; }
2939 if eval \${$3+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 eval "$3=\$ac_header_compiler"
2944 eval ac_res=\$$3
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2946 $as_echo "$ac_res" >&6; }
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 } # ac_fn_c_check_header_mongrel
2952 # ac_fn_c_try_run LINENO
2953 # ----------------------
2954 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2955 # that executables *can* be run.
2956 ac_fn_c_try_run ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 if { { ac_try="$ac_link"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2965 $as_echo "$ac_try_echo"; } >&5
2966 (eval "$ac_link") 2>&5
2967 ac_status=$?
2968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2969 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2970 { { case "(($ac_try" in
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2973 esac
2974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976 (eval "$ac_try") 2>&5
2977 ac_status=$?
2978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979 test $ac_status = 0; }; }; then :
2980 ac_retval=0
2981 else
2982 $as_echo "$as_me: program exited with status $ac_status" >&5
2983 $as_echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2986 ac_retval=$ac_status
2988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2990 as_fn_set_status $ac_retval
2992 } # ac_fn_c_try_run
2994 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2995 # -------------------------------------------------------
2996 # Tests whether HEADER exists and can be compiled using the include files in
2997 # INCLUDES, setting the cache variable VAR accordingly.
2998 ac_fn_c_check_header_compile ()
3000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval \${$3+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3009 #include <$2>
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 eval "$3=yes"
3013 else
3014 eval "$3=no"
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018 eval ac_res=\$$3
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3020 $as_echo "$ac_res" >&6; }
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 } # ac_fn_c_check_header_compile
3025 # ac_fn_objc_try_compile LINENO
3026 # -----------------------------
3027 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3028 ac_fn_objc_try_compile ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 rm -f conftest.$ac_objext
3032 if { { ac_try="$ac_compile"
3033 case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3036 esac
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_compile") 2>conftest.err
3040 ac_status=$?
3041 if test -s conftest.err; then
3042 grep -v '^ *+' conftest.err >conftest.er1
3043 cat conftest.er1 >&5
3044 mv -f conftest.er1 conftest.err
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; } && {
3048 test -z "$ac_objc_werror_flag" ||
3049 test ! -s conftest.err
3050 } && test -s conftest.$ac_objext; then :
3051 ac_retval=0
3052 else
3053 $as_echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3056 ac_retval=1
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 as_fn_set_status $ac_retval
3061 } # ac_fn_objc_try_compile
3063 # ac_fn_objc_try_cpp LINENO
3064 # -------------------------
3065 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3066 ac_fn_objc_try_cpp ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 if { { ac_try="$ac_cpp conftest.$ac_ext"
3070 case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3077 ac_status=$?
3078 if test -s conftest.err; then
3079 grep -v '^ *+' conftest.err >conftest.er1
3080 cat conftest.er1 >&5
3081 mv -f conftest.er1 conftest.err
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; } > conftest.i && {
3085 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3086 test ! -s conftest.err
3087 }; then :
3088 ac_retval=0
3089 else
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.$ac_ext >&5
3093 ac_retval=1
3095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 as_fn_set_status $ac_retval
3098 } # ac_fn_objc_try_cpp
3100 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3101 # ----------------------------------------------------------
3102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3103 # the include files in INCLUDES and setting the cache variable VAR
3104 # accordingly.
3105 ac_fn_objc_check_header_mongrel ()
3107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3108 if eval \${$3+:} false; then :
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3110 $as_echo_n "checking for $2... " >&6; }
3111 if eval \${$3+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 eval ac_res=\$$3
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 $as_echo "$ac_res" >&6; }
3117 else
3118 # Is the header compilable?
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3120 $as_echo_n "checking $2 usability... " >&6; }
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3124 #include <$2>
3125 _ACEOF
3126 if ac_fn_objc_try_compile "$LINENO"; then :
3127 ac_header_compiler=yes
3128 else
3129 ac_header_compiler=no
3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3133 $as_echo "$ac_header_compiler" >&6; }
3135 # Is the header present?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3137 $as_echo_n "checking $2 presence... " >&6; }
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3140 #include <$2>
3141 _ACEOF
3142 if ac_fn_objc_try_cpp "$LINENO"; then :
3143 ac_header_preproc=yes
3144 else
3145 ac_header_preproc=no
3147 rm -f conftest.err conftest.i conftest.$ac_ext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3149 $as_echo "$ac_header_preproc" >&6; }
3151 # So? What about this header?
3152 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3153 yes:no: )
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3159 no:yes:* )
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3170 ( $as_echo "## ------------------------------------ ##
3171 ## Report this to wine-devel@winehq.org ##
3172 ## ------------------------------------ ##"
3173 ) | sed "s/^/$as_me: WARNING: /" >&2
3175 esac
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3177 $as_echo_n "checking for $2... " >&6; }
3178 if eval \${$3+:} false; then :
3179 $as_echo_n "(cached) " >&6
3180 else
3181 eval "$3=\$ac_header_compiler"
3183 eval ac_res=\$$3
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3185 $as_echo "$ac_res" >&6; }
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189 } # ac_fn_objc_check_header_mongrel
3191 # ac_fn_c_check_func LINENO FUNC VAR
3192 # ----------------------------------
3193 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3194 ac_fn_c_check_func ()
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3198 $as_echo_n "checking for $2... " >&6; }
3199 if eval \${$3+:} false; then :
3200 $as_echo_n "(cached) " >&6
3201 else
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3204 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3206 #define $2 innocuous_$2
3208 /* System header to define __stub macros and hopefully few prototypes,
3209 which can conflict with char $2 (); below.
3210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3211 <limits.h> exists even on freestanding compilers. */
3213 #ifdef __STDC__
3214 # include <limits.h>
3215 #else
3216 # include <assert.h>
3217 #endif
3219 #undef $2
3221 /* Override any GCC internal prototype to avoid an error.
3222 Use char because int might match the return type of a GCC
3223 builtin and then its argument prototype would still apply. */
3224 #ifdef __cplusplus
3225 extern "C"
3226 #endif
3227 char $2 ();
3228 /* The GNU C library defines this for functions which it implements
3229 to always fail with ENOSYS. Some functions are actually named
3230 something starting with __ and the normal name is an alias. */
3231 #if defined __stub_$2 || defined __stub___$2
3232 choke me
3233 #endif
3236 main ()
3238 return $2 ();
3240 return 0;
3242 _ACEOF
3243 if ac_fn_c_try_link "$LINENO"; then :
3244 eval "$3=yes"
3245 else
3246 eval "$3=no"
3248 rm -f core conftest.err conftest.$ac_objext \
3249 conftest$ac_exeext conftest.$ac_ext
3251 eval ac_res=\$$3
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3253 $as_echo "$ac_res" >&6; }
3254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256 } # ac_fn_c_check_func
3258 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3259 # ----------------------------------------------------
3260 # Tries to find if the field MEMBER exists in type AGGR, after including
3261 # INCLUDES, setting cache variable VAR accordingly.
3262 ac_fn_c_check_member ()
3264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3266 $as_echo_n "checking for $2.$3... " >&6; }
3267 if eval \${$4+:} false; then :
3268 $as_echo_n "(cached) " >&6
3269 else
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3274 main ()
3276 static $2 ac_aggr;
3277 if (ac_aggr.$3)
3278 return 0;
3280 return 0;
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 eval "$4=yes"
3285 else
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3290 main ()
3292 static $2 ac_aggr;
3293 if (sizeof ac_aggr.$3)
3294 return 0;
3296 return 0;
3298 _ACEOF
3299 if ac_fn_c_try_compile "$LINENO"; then :
3300 eval "$4=yes"
3301 else
3302 eval "$4=no"
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 eval ac_res=\$$4
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3310 $as_echo "$ac_res" >&6; }
3311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3313 } # ac_fn_c_check_member
3315 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3316 # -------------------------------------------
3317 # Tests whether TYPE exists after having included INCLUDES, setting cache
3318 # variable VAR accordingly.
3319 ac_fn_c_check_type ()
3321 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3323 $as_echo_n "checking for $2... " >&6; }
3324 if eval \${$3+:} false; then :
3325 $as_echo_n "(cached) " >&6
3326 else
3327 eval "$3=no"
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3332 main ()
3334 if (sizeof ($2))
3335 return 0;
3337 return 0;
3339 _ACEOF
3340 if ac_fn_c_try_compile "$LINENO"; then :
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3345 main ()
3347 if (sizeof (($2)))
3348 return 0;
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_compile "$LINENO"; then :
3355 else
3356 eval "$3=yes"
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 eval ac_res=\$$3
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3364 $as_echo "$ac_res" >&6; }
3365 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 } # ac_fn_c_check_type
3368 cat >config.log <<_ACEOF
3369 This file contains any messages produced by compilers while
3370 running configure, to aid debugging if configure makes a mistake.
3372 It was created by Wine $as_me 3.14, which was
3373 generated by GNU Autoconf 2.69. Invocation command line was
3375 $ $0 $@
3377 _ACEOF
3378 exec 5>>config.log
3380 cat <<_ASUNAME
3381 ## --------- ##
3382 ## Platform. ##
3383 ## --------- ##
3385 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3386 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3387 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3388 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3389 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3391 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3392 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3394 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3395 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3396 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3397 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3398 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3399 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3400 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3402 _ASUNAME
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 $as_echo "PATH: $as_dir"
3410 done
3411 IFS=$as_save_IFS
3413 } >&5
3415 cat >&5 <<_ACEOF
3418 ## ----------- ##
3419 ## Core tests. ##
3420 ## ----------- ##
3422 _ACEOF
3425 # Keep a trace of the command line.
3426 # Strip out --no-create and --no-recursion so they do not pile up.
3427 # Strip out --silent because we don't want to record it for future runs.
3428 # Also quote any args containing shell meta-characters.
3429 # Make two passes to allow for proper duplicate-argument suppression.
3430 ac_configure_args=
3431 ac_configure_args0=
3432 ac_configure_args1=
3433 ac_must_keep_next=false
3434 for ac_pass in 1 2
3436 for ac_arg
3438 case $ac_arg in
3439 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3441 | -silent | --silent | --silen | --sile | --sil)
3442 continue ;;
3443 *\'*)
3444 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3445 esac
3446 case $ac_pass in
3447 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3449 as_fn_append ac_configure_args1 " '$ac_arg'"
3450 if test $ac_must_keep_next = true; then
3451 ac_must_keep_next=false # Got value, back to normal.
3452 else
3453 case $ac_arg in
3454 *=* | --config-cache | -C | -disable-* | --disable-* \
3455 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3456 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3457 | -with-* | --with-* | -without-* | --without-* | --x)
3458 case "$ac_configure_args0 " in
3459 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3460 esac
3462 -* ) ac_must_keep_next=true ;;
3463 esac
3465 as_fn_append ac_configure_args " '$ac_arg'"
3467 esac
3468 done
3469 done
3470 { ac_configure_args0=; unset ac_configure_args0;}
3471 { ac_configure_args1=; unset ac_configure_args1;}
3473 # When interrupted or exit'd, cleanup temporary files, and complete
3474 # config.log. We remove comments because anyway the quotes in there
3475 # would cause problems or look ugly.
3476 # WARNING: Use '\'' to represent an apostrophe within the trap.
3477 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3478 trap 'exit_status=$?
3479 # Save into config.log some information that might help in debugging.
3481 echo
3483 $as_echo "## ---------------- ##
3484 ## Cache variables. ##
3485 ## ---------------- ##"
3486 echo
3487 # The following way of writing the cache mishandles newlines in values,
3489 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3490 eval ac_val=\$$ac_var
3491 case $ac_val in #(
3492 *${as_nl}*)
3493 case $ac_var in #(
3494 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3495 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3496 esac
3497 case $ac_var in #(
3498 _ | IFS | as_nl) ;; #(
3499 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3500 *) { eval $ac_var=; unset $ac_var;} ;;
3501 esac ;;
3502 esac
3503 done
3504 (set) 2>&1 |
3505 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3506 *${as_nl}ac_space=\ *)
3507 sed -n \
3508 "s/'\''/'\''\\\\'\'''\''/g;
3509 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3510 ;; #(
3512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3514 esac |
3515 sort
3517 echo
3519 $as_echo "## ----------------- ##
3520 ## Output variables. ##
3521 ## ----------------- ##"
3522 echo
3523 for ac_var in $ac_subst_vars
3525 eval ac_val=\$$ac_var
3526 case $ac_val in
3527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3528 esac
3529 $as_echo "$ac_var='\''$ac_val'\''"
3530 done | sort
3531 echo
3533 if test -n "$ac_subst_files"; then
3534 $as_echo "## ------------------- ##
3535 ## File substitutions. ##
3536 ## ------------------- ##"
3537 echo
3538 for ac_var in $ac_subst_files
3540 eval ac_val=\$$ac_var
3541 case $ac_val in
3542 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3543 esac
3544 $as_echo "$ac_var='\''$ac_val'\''"
3545 done | sort
3546 echo
3549 if test -s confdefs.h; then
3550 $as_echo "## ----------- ##
3551 ## confdefs.h. ##
3552 ## ----------- ##"
3553 echo
3554 cat confdefs.h
3555 echo
3557 test "$ac_signal" != 0 &&
3558 $as_echo "$as_me: caught signal $ac_signal"
3559 $as_echo "$as_me: exit $exit_status"
3560 } >&5
3561 rm -f core *.core core.conftest.* &&
3562 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3563 exit $exit_status
3565 for ac_signal in 1 2 13 15; do
3566 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3567 done
3568 ac_signal=0
3570 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3571 rm -f -r conftest* confdefs.h
3573 $as_echo "/* confdefs.h */" > confdefs.h
3575 # Predefined preprocessor variables.
3577 cat >>confdefs.h <<_ACEOF
3578 #define PACKAGE_NAME "$PACKAGE_NAME"
3579 _ACEOF
3581 cat >>confdefs.h <<_ACEOF
3582 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3583 _ACEOF
3585 cat >>confdefs.h <<_ACEOF
3586 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3587 _ACEOF
3589 cat >>confdefs.h <<_ACEOF
3590 #define PACKAGE_STRING "$PACKAGE_STRING"
3591 _ACEOF
3593 cat >>confdefs.h <<_ACEOF
3594 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3595 _ACEOF
3597 cat >>confdefs.h <<_ACEOF
3598 #define PACKAGE_URL "$PACKAGE_URL"
3599 _ACEOF
3602 # Let the site file select an alternate cache file if it wants to.
3603 # Prefer an explicitly selected file to automatically selected ones.
3604 ac_site_file1=NONE
3605 ac_site_file2=NONE
3606 if test -n "$CONFIG_SITE"; then
3607 # We do not want a PATH search for config.site.
3608 case $CONFIG_SITE in #((
3609 -*) ac_site_file1=./$CONFIG_SITE;;
3610 */*) ac_site_file1=$CONFIG_SITE;;
3611 *) ac_site_file1=./$CONFIG_SITE;;
3612 esac
3613 elif test "x$prefix" != xNONE; then
3614 ac_site_file1=$prefix/share/config.site
3615 ac_site_file2=$prefix/etc/config.site
3616 else
3617 ac_site_file1=$ac_default_prefix/share/config.site
3618 ac_site_file2=$ac_default_prefix/etc/config.site
3620 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3622 test "x$ac_site_file" = xNONE && continue
3623 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3625 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3626 sed 's/^/| /' "$ac_site_file" >&5
3627 . "$ac_site_file" \
3628 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 as_fn_error $? "failed to load site script $ac_site_file
3631 See \`config.log' for more details" "$LINENO" 5; }
3633 done
3635 if test -r "$cache_file"; then
3636 # Some versions of bash will fail to source /dev/null (special files
3637 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3638 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3640 $as_echo "$as_me: loading cache $cache_file" >&6;}
3641 case $cache_file in
3642 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3643 *) . "./$cache_file";;
3644 esac
3646 else
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3648 $as_echo "$as_me: creating cache $cache_file" >&6;}
3649 >$cache_file
3652 # Check that the precious variables saved in the cache have kept the same
3653 # value.
3654 ac_cache_corrupted=false
3655 for ac_var in $ac_precious_vars; do
3656 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3657 eval ac_new_set=\$ac_env_${ac_var}_set
3658 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3659 eval ac_new_val=\$ac_env_${ac_var}_value
3660 case $ac_old_set,$ac_new_set in
3661 set,)
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3663 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3664 ac_cache_corrupted=: ;;
3665 ,set)
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3667 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3668 ac_cache_corrupted=: ;;
3669 ,);;
3671 if test "x$ac_old_val" != "x$ac_new_val"; then
3672 # differences in whitespace do not lead to failure.
3673 ac_old_val_w=`echo x $ac_old_val`
3674 ac_new_val_w=`echo x $ac_new_val`
3675 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3677 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3678 ac_cache_corrupted=:
3679 else
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3681 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3682 eval $ac_var=\$ac_old_val
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3685 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3687 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3688 fi;;
3689 esac
3690 # Pass precious variables to config.status.
3691 if test "$ac_new_set" = set; then
3692 case $ac_new_val in
3693 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3694 *) ac_arg=$ac_var=$ac_new_val ;;
3695 esac
3696 case " $ac_configure_args " in
3697 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3698 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3699 esac
3701 done
3702 if $ac_cache_corrupted; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3706 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3707 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3709 ## -------------------- ##
3710 ## Main body of script. ##
3711 ## -------------------- ##
3713 ac_ext=c
3714 ac_cpp='$CPP $CPPFLAGS'
3715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721 ac_config_headers="$ac_config_headers include/config.h"
3723 ac_aux_dir=
3724 for ac_dir in tools "$srcdir"/tools; do
3725 if test -f "$ac_dir/install-sh"; then
3726 ac_aux_dir=$ac_dir
3727 ac_install_sh="$ac_aux_dir/install-sh -c"
3728 break
3729 elif test -f "$ac_dir/install.sh"; then
3730 ac_aux_dir=$ac_dir
3731 ac_install_sh="$ac_aux_dir/install.sh -c"
3732 break
3733 elif test -f "$ac_dir/shtool"; then
3734 ac_aux_dir=$ac_dir
3735 ac_install_sh="$ac_aux_dir/shtool install -c"
3736 break
3738 done
3739 if test -z "$ac_aux_dir"; then
3740 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3743 # These three variables are undocumented and unsupported,
3744 # and are intended to be withdrawn in a future Autoconf release.
3745 # They can cause serious problems if a builder's source tree is in a directory
3746 # whose full name contains unusual characters.
3747 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3748 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3749 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3753 libwine_version="1.0"
3757 # Check whether --enable-win16 was given.
3758 if test "${enable_win16+set}" = set; then :
3759 enableval=$enable_win16;
3762 # Check whether --enable-win64 was given.
3763 if test "${enable_win64+set}" = set; then :
3764 enableval=$enable_win64;
3767 # Check whether --enable-tests was given.
3768 if test "${enable_tests+set}" = set; then :
3769 enableval=$enable_tests;
3772 # Check whether --enable-maintainer-mode was given.
3773 if test "${enable_maintainer_mode+set}" = set; then :
3774 enableval=$enable_maintainer_mode;
3779 # Check whether --with-alsa was given.
3780 if test "${with_alsa+set}" = set; then :
3781 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3785 # Check whether --with-capi was given.
3786 if test "${with_capi+set}" = set; then :
3787 withval=$with_capi;
3791 # Check whether --with-cms was given.
3792 if test "${with_cms+set}" = set; then :
3793 withval=$with_cms;
3797 # Check whether --with-coreaudio was given.
3798 if test "${with_coreaudio+set}" = set; then :
3799 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3803 # Check whether --with-cups was given.
3804 if test "${with_cups+set}" = set; then :
3805 withval=$with_cups;
3809 # Check whether --with-curses was given.
3810 if test "${with_curses+set}" = set; then :
3811 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3815 # Check whether --with-dbus was given.
3816 if test "${with_dbus+set}" = set; then :
3817 withval=$with_dbus;
3821 # Check whether --with-float-abi was given.
3822 if test "${with_float_abi+set}" = set; then :
3823 withval=$with_float_abi;
3827 # Check whether --with-fontconfig was given.
3828 if test "${with_fontconfig+set}" = set; then :
3829 withval=$with_fontconfig;
3833 # Check whether --with-freetype was given.
3834 if test "${with_freetype+set}" = set; then :
3835 withval=$with_freetype;
3839 # Check whether --with-gettext was given.
3840 if test "${with_gettext+set}" = set; then :
3841 withval=$with_gettext;
3845 # Check whether --with-gettextpo was given.
3846 if test "${with_gettextpo+set}" = set; then :
3847 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3851 # Check whether --with-gphoto was given.
3852 if test "${with_gphoto+set}" = set; then :
3853 withval=$with_gphoto;
3857 # Check whether --with-glu was given.
3858 if test "${with_glu+set}" = set; then :
3859 withval=$with_glu;
3863 # Check whether --with-gnutls was given.
3864 if test "${with_gnutls+set}" = set; then :
3865 withval=$with_gnutls;
3869 # Check whether --with-gsm was given.
3870 if test "${with_gsm+set}" = set; then :
3871 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3875 # Check whether --with-gssapi was given.
3876 if test "${with_gssapi+set}" = set; then :
3877 withval=$with_gssapi;
3881 # Check whether --with-gstreamer was given.
3882 if test "${with_gstreamer+set}" = set; then :
3883 withval=$with_gstreamer;
3887 # Check whether --with-hal was given.
3888 if test "${with_hal+set}" = set; then :
3889 withval=$with_hal;
3893 # Check whether --with-jpeg was given.
3894 if test "${with_jpeg+set}" = set; then :
3895 withval=$with_jpeg;
3899 # Check whether --with-krb5 was given.
3900 if test "${with_krb5+set}" = set; then :
3901 withval=$with_krb5;
3905 # Check whether --with-ldap was given.
3906 if test "${with_ldap+set}" = set; then :
3907 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3911 # Check whether --with-mpg123 was given.
3912 if test "${with_mpg123+set}" = set; then :
3913 withval=$with_mpg123;
3917 # Check whether --with-netapi was given.
3918 if test "${with_netapi+set}" = set; then :
3919 withval=$with_netapi;
3923 # Check whether --with-openal was given.
3924 if test "${with_openal+set}" = set; then :
3925 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3929 # Check whether --with-opencl was given.
3930 if test "${with_opencl+set}" = set; then :
3931 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3935 # Check whether --with-opengl was given.
3936 if test "${with_opengl+set}" = set; then :
3937 withval=$with_opengl;
3941 # Check whether --with-osmesa was given.
3942 if test "${with_osmesa+set}" = set; then :
3943 withval=$with_osmesa;
3947 # Check whether --with-oss was given.
3948 if test "${with_oss+set}" = set; then :
3949 withval=$with_oss;
3953 # Check whether --with-pcap was given.
3954 if test "${with_pcap+set}" = set; then :
3955 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3959 # Check whether --with-png was given.
3960 if test "${with_png+set}" = set; then :
3961 withval=$with_png;
3965 # Check whether --with-pthread was given.
3966 if test "${with_pthread+set}" = set; then :
3967 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3971 # Check whether --with-pulse was given.
3972 if test "${with_pulse+set}" = set; then :
3973 withval=$with_pulse;
3977 # Check whether --with-sane was given.
3978 if test "${with_sane+set}" = set; then :
3979 withval=$with_sane;
3983 # Check whether --with-sdl was given.
3984 if test "${with_sdl+set}" = set; then :
3985 withval=$with_sdl;
3989 # Check whether --with-tiff was given.
3990 if test "${with_tiff+set}" = set; then :
3991 withval=$with_tiff;
3995 # Check whether --with-udev was given.
3996 if test "${with_udev+set}" = set; then :
3997 withval=$with_udev;
4001 # Check whether --with-v4l was given.
4002 if test "${with_v4l+set}" = set; then :
4003 withval=$with_v4l;
4007 # Check whether --with-vkd3d was given.
4008 if test "${with_vkd3d+set}" = set; then :
4009 withval=$with_vkd3d;
4013 # Check whether --with-vulkan was given.
4014 if test "${with_vulkan+set}" = set; then :
4015 withval=$with_vulkan;
4019 # Check whether --with-xcomposite was given.
4020 if test "${with_xcomposite+set}" = set; then :
4021 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4025 # Check whether --with-xcursor was given.
4026 if test "${with_xcursor+set}" = set; then :
4027 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4031 # Check whether --with-xfixes was given.
4032 if test "${with_xfixes+set}" = set; then :
4033 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4037 # Check whether --with-xinerama was given.
4038 if test "${with_xinerama+set}" = set; then :
4039 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4043 # Check whether --with-xinput was given.
4044 if test "${with_xinput+set}" = set; then :
4045 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4049 # Check whether --with-xinput2 was given.
4050 if test "${with_xinput2+set}" = set; then :
4051 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4055 # Check whether --with-xml was given.
4056 if test "${with_xml+set}" = set; then :
4057 withval=$with_xml;
4061 # Check whether --with-xrandr was given.
4062 if test "${with_xrandr+set}" = set; then :
4063 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4067 # Check whether --with-xrender was given.
4068 if test "${with_xrender+set}" = set; then :
4069 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4073 # Check whether --with-xshape was given.
4074 if test "${with_xshape+set}" = set; then :
4075 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4079 # Check whether --with-xshm was given.
4080 if test "${with_xshm+set}" = set; then :
4081 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4085 # Check whether --with-xslt was given.
4086 if test "${with_xslt+set}" = set; then :
4087 withval=$with_xslt;
4091 # Check whether --with-xxf86vm was given.
4092 if test "${with_xxf86vm+set}" = set; then :
4093 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
4097 # Check whether --with-zlib was given.
4098 if test "${with_zlib+set}" = set; then :
4099 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4104 # Check whether --with-wine-tools was given.
4105 if test "${with_wine_tools+set}" = set; then :
4106 withval=$with_wine_tools;
4110 # Check whether --with-wine64 was given.
4111 if test "${with_wine64+set}" = set; then :
4112 withval=$with_wine64;
4116 # Make sure we can run config.sub.
4117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4118 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4121 $as_echo_n "checking build system type... " >&6; }
4122 if ${ac_cv_build+:} false; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 ac_build_alias=$build_alias
4126 test "x$ac_build_alias" = x &&
4127 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4128 test "x$ac_build_alias" = x &&
4129 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4130 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4131 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4135 $as_echo "$ac_cv_build" >&6; }
4136 case $ac_cv_build in
4137 *-*-*) ;;
4138 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4139 esac
4140 build=$ac_cv_build
4141 ac_save_IFS=$IFS; IFS='-'
4142 set x $ac_cv_build
4143 shift
4144 build_cpu=$1
4145 build_vendor=$2
4146 shift; shift
4147 # Remember, the first character of IFS is used to create $*,
4148 # except with old shells:
4149 build_os=$*
4150 IFS=$ac_save_IFS
4151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4155 $as_echo_n "checking host system type... " >&6; }
4156 if ${ac_cv_host+:} false; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 if test "x$host_alias" = x; then
4160 ac_cv_host=$ac_cv_build
4161 else
4162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4163 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4168 $as_echo "$ac_cv_host" >&6; }
4169 case $ac_cv_host in
4170 *-*-*) ;;
4171 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4172 esac
4173 host=$ac_cv_host
4174 ac_save_IFS=$IFS; IFS='-'
4175 set x $ac_cv_host
4176 shift
4177 host_cpu=$1
4178 host_vendor=$2
4179 shift; shift
4180 # Remember, the first character of IFS is used to create $*,
4181 # except with old shells:
4182 host_os=$*
4183 IFS=$ac_save_IFS
4184 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4188 case "$srcdir" in
4189 .) ;;
4190 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4191 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4192 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4193 fi ;;
4194 esac
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4198 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4199 set x ${MAKE-make}
4200 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4201 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 cat >conftest.make <<\_ACEOF
4205 SHELL = /bin/sh
4206 all:
4207 @echo '@@@%%%=$(MAKE)=@@@%%%'
4208 _ACEOF
4209 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4210 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4211 *@@@%%%=?*=@@@%%%*)
4212 eval ac_cv_prog_make_${ac_make}_set=yes;;
4214 eval ac_cv_prog_make_${ac_make}_set=no;;
4215 esac
4216 rm -f conftest.make
4218 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220 $as_echo "yes" >&6; }
4221 SET_MAKE=
4222 else
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4225 SET_MAKE="MAKE=${MAKE-make}"
4228 ac_ext=c
4229 ac_cpp='$CPP $CPPFLAGS'
4230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4233 if test -n "$ac_tool_prefix"; then
4234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4235 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if ${ac_cv_prog_CC+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 if test -n "$CC"; then
4242 ac_cv_prog_CC="$CC" # Let the user override the test.
4243 else
4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 for as_dir in $PATH
4247 IFS=$as_save_IFS
4248 test -z "$as_dir" && as_dir=.
4249 for ac_exec_ext in '' $ac_executable_extensions; do
4250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4251 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 break 2
4255 done
4256 done
4257 IFS=$as_save_IFS
4261 CC=$ac_cv_prog_CC
4262 if test -n "$CC"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4264 $as_echo "$CC" >&6; }
4265 else
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4272 if test -z "$ac_cv_prog_CC"; then
4273 ac_ct_CC=$CC
4274 # Extract the first word of "gcc", so it can be a program name with args.
4275 set dummy gcc; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 if test -n "$ac_ct_CC"; then
4282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4287 IFS=$as_save_IFS
4288 test -z "$as_dir" && as_dir=.
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4291 ac_cv_prog_ac_ct_CC="gcc"
4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 break 2
4295 done
4296 done
4297 IFS=$as_save_IFS
4301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4302 if test -n "$ac_ct_CC"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4304 $as_echo "$ac_ct_CC" >&6; }
4305 else
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4310 if test "x$ac_ct_CC" = x; then
4311 CC=""
4312 else
4313 case $cross_compiling:$ac_tool_warned in
4314 yes:)
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4317 ac_tool_warned=yes ;;
4318 esac
4319 CC=$ac_ct_CC
4321 else
4322 CC="$ac_cv_prog_CC"
4325 if test -z "$CC"; then
4326 if test -n "$ac_tool_prefix"; then
4327 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4328 set dummy ${ac_tool_prefix}cc; ac_word=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if ${ac_cv_prog_CC+:} false; then :
4332 $as_echo_n "(cached) " >&6
4333 else
4334 if test -n "$CC"; then
4335 ac_cv_prog_CC="$CC" # Let the user override the test.
4336 else
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 for as_dir in $PATH
4340 IFS=$as_save_IFS
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344 ac_cv_prog_CC="${ac_tool_prefix}cc"
4345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 break 2
4348 done
4349 done
4350 IFS=$as_save_IFS
4354 CC=$ac_cv_prog_CC
4355 if test -n "$CC"; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4357 $as_echo "$CC" >&6; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4366 if test -z "$CC"; then
4367 # Extract the first word of "cc", so it can be a program name with args.
4368 set dummy cc; ac_word=$2
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370 $as_echo_n "checking for $ac_word... " >&6; }
4371 if ${ac_cv_prog_CC+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 if test -n "$CC"; then
4375 ac_cv_prog_CC="$CC" # Let the user override the test.
4376 else
4377 ac_prog_rejected=no
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH
4381 IFS=$as_save_IFS
4382 test -z "$as_dir" && as_dir=.
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4385 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4386 ac_prog_rejected=yes
4387 continue
4389 ac_cv_prog_CC="cc"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4397 if test $ac_prog_rejected = yes; then
4398 # We found a bogon in the path, so make sure we never use it.
4399 set dummy $ac_cv_prog_CC
4400 shift
4401 if test $# != 0; then
4402 # We chose a different compiler from the bogus one.
4403 # However, it has the same basename, so the bogon will be chosen
4404 # first if we set CC to just the basename; use the full file name.
4405 shift
4406 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4411 CC=$ac_cv_prog_CC
4412 if test -n "$CC"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4414 $as_echo "$CC" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4422 if test -z "$CC"; then
4423 if test -n "$ac_tool_prefix"; then
4424 for ac_prog in cl.exe
4426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_CC+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 if test -n "$CC"; then
4434 ac_cv_prog_CC="$CC" # Let the user override the test.
4435 else
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 for as_dir in $PATH
4439 IFS=$as_save_IFS
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 break 2
4447 done
4448 done
4449 IFS=$as_save_IFS
4453 CC=$ac_cv_prog_CC
4454 if test -n "$CC"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4456 $as_echo "$CC" >&6; }
4457 else
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4463 test -n "$CC" && break
4464 done
4466 if test -z "$CC"; then
4467 ac_ct_CC=$CC
4468 for ac_prog in cl.exe
4470 # Extract the first word of "$ac_prog", so it can be a program name with args.
4471 set dummy $ac_prog; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$ac_ct_CC"; then
4478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_ac_ct_CC="$ac_prog"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4498 if test -n "$ac_ct_CC"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4500 $as_echo "$ac_ct_CC" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4507 test -n "$ac_ct_CC" && break
4508 done
4510 if test "x$ac_ct_CC" = x; then
4511 CC=""
4512 else
4513 case $cross_compiling:$ac_tool_warned in
4514 yes:)
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4517 ac_tool_warned=yes ;;
4518 esac
4519 CC=$ac_ct_CC
4526 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4528 as_fn_error $? "no acceptable C compiler found in \$PATH
4529 See \`config.log' for more details" "$LINENO" 5; }
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4551 rm -f conftest.er1 conftest.err
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4564 return 0;
4566 _ACEOF
4567 ac_clean_files_save=$ac_clean_files
4568 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4569 # Try to create an executable without -o first, disregard a.out.
4570 # It will help us diagnose broken compilers, and finding out an intuition
4571 # of exeext.
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4573 $as_echo_n "checking whether the C compiler works... " >&6; }
4574 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4576 # The possible output files:
4577 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4579 ac_rmfiles=
4580 for ac_file in $ac_files
4582 case $ac_file in
4583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4584 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4585 esac
4586 done
4587 rm -f $ac_rmfiles
4589 if { { ac_try="$ac_link_default"
4590 case "(($ac_try" in
4591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4592 *) ac_try_echo=$ac_try;;
4593 esac
4594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4595 $as_echo "$ac_try_echo"; } >&5
4596 (eval "$ac_link_default") 2>&5
4597 ac_status=$?
4598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4599 test $ac_status = 0; }; then :
4600 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4601 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4602 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4603 # so that the user can short-circuit this test for compilers unknown to
4604 # Autoconf.
4605 for ac_file in $ac_files ''
4607 test -f "$ac_file" || continue
4608 case $ac_file in
4609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4611 [ab].out )
4612 # We found the default executable, but exeext='' is most
4613 # certainly right.
4614 break;;
4615 *.* )
4616 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4617 then :; else
4618 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4620 # We set ac_cv_exeext here because the later test for it is not
4621 # safe: cross compilers may not add the suffix if given an `-o'
4622 # argument, so we may need to know it at that point already.
4623 # Even if this section looks crufty: it has the advantage of
4624 # actually working.
4625 break;;
4627 break;;
4628 esac
4629 done
4630 test "$ac_cv_exeext" = no && ac_cv_exeext=
4632 else
4633 ac_file=''
4635 if test -z "$ac_file"; then :
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4638 $as_echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.$ac_ext >&5
4641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4643 as_fn_error 77 "C compiler cannot create executables
4644 See \`config.log' for more details" "$LINENO" 5; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4647 $as_echo "yes" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4650 $as_echo_n "checking for C compiler default output file name... " >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4652 $as_echo "$ac_file" >&6; }
4653 ac_exeext=$ac_cv_exeext
4655 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4656 ac_clean_files=$ac_clean_files_save
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4658 $as_echo_n "checking for suffix of executables... " >&6; }
4659 if { { ac_try="$ac_link"
4660 case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4663 esac
4664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4665 $as_echo "$ac_try_echo"; } >&5
4666 (eval "$ac_link") 2>&5
4667 ac_status=$?
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }; then :
4670 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4671 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4672 # work properly (i.e., refer to `conftest.exe'), while it won't with
4673 # `rm'.
4674 for ac_file in conftest.exe conftest conftest.*; do
4675 test -f "$ac_file" || continue
4676 case $ac_file in
4677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4678 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4679 break;;
4680 * ) break;;
4681 esac
4682 done
4683 else
4684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4686 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4687 See \`config.log' for more details" "$LINENO" 5; }
4689 rm -f conftest conftest$ac_cv_exeext
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4691 $as_echo "$ac_cv_exeext" >&6; }
4693 rm -f conftest.$ac_ext
4694 EXEEXT=$ac_cv_exeext
4695 ac_exeext=$EXEEXT
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <stdio.h>
4700 main ()
4702 FILE *f = fopen ("conftest.out", "w");
4703 return ferror (f) || fclose (f) != 0;
4706 return 0;
4708 _ACEOF
4709 ac_clean_files="$ac_clean_files conftest.out"
4710 # Check that the compiler produces executables we can run. If not, either
4711 # the compiler is broken, or we cross compile.
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4713 $as_echo_n "checking whether we are cross compiling... " >&6; }
4714 if test "$cross_compiling" != yes; then
4715 { { ac_try="$ac_link"
4716 case "(($ac_try" in
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4719 esac
4720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4721 $as_echo "$ac_try_echo"; } >&5
4722 (eval "$ac_link") 2>&5
4723 ac_status=$?
4724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4725 test $ac_status = 0; }
4726 if { ac_try='./conftest$ac_cv_exeext'
4727 { { case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4732 $as_echo "$ac_try_echo"; } >&5
4733 (eval "$ac_try") 2>&5
4734 ac_status=$?
4735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4736 test $ac_status = 0; }; }; then
4737 cross_compiling=no
4738 else
4739 if test "$cross_compiling" = maybe; then
4740 cross_compiling=yes
4741 else
4742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744 as_fn_error $? "cannot run C compiled programs.
4745 If you meant to cross compile, use \`--host'.
4746 See \`config.log' for more details" "$LINENO" 5; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4751 $as_echo "$cross_compiling" >&6; }
4753 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4754 ac_clean_files=$ac_clean_files_save
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4756 $as_echo_n "checking for suffix of object files... " >&6; }
4757 if ${ac_cv_objext+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 main ()
4768 return 0;
4770 _ACEOF
4771 rm -f conftest.o conftest.obj
4772 if { { ac_try="$ac_compile"
4773 case "(($ac_try" in
4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4775 *) ac_try_echo=$ac_try;;
4776 esac
4777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4778 $as_echo "$ac_try_echo"; } >&5
4779 (eval "$ac_compile") 2>&5
4780 ac_status=$?
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }; then :
4783 for ac_file in conftest.o conftest.obj conftest.*; do
4784 test -f "$ac_file" || continue;
4785 case $ac_file in
4786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4787 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4788 break;;
4789 esac
4790 done
4791 else
4792 $as_echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.$ac_ext >&5
4795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4797 as_fn_error $? "cannot compute suffix of object files: cannot compile
4798 See \`config.log' for more details" "$LINENO" 5; }
4800 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4803 $as_echo "$ac_cv_objext" >&6; }
4804 OBJEXT=$ac_cv_objext
4805 ac_objext=$OBJEXT
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4807 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4808 if ${ac_cv_c_compiler_gnu+:} false; then :
4809 $as_echo_n "(cached) " >&6
4810 else
4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4815 main ()
4817 #ifndef __GNUC__
4818 choke me
4819 #endif
4822 return 0;
4824 _ACEOF
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826 ac_compiler_gnu=yes
4827 else
4828 ac_compiler_gnu=no
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4835 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4836 if test $ac_compiler_gnu = yes; then
4837 GCC=yes
4838 else
4839 GCC=
4841 ac_test_CFLAGS=${CFLAGS+set}
4842 ac_save_CFLAGS=$CFLAGS
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4844 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4845 if ${ac_cv_prog_cc_g+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 ac_save_c_werror_flag=$ac_c_werror_flag
4849 ac_c_werror_flag=yes
4850 ac_cv_prog_cc_g=no
4851 CFLAGS="-g"
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4856 main ()
4860 return 0;
4862 _ACEOF
4863 if ac_fn_c_try_compile "$LINENO"; then :
4864 ac_cv_prog_cc_g=yes
4865 else
4866 CFLAGS=""
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4871 main ()
4875 return 0;
4877 _ACEOF
4878 if ac_fn_c_try_compile "$LINENO"; then :
4880 else
4881 ac_c_werror_flag=$ac_save_c_werror_flag
4882 CFLAGS="-g"
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4887 main ()
4891 return 0;
4893 _ACEOF
4894 if ac_fn_c_try_compile "$LINENO"; then :
4895 ac_cv_prog_cc_g=yes
4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 ac_c_werror_flag=$ac_save_c_werror_flag
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4905 $as_echo "$ac_cv_prog_cc_g" >&6; }
4906 if test "$ac_test_CFLAGS" = set; then
4907 CFLAGS=$ac_save_CFLAGS
4908 elif test $ac_cv_prog_cc_g = yes; then
4909 if test "$GCC" = yes; then
4910 CFLAGS="-g -O2"
4911 else
4912 CFLAGS="-g"
4914 else
4915 if test "$GCC" = yes; then
4916 CFLAGS="-O2"
4917 else
4918 CFLAGS=
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4922 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4923 if ${ac_cv_prog_cc_c89+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 ac_cv_prog_cc_c89=no
4927 ac_save_CC=$CC
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4930 #include <stdarg.h>
4931 #include <stdio.h>
4932 struct stat;
4933 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4934 struct buf { int x; };
4935 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4936 static char *e (p, i)
4937 char **p;
4938 int i;
4940 return p[i];
4942 static char *f (char * (*g) (char **, int), char **p, ...)
4944 char *s;
4945 va_list v;
4946 va_start (v,p);
4947 s = g (p, va_arg (v,int));
4948 va_end (v);
4949 return s;
4952 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4953 function prototypes and stuff, but not '\xHH' hex character constants.
4954 These don't provoke an error unfortunately, instead are silently treated
4955 as 'x'. The following induces an error, until -std is added to get
4956 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4957 array size at least. It's necessary to write '\x00'==0 to get something
4958 that's true only with -std. */
4959 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4961 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4962 inside strings and character constants. */
4963 #define FOO(x) 'x'
4964 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4966 int test (int i, double x);
4967 struct s1 {int (*f) (int a);};
4968 struct s2 {int (*f) (double a);};
4969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4970 int argc;
4971 char **argv;
4973 main ()
4975 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4977 return 0;
4979 _ACEOF
4980 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4981 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4983 CC="$ac_save_CC $ac_arg"
4984 if ac_fn_c_try_compile "$LINENO"; then :
4985 ac_cv_prog_cc_c89=$ac_arg
4987 rm -f core conftest.err conftest.$ac_objext
4988 test "x$ac_cv_prog_cc_c89" != "xno" && break
4989 done
4990 rm -f conftest.$ac_ext
4991 CC=$ac_save_CC
4994 # AC_CACHE_VAL
4995 case "x$ac_cv_prog_cc_c89" in
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4998 $as_echo "none needed" >&6; } ;;
4999 xno)
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5001 $as_echo "unsupported" >&6; } ;;
5003 CC="$CC $ac_cv_prog_cc_c89"
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5005 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5006 esac
5007 if test "x$ac_cv_prog_cc_c89" != xno; then :
5011 ac_ext=c
5012 ac_cpp='$CPP $CPPFLAGS'
5013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5017 ac_ext=cpp
5018 ac_cpp='$CXXCPP $CPPFLAGS'
5019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5022 if test -z "$CXX"; then
5023 if test -n "$CCC"; then
5024 CXX=$CCC
5025 else
5026 if test -n "$ac_tool_prefix"; then
5027 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_CXX+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$CXX"; then
5037 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 CXX=$ac_cv_prog_CXX
5057 if test -n "$CXX"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5059 $as_echo "$CXX" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$CXX" && break
5067 done
5069 if test -z "$CXX"; then
5070 ac_ct_CXX=$CXX
5071 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5073 # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy $ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5078 $as_echo_n "(cached) " >&6
5079 else
5080 if test -n "$ac_ct_CXX"; then
5081 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5082 else
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 for as_dir in $PATH
5086 IFS=$as_save_IFS
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_ac_ct_CXX="$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 break 2
5094 done
5095 done
5096 IFS=$as_save_IFS
5100 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5101 if test -n "$ac_ct_CXX"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5103 $as_echo "$ac_ct_CXX" >&6; }
5104 else
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$ac_ct_CXX" && break
5111 done
5113 if test "x$ac_ct_CXX" = x; then
5114 CXX="g++"
5115 else
5116 case $cross_compiling:$ac_tool_warned in
5117 yes:)
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5121 esac
5122 CXX=$ac_ct_CXX
5128 # Provide some information about the compiler.
5129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5130 set X $ac_compile
5131 ac_compiler=$2
5132 for ac_option in --version -v -V -qversion; do
5133 { { ac_try="$ac_compiler $ac_option >&5"
5134 case "(($ac_try" in
5135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5136 *) ac_try_echo=$ac_try;;
5137 esac
5138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5139 $as_echo "$ac_try_echo"; } >&5
5140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5141 ac_status=$?
5142 if test -s conftest.err; then
5143 sed '10a\
5144 ... rest of stderr output deleted ...
5145 10q' conftest.err >conftest.er1
5146 cat conftest.er1 >&5
5148 rm -f conftest.er1 conftest.err
5149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5150 test $ac_status = 0; }
5151 done
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5154 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5155 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5156 $as_echo_n "(cached) " >&6
5157 else
5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5159 /* end confdefs.h. */
5162 main ()
5164 #ifndef __GNUC__
5165 choke me
5166 #endif
5169 return 0;
5171 _ACEOF
5172 if ac_fn_cxx_try_compile "$LINENO"; then :
5173 ac_compiler_gnu=yes
5174 else
5175 ac_compiler_gnu=no
5177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5178 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5182 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5183 if test $ac_compiler_gnu = yes; then
5184 GXX=yes
5185 else
5186 GXX=
5188 ac_test_CXXFLAGS=${CXXFLAGS+set}
5189 ac_save_CXXFLAGS=$CXXFLAGS
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5191 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5192 if ${ac_cv_prog_cxx_g+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5196 ac_cxx_werror_flag=yes
5197 ac_cv_prog_cxx_g=no
5198 CXXFLAGS="-g"
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5203 main ()
5207 return 0;
5209 _ACEOF
5210 if ac_fn_cxx_try_compile "$LINENO"; then :
5211 ac_cv_prog_cxx_g=yes
5212 else
5213 CXXFLAGS=""
5214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5218 main ()
5222 return 0;
5224 _ACEOF
5225 if ac_fn_cxx_try_compile "$LINENO"; then :
5227 else
5228 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5229 CXXFLAGS="-g"
5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5234 main ()
5238 return 0;
5240 _ACEOF
5241 if ac_fn_cxx_try_compile "$LINENO"; then :
5242 ac_cv_prog_cxx_g=yes
5244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5249 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5252 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5253 if test "$ac_test_CXXFLAGS" = set; then
5254 CXXFLAGS=$ac_save_CXXFLAGS
5255 elif test $ac_cv_prog_cxx_g = yes; then
5256 if test "$GXX" = yes; then
5257 CXXFLAGS="-g -O2"
5258 else
5259 CXXFLAGS="-g"
5261 else
5262 if test "$GXX" = yes; then
5263 CXXFLAGS="-O2"
5264 else
5265 CXXFLAGS=
5268 ac_ext=c
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5274 if test -n "$ac_tool_prefix"; then
5275 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5276 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_CPPBIN+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 if test -n "$CPPBIN"; then
5283 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5284 else
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 IFS=$as_save_IFS
5302 CPPBIN=$ac_cv_prog_CPPBIN
5303 if test -n "$CPPBIN"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5305 $as_echo "$CPPBIN" >&6; }
5306 else
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5313 if test -z "$ac_cv_prog_CPPBIN"; then
5314 ac_ct_CPPBIN=$CPPBIN
5315 # Extract the first word of "cpp", so it can be a program name with args.
5316 set dummy cpp; ac_word=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5320 $as_echo_n "(cached) " >&6
5321 else
5322 if test -n "$ac_ct_CPPBIN"; then
5323 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5324 else
5325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5326 for as_dir in $PATH
5328 IFS=$as_save_IFS
5329 test -z "$as_dir" && as_dir=.
5330 for ac_exec_ext in '' $ac_executable_extensions; do
5331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5332 ac_cv_prog_ac_ct_CPPBIN="cpp"
5333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5334 break 2
5336 done
5337 done
5338 IFS=$as_save_IFS
5342 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5343 if test -n "$ac_ct_CPPBIN"; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5345 $as_echo "$ac_ct_CPPBIN" >&6; }
5346 else
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5351 if test "x$ac_ct_CPPBIN" = x; then
5352 CPPBIN="cpp"
5353 else
5354 case $cross_compiling:$ac_tool_warned in
5355 yes:)
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5358 ac_tool_warned=yes ;;
5359 esac
5360 CPPBIN=$ac_ct_CPPBIN
5362 else
5363 CPPBIN="$ac_cv_prog_CPPBIN"
5367 cat >>confdefs.h <<_ACEOF
5368 #define EXEEXT "$ac_exeext"
5369 _ACEOF
5371 if test -n "$ac_tool_prefix"; then
5372 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5373 set dummy ${ac_tool_prefix}ld; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_LD+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$LD"; then
5380 ac_cv_prog_LD="$LD" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_LD="${ac_tool_prefix}ld"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 LD=$ac_cv_prog_LD
5400 if test -n "$LD"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5402 $as_echo "$LD" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5410 if test -z "$ac_cv_prog_LD"; then
5411 ac_ct_LD=$LD
5412 # Extract the first word of "ld", so it can be a program name with args.
5413 set dummy ld; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if test -n "$ac_ct_LD"; then
5420 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_LD="ld"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5440 if test -n "$ac_ct_LD"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5442 $as_echo "$ac_ct_LD" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5448 if test "x$ac_ct_LD" = x; then
5449 LD=""
5450 else
5451 case $cross_compiling:$ac_tool_warned in
5452 yes:)
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned=yes ;;
5456 esac
5457 LD=$ac_ct_LD
5459 else
5460 LD="$ac_cv_prog_LD"
5464 case $host in
5465 *-darwin*)
5466 with_fontconfig=${with_fontconfig:-no}
5468 *-mingw32*|*-cygwin*)
5469 enable_win16=${enable_win16:-no}
5470 CFLAGS="$CFLAGS -D_WIN32"
5472 esac
5474 case $host in
5475 x86_64*|amd64*)
5476 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5477 then
5478 CC="$CC -m32"
5479 CXX="$CXX -m32"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5481 $as_echo_n "checking whether $CC works... " >&6; }
5483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5487 main ()
5491 return 0;
5493 _ACEOF
5494 if ac_fn_c_try_link "$LINENO"; then :
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5496 $as_echo "yes" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5500 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5502 rm -f core conftest.err conftest.$ac_objext \
5503 conftest$ac_exeext conftest.$ac_ext
5504 host_cpu="i386"
5505 notice_platform="32-bit "
5506 TARGETFLAGS="-m32"
5508 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5509 export PKG_CONFIG_PATH
5510 enable_win16=${enable_win16:-yes}
5511 else
5512 if test "x${GCC}" = "xyes"
5513 then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5515 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5518 #include <stdarg.h>
5520 main ()
5522 void func(__builtin_ms_va_list *args);
5524 return 0;
5526 _ACEOF
5527 if ac_fn_c_try_compile "$LINENO"; then :
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5529 $as_echo "yes" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5533 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537 CC="$CC -m64"
5538 CXX="$CXX -m64"
5539 host_cpu="x86_64"
5540 notice_platform="64-bit "
5541 TARGETFLAGS="-m64"
5545 arm*)
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5547 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 int ac_test(int i) { return i; }
5552 main ()
5554 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5556 return 0;
5558 _ACEOF
5559 if ac_fn_c_try_link "$LINENO"; then :
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5561 $as_echo "yes" >&6; }
5562 else
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5565 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5567 rm -f core conftest.err conftest.$ac_objext \
5568 conftest$ac_exeext conftest.$ac_ext
5569 case $with_float_abi in
5570 soft|softfp|hard)
5571 float_abi=$with_float_abi ;;
5573 case $host_os in
5574 *eabihf)
5575 float_abi=hard ;;
5577 float_abi=softfp
5578 saved_CFLAGS=$CFLAGS
5579 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5581 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5586 main ()
5588 asm("vmrs r2,fpscr");
5590 return 0;
5592 _ACEOF
5593 if ac_fn_c_try_link "$LINENO"; then :
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5595 $as_echo "yes" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5599 float_abi=soft
5600 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5602 rm -f core conftest.err conftest.$ac_objext \
5603 conftest$ac_exeext conftest.$ac_ext
5604 CFLAGS=$saved_CFLAGS
5605 esac
5607 esac
5608 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5609 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5612 aarch64*)
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5614 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5617 #include <stdarg.h>
5619 main ()
5621 void func(__builtin_ms_va_list *args);
5623 return 0;
5625 _ACEOF
5626 if ac_fn_c_try_compile "$LINENO"; then :
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5628 $as_echo "yes" >&6; }
5629 else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5632 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5636 i[3456789]86*)
5637 enable_win16=${enable_win16:-yes}
5639 esac
5641 enable_win16=${enable_win16:-no}
5642 enable_win64=${enable_win64:-no}
5644 enable_winetest=${enable_winetest:-$enable_tests}
5646 if test -n "$with_wine64"
5647 then
5648 if test "x$enable_win64" = "xyes"
5649 then
5650 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5651 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5653 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5654 You should create a separate build directory and run configure from there." "$LINENO" 5
5655 enable_fonts=${enable_fonts:-no}
5656 enable_server=${enable_server:-no}
5657 wine64_disable=\#
5659 elif test "x$enable_win64" = "xyes"
5660 then
5661 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5665 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5666 if ${wine_cv_toolsdir+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 wine_cv_toolsdir="$with_wine_tools"
5670 if test -z "$with_wine_tools"; then
5671 if test "$cross_compiling" = "yes"; then
5672 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5673 elif test -n "$with_wine64"; then
5674 wine_cv_toolsdir="$with_wine64"
5677 if test -z "$wine_cv_toolsdir"; then
5678 wine_makedep=tools/makedep
5679 wine_cv_toolsdir="\$(top_builddir)"
5680 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5681 wine_makedep=$wine_cv_toolsdir/tools/makedep
5682 case "$wine_cv_toolsdir" in
5683 /*) ;;
5684 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5685 esac
5686 enable_tools=${enable_tools:-no}
5687 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5688 else
5689 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5693 $as_echo "$wine_cv_toolsdir" >&6; }
5694 TOOLSDIR=$wine_cv_toolsdir
5696 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5697 then
5698 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5702 for ac_prog in flex
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_FLEX+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 if test -n "$FLEX"; then
5712 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5717 IFS=$as_save_IFS
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_FLEX="$ac_prog"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 break 2
5725 done
5726 done
5727 IFS=$as_save_IFS
5731 FLEX=$ac_cv_prog_FLEX
5732 if test -n "$FLEX"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5734 $as_echo "$FLEX" >&6; }
5735 else
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 test -n "$FLEX" && break
5742 done
5743 test -n "$FLEX" || FLEX="none"
5745 if test "$FLEX" = "none"
5746 then
5747 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5750 $as_echo_n "checking whether flex is recent enough... " >&6; }
5751 cat >conftest.l <<EOF
5752 %top{
5753 #include "prediluvian.h"
5757 if $FLEX -t conftest.l >/dev/null 2>&5
5758 then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5760 $as_echo "yes" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5764 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5767 for ac_prog in bison
5769 # Extract the first word of "$ac_prog", so it can be a program name with args.
5770 set dummy $ac_prog; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_BISON+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$BISON"; then
5777 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_BISON="$ac_prog"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 BISON=$ac_cv_prog_BISON
5797 if test -n "$BISON"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5799 $as_echo "$BISON" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5806 test -n "$BISON" && break
5807 done
5808 test -n "$BISON" || BISON="none"
5810 if test "$BISON" = "none"
5811 then
5812 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5815 if test -n "$ac_tool_prefix"; then
5816 for ac_prog in ar gar
5818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_AR+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$AR"; then
5826 ac_cv_prog_AR="$AR" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 AR=$ac_cv_prog_AR
5846 if test -n "$AR"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5848 $as_echo "$AR" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$AR" && break
5856 done
5858 if test -z "$AR"; then
5859 ac_ct_AR=$AR
5860 for ac_prog in ar gar
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy $ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$ac_ct_AR"; then
5870 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_ac_ct_AR="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5890 if test -n "$ac_ct_AR"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5892 $as_echo "$ac_ct_AR" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ac_ct_AR" && break
5900 done
5902 if test "x$ac_ct_AR" = x; then
5903 AR="ar"
5904 else
5905 case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned=yes ;;
5910 esac
5911 AR=$ac_ct_AR
5915 if test -n "$ac_tool_prefix"; then
5916 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5917 set dummy ${ac_tool_prefix}strip; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if ${ac_cv_prog_STRIP+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if test -n "$STRIP"; then
5924 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929 IFS=$as_save_IFS
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 STRIP=$ac_cv_prog_STRIP
5944 if test -n "$STRIP"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5946 $as_echo "$STRIP" >&6; }
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5954 if test -z "$ac_cv_prog_STRIP"; then
5955 ac_ct_STRIP=$STRIP
5956 # Extract the first word of "strip", so it can be a program name with args.
5957 set dummy strip; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$ac_ct_STRIP"; then
5964 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_ac_ct_STRIP="strip"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5984 if test -n "$ac_ct_STRIP"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5986 $as_echo "$ac_ct_STRIP" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5992 if test "x$ac_ct_STRIP" = x; then
5993 STRIP="strip"
5994 else
5995 case $cross_compiling:$ac_tool_warned in
5996 yes:)
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999 ac_tool_warned=yes ;;
6000 esac
6001 STRIP=$ac_ct_STRIP
6003 else
6004 STRIP="$ac_cv_prog_STRIP"
6007 ARFLAGS=rc
6009 if test -n "$ac_tool_prefix"; then
6010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6011 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_RANLIB+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 if test -n "$RANLIB"; then
6018 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 RANLIB=$ac_cv_prog_RANLIB
6038 if test -n "$RANLIB"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6040 $as_echo "$RANLIB" >&6; }
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6048 if test -z "$ac_cv_prog_RANLIB"; then
6049 ac_ct_RANLIB=$RANLIB
6050 # Extract the first word of "ranlib", so it can be a program name with args.
6051 set dummy ranlib; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 if test -n "$ac_ct_RANLIB"; then
6058 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_RANLIB="ranlib"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6073 IFS=$as_save_IFS
6077 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6078 if test -n "$ac_ct_RANLIB"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6080 $as_echo "$ac_ct_RANLIB" >&6; }
6081 else
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6086 if test "x$ac_ct_RANLIB" = x; then
6087 RANLIB=":"
6088 else
6089 case $cross_compiling:$ac_tool_warned in
6090 yes:)
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6094 esac
6095 RANLIB=$ac_ct_RANLIB
6097 else
6098 RANLIB="$ac_cv_prog_RANLIB"
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6102 $as_echo_n "checking whether ln -s works... " >&6; }
6103 LN_S=$as_ln_s
6104 if test "$LN_S" = "ln -s"; then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6106 $as_echo "yes" >&6; }
6107 else
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6109 $as_echo "no, using $LN_S" >&6; }
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6113 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6114 if ${ac_cv_path_GREP+:} false; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 if test -z "$GREP"; then
6118 ac_path_GREP_found=false
6119 # Loop through the user's path and test for each of PROGNAME-LIST
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6123 IFS=$as_save_IFS
6124 test -z "$as_dir" && as_dir=.
6125 for ac_prog in grep ggrep; do
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6128 as_fn_executable_p "$ac_path_GREP" || continue
6129 # Check for GNU ac_path_GREP and select it if it is found.
6130 # Check for GNU $ac_path_GREP
6131 case `"$ac_path_GREP" --version 2>&1` in
6132 *GNU*)
6133 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6135 ac_count=0
6136 $as_echo_n 0123456789 >"conftest.in"
6137 while :
6139 cat "conftest.in" "conftest.in" >"conftest.tmp"
6140 mv "conftest.tmp" "conftest.in"
6141 cp "conftest.in" "conftest.nl"
6142 $as_echo 'GREP' >> "conftest.nl"
6143 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6144 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6145 as_fn_arith $ac_count + 1 && ac_count=$as_val
6146 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6147 # Best one so far, save it but keep looking for a better one
6148 ac_cv_path_GREP="$ac_path_GREP"
6149 ac_path_GREP_max=$ac_count
6151 # 10*(2^10) chars as input seems more than enough
6152 test $ac_count -gt 10 && break
6153 done
6154 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6155 esac
6157 $ac_path_GREP_found && break 3
6158 done
6159 done
6160 done
6161 IFS=$as_save_IFS
6162 if test -z "$ac_cv_path_GREP"; then
6163 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6165 else
6166 ac_cv_path_GREP=$GREP
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6171 $as_echo "$ac_cv_path_GREP" >&6; }
6172 GREP="$ac_cv_path_GREP"
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6176 $as_echo_n "checking for egrep... " >&6; }
6177 if ${ac_cv_path_EGREP+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6181 then ac_cv_path_EGREP="$GREP -E"
6182 else
6183 if test -z "$EGREP"; then
6184 ac_path_EGREP_found=false
6185 # Loop through the user's path and test for each of PROGNAME-LIST
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6189 IFS=$as_save_IFS
6190 test -z "$as_dir" && as_dir=.
6191 for ac_prog in egrep; do
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6194 as_fn_executable_p "$ac_path_EGREP" || continue
6195 # Check for GNU ac_path_EGREP and select it if it is found.
6196 # Check for GNU $ac_path_EGREP
6197 case `"$ac_path_EGREP" --version 2>&1` in
6198 *GNU*)
6199 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6201 ac_count=0
6202 $as_echo_n 0123456789 >"conftest.in"
6203 while :
6205 cat "conftest.in" "conftest.in" >"conftest.tmp"
6206 mv "conftest.tmp" "conftest.in"
6207 cp "conftest.in" "conftest.nl"
6208 $as_echo 'EGREP' >> "conftest.nl"
6209 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6210 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6211 as_fn_arith $ac_count + 1 && ac_count=$as_val
6212 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6213 # Best one so far, save it but keep looking for a better one
6214 ac_cv_path_EGREP="$ac_path_EGREP"
6215 ac_path_EGREP_max=$ac_count
6217 # 10*(2^10) chars as input seems more than enough
6218 test $ac_count -gt 10 && break
6219 done
6220 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6221 esac
6223 $ac_path_EGREP_found && break 3
6224 done
6225 done
6226 done
6227 IFS=$as_save_IFS
6228 if test -z "$ac_cv_path_EGREP"; then
6229 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6231 else
6232 ac_cv_path_EGREP=$EGREP
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6238 $as_echo "$ac_cv_path_EGREP" >&6; }
6239 EGREP="$ac_cv_path_EGREP"
6242 # Extract the first word of "ldconfig", so it can be a program name with args.
6243 set dummy ldconfig; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if ${ac_cv_path_LDCONFIG+:} false; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 case $LDCONFIG in
6250 [\\/]* | ?:[\\/]*)
6251 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in /sbin /usr/sbin $PATH
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 break 2
6265 done
6266 done
6267 IFS=$as_save_IFS
6269 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6271 esac
6273 LDCONFIG=$ac_cv_path_LDCONFIG
6274 if test -n "$LDCONFIG"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6276 $as_echo "$LDCONFIG" >&6; }
6277 else
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6283 for ac_prog in msgfmt
6285 # Extract the first word of "$ac_prog", so it can be a program name with args.
6286 set dummy $ac_prog; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if ${ac_cv_prog_MSGFMT+:} false; then :
6290 $as_echo_n "(cached) " >&6
6291 else
6292 if test -n "$MSGFMT"; then
6293 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6298 IFS=$as_save_IFS
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302 ac_cv_prog_MSGFMT="$ac_prog"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 break 2
6306 done
6307 done
6308 IFS=$as_save_IFS
6312 MSGFMT=$ac_cv_prog_MSGFMT
6313 if test -n "$MSGFMT"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6315 $as_echo "$MSGFMT" >&6; }
6316 else
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6322 test -n "$MSGFMT" && break
6323 done
6324 test -n "$MSGFMT" || MSGFMT="false"
6326 if ${ac_tool_prefix+:} false; then :
6327 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6328 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if test -n "$PKG_CONFIG"; then
6335 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6336 else
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH
6340 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 break 2
6348 done
6349 done
6350 IFS=$as_save_IFS
6354 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6355 if test -n "$PKG_CONFIG"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6357 $as_echo "$PKG_CONFIG" >&6; }
6358 else
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6365 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6366 if test "x$cross_compiling" = xyes; then :
6368 else
6369 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6370 # Extract the first word of "pkg-config", so it can be a program name with args.
6371 set dummy pkg-config; ac_word=$2
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6373 $as_echo_n "checking for $ac_word... " >&6; }
6374 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6375 $as_echo_n "(cached) " >&6
6376 else
6377 if test -n "$PKG_CONFIG"; then
6378 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6379 else
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 for as_dir in $PATH
6383 IFS=$as_save_IFS
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6387 ac_cv_prog_PKG_CONFIG="pkg-config"
6388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 break 2
6391 done
6392 done
6393 IFS=$as_save_IFS
6397 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6398 if test -n "$PKG_CONFIG"; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6400 $as_echo "$PKG_CONFIG" >&6; }
6401 else
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6403 $as_echo "no" >&6; }
6408 else
6409 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6412 if test "x$enable_maintainer_mode" != "xyes"
6413 then
6414 FONTFORGE=""
6415 RSVG=""
6416 CONVERT=""
6417 ICOTOOL=""
6418 else
6419 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6420 for ac_prog in fontforge
6422 # Extract the first word of "$ac_prog", so it can be a program name with args.
6423 set dummy $ac_prog; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 $as_echo_n "checking for $ac_word... " >&6; }
6426 if ${ac_cv_prog_FONTFORGE+:} false; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if test -n "$FONTFORGE"; then
6430 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_prog_FONTFORGE="$ac_prog"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6449 FONTFORGE=$ac_cv_prog_FONTFORGE
6450 if test -n "$FONTFORGE"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6452 $as_echo "$FONTFORGE" >&6; }
6453 else
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6455 $as_echo "no" >&6; }
6459 test -n "$FONTFORGE" && break
6460 done
6461 test -n "$FONTFORGE" || FONTFORGE="false"
6463 for ac_prog in rsvg-convert rsvg
6465 # Extract the first word of "$ac_prog", so it can be a program name with args.
6466 set dummy $ac_prog; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_prog_RSVG+:} false; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$RSVG"; then
6473 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_RSVG="$ac_prog"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 RSVG=$ac_cv_prog_RSVG
6493 if test -n "$RSVG"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6495 $as_echo "$RSVG" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6502 test -n "$RSVG" && break
6503 done
6504 test -n "$RSVG" || RSVG="false"
6506 for ac_prog in convert
6508 # Extract the first word of "$ac_prog", so it can be a program name with args.
6509 set dummy $ac_prog; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_CONVERT+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 if test -n "$CONVERT"; then
6516 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_CONVERT="$ac_prog"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6535 CONVERT=$ac_cv_prog_CONVERT
6536 if test -n "$CONVERT"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6538 $as_echo "$CONVERT" >&6; }
6539 else
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6545 test -n "$CONVERT" && break
6546 done
6547 test -n "$CONVERT" || CONVERT="false"
6549 for ac_prog in icotool
6551 # Extract the first word of "$ac_prog", so it can be a program name with args.
6552 set dummy $ac_prog; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_ICOTOOL+:} false; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 if test -n "$ICOTOOL"; then
6559 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_ICOTOOL="$ac_prog"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 break 2
6572 done
6573 done
6574 IFS=$as_save_IFS
6578 ICOTOOL=$ac_cv_prog_ICOTOOL
6579 if test -n "$ICOTOOL"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6581 $as_echo "$ICOTOOL" >&6; }
6582 else
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6588 test -n "$ICOTOOL" && break
6589 done
6590 test -n "$ICOTOOL" || ICOTOOL="false"
6592 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6593 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6595 if test "$CONVERT" = false
6596 then
6597 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6598 else
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6600 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6601 convert_version=`convert --version | head -n1`
6602 if test "x$convert_version" != "x"
6603 then
6604 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6605 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6606 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6607 then
6608 CONVERT=false
6611 if test "$CONVERT" = false
6612 then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6614 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6615 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6618 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6622 if test "$ICOTOOL" = false
6623 then
6624 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6625 else
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6627 $as_echo_n "checking for recent enough icotool... " >&6; }
6628 icotool_version=`icotool --version | head -n1`
6629 if test "x$icotool_version" != "x"
6630 then
6631 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6632 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6633 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6634 then
6635 ICOTOOL=false
6636 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6639 if test "$ICOTOOL" = false
6640 then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6642 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6643 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6644 else
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6646 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6650 with_gettext=yes
6651 with_gettextpo=yes
6652 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6655 test "x$with_gettext" != xno || MSGFMT=false
6656 if test "$MSGFMT" != "false"
6657 then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6659 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6660 cat >conftest.po <<EOF
6661 # comment
6662 msgctxt "ctxt"
6663 msgid "id"
6664 msgstr "str"
6666 if $MSGFMT -o /dev/null conftest.po 2>&5
6667 then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6669 $as_echo "yes" >&6; }
6670 else
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6673 MSGFMT=false
6676 if test "$MSGFMT" = false; then :
6677 case "x$with_gettext" in
6678 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6679 xno) ;;
6680 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6681 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6682 esac
6683 enable_po=${enable_po:-no}
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6688 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6689 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 ac_check_lib_save_LIBS=$LIBS
6693 LIBS="-li386 $LIBS"
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6697 /* Override any GCC internal prototype to avoid an error.
6698 Use char because int might match the return type of a GCC
6699 builtin and then its argument prototype would still apply. */
6700 #ifdef __cplusplus
6701 extern "C"
6702 #endif
6703 char i386_set_ldt ();
6705 main ()
6707 return i386_set_ldt ();
6709 return 0;
6711 _ACEOF
6712 if ac_fn_c_try_link "$LINENO"; then :
6713 ac_cv_lib_i386_i386_set_ldt=yes
6714 else
6715 ac_cv_lib_i386_i386_set_ldt=no
6717 rm -f core conftest.err conftest.$ac_objext \
6718 conftest$ac_exeext conftest.$ac_ext
6719 LIBS=$ac_check_lib_save_LIBS
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6722 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6723 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6724 cat >>confdefs.h <<_ACEOF
6725 #define HAVE_LIBI386 1
6726 _ACEOF
6728 LIBS="-li386 $LIBS"
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6733 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6734 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 ac_check_lib_save_LIBS=$LIBS
6738 LIBS="-lossaudio $LIBS"
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6742 /* Override any GCC internal prototype to avoid an error.
6743 Use char because int might match the return type of a GCC
6744 builtin and then its argument prototype would still apply. */
6745 #ifdef __cplusplus
6746 extern "C"
6747 #endif
6748 char _oss_ioctl ();
6750 main ()
6752 return _oss_ioctl ();
6754 return 0;
6756 _ACEOF
6757 if ac_fn_c_try_link "$LINENO"; then :
6758 ac_cv_lib_ossaudio__oss_ioctl=yes
6759 else
6760 ac_cv_lib_ossaudio__oss_ioctl=no
6762 rm -f core conftest.err conftest.$ac_objext \
6763 conftest$ac_exeext conftest.$ac_ext
6764 LIBS=$ac_check_lib_save_LIBS
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6767 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6768 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6769 cat >>confdefs.h <<_ACEOF
6770 #define HAVE_LIBOSSAUDIO 1
6771 _ACEOF
6773 LIBS="-lossaudio $LIBS"
6778 OPENGL_LIBS=""
6782 # Check whether --enable-largefile was given.
6783 if test "${enable_largefile+set}" = set; then :
6784 enableval=$enable_largefile;
6787 if test "$enable_largefile" != no; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6790 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6791 if ${ac_cv_sys_largefile_CC+:} false; then :
6792 $as_echo_n "(cached) " >&6
6793 else
6794 ac_cv_sys_largefile_CC=no
6795 if test "$GCC" != yes; then
6796 ac_save_CC=$CC
6797 while :; do
6798 # IRIX 6.2 and later do not support large files by default,
6799 # so use the C compiler's -n32 option if that helps.
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6802 #include <sys/types.h>
6803 /* Check that off_t can represent 2**63 - 1 correctly.
6804 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6805 since some C++ compilers masquerading as C compilers
6806 incorrectly reject 9223372036854775807. */
6807 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6808 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6809 && LARGE_OFF_T % 2147483647 == 1)
6810 ? 1 : -1];
6812 main ()
6816 return 0;
6818 _ACEOF
6819 if ac_fn_c_try_compile "$LINENO"; then :
6820 break
6822 rm -f core conftest.err conftest.$ac_objext
6823 CC="$CC -n32"
6824 if ac_fn_c_try_compile "$LINENO"; then :
6825 ac_cv_sys_largefile_CC=' -n32'; break
6827 rm -f core conftest.err conftest.$ac_objext
6828 break
6829 done
6830 CC=$ac_save_CC
6831 rm -f conftest.$ac_ext
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6835 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6836 if test "$ac_cv_sys_largefile_CC" != no; then
6837 CC=$CC$ac_cv_sys_largefile_CC
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6841 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6842 if ${ac_cv_sys_file_offset_bits+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 while :; do
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <sys/types.h>
6849 /* Check that off_t can represent 2**63 - 1 correctly.
6850 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6851 since some C++ compilers masquerading as C compilers
6852 incorrectly reject 9223372036854775807. */
6853 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6854 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6855 && LARGE_OFF_T % 2147483647 == 1)
6856 ? 1 : -1];
6858 main ()
6862 return 0;
6864 _ACEOF
6865 if ac_fn_c_try_compile "$LINENO"; then :
6866 ac_cv_sys_file_offset_bits=no; break
6868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #define _FILE_OFFSET_BITS 64
6872 #include <sys/types.h>
6873 /* Check that off_t can represent 2**63 - 1 correctly.
6874 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6875 since some C++ compilers masquerading as C compilers
6876 incorrectly reject 9223372036854775807. */
6877 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6878 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6879 && LARGE_OFF_T % 2147483647 == 1)
6880 ? 1 : -1];
6882 main ()
6886 return 0;
6888 _ACEOF
6889 if ac_fn_c_try_compile "$LINENO"; then :
6890 ac_cv_sys_file_offset_bits=64; break
6892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6893 ac_cv_sys_file_offset_bits=unknown
6894 break
6895 done
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6898 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6899 case $ac_cv_sys_file_offset_bits in #(
6900 no | unknown) ;;
6902 cat >>confdefs.h <<_ACEOF
6903 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6904 _ACEOF
6906 esac
6907 rm -rf conftest*
6908 if test $ac_cv_sys_file_offset_bits = unknown; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6910 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6911 if ${ac_cv_sys_large_files+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 while :; do
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6917 #include <sys/types.h>
6918 /* Check that off_t can represent 2**63 - 1 correctly.
6919 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6920 since some C++ compilers masquerading as C compilers
6921 incorrectly reject 9223372036854775807. */
6922 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6923 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6924 && LARGE_OFF_T % 2147483647 == 1)
6925 ? 1 : -1];
6927 main ()
6931 return 0;
6933 _ACEOF
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_sys_large_files=no; break
6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #define _LARGE_FILES 1
6941 #include <sys/types.h>
6942 /* Check that off_t can represent 2**63 - 1 correctly.
6943 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6944 since some C++ compilers masquerading as C compilers
6945 incorrectly reject 9223372036854775807. */
6946 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6947 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6948 && LARGE_OFF_T % 2147483647 == 1)
6949 ? 1 : -1];
6951 main ()
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_sys_large_files=1; break
6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6962 ac_cv_sys_large_files=unknown
6963 break
6964 done
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6967 $as_echo "$ac_cv_sys_large_files" >&6; }
6968 case $ac_cv_sys_large_files in #(
6969 no | unknown) ;;
6971 cat >>confdefs.h <<_ACEOF
6972 #define _LARGE_FILES $ac_cv_sys_large_files
6973 _ACEOF
6975 esac
6976 rm -rf conftest*
6983 ac_ext=c
6984 ac_cpp='$CPP $CPPFLAGS'
6985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6989 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6990 # On Suns, sometimes $CPP names a directory.
6991 if test -n "$CPP" && test -d "$CPP"; then
6992 CPP=
6994 if test -z "$CPP"; then
6995 if ${ac_cv_prog_CPP+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 # Double quotes because CPP needs to be expanded
6999 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7001 ac_preproc_ok=false
7002 for ac_c_preproc_warn_flag in '' yes
7004 # Use a header file that comes with gcc, so configuring glibc
7005 # with a fresh cross-compiler works.
7006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7007 # <limits.h> exists even on freestanding compilers.
7008 # On the NeXT, cc -E runs the code through the compiler's parser,
7009 # not just through cpp. "Syntax error" is here to catch this case.
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #ifdef __STDC__
7013 # include <limits.h>
7014 #else
7015 # include <assert.h>
7016 #endif
7017 Syntax error
7018 _ACEOF
7019 if ac_fn_c_try_cpp "$LINENO"; then :
7021 else
7022 # Broken: fails on valid input.
7023 continue
7025 rm -f conftest.err conftest.i conftest.$ac_ext
7027 # OK, works on sane cases. Now check whether nonexistent headers
7028 # can be detected and how.
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #include <ac_nonexistent.h>
7032 _ACEOF
7033 if ac_fn_c_try_cpp "$LINENO"; then :
7034 # Broken: success on invalid input.
7035 continue
7036 else
7037 # Passes both tests.
7038 ac_preproc_ok=:
7039 break
7041 rm -f conftest.err conftest.i conftest.$ac_ext
7043 done
7044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7045 rm -f conftest.i conftest.err conftest.$ac_ext
7046 if $ac_preproc_ok; then :
7047 break
7050 done
7051 ac_cv_prog_CPP=$CPP
7054 CPP=$ac_cv_prog_CPP
7055 else
7056 ac_cv_prog_CPP=$CPP
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7059 $as_echo "$CPP" >&6; }
7060 ac_preproc_ok=false
7061 for ac_c_preproc_warn_flag in '' yes
7063 # Use a header file that comes with gcc, so configuring glibc
7064 # with a fresh cross-compiler works.
7065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7066 # <limits.h> exists even on freestanding compilers.
7067 # On the NeXT, cc -E runs the code through the compiler's parser,
7068 # not just through cpp. "Syntax error" is here to catch this case.
7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070 /* end confdefs.h. */
7071 #ifdef __STDC__
7072 # include <limits.h>
7073 #else
7074 # include <assert.h>
7075 #endif
7076 Syntax error
7077 _ACEOF
7078 if ac_fn_c_try_cpp "$LINENO"; then :
7080 else
7081 # Broken: fails on valid input.
7082 continue
7084 rm -f conftest.err conftest.i conftest.$ac_ext
7086 # OK, works on sane cases. Now check whether nonexistent headers
7087 # can be detected and how.
7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7090 #include <ac_nonexistent.h>
7091 _ACEOF
7092 if ac_fn_c_try_cpp "$LINENO"; then :
7093 # Broken: success on invalid input.
7094 continue
7095 else
7096 # Passes both tests.
7097 ac_preproc_ok=:
7098 break
7100 rm -f conftest.err conftest.i conftest.$ac_ext
7102 done
7103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7104 rm -f conftest.i conftest.err conftest.$ac_ext
7105 if $ac_preproc_ok; then :
7107 else
7108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7110 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7111 See \`config.log' for more details" "$LINENO" 5; }
7114 ac_ext=c
7115 ac_cpp='$CPP $CPPFLAGS'
7116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7122 $as_echo_n "checking for ANSI C header files... " >&6; }
7123 if ${ac_cv_header_stdc+:} false; then :
7124 $as_echo_n "(cached) " >&6
7125 else
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 #include <stdlib.h>
7129 #include <stdarg.h>
7130 #include <string.h>
7131 #include <float.h>
7134 main ()
7138 return 0;
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142 ac_cv_header_stdc=yes
7143 else
7144 ac_cv_header_stdc=no
7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7148 if test $ac_cv_header_stdc = yes; then
7149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7151 /* end confdefs.h. */
7152 #include <string.h>
7154 _ACEOF
7155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7156 $EGREP "memchr" >/dev/null 2>&1; then :
7158 else
7159 ac_cv_header_stdc=no
7161 rm -f conftest*
7165 if test $ac_cv_header_stdc = yes; then
7166 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7169 #include <stdlib.h>
7171 _ACEOF
7172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7173 $EGREP "free" >/dev/null 2>&1; then :
7175 else
7176 ac_cv_header_stdc=no
7178 rm -f conftest*
7182 if test $ac_cv_header_stdc = yes; then
7183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7184 if test "$cross_compiling" = yes; then :
7186 else
7187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189 #include <ctype.h>
7190 #include <stdlib.h>
7191 #if ((' ' & 0x0FF) == 0x020)
7192 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7193 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7194 #else
7195 # define ISLOWER(c) \
7196 (('a' <= (c) && (c) <= 'i') \
7197 || ('j' <= (c) && (c) <= 'r') \
7198 || ('s' <= (c) && (c) <= 'z'))
7199 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7200 #endif
7202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7204 main ()
7206 int i;
7207 for (i = 0; i < 256; i++)
7208 if (XOR (islower (i), ISLOWER (i))
7209 || toupper (i) != TOUPPER (i))
7210 return 2;
7211 return 0;
7213 _ACEOF
7214 if ac_fn_c_try_run "$LINENO"; then :
7216 else
7217 ac_cv_header_stdc=no
7219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7220 conftest.$ac_objext conftest.beam conftest.$ac_ext
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7226 $as_echo "$ac_cv_header_stdc" >&6; }
7227 if test $ac_cv_header_stdc = yes; then
7229 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7233 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7234 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7235 inttypes.h stdint.h unistd.h
7236 do :
7237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7238 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7243 _ACEOF
7247 done
7250 for ac_header in \
7251 AL/al.h \
7252 ApplicationServices/ApplicationServices.h \
7253 AudioToolbox/AudioConverter.h \
7254 AudioUnit/AudioUnit.h \
7255 AudioUnit/AudioComponent.h \
7256 CL/cl.h \
7257 Carbon/Carbon.h \
7258 CommonCrypto/CommonCryptor.h \
7259 CoreAudio/CoreAudio.h \
7260 CoreServices/CoreServices.h \
7261 DiskArbitration/DiskArbitration.h \
7262 EGL/egl.h \
7263 IOKit/IOKitLib.h \
7264 IOKit/hid/IOHIDLib.h \
7265 OpenAL/al.h \
7266 OpenCL/opencl.h \
7267 QuickTime/ImageCompression.h \
7268 Security/Security.h \
7269 alias.h \
7270 alsa/asoundlib.h \
7271 arpa/inet.h \
7272 arpa/nameser.h \
7273 asm/types.h \
7274 asm/user.h \
7275 curses.h \
7276 direct.h \
7277 dirent.h \
7278 dlfcn.h \
7279 elf.h \
7280 float.h \
7281 fnmatch.h \
7282 getopt.h \
7283 gettext-po.h \
7284 grp.h \
7285 gsm.h \
7286 gsm/gsm.h \
7287 ieeefp.h \
7288 inet/mib2.h \
7289 io.h \
7290 kstat.h \
7291 libproc.h \
7292 link.h \
7293 linux/cdrom.h \
7294 linux/compiler.h \
7295 linux/filter.h \
7296 linux/hdreg.h \
7297 linux/hidraw.h \
7298 linux/input.h \
7299 linux/ioctl.h \
7300 linux/joystick.h \
7301 linux/major.h \
7302 linux/param.h \
7303 linux/serial.h \
7304 linux/types.h \
7305 linux/ucdrom.h \
7306 lwp.h \
7307 mach-o/nlist.h \
7308 mach-o/loader.h \
7309 mach/mach.h \
7310 mach/machine.h \
7311 machine/cpu.h \
7312 machine/limits.h \
7313 machine/sysarch.h \
7314 mntent.h \
7315 ncurses.h \
7316 netdb.h \
7317 netinet/in.h \
7318 netinet/in_systm.h \
7319 netinet/tcp.h \
7320 netinet/tcp_fsm.h \
7321 pcap/pcap.h \
7322 poll.h \
7323 port.h \
7324 process.h \
7325 pthread.h \
7326 pwd.h \
7327 sched.h \
7328 scsi/scsi.h \
7329 scsi/scsi_ioctl.h \
7330 scsi/sg.h \
7331 stdbool.h \
7332 stdint.h \
7333 stropts.h \
7334 sys/asoundlib.h \
7335 sys/attr.h \
7336 sys/auxv.h \
7337 sys/cdio.h \
7338 sys/elf32.h \
7339 sys/epoll.h \
7340 sys/event.h \
7341 sys/exec_elf.h \
7342 sys/filio.h \
7343 sys/inotify.h \
7344 sys/ioctl.h \
7345 sys/ipc.h \
7346 sys/limits.h \
7347 sys/link.h \
7348 sys/mman.h \
7349 sys/modem.h \
7350 sys/msg.h \
7351 sys/mtio.h \
7352 sys/param.h \
7353 sys/poll.h \
7354 sys/prctl.h \
7355 sys/protosw.h \
7356 sys/ptrace.h \
7357 sys/queue.h \
7358 sys/resource.h \
7359 sys/scsiio.h \
7360 sys/shm.h \
7361 sys/signal.h \
7362 sys/socket.h \
7363 sys/socketvar.h \
7364 sys/sockio.h \
7365 sys/statvfs.h \
7366 sys/strtio.h \
7367 sys/syscall.h \
7368 sys/sysinfo.h \
7369 sys/tihdr.h \
7370 sys/time.h \
7371 sys/timeout.h \
7372 sys/times.h \
7373 sys/uio.h \
7374 sys/user.h \
7375 sys/utsname.h \
7376 sys/vnode.h \
7377 sys/wait.h \
7378 syscall.h \
7379 termios.h \
7380 unistd.h \
7381 utime.h \
7382 valgrind/memcheck.h \
7383 valgrind/valgrind.h \
7384 zlib.h
7386 do :
7387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7388 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7389 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7390 cat >>confdefs.h <<_ACEOF
7391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7392 _ACEOF
7396 done
7398 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7399 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7401 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7406 if test $ac_cv_header_sys_mkdev_h = no; then
7407 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7408 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7410 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7417 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7418 if ${ac_cv_header_stat_broken+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7423 #include <sys/types.h>
7424 #include <sys/stat.h>
7426 #if defined S_ISBLK && defined S_IFDIR
7427 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7428 #endif
7430 #if defined S_ISBLK && defined S_IFCHR
7431 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7432 #endif
7434 #if defined S_ISLNK && defined S_IFREG
7435 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7436 #endif
7438 #if defined S_ISSOCK && defined S_IFREG
7439 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7440 #endif
7442 _ACEOF
7443 if ac_fn_c_try_compile "$LINENO"; then :
7444 ac_cv_header_stat_broken=no
7445 else
7446 ac_cv_header_stat_broken=yes
7448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7451 $as_echo "$ac_cv_header_stat_broken" >&6; }
7452 if test $ac_cv_header_stat_broken = yes; then
7454 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7460 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7461 do :
7462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7463 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7464 #ifdef HAVE_SYS_PARAM_H
7465 # include <sys/param.h>
7466 #endif
7468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7469 cat >>confdefs.h <<_ACEOF
7470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 _ACEOF
7475 done
7478 for ac_header in \
7479 netinet/ip.h \
7480 net/if.h \
7481 net/if_arp.h \
7482 net/if_dl.h \
7483 net/if_types.h \
7484 net/route.h \
7485 netinet/if_ether.h \
7486 netinet/if_inarp.h \
7487 netinet/in_pcb.h \
7488 netinet/ip_icmp.h \
7489 netinet/ip_var.h \
7490 netinet/udp.h \
7491 netipx/ipx.h \
7492 sys/un.h \
7494 do :
7495 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7497 #ifdef HAVE_SYS_SOCKET_H
7498 # include <sys/socket.h>
7499 #endif
7500 #ifdef HAVE_SYS_SOCKETVAR_H
7501 # include <sys/socketvar.h>
7502 #endif
7503 #ifdef HAVE_NET_ROUTE_H
7504 # include <net/route.h>
7505 #endif
7506 #ifdef HAVE_NETINET_IN_H
7507 # include <netinet/in.h>
7508 #endif
7509 #ifdef HAVE_NETINET_IN_SYSTM_H
7510 # include <netinet/in_systm.h>
7511 #endif
7512 #ifdef HAVE_NET_IF_H
7513 # include <net/if.h>
7514 #endif
7515 #ifdef HAVE_NETINET_IP_H
7516 # include <netinet/ip.h>
7517 #endif
7519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7520 cat >>confdefs.h <<_ACEOF
7521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7522 _ACEOF
7526 done
7529 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7530 do :
7531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7533 #ifdef HAVE_ALIAS_H
7534 # include <alias.h>
7535 #endif
7536 #ifdef HAVE_SYS_SOCKET_H
7537 # include <sys/socket.h>
7538 #endif
7539 #ifdef HAVE_SYS_SOCKETVAR_H
7540 # include <sys/socketvar.h>
7541 #endif
7542 #ifdef HAVE_SYS_TIMEOUT_H
7543 # include <sys/timeout.h>
7544 #endif
7545 #ifdef HAVE_NETINET_IN_H
7546 # include <netinet/in.h>
7547 #endif
7548 #ifdef HAVE_NETINET_IN_SYSTM_H
7549 # include <netinet/in_systm.h>
7550 #endif
7551 #ifdef HAVE_NETINET_IP_H
7552 # include <netinet/ip.h>
7553 #endif
7554 #ifdef HAVE_NETINET_IP_VAR_H
7555 # include <netinet/ip_var.h>
7556 #endif
7557 #ifdef HAVE_NETINET_IP_ICMP_H
7558 # include <netinet/ip_icmp.h>
7559 #endif
7560 #ifdef HAVE_NETINET_UDP_H
7561 # include <netinet/udp.h>
7562 #endif
7563 #ifdef HAVE_NETINET_TCP_H
7564 # include <netinet/tcp.h>
7565 #endif
7566 #ifdef HAVE_NETINET_TCP_TIMER_H
7567 #include <netinet/tcp_timer.h>
7568 #endif
7570 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7571 cat >>confdefs.h <<_ACEOF
7572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7573 _ACEOF
7577 done
7580 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7581 do :
7582 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7583 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7584 #ifdef HAVE_ASM_TYPES_H
7585 # include <asm/types.h>
7586 #endif
7587 #ifdef HAVE_SYS_SOCKET_H
7588 # include <sys/socket.h>
7589 #endif
7590 #ifdef HAVE_LINUX_TYPES_H
7591 # include <linux/types.h>
7592 #endif
7594 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7595 cat >>confdefs.h <<_ACEOF
7596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7597 _ACEOF
7601 done
7604 for ac_header in mach-o/dyld_images.h
7605 do :
7606 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7607 # include <stdbool.h>
7608 #endif
7609 #ifdef HAVE_STDINT_H
7610 # include <stdint.h>
7611 #endif
7613 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7614 cat >>confdefs.h <<_ACEOF
7615 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7616 _ACEOF
7620 done
7623 for ac_header in resolv.h
7624 do :
7625 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7626 #ifdef HAVE_SYS_SOCKET_H
7627 # include <sys/socket.h>
7628 #endif
7629 #ifdef HAVE_NETINET_IN_H
7630 # include <netinet/in.h>
7631 #endif
7632 #ifdef HAVE_ARPA_NAMESER_H
7633 # include <arpa/nameser.h>
7634 #endif
7636 if test "x$ac_cv_header_resolv_h" = xyes; then :
7637 cat >>confdefs.h <<_ACEOF
7638 #define HAVE_RESOLV_H 1
7639 _ACEOF
7643 done
7646 for ac_header in ifaddrs.h
7647 do :
7648 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7650 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7651 cat >>confdefs.h <<_ACEOF
7652 #define HAVE_IFADDRS_H 1
7653 _ACEOF
7657 done
7660 for ac_header in sys/ucontext.h
7661 do :
7662 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7664 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7665 cat >>confdefs.h <<_ACEOF
7666 #define HAVE_SYS_UCONTEXT_H 1
7667 _ACEOF
7671 done
7674 for ac_header in sys/thr.h
7675 do :
7676 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7677 #ifdef HAVE_SYS_UCONTEXT_H
7678 #include <sys/ucontext.h>
7679 #endif
7681 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7682 cat >>confdefs.h <<_ACEOF
7683 #define HAVE_SYS_THR_H 1
7684 _ACEOF
7688 done
7691 for ac_header in pthread_np.h
7692 do :
7693 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7694 #include <pthread.h>
7695 #endif
7697 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define HAVE_PTHREAD_NP_H 1
7700 _ACEOF
7704 done
7707 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7708 do :
7709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7710 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7711 #include <sys/time.h>
7712 #endif
7713 #include <sys/types.h>
7714 #ifdef HAVE_ASM_TYPES_H
7715 #include <asm/types.h>
7716 #endif
7718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7728 for ac_header in libprocstat.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7731 #include <sys/param.h>
7732 #endif
7733 #ifdef HAVE_SYS_QUEUE_H
7734 #include <sys/queue.h>
7735 #endif
7736 #ifdef HAVE_SYS_SOCKET_H
7737 #include <sys/socket.h>
7738 #endif
7740 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define HAVE_LIBPROCSTAT_H 1
7743 _ACEOF
7747 done
7751 DLLFLAGS="-D_REENTRANT"
7753 LDRPATH_INSTALL=""
7755 LDRPATH_LOCAL=""
7757 LDEXECFLAGS=""
7759 WINELOADER_LDFLAGS=""
7761 LIBEXT="so"
7762 DLLEXT=".so"
7763 IMPLIBEXT="def"
7764 # Extract the first word of "ldd", so it can be a program name with args.
7765 set dummy ldd; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 $as_echo_n "checking for $ac_word... " >&6; }
7768 if ${ac_cv_path_LDD+:} false; then :
7769 $as_echo_n "(cached) " >&6
7770 else
7771 case $LDD in
7772 [\\/]* | ?:[\\/]*)
7773 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 as_dummy="/sbin:/usr/sbin:$PATH"
7778 for as_dir in $as_dummy
7780 IFS=$as_save_IFS
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7784 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 break 2
7788 done
7789 done
7790 IFS=$as_save_IFS
7792 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7794 esac
7796 LDD=$ac_cv_path_LDD
7797 if test -n "$LDD"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7799 $as_echo "$LDD" >&6; }
7800 else
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}otool; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_OTOOL+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$OTOOL"; then
7815 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7828 done
7829 done
7830 IFS=$as_save_IFS
7834 OTOOL=$ac_cv_prog_OTOOL
7835 if test -n "$OTOOL"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7837 $as_echo "$OTOOL" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_OTOOL"; then
7846 ac_ct_OTOOL=$OTOOL
7847 # Extract the first word of "otool", so it can be a program name with args.
7848 set dummy otool; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 if test -n "$ac_ct_OTOOL"; then
7855 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_OTOOL="otool"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7868 done
7869 done
7870 IFS=$as_save_IFS
7874 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7875 if test -n "$ac_ct_OTOOL"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7877 $as_echo "$ac_ct_OTOOL" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_OTOOL" = x; then
7884 OTOOL="otool"
7885 else
7886 case $cross_compiling:$ac_tool_warned in
7887 yes:)
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7891 esac
7892 OTOOL=$ac_ct_OTOOL
7894 else
7895 OTOOL="$ac_cv_prog_OTOOL"
7898 if test -n "$ac_tool_prefix"; then
7899 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_READELF+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 if test -n "$READELF"; then
7907 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7912 IFS=$as_save_IFS
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 break 2
7920 done
7921 done
7922 IFS=$as_save_IFS
7926 READELF=$ac_cv_prog_READELF
7927 if test -n "$READELF"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7929 $as_echo "$READELF" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7937 if test -z "$ac_cv_prog_READELF"; then
7938 ac_ct_READELF=$READELF
7939 # Extract the first word of "readelf", so it can be a program name with args.
7940 set dummy readelf; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7944 $as_echo_n "(cached) " >&6
7945 else
7946 if test -n "$ac_ct_READELF"; then
7947 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7948 else
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7950 for as_dir in $PATH
7952 IFS=$as_save_IFS
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_ac_ct_READELF="readelf"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 break 2
7960 done
7961 done
7962 IFS=$as_save_IFS
7966 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7967 if test -n "$ac_ct_READELF"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7969 $as_echo "$ac_ct_READELF" >&6; }
7970 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7975 if test "x$ac_ct_READELF" = x; then
7976 READELF="true"
7977 else
7978 case $cross_compiling:$ac_tool_warned in
7979 yes:)
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7983 esac
7984 READELF=$ac_ct_READELF
7986 else
7987 READELF="$ac_cv_prog_READELF"
7990 wine_rules_file=conf$$rules.make
7991 rm -f $wine_rules_file
7992 SUBDIRS=""
7994 DISABLED_SUBDIRS=""
7996 CONFIGURE_TARGETS=""
7999 wine_fn_append_file ()
8001 as_fn_append $1 " \\$as_nl $2"
8004 wine_fn_append_rule ()
8006 $as_echo "$1" >>$wine_rules_file
8009 wine_fn_config_makefile ()
8011 wine_fn_append_file SUBDIRS $1
8012 if eval test \"x\$"$2"\" = x"no"; then :
8013 wine_fn_append_file DISABLED_SUBDIRS $1
8017 wine_fn_config_symlink ()
8019 ac_links=$@
8020 wine_fn_append_rule \
8021 "$ac_links:
8022 @./config.status \$@"
8023 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8026 wine_binary="wine"
8027 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8028 WINELOADER_PROGRAMS="$wine_binary"
8030 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8032 case $host_os in
8033 cygwin*|mingw32*)
8034 if test -n "$ac_tool_prefix"; then
8035 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8036 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 $as_echo_n "checking for $ac_word... " >&6; }
8039 if ${ac_cv_prog_DLLTOOL+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 if test -n "$DLLTOOL"; then
8043 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8048 IFS=$as_save_IFS
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 break 2
8056 done
8057 done
8058 IFS=$as_save_IFS
8062 DLLTOOL=$ac_cv_prog_DLLTOOL
8063 if test -n "$DLLTOOL"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8065 $as_echo "$DLLTOOL" >&6; }
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8068 $as_echo "no" >&6; }
8073 if test -z "$ac_cv_prog_DLLTOOL"; then
8074 ac_ct_DLLTOOL=$DLLTOOL
8075 # Extract the first word of "dlltool", so it can be a program name with args.
8076 set dummy dlltool; ac_word=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078 $as_echo_n "checking for $ac_word... " >&6; }
8079 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081 else
8082 if test -n "$ac_ct_DLLTOOL"; then
8083 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8084 else
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 for as_dir in $PATH
8088 IFS=$as_save_IFS
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 break 2
8096 done
8097 done
8098 IFS=$as_save_IFS
8102 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8103 if test -n "$ac_ct_DLLTOOL"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8105 $as_echo "$ac_ct_DLLTOOL" >&6; }
8106 else
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8111 if test "x$ac_ct_DLLTOOL" = x; then
8112 DLLTOOL="false"
8113 else
8114 case $cross_compiling:$ac_tool_warned in
8115 yes:)
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8118 ac_tool_warned=yes ;;
8119 esac
8120 DLLTOOL=$ac_ct_DLLTOOL
8122 else
8123 DLLTOOL="$ac_cv_prog_DLLTOOL"
8126 LIBEXT="dll"
8127 DLLEXT=""
8128 IMPLIBEXT="a"
8129 enable_iphlpapi=${enable_iphlpapi:-no}
8130 enable_kernel32=${enable_kernel32:-no}
8131 enable_msvcrt=${enable_msvcrt:-no}
8132 enable_ntdll=${enable_ntdll:-no}
8133 enable_ws2_32=${enable_ws2_32:-no}
8134 enable_loader=${enable_loader:-no}
8135 enable_server=${enable_server:-no}
8136 with_x=${with_x:-no}
8137 with_pthread=${with_pthread:-no}
8139 crtlibs=""
8140 case $host_os in
8141 mingw32*)
8142 crtlibs="-lmsvcrt"
8143 SOCKET_LIBS="-lws2_32"
8145 esac
8147 LIBWINE_SHAREDLIB="libwine.dll"
8149 LIBWINE_IMPORTLIB="libwine.a"
8151 LIBWINE_INSTALL_LIB="libwine.dll"
8153 LIBWINE_INSTALL_DEV="libwine.a"
8155 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8157 LIBWINE_DEPENDS="wine.def"
8161 darwin*|macosx*)
8162 for ac_header in libunwind.h
8163 do :
8164 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8166 cat >>confdefs.h <<_ACEOF
8167 #define HAVE_LIBUNWIND_H 1
8168 _ACEOF
8172 done
8174 ac_ext=m
8175 ac_cpp='$OBJCPP $CPPFLAGS'
8176 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8177 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8178 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8180 ac_ext=m
8181 ac_cpp='$OBJCPP $CPPFLAGS'
8182 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8183 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8184 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8185 if test -n "$ac_tool_prefix"; then
8186 for ac_prog in gcc objcc objc cc CC
8188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if ${ac_cv_prog_OBJC+:} false; then :
8193 $as_echo_n "(cached) " >&6
8194 else
8195 if test -n "$OBJC"; then
8196 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8197 else
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8199 for as_dir in $PATH
8201 IFS=$as_save_IFS
8202 test -z "$as_dir" && as_dir=.
8203 for ac_exec_ext in '' $ac_executable_extensions; do
8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8205 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8207 break 2
8209 done
8210 done
8211 IFS=$as_save_IFS
8215 OBJC=$ac_cv_prog_OBJC
8216 if test -n "$OBJC"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8218 $as_echo "$OBJC" >&6; }
8219 else
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8225 test -n "$OBJC" && break
8226 done
8228 if test -z "$OBJC"; then
8229 ac_ct_OBJC=$OBJC
8230 for ac_prog in gcc objcc objc cc CC
8232 # Extract the first word of "$ac_prog", so it can be a program name with args.
8233 set dummy $ac_prog; ac_word=$2
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235 $as_echo_n "checking for $ac_word... " >&6; }
8236 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 if test -n "$ac_ct_OBJC"; then
8240 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8241 else
8242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 for as_dir in $PATH
8245 IFS=$as_save_IFS
8246 test -z "$as_dir" && as_dir=.
8247 for ac_exec_ext in '' $ac_executable_extensions; do
8248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8249 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 break 2
8253 done
8254 done
8255 IFS=$as_save_IFS
8259 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8260 if test -n "$ac_ct_OBJC"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8262 $as_echo "$ac_ct_OBJC" >&6; }
8263 else
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 $as_echo "no" >&6; }
8269 test -n "$ac_ct_OBJC" && break
8270 done
8272 if test "x$ac_ct_OBJC" = x; then
8273 OBJC="gcc"
8274 else
8275 case $cross_compiling:$ac_tool_warned in
8276 yes:)
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8279 ac_tool_warned=yes ;;
8280 esac
8281 OBJC=$ac_ct_OBJC
8285 # Provide some information about the compiler.
8286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8287 set X $ac_compile
8288 ac_compiler=$2
8289 for ac_option in --version -v -V -qversion; do
8290 { { ac_try="$ac_compiler $ac_option >&5"
8291 case "(($ac_try" in
8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8293 *) ac_try_echo=$ac_try;;
8294 esac
8295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8296 $as_echo "$ac_try_echo"; } >&5
8297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8298 ac_status=$?
8299 if test -s conftest.err; then
8300 sed '10a\
8301 ... rest of stderr output deleted ...
8302 10q' conftest.err >conftest.er1
8303 cat conftest.er1 >&5
8305 rm -f conftest.er1 conftest.err
8306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8307 test $ac_status = 0; }
8308 done
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8311 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8312 if ${ac_cv_objc_compiler_gnu+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8319 main ()
8321 #ifndef __GNUC__
8322 choke me
8323 #endif
8326 return 0;
8328 _ACEOF
8329 if ac_fn_objc_try_compile "$LINENO"; then :
8330 ac_compiler_gnu=yes
8331 else
8332 ac_compiler_gnu=no
8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8335 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8339 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8340 if test $ac_compiler_gnu = yes; then
8341 GOBJC=yes
8342 else
8343 GOBJC=
8345 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8346 ac_save_OBJCFLAGS=$OBJCFLAGS
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8348 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8349 if ${ac_cv_prog_objc_g+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_save_objc_werror_flag=$ac_objc_werror_flag
8353 ac_objc_werror_flag=yes
8354 ac_cv_prog_objc_g=no
8355 OBJCFLAGS="-g"
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8360 main ()
8364 return 0;
8366 _ACEOF
8367 if ac_fn_objc_try_compile "$LINENO"; then :
8368 ac_cv_prog_objc_g=yes
8369 else
8370 OBJCFLAGS=""
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8375 main ()
8379 return 0;
8381 _ACEOF
8382 if ac_fn_objc_try_compile "$LINENO"; then :
8384 else
8385 ac_objc_werror_flag=$ac_save_objc_werror_flag
8386 OBJCFLAGS="-g"
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8391 main ()
8395 return 0;
8397 _ACEOF
8398 if ac_fn_objc_try_compile "$LINENO"; then :
8399 ac_cv_prog_objc_g=yes
8401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8406 ac_objc_werror_flag=$ac_save_objc_werror_flag
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8409 $as_echo "$ac_cv_prog_objc_g" >&6; }
8410 if test "$ac_test_OBJCFLAGS" = set; then
8411 OBJCFLAGS=$ac_save_OBJCFLAGS
8412 elif test $ac_cv_prog_objc_g = yes; then
8413 if test "$GOBJC" = yes; then
8414 OBJCFLAGS="-g -O2"
8415 else
8416 OBJCFLAGS="-g"
8418 else
8419 if test "$GOBJC" = yes; then
8420 OBJCFLAGS="-O2"
8421 else
8422 OBJCFLAGS=
8425 ac_ext=m
8426 ac_cpp='$OBJCPP $CPPFLAGS'
8427 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8432 ac_ext=m
8433 ac_cpp='$OBJCPP $CPPFLAGS'
8434 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8435 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8436 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8438 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8439 if test -z "$OBJCPP"; then
8440 if ${ac_cv_prog_OBJCPP+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 # Double quotes because OBJCPP needs to be expanded
8444 for OBJCPP in "$OBJC -E" "/lib/cpp"
8446 ac_preproc_ok=false
8447 for ac_objc_preproc_warn_flag in '' yes
8449 # Use a header file that comes with gcc, so configuring glibc
8450 # with a fresh cross-compiler works.
8451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8452 # <limits.h> exists even on freestanding compilers.
8453 # On the NeXT, cc -E runs the code through the compiler's parser,
8454 # not just through cpp. "Syntax error" is here to catch this case.
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 #ifdef __STDC__
8458 # include <limits.h>
8459 #else
8460 # include <assert.h>
8461 #endif
8462 Syntax error
8463 _ACEOF
8464 if ac_fn_objc_try_cpp "$LINENO"; then :
8466 else
8467 # Broken: fails on valid input.
8468 continue
8470 rm -f conftest.err conftest.i conftest.$ac_ext
8472 # OK, works on sane cases. Now check whether nonexistent headers
8473 # can be detected and how.
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 #include <ac_nonexistent.h>
8477 _ACEOF
8478 if ac_fn_objc_try_cpp "$LINENO"; then :
8479 # Broken: success on invalid input.
8480 continue
8481 else
8482 # Passes both tests.
8483 ac_preproc_ok=:
8484 break
8486 rm -f conftest.err conftest.i conftest.$ac_ext
8488 done
8489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8490 rm -f conftest.i conftest.err conftest.$ac_ext
8491 if $ac_preproc_ok; then :
8492 break
8495 done
8496 ac_cv_prog_OBJCPP=$OBJCPP
8499 OBJCPP=$ac_cv_prog_OBJCPP
8500 else
8501 ac_cv_prog_OBJCPP=$OBJCPP
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8504 $as_echo "$OBJCPP" >&6; }
8505 ac_preproc_ok=false
8506 for ac_objc_preproc_warn_flag in '' yes
8508 # Use a header file that comes with gcc, so configuring glibc
8509 # with a fresh cross-compiler works.
8510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8511 # <limits.h> exists even on freestanding compilers.
8512 # On the NeXT, cc -E runs the code through the compiler's parser,
8513 # not just through cpp. "Syntax error" is here to catch this case.
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 #ifdef __STDC__
8517 # include <limits.h>
8518 #else
8519 # include <assert.h>
8520 #endif
8521 Syntax error
8522 _ACEOF
8523 if ac_fn_objc_try_cpp "$LINENO"; then :
8525 else
8526 # Broken: fails on valid input.
8527 continue
8529 rm -f conftest.err conftest.i conftest.$ac_ext
8531 # OK, works on sane cases. Now check whether nonexistent headers
8532 # can be detected and how.
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 #include <ac_nonexistent.h>
8536 _ACEOF
8537 if ac_fn_objc_try_cpp "$LINENO"; then :
8538 # Broken: success on invalid input.
8539 continue
8540 else
8541 # Passes both tests.
8542 ac_preproc_ok=:
8543 break
8545 rm -f conftest.err conftest.i conftest.$ac_ext
8547 done
8548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8549 rm -f conftest.i conftest.err conftest.$ac_ext
8550 if $ac_preproc_ok; then :
8552 else
8553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8555 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8556 See \`config.log' for more details" "$LINENO" 5; }
8559 ac_ext=m
8560 ac_cpp='$OBJCPP $CPPFLAGS'
8561 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8566 for ac_header in Metal/Metal.h
8567 do :
8568 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8569 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8570 cat >>confdefs.h <<_ACEOF
8571 #define HAVE_METAL_METAL_H 1
8572 _ACEOF
8576 done
8578 ac_ext=c
8579 ac_cpp='$CPP $CPPFLAGS'
8580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8584 LIBEXT="dylib"
8585 DLLFLAGS="$DLLFLAGS -fPIC"
8586 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8587 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8588 COREFOUNDATION_LIBS="-framework CoreFoundation"
8590 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8592 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8594 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8596 CORESERVICES_LIBS="-framework CoreServices"
8598 APPKIT_LIBS="-framework AppKit"
8600 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8602 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8603 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8604 $as_echo_n "(cached) " >&6
8605 else
8606 ac_wine_try_cflags_saved=$CFLAGS
8607 CFLAGS="$CFLAGS -Wl,-no_pie"
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8610 int main(int argc, char **argv) { return 0; }
8611 _ACEOF
8612 if ac_fn_c_try_link "$LINENO"; then :
8613 ac_cv_cflags__Wl__no_pie=yes
8614 else
8615 ac_cv_cflags__Wl__no_pie=no
8617 rm -f core conftest.err conftest.$ac_objext \
8618 conftest$ac_exeext conftest.$ac_ext
8619 CFLAGS=$ac_wine_try_cflags_saved
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8622 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8623 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8624 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8626 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8627 then
8628 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8631 if test "$ac_cv_header_Security_Security_h" = "yes"
8632 then
8633 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8635 ac_save_LIBS="$LIBS"
8636 LIBS="$LIBS $SECURITY_LIBS"
8637 for ac_func in SSLCopyPeerCertificates
8638 do :
8639 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8640 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8641 cat >>confdefs.h <<_ACEOF
8642 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8643 _ACEOF
8646 done
8648 LIBS="$ac_save_LIBS"
8650 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8651 then
8652 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8653 then
8654 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8656 else
8657 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8660 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8661 ac_save_LIBS="$LIBS"
8662 LIBS="$LIBS $COREAUDIO_LIBS"
8663 for ac_func in AUGraphAddNode
8664 do :
8665 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8666 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8667 cat >>confdefs.h <<_ACEOF
8668 #define HAVE_AUGRAPHADDNODE 1
8669 _ACEOF
8672 done
8674 LIBS="$ac_save_LIBS"
8676 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8677 then
8678 OPENAL_LIBS="-framework OpenAL"
8681 cat >>confdefs.h <<_ACEOF
8682 #define HAVE_OPENAL 1
8683 _ACEOF
8685 ac_cv_lib_openal=yes
8687 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8688 then
8689 OPENCL_LIBS="-framework OpenCL"
8691 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8693 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8694 then
8695 ac_save_LIBS="$LIBS"
8696 LIBS="$LIBS $IOKIT_LIBS"
8697 for ac_func in IOHIDManagerCreate
8698 do :
8699 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8700 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8701 cat >>confdefs.h <<_ACEOF
8702 #define HAVE_IOHIDMANAGERCREATE 1
8703 _ACEOF
8706 done
8708 LIBS="$ac_save_LIBS"
8710 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8711 then
8712 ac_save_LIBS="$LIBS"
8713 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8715 $as_echo_n "checking for the QuickTime framework... " >&6; }
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 #include <QuickTime/ImageCompression.h>
8720 main ()
8722 CodecManagerVersion(NULL);
8724 return 0;
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8729 $as_echo "yes" >&6; }
8730 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8732 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8733 else
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8736 ac_cv_header_QuickTime_ImageCompression_h=no
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 LIBS="$ac_save_LIBS"
8742 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8743 then
8744 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8746 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8747 then
8748 CARBON_LIBS="-framework Carbon"
8751 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8752 then
8753 METAL_LIBS="-framework Metal -framework QuartzCore"
8757 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8758 then
8759 ac_save_LIBS="$LIBS"
8760 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8761 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8762 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8763 enable_winemac_drv=${enable_winemac_drv:-yes}
8766 LIBS="$ac_save_LIBS"
8769 if test "x$enable_win16" = "xyes"
8770 then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8772 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8773 if test "$cross_compiling" = yes; then :
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8775 $as_echo "cross-compiling, assuming yes" >&6; }
8776 else
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 asm(".text\n"
8780 "bad:\tnop;nop\n"
8781 "good:\tnop;nop\n\t"
8782 ".globl _testfunc\n"
8783 "_testfunc:\tcallw good");
8784 extern void testfunc();
8786 main ()
8788 unsigned short *p = (unsigned short *)testfunc;
8789 return p[0] != 0xe866 || p[1] != 0xfffa
8791 return 0;
8793 _ACEOF
8794 if ac_fn_c_try_run "$LINENO"; then :
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8796 $as_echo "yes" >&6; }
8797 else
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8800 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
8802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8803 conftest.$ac_objext conftest.beam conftest.$ac_ext
8808 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8810 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8812 LIBWINE_INSTALL_DEV="libwine.dylib"
8814 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8816 WINELOADER_DEPENDS="wine_info.plist"
8820 linux-android*)
8821 DLLFLAGS="$DLLFLAGS -fPIC"
8822 LDEXECFLAGS="-Wl,-pie"
8823 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8825 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8826 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 int main(int argc, char **argv) { return 0; }
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8837 else
8838 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8845 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8846 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8847 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8849 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8851 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8852 if eval \${$as_ac_var+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_wine_try_cflags_saved=$CFLAGS
8856 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 eval "$as_ac_var=yes"
8863 else
8864 eval "$as_ac_var=no"
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 eval ac_res=\$$as_ac_var
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8872 $as_echo "$ac_res" >&6; }
8873 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8874 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8875 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8876 else
8877 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8879 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8880 if eval \${$as_ac_var+:} false; then :
8881 $as_echo_n "(cached) " >&6
8882 else
8883 ac_wine_try_cflags_saved=$CFLAGS
8884 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8887 int main(int argc, char **argv) { return 0; }
8888 _ACEOF
8889 if ac_fn_c_try_link "$LINENO"; then :
8890 eval "$as_ac_var=yes"
8891 else
8892 eval "$as_ac_var=no"
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 CFLAGS=$ac_wine_try_cflags_saved
8898 eval ac_res=\$$as_ac_var
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8900 $as_echo "$ac_res" >&6; }
8901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8902 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8903 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8907 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8908 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8909 $as_echo_n "(cached) " >&6
8910 else
8911 ac_wine_try_cflags_saved=$CFLAGS
8912 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8915 int main(int argc, char **argv) { return 0; }
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8918 ac_cv_cflags__Wl___enable_new_dtags=yes
8919 else
8920 ac_cv_cflags__Wl___enable_new_dtags=no
8922 rm -f core conftest.err conftest.$ac_objext \
8923 conftest$ac_exeext conftest.$ac_ext
8924 CFLAGS=$ac_wine_try_cflags_saved
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8927 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8928 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8929 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8932 LIBWINE_SHAREDLIB="libwine.so"
8934 LIBWINE_INSTALL_LIB="libwine.so"
8936 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8940 $as_echo_n "checking for -lEGL... " >&6; }
8941 if ${ac_cv_lib_soname_EGL+:} false; then :
8942 $as_echo_n "(cached) " >&6
8943 else
8944 ac_check_soname_save_LIBS=$LIBS
8945 LIBS="-lEGL $LIBS"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8952 #ifdef __cplusplus
8953 extern "C"
8954 #endif
8955 char eglGetProcAddress ();
8957 main ()
8959 return eglGetProcAddress ();
8961 return 0;
8963 _ACEOF
8964 if ac_fn_c_try_link "$LINENO"; then :
8965 case "$LIBEXT" in
8966 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8967 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'` ;;
8968 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8969 if ${ac_cv_lib_soname_EGL:+false} :; then :
8970 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8971 fi ;;
8972 esac
8974 rm -f core conftest.err conftest.$ac_objext \
8975 conftest$ac_exeext conftest.$ac_ext
8976 LIBS=$ac_check_soname_save_LIBS
8978 if ${ac_cv_lib_soname_EGL:+false} :; then :
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8980 $as_echo "not found" >&6; }
8982 else
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8984 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8986 cat >>confdefs.h <<_ACEOF
8987 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8988 _ACEOF
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8993 $as_echo_n "checking for -lGLESv2... " >&6; }
8994 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8995 $as_echo_n "(cached) " >&6
8996 else
8997 ac_check_soname_save_LIBS=$LIBS
8998 LIBS="-lGLESv2 $LIBS"
8999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9002 /* Override any GCC internal prototype to avoid an error.
9003 Use char because int might match the return type of a GCC
9004 builtin and then its argument prototype would still apply. */
9005 #ifdef __cplusplus
9006 extern "C"
9007 #endif
9008 char glFlush ();
9010 main ()
9012 return glFlush ();
9014 return 0;
9016 _ACEOF
9017 if ac_fn_c_try_link "$LINENO"; then :
9018 case "$LIBEXT" in
9019 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9020 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'` ;;
9021 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9022 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9023 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9024 fi ;;
9025 esac
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 LIBS=$ac_check_soname_save_LIBS
9031 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9033 $as_echo "not found" >&6; }
9035 else
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9037 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9039 cat >>confdefs.h <<_ACEOF
9040 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9041 _ACEOF
9046 if test "x$exec_prefix" = xNONE
9047 then
9048 case $host_cpu in
9049 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9050 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9051 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9052 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9053 esac
9058 DLLFLAGS="$DLLFLAGS -fPIC"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9060 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9061 if ${ac_cv_c_dll_gnuelf+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 ac_wine_try_cflags_saved=$CFLAGS
9065 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9068 void myfunc() {}
9069 _ACEOF
9070 if ac_fn_c_try_link "$LINENO"; then :
9071 ac_cv_c_dll_gnuelf="yes"
9072 else
9073 ac_cv_c_dll_gnuelf="no"
9075 rm -f core conftest.err conftest.$ac_objext \
9076 conftest$ac_exeext conftest.$ac_ext
9077 CFLAGS=$ac_wine_try_cflags_saved
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9080 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9081 if test "$ac_cv_c_dll_gnuelf" = "yes"
9082 then
9083 LIBWINE_LDFLAGS="-shared"
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9085 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9086 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9087 $as_echo_n "(cached) " >&6
9088 else
9089 ac_wine_try_cflags_saved=$CFLAGS
9090 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 int main(int argc, char **argv) { return 0; }
9094 _ACEOF
9095 if ac_fn_c_try_link "$LINENO"; then :
9096 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9097 else
9098 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 CFLAGS=$ac_wine_try_cflags_saved
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9105 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9106 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9107 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9108 else
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9110 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9111 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_wine_try_cflags_saved=$CFLAGS
9115 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9118 int main(int argc, char **argv) { return 0; }
9119 _ACEOF
9120 if ac_fn_c_try_link "$LINENO"; then :
9121 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9122 else
9123 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 CFLAGS=$ac_wine_try_cflags_saved
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9130 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9131 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9132 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9136 echo '{ global: *; };' >conftest.map
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9138 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9139 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9150 else
9151 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9158 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9159 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9160 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9162 rm -f conftest.map
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9165 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9166 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_wine_try_cflags_saved=$CFLAGS
9170 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9173 int main(int argc, char **argv) { return 0; }
9174 _ACEOF
9175 if ac_fn_c_try_link "$LINENO"; then :
9176 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9177 else
9178 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9180 rm -f core conftest.err conftest.$ac_objext \
9181 conftest$ac_exeext conftest.$ac_ext
9182 CFLAGS=$ac_wine_try_cflags_saved
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9185 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9186 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9187 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9190 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9192 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9193 if eval \${$as_ac_var+:} false; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 ac_wine_try_cflags_saved=$CFLAGS
9197 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9200 int main(int argc, char **argv) { return 0; }
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 eval "$as_ac_var=yes"
9204 else
9205 eval "$as_ac_var=no"
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 CFLAGS=$ac_wine_try_cflags_saved
9211 eval ac_res=\$$as_ac_var
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9213 $as_echo "$ac_res" >&6; }
9214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9215 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9216 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9217 else
9218 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9220 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9221 if eval \${$as_ac_var+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_wine_try_cflags_saved=$CFLAGS
9225 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9228 int main(int argc, char **argv) { return 0; }
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 eval "$as_ac_var=yes"
9232 else
9233 eval "$as_ac_var=no"
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 CFLAGS=$ac_wine_try_cflags_saved
9239 eval ac_res=\$$as_ac_var
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9241 $as_echo "$ac_res" >&6; }
9242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9243 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9244 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9249 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9250 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 ac_wine_try_cflags_saved=$CFLAGS
9254 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9257 int main(int argc, char **argv) { return 0; }
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_cflags__Wl___enable_new_dtags=yes
9261 else
9262 ac_cv_cflags__Wl___enable_new_dtags=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 CFLAGS=$ac_wine_try_cflags_saved
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9269 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9270 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9271 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9274 case $host_cpu in
9275 *i[3456789]86* | x86_64 | *aarch64*)
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9277 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9278 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_wine_try_cflags_saved=$CFLAGS
9282 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9285 int main(int argc, char **argv) { return 0; }
9286 _ACEOF
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9289 else
9290 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 CFLAGS=$ac_wine_try_cflags_saved
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9297 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9298 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9299 case $host_os in
9300 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9301 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9302 esac
9303 else
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9305 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9306 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_wine_try_cflags_saved=$CFLAGS
9310 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 int main(int argc, char **argv) { return 0; }
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9317 else
9318 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 CFLAGS=$ac_wine_try_cflags_saved
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9325 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9326 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9327 case $host_os in
9328 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9329 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9330 esac
9332 # Extract the first word of "prelink", so it can be a program name with args.
9333 set dummy prelink; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9335 $as_echo_n "checking for $ac_word... " >&6; }
9336 if ${ac_cv_path_PRELINK+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 case $PRELINK in
9340 [\\/]* | ?:[\\/]*)
9341 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in /sbin /usr/sbin $PATH
9347 IFS=$as_save_IFS
9348 test -z "$as_dir" && as_dir=.
9349 for ac_exec_ext in '' $ac_executable_extensions; do
9350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9351 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9353 break 2
9355 done
9356 done
9357 IFS=$as_save_IFS
9359 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9361 esac
9363 PRELINK=$ac_cv_path_PRELINK
9364 if test -n "$PRELINK"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9366 $as_echo "$PRELINK" >&6; }
9367 else
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9369 $as_echo "no" >&6; }
9373 if test "x$PRELINK" = xfalse
9374 then
9375 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9379 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9380 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9391 else
9392 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9399 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9400 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9401 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9404 esac
9406 else
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9408 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9409 if ${ac_cv_c_dll_unixware+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 void myfunc() {}
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_c_dll_unixware="yes"
9420 else
9421 ac_cv_c_dll_unixware="no"
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9428 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9429 if test "$ac_cv_c_dll_unixware" = "yes"
9430 then
9431 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9434 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9436 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9438 LIBWINE_INSTALL_DEV="libwine.so"
9440 LIBWINE_DEPENDS="wine.map"
9443 esac
9445 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9446 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9447 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9448 enable_winemac_drv=${enable_winemac_drv:-no}
9449 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9451 CROSSTARGET=""
9453 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9454 then
9455 case "$host_cpu" in
9456 aarch64*)
9457 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9458 arm*)
9459 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9460 i[3456789]86*)
9461 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
9462 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9463 mingw32-gcc" ;;
9464 x86_64)
9465 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
9466 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9468 ac_prefix_list="" ;;
9469 esac
9470 for ac_prog in $ac_prefix_list
9472 # Extract the first word of "$ac_prog", so it can be a program name with args.
9473 set dummy $ac_prog; ac_word=$2
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9475 $as_echo_n "checking for $ac_word... " >&6; }
9476 if ${ac_cv_prog_CROSSCC+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 if test -n "$CROSSCC"; then
9480 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9481 else
9482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9483 for as_dir in $PATH
9485 IFS=$as_save_IFS
9486 test -z "$as_dir" && as_dir=.
9487 for ac_exec_ext in '' $ac_executable_extensions; do
9488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9489 ac_cv_prog_CROSSCC="$ac_prog"
9490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9491 break 2
9493 done
9494 done
9495 IFS=$as_save_IFS
9499 CROSSCC=$ac_cv_prog_CROSSCC
9500 if test -n "$CROSSCC"; then
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9502 $as_echo "$CROSSCC" >&6; }
9503 else
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9505 $as_echo "no" >&6; }
9509 test -n "$CROSSCC" && break
9510 done
9511 test -n "$CROSSCC" || CROSSCC="false"
9513 if test "$CROSSCC" != "false"
9514 then
9515 ac_save_CC="$CC"
9516 CC="$CROSSCC"
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9518 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9523 main ()
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_compile "$LINENO"; then :
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9532 $as_echo "yes" >&6; }
9533 set x $CROSSCC
9534 shift
9535 while test $# -ge 1
9537 case "$1" in
9538 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9539 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9540 esac
9541 shift
9542 done
9543 else
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9545 $as_echo "no" >&6; }
9547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9548 CC="$ac_save_CC"
9549 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9555 if test "$ac_cv_header_pthread_h" = "yes"
9556 then
9557 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9558 if test "x$ac_cv_func_pthread_create" = xyes; then :
9560 else
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9562 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9563 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_check_lib_save_LIBS=$LIBS
9567 LIBS="-lpthread $LIBS"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char pthread_create ();
9579 main ()
9581 return pthread_create ();
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 ac_cv_lib_pthread_pthread_create=yes
9588 else
9589 ac_cv_lib_pthread_pthread_create=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS=$ac_check_lib_save_LIBS
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9596 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9597 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9598 PTHREAD_LIBS="-lpthread"
9605 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9606 case "x$with_pthread" in
9607 xno) ;;
9608 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9609 Wine cannot support threads without libpthread.
9610 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9611 esac
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9617 $as_echo_n "checking for X... " >&6; }
9620 # Check whether --with-x was given.
9621 if test "${with_x+set}" = set; then :
9622 withval=$with_x;
9625 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9626 if test "x$with_x" = xno; then
9627 # The user explicitly disabled X.
9628 have_x=disabled
9629 else
9630 case $x_includes,$x_libraries in #(
9631 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9632 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9633 $as_echo_n "(cached) " >&6
9634 else
9635 # One or both of the vars are not set, and there is no cached value.
9636 ac_x_includes=no ac_x_libraries=no
9637 rm -f -r conftest.dir
9638 if mkdir conftest.dir; then
9639 cd conftest.dir
9640 cat >Imakefile <<'_ACEOF'
9641 incroot:
9642 @echo incroot='${INCROOT}'
9643 usrlibdir:
9644 @echo usrlibdir='${USRLIBDIR}'
9645 libdir:
9646 @echo libdir='${LIBDIR}'
9647 _ACEOF
9648 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9649 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9650 for ac_var in incroot usrlibdir libdir; do
9651 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9652 done
9653 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9654 for ac_extension in a so sl dylib la dll; do
9655 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9656 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9657 ac_im_usrlibdir=$ac_im_libdir; break
9659 done
9660 # Screen out bogus values from the imake configuration. They are
9661 # bogus both because they are the default anyway, and because
9662 # using them would break gcc on systems where it needs fixed includes.
9663 case $ac_im_incroot in
9664 /usr/include) ac_x_includes= ;;
9665 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9666 esac
9667 case $ac_im_usrlibdir in
9668 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9669 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9670 esac
9672 cd ..
9673 rm -f -r conftest.dir
9676 # Standard set of common directories for X headers.
9677 # Check X11 before X11Rn because it is often a symlink to the current release.
9678 ac_x_header_dirs='
9679 /usr/X11/include
9680 /usr/X11R7/include
9681 /usr/X11R6/include
9682 /usr/X11R5/include
9683 /usr/X11R4/include
9685 /usr/include/X11
9686 /usr/include/X11R7
9687 /usr/include/X11R6
9688 /usr/include/X11R5
9689 /usr/include/X11R4
9691 /usr/local/X11/include
9692 /usr/local/X11R7/include
9693 /usr/local/X11R6/include
9694 /usr/local/X11R5/include
9695 /usr/local/X11R4/include
9697 /usr/local/include/X11
9698 /usr/local/include/X11R7
9699 /usr/local/include/X11R6
9700 /usr/local/include/X11R5
9701 /usr/local/include/X11R4
9703 /usr/X386/include
9704 /usr/x386/include
9705 /usr/XFree86/include/X11
9707 /usr/include
9708 /usr/local/include
9709 /usr/unsupported/include
9710 /usr/athena/include
9711 /usr/local/x11r5/include
9712 /usr/lpp/Xamples/include
9714 /usr/openwin/include
9715 /usr/openwin/share/include'
9717 if test "$ac_x_includes" = no; then
9718 # Guess where to find include files, by looking for Xlib.h.
9719 # First, try using that file with no special directory specified.
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9722 #include <X11/Xlib.h>
9723 _ACEOF
9724 if ac_fn_c_try_cpp "$LINENO"; then :
9725 # We can compile using X headers with no special include directory.
9726 ac_x_includes=
9727 else
9728 for ac_dir in $ac_x_header_dirs; do
9729 if test -r "$ac_dir/X11/Xlib.h"; then
9730 ac_x_includes=$ac_dir
9731 break
9733 done
9735 rm -f conftest.err conftest.i conftest.$ac_ext
9736 fi # $ac_x_includes = no
9738 if test "$ac_x_libraries" = no; then
9739 # Check for the libraries.
9740 # See if we find them without any special options.
9741 # Don't add to $LIBS permanently.
9742 ac_save_LIBS=$LIBS
9743 LIBS="-lX11 $LIBS"
9744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9746 #include <X11/Xlib.h>
9748 main ()
9750 XrmInitialize ()
9752 return 0;
9754 _ACEOF
9755 if ac_fn_c_try_link "$LINENO"; then :
9756 LIBS=$ac_save_LIBS
9757 # We can link X programs with no special library path.
9758 ac_x_libraries=
9759 else
9760 LIBS=$ac_save_LIBS
9761 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9763 # Don't even attempt the hair of trying to link an X program!
9764 for ac_extension in a so sl dylib la dll; do
9765 if test -r "$ac_dir/libX11.$ac_extension"; then
9766 ac_x_libraries=$ac_dir
9767 break 2
9769 done
9770 done
9772 rm -f core conftest.err conftest.$ac_objext \
9773 conftest$ac_exeext conftest.$ac_ext
9774 fi # $ac_x_libraries = no
9776 case $ac_x_includes,$ac_x_libraries in #(
9777 no,* | *,no | *\'*)
9778 # Didn't find X, or a directory has "'" in its name.
9779 ac_cv_have_x="have_x=no";; #(
9781 # Record where we found X for the cache.
9782 ac_cv_have_x="have_x=yes\
9783 ac_x_includes='$ac_x_includes'\
9784 ac_x_libraries='$ac_x_libraries'"
9785 esac
9787 ;; #(
9788 *) have_x=yes;;
9789 esac
9790 eval "$ac_cv_have_x"
9791 fi # $with_x != no
9793 if test "$have_x" != yes; then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9795 $as_echo "$have_x" >&6; }
9796 no_x=yes
9797 else
9798 # If each of the values was on the command line, it overrides each guess.
9799 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9800 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9801 # Update the cache value to reflect the command line values.
9802 ac_cv_have_x="have_x=yes\
9803 ac_x_includes='$x_includes'\
9804 ac_x_libraries='$x_libraries'"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9806 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9809 if test "$no_x" = yes; then
9810 # Not all programs may use this symbol, but it does not hurt to define it.
9812 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9814 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9815 else
9816 if test -n "$x_includes"; then
9817 X_CFLAGS="$X_CFLAGS -I$x_includes"
9820 # It would also be nice to do this for all -L options, not just this one.
9821 if test -n "$x_libraries"; then
9822 X_LIBS="$X_LIBS -L$x_libraries"
9823 # For Solaris; some versions of Sun CC require a space after -R and
9824 # others require no space. Words are not sufficient . . . .
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9826 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9827 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9828 ac_xsave_c_werror_flag=$ac_c_werror_flag
9829 ac_c_werror_flag=yes
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9834 main ()
9838 return 0;
9840 _ACEOF
9841 if ac_fn_c_try_link "$LINENO"; then :
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9843 $as_echo "no" >&6; }
9844 X_LIBS="$X_LIBS -R$x_libraries"
9845 else
9846 LIBS="$ac_xsave_LIBS -R $x_libraries"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9851 main ()
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9860 $as_echo "yes" >&6; }
9861 X_LIBS="$X_LIBS -R $x_libraries"
9862 else
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9864 $as_echo "neither works" >&6; }
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 ac_c_werror_flag=$ac_xsave_c_werror_flag
9872 LIBS=$ac_xsave_LIBS
9875 # Check for system-dependent libraries X programs must link with.
9876 # Do this before checking for the system-independent R6 libraries
9877 # (-lICE), since we may need -lsocket or whatever for X linking.
9879 if test "$ISC" = yes; then
9880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9881 else
9882 # Martyn Johnson says this is needed for Ultrix, if the X
9883 # libraries were built with DECnet support. And Karl Berry says
9884 # the Alpha needs dnet_stub (dnet does not exist).
9885 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9889 /* Override any GCC internal prototype to avoid an error.
9890 Use char because int might match the return type of a GCC
9891 builtin and then its argument prototype would still apply. */
9892 #ifdef __cplusplus
9893 extern "C"
9894 #endif
9895 char XOpenDisplay ();
9897 main ()
9899 return XOpenDisplay ();
9901 return 0;
9903 _ACEOF
9904 if ac_fn_c_try_link "$LINENO"; then :
9906 else
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9908 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9909 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_check_lib_save_LIBS=$LIBS
9913 LIBS="-ldnet $LIBS"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9917 /* Override any GCC internal prototype to avoid an error.
9918 Use char because int might match the return type of a GCC
9919 builtin and then its argument prototype would still apply. */
9920 #ifdef __cplusplus
9921 extern "C"
9922 #endif
9923 char dnet_ntoa ();
9925 main ()
9927 return dnet_ntoa ();
9929 return 0;
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_lib_dnet_dnet_ntoa=yes
9934 else
9935 ac_cv_lib_dnet_dnet_ntoa=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 LIBS=$ac_check_lib_save_LIBS
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9942 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9943 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9944 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9947 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9949 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9950 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_check_lib_save_LIBS=$LIBS
9954 LIBS="-ldnet_stub $LIBS"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9958 /* Override any GCC internal prototype to avoid an error.
9959 Use char because int might match the return type of a GCC
9960 builtin and then its argument prototype would still apply. */
9961 #ifdef __cplusplus
9962 extern "C"
9963 #endif
9964 char dnet_ntoa ();
9966 main ()
9968 return dnet_ntoa ();
9970 return 0;
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9975 else
9976 ac_cv_lib_dnet_stub_dnet_ntoa=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LIBS=$ac_check_lib_save_LIBS
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9983 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9984 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9985 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS="$ac_xsave_LIBS"
9994 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9995 # to get the SysV transport functions.
9996 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9997 # needs -lnsl.
9998 # The nsl library prevents programs from opening the X display
9999 # on Irix 5.2, according to T.E. Dickey.
10000 # The functions gethostbyname, getservbyname, and inet_addr are
10001 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10002 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10003 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10007 if test $ac_cv_func_gethostbyname = no; then
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10009 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10010 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10011 $as_echo_n "(cached) " >&6
10012 else
10013 ac_check_lib_save_LIBS=$LIBS
10014 LIBS="-lnsl $LIBS"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10021 #ifdef __cplusplus
10022 extern "C"
10023 #endif
10024 char gethostbyname ();
10026 main ()
10028 return gethostbyname ();
10030 return 0;
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_lib_nsl_gethostbyname=yes
10035 else
10036 ac_cv_lib_nsl_gethostbyname=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_lib_save_LIBS
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10043 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10044 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10048 if test $ac_cv_lib_nsl_gethostbyname = no; then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10050 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10051 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_check_lib_save_LIBS=$LIBS
10055 LIBS="-lbsd $LIBS"
10056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10059 /* Override any GCC internal prototype to avoid an error.
10060 Use char because int might match the return type of a GCC
10061 builtin and then its argument prototype would still apply. */
10062 #ifdef __cplusplus
10063 extern "C"
10064 #endif
10065 char gethostbyname ();
10067 main ()
10069 return gethostbyname ();
10071 return 0;
10073 _ACEOF
10074 if ac_fn_c_try_link "$LINENO"; then :
10075 ac_cv_lib_bsd_gethostbyname=yes
10076 else
10077 ac_cv_lib_bsd_gethostbyname=no
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_lib_save_LIBS
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10084 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10085 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10086 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10092 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10093 # socket/setsockopt and other routines are undefined under SCO ODT
10094 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10095 # on later versions), says Simon Leinen: it contains gethostby*
10096 # variants that don't use the name server (or something). -lsocket
10097 # must be given before -lnsl if both are needed. We assume that
10098 # if connect needs -lnsl, so does gethostbyname.
10099 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10100 if test "x$ac_cv_func_connect" = xyes; then :
10104 if test $ac_cv_func_connect = no; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10106 $as_echo_n "checking for connect in -lsocket... " >&6; }
10107 if ${ac_cv_lib_socket_connect+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_check_lib_save_LIBS=$LIBS
10111 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 char connect ();
10123 main ()
10125 return connect ();
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 ac_cv_lib_socket_connect=yes
10132 else
10133 ac_cv_lib_socket_connect=no
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_lib_save_LIBS
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10140 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10141 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10142 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10147 # Guillermo Gomez says -lposix is necessary on A/UX.
10148 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10149 if test "x$ac_cv_func_remove" = xyes; then :
10153 if test $ac_cv_func_remove = no; then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10155 $as_echo_n "checking for remove in -lposix... " >&6; }
10156 if ${ac_cv_lib_posix_remove+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_check_lib_save_LIBS=$LIBS
10160 LIBS="-lposix $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10167 #ifdef __cplusplus
10168 extern "C"
10169 #endif
10170 char remove ();
10172 main ()
10174 return remove ();
10176 return 0;
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 ac_cv_lib_posix_remove=yes
10181 else
10182 ac_cv_lib_posix_remove=no
10184 rm -f core conftest.err conftest.$ac_objext \
10185 conftest$ac_exeext conftest.$ac_ext
10186 LIBS=$ac_check_lib_save_LIBS
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10189 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10190 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10196 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10197 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10198 if test "x$ac_cv_func_shmat" = xyes; then :
10202 if test $ac_cv_func_shmat = no; then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10204 $as_echo_n "checking for shmat in -lipc... " >&6; }
10205 if ${ac_cv_lib_ipc_shmat+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_check_lib_save_LIBS=$LIBS
10209 LIBS="-lipc $LIBS"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10216 #ifdef __cplusplus
10217 extern "C"
10218 #endif
10219 char shmat ();
10221 main ()
10223 return shmat ();
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_lib_ipc_shmat=yes
10230 else
10231 ac_cv_lib_ipc_shmat=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 LIBS=$ac_check_lib_save_LIBS
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10238 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10239 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10240 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10246 # Check for libraries that X11R6 Xt/Xaw programs need.
10247 ac_save_LDFLAGS=$LDFLAGS
10248 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10249 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10250 # check for ICE first), but we must link in the order -lSM -lICE or
10251 # we get undefined symbols. So assume we have SM if we have ICE.
10252 # These have to be linked with before -lX11, unlike the other
10253 # libraries we check for below, so use a different variable.
10254 # John Interrante, Karl Berry
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10256 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10257 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 ac_check_lib_save_LIBS=$LIBS
10261 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10268 #ifdef __cplusplus
10269 extern "C"
10270 #endif
10271 char IceConnectionNumber ();
10273 main ()
10275 return IceConnectionNumber ();
10277 return 0;
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_lib_ICE_IceConnectionNumber=yes
10282 else
10283 ac_cv_lib_ICE_IceConnectionNumber=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_lib_save_LIBS
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10290 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10291 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10292 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10295 LDFLAGS=$ac_save_LDFLAGS
10300 if test "$have_x" = "yes"
10301 then
10302 ac_save_CPPFLAGS="$CPPFLAGS"
10303 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10306 $as_echo_n "checking for -lX11... " >&6; }
10307 if ${ac_cv_lib_soname_X11+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_soname_save_LIBS=$LIBS
10311 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char XCreateWindow ();
10323 main ()
10325 return XCreateWindow ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 case "$LIBEXT" in
10332 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_X11:+false} :; then :
10336 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10337 fi ;;
10338 esac
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_X11:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10348 else
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10350 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10352 cat >>confdefs.h <<_ACEOF
10353 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10354 _ACEOF
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10359 $as_echo_n "checking for -lXext... " >&6; }
10360 if ${ac_cv_lib_soname_Xext+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_check_soname_save_LIBS=$LIBS
10364 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10368 /* Override any GCC internal prototype to avoid an error.
10369 Use char because int might match the return type of a GCC
10370 builtin and then its argument prototype would still apply. */
10371 #ifdef __cplusplus
10372 extern "C"
10373 #endif
10374 char XextCreateExtension ();
10376 main ()
10378 return XextCreateExtension ();
10380 return 0;
10382 _ACEOF
10383 if ac_fn_c_try_link "$LINENO"; then :
10384 case "$LIBEXT" in
10385 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10386 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'` ;;
10387 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10388 if ${ac_cv_lib_soname_Xext:+false} :; then :
10389 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10390 fi ;;
10391 esac
10393 rm -f core conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 LIBS=$ac_check_soname_save_LIBS
10397 if ${ac_cv_lib_soname_Xext:+false} :; then :
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10399 $as_echo "not found" >&6; }
10401 else
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10403 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10405 cat >>confdefs.h <<_ACEOF
10406 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10407 _ACEOF
10409 X_LIBS="$X_LIBS -lXext"
10411 X_LIBS="$X_LIBS -lX11"
10413 for ac_header in X11/Xlib.h \
10414 X11/XKBlib.h \
10415 X11/Xutil.h \
10416 X11/Xcursor/Xcursor.h \
10417 X11/extensions/shape.h \
10418 X11/extensions/XInput.h \
10419 X11/extensions/XInput2.h \
10420 X11/extensions/XShm.h \
10421 X11/extensions/Xcomposite.h \
10422 X11/extensions/Xfixes.h \
10423 X11/extensions/Xinerama.h \
10424 X11/extensions/Xrandr.h \
10425 X11/extensions/Xrender.h \
10426 X11/extensions/xf86vmode.h \
10427 X11/extensions/xf86vmproto.h
10428 do :
10429 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10430 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10431 # include <X11/Xlib.h>
10432 #endif
10433 #ifdef HAVE_X11_XUTIL_H
10434 # include <X11/Xutil.h>
10435 #endif
10437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10438 cat >>confdefs.h <<_ACEOF
10439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10440 _ACEOF
10444 done
10447 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10448 then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10450 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10451 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10452 $as_echo_n "(cached) " >&6
10453 else
10454 ac_check_lib_save_LIBS=$LIBS
10455 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10462 #ifdef __cplusplus
10463 extern "C"
10464 #endif
10465 char XkbQueryExtension ();
10467 main ()
10469 return XkbQueryExtension ();
10471 return 0;
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_lib_X11_XkbQueryExtension=yes
10476 else
10477 ac_cv_lib_X11_XkbQueryExtension=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 LIBS=$ac_check_lib_save_LIBS
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10484 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10485 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10487 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10493 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10494 then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10496 $as_echo_n "checking for -lXcursor... " >&6; }
10497 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char XcursorImageLoadCursor ();
10513 main ()
10515 return XcursorImageLoadCursor ();
10517 return 0;
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 case "$LIBEXT" in
10522 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10523 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'` ;;
10524 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10525 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10526 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10527 fi ;;
10528 esac
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_soname_save_LIBS
10534 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10536 $as_echo "not found" >&6; }
10538 else
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10540 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10542 cat >>confdefs.h <<_ACEOF
10543 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10544 _ACEOF
10549 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10550 case "x$with_xcursor" in
10551 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10552 xno) ;;
10553 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10554 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10555 esac
10559 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10560 then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10562 $as_echo_n "checking for -lXi... " >&6; }
10563 if ${ac_cv_lib_soname_Xi+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_check_soname_save_LIBS=$LIBS
10567 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10574 #ifdef __cplusplus
10575 extern "C"
10576 #endif
10577 char XOpenDevice ();
10579 main ()
10581 return XOpenDevice ();
10583 return 0;
10585 _ACEOF
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 case "$LIBEXT" in
10588 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10589 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'` ;;
10590 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10591 if ${ac_cv_lib_soname_Xi:+false} :; then :
10592 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10593 fi ;;
10594 esac
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 LIBS=$ac_check_soname_save_LIBS
10600 if ${ac_cv_lib_soname_Xi:+false} :; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10602 $as_echo "not found" >&6; }
10604 else
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10606 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10608 cat >>confdefs.h <<_ACEOF
10609 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10610 _ACEOF
10615 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10616 case "x$with_xinput" in
10617 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10618 xno) ;;
10619 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10620 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10621 esac
10625 if test "x$ac_cv_lib_soname_Xi" != x
10626 then
10627 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10628 case "x$with_xinput2" in
10629 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10630 xno) ;;
10631 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10632 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10633 esac
10638 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10639 then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10641 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10642 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_check_lib_save_LIBS=$LIBS
10646 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 char XShmQueryExtension ();
10658 main ()
10660 return XShmQueryExtension ();
10662 return 0;
10664 _ACEOF
10665 if ac_fn_c_try_link "$LINENO"; then :
10666 ac_cv_lib_Xext_XShmQueryExtension=yes
10667 else
10668 ac_cv_lib_Xext_XShmQueryExtension=no
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10675 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10676 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10678 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10683 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10684 case "x$with_xshm" in
10685 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10686 xno) ;;
10687 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10688 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10689 esac
10693 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10694 then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10696 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10697 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_check_lib_save_LIBS=$LIBS
10701 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 #endif
10711 char XShapeQueryExtension ();
10713 main ()
10715 return XShapeQueryExtension ();
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"; then :
10721 ac_cv_lib_Xext_XShapeQueryExtension=yes
10722 else
10723 ac_cv_lib_Xext_XShapeQueryExtension=no
10725 rm -f core conftest.err conftest.$ac_objext \
10726 conftest$ac_exeext conftest.$ac_ext
10727 LIBS=$ac_check_lib_save_LIBS
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10730 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10731 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10733 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10738 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10739 case "x$with_xshape" in
10740 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10741 xno) ;;
10742 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10743 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10744 esac
10748 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10749 then
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10751 $as_echo_n "checking for -lXxf86vm... " >&6; }
10752 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10753 $as_echo_n "(cached) " >&6
10754 else
10755 ac_check_soname_save_LIBS=$LIBS
10756 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10763 #ifdef __cplusplus
10764 extern "C"
10765 #endif
10766 char XF86VidModeQueryExtension ();
10768 main ()
10770 return XF86VidModeQueryExtension ();
10772 return 0;
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"; then :
10776 case "$LIBEXT" in
10777 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10778 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'` ;;
10779 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10780 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10781 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10782 fi ;;
10783 esac
10785 rm -f core conftest.err conftest.$ac_objext \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_check_soname_save_LIBS
10789 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10791 $as_echo "not found" >&6; }
10793 else
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10795 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10797 cat >>confdefs.h <<_ACEOF
10798 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10799 _ACEOF
10804 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10805 case "x$with_xxf86vm" in
10806 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10807 xno) ;;
10808 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10809 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10810 esac
10814 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10815 then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10817 $as_echo_n "checking for -lXrender... " >&6; }
10818 if ${ac_cv_lib_soname_Xrender+:} false; then :
10819 $as_echo_n "(cached) " >&6
10820 else
10821 ac_check_soname_save_LIBS=$LIBS
10822 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10829 #ifdef __cplusplus
10830 extern "C"
10831 #endif
10832 char XRenderQueryExtension ();
10834 main ()
10836 return XRenderQueryExtension ();
10838 return 0;
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 case "$LIBEXT" in
10843 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10847 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10848 fi ;;
10849 esac
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_soname_save_LIBS
10855 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10859 else
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10861 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10863 cat >>confdefs.h <<_ACEOF
10864 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10865 _ACEOF
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10868 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10869 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10870 $as_echo_n "(cached) " >&6
10871 else
10872 ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10880 #ifdef __cplusplus
10881 extern "C"
10882 #endif
10883 char XRenderSetPictureTransform ();
10885 main ()
10887 return XRenderSetPictureTransform ();
10889 return 0;
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"; then :
10893 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10894 else
10895 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10902 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10903 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10905 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10910 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10911 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10912 $as_echo_n "(cached) " >&6
10913 else
10914 ac_check_lib_save_LIBS=$LIBS
10915 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char XRenderCreateLinearGradient ();
10927 main ()
10929 return XRenderCreateLinearGradient ();
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10936 else
10937 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10944 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10945 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10947 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10954 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10955 case "x$with_xrender" in
10956 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10957 xno) ;;
10958 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10959 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10960 esac
10964 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10965 then
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10968 #include <X11/Xlib.h>
10969 #include <X11/extensions/Xrandr.h>
10971 main ()
10973 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_compile "$LINENO"; then :
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10980 $as_echo_n "checking for -lXrandr... " >&6; }
10981 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_soname_save_LIBS=$LIBS
10985 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char XRRQueryExtension ();
10997 main ()
10999 return XRRQueryExtension ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 case "$LIBEXT" in
11006 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11007 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'` ;;
11008 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11009 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11010 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11011 fi ;;
11012 esac
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_soname_save_LIBS
11018 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11020 $as_echo "not found" >&6; }
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11024 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11026 cat >>confdefs.h <<_ACEOF
11027 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11028 _ACEOF
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 #include <X11/Xlib.h>
11033 #include <X11/extensions/Xrandr.h>
11035 main ()
11037 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_compile "$LINENO"; then :
11044 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11052 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11053 case "x$with_xrandr" in
11054 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11055 xno) ;;
11056 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11057 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11058 esac
11062 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11063 then
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11066 #include <X11/Xlib.h>
11067 #include <X11/extensions/Xfixes.h>
11069 main ()
11071 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_compile "$LINENO"; then :
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11078 $as_echo_n "checking for -lXfixes... " >&6; }
11079 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11080 $as_echo_n "(cached) " >&6
11081 else
11082 ac_check_soname_save_LIBS=$LIBS
11083 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11087 /* Override any GCC internal prototype to avoid an error.
11088 Use char because int might match the return type of a GCC
11089 builtin and then its argument prototype would still apply. */
11090 #ifdef __cplusplus
11091 extern "C"
11092 #endif
11093 char XFixesQueryVersion ();
11095 main ()
11097 return XFixesQueryVersion ();
11099 return 0;
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"; then :
11103 case "$LIBEXT" in
11104 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11105 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'` ;;
11106 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11107 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11108 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11109 fi ;;
11110 esac
11112 rm -f core conftest.err conftest.$ac_objext \
11113 conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_soname_save_LIBS
11116 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11118 $as_echo "not found" >&6; }
11120 else
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11122 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11124 cat >>confdefs.h <<_ACEOF
11125 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11126 _ACEOF
11131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11133 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11134 case "x$with_xfixes" in
11135 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11136 xno) ;;
11137 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11138 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11139 esac
11143 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11144 then
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11147 #include <X11/Xlib.h>
11148 #include <X11/extensions/Xinerama.h>
11150 main ()
11152 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_compile "$LINENO"; then :
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11159 $as_echo_n "checking for -lXinerama... " >&6; }
11160 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_soname_save_LIBS=$LIBS
11164 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char XineramaQueryScreens ();
11176 main ()
11178 return XineramaQueryScreens ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 case "$LIBEXT" in
11185 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11186 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'` ;;
11187 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11188 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11189 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11190 fi ;;
11191 esac
11193 rm -f core conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11195 LIBS=$ac_check_soname_save_LIBS
11197 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11199 $as_echo "not found" >&6; }
11201 else
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11203 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11205 cat >>confdefs.h <<_ACEOF
11206 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11207 _ACEOF
11212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11214 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11215 case "x$with_xinerama" in
11216 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11217 xno) ;;
11218 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11219 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11220 esac
11224 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11225 then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11227 $as_echo_n "checking for -lXcomposite... " >&6; }
11228 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_soname_save_LIBS=$LIBS
11232 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char XCompositeRedirectWindow ();
11244 main ()
11246 return XCompositeRedirectWindow ();
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252 case "$LIBEXT" in
11253 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11254 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'` ;;
11255 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11256 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11257 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11258 fi ;;
11259 esac
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_soname_save_LIBS
11265 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11267 $as_echo "not found" >&6; }
11269 else
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11271 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11273 cat >>confdefs.h <<_ACEOF
11274 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11275 _ACEOF
11280 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11281 case "x$with_xcomposite" in
11282 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11283 xno) ;;
11284 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11285 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11286 esac
11290 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11291 #include <X11/Xlib.h>
11292 #endif
11294 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11296 cat >>confdefs.h <<_ACEOF
11297 #define HAVE_XICCALLBACK_CALLBACK 1
11298 _ACEOF
11302 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11303 #include <X11/Xlib.h>
11304 #endif
11306 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11308 cat >>confdefs.h <<_ACEOF
11309 #define HAVE_XEVENT_XCOOKIE 1
11310 _ACEOF
11317 opengl_msg=""
11318 if test "x$with_opengl" != "xno"
11319 then
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11321 $as_echo_n "checking for -lGL... " >&6; }
11322 if ${ac_cv_lib_soname_GL+:} false; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_soname_save_LIBS=$LIBS
11326 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char glXCreateContext ();
11338 main ()
11340 return glXCreateContext ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 case "$LIBEXT" in
11347 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11348 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'` ;;
11349 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11350 if ${ac_cv_lib_soname_GL:+false} :; then :
11351 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11352 fi ;;
11353 esac
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_soname_save_LIBS
11359 if ${ac_cv_lib_soname_GL:+false} :; then :
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11361 $as_echo "not found" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11363 $as_echo_n "checking for -lGL... " >&6; }
11364 if ${ac_cv_lib_soname_GL+:} false; then :
11365 $as_echo_n "(cached) " >&6
11366 else
11367 ac_check_soname_save_LIBS=$LIBS
11368 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"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char glXCreateContext ();
11380 main ()
11382 return glXCreateContext ();
11384 return 0;
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388 case "$LIBEXT" in
11389 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11390 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'` ;;
11391 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11392 if ${ac_cv_lib_soname_GL:+false} :; then :
11393 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11394 fi ;;
11395 esac
11397 rm -f core conftest.err conftest.$ac_objext \
11398 conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_soname_save_LIBS
11401 if ${ac_cv_lib_soname_GL:+false} :; then :
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11403 $as_echo "not found" >&6; }
11404 if test -f /usr/X11R6/lib/libGL.a
11405 then
11406 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11407 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11408 else
11409 opengl_msg="No OpenGL library found on this system."
11411 else
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11413 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11415 cat >>confdefs.h <<_ACEOF
11416 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11417 _ACEOF
11419 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"
11421 else
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11423 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11425 cat >>confdefs.h <<_ACEOF
11426 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11427 _ACEOF
11429 OPENGL_LIBS="-lGL"
11431 if test "x$with_glu" != "xno"
11432 then
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11434 $as_echo_n "checking for -lGLU... " >&6; }
11435 if ${ac_cv_lib_soname_GLU+:} false; then :
11436 $as_echo_n "(cached) " >&6
11437 else
11438 ac_check_soname_save_LIBS=$LIBS
11439 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11446 #ifdef __cplusplus
11447 extern "C"
11448 #endif
11449 char gluLookAt ();
11451 main ()
11453 return gluLookAt ();
11455 return 0;
11457 _ACEOF
11458 if ac_fn_c_try_link "$LINENO"; then :
11459 case "$LIBEXT" in
11460 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11461 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'` ;;
11462 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11463 if ${ac_cv_lib_soname_GLU:+false} :; then :
11464 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11465 fi ;;
11466 esac
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_soname_save_LIBS
11472 if ${ac_cv_lib_soname_GLU:+false} :; then :
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11474 $as_echo "not found" >&6; }
11476 else
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11478 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11480 cat >>confdefs.h <<_ACEOF
11481 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11482 _ACEOF
11486 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11487 case "x$with_glu" in
11488 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11489 xno) ;;
11490 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11491 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11492 esac
11497 if test "x$with_osmesa" != "xno"
11498 then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11500 $as_echo_n "checking for -lOSMesa... " >&6; }
11501 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char OSMesaGetProcAddress ();
11517 main ()
11519 return OSMesaGetProcAddress ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11529 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11530 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11542 else
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11544 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11546 cat >>confdefs.h <<_ACEOF
11547 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11548 _ACEOF
11552 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11553 case "x$with_osmesa" in
11554 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11555 xno) ;;
11556 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11557 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11558 esac
11563 if test -n "$opengl_msg"; then :
11564 case "x$with_opengl" in
11565 x) as_fn_append wine_warnings "|$opengl_msg
11566 OpenGL and Direct3D won't be supported." ;;
11567 xno) ;;
11568 *) as_fn_error $? "$opengl_msg
11569 OpenGL and Direct3D won't be supported.
11570 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11571 esac
11575 CPPFLAGS="$ac_save_CPPFLAGS"
11576 else
11577 X_CFLAGS=""
11578 X_LIBS=""
11581 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11582 then
11583 if test "x$X_LIBS" = "x"; then :
11584 case "x$with_x" in
11585 xno) ;;
11586 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11587 without X support, which probably isn't what you want. You will need
11588 to install ${notice_platform}development packages of Xlib at the very least.
11589 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11590 esac
11591 enable_winex11_drv=${enable_winex11_drv:-no}
11593 else
11594 if test "x$X_LIBS" = "x"; then :
11595 case "x$with_x" in
11596 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11597 xno) ;;
11598 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11599 This is an error since --with-x was requested." "$LINENO" 5 ;;
11600 esac
11601 enable_winex11_drv=${enable_winex11_drv:-no}
11605 if test "$ac_cv_header_CL_cl_h" = "yes"
11606 then
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11608 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11609 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11610 $as_echo_n "(cached) " >&6
11611 else
11612 ac_check_lib_save_LIBS=$LIBS
11613 LIBS="-lOpenCL $LIBS"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char clGetPlatformInfo ();
11625 main ()
11627 return clGetPlatformInfo ();
11629 return 0;
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"; then :
11633 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11634 else
11635 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_lib_save_LIBS
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11642 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11643 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11644 OPENCL_LIBS="-lOpenCL"
11649 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11650 case "x$with_opencl" in
11651 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11652 xno) ;;
11653 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11654 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11655 esac
11656 enable_opencl=${enable_opencl:-no}
11659 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11660 then
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11662 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11663 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11664 $as_echo_n "(cached) " >&6
11665 else
11666 ac_check_lib_save_LIBS=$LIBS
11667 LIBS="-lpcap $LIBS"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11674 #ifdef __cplusplus
11675 extern "C"
11676 #endif
11677 char pcap_create ();
11679 main ()
11681 return pcap_create ();
11683 return 0;
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"; then :
11687 ac_cv_lib_pcap_pcap_create=yes
11688 else
11689 ac_cv_lib_pcap_pcap_create=no
11691 rm -f core conftest.err conftest.$ac_objext \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_lib_save_LIBS
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11696 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11697 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11698 PCAP_LIBS="-lpcap"
11703 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11704 case "x$with_pcap" in
11705 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11706 xno) ;;
11707 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11708 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11709 esac
11710 enable_wpcap=${enable_wpcap:-no}
11714 if test "x$with_xml" != "xno"
11715 then
11716 if ${XML2_CFLAGS:+false} :; then :
11717 if ${PKG_CONFIG+:} false; then :
11718 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11721 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11722 if ${XML2_LIBS:+false} :; then :
11723 if ${PKG_CONFIG+:} false; then :
11724 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11727 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11728 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11729 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11730 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11731 ac_save_CPPFLAGS=$CPPFLAGS
11732 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11733 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11734 do :
11735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11736 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11738 cat >>confdefs.h <<_ACEOF
11739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11740 _ACEOF
11744 done
11746 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"
11747 then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11749 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11750 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11751 $as_echo_n "(cached) " >&6
11752 else
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lxml2 $XML2_LIBS $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char xmlParseMemory ();
11766 main ()
11768 return xmlParseMemory ();
11770 return 0;
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"; then :
11774 ac_cv_lib_xml2_xmlParseMemory=yes
11775 else
11776 ac_cv_lib_xml2_xmlParseMemory=no
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11783 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11784 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11786 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11788 else
11789 XML2_LIBS=""
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11793 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11794 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_lib_save_LIBS=$LIBS
11798 LIBS="-lxml2 $XML2_LIBS $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char xmlReadMemory ();
11810 main ()
11812 return xmlReadMemory ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 ac_cv_lib_xml2_xmlReadMemory=yes
11819 else
11820 ac_cv_lib_xml2_xmlReadMemory=no
11822 rm -f core conftest.err conftest.$ac_objext \
11823 conftest$ac_exeext conftest.$ac_ext
11824 LIBS=$ac_check_lib_save_LIBS
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11827 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11828 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11830 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11835 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11836 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11837 $as_echo_n "(cached) " >&6
11838 else
11839 ac_check_lib_save_LIBS=$LIBS
11840 LIBS="-lxml2 $XML2_LIBS $LIBS"
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11847 #ifdef __cplusplus
11848 extern "C"
11849 #endif
11850 char xmlNewDocPI ();
11852 main ()
11854 return xmlNewDocPI ();
11856 return 0;
11858 _ACEOF
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 ac_cv_lib_xml2_xmlNewDocPI=yes
11861 else
11862 ac_cv_lib_xml2_xmlNewDocPI=no
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_lib_save_LIBS
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11869 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11870 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11872 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11877 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11878 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11879 $as_echo_n "(cached) " >&6
11880 else
11881 ac_check_lib_save_LIBS=$LIBS
11882 LIBS="-lxml2 $XML2_LIBS $LIBS"
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11889 #ifdef __cplusplus
11890 extern "C"
11891 #endif
11892 char xmlSchemaSetParserStructuredErrors ();
11894 main ()
11896 return xmlSchemaSetParserStructuredErrors ();
11898 return 0;
11900 _ACEOF
11901 if ac_fn_c_try_link "$LINENO"; then :
11902 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11903 else
11904 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11906 rm -f core conftest.err conftest.$ac_objext \
11907 conftest$ac_exeext conftest.$ac_ext
11908 LIBS=$ac_check_lib_save_LIBS
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11911 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11912 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11914 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11919 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11920 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11921 $as_echo_n "(cached) " >&6
11922 else
11923 ac_check_lib_save_LIBS=$LIBS
11924 LIBS="-lxml2 $XML2_LIBS $LIBS"
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char xmlSchemaSetValidStructuredErrors ();
11936 main ()
11938 return xmlSchemaSetValidStructuredErrors ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11945 else
11946 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_lib_save_LIBS
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11953 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11954 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11956 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11961 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11962 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_lib_save_LIBS=$LIBS
11966 LIBS="-lxml2 $XML2_LIBS $LIBS"
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 /* Override any GCC internal prototype to avoid an error.
11971 Use char because int might match the return type of a GCC
11972 builtin and then its argument prototype would still apply. */
11973 #ifdef __cplusplus
11974 extern "C"
11975 #endif
11976 char xmlFirstElementChild ();
11978 main ()
11980 return xmlFirstElementChild ();
11982 return 0;
11984 _ACEOF
11985 if ac_fn_c_try_link "$LINENO"; then :
11986 ac_cv_lib_xml2_xmlFirstElementChild=yes
11987 else
11988 ac_cv_lib_xml2_xmlFirstElementChild=no
11990 rm -f core conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 LIBS=$ac_check_lib_save_LIBS
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11995 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11996 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11998 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12002 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12004 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12006 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12010 else
12011 XML2_CFLAGS=""
12012 XML2_LIBS=""
12014 CPPFLAGS=$ac_save_CPPFLAGS
12015 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12016 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12019 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12020 case "x$with_xml" in
12021 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12022 xno) ;;
12023 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12024 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12025 esac
12029 if test "x$with_xslt" != "xno"
12030 then
12031 if ${XSLT_CFLAGS:+false} :; then :
12032 if ${PKG_CONFIG+:} false; then :
12033 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12036 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12037 if ${XSLT_LIBS:+false} :; then :
12038 if ${PKG_CONFIG+:} false; then :
12039 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12042 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12043 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12044 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12045 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12046 ac_save_CPPFLAGS=$CPPFLAGS
12047 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12048 for ac_header in libxslt/pattern.h libxslt/transform.h
12049 do :
12050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12052 # include <libxslt/pattern.h>
12053 #endif
12055 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12056 cat >>confdefs.h <<_ACEOF
12057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12058 _ACEOF
12062 done
12064 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12065 then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12067 $as_echo_n "checking for -lxslt... " >&6; }
12068 if ${ac_cv_lib_soname_xslt+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 ac_check_soname_save_LIBS=$LIBS
12072 LIBS="-lxslt $XSLT_LIBS $LIBS"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char xsltCompilePattern ();
12084 main ()
12086 return xsltCompilePattern ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 case "$LIBEXT" in
12093 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12094 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'` ;;
12095 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12096 if ${ac_cv_lib_soname_xslt:+false} :; then :
12097 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12098 fi ;;
12099 esac
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_soname_save_LIBS
12105 if ${ac_cv_lib_soname_xslt:+false} :; then :
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12107 $as_echo "not found" >&6; }
12109 else
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12111 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12113 cat >>confdefs.h <<_ACEOF
12114 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12115 _ACEOF
12119 else
12120 XSLT_CFLAGS=""
12122 CPPFLAGS=$ac_save_CPPFLAGS
12123 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12124 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12127 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12128 case "x$with_xslt" in
12129 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12130 xno) ;;
12131 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12132 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12133 esac
12137 if test "x$with_dbus" != "xno"
12138 then
12139 if ${DBUS_CFLAGS:+false} :; then :
12140 if ${PKG_CONFIG+:} false; then :
12141 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12145 if ${DBUS_LIBS:+false} :; then :
12146 if ${PKG_CONFIG+:} false; then :
12147 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12152 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12153 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12154 ac_save_CPPFLAGS=$CPPFLAGS
12155 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12156 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12157 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12159 $as_echo_n "checking for -ldbus-1... " >&6; }
12160 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 ac_check_soname_save_LIBS=$LIBS
12164 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 #ifdef __cplusplus
12172 extern "C"
12173 #endif
12174 char dbus_connection_close ();
12176 main ()
12178 return dbus_connection_close ();
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_link "$LINENO"; then :
12184 case "$LIBEXT" in
12185 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12186 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'` ;;
12187 *) 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'`
12188 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12189 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12190 fi ;;
12191 esac
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_soname_save_LIBS
12197 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12199 $as_echo "not found" >&6; }
12200 DBUS_CFLAGS=""
12201 else
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12203 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12205 cat >>confdefs.h <<_ACEOF
12206 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12207 _ACEOF
12211 else
12212 DBUS_CFLAGS=""
12216 CPPFLAGS=$ac_save_CPPFLAGS
12217 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12218 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12221 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12222 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12223 case "x$with_dbus" in
12224 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12227 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12228 esac
12232 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12233 then
12234 if ${HAL_CFLAGS:+false} :; then :
12235 if ${PKG_CONFIG+:} false; then :
12236 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12240 if ${HAL_LIBS:+false} :; then :
12241 if ${PKG_CONFIG+:} false; then :
12242 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12246 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12247 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12248 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12249 ac_save_CPPFLAGS=$CPPFLAGS
12250 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12251 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12252 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12254 $as_echo_n "checking for -lhal... " >&6; }
12255 if ${ac_cv_lib_soname_hal+:} false; then :
12256 $as_echo_n "(cached) " >&6
12257 else
12258 ac_check_soname_save_LIBS=$LIBS
12259 LIBS="-lhal $HAL_LIBS $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 char libhal_ctx_new ();
12271 main ()
12273 return libhal_ctx_new ();
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_link "$LINENO"; then :
12279 case "$LIBEXT" in
12280 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12281 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'` ;;
12282 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12283 if ${ac_cv_lib_soname_hal:+false} :; then :
12284 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12285 fi ;;
12286 esac
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_soname_save_LIBS
12292 if ${ac_cv_lib_soname_hal:+false} :; then :
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12294 $as_echo "not found" >&6; }
12295 HAL_CFLAGS=""
12296 else
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12298 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12300 cat >>confdefs.h <<_ACEOF
12301 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12302 _ACEOF
12306 else
12307 HAL_CFLAGS=""
12311 CPPFLAGS=$ac_save_CPPFLAGS
12312 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12313 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12315 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12316 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12317 case "x$with_hal" in
12318 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12319 xno) ;;
12320 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12321 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12322 esac
12327 if test "x$with_gnutls" != "xno"
12328 then
12329 if ${GNUTLS_CFLAGS:+false} :; then :
12330 if ${PKG_CONFIG+:} false; then :
12331 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12335 if ${GNUTLS_LIBS:+false} :; then :
12336 if ${PKG_CONFIG+:} false; then :
12337 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12342 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12343 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12344 ac_save_CPPFLAGS=$CPPFLAGS
12345 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12346 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12347 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12350 #include <gnutls/gnutls.h>
12351 #include <gnutls/crypto.h>
12353 main ()
12355 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12357 return 0;
12359 _ACEOF
12360 if ac_fn_c_try_compile "$LINENO"; then :
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12362 $as_echo_n "checking for -lgnutls... " >&6; }
12363 if ${ac_cv_lib_soname_gnutls+:} false; then :
12364 $as_echo_n "(cached) " >&6
12365 else
12366 ac_check_soname_save_LIBS=$LIBS
12367 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 /* Override any GCC internal prototype to avoid an error.
12372 Use char because int might match the return type of a GCC
12373 builtin and then its argument prototype would still apply. */
12374 #ifdef __cplusplus
12375 extern "C"
12376 #endif
12377 char gnutls_global_init ();
12379 main ()
12381 return gnutls_global_init ();
12383 return 0;
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387 case "$LIBEXT" in
12388 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12389 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'` ;;
12390 *) 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'`
12391 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12392 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'`
12393 fi ;;
12394 esac
12396 rm -f core conftest.err conftest.$ac_objext \
12397 conftest$ac_exeext conftest.$ac_ext
12398 LIBS=$ac_check_soname_save_LIBS
12400 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12402 $as_echo "not found" >&6; }
12403 GNUTLS_CFLAGS=""
12404 else
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12406 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12408 cat >>confdefs.h <<_ACEOF
12409 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12410 _ACEOF
12414 ac_wine_check_funcs_save_LIBS="$LIBS"
12415 LIBS="$LIBS $GNUTLS_LIBS"
12416 for ac_func in gnutls_cipher_init
12417 do :
12418 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12419 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12420 cat >>confdefs.h <<_ACEOF
12421 #define HAVE_GNUTLS_CIPHER_INIT 1
12422 _ACEOF
12424 else
12425 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12427 done
12429 LIBS="$ac_wine_check_funcs_save_LIBS"
12431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12432 else
12433 GNUTLS_CFLAGS=""
12437 CPPFLAGS=$ac_save_CPPFLAGS
12438 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12439 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12442 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12443 case "x$with_gnutls" in
12444 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12445 xno) ;;
12446 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12447 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12448 esac
12452 CURSES_LIBS=""
12453 if test "$ac_cv_header_ncurses_h" = "yes"
12454 then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12456 $as_echo_n "checking for -lncurses... " >&6; }
12457 if ${ac_cv_lib_soname_ncurses+:} false; then :
12458 $as_echo_n "(cached) " >&6
12459 else
12460 ac_check_soname_save_LIBS=$LIBS
12461 LIBS="-lncurses $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 #ifdef __cplusplus
12469 extern "C"
12470 #endif
12471 char waddch ();
12473 main ()
12475 return waddch ();
12477 return 0;
12479 _ACEOF
12480 if ac_fn_c_try_link "$LINENO"; then :
12481 case "$LIBEXT" in
12482 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12483 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'` ;;
12484 *) 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'`
12485 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12486 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12487 fi ;;
12488 esac
12490 rm -f core conftest.err conftest.$ac_objext \
12491 conftest$ac_exeext conftest.$ac_ext
12492 LIBS=$ac_check_soname_save_LIBS
12494 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12496 $as_echo "not found" >&6; }
12498 else
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12500 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12502 cat >>confdefs.h <<_ACEOF
12503 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12504 _ACEOF
12506 CURSES_LIBS="-lncurses"
12508 elif test "$ac_cv_header_curses_h" = "yes"
12509 then
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12511 $as_echo_n "checking for -lcurses... " >&6; }
12512 if ${ac_cv_lib_soname_curses+:} false; then :
12513 $as_echo_n "(cached) " >&6
12514 else
12515 ac_check_soname_save_LIBS=$LIBS
12516 LIBS="-lcurses $LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12523 #ifdef __cplusplus
12524 extern "C"
12525 #endif
12526 char waddch ();
12528 main ()
12530 return waddch ();
12532 return 0;
12534 _ACEOF
12535 if ac_fn_c_try_link "$LINENO"; then :
12536 case "$LIBEXT" in
12537 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12538 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'` ;;
12539 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12540 if ${ac_cv_lib_soname_curses:+false} :; then :
12541 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12542 fi ;;
12543 esac
12545 rm -f core conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12547 LIBS=$ac_check_soname_save_LIBS
12549 if ${ac_cv_lib_soname_curses:+false} :; then :
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12551 $as_echo "not found" >&6; }
12553 else
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12555 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12557 cat >>confdefs.h <<_ACEOF
12558 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12559 _ACEOF
12561 CURSES_LIBS="-lcurses"
12564 ac_save_LIBS="$LIBS"
12565 LIBS="$LIBS $CURSES_LIBS"
12566 for ac_func in mousemask
12567 do :
12568 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12569 if test "x$ac_cv_func_mousemask" = xyes; then :
12570 cat >>confdefs.h <<_ACEOF
12571 #define HAVE_MOUSEMASK 1
12572 _ACEOF
12575 done
12577 LIBS="$ac_save_LIBS"
12578 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12579 case "x$with_curses" in
12580 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12581 xno) ;;
12582 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12583 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12584 esac
12588 if test "x$with_sane" != "xno"
12589 then
12590 if ${SANE_CFLAGS:+false} :; then :
12591 if ${PKG_CONFIG+:} false; then :
12592 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12595 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12596 if ${SANE_LIBS:+false} :; then :
12597 if ${PKG_CONFIG+:} false; then :
12598 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12601 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12603 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12604 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12605 ac_save_CPPFLAGS=$CPPFLAGS
12606 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12607 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12610 $as_echo_n "checking for -lsane... " >&6; }
12611 if ${ac_cv_lib_soname_sane+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_soname_save_LIBS=$LIBS
12615 LIBS="-lsane $SANE_LIBS $LIBS"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char sane_init ();
12627 main ()
12629 return sane_init ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 case "$LIBEXT" in
12636 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if ${ac_cv_lib_soname_sane:+false} :; then :
12640 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12641 fi ;;
12642 esac
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_soname_save_LIBS
12648 if ${ac_cv_lib_soname_sane:+false} :; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12651 SANE_CFLAGS=""
12652 else
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12654 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12656 cat >>confdefs.h <<_ACEOF
12657 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12658 _ACEOF
12662 else
12663 SANE_CFLAGS=""
12667 CPPFLAGS=$ac_save_CPPFLAGS
12668 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12669 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12672 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12673 case "x$with_sane" in
12674 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12675 xno) ;;
12676 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12677 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12678 esac
12682 if test "x$with_v4l" != "xno"
12683 then
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12685 $as_echo_n "checking for -lv4l1... " >&6; }
12686 if ${ac_cv_lib_soname_v4l1+:} false; then :
12687 $as_echo_n "(cached) " >&6
12688 else
12689 ac_check_soname_save_LIBS=$LIBS
12690 LIBS="-lv4l1 $LIBS"
12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12694 /* Override any GCC internal prototype to avoid an error.
12695 Use char because int might match the return type of a GCC
12696 builtin and then its argument prototype would still apply. */
12697 #ifdef __cplusplus
12698 extern "C"
12699 #endif
12700 char v4l1_open ();
12702 main ()
12704 return v4l1_open ();
12706 return 0;
12708 _ACEOF
12709 if ac_fn_c_try_link "$LINENO"; then :
12710 case "$LIBEXT" in
12711 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12712 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'` ;;
12713 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12714 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12715 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12716 fi ;;
12717 esac
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_soname_save_LIBS
12723 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12725 $as_echo "not found" >&6; }
12727 else
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12729 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12731 cat >>confdefs.h <<_ACEOF
12732 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12733 _ACEOF
12738 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12739 case "x$with_v4l" in
12740 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12741 xno) ;;
12742 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12743 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12744 esac
12748 if test "x$with_gphoto" != "xno"
12749 then
12750 if ${GPHOTO2_CFLAGS:+false} :; then :
12751 if ${PKG_CONFIG+:} false; then :
12752 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12755 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12756 if ${GPHOTO2_LIBS:+false} :; then :
12757 if ${PKG_CONFIG+:} false; then :
12758 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12761 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12762 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12763 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12764 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12765 ac_save_CPPFLAGS=$CPPFLAGS
12766 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12767 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12768 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12770 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12771 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12772 $as_echo_n "(cached) " >&6
12773 else
12774 ac_check_lib_save_LIBS=$LIBS
12775 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char gp_camera_new ();
12787 main ()
12789 return gp_camera_new ();
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_link "$LINENO"; then :
12795 ac_cv_lib_gphoto2_gp_camera_new=yes
12796 else
12797 ac_cv_lib_gphoto2_gp_camera_new=no
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_lib_save_LIBS
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12804 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12805 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12807 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12809 else
12810 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12813 else
12814 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12818 CPPFLAGS=$ac_save_CPPFLAGS
12819 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12820 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12822 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12823 if ${PKG_CONFIG+:} false; then :
12824 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12827 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12828 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12829 if ${PKG_CONFIG+:} false; then :
12830 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12833 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12834 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12835 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12836 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12837 ac_save_CPPFLAGS=$CPPFLAGS
12838 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12839 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12840 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12842 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12843 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_lib_save_LIBS=$LIBS
12847 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char gp_port_info_list_new ();
12859 main ()
12861 return gp_port_info_list_new ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12868 else
12869 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12871 rm -f core conftest.err conftest.$ac_objext \
12872 conftest$ac_exeext conftest.$ac_ext
12873 LIBS=$ac_check_lib_save_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12876 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12877 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12879 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12881 else
12882 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12885 else
12886 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12890 CPPFLAGS=$ac_save_CPPFLAGS
12891 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12892 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12895 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12896 case "x$with_gphoto" in
12897 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12898 xno) ;;
12899 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12900 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12901 esac
12904 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12905 case "x$with_gphoto" in
12906 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12907 xno) ;;
12908 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12909 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12910 esac
12915 if test "$ac_cv_header_resolv_h" = "yes"
12916 then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12918 $as_echo_n "checking for resolver library... " >&6; }
12919 if ${ac_cv_have_resolv+:} false; then :
12920 $as_echo_n "(cached) " >&6
12921 else
12922 ac_save_LIBS="$LIBS"
12923 for lib in '' -lresolv
12925 LIBS="$lib $ac_save_LIBS"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12928 #ifdef HAVE_NETINET_IN_H
12929 #include <netinet/in.h>
12930 #endif
12931 #include <resolv.h>
12933 main ()
12935 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_link "$LINENO"; then :
12941 ac_cv_have_resolv=${lib:-"none required"}
12942 else
12943 ac_cv_have_resolv="not found"
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12947 test "x$ac_cv_have_resolv" = "xnot found" || break
12948 done
12949 LIBS="$ac_save_LIBS"
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12952 $as_echo "$ac_cv_have_resolv" >&6; }
12954 case "$ac_cv_have_resolv" in
12955 "not found") ;;
12956 "none required")
12958 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12961 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12963 RESOLV_LIBS=$ac_cv_have_resolv
12965 esac
12968 if test "x$with_cms" != "xno"
12969 then
12970 if ${LCMS2_CFLAGS:+false} :; then :
12971 if ${PKG_CONFIG+:} false; then :
12972 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12976 if ${LCMS2_LIBS:+false} :; then :
12977 if ${PKG_CONFIG+:} false; then :
12978 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12982 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12983 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12984 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12985 ac_save_CPPFLAGS=$CPPFLAGS
12986 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12987 for ac_header in lcms2.h
12988 do :
12989 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12990 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12991 cat >>confdefs.h <<_ACEOF
12992 #define HAVE_LCMS2_H 1
12993 _ACEOF
12997 done
12999 if test "$ac_cv_header_lcms2_h" = "yes"
13000 then
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13002 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13003 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13004 $as_echo_n "(cached) " >&6
13005 else
13006 ac_check_lib_save_LIBS=$LIBS
13007 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13011 /* Override any GCC internal prototype to avoid an error.
13012 Use char because int might match the return type of a GCC
13013 builtin and then its argument prototype would still apply. */
13014 #ifdef __cplusplus
13015 extern "C"
13016 #endif
13017 char cmsOpenProfileFromFile ();
13019 main ()
13021 return cmsOpenProfileFromFile ();
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_link "$LINENO"; then :
13027 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13028 else
13029 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13031 rm -f core conftest.err conftest.$ac_objext \
13032 conftest$ac_exeext conftest.$ac_ext
13033 LIBS=$ac_check_lib_save_LIBS
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13036 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13037 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13039 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13041 else
13042 LCMS2_LIBS=""
13045 else
13046 LCMS2_CFLAGS=""
13047 LCMS2_LIBS=""
13049 CPPFLAGS=$ac_save_CPPFLAGS
13050 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13051 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13054 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13055 case "x$with_cms" in
13056 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13057 xno) ;;
13058 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13059 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13060 esac
13064 if test "x$with_freetype" != "xno"
13065 then
13066 if ${FREETYPE_CFLAGS:+false} :; then :
13067 if ${PKG_CONFIG+:} false; then :
13068 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13071 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13072 if ${FREETYPE_LIBS:+false} :; then :
13073 if ${PKG_CONFIG+:} false; then :
13074 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13077 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13078 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13079 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13080 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13081 ac_save_CPPFLAGS=$CPPFLAGS
13082 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13083 for ac_header in ft2build.h
13084 do :
13085 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13086 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13087 cat >>confdefs.h <<_ACEOF
13088 #define HAVE_FT2BUILD_H 1
13089 _ACEOF
13093 done
13095 if test "$ac_cv_header_ft2build_h" = "yes"
13096 then
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13098 $as_echo_n "checking for -lfreetype... " >&6; }
13099 if ${ac_cv_lib_soname_freetype+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_soname_save_LIBS=$LIBS
13103 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char FT_Init_FreeType ();
13115 main ()
13117 return FT_Init_FreeType ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 case "$LIBEXT" in
13124 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13125 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'` ;;
13126 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13127 if ${ac_cv_lib_soname_freetype:+false} :; then :
13128 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13129 fi ;;
13130 esac
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_soname_save_LIBS
13136 if ${ac_cv_lib_soname_freetype:+false} :; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13138 $as_echo "not found" >&6; }
13139 FREETYPE_LIBS=""
13140 else
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13142 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13144 cat >>confdefs.h <<_ACEOF
13145 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13146 _ACEOF
13149 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13151 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13152 #include FT_MODULE_H
13154 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13156 cat >>confdefs.h <<_ACEOF
13157 #define HAVE_FT_TRUETYPEENGINETYPE 1
13158 _ACEOF
13164 else
13165 FREETYPE_CFLAGS=""
13166 FREETYPE_LIBS=""
13168 CPPFLAGS=$ac_save_CPPFLAGS
13169 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13170 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13173 if test "x$ac_cv_lib_soname_freetype" = x; then :
13174 case "x$with_freetype" in
13175 xno) ;;
13176 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13177 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13178 esac
13179 enable_fonts=${enable_fonts:-no}
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13183 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13184 if ${ac_cv_c_ppdev+:} false; then :
13185 $as_echo_n "(cached) " >&6
13186 else
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13189 #ifdef HAVE_SYS_IOCTL_H
13190 # include <sys/ioctl.h>
13191 #endif
13192 #include <linux/ppdev.h>
13194 main ()
13196 ioctl (1,PPCLAIM,0)
13198 return 0;
13200 _ACEOF
13201 if ac_fn_c_try_compile "$LINENO"; then :
13202 ac_cv_c_ppdev="yes"
13203 else
13204 ac_cv_c_ppdev="no"
13206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13209 $as_echo "$ac_cv_c_ppdev" >&6; }
13210 if test "$ac_cv_c_ppdev" = "yes"
13211 then
13213 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13217 ac_wine_check_funcs_save_LIBS="$LIBS"
13218 LIBS="$LIBS $PTHREAD_LIBS"
13219 for ac_func in \
13220 pthread_attr_get_np \
13221 pthread_getattr_np \
13222 pthread_getthreadid_np \
13223 pthread_get_stackaddr_np \
13224 pthread_get_stacksize_np
13225 do :
13226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13229 cat >>confdefs.h <<_ACEOF
13230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13231 _ACEOF
13234 done
13236 LIBS="$ac_wine_check_funcs_save_LIBS"
13238 if test "$ac_cv_header_zlib_h" = "yes"
13239 then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13241 $as_echo_n "checking for inflate in -lz... " >&6; }
13242 if ${ac_cv_lib_z_inflate+:} false; then :
13243 $as_echo_n "(cached) " >&6
13244 else
13245 ac_check_lib_save_LIBS=$LIBS
13246 LIBS="-lz $LIBS"
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 /* Override any GCC internal prototype to avoid an error.
13251 Use char because int might match the return type of a GCC
13252 builtin and then its argument prototype would still apply. */
13253 #ifdef __cplusplus
13254 extern "C"
13255 #endif
13256 char inflate ();
13258 main ()
13260 return inflate ();
13262 return 0;
13264 _ACEOF
13265 if ac_fn_c_try_link "$LINENO"; then :
13266 ac_cv_lib_z_inflate=yes
13267 else
13268 ac_cv_lib_z_inflate=no
13270 rm -f core conftest.err conftest.$ac_objext \
13271 conftest$ac_exeext conftest.$ac_ext
13272 LIBS=$ac_check_lib_save_LIBS
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13275 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13276 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13278 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13280 Z_LIBS="-lz"
13285 if test "x$Z_LIBS" = "x"; then :
13286 case "x$with_zlib" in
13287 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13288 xno) ;;
13289 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13290 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13291 esac
13295 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13296 then
13297 if test "$ac_cv_header_gettext_po_h" = "yes"
13298 then
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13300 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13301 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13302 $as_echo_n "(cached) " >&6
13303 else
13304 ac_check_lib_save_LIBS=$LIBS
13305 LIBS="-lgettextpo $LIBS"
13306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h. */
13309 /* Override any GCC internal prototype to avoid an error.
13310 Use char because int might match the return type of a GCC
13311 builtin and then its argument prototype would still apply. */
13312 #ifdef __cplusplus
13313 extern "C"
13314 #endif
13315 char po_message_msgctxt ();
13317 main ()
13319 return po_message_msgctxt ();
13321 return 0;
13323 _ACEOF
13324 if ac_fn_c_try_link "$LINENO"; then :
13325 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13326 else
13327 ac_cv_lib_gettextpo_po_message_msgctxt=no
13329 rm -f core conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13331 LIBS=$ac_check_lib_save_LIBS
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13334 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13335 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13337 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13339 GETTEXTPO_LIBS="-lgettextpo"
13344 if test "x$GETTEXTPO_LIBS" = "x"; then :
13345 case "x$with_gettextpo" in
13346 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13347 xno) ;;
13348 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13349 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13350 esac
13353 if test "$srcdir" != .; then :
13354 case "x$with_gettextpo" in
13355 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13356 xno) ;;
13357 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13358 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13359 esac
13364 if test "x$with_pulse" != "xno";
13365 then
13366 if ${PULSE_CFLAGS:+false} :; then :
13367 if ${PKG_CONFIG+:} false; then :
13368 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13372 if ${PULSE_LIBS:+false} :; then :
13373 if ${PKG_CONFIG+:} false; then :
13374 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13379 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13381 ac_save_CPPFLAGS=$CPPFLAGS
13382 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13383 for ac_header in pulse/pulseaudio.h
13384 do :
13385 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13387 cat >>confdefs.h <<_ACEOF
13388 #define HAVE_PULSE_PULSEAUDIO_H 1
13389 _ACEOF
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13391 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13392 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13393 $as_echo_n "(cached) " >&6
13394 else
13395 ac_check_lib_save_LIBS=$LIBS
13396 LIBS="-lpulse $PULSE_LIBS $LIBS"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13403 #ifdef __cplusplus
13404 extern "C"
13405 #endif
13406 char pa_stream_is_corked ();
13408 main ()
13410 return pa_stream_is_corked ();
13412 return 0;
13414 _ACEOF
13415 if ac_fn_c_try_link "$LINENO"; then :
13416 ac_cv_lib_pulse_pa_stream_is_corked=yes
13417 else
13418 ac_cv_lib_pulse_pa_stream_is_corked=no
13420 rm -f core conftest.err conftest.$ac_objext \
13421 conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_lib_save_LIBS
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13425 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13426 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13428 else
13429 PULSE_LIBS=""
13432 else
13433 PULSE_LIBS=""
13436 done
13438 CPPFLAGS=$ac_save_CPPFLAGS
13439 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13440 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13443 if test -z "$PULSE_LIBS"; then :
13444 case "x$with_pulse" in
13445 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13446 xno) ;;
13447 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13448 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13449 esac
13450 enable_winepulse_drv=${enable_winepulse_drv:-no}
13453 if test "x$with_gstreamer" != "xno"
13454 then
13455 if ${GSTREAMER_CFLAGS:+false} :; then :
13456 if ${PKG_CONFIG+:} false; then :
13457 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13461 if ${GSTREAMER_LIBS:+false} :; then :
13462 if ${PKG_CONFIG+:} false; then :
13463 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13468 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13469 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13470 ac_save_CPPFLAGS=$CPPFLAGS
13471 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13472 ac_gst_incl=""
13473 for i in $GSTREAMER_CFLAGS
13475 case "$i" in
13476 -I*) ac_gst_incl="$ac_gst_incl $i";;
13477 esac
13478 done
13479 GSTREAMER_CFLAGS=$ac_gst_incl
13480 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13481 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13482 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13484 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13487 #include <gst/gst.h>
13489 main ()
13491 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13493 return 0;
13495 _ACEOF
13496 if ac_fn_c_try_compile "$LINENO"; then :
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13498 $as_echo "yes" >&6; }
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13500 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13501 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13502 $as_echo_n "(cached) " >&6
13503 else
13504 ac_check_lib_save_LIBS=$LIBS
13505 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h. */
13509 /* Override any GCC internal prototype to avoid an error.
13510 Use char because int might match the return type of a GCC
13511 builtin and then its argument prototype would still apply. */
13512 #ifdef __cplusplus
13513 extern "C"
13514 #endif
13515 char gst_pad_new ();
13517 main ()
13519 return gst_pad_new ();
13521 return 0;
13523 _ACEOF
13524 if ac_fn_c_try_link "$LINENO"; then :
13525 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13526 else
13527 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13529 rm -f core conftest.err conftest.$ac_objext \
13530 conftest$ac_exeext conftest.$ac_ext
13531 LIBS=$ac_check_lib_save_LIBS
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13534 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13535 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13539 else
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13541 $as_echo "no" >&6; }
13542 ac_glib2_broken=yes
13543 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13549 CPPFLAGS=$ac_save_CPPFLAGS
13550 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13551 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13554 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 :
13555 case "x$with_gstreamer" in
13556 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13557 xno) ;;
13558 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13559 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13560 esac
13563 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13565 ALSA_LIBS=""
13567 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13568 then
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13570 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13571 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 ac_check_lib_save_LIBS=$LIBS
13575 LIBS="-lasound $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13582 #ifdef __cplusplus
13583 extern "C"
13584 #endif
13585 char snd_pcm_hw_params_get_access_mask ();
13587 main ()
13589 return snd_pcm_hw_params_get_access_mask ();
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13596 else
13597 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 LIBS=$ac_check_lib_save_LIBS
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13604 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13605 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13608 #ifdef HAVE_ALSA_ASOUNDLIB_H
13609 #include <alsa/asoundlib.h>
13610 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13611 #include <sys/asoundlib.h>
13612 #endif
13614 main ()
13616 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13618 return 0;
13620 _ACEOF
13621 if ac_fn_c_try_compile "$LINENO"; then :
13622 ALSA_LIBS="-lasound"
13624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13628 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13630 if test "x$with_oss" != xno
13631 then
13632 ac_save_CPPFLAGS="$CPPFLAGS"
13633 if test -f /etc/oss.conf
13634 then
13635 . /etc/oss.conf
13637 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13638 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13639 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13640 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13641 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13643 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13645 cat >>confdefs.h <<_ACEOF
13646 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13647 _ACEOF
13649 OSS4_CFLAGS="$ac_oss_incl"
13656 CPPFLAGS="$ac_save_CPPFLAGS"
13658 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13659 case "x$with_oss" in
13660 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13661 xno) ;;
13662 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13663 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13664 esac
13665 enable_wineoss_drv=${enable_wineoss_drv:-no}
13668 if test "x$with_udev" != "xno"
13669 then
13670 if ${UDEV_CFLAGS:+false} :; then :
13671 if ${PKG_CONFIG+:} false; then :
13672 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13676 if ${UDEV_LIBS:+false} :; then :
13677 if ${PKG_CONFIG+:} false; then :
13678 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13682 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13683 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13684 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13685 ac_save_CPPFLAGS=$CPPFLAGS
13686 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13687 for ac_header in libudev.h
13688 do :
13689 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13690 if test "x$ac_cv_header_libudev_h" = xyes; then :
13691 cat >>confdefs.h <<_ACEOF
13692 #define HAVE_LIBUDEV_H 1
13693 _ACEOF
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13695 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13696 if ${ac_cv_lib_udev_udev_new+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_check_lib_save_LIBS=$LIBS
13700 LIBS="-ludev $UDEV_LIBS $LIBS"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13707 #ifdef __cplusplus
13708 extern "C"
13709 #endif
13710 char udev_new ();
13712 main ()
13714 return udev_new ();
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 ac_cv_lib_udev_udev_new=yes
13721 else
13722 ac_cv_lib_udev_udev_new=no
13724 rm -f core conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext conftest.$ac_ext
13726 LIBS=$ac_check_lib_save_LIBS
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13729 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13730 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13732 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13734 else
13735 UDEV_LIBS=""
13738 else
13739 UDEV_LIBS=""
13742 done
13744 CPPFLAGS=$ac_save_CPPFLAGS
13745 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13746 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13749 if test "x$UDEV_LIBS" = "x"; then :
13750 case "x$with_udev" in
13751 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13752 xno) ;;
13753 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13754 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13755 esac
13759 if test "x$with_sdl" != "xno"
13760 then
13761 if ${SDL2_CFLAGS:+false} :; then :
13762 if ${PKG_CONFIG+:} false; then :
13763 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13767 if ${SDL2_LIBS:+false} :; then :
13768 if ${PKG_CONFIG+:} false; then :
13769 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13773 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13774 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13775 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13776 ac_save_CPPFLAGS=$CPPFLAGS
13777 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13778 for ac_header in SDL2/SDL.h
13779 do :
13780 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13781 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13782 cat >>confdefs.h <<_ACEOF
13783 #define HAVE_SDL2_SDL_H 1
13784 _ACEOF
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13786 $as_echo_n "checking for -lSDL2... " >&6; }
13787 if ${ac_cv_lib_soname_SDL2+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_check_soname_save_LIBS=$LIBS
13791 LIBS="-lSDL2 $LIBS"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13798 #ifdef __cplusplus
13799 extern "C"
13800 #endif
13801 char SDL_Init ();
13803 main ()
13805 return SDL_Init ();
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"; then :
13811 case "$LIBEXT" in
13812 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13813 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'` ;;
13814 *) 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'`
13815 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13816 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13817 fi ;;
13818 esac
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_soname_save_LIBS
13824 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13826 $as_echo "not found" >&6; }
13828 else
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13830 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13832 cat >>confdefs.h <<_ACEOF
13833 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13834 _ACEOF
13840 done
13842 CPPFLAGS=$ac_save_CPPFLAGS
13843 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13844 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13847 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13848 case "x$with_sdl" in
13849 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13850 xno) ;;
13851 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13852 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13853 esac
13857 if test "x$with_capi" != "xno"
13858 then
13859 if ${CAPI20_CFLAGS:+false} :; then :
13860 if ${PKG_CONFIG+:} false; then :
13861 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13865 if ${CAPI20_LIBS:+false} :; then :
13866 if ${PKG_CONFIG+:} false; then :
13867 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13872 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13873 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13874 ac_save_CPPFLAGS=$CPPFLAGS
13875 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13876 for ac_header in capi20.h linux/capi.h
13877 do :
13878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13879 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13881 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13882 cat >>confdefs.h <<_ACEOF
13883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13884 _ACEOF
13888 done
13890 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13891 then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13893 $as_echo_n "checking for -lcapi20... " >&6; }
13894 if ${ac_cv_lib_soname_capi20+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_check_soname_save_LIBS=$LIBS
13898 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13902 /* Override any GCC internal prototype to avoid an error.
13903 Use char because int might match the return type of a GCC
13904 builtin and then its argument prototype would still apply. */
13905 #ifdef __cplusplus
13906 extern "C"
13907 #endif
13908 char capi20_register ();
13910 main ()
13912 return capi20_register ();
13914 return 0;
13916 _ACEOF
13917 if ac_fn_c_try_link "$LINENO"; then :
13918 case "$LIBEXT" in
13919 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13920 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'` ;;
13921 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13922 if ${ac_cv_lib_soname_capi20:+false} :; then :
13923 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13924 fi ;;
13925 esac
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 LIBS=$ac_check_soname_save_LIBS
13931 if ${ac_cv_lib_soname_capi20:+false} :; then :
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13933 $as_echo "not found" >&6; }
13935 else
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13937 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13939 cat >>confdefs.h <<_ACEOF
13940 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13941 _ACEOF
13946 CPPFLAGS=$ac_save_CPPFLAGS
13947 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13948 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13951 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13952 case "x$with_capi" in
13953 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13954 xno) ;;
13955 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13956 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13957 esac
13961 if test "x$with_cups" != "xno"
13962 then
13963 if ${CUPS_CFLAGS:+false} :; then :
13964 if ${PKG_CONFIG+:} false; then :
13965 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13968 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13969 if ${CUPS_LIBS:+false} :; then :
13970 if ${PKG_CONFIG+:} false; then :
13971 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13974 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13975 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13976 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13977 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13978 ac_save_CPPFLAGS=$CPPFLAGS
13979 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13980 for ac_header in cups/cups.h cups/ppd.h
13981 do :
13982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13983 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13984 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13985 cat >>confdefs.h <<_ACEOF
13986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13987 _ACEOF
13991 done
13993 if test "$ac_cv_header_cups_cups_h" = "yes"
13994 then
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13996 $as_echo_n "checking for -lcups... " >&6; }
13997 if ${ac_cv_lib_soname_cups+:} false; then :
13998 $as_echo_n "(cached) " >&6
13999 else
14000 ac_check_soname_save_LIBS=$LIBS
14001 LIBS="-lcups $CUPS_LIBS $LIBS"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14008 #ifdef __cplusplus
14009 extern "C"
14010 #endif
14011 char cupsGetDefault ();
14013 main ()
14015 return cupsGetDefault ();
14017 return 0;
14019 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14021 case "$LIBEXT" in
14022 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14023 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'` ;;
14024 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14025 if ${ac_cv_lib_soname_cups:+false} :; then :
14026 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14027 fi ;;
14028 esac
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS=$ac_check_soname_save_LIBS
14034 if ${ac_cv_lib_soname_cups:+false} :; then :
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14036 $as_echo "not found" >&6; }
14037 CUPS_LIBS=""
14038 else
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14040 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14042 cat >>confdefs.h <<_ACEOF
14043 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14044 _ACEOF
14048 else
14049 CUPS_CFLAGS=""
14050 CUPS_LIBS=""
14052 CPPFLAGS=$ac_save_CPPFLAGS
14053 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14054 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14057 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14058 case "x$with_cups" in
14059 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14060 xno) ;;
14061 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14062 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14063 esac
14067 if test "x$with_fontconfig" != "xno"
14068 then
14069 if ${FONTCONFIG_CFLAGS:+false} :; then :
14070 if ${PKG_CONFIG+:} false; then :
14071 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14074 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14075 if ${FONTCONFIG_LIBS:+false} :; then :
14076 if ${PKG_CONFIG+:} false; then :
14077 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14080 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14082 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14083 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14084 ac_save_CPPFLAGS=$CPPFLAGS
14085 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14086 for ac_header in fontconfig/fontconfig.h
14087 do :
14088 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14089 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14090 cat >>confdefs.h <<_ACEOF
14091 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14092 _ACEOF
14096 done
14098 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14099 then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14101 $as_echo_n "checking for -lfontconfig... " >&6; }
14102 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_check_soname_save_LIBS=$LIBS
14106 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14113 #ifdef __cplusplus
14114 extern "C"
14115 #endif
14116 char FcInit ();
14118 main ()
14120 return FcInit ();
14122 return 0;
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 case "$LIBEXT" in
14127 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14128 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'` ;;
14129 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14130 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14131 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14132 fi ;;
14133 esac
14135 rm -f core conftest.err conftest.$ac_objext \
14136 conftest$ac_exeext conftest.$ac_ext
14137 LIBS=$ac_check_soname_save_LIBS
14139 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14141 $as_echo "not found" >&6; }
14142 FONTCONFIG_CFLAGS=""
14143 else
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14145 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14147 cat >>confdefs.h <<_ACEOF
14148 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14149 _ACEOF
14153 else
14154 FONTCONFIG_CFLAGS=""
14156 CPPFLAGS=$ac_save_CPPFLAGS
14157 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14158 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14161 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14162 case "x$with_fontconfig" in
14163 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14164 xno) ;;
14165 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14166 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14167 esac
14171 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14172 then
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14174 $as_echo_n "checking for -lgsm... " >&6; }
14175 if ${ac_cv_lib_soname_gsm+:} false; then :
14176 $as_echo_n "(cached) " >&6
14177 else
14178 ac_check_soname_save_LIBS=$LIBS
14179 LIBS="-lgsm $LIBS"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 #ifdef __cplusplus
14187 extern "C"
14188 #endif
14189 char gsm_create ();
14191 main ()
14193 return gsm_create ();
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 case "$LIBEXT" in
14200 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14201 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'` ;;
14202 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14203 if ${ac_cv_lib_soname_gsm:+false} :; then :
14204 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14205 fi ;;
14206 esac
14208 rm -f core conftest.err conftest.$ac_objext \
14209 conftest$ac_exeext conftest.$ac_ext
14210 LIBS=$ac_check_soname_save_LIBS
14212 if ${ac_cv_lib_soname_gsm:+false} :; then :
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14214 $as_echo "not found" >&6; }
14216 else
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14218 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14220 cat >>confdefs.h <<_ACEOF
14221 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14222 _ACEOF
14227 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14228 case "x$with_gsm" in
14229 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14230 xno) ;;
14231 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14232 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14233 esac
14237 if test "x$with_krb5" != "xno"
14238 then
14239 if ${KRB5_CFLAGS:+false} :; then :
14240 if ${PKG_CONFIG+:} false; then :
14241 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14244 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14245 if ${KRB5_LIBS:+false} :; then :
14246 if ${PKG_CONFIG+:} false; then :
14247 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14250 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14252 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14253 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14254 ac_save_CPPFLAGS=$CPPFLAGS
14255 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14256 for ac_header in krb5/krb5.h
14257 do :
14258 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14259 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14260 cat >>confdefs.h <<_ACEOF
14261 #define HAVE_KRB5_KRB5_H 1
14262 _ACEOF
14266 done
14268 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14269 then
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14271 $as_echo_n "checking for -lkrb5... " >&6; }
14272 if ${ac_cv_lib_soname_krb5+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_check_soname_save_LIBS=$LIBS
14276 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14280 /* Override any GCC internal prototype to avoid an error.
14281 Use char because int might match the return type of a GCC
14282 builtin and then its argument prototype would still apply. */
14283 #ifdef __cplusplus
14284 extern "C"
14285 #endif
14286 char krb5_is_config_principal ();
14288 main ()
14290 return krb5_is_config_principal ();
14292 return 0;
14294 _ACEOF
14295 if ac_fn_c_try_link "$LINENO"; then :
14296 case "$LIBEXT" in
14297 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14298 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'` ;;
14299 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14300 if ${ac_cv_lib_soname_krb5:+false} :; then :
14301 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14302 fi ;;
14303 esac
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 LIBS=$ac_check_soname_save_LIBS
14309 if ${ac_cv_lib_soname_krb5:+false} :; then :
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14311 $as_echo "not found" >&6; }
14312 KRB5_CFLAGS=""
14313 else
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14315 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14317 cat >>confdefs.h <<_ACEOF
14318 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14319 _ACEOF
14323 else
14324 KRB5_CFLAGS=""
14326 CPPFLAGS=$ac_save_CPPFLAGS
14327 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14328 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14330 else
14331 with_gssapi=${with_gssapi:-no}
14333 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14334 case "x$with_krb5" in
14335 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14336 xno) ;;
14337 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14338 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14339 esac
14343 if test "x$with_gssapi" != "xno"
14344 then
14345 if ${GSSAPI_CFLAGS:+false} :; then :
14346 if ${PKG_CONFIG+:} false; then :
14347 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14350 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14351 if ${GSSAPI_LIBS:+false} :; then :
14352 if ${PKG_CONFIG+:} false; then :
14353 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14356 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14358 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14359 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14360 ac_save_CPPFLAGS=$CPPFLAGS
14361 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14362 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14363 do :
14364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14365 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14367 cat >>confdefs.h <<_ACEOF
14368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14369 _ACEOF
14373 done
14375 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14376 then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14378 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14379 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14380 $as_echo_n "(cached) " >&6
14381 else
14382 ac_check_soname_save_LIBS=$LIBS
14383 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14387 /* Override any GCC internal prototype to avoid an error.
14388 Use char because int might match the return type of a GCC
14389 builtin and then its argument prototype would still apply. */
14390 #ifdef __cplusplus
14391 extern "C"
14392 #endif
14393 char gss_init_sec_context ();
14395 main ()
14397 return gss_init_sec_context ();
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 case "$LIBEXT" in
14404 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14405 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'` ;;
14406 *) 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'`
14407 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14408 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14409 fi ;;
14410 esac
14412 rm -f core conftest.err conftest.$ac_objext \
14413 conftest$ac_exeext conftest.$ac_ext
14414 LIBS=$ac_check_soname_save_LIBS
14416 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14418 $as_echo "not found" >&6; }
14419 GSSAPI_CFLAGS=""
14420 else
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14422 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14424 cat >>confdefs.h <<_ACEOF
14425 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14426 _ACEOF
14430 else
14431 GSSAPI_CFLAGS=""
14433 CPPFLAGS=$ac_save_CPPFLAGS
14434 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14435 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14438 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14439 case "x$with_gssapi" in
14440 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14441 xno) ;;
14442 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14443 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14444 esac
14448 if test "x$with_jpeg" != "xno"
14449 then
14450 if ${JPEG_CFLAGS:+false} :; then :
14451 if ${PKG_CONFIG+:} false; then :
14452 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14456 if ${JPEG_LIBS:+false} :; then :
14457 if ${PKG_CONFIG+:} false; then :
14458 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14464 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14465 ac_save_CPPFLAGS=$CPPFLAGS
14466 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14467 for ac_header in jpeglib.h
14468 do :
14469 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14470 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14471 cat >>confdefs.h <<_ACEOF
14472 #define HAVE_JPEGLIB_H 1
14473 _ACEOF
14477 done
14479 if test "$ac_cv_header_jpeglib_h" = "yes"
14480 then
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14482 $as_echo_n "checking for -ljpeg... " >&6; }
14483 if ${ac_cv_lib_soname_jpeg+:} false; then :
14484 $as_echo_n "(cached) " >&6
14485 else
14486 ac_check_soname_save_LIBS=$LIBS
14487 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14491 /* Override any GCC internal prototype to avoid an error.
14492 Use char because int might match the return type of a GCC
14493 builtin and then its argument prototype would still apply. */
14494 #ifdef __cplusplus
14495 extern "C"
14496 #endif
14497 char jpeg_start_decompress ();
14499 main ()
14501 return jpeg_start_decompress ();
14503 return 0;
14505 _ACEOF
14506 if ac_fn_c_try_link "$LINENO"; then :
14507 case "$LIBEXT" in
14508 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14509 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'` ;;
14510 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14511 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14512 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14513 fi ;;
14514 esac
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14518 LIBS=$ac_check_soname_save_LIBS
14520 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14522 $as_echo "not found" >&6; }
14523 JPEG_CFLAGS=""
14524 else
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14526 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14528 cat >>confdefs.h <<_ACEOF
14529 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14530 _ACEOF
14534 else
14535 JPEG_CFLAGS=""
14537 CPPFLAGS=$ac_save_CPPFLAGS
14538 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14539 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14542 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14543 case "x$with_jpeg" in
14544 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14545 xno) ;;
14546 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14547 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14548 esac
14552 if test "x$with_png" != "xno"
14553 then
14554 if ${PNG_CFLAGS:+false} :; then :
14555 if ${PKG_CONFIG+:} false; then :
14556 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14559 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14560 if ${PNG_LIBS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14565 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14568 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14569 ac_save_CPPFLAGS=$CPPFLAGS
14570 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14571 for ac_header in png.h
14572 do :
14573 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14574 if test "x$ac_cv_header_png_h" = xyes; then :
14575 cat >>confdefs.h <<_ACEOF
14576 #define HAVE_PNG_H 1
14577 _ACEOF
14581 done
14583 if test "$ac_cv_header_png_h" = "yes"
14584 then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14586 $as_echo_n "checking for -lpng... " >&6; }
14587 if ${ac_cv_lib_soname_png+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_check_soname_save_LIBS=$LIBS
14591 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 #ifdef __cplusplus
14599 extern "C"
14600 #endif
14601 char png_create_read_struct ();
14603 main ()
14605 return png_create_read_struct ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 case "$LIBEXT" in
14612 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14613 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'` ;;
14614 *) 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'`
14615 if ${ac_cv_lib_soname_png:+false} :; then :
14616 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14617 fi ;;
14618 esac
14620 rm -f core conftest.err conftest.$ac_objext \
14621 conftest$ac_exeext conftest.$ac_ext
14622 LIBS=$ac_check_soname_save_LIBS
14624 if ${ac_cv_lib_soname_png:+false} :; then :
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14626 $as_echo "not found" >&6; }
14627 PNG_CFLAGS=""
14628 else
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14630 $as_echo "$ac_cv_lib_soname_png" >&6; }
14632 cat >>confdefs.h <<_ACEOF
14633 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14634 _ACEOF
14638 else
14639 PNG_CFLAGS=""
14641 CPPFLAGS=$ac_save_CPPFLAGS
14642 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14643 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14646 if test "x$ac_cv_lib_soname_png" = "x"; then :
14647 case "x$with_png" in
14648 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14649 xno) ;;
14650 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14651 This is an error since --with-png was requested." "$LINENO" 5 ;;
14652 esac
14656 if test "x$with_tiff" != "xno"
14657 then
14658 if ${TIFF_CFLAGS:+false} :; then :
14659 if ${PKG_CONFIG+:} false; then :
14660 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14664 if ${TIFF_LIBS:+false} :; then :
14665 if ${PKG_CONFIG+:} false; then :
14666 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14671 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14672 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14673 ac_save_CPPFLAGS=$CPPFLAGS
14674 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14675 for ac_header in tiffio.h
14676 do :
14677 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14678 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14679 cat >>confdefs.h <<_ACEOF
14680 #define HAVE_TIFFIO_H 1
14681 _ACEOF
14685 done
14687 if test "$ac_cv_header_tiffio_h" = "yes"
14688 then
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14690 $as_echo_n "checking for -ltiff... " >&6; }
14691 if ${ac_cv_lib_soname_tiff+:} false; then :
14692 $as_echo_n "(cached) " >&6
14693 else
14694 ac_check_soname_save_LIBS=$LIBS
14695 LIBS="-ltiff $TIFF_LIBS $LIBS"
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14702 #ifdef __cplusplus
14703 extern "C"
14704 #endif
14705 char TIFFClientOpen ();
14707 main ()
14709 return TIFFClientOpen ();
14711 return 0;
14713 _ACEOF
14714 if ac_fn_c_try_link "$LINENO"; then :
14715 case "$LIBEXT" in
14716 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14717 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'` ;;
14718 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14719 if ${ac_cv_lib_soname_tiff:+false} :; then :
14720 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14721 fi ;;
14722 esac
14724 rm -f core conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14726 LIBS=$ac_check_soname_save_LIBS
14728 if ${ac_cv_lib_soname_tiff:+false} :; then :
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14730 $as_echo "not found" >&6; }
14732 else
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14734 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14736 cat >>confdefs.h <<_ACEOF
14737 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14738 _ACEOF
14743 CPPFLAGS=$ac_save_CPPFLAGS
14744 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14745 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14748 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14749 case "x$with_tiff" in
14750 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14751 xno) ;;
14752 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14753 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14754 esac
14758 if test "x$with_mpg123" != "xno"
14759 then
14760 if ${MPG123_CFLAGS:+false} :; then :
14761 if ${PKG_CONFIG+:} false; then :
14762 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14766 if ${MPG123_LIBS:+false} :; then :
14767 if ${PKG_CONFIG+:} false; then :
14768 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14772 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14773 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14774 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14775 ac_save_CPPFLAGS=$CPPFLAGS
14776 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14777 for ac_header in mpg123.h
14778 do :
14779 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14780 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14781 cat >>confdefs.h <<_ACEOF
14782 #define HAVE_MPG123_H 1
14783 _ACEOF
14787 done
14789 if test "$ac_cv_header_mpg123_h" = "yes"
14790 then
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14792 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14793 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char mpg123_feed ();
14809 main ()
14811 return mpg123_feed ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_mpg123_mpg123_feed=yes
14818 else
14819 ac_cv_lib_mpg123_mpg123_feed=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14826 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14827 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14829 else
14830 MPG123_LIBS=""
14833 else
14834 MPG123_CFLAGS=""
14835 MPG123_LIBS=""
14837 CPPFLAGS=$ac_save_CPPFLAGS
14838 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14839 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14842 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14843 case "x$with_mpg123" in
14844 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14845 xno) ;;
14846 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14847 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14848 esac
14849 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14851 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14853 if test "$ac_cv_header_AL_al_h" = "yes"
14854 then
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14856 $as_echo_n "checking for -lopenal... " >&6; }
14857 if ${ac_cv_lib_soname_openal+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 ac_check_soname_save_LIBS=$LIBS
14861 LIBS="-lopenal $LIBS"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14865 /* Override any GCC internal prototype to avoid an error.
14866 Use char because int might match the return type of a GCC
14867 builtin and then its argument prototype would still apply. */
14868 #ifdef __cplusplus
14869 extern "C"
14870 #endif
14871 char alGetSource3i ();
14873 main ()
14875 return alGetSource3i ();
14877 return 0;
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 case "$LIBEXT" in
14882 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14883 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'` ;;
14884 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14885 if ${ac_cv_lib_soname_openal:+false} :; then :
14886 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14887 fi ;;
14888 esac
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 LIBS=$ac_check_soname_save_LIBS
14894 if ${ac_cv_lib_soname_openal:+false} :; then :
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14896 $as_echo "not found" >&6; }
14898 else
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14900 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14902 cat >>confdefs.h <<_ACEOF
14903 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14904 _ACEOF
14906 OPENAL_LIBS="-lopenal"
14908 ac_cv_lib_openal=yes
14910 cat >>confdefs.h <<_ACEOF
14911 #define HAVE_OPENAL 1
14912 _ACEOF
14916 if test "x$ac_cv_lib_openal" != xyes; then :
14917 case "x$with_openal" in
14918 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14919 xno) ;;
14920 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14921 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14922 esac
14923 enable_openal32=${enable_openal32:-no}
14926 if test "x$ac_cv_lib_openal" = xyes
14927 then
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14929 $as_echo_n "checking for openal-soft... " >&6; }
14930 if ${ac_cv_have_openalsoft+:} false; then :
14931 $as_echo_n "(cached) " >&6
14932 else
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 #include <AL/al.h>
14936 #include <AL/alc.h>
14937 #include <AL/alext.h>
14938 LPALCRENDERSAMPLESSOFT x;
14940 main ()
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_compile "$LINENO"; then :
14948 ac_cv_have_openalsoft=yes
14949 else
14950 ac_cv_have_openalsoft=no
14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14955 $as_echo "$ac_cv_have_openalsoft" >&6; }
14957 if test "x$ac_cv_have_openalsoft" != xyes
14958 then
14959 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14960 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14961 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14962 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14963 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14964 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14965 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14966 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14967 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14968 enable_xapofx1_1=${enable_xapofx1_1:-no}
14969 enable_xapofx1_2=${enable_xapofx1_2:-no}
14970 enable_xapofx1_3=${enable_xapofx1_3:-no}
14971 enable_xapofx1_4=${enable_xapofx1_4:-no}
14972 enable_xapofx1_5=${enable_xapofx1_5:-no}
14973 enable_xaudio2_0=${enable_xaudio2_0:-no}
14974 enable_xaudio2_1=${enable_xaudio2_1:-no}
14975 enable_xaudio2_2=${enable_xaudio2_2:-no}
14976 enable_xaudio2_3=${enable_xaudio2_3:-no}
14977 enable_xaudio2_4=${enable_xaudio2_4:-no}
14978 enable_xaudio2_5=${enable_xaudio2_5:-no}
14979 enable_xaudio2_6=${enable_xaudio2_6:-no}
14980 enable_xaudio2_7=${enable_xaudio2_7:-no}
14981 enable_xaudio2_8=${enable_xaudio2_8:-no}
14982 enable_xaudio2_9=${enable_xaudio2_9:-no}
14985 if test "$ac_cv_header_kstat_h" = "yes"
14986 then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14988 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14989 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14990 $as_echo_n "(cached) " >&6
14991 else
14992 ac_check_lib_save_LIBS=$LIBS
14993 LIBS="-lkstat $LIBS"
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14997 /* Override any GCC internal prototype to avoid an error.
14998 Use char because int might match the return type of a GCC
14999 builtin and then its argument prototype would still apply. */
15000 #ifdef __cplusplus
15001 extern "C"
15002 #endif
15003 char kstat_open ();
15005 main ()
15007 return kstat_open ();
15009 return 0;
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_lib_kstat_kstat_open=yes
15014 else
15015 ac_cv_lib_kstat_kstat_open=no
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15019 LIBS=$ac_check_lib_save_LIBS
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15022 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15023 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15025 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15027 KSTAT_LIBS="-lkstat"
15033 if test "$ac_cv_header_libprocstat_h" = "yes"
15034 then
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15036 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15037 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_check_lib_save_LIBS=$LIBS
15041 LIBS="-lprocstat $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char procstat_open_sysctl ();
15053 main ()
15055 return procstat_open_sysctl ();
15057 return 0;
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 ac_cv_lib_procstat_procstat_open_sysctl=yes
15062 else
15063 ac_cv_lib_procstat_procstat_open_sysctl=no
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067 LIBS=$ac_check_lib_save_LIBS
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15070 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15071 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15073 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15075 PROCSTAT_LIBS="-lprocstat"
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15082 $as_echo_n "checking for -lodbc... " >&6; }
15083 if ${ac_cv_lib_soname_odbc+:} false; then :
15084 $as_echo_n "(cached) " >&6
15085 else
15086 ac_check_soname_save_LIBS=$LIBS
15087 LIBS="-lodbc $LIBS"
15088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15091 /* Override any GCC internal prototype to avoid an error.
15092 Use char because int might match the return type of a GCC
15093 builtin and then its argument prototype would still apply. */
15094 #ifdef __cplusplus
15095 extern "C"
15096 #endif
15097 char SQLConnect ();
15099 main ()
15101 return SQLConnect ();
15103 return 0;
15105 _ACEOF
15106 if ac_fn_c_try_link "$LINENO"; then :
15107 case "$LIBEXT" in
15108 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15109 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'` ;;
15110 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15111 if ${ac_cv_lib_soname_odbc:+false} :; then :
15112 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15113 fi ;;
15114 esac
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_soname_save_LIBS
15120 if ${ac_cv_lib_soname_odbc:+false} :; then :
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15122 $as_echo "not found" >&6; }
15123 cat >>confdefs.h <<_ACEOF
15124 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15125 _ACEOF
15127 else
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15129 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15131 cat >>confdefs.h <<_ACEOF
15132 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15133 _ACEOF
15138 if test "x$with_netapi" != "xno"
15139 then
15140 if ${NETAPI_CFLAGS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15146 if ${NETAPI_LIBS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15153 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15154 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15155 ac_save_CPPFLAGS=$CPPFLAGS
15156 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15158 $as_echo_n "checking for -lnetapi... " >&6; }
15159 if ${ac_cv_lib_soname_netapi+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 ac_check_soname_save_LIBS=$LIBS
15163 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15170 #ifdef __cplusplus
15171 extern "C"
15172 #endif
15173 char libnetapi_init ();
15175 main ()
15177 return libnetapi_init ();
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"; then :
15183 case "$LIBEXT" in
15184 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15185 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'` ;;
15186 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15187 if ${ac_cv_lib_soname_netapi:+false} :; then :
15188 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15189 fi ;;
15190 esac
15192 rm -f core conftest.err conftest.$ac_objext \
15193 conftest$ac_exeext conftest.$ac_ext
15194 LIBS=$ac_check_soname_save_LIBS
15196 if ${ac_cv_lib_soname_netapi:+false} :; then :
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15198 $as_echo "not found" >&6; }
15199 cat >>confdefs.h <<_ACEOF
15200 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15201 _ACEOF
15203 else
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15205 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15207 cat >>confdefs.h <<_ACEOF
15208 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15209 _ACEOF
15213 CPPFLAGS=$ac_save_CPPFLAGS
15214 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15215 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15219 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15220 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15221 then
15222 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15225 if test "x$with_vulkan" != "xno"
15226 then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15228 $as_echo_n "checking for -lvulkan... " >&6; }
15229 if ${ac_cv_lib_soname_vulkan+:} false; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lvulkan $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 #ifdef __cplusplus
15241 extern "C"
15242 #endif
15243 char vkGetInstanceProcAddr ();
15245 main ()
15247 return vkGetInstanceProcAddr ();
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 case "$LIBEXT" in
15254 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15255 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'` ;;
15256 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15257 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15258 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15259 fi ;;
15260 esac
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_soname_save_LIBS
15266 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15268 $as_echo "not found" >&6; }
15270 else
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15272 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15274 cat >>confdefs.h <<_ACEOF
15275 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15276 _ACEOF
15280 if test "x$ac_cv_lib_soname_vulkan" = "x"
15281 then
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15283 $as_echo_n "checking for -lMoltenVK... " >&6; }
15284 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 ac_check_soname_save_LIBS=$LIBS
15288 LIBS="-lMoltenVK $LIBS"
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15292 /* Override any GCC internal prototype to avoid an error.
15293 Use char because int might match the return type of a GCC
15294 builtin and then its argument prototype would still apply. */
15295 #ifdef __cplusplus
15296 extern "C"
15297 #endif
15298 char vkGetInstanceProcAddr ();
15300 main ()
15302 return vkGetInstanceProcAddr ();
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 case "$LIBEXT" in
15309 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15310 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'` ;;
15311 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15312 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15313 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15314 fi ;;
15315 esac
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15319 LIBS=$ac_check_soname_save_LIBS
15321 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15323 $as_echo "not found" >&6; }
15325 else
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15327 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15329 cat >>confdefs.h <<_ACEOF
15330 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15331 _ACEOF
15337 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15338 case "x$with_vulkan" in
15339 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15340 xno) ;;
15341 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15342 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15343 esac
15347 if test "x$with_vkd3d" != "xno"
15348 then
15349 if ${VKD3D_CFLAGS:+false} :; then :
15350 if ${PKG_CONFIG+:} false; then :
15351 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15355 if ${VKD3D_LIBS:+false} :; then :
15356 if ${PKG_CONFIG+:} false; then :
15357 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15362 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15363 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15364 ac_save_CPPFLAGS=$CPPFLAGS
15365 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15367 $as_echo_n "checking for -lvkd3d... " >&6; }
15368 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 ac_check_soname_save_LIBS=$LIBS
15372 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15376 /* Override any GCC internal prototype to avoid an error.
15377 Use char because int might match the return type of a GCC
15378 builtin and then its argument prototype would still apply. */
15379 #ifdef __cplusplus
15380 extern "C"
15381 #endif
15382 char vkd3d_create_device ();
15384 main ()
15386 return vkd3d_create_device ();
15388 return 0;
15390 _ACEOF
15391 if ac_fn_c_try_link "$LINENO"; then :
15392 case "$LIBEXT" in
15393 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15394 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'` ;;
15395 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15396 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15397 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15398 fi ;;
15399 esac
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_check_soname_save_LIBS
15405 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15407 $as_echo "not found" >&6; }
15409 else
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15411 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15413 cat >>confdefs.h <<_ACEOF
15414 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15415 _ACEOF
15419 CPPFLAGS=$ac_save_CPPFLAGS
15420 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15421 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15424 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15425 case "x$with_vkd3d" in
15426 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15427 xno) ;;
15428 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15429 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15430 esac
15433 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15436 EXTRACFLAGS=""
15438 if test "x${GCC}" = "xyes"
15439 then
15440 EXTRACFLAGS="-Wall -pipe"
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15443 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15444 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 if test "$cross_compiling" = yes; then :
15448 ac_cv_c_gcc_strength_bug="no"
15449 else
15450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15452 int L[4] = {0,1,2,3};
15454 main ()
15456 static int Array[3];
15457 unsigned int B = 3;
15458 int i;
15459 for(i=0; i<B; i++) Array[i] = i - 3;
15460 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15461 L[i] = 4;
15462 return (Array[1] != -2 || L[2] != 3)
15464 return 0;
15466 _ACEOF
15467 if ac_fn_c_try_run "$LINENO"; then :
15468 ac_cv_c_gcc_strength_bug="no"
15469 else
15470 ac_cv_c_gcc_strength_bug="yes"
15472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15473 conftest.$ac_objext conftest.beam conftest.$ac_ext
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15478 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15479 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15480 then
15481 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15485 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15486 if ${ac_cv_cflags__fno_builtin+:} false; then :
15487 $as_echo_n "(cached) " >&6
15488 else
15489 ac_wine_try_cflags_saved=$CFLAGS
15490 CFLAGS="$CFLAGS -fno-builtin"
15491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15493 int main(int argc, char **argv) { return 0; }
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"; then :
15496 ac_cv_cflags__fno_builtin=yes
15497 else
15498 ac_cv_cflags__fno_builtin=no
15500 rm -f core conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15502 CFLAGS=$ac_wine_try_cflags_saved
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15505 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15506 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15507 BUILTINFLAG="-fno-builtin"
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15511 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15512 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_wine_try_cflags_saved=$CFLAGS
15516 CFLAGS="$CFLAGS -fno-strict-aliasing"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15519 int main(int argc, char **argv) { return 0; }
15520 _ACEOF
15521 if ac_fn_c_try_link "$LINENO"; then :
15522 ac_cv_cflags__fno_strict_aliasing=yes
15523 else
15524 ac_cv_cflags__fno_strict_aliasing=no
15526 rm -f core conftest.err conftest.$ac_objext \
15527 conftest$ac_exeext conftest.$ac_ext
15528 CFLAGS=$ac_wine_try_cflags_saved
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15531 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15532 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15533 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15536 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15537 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15538 $as_echo_n "(cached) " >&6
15539 else
15540 ac_wine_try_cflags_saved=$CFLAGS
15541 CFLAGS="$CFLAGS -fexcess-precision=standard"
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15544 int main(int argc, char **argv) { return 0; }
15545 _ACEOF
15546 if ac_fn_c_try_link "$LINENO"; then :
15547 ac_cv_cflags__fexcess_precision_standard=yes
15548 else
15549 ac_cv_cflags__fexcess_precision_standard=no
15551 rm -f core conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 CFLAGS=$ac_wine_try_cflags_saved
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15556 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15557 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15558 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15561 saved_CFLAGS=$CFLAGS
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15563 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15564 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15565 $as_echo_n "(cached) " >&6
15566 else
15567 ac_wine_try_cflags_saved=$CFLAGS
15568 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15571 int main(int argc, char **argv) { return 0; }
15572 _ACEOF
15573 if ac_fn_c_try_link "$LINENO"; then :
15574 ac_cv_cflags__Werror_unknown_warning_option=yes
15575 else
15576 ac_cv_cflags__Werror_unknown_warning_option=no
15578 rm -f core conftest.err conftest.$ac_objext \
15579 conftest$ac_exeext conftest.$ac_ext
15580 CFLAGS=$ac_wine_try_cflags_saved
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15583 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15584 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15585 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15588 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15589 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_wine_try_cflags_saved=$CFLAGS
15593 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15596 int main(int argc, char **argv) { return 0; }
15597 _ACEOF
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 ac_cv_cflags__Wdeclaration_after_statement=yes
15600 else
15601 ac_cv_cflags__Wdeclaration_after_statement=no
15603 rm -f core conftest.err conftest.$ac_objext \
15604 conftest$ac_exeext conftest.$ac_ext
15605 CFLAGS=$ac_wine_try_cflags_saved
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15608 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15609 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15610 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15613 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15614 if ${ac_cv_cflags__Wempty_body+:} false; then :
15615 $as_echo_n "(cached) " >&6
15616 else
15617 ac_wine_try_cflags_saved=$CFLAGS
15618 CFLAGS="$CFLAGS -Wempty-body"
15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15621 int main(int argc, char **argv) { return 0; }
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"; then :
15624 ac_cv_cflags__Wempty_body=yes
15625 else
15626 ac_cv_cflags__Wempty_body=no
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15630 CFLAGS=$ac_wine_try_cflags_saved
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15633 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15634 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15635 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15638 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15639 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15640 $as_echo_n "(cached) " >&6
15641 else
15642 ac_wine_try_cflags_saved=$CFLAGS
15643 CFLAGS="$CFLAGS -Wignored-qualifiers"
15644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645 /* end confdefs.h. */
15646 int main(int argc, char **argv) { return 0; }
15647 _ACEOF
15648 if ac_fn_c_try_link "$LINENO"; then :
15649 ac_cv_cflags__Wignored_qualifiers=yes
15650 else
15651 ac_cv_cflags__Wignored_qualifiers=no
15653 rm -f core conftest.err conftest.$ac_objext \
15654 conftest$ac_exeext conftest.$ac_ext
15655 CFLAGS=$ac_wine_try_cflags_saved
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15658 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15659 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15660 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15663 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15664 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15665 $as_echo_n "(cached) " >&6
15666 else
15667 ac_wine_try_cflags_saved=$CFLAGS
15668 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15670 /* end confdefs.h. */
15671 int main(int argc, char **argv) { return 0; }
15672 _ACEOF
15673 if ac_fn_c_try_link "$LINENO"; then :
15674 ac_cv_cflags__Wpacked_not_aligned=yes
15675 else
15676 ac_cv_cflags__Wpacked_not_aligned=no
15678 rm -f core conftest.err conftest.$ac_objext \
15679 conftest$ac_exeext conftest.$ac_ext
15680 CFLAGS=$ac_wine_try_cflags_saved
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15683 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15684 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15685 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15688 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15689 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15690 $as_echo_n "(cached) " >&6
15691 else
15692 ac_wine_try_cflags_saved=$CFLAGS
15693 CFLAGS="$CFLAGS -Wpragma-pack"
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15696 int main(int argc, char **argv) { return 0; }
15697 _ACEOF
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 ac_cv_cflags__Wpragma_pack=yes
15700 else
15701 ac_cv_cflags__Wpragma_pack=no
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15705 CFLAGS=$ac_wine_try_cflags_saved
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15708 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15709 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15710 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15713 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15714 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 ac_wine_try_cflags_saved=$CFLAGS
15718 CFLAGS="$CFLAGS -Wshift-overflow=2"
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15721 int main(int argc, char **argv) { return 0; }
15722 _ACEOF
15723 if ac_fn_c_try_link "$LINENO"; then :
15724 ac_cv_cflags__Wshift_overflow_2=yes
15725 else
15726 ac_cv_cflags__Wshift_overflow_2=no
15728 rm -f core conftest.err conftest.$ac_objext \
15729 conftest$ac_exeext conftest.$ac_ext
15730 CFLAGS=$ac_wine_try_cflags_saved
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15733 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15734 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15735 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15738 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15739 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15740 $as_echo_n "(cached) " >&6
15741 else
15742 ac_wine_try_cflags_saved=$CFLAGS
15743 CFLAGS="$CFLAGS -Wstrict-prototypes"
15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15746 int main(int argc, char **argv) { return 0; }
15747 _ACEOF
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 ac_cv_cflags__Wstrict_prototypes=yes
15750 else
15751 ac_cv_cflags__Wstrict_prototypes=no
15753 rm -f core conftest.err conftest.$ac_objext \
15754 conftest$ac_exeext conftest.$ac_ext
15755 CFLAGS=$ac_wine_try_cflags_saved
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15758 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15759 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15760 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15763 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15764 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 ac_wine_try_cflags_saved=$CFLAGS
15768 CFLAGS="$CFLAGS -Wtype-limits"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15771 int main(int argc, char **argv) { return 0; }
15772 _ACEOF
15773 if ac_fn_c_try_link "$LINENO"; then :
15774 ac_cv_cflags__Wtype_limits=yes
15775 else
15776 ac_cv_cflags__Wtype_limits=no
15778 rm -f core conftest.err conftest.$ac_objext \
15779 conftest$ac_exeext conftest.$ac_ext
15780 CFLAGS=$ac_wine_try_cflags_saved
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15783 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15784 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15785 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15788 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15789 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15790 $as_echo_n "(cached) " >&6
15791 else
15792 ac_wine_try_cflags_saved=$CFLAGS
15793 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15796 int main(int argc, char **argv) { return 0; }
15797 _ACEOF
15798 if ac_fn_c_try_link "$LINENO"; then :
15799 ac_cv_cflags__Wunused_but_set_parameter=yes
15800 else
15801 ac_cv_cflags__Wunused_but_set_parameter=no
15803 rm -f core conftest.err conftest.$ac_objext \
15804 conftest$ac_exeext conftest.$ac_ext
15805 CFLAGS=$ac_wine_try_cflags_saved
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15808 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15809 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15810 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15813 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15814 if ${ac_cv_cflags__Wvla+:} false; then :
15815 $as_echo_n "(cached) " >&6
15816 else
15817 ac_wine_try_cflags_saved=$CFLAGS
15818 CFLAGS="$CFLAGS -Wvla"
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 int main(int argc, char **argv) { return 0; }
15822 _ACEOF
15823 if ac_fn_c_try_link "$LINENO"; then :
15824 ac_cv_cflags__Wvla=yes
15825 else
15826 ac_cv_cflags__Wvla=no
15828 rm -f core conftest.err conftest.$ac_objext \
15829 conftest$ac_exeext conftest.$ac_ext
15830 CFLAGS=$ac_wine_try_cflags_saved
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15833 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15834 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15835 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15838 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15839 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 ac_wine_try_cflags_saved=$CFLAGS
15843 CFLAGS="$CFLAGS -Wwrite-strings"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 int main(int argc, char **argv) { return 0; }
15847 _ACEOF
15848 if ac_fn_c_try_link "$LINENO"; then :
15849 ac_cv_cflags__Wwrite_strings=yes
15850 else
15851 ac_cv_cflags__Wwrite_strings=no
15853 rm -f core conftest.err conftest.$ac_objext \
15854 conftest$ac_exeext conftest.$ac_ext
15855 CFLAGS=$ac_wine_try_cflags_saved
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15858 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15859 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15860 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15864 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15865 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15866 $as_echo_n "(cached) " >&6
15867 else
15868 ac_wine_try_cflags_saved=$CFLAGS
15869 CFLAGS="$CFLAGS -Wpointer-arith"
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872 int main(int argc, char **argv) { return 0; }
15873 _ACEOF
15874 if ac_fn_c_try_link "$LINENO"; then :
15875 ac_cv_cflags__Wpointer_arith=yes
15876 else
15877 ac_cv_cflags__Wpointer_arith=no
15879 rm -f core conftest.err conftest.$ac_objext \
15880 conftest$ac_exeext conftest.$ac_ext
15881 CFLAGS=$ac_wine_try_cflags_saved
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15884 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15885 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15886 saved_string_h_CFLAGS=$CFLAGS
15887 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15889 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15890 if ${ac_cv_c_string_h_warnings+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #include <string.h>
15897 main ()
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_compile "$LINENO"; then :
15905 ac_cv_c_string_h_warnings=no
15906 else
15907 ac_cv_c_string_h_warnings=yes
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15912 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15913 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15914 CFLAGS=$saved_string_h_CFLAGS
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15918 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15919 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15920 $as_echo_n "(cached) " >&6
15921 else
15922 ac_wine_try_cflags_saved=$CFLAGS
15923 CFLAGS="$CFLAGS -Wlogical-op"
15924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15925 /* end confdefs.h. */
15926 int main(int argc, char **argv) { return 0; }
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"; then :
15929 ac_cv_cflags__Wlogical_op=yes
15930 else
15931 ac_cv_cflags__Wlogical_op=no
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext conftest.$ac_ext
15935 CFLAGS=$ac_wine_try_cflags_saved
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15938 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15939 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15940 saved_string_h_CFLAGS=$CFLAGS
15941 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15943 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15944 if ${ac_cv_c_logicalop_noisy+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15949 #include <string.h>
15950 char*f(const char *h,char n) {return strchr(h,n);}
15952 main ()
15956 return 0;
15958 _ACEOF
15959 if ac_fn_c_try_compile "$LINENO"; then :
15960 ac_cv_c_logicalop_noisy=no
15961 else
15962 ac_cv_c_logicalop_noisy=yes
15964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15967 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15968 CFLAGS=$saved_string_h_CFLAGS
15969 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15972 CFLAGS=$saved_CFLAGS
15974 for ac_flag in $CFLAGS; do
15975 case $ac_flag in
15976 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15977 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15978 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15979 $as_echo_n "(cached) " >&6
15980 else
15981 ac_wine_try_cflags_saved=$CFLAGS
15982 CFLAGS="$CFLAGS -gdwarf-2"
15983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15984 /* end confdefs.h. */
15985 int main(int argc, char **argv) { return 0; }
15986 _ACEOF
15987 if ac_fn_c_try_link "$LINENO"; then :
15988 ac_cv_cflags__gdwarf_2=yes
15989 else
15990 ac_cv_cflags__gdwarf_2=no
15992 rm -f core conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext conftest.$ac_ext
15994 CFLAGS=$ac_wine_try_cflags_saved
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15997 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15998 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15999 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16002 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16003 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16004 $as_echo_n "(cached) " >&6
16005 else
16006 ac_wine_try_cflags_saved=$CFLAGS
16007 CFLAGS="$CFLAGS -gstrict-dwarf"
16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009 /* end confdefs.h. */
16010 int main(int argc, char **argv) { return 0; }
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"; then :
16013 ac_cv_cflags__gstrict_dwarf=yes
16014 else
16015 ac_cv_cflags__gstrict_dwarf=no
16017 rm -f core conftest.err conftest.$ac_objext \
16018 conftest$ac_exeext conftest.$ac_ext
16019 CFLAGS=$ac_wine_try_cflags_saved
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16022 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16023 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16024 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16025 fi ;;
16026 esac
16027 done
16029 case $host_cpu in
16030 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16031 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16032 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 ac_wine_try_cflags_saved=$CFLAGS
16036 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16039 int main(int argc, char **argv) { return 0; }
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 ac_cv_cflags__fno_omit_frame_pointer=yes
16043 else
16044 ac_cv_cflags__fno_omit_frame_pointer=no
16046 rm -f core conftest.err conftest.$ac_objext \
16047 conftest$ac_exeext conftest.$ac_ext
16048 CFLAGS=$ac_wine_try_cflags_saved
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16051 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16052 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16053 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16054 fi ;;
16055 esac
16057 case $host in
16058 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16059 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16060 if ${ac_cv_cflags__Wno_format+:} false; then :
16061 $as_echo_n "(cached) " >&6
16062 else
16063 ac_wine_try_cflags_saved=$CFLAGS
16064 CFLAGS="$CFLAGS -Wno-format"
16065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16066 /* end confdefs.h. */
16067 int main(int argc, char **argv) { return 0; }
16068 _ACEOF
16069 if ac_fn_c_try_link "$LINENO"; then :
16070 ac_cv_cflags__Wno_format=yes
16071 else
16072 ac_cv_cflags__Wno_format=no
16074 rm -f core conftest.err conftest.$ac_objext \
16075 conftest$ac_exeext conftest.$ac_ext
16076 CFLAGS=$ac_wine_try_cflags_saved
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16079 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16080 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16081 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16082 fi ;;
16083 esac
16085 if test "x$enable_maintainer_mode" = "xyes"
16086 then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16088 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16089 if ${ac_cv_cflags__Werror+:} false; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 ac_wine_try_cflags_saved=$CFLAGS
16093 CFLAGS="$CFLAGS -Werror"
16094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095 /* end confdefs.h. */
16096 int main(int argc, char **argv) { return 0; }
16097 _ACEOF
16098 if ac_fn_c_try_link "$LINENO"; then :
16099 ac_cv_cflags__Werror=yes
16100 else
16101 ac_cv_cflags__Werror=no
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16105 CFLAGS=$ac_wine_try_cflags_saved
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16108 $as_echo "$ac_cv_cflags__Werror" >&6; }
16109 if test "x$ac_cv_cflags__Werror" = xyes; then :
16110 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16114 saved_CFLAGS="$CFLAGS"
16115 CFLAGS="$CFLAGS -Werror"
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16117 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16118 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16119 $as_echo_n "(cached) " >&6
16120 else
16121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16122 /* end confdefs.h. */
16123 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16125 main ()
16129 return 0;
16131 _ACEOF
16132 if ac_fn_c_try_compile "$LINENO"; then :
16133 ac_cv_have_ms_hook_prologue="yes"
16134 else
16135 ac_cv_have_ms_hook_prologue="no"
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16140 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16141 CFLAGS="$saved_CFLAGS"
16142 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16143 then
16145 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16147 else
16148 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16155 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16156 if ${ac_cv_c_fortify_enabled+:} false; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #include <string.h>
16163 main ()
16165 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16166 #error Fortify enabled
16167 #endif
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_compile "$LINENO"; then :
16173 ac_cv_c_fortify_enabled=no
16174 else
16175 ac_cv_c_fortify_enabled=yes
16177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16180 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16181 if test "$ac_cv_c_fortify_enabled" = yes
16182 then
16183 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16188 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16189 if ${ac_cv_c_extern_prefix+:} false; then :
16190 $as_echo_n "(cached) " >&6
16191 else
16192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16194 extern int ac_test;
16196 main ()
16198 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16200 return 0;
16202 _ACEOF
16203 if ac_fn_c_try_link "$LINENO"; then :
16204 ac_cv_c_extern_prefix="yes"
16205 else
16206 ac_cv_c_extern_prefix="no"
16208 rm -f core conftest.err conftest.$ac_objext \
16209 conftest$ac_exeext conftest.$ac_ext
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16212 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16214 case $host_cpu in
16215 *i[3456789]86*)
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16217 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16218 if ${ac_cv_c_stdcall_suffix+:} false; then :
16219 $as_echo_n "(cached) " >&6
16220 else
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16223 #ifndef _MSC_VER
16224 #define __stdcall __attribute__((__stdcall__))
16225 #endif
16226 int __stdcall ac_test(int i) { return i; }
16228 main ()
16230 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"; then :
16236 ac_cv_c_stdcall_suffix="yes"
16237 else
16238 ac_cv_c_stdcall_suffix="no"
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16244 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16245 *) ac_cv_c_stdcall_suffix="no" ;;
16246 esac
16249 if test "$ac_cv_c_extern_prefix" = "yes"
16250 then
16251 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16253 asm_name_prefix="_"
16254 else
16255 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16257 asm_name_prefix=""
16261 if test "$ac_cv_c_stdcall_suffix" = "yes"
16262 then
16263 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16265 else
16266 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16272 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16273 if ${ac_cv_asm_func_def+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16280 main ()
16282 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16284 return 0;
16286 _ACEOF
16287 if ac_fn_c_try_link "$LINENO"; then :
16288 ac_cv_asm_func_def=".def"
16289 else
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16294 main ()
16296 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16298 return 0;
16300 _ACEOF
16301 if ac_fn_c_try_link "$LINENO"; then :
16302 ac_cv_asm_func_def=".type @function"
16303 else
16304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16305 /* end confdefs.h. */
16308 main ()
16310 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16312 return 0;
16314 _ACEOF
16315 if ac_fn_c_try_link "$LINENO"; then :
16316 ac_cv_asm_func_def=".type 2"
16317 else
16318 ac_cv_asm_func_def="unknown"
16320 rm -f core conftest.err conftest.$ac_objext \
16321 conftest$ac_exeext conftest.$ac_ext
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16326 rm -f core conftest.err conftest.$ac_objext \
16327 conftest$ac_exeext conftest.$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16330 $as_echo "$ac_cv_asm_func_def" >&6; }
16333 case "$ac_cv_asm_func_def" in
16334 ".def")
16335 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16337 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16338 ".type @function")
16339 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16341 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16342 ".type 2")
16343 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16345 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16347 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16349 asm_func_header="" ;;
16350 esac
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16353 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16354 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16355 $as_echo_n "(cached) " >&6
16356 else
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16359 asm(".text\n\t.long 0");
16361 main ()
16365 return 0;
16367 _ACEOF
16368 if ac_fn_c_try_compile "$LINENO"; then :
16369 ac_cv_c_asm_outside_funcs="yes"
16370 else
16371 ac_cv_c_asm_outside_funcs="no"
16373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16376 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16379 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16380 if ${ac_cv_c_dot_previous+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16387 main ()
16389 asm(".text\nac_test:\t.long 0\n\t.previous");
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"; then :
16395 ac_cv_c_dot_previous="yes"
16396 else
16397 ac_cv_c_dot_previous="no"
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16403 $as_echo "$ac_cv_c_dot_previous" >&6; }
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16406 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16407 if ${ac_cv_c_cfi_support+:} false; then :
16408 $as_echo_n "(cached) " >&6
16409 else
16410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16411 /* end confdefs.h. */
16412 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16414 main ()
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_compile "$LINENO"; then :
16422 ac_cv_c_cfi_support="yes"
16423 else
16424 ac_cv_c_cfi_support="no"
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16429 $as_echo "$ac_cv_c_cfi_support" >&6; }
16431 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16432 asm_func_trailer=""
16433 if test "$ac_cv_c_dot_previous" = "yes"
16434 then
16435 asm_func_trailer="\\n\\t.previous"
16437 if test "$ac_cv_c_cfi_support" = "yes"
16438 then
16439 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16440 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16442 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16444 UNWINDFLAGS=-fasynchronous-unwind-tables
16446 else
16447 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16449 if test "x$enable_win64" = "xyes"
16450 then
16451 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16455 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16458 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16459 then
16460 cat >>confdefs.h <<_ACEOF
16461 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16462 _ACEOF
16464 else
16465 cat >>confdefs.h <<_ACEOF
16466 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16467 _ACEOF
16471 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16474 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16478 case $build_os in
16479 cygwin*|mingw32*) TOOLSEXT=".exe"
16481 esac
16483 case $host_os in
16484 linux*)
16485 case $host_cpu in
16486 *i[3456789]86*|x86_64*|*aarch64*)
16487 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16488 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16490 esac
16492 esac
16495 ac_save_CFLAGS="$CFLAGS"
16496 CFLAGS="$CFLAGS $BUILTINFLAG"
16497 for ac_func in \
16498 __res_get_state \
16499 __res_getservers \
16500 _finite \
16501 _isnan \
16502 _pclose \
16503 _popen \
16504 _snprintf \
16505 _spawnvp \
16506 _strdup \
16507 _stricmp \
16508 _strnicmp \
16509 _strtoi64 \
16510 _strtoui64 \
16511 _vsnprintf \
16512 asctime_r \
16513 chsize \
16514 dlopen \
16515 epoll_create \
16516 ffs \
16517 finitef \
16518 fnmatch \
16519 fork \
16520 fpclass \
16521 fstatfs \
16522 fstatvfs \
16523 ftruncate \
16524 futimens \
16525 futimes \
16526 futimesat \
16527 getattrlist \
16528 getauxval \
16529 getifaddrs \
16530 getopt_long_only \
16531 getpwuid \
16532 gettimeofday \
16533 getuid \
16534 isnanf \
16535 kqueue \
16536 lstat \
16537 memmove \
16538 mmap \
16539 pclose \
16540 pipe2 \
16541 poll \
16542 popen \
16543 port_create \
16544 prctl \
16545 pread \
16546 proc_pidinfo \
16547 pwrite \
16548 readdir \
16549 readlink \
16550 sched_yield \
16551 select \
16552 setproctitle \
16553 setprogname \
16554 setrlimit \
16555 settimeofday \
16556 sigaltstack \
16557 sigprocmask \
16558 snprintf \
16559 statfs \
16560 statvfs \
16561 strcasecmp \
16562 strdup \
16563 strerror \
16564 strncasecmp \
16565 strnlen \
16566 strtold \
16567 strtoll \
16568 strtoull \
16569 symlink \
16570 sysinfo \
16571 tcdrain \
16572 thr_kill2 \
16573 timegm \
16574 usleep \
16575 vsnprintf
16577 do :
16578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16581 cat >>confdefs.h <<_ACEOF
16582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16583 _ACEOF
16586 done
16588 CFLAGS="$ac_save_CFLAGS"
16590 if test "$ac_cv_func_dlopen" = no
16591 then
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16593 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16594 if ${ac_cv_lib_dl_dlopen+:} false; then :
16595 $as_echo_n "(cached) " >&6
16596 else
16597 ac_check_lib_save_LIBS=$LIBS
16598 LIBS="-ldl $LIBS"
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16602 /* Override any GCC internal prototype to avoid an error.
16603 Use char because int might match the return type of a GCC
16604 builtin and then its argument prototype would still apply. */
16605 #ifdef __cplusplus
16606 extern "C"
16607 #endif
16608 char dlopen ();
16610 main ()
16612 return dlopen ();
16614 return 0;
16616 _ACEOF
16617 if ac_fn_c_try_link "$LINENO"; then :
16618 ac_cv_lib_dl_dlopen=yes
16619 else
16620 ac_cv_lib_dl_dlopen=no
16622 rm -f core conftest.err conftest.$ac_objext \
16623 conftest$ac_exeext conftest.$ac_ext
16624 LIBS=$ac_check_lib_save_LIBS
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16627 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16628 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16629 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16630 DL_LIBS="-ldl"
16635 ac_wine_check_funcs_save_LIBS="$LIBS"
16636 LIBS="$LIBS $DL_LIBS"
16637 for ac_func in dladdr
16638 do :
16639 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16640 if test "x$ac_cv_func_dladdr" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_DLADDR 1
16643 _ACEOF
16646 done
16648 LIBS="$ac_wine_check_funcs_save_LIBS"
16650 if test "$ac_cv_func_poll" = no
16651 then
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16653 $as_echo_n "checking for poll in -lpoll... " >&6; }
16654 if ${ac_cv_lib_poll_poll+:} false; then :
16655 $as_echo_n "(cached) " >&6
16656 else
16657 ac_check_lib_save_LIBS=$LIBS
16658 LIBS="-lpoll $LIBS"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16662 /* Override any GCC internal prototype to avoid an error.
16663 Use char because int might match the return type of a GCC
16664 builtin and then its argument prototype would still apply. */
16665 #ifdef __cplusplus
16666 extern "C"
16667 #endif
16668 char poll ();
16670 main ()
16672 return poll ();
16674 return 0;
16676 _ACEOF
16677 if ac_fn_c_try_link "$LINENO"; then :
16678 ac_cv_lib_poll_poll=yes
16679 else
16680 ac_cv_lib_poll_poll=no
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_check_lib_save_LIBS
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16687 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16688 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16689 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16690 POLL_LIBS="-lpoll"
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16697 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16698 if ${ac_cv_search_gethostbyname+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 ac_func_search_save_LIBS=$LIBS
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16705 /* Override any GCC internal prototype to avoid an error.
16706 Use char because int might match the return type of a GCC
16707 builtin and then its argument prototype would still apply. */
16708 #ifdef __cplusplus
16709 extern "C"
16710 #endif
16711 char gethostbyname ();
16713 main ()
16715 return gethostbyname ();
16717 return 0;
16719 _ACEOF
16720 for ac_lib in '' nsl; do
16721 if test -z "$ac_lib"; then
16722 ac_res="none required"
16723 else
16724 ac_res=-l$ac_lib
16725 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16727 if ac_fn_c_try_link "$LINENO"; then :
16728 ac_cv_search_gethostbyname=$ac_res
16730 rm -f core conftest.err conftest.$ac_objext \
16731 conftest$ac_exeext
16732 if ${ac_cv_search_gethostbyname+:} false; then :
16733 break
16735 done
16736 if ${ac_cv_search_gethostbyname+:} false; then :
16738 else
16739 ac_cv_search_gethostbyname=no
16741 rm conftest.$ac_ext
16742 LIBS=$ac_func_search_save_LIBS
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16745 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16746 ac_res=$ac_cv_search_gethostbyname
16747 if test "$ac_res" != no; then :
16748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16754 $as_echo_n "checking for library containing connect... " >&6; }
16755 if ${ac_cv_search_connect+:} false; then :
16756 $as_echo_n "(cached) " >&6
16757 else
16758 ac_func_search_save_LIBS=$LIBS
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16765 #ifdef __cplusplus
16766 extern "C"
16767 #endif
16768 char connect ();
16770 main ()
16772 return connect ();
16774 return 0;
16776 _ACEOF
16777 for ac_lib in '' socket; do
16778 if test -z "$ac_lib"; then
16779 ac_res="none required"
16780 else
16781 ac_res=-l$ac_lib
16782 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16784 if ac_fn_c_try_link "$LINENO"; then :
16785 ac_cv_search_connect=$ac_res
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext
16789 if ${ac_cv_search_connect+:} false; then :
16790 break
16792 done
16793 if ${ac_cv_search_connect+:} false; then :
16795 else
16796 ac_cv_search_connect=no
16798 rm conftest.$ac_ext
16799 LIBS=$ac_func_search_save_LIBS
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16802 $as_echo "$ac_cv_search_connect" >&6; }
16803 ac_res=$ac_cv_search_connect
16804 if test "$ac_res" != no; then :
16805 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16811 $as_echo_n "checking for library containing inet_aton... " >&6; }
16812 if ${ac_cv_search_inet_aton+:} false; then :
16813 $as_echo_n "(cached) " >&6
16814 else
16815 ac_func_search_save_LIBS=$LIBS
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16822 #ifdef __cplusplus
16823 extern "C"
16824 #endif
16825 char inet_aton ();
16827 main ()
16829 return inet_aton ();
16831 return 0;
16833 _ACEOF
16834 for ac_lib in '' resolv; do
16835 if test -z "$ac_lib"; then
16836 ac_res="none required"
16837 else
16838 ac_res=-l$ac_lib
16839 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16841 if ac_fn_c_try_link "$LINENO"; then :
16842 ac_cv_search_inet_aton=$ac_res
16844 rm -f core conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext
16846 if ${ac_cv_search_inet_aton+:} false; then :
16847 break
16849 done
16850 if ${ac_cv_search_inet_aton+:} false; then :
16852 else
16853 ac_cv_search_inet_aton=no
16855 rm conftest.$ac_ext
16856 LIBS=$ac_func_search_save_LIBS
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16859 $as_echo "$ac_cv_search_inet_aton" >&6; }
16860 ac_res=$ac_cv_search_inet_aton
16861 if test "$ac_res" != no; then :
16862 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16867 for ac_func in \
16868 getaddrinfo \
16869 getnameinfo \
16870 getnetbyname \
16871 getprotobyname \
16872 getprotobynumber \
16873 getservbyport \
16874 inet_addr \
16875 inet_network \
16876 inet_ntop \
16877 inet_pton \
16878 sendmsg \
16879 socketpair \
16881 do :
16882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16884 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16885 cat >>confdefs.h <<_ACEOF
16886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16887 _ACEOF
16890 done
16893 ac_save_LIBS=$LIBS
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16895 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16896 if ${ac_cv_search_clock_gettime+:} false; then :
16897 $as_echo_n "(cached) " >&6
16898 else
16899 ac_func_search_save_LIBS=$LIBS
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16903 /* Override any GCC internal prototype to avoid an error.
16904 Use char because int might match the return type of a GCC
16905 builtin and then its argument prototype would still apply. */
16906 #ifdef __cplusplus
16907 extern "C"
16908 #endif
16909 char clock_gettime ();
16911 main ()
16913 return clock_gettime ();
16915 return 0;
16917 _ACEOF
16918 for ac_lib in '' rt; do
16919 if test -z "$ac_lib"; then
16920 ac_res="none required"
16921 else
16922 ac_res=-l$ac_lib
16923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16925 if ac_fn_c_try_link "$LINENO"; then :
16926 ac_cv_search_clock_gettime=$ac_res
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext
16930 if ${ac_cv_search_clock_gettime+:} false; then :
16931 break
16933 done
16934 if ${ac_cv_search_clock_gettime+:} false; then :
16936 else
16937 ac_cv_search_clock_gettime=no
16939 rm conftest.$ac_ext
16940 LIBS=$ac_func_search_save_LIBS
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16943 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16944 ac_res=$ac_cv_search_clock_gettime
16945 if test "$ac_res" != no; then :
16946 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16948 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16950 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16954 LIBS=$ac_save_LIBS
16956 if test "x$with_ldap" != "xno"
16957 then
16958 if ${LDAP_CFLAGS:+false} :; then :
16959 if ${PKG_CONFIG+:} false; then :
16960 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16964 if ${LDAP_LIBS:+false} :; then :
16965 if ${PKG_CONFIG+:} false; then :
16966 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16970 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16971 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16972 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16973 ac_save_CPPFLAGS=$CPPFLAGS
16974 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16975 for ac_header in ldap.h lber.h
16976 do :
16977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16978 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16979 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16980 cat >>confdefs.h <<_ACEOF
16981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16982 _ACEOF
16986 done
16988 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16989 then
16990 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16992 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16994 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16995 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16996 $as_echo_n "(cached) " >&6
16997 else
16998 ac_check_lib_save_LIBS=$LIBS
16999 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17003 /* Override any GCC internal prototype to avoid an error.
17004 Use char because int might match the return type of a GCC
17005 builtin and then its argument prototype would still apply. */
17006 #ifdef __cplusplus
17007 extern "C"
17008 #endif
17009 char ldap_initialize ();
17011 main ()
17013 return ldap_initialize ();
17015 return 0;
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_lib_ldap_r_ldap_initialize=yes
17020 else
17021 ac_cv_lib_ldap_r_ldap_initialize=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 LIBS=$ac_check_lib_save_LIBS
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17028 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17029 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17031 $as_echo_n "checking for ber_init in -llber... " >&6; }
17032 if ${ac_cv_lib_lber_ber_init+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_check_lib_save_LIBS=$LIBS
17036 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17040 /* Override any GCC internal prototype to avoid an error.
17041 Use char because int might match the return type of a GCC
17042 builtin and then its argument prototype would still apply. */
17043 #ifdef __cplusplus
17044 extern "C"
17045 #endif
17046 char ber_init ();
17048 main ()
17050 return ber_init ();
17052 return 0;
17054 _ACEOF
17055 if ac_fn_c_try_link "$LINENO"; then :
17056 ac_cv_lib_lber_ber_init=yes
17057 else
17058 ac_cv_lib_lber_ber_init=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 LIBS=$ac_check_lib_save_LIBS
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17065 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17066 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17068 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17070 else
17071 LDAP_LIBS=""
17074 else
17075 LDAP_LIBS=""
17078 else
17079 LDAP_LIBS=""
17082 ac_wine_check_funcs_save_LIBS="$LIBS"
17083 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17084 for ac_func in \
17085 ldap_count_references \
17086 ldap_first_reference \
17087 ldap_next_reference \
17088 ldap_parse_reference \
17089 ldap_parse_sort_control \
17090 ldap_parse_sortresponse_control \
17091 ldap_parse_vlv_control \
17092 ldap_parse_vlvresponse_control
17093 do :
17094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17097 cat >>confdefs.h <<_ACEOF
17098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17099 _ACEOF
17102 done
17104 LIBS="$ac_wine_check_funcs_save_LIBS"
17105 else
17106 LDAP_LIBS=""
17108 CPPFLAGS=$ac_save_CPPFLAGS
17109 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17110 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17113 if test "x$LDAP_LIBS" = "x"; then :
17114 case "x$with_ldap" in
17115 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17116 xno) ;;
17117 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17118 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17119 esac
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17124 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17125 if ${wine_cv_one_arg_mkdir+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 #include <sys/stat.h>
17132 main ()
17134 mkdir("foo");
17136 return 0;
17138 _ACEOF
17139 if ac_fn_c_try_compile "$LINENO"; then :
17140 wine_cv_one_arg_mkdir=yes
17141 else
17142 wine_cv_one_arg_mkdir=no
17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17147 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17148 if test "$wine_cv_one_arg_mkdir" = "yes"
17149 then
17151 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17156 $as_echo_n "checking for sched_setaffinity... " >&6; }
17157 if ${wine_cv_have_sched_setaffinity+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #define _GNU_SOURCE
17163 #include <sched.h>
17165 main ()
17167 sched_setaffinity(0, 0, 0);
17169 return 0;
17171 _ACEOF
17172 if ac_fn_c_try_link "$LINENO"; then :
17173 wine_cv_have_sched_setaffinity=yes
17174 else
17175 wine_cv_have_sched_setaffinity=no
17177 rm -f core conftest.err conftest.$ac_objext \
17178 conftest$ac_exeext conftest.$ac_ext
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17181 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17182 if test "$wine_cv_have_sched_setaffinity" = "yes"
17183 then
17185 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17190 $as_echo_n "checking for fallocate... " >&6; }
17191 if ${wine_cv_have_fallocate+:} false; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17196 #define _GNU_SOURCE
17197 #include <fcntl.h>
17199 main ()
17201 fallocate(-1, 0, 0, 0);
17203 return 0;
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 wine_cv_have_fallocate=yes
17208 else
17209 wine_cv_have_fallocate=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17215 $as_echo "$wine_cv_have_fallocate" >&6; }
17216 if test "$wine_cv_have_fallocate" = "yes"
17217 then
17219 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17225 $as_echo_n "checking for inline... " >&6; }
17226 if ${ac_cv_c_inline+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_cv_c_inline=no
17230 for ac_kw in inline __inline__ __inline; do
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 #ifndef __cplusplus
17234 typedef int foo_t;
17235 static $ac_kw foo_t static_foo () {return 0; }
17236 $ac_kw foo_t foo () {return 0; }
17237 #endif
17239 _ACEOF
17240 if ac_fn_c_try_compile "$LINENO"; then :
17241 ac_cv_c_inline=$ac_kw
17243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17244 test "$ac_cv_c_inline" != no && break
17245 done
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17249 $as_echo "$ac_cv_c_inline" >&6; }
17251 case $ac_cv_c_inline in
17252 inline | yes) ;;
17254 case $ac_cv_c_inline in
17255 no) ac_val=;;
17256 *) ac_val=$ac_cv_c_inline;;
17257 esac
17258 cat >>confdefs.h <<_ACEOF
17259 #ifndef __cplusplus
17260 #define inline $ac_val
17261 #endif
17262 _ACEOF
17264 esac
17266 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17267 if test "x$ac_cv_type_mode_t" = xyes; then :
17269 cat >>confdefs.h <<_ACEOF
17270 #define HAVE_MODE_T 1
17271 _ACEOF
17275 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17276 if test "x$ac_cv_type_off_t" = xyes; then :
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_OFF_T 1
17280 _ACEOF
17284 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17285 if test "x$ac_cv_type_pid_t" = xyes; then :
17287 cat >>confdefs.h <<_ACEOF
17288 #define HAVE_PID_T 1
17289 _ACEOF
17293 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17294 if test "x$ac_cv_type_size_t" = xyes; then :
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_SIZE_T 1
17298 _ACEOF
17302 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17303 if test "x$ac_cv_type_ssize_t" = xyes; then :
17305 cat >>confdefs.h <<_ACEOF
17306 #define HAVE_SSIZE_T 1
17307 _ACEOF
17311 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17312 if test "x$ac_cv_type_long_long" = xyes; then :
17314 cat >>confdefs.h <<_ACEOF
17315 #define HAVE_LONG_LONG 1
17316 _ACEOF
17320 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17321 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17323 cat >>confdefs.h <<_ACEOF
17324 #define HAVE_FSBLKCNT_T 1
17325 _ACEOF
17329 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17330 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17332 cat >>confdefs.h <<_ACEOF
17333 #define HAVE_FSFILCNT_T 1
17334 _ACEOF
17339 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17340 #include <signal.h>
17342 if test "x$ac_cv_type_sigset_t" = xyes; then :
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_SIGSET_T 1
17346 _ACEOF
17351 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17353 if test "x$ac_cv_type_request_sense" = xyes; then :
17355 cat >>confdefs.h <<_ACEOF
17356 #define HAVE_REQUEST_SENSE 1
17357 _ACEOF
17363 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17364 #ifdef HAVE_SYS_SOCKET_H
17365 #include <sys/socket.h>
17366 #endif
17367 #ifdef HAVE_SYS_SOCKETVAR_H
17368 #include <sys/socketvar.h>
17369 #endif
17370 #ifdef HAVE_NET_ROUTE_H
17371 #include <net/route.h>
17372 #endif
17373 #ifdef HAVE_NETINET_IN_H
17374 #include <netinet/in.h>
17375 #endif
17376 #ifdef HAVE_NETINET_IN_SYSTM_H
17377 #include <netinet/in_systm.h>
17378 #endif
17379 #ifdef HAVE_NETINET_IP_H
17380 #include <netinet/ip.h>
17381 #endif
17382 #ifdef HAVE_NETINET_IN_PCB_H
17383 #include <netinet/in_pcb.h>
17384 #endif
17386 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17388 cat >>confdefs.h <<_ACEOF
17389 #define HAVE_STRUCT_XINPGEN 1
17390 _ACEOF
17396 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17397 #include <link.h>
17398 #endif
17399 #ifdef HAVE_SYS_LINK_H
17400 #include <sys/link.h>
17401 #endif
17403 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT_R_DEBUG 1
17407 _ACEOF
17411 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17412 #include <link.h>
17413 #endif
17414 #ifdef HAVE_SYS_LINK_H
17415 #include <sys/link.h>
17416 #endif
17418 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_STRUCT_LINK_MAP 1
17422 _ACEOF
17428 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17429 #include <linux/input.h>
17430 #endif
17432 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17436 _ACEOF
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17443 $as_echo_n "checking for if_nameindex... " >&6; }
17444 if ${wine_cv_have_if_nameindex+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #ifdef HAVE_SYS_TYPES_H
17450 #include <sys/types.h>
17451 #endif
17452 #ifdef HAVE_SYS_SOCKET_H
17453 #include <sys/socket.h>
17454 #endif
17455 #ifdef HAVE_NET_IF_H
17456 # include <net/if.h>
17457 #endif
17459 main ()
17461 struct if_nameindex *p = if_nameindex(); return p->if_index;
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"; then :
17467 wine_cv_have_if_nameindex=yes
17468 else
17469 wine_cv_have_if_nameindex=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17475 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17476 if test "$wine_cv_have_if_nameindex" = "yes"
17477 then
17479 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17484 $as_echo_n "checking for sigaddset... " >&6; }
17485 if ${wine_cv_have_sigaddset+:} false; then :
17486 $as_echo_n "(cached) " >&6
17487 else
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #include <signal.h>
17492 main ()
17494 sigset_t set; sigaddset(&set,SIGTERM);
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_link "$LINENO"; then :
17500 wine_cv_have_sigaddset=yes
17501 else
17502 wine_cv_have_sigaddset=no
17504 rm -f core conftest.err conftest.$ac_objext \
17505 conftest$ac_exeext conftest.$ac_ext
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17508 $as_echo "$wine_cv_have_sigaddset" >&6; }
17509 if test "$wine_cv_have_sigaddset" = "yes"
17510 then
17512 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17518 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17519 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17524 #include <netdb.h>
17526 main ()
17529 char *name=0;
17530 struct hostent he;
17531 struct hostent *result;
17532 char *buf=0;
17533 int bufsize=0;
17534 int errnr;
17535 char *addr=0;
17536 int addrlen=0;
17537 int addrtype=0;
17538 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17539 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17542 return 0;
17544 _ACEOF
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 wine_cv_linux_gethostbyname_r_6=yes
17547 else
17548 wine_cv_linux_gethostbyname_r_6=no
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext conftest.$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17556 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17557 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17558 then
17560 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17564 if test "$ac_cv_header_linux_joystick_h" = "yes"
17565 then
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17567 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17568 if ${wine_cv_linux_joystick_22_api+:} false; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17574 #include <sys/ioctl.h>
17575 #include <sys/types.h>
17576 #include <linux/joystick.h>
17578 struct js_event blub;
17579 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17580 #error "no 2.2 header"
17581 #endif
17584 main ()
17586 /*empty*/
17588 return 0;
17590 _ACEOF
17591 if ac_fn_c_try_compile "$LINENO"; then :
17592 wine_cv_linux_joystick_22_api=yes
17593 else
17594 wine_cv_linux_joystick_22_api=no
17596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17600 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17601 if test "$wine_cv_linux_joystick_22_api" = "yes"
17602 then
17604 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17610 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17611 #ifdef HAVE_SYS_PARAM_H
17612 # include <sys/param.h>
17613 #endif
17614 #ifdef HAVE_SYS_MOUNT_H
17615 # include <sys/mount.h>
17616 #endif
17617 #ifdef HAVE_SYS_VFS_H
17618 # include <sys/vfs.h>
17619 #endif
17620 #ifdef HAVE_SYS_STATFS_H
17621 # include <sys/statfs.h>
17622 #endif
17624 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17626 cat >>confdefs.h <<_ACEOF
17627 #define HAVE_STRUCT_STATFS_F_BFREE 1
17628 _ACEOF
17632 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17633 #ifdef HAVE_SYS_PARAM_H
17634 # include <sys/param.h>
17635 #endif
17636 #ifdef HAVE_SYS_MOUNT_H
17637 # include <sys/mount.h>
17638 #endif
17639 #ifdef HAVE_SYS_VFS_H
17640 # include <sys/vfs.h>
17641 #endif
17642 #ifdef HAVE_SYS_STATFS_H
17643 # include <sys/statfs.h>
17644 #endif
17646 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17648 cat >>confdefs.h <<_ACEOF
17649 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17650 _ACEOF
17654 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17655 #ifdef HAVE_SYS_PARAM_H
17656 # include <sys/param.h>
17657 #endif
17658 #ifdef HAVE_SYS_MOUNT_H
17659 # include <sys/mount.h>
17660 #endif
17661 #ifdef HAVE_SYS_VFS_H
17662 # include <sys/vfs.h>
17663 #endif
17664 #ifdef HAVE_SYS_STATFS_H
17665 # include <sys/statfs.h>
17666 #endif
17668 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17670 cat >>confdefs.h <<_ACEOF
17671 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17672 _ACEOF
17676 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17677 #ifdef HAVE_SYS_PARAM_H
17678 # include <sys/param.h>
17679 #endif
17680 #ifdef HAVE_SYS_MOUNT_H
17681 # include <sys/mount.h>
17682 #endif
17683 #ifdef HAVE_SYS_VFS_H
17684 # include <sys/vfs.h>
17685 #endif
17686 #ifdef HAVE_SYS_STATFS_H
17687 # include <sys/statfs.h>
17688 #endif
17690 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17692 cat >>confdefs.h <<_ACEOF
17693 #define HAVE_STRUCT_STATFS_F_FFREE 1
17694 _ACEOF
17698 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17699 #ifdef HAVE_SYS_PARAM_H
17700 # include <sys/param.h>
17701 #endif
17702 #ifdef HAVE_SYS_MOUNT_H
17703 # include <sys/mount.h>
17704 #endif
17705 #ifdef HAVE_SYS_VFS_H
17706 # include <sys/vfs.h>
17707 #endif
17708 #ifdef HAVE_SYS_STATFS_H
17709 # include <sys/statfs.h>
17710 #endif
17712 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17714 cat >>confdefs.h <<_ACEOF
17715 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17716 _ACEOF
17720 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17721 #ifdef HAVE_SYS_PARAM_H
17722 # include <sys/param.h>
17723 #endif
17724 #ifdef HAVE_SYS_MOUNT_H
17725 # include <sys/mount.h>
17726 #endif
17727 #ifdef HAVE_SYS_VFS_H
17728 # include <sys/vfs.h>
17729 #endif
17730 #ifdef HAVE_SYS_STATFS_H
17731 # include <sys/statfs.h>
17732 #endif
17734 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17736 cat >>confdefs.h <<_ACEOF
17737 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17738 _ACEOF
17744 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17745 #include <sys/statvfs.h>
17746 #endif
17748 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17750 cat >>confdefs.h <<_ACEOF
17751 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17752 _ACEOF
17758 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17759 #include <dirent.h>
17760 #endif
17762 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17766 _ACEOF
17772 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17773 #ifdef HAVE_SYS_SOCKET_H
17774 # include <sys/socket.h>
17775 #endif
17776 #ifdef HAVE_SYS_UN_H
17777 # include <sys/un.h>
17778 #endif
17780 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17782 cat >>confdefs.h <<_ACEOF
17783 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17784 _ACEOF
17788 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17789 #ifdef HAVE_SYS_SOCKET_H
17790 # include <sys/socket.h>
17791 #endif
17792 #ifdef HAVE_SYS_UN_H
17793 # include <sys/un.h>
17794 #endif
17796 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17798 cat >>confdefs.h <<_ACEOF
17799 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17800 _ACEOF
17804 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17805 #ifdef HAVE_SYS_SOCKET_H
17806 # include <sys/socket.h>
17807 #endif
17808 #ifdef HAVE_SYS_UN_H
17809 # include <sys/un.h>
17810 #endif
17812 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17814 cat >>confdefs.h <<_ACEOF
17815 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17816 _ACEOF
17822 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17823 #ifdef HAVE_SCSI_SG_H
17824 #include <scsi/sg.h>
17825 #endif
17827 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17829 cat >>confdefs.h <<_ACEOF
17830 #define HAVE_SCSIREQ_T_CMD 1
17831 _ACEOF
17835 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>
17836 #ifdef HAVE_SCSI_SG_H
17837 #include <scsi/sg.h>
17838 #endif
17840 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17842 cat >>confdefs.h <<_ACEOF
17843 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17844 _ACEOF
17850 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17852 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17854 cat >>confdefs.h <<_ACEOF
17855 #define HAVE_SIGINFO_T_SI_FD 1
17856 _ACEOF
17862 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17863 #ifdef HAVE_SYS_MTIO_H
17864 #include <sys/mtio.h>
17865 #endif
17867 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17869 cat >>confdefs.h <<_ACEOF
17870 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17871 _ACEOF
17875 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17876 #ifdef HAVE_SYS_MTIO_H
17877 #include <sys/mtio.h>
17878 #endif
17880 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17884 _ACEOF
17888 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17889 #ifdef HAVE_SYS_MTIO_H
17890 #include <sys/mtio.h>
17891 #endif
17893 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17895 cat >>confdefs.h <<_ACEOF
17896 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17897 _ACEOF
17903 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17904 #include <getopt.h>
17905 #endif
17907 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17909 cat >>confdefs.h <<_ACEOF
17910 #define HAVE_STRUCT_OPTION_NAME 1
17911 _ACEOF
17917 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17918 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17920 cat >>confdefs.h <<_ACEOF
17921 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17922 _ACEOF
17926 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17927 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17929 cat >>confdefs.h <<_ACEOF
17930 #define HAVE_STRUCT_STAT_ST_MTIM 1
17931 _ACEOF
17935 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17936 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17938 cat >>confdefs.h <<_ACEOF
17939 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17940 _ACEOF
17944 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17945 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17947 cat >>confdefs.h <<_ACEOF
17948 #define HAVE_STRUCT_STAT_ST_CTIM 1
17949 _ACEOF
17953 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17954 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17956 cat >>confdefs.h <<_ACEOF
17957 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17958 _ACEOF
17962 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17963 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17965 cat >>confdefs.h <<_ACEOF
17966 #define HAVE_STRUCT_STAT_ST_ATIM 1
17967 _ACEOF
17971 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17972 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17974 cat >>confdefs.h <<_ACEOF
17975 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17976 _ACEOF
17980 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17981 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17985 _ACEOF
17989 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17990 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17992 cat >>confdefs.h <<_ACEOF
17993 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17994 _ACEOF
17998 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17999 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18001 cat >>confdefs.h <<_ACEOF
18002 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18003 _ACEOF
18007 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18008 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18010 cat >>confdefs.h <<_ACEOF
18011 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18012 _ACEOF
18016 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18017 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18019 cat >>confdefs.h <<_ACEOF
18020 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18021 _ACEOF
18027 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
18028 #include <sys/types.h>
18029 #endif
18030 #ifdef HAVE_NETINET_IN_H
18031 #include <netinet/in.h>
18032 #endif
18034 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18036 cat >>confdefs.h <<_ACEOF
18037 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18038 _ACEOF
18044 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18045 #include <sys/types.h>
18046 #endif
18047 #ifdef HAVE_NETINET_IN_H
18048 #include <netinet/in.h>
18049 #endif
18050 #ifdef HAVE_RESOLV_H
18051 #include <resolv.h>
18052 #endif
18054 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define HAVE_STRUCT___RES_STATE 1
18058 _ACEOF
18064 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
18065 #include <resolv.h>
18066 #endif
18068 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18070 cat >>confdefs.h <<_ACEOF
18071 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18072 _ACEOF
18078 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18079 #include <sys/types.h>
18080 #endif
18081 #ifdef HAVE_NETINET_IN_H
18082 # include <netinet/in.h>
18083 #endif
18084 #ifdef HAVE_ARPA_NAMESER_H
18085 # include <arpa/nameser.h>
18086 #endif
18088 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18090 cat >>confdefs.h <<_ACEOF
18091 #define HAVE_NS_MSG__MSG_PTR 1
18092 _ACEOF
18098 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18099 #include <sys/types.h>
18100 #endif
18101 #ifdef HAVE_NETINET_IN_H
18102 #include <netinet/in.h>
18103 #endif
18104 #ifdef HAVE_NETINET_IP_H
18105 #include <netinet/ip.h>
18106 #endif
18107 #ifdef HAVE_NETINET_IP_ICMP_H
18108 #include <netinet/ip_icmp.h>
18109 #endif
18110 #ifdef HAVE_NETINET_ICMP_VAR_H
18111 #include <netinet/icmp_var.h>
18112 #endif
18114 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18116 cat >>confdefs.h <<_ACEOF
18117 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18118 _ACEOF
18124 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18125 #include <sys/types.h>
18126 #endif
18127 #ifdef HAVE_ALIAS_H
18128 #include <alias.h>
18129 #endif
18130 #ifdef HAVE_SYS_SOCKET_H
18131 #include <sys/socket.h>
18132 #endif
18133 #ifdef HAVE_SYS_SOCKETVAR_H
18134 #include <sys/socketvar.h>
18135 #endif
18136 #ifdef HAVE_SYS_TIMEOUT_H
18137 #include <sys/timeout.h>
18138 #endif
18139 #ifdef HAVE_NETINET_IN_H
18140 #include <netinet/in.h>
18141 #endif
18142 #ifdef HAVE_NETINET_IN_SYSTM_H
18143 #include <netinet/in_systm.h>
18144 #endif
18145 #ifdef HAVE_NETINET_IP_H
18146 #include <netinet/ip.h>
18147 #endif
18148 #ifdef HAVE_NETINET_IP_VAR_H
18149 #include <netinet/ip_var.h>
18150 #endif
18151 #ifdef HAVE_NETINET_IP_ICMP_H
18152 #include <netinet/ip_icmp.h>
18153 #endif
18154 #ifdef HAVE_NETINET_ICMP_VAR_H
18155 #include <netinet/icmp_var.h>
18156 #endif
18158 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18160 cat >>confdefs.h <<_ACEOF
18161 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18162 _ACEOF
18168 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18169 #include <sys/types.h>
18170 #endif
18171 #ifdef HAVE_SYS_SOCKETVAR_H
18172 #include <sys/socketvar.h>
18173 #endif
18174 #ifdef HAVE_NETINET_IN_H
18175 #include <netinet/in.h>
18176 #endif
18177 #ifdef HAVE_NETINET_IP_VAR_H
18178 #include <netinet/ip_var.h>
18179 #endif
18181 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18185 _ACEOF
18191 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
18192 #include <netinet/ip_var.h>
18193 #endif
18195 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18197 cat >>confdefs.h <<_ACEOF
18198 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18199 _ACEOF
18205 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18206 #include <sys/types.h>
18207 #endif
18208 #ifdef HAVE_SYS_SOCKETVAR_H
18209 #include <sys/socketvar.h>
18210 #endif
18211 #ifdef HAVE_NETINET_IN_H
18212 #include <netinet/in.h>
18213 #endif
18214 #ifdef HAVE_NETINET_TCP_H
18215 #include <netinet/tcp.h>
18216 #endif
18217 #ifdef HAVE_NETINET_TCP_VAR_H
18218 #include <netinet/tcp_var.h>
18219 #endif
18221 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18225 _ACEOF
18231 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
18232 #include <netinet/tcp_var.h>
18233 #endif
18235 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18237 cat >>confdefs.h <<_ACEOF
18238 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18239 _ACEOF
18245 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18246 #include <sys/types.h>
18247 #endif
18248 #ifdef HAVE_NETINET_IN_H
18249 #include <netinet/in.h>
18250 #endif
18251 #ifdef HAVE_NETINET_IP_VAR_H
18252 #include <netinet/ip_var.h>
18253 #endif
18254 #ifdef HAVE_NETINET_UDP_H
18255 #include <netinet/udp.h>
18256 #endif
18257 #ifdef HAVE_NETINET_UDP_VAR_H
18258 #include <netinet/udp_var.h>
18259 #endif
18261 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18265 _ACEOF
18271 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18272 #include <sys/types.h>
18273 #endif
18274 #ifdef HAVE_NET_IF_H
18275 # include <net/if.h>
18276 #endif
18278 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18280 cat >>confdefs.h <<_ACEOF
18281 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18282 _ACEOF
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18289 $as_echo_n "checking for timezone variable... " >&6; }
18290 if ${ac_cv_have_timezone+:} false; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <time.h>
18297 main ()
18299 timezone = 1
18301 return 0;
18303 _ACEOF
18304 if ac_fn_c_try_link "$LINENO"; then :
18305 ac_cv_have_timezone="yes"
18306 else
18307 ac_cv_have_timezone="no"
18309 rm -f core conftest.err conftest.$ac_objext \
18310 conftest$ac_exeext conftest.$ac_ext
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18313 $as_echo "$ac_cv_have_timezone" >&6; }
18314 if test "$ac_cv_have_timezone" = "yes"
18315 then
18317 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18321 $as_echo_n "checking for daylight variable... " >&6; }
18322 if ${ac_cv_have_daylight+:} false; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18327 #include <time.h>
18329 main ()
18331 daylight = 1
18333 return 0;
18335 _ACEOF
18336 if ac_fn_c_try_link "$LINENO"; then :
18337 ac_cv_have_daylight="yes"
18338 else
18339 ac_cv_have_daylight="no"
18341 rm -f core conftest.err conftest.$ac_objext \
18342 conftest$ac_exeext conftest.$ac_ext
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18345 $as_echo "$ac_cv_have_daylight" >&6; }
18346 if test "$ac_cv_have_daylight" = "yes"
18347 then
18349 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18353 ac_save_LIBS="$LIBS"
18354 LIBS="$LIBS -lm"
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18356 $as_echo_n "checking for isfinite... " >&6; }
18357 if ${ac_cv_have_isfinite+:} false; then :
18358 $as_echo_n "(cached) " >&6
18359 else
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #define _GNU_SOURCE
18363 #include <math.h>
18365 main ()
18367 float f = 0.0; return isfinite(f)
18369 return 0;
18371 _ACEOF
18372 if ac_fn_c_try_link "$LINENO"; then :
18373 ac_cv_have_isfinite="yes"
18374 else
18375 ac_cv_have_isfinite="no"
18377 rm -f core conftest.err conftest.$ac_objext \
18378 conftest$ac_exeext conftest.$ac_ext
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18381 $as_echo "$ac_cv_have_isfinite" >&6; }
18382 if test "$ac_cv_have_isfinite" = "yes"
18383 then
18385 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18390 $as_echo_n "checking for isinf... " >&6; }
18391 if ${ac_cv_have_isinf+:} false; then :
18392 $as_echo_n "(cached) " >&6
18393 else
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18396 #include <math.h>
18398 main ()
18400 float f = 0.0; return isinf(f)
18402 return 0;
18404 _ACEOF
18405 if ac_fn_c_try_link "$LINENO"; then :
18406 ac_cv_have_isinf="yes"
18407 else
18408 ac_cv_have_isinf="no"
18410 rm -f core conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18414 $as_echo "$ac_cv_have_isinf" >&6; }
18415 if test "$ac_cv_have_isinf" = "yes"
18416 then
18418 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18423 $as_echo_n "checking for isnan... " >&6; }
18424 if ${ac_cv_have_isnan+:} false; then :
18425 $as_echo_n "(cached) " >&6
18426 else
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18429 #include <math.h>
18431 main ()
18433 float f = 0.0; return isnan(f)
18435 return 0;
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"; then :
18439 ac_cv_have_isnan="yes"
18440 else
18441 ac_cv_have_isnan="no"
18443 rm -f core conftest.err conftest.$ac_objext \
18444 conftest$ac_exeext conftest.$ac_ext
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18447 $as_echo "$ac_cv_have_isnan" >&6; }
18448 if test "$ac_cv_have_isnan" = "yes"
18449 then
18451 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18455 for ac_func in \
18456 acosh \
18457 acoshf \
18458 asinh \
18459 asinhf \
18460 atanh \
18461 atanhf \
18462 cbrt \
18463 cbrtf \
18464 erf \
18465 erfc \
18466 erfcf \
18467 erff \
18468 exp2 \
18469 exp2f \
18470 expm1 \
18471 expm1f \
18472 j0 \
18473 j1 \
18474 jn \
18475 lgamma \
18476 lgammaf \
18477 llrint \
18478 llrintf \
18479 llround \
18480 llroundf \
18481 log1p \
18482 log1pf \
18483 log2 \
18484 log2f \
18485 lrint \
18486 lrintf \
18487 lround \
18488 lroundf \
18489 nearbyint \
18490 nearbyintf \
18491 powl \
18492 remainder \
18493 remainderf \
18494 rint \
18495 rintf \
18496 round \
18497 roundf \
18498 trunc \
18499 truncf \
18500 y0 \
18501 y1 \
18504 do :
18505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18510 _ACEOF
18513 done
18515 LIBS="$ac_save_LIBS"
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18518 $as_echo_n "checking for __builtin_clz... " >&6; }
18519 if ${ac_cv_have___builtin_clz+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18526 main ()
18528 return __builtin_clz(1)
18530 return 0;
18532 _ACEOF
18533 if ac_fn_c_try_link "$LINENO"; then :
18534 ac_cv_have___builtin_clz="yes"
18535 else
18536 ac_cv_have___builtin_clz="no"
18538 rm -f core conftest.err conftest.$ac_objext \
18539 conftest$ac_exeext conftest.$ac_ext
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18542 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18543 if test "$ac_cv_have___builtin_clz" = "yes"
18544 then
18546 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18551 $as_echo_n "checking for __builtin_popcount... " >&6; }
18552 if ${ac_cv_have___builtin_popcount+:} false; then :
18553 $as_echo_n "(cached) " >&6
18554 else
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18559 main ()
18561 return __builtin_popcount(1)
18563 return 0;
18565 _ACEOF
18566 if ac_fn_c_try_link "$LINENO"; then :
18567 ac_cv_have___builtin_popcount="yes"
18568 else
18569 ac_cv_have___builtin_popcount="no"
18571 rm -f core conftest.err conftest.$ac_objext \
18572 conftest$ac_exeext conftest.$ac_ext
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18575 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18576 if test "$ac_cv_have___builtin_popcount" = "yes"
18577 then
18579 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18584 $as_echo_n "checking for __clear_cache... " >&6; }
18585 if ${ac_cv_have___clear_cache+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18592 main ()
18594 __clear_cache((void*)0, (void*)0); return 0;
18596 return 0;
18598 _ACEOF
18599 if ac_fn_c_try_link "$LINENO"; then :
18600 ac_cv_have___clear_cache="yes"
18601 else
18602 ac_cv_have___clear_cache="no"
18604 rm -f core conftest.err conftest.$ac_objext \
18605 conftest$ac_exeext conftest.$ac_ext
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18608 $as_echo "$ac_cv_have___clear_cache" >&6; }
18609 if test "$ac_cv_have___clear_cache" = "yes"
18610 then
18612 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18617 case $host_cpu in
18618 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18619 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18620 if ${ac_cv_cpp_def___i386__+:} false; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 #ifndef __i386__
18627 #endif
18628 _ACEOF
18629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18630 $EGREP "yes" >/dev/null 2>&1; then :
18631 ac_cv_cpp_def___i386__=yes
18632 else
18633 ac_cv_cpp_def___i386__=no
18635 rm -f conftest*
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18639 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18640 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18641 CFLAGS="$CFLAGS -D__i386__"
18642 LINTFLAGS="$LINTFLAGS -D__i386__"
18643 fi ;;
18644 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18645 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18646 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18647 $as_echo_n "(cached) " >&6
18648 else
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #ifndef __x86_64__
18653 #endif
18654 _ACEOF
18655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18656 $EGREP "yes" >/dev/null 2>&1; then :
18657 ac_cv_cpp_def___x86_64__=yes
18658 else
18659 ac_cv_cpp_def___x86_64__=no
18661 rm -f conftest*
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18665 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18666 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18667 CFLAGS="$CFLAGS -D__x86_64__"
18668 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18669 fi ;;
18670 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18671 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18672 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #ifndef __sparc64__
18679 #endif
18680 _ACEOF
18681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18682 $EGREP "yes" >/dev/null 2>&1; then :
18683 ac_cv_cpp_def___sparc64__=yes
18684 else
18685 ac_cv_cpp_def___sparc64__=no
18687 rm -f conftest*
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18691 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18692 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18693 CFLAGS="$CFLAGS -D__sparc64__"
18694 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18695 fi ;;
18696 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18697 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18698 if ${ac_cv_cpp_def___sparc__+:} false; then :
18699 $as_echo_n "(cached) " >&6
18700 else
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 #ifndef __sparc__
18705 #endif
18706 _ACEOF
18707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18708 $EGREP "yes" >/dev/null 2>&1; then :
18709 ac_cv_cpp_def___sparc__=yes
18710 else
18711 ac_cv_cpp_def___sparc__=no
18713 rm -f conftest*
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18717 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18718 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18719 CFLAGS="$CFLAGS -D__sparc__"
18720 LINTFLAGS="$LINTFLAGS -D__sparc__"
18721 fi ;;
18722 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18723 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18724 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18729 #ifndef __powerpc64__
18731 #endif
18732 _ACEOF
18733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18734 $EGREP "yes" >/dev/null 2>&1; then :
18735 ac_cv_cpp_def___powerpc64__=yes
18736 else
18737 ac_cv_cpp_def___powerpc64__=no
18739 rm -f conftest*
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18743 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18744 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18745 CFLAGS="$CFLAGS -D__powerpc64__"
18746 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18747 fi ;;
18748 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18749 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18750 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18751 $as_echo_n "(cached) " >&6
18752 else
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18755 #ifndef __powerpc__
18757 #endif
18758 _ACEOF
18759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18760 $EGREP "yes" >/dev/null 2>&1; then :
18761 ac_cv_cpp_def___powerpc__=yes
18762 else
18763 ac_cv_cpp_def___powerpc__=no
18765 rm -f conftest*
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18769 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18770 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18771 CFLAGS="$CFLAGS -D__powerpc__"
18772 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18773 fi ;;
18774 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18775 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18776 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18777 $as_echo_n "(cached) " >&6
18778 else
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 #ifndef __aarch64__
18783 #endif
18784 _ACEOF
18785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18786 $EGREP "yes" >/dev/null 2>&1; then :
18787 ac_cv_cpp_def___aarch64__=yes
18788 else
18789 ac_cv_cpp_def___aarch64__=no
18791 rm -f conftest*
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18795 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18796 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18797 CFLAGS="$CFLAGS -D__aarch64__"
18798 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18799 fi ;;
18800 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18801 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18802 if ${ac_cv_cpp_def___arm__+:} false; then :
18803 $as_echo_n "(cached) " >&6
18804 else
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18807 #ifndef __arm__
18809 #endif
18810 _ACEOF
18811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18812 $EGREP "yes" >/dev/null 2>&1; then :
18813 ac_cv_cpp_def___arm__=yes
18814 else
18815 ac_cv_cpp_def___arm__=no
18817 rm -f conftest*
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18821 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18822 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18823 CFLAGS="$CFLAGS -D__arm__"
18824 LINTFLAGS="$LINTFLAGS -D__arm__"
18825 fi ;;
18826 esac
18828 case $host_vendor in
18829 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18830 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18831 if ${ac_cv_cpp_def___sun__+:} false; then :
18832 $as_echo_n "(cached) " >&6
18833 else
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 #ifndef __sun__
18838 #endif
18839 _ACEOF
18840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18841 $EGREP "yes" >/dev/null 2>&1; then :
18842 ac_cv_cpp_def___sun__=yes
18843 else
18844 ac_cv_cpp_def___sun__=no
18846 rm -f conftest*
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18850 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18851 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18852 CFLAGS="$CFLAGS -D__sun__"
18853 LINTFLAGS="$LINTFLAGS -D__sun__"
18854 fi ;;
18855 esac
18861 ac_config_commands="$ac_config_commands include/stamp-h"
18863 $as_echo_n "creating Makefile rules..." >&6
18865 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18866 SOCKET_LIBS = $SOCKET_LIBS
18867 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18868 IOKIT_LIBS = $IOKIT_LIBS
18869 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18870 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18871 CORESERVICES_LIBS = $CORESERVICES_LIBS
18872 APPKIT_LIBS = $APPKIT_LIBS
18873 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18874 SECURITY_LIBS = $SECURITY_LIBS
18875 COREAUDIO_LIBS = $COREAUDIO_LIBS
18876 OPENAL_LIBS = $OPENAL_LIBS
18877 OPENCL_LIBS = $OPENCL_LIBS
18878 QUICKTIME_LIBS = $QUICKTIME_LIBS
18879 CARBON_LIBS = $CARBON_LIBS
18880 METAL_LIBS = $METAL_LIBS
18881 PTHREAD_LIBS = $PTHREAD_LIBS
18882 X_CFLAGS = $X_CFLAGS
18883 X_PRE_LIBS = $X_PRE_LIBS
18884 X_LIBS = $X_LIBS
18885 X_EXTRA_LIBS = $X_EXTRA_LIBS
18886 PCAP_LIBS = $PCAP_LIBS
18887 XML2_CFLAGS = $XML2_CFLAGS
18888 XML2_LIBS = $XML2_LIBS
18889 XSLT_CFLAGS = $XSLT_CFLAGS
18890 XSLT_LIBS = $XSLT_LIBS
18891 DBUS_CFLAGS = $DBUS_CFLAGS
18892 DBUS_LIBS = $DBUS_LIBS
18893 HAL_CFLAGS = $HAL_CFLAGS
18894 HAL_LIBS = $HAL_LIBS
18895 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18896 GNUTLS_LIBS = $GNUTLS_LIBS
18897 SANE_CFLAGS = $SANE_CFLAGS
18898 SANE_LIBS = $SANE_LIBS
18899 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18900 GPHOTO2_LIBS = $GPHOTO2_LIBS
18901 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18902 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18903 RESOLV_LIBS = $RESOLV_LIBS
18904 LCMS2_CFLAGS = $LCMS2_CFLAGS
18905 LCMS2_LIBS = $LCMS2_LIBS
18906 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18907 FREETYPE_LIBS = $FREETYPE_LIBS
18908 Z_LIBS = $Z_LIBS
18909 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18910 PULSE_CFLAGS = $PULSE_CFLAGS
18911 PULSE_LIBS = $PULSE_LIBS
18912 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18913 GSTREAMER_LIBS = $GSTREAMER_LIBS
18914 ALSA_LIBS = $ALSA_LIBS
18915 OSS4_CFLAGS = $OSS4_CFLAGS
18916 UDEV_CFLAGS = $UDEV_CFLAGS
18917 UDEV_LIBS = $UDEV_LIBS
18918 SDL2_CFLAGS = $SDL2_CFLAGS
18919 SDL2_LIBS = $SDL2_LIBS
18920 CAPI20_CFLAGS = $CAPI20_CFLAGS
18921 CAPI20_LIBS = $CAPI20_LIBS
18922 CUPS_CFLAGS = $CUPS_CFLAGS
18923 CUPS_LIBS = $CUPS_LIBS
18924 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18925 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18926 KRB5_CFLAGS = $KRB5_CFLAGS
18927 KRB5_LIBS = $KRB5_LIBS
18928 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18929 GSSAPI_LIBS = $GSSAPI_LIBS
18930 JPEG_CFLAGS = $JPEG_CFLAGS
18931 JPEG_LIBS = $JPEG_LIBS
18932 PNG_CFLAGS = $PNG_CFLAGS
18933 PNG_LIBS = $PNG_LIBS
18934 TIFF_CFLAGS = $TIFF_CFLAGS
18935 TIFF_LIBS = $TIFF_LIBS
18936 MPG123_CFLAGS = $MPG123_CFLAGS
18937 MPG123_LIBS = $MPG123_LIBS
18938 KSTAT_LIBS = $KSTAT_LIBS
18939 PROCSTAT_LIBS = $PROCSTAT_LIBS
18940 NETAPI_CFLAGS = $NETAPI_CFLAGS
18941 NETAPI_LIBS = $NETAPI_LIBS
18942 VKD3D_CFLAGS = $VKD3D_CFLAGS
18943 VKD3D_LIBS = $VKD3D_LIBS
18944 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18945 DL_LIBS = $DL_LIBS
18946 POLL_LIBS = $POLL_LIBS
18947 RT_LIBS = $RT_LIBS
18948 LDAP_CFLAGS = $LDAP_CFLAGS
18949 LDAP_LIBS = $LDAP_LIBS
18954 wine_fn_append_rule "
18955 # Rules automatically generated by configure
18957 .INIT: Makefile
18958 .MAKEFILEDEPS:
18959 all: Makefile
18960 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18961 @./config.status Make.tmp Makefile
18962 depend: \$(MAKEDEP) dummy
18963 \$(MAKEDEP)"
18965 if test "x$enable_fonts" != xno; then
18966 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18967 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18968 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18969 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18970 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18971 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18973 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18974 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18975 ac_config_links="$ac_config_links wine:tools/winewrapper"
18976 wine_fn_config_symlink wine
18977 if test "x$enable_win64" != xno; then
18978 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18979 wine_fn_config_symlink wine64
18982 wine_fn_config_makefile dlls/acledit enable_acledit
18983 wine_fn_config_makefile dlls/aclui enable_aclui
18984 wine_fn_config_makefile dlls/activeds enable_activeds
18985 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18986 wine_fn_config_makefile dlls/adsiid enable_adsiid
18987 wine_fn_config_makefile dlls/adsldp enable_adsldp
18988 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18989 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18990 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18991 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18992 wine_fn_config_makefile dlls/advpack enable_advpack
18993 wine_fn_config_makefile dlls/advpack/tests enable_tests
18994 wine_fn_config_makefile dlls/amstream enable_amstream
18995 wine_fn_config_makefile dlls/amstream/tests enable_tests
18996 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18997 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18998 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18999 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19000 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19001 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19002 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19003 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19005 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19006 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19009 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19013 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19015 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19021 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19027 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19028 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19029 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19030 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19032 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19039 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19043 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19044 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19053 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19054 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19061 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19062 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19069 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19073 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19074 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19099 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19102 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19112 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19143 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19144 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19163 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19177 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19179 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19181 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19182 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19186 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19188 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19194 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19197 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19199 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19201 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19205 wine_fn_config_makefile dlls/apphelp enable_apphelp
19206 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19207 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19208 wine_fn_config_makefile dlls/atl enable_atl
19209 wine_fn_config_makefile dlls/atl/tests enable_tests
19210 wine_fn_config_makefile dlls/atl100 enable_atl100
19211 wine_fn_config_makefile dlls/atl100/tests enable_tests
19212 wine_fn_config_makefile dlls/atl110 enable_atl110
19213 wine_fn_config_makefile dlls/atl80 enable_atl80
19214 wine_fn_config_makefile dlls/atl80/tests enable_tests
19215 wine_fn_config_makefile dlls/atl90 enable_atl90
19216 wine_fn_config_makefile dlls/atmlib enable_atmlib
19217 wine_fn_config_makefile dlls/authz enable_authz
19218 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19219 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19220 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19221 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19222 wine_fn_config_makefile dlls/avrt enable_avrt
19223 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19224 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19225 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19226 wine_fn_config_makefile dlls/browseui enable_browseui
19227 wine_fn_config_makefile dlls/browseui/tests enable_tests
19228 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19229 wine_fn_config_makefile dlls/cabinet enable_cabinet
19230 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19231 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19232 wine_fn_config_makefile dlls/cards enable_cards
19233 wine_fn_config_makefile dlls/cdosys enable_cdosys
19234 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19235 wine_fn_config_makefile dlls/clusapi enable_clusapi
19236 wine_fn_config_makefile dlls/combase enable_combase
19237 wine_fn_config_makefile dlls/combase/tests enable_tests
19238 wine_fn_config_makefile dlls/comcat enable_comcat
19239 wine_fn_config_makefile dlls/comcat/tests enable_tests
19240 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19241 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19242 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19243 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19244 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19245 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19246 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19247 wine_fn_config_makefile dlls/compstui enable_compstui
19248 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19249 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19250 wine_fn_config_makefile dlls/connect enable_connect
19251 wine_fn_config_makefile dlls/credui enable_credui
19252 wine_fn_config_makefile dlls/credui/tests enable_tests
19253 wine_fn_config_makefile dlls/crtdll enable_crtdll
19254 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19255 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19256 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19257 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19258 wine_fn_config_makefile dlls/cryptext enable_cryptext
19259 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19260 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19261 wine_fn_config_makefile dlls/cryptui enable_cryptui
19262 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19263 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19264 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19265 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19266 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19267 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19268 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19269 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19270 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19271 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19272 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19273 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19274 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19275 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19276 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19277 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19278 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19279 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19280 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19281 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19282 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19283 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19284 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19285 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19286 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19287 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19288 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19289 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19290 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19291 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19292 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19293 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19294 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19295 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19296 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19297 wine_fn_config_makefile dlls/d3dim enable_d3dim
19298 wine_fn_config_makefile dlls/d3drm enable_d3drm
19299 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19300 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19301 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19302 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19303 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19304 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19305 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19306 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19307 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19308 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19309 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19310 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19311 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19312 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19313 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19314 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19315 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19316 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19317 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19318 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19319 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19320 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19321 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19322 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19323 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19324 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19325 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19326 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19327 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19328 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19329 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19330 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19331 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19332 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19333 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19334 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19335 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19336 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19337 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19338 wine_fn_config_makefile dlls/davclnt enable_davclnt
19339 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19340 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19341 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19342 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19343 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19344 wine_fn_config_makefile dlls/ddraw enable_ddraw
19345 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19346 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19347 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19348 wine_fn_config_makefile dlls/devenum enable_devenum
19349 wine_fn_config_makefile dlls/devenum/tests enable_tests
19350 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19351 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19352 wine_fn_config_makefile dlls/difxapi enable_difxapi
19353 wine_fn_config_makefile dlls/dinput enable_dinput
19354 wine_fn_config_makefile dlls/dinput/tests enable_tests
19355 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19356 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19357 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19358 wine_fn_config_makefile dlls/dispex enable_dispex
19359 wine_fn_config_makefile dlls/dispex/tests enable_tests
19360 wine_fn_config_makefile dlls/display.drv16 enable_win16
19361 wine_fn_config_makefile dlls/dmband enable_dmband
19362 wine_fn_config_makefile dlls/dmband/tests enable_tests
19363 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19364 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19365 wine_fn_config_makefile dlls/dmime enable_dmime
19366 wine_fn_config_makefile dlls/dmime/tests enable_tests
19367 wine_fn_config_makefile dlls/dmloader enable_dmloader
19368 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19369 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19370 wine_fn_config_makefile dlls/dmscript enable_dmscript
19371 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19372 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19373 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19374 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19375 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19376 wine_fn_config_makefile dlls/dmusic enable_dmusic
19377 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19378 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19379 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19380 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19381 wine_fn_config_makefile dlls/dplay enable_dplay
19382 wine_fn_config_makefile dlls/dplayx enable_dplayx
19383 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19384 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19385 wine_fn_config_makefile dlls/dpnet enable_dpnet
19386 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19387 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19388 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19389 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19390 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19391 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19392 wine_fn_config_makefile dlls/drmclien enable_drmclien
19393 wine_fn_config_makefile dlls/dsound enable_dsound
19394 wine_fn_config_makefile dlls/dsound/tests enable_tests
19395 wine_fn_config_makefile dlls/dsquery enable_dsquery
19396 wine_fn_config_makefile dlls/dssenh enable_dssenh
19397 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19398 wine_fn_config_makefile dlls/dswave enable_dswave
19399 wine_fn_config_makefile dlls/dswave/tests enable_tests
19400 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19401 wine_fn_config_makefile dlls/dwrite enable_dwrite
19402 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19403 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19404 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19405 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19406 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19407 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19408 wine_fn_config_makefile dlls/dxgi enable_dxgi
19409 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19410 wine_fn_config_makefile dlls/dxguid enable_dxguid
19411 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19412 wine_fn_config_makefile dlls/esent enable_esent
19413 wine_fn_config_makefile dlls/evr enable_evr
19414 wine_fn_config_makefile dlls/evr/tests enable_tests
19415 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19416 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19417 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19418 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19419 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19420 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19421 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19422 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19423 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19424 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19425 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19426 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19440 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19441 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19446 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
19447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19455 wine_fn_config_makefile dlls/faultrep enable_faultrep
19456 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19457 wine_fn_config_makefile dlls/feclient enable_feclient
19458 wine_fn_config_makefile dlls/fltlib enable_fltlib
19459 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19460 wine_fn_config_makefile dlls/fntcache enable_fntcache
19461 wine_fn_config_makefile dlls/fontsub enable_fontsub
19462 wine_fn_config_makefile dlls/fusion enable_fusion
19463 wine_fn_config_makefile dlls/fusion/tests enable_tests
19464 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19465 wine_fn_config_makefile dlls/gameux enable_gameux
19466 wine_fn_config_makefile dlls/gameux/tests enable_tests
19467 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19468 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19469 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19470 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19471 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19472 wine_fn_config_makefile dlls/glu32 enable_glu32
19473 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19474 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19475 wine_fn_config_makefile dlls/hal enable_hal
19476 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19477 wine_fn_config_makefile dlls/hid enable_hid
19478 wine_fn_config_makefile dlls/hid/tests enable_tests
19479 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19480 wine_fn_config_makefile dlls/hlink enable_hlink
19481 wine_fn_config_makefile dlls/hlink/tests enable_tests
19482 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19483 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19484 wine_fn_config_makefile dlls/httpapi enable_httpapi
19485 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19486 wine_fn_config_makefile dlls/iccvid enable_iccvid
19487 wine_fn_config_makefile dlls/icmp enable_icmp
19488 wine_fn_config_makefile dlls/ieframe enable_ieframe
19489 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19490 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19491 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19492 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19493 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19494 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19495 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19496 wine_fn_config_makefile dlls/imm32 enable_imm32
19497 wine_fn_config_makefile dlls/imm32/tests enable_tests
19498 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19499 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19500 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19501 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19502 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19503 wine_fn_config_makefile dlls/infosoft enable_infosoft
19504 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19505 wine_fn_config_makefile dlls/initpki enable_initpki
19506 wine_fn_config_makefile dlls/inkobj enable_inkobj
19507 wine_fn_config_makefile dlls/inseng enable_inseng
19508 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19509 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19510 wine_fn_config_makefile dlls/iprop enable_iprop
19511 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19512 wine_fn_config_makefile dlls/itircl enable_itircl
19513 wine_fn_config_makefile dlls/itss enable_itss
19514 wine_fn_config_makefile dlls/itss/tests enable_tests
19515 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19516 wine_fn_config_makefile dlls/jscript enable_jscript
19517 wine_fn_config_makefile dlls/jscript/tests enable_tests
19518 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19519 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19520 wine_fn_config_makefile dlls/kerberos enable_kerberos
19521 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19522 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19523 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19524 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19525 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19526 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19527 wine_fn_config_makefile dlls/ksuser enable_ksuser
19528 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19529 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19530 wine_fn_config_makefile dlls/loadperf enable_loadperf
19531 wine_fn_config_makefile dlls/localspl enable_localspl
19532 wine_fn_config_makefile dlls/localspl/tests enable_tests
19533 wine_fn_config_makefile dlls/localui enable_localui
19534 wine_fn_config_makefile dlls/localui/tests enable_tests
19535 wine_fn_config_makefile dlls/lz32 enable_lz32
19536 wine_fn_config_makefile dlls/lz32/tests enable_tests
19537 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19538 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19539 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19540 wine_fn_config_makefile dlls/mapistub enable_mapistub
19541 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19542 wine_fn_config_makefile dlls/mcicda enable_mcicda
19543 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19544 wine_fn_config_makefile dlls/mciseq enable_mciseq
19545 wine_fn_config_makefile dlls/mciwave enable_mciwave
19546 wine_fn_config_makefile dlls/mf enable_mf
19547 wine_fn_config_makefile dlls/mf/tests enable_tests
19548 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19549 wine_fn_config_makefile dlls/mfplat enable_mfplat
19550 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19551 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19552 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19553 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19554 wine_fn_config_makefile dlls/midimap enable_midimap
19555 wine_fn_config_makefile dlls/mlang enable_mlang
19556 wine_fn_config_makefile dlls/mlang/tests enable_tests
19557 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19558 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19559 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19560 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19561 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19562 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19563 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19564 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19565 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19566 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19567 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19568 wine_fn_config_makefile dlls/mpr enable_mpr
19569 wine_fn_config_makefile dlls/mpr/tests enable_tests
19570 wine_fn_config_makefile dlls/mprapi enable_mprapi
19571 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19572 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19573 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19574 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19575 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19576 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19577 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19578 wine_fn_config_makefile dlls/mscms enable_mscms
19579 wine_fn_config_makefile dlls/mscms/tests enable_tests
19580 wine_fn_config_makefile dlls/mscoree enable_mscoree
19581 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19582 wine_fn_config_makefile dlls/msctf enable_msctf
19583 wine_fn_config_makefile dlls/msctf/tests enable_tests
19584 wine_fn_config_makefile dlls/msctfp enable_msctfp
19585 wine_fn_config_makefile dlls/msdaps enable_msdaps
19586 wine_fn_config_makefile dlls/msdelta enable_msdelta
19587 wine_fn_config_makefile dlls/msdmo enable_msdmo
19588 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19589 wine_fn_config_makefile dlls/msdrm enable_msdrm
19590 wine_fn_config_makefile dlls/msftedit enable_msftedit
19591 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19592 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19593 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19594 wine_fn_config_makefile dlls/mshtml enable_mshtml
19595 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19596 wine_fn_config_makefile dlls/msi enable_msi
19597 wine_fn_config_makefile dlls/msi/tests enable_tests
19598 wine_fn_config_makefile dlls/msident enable_msident
19599 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19600 wine_fn_config_makefile dlls/msimsg enable_msimsg
19601 wine_fn_config_makefile dlls/msimtf enable_msimtf
19602 wine_fn_config_makefile dlls/msisip enable_msisip
19603 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19604 wine_fn_config_makefile dlls/msls31 enable_msls31
19605 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19606 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19607 wine_fn_config_makefile dlls/msports enable_msports
19608 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19609 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19610 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19611 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19612 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19613 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19614 wine_fn_config_makefile dlls/mstask enable_mstask
19615 wine_fn_config_makefile dlls/mstask/tests enable_tests
19616 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19617 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19618 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19619 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19620 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19621 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19622 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19623 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19624 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19625 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19626 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19627 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19628 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19629 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19630 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19631 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19632 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19633 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19634 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19635 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19636 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19637 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19638 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19639 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19640 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19641 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19642 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19643 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19644 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19645 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19646 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19647 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19648 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19649 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19650 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19651 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19652 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19653 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19654 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19655 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19656 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19657 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19658 wine_fn_config_makefile dlls/mswsock enable_mswsock
19659 wine_fn_config_makefile dlls/msxml enable_msxml
19660 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19661 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19662 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19663 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19664 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19665 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19666 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19667 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19668 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19669 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19670 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19671 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19672 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19673 wine_fn_config_makefile dlls/netprofm enable_netprofm
19674 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19675 wine_fn_config_makefile dlls/newdev enable_newdev
19676 wine_fn_config_makefile dlls/ninput enable_ninput
19677 wine_fn_config_makefile dlls/ninput/tests enable_tests
19678 wine_fn_config_makefile dlls/normaliz enable_normaliz
19679 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19680 wine_fn_config_makefile dlls/npptools enable_npptools
19681 wine_fn_config_makefile dlls/ntdll enable_ntdll
19682 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19683 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19684 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19685 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19686 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19687 wine_fn_config_makefile dlls/ntprint enable_ntprint
19688 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19689 wine_fn_config_makefile dlls/objsel enable_objsel
19690 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19691 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19692 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19693 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19694 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19695 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19696 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19697 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19698 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19699 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19700 wine_fn_config_makefile dlls/ole32 enable_ole32
19701 wine_fn_config_makefile dlls/ole32/tests enable_tests
19702 wine_fn_config_makefile dlls/oleacc enable_oleacc
19703 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19704 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19705 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19706 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19707 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19708 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19709 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19710 wine_fn_config_makefile dlls/oledlg enable_oledlg
19711 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19712 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19713 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19714 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19715 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19716 wine_fn_config_makefile dlls/openal32 enable_openal32
19717 wine_fn_config_makefile dlls/opencl enable_opencl
19718 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19719 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19720 wine_fn_config_makefile dlls/packager enable_packager
19721 wine_fn_config_makefile dlls/packager/tests enable_tests
19722 wine_fn_config_makefile dlls/pdh enable_pdh
19723 wine_fn_config_makefile dlls/pdh/tests enable_tests
19724 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19725 wine_fn_config_makefile dlls/pidgen enable_pidgen
19726 wine_fn_config_makefile dlls/powrprof enable_powrprof
19727 wine_fn_config_makefile dlls/printui enable_printui
19728 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19729 wine_fn_config_makefile dlls/propsys enable_propsys
19730 wine_fn_config_makefile dlls/propsys/tests enable_tests
19731 wine_fn_config_makefile dlls/psapi enable_psapi
19732 wine_fn_config_makefile dlls/psapi/tests enable_tests
19733 wine_fn_config_makefile dlls/pstorec enable_pstorec
19734 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19735 wine_fn_config_makefile dlls/qcap enable_qcap
19736 wine_fn_config_makefile dlls/qcap/tests enable_tests
19737 wine_fn_config_makefile dlls/qedit enable_qedit
19738 wine_fn_config_makefile dlls/qedit/tests enable_tests
19739 wine_fn_config_makefile dlls/qmgr enable_qmgr
19740 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19741 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19742 wine_fn_config_makefile dlls/quartz enable_quartz
19743 wine_fn_config_makefile dlls/quartz/tests enable_tests
19744 wine_fn_config_makefile dlls/query enable_query
19745 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19746 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19747 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19748 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19749 wine_fn_config_makefile dlls/regapi enable_regapi
19750 wine_fn_config_makefile dlls/resutils enable_resutils
19751 wine_fn_config_makefile dlls/riched20 enable_riched20
19752 wine_fn_config_makefile dlls/riched20/tests enable_tests
19753 wine_fn_config_makefile dlls/riched32 enable_riched32
19754 wine_fn_config_makefile dlls/riched32/tests enable_tests
19755 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19756 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19757 wine_fn_config_makefile dlls/rsabase enable_rsabase
19758 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19759 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19760 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19761 wine_fn_config_makefile dlls/rtutils enable_rtutils
19762 wine_fn_config_makefile dlls/samlib enable_samlib
19763 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19764 wine_fn_config_makefile dlls/sapi enable_sapi
19765 wine_fn_config_makefile dlls/sapi/tests enable_tests
19766 wine_fn_config_makefile dlls/sas enable_sas
19767 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19768 wine_fn_config_makefile dlls/sccbase enable_sccbase
19769 wine_fn_config_makefile dlls/schannel enable_schannel
19770 wine_fn_config_makefile dlls/schannel/tests enable_tests
19771 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19772 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19773 wine_fn_config_makefile dlls/scrobj enable_scrobj
19774 wine_fn_config_makefile dlls/scrrun enable_scrrun
19775 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19776 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19777 wine_fn_config_makefile dlls/secur32 enable_secur32
19778 wine_fn_config_makefile dlls/secur32/tests enable_tests
19779 wine_fn_config_makefile dlls/security enable_security
19780 wine_fn_config_makefile dlls/sensapi enable_sensapi
19781 wine_fn_config_makefile dlls/serialui enable_serialui
19782 wine_fn_config_makefile dlls/serialui/tests enable_tests
19783 wine_fn_config_makefile dlls/setupapi enable_setupapi
19784 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19785 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19786 wine_fn_config_makefile dlls/sfc enable_sfc
19787 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19788 wine_fn_config_makefile dlls/shcore enable_shcore
19789 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19790 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19791 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19792 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19793 wine_fn_config_makefile dlls/shell32 enable_shell32
19794 wine_fn_config_makefile dlls/shell32/tests enable_tests
19795 wine_fn_config_makefile dlls/shfolder enable_shfolder
19796 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19797 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19798 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19799 wine_fn_config_makefile dlls/slc enable_slc
19800 wine_fn_config_makefile dlls/slc/tests enable_tests
19801 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19802 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19803 wine_fn_config_makefile dlls/softpub enable_softpub
19804 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19805 wine_fn_config_makefile dlls/spoolss enable_spoolss
19806 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19807 wine_fn_config_makefile dlls/srclient enable_srclient
19808 wine_fn_config_makefile dlls/sspicli enable_sspicli
19809 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19810 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19811 wine_fn_config_makefile dlls/sti enable_sti
19812 wine_fn_config_makefile dlls/sti/tests enable_tests
19813 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19814 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19815 wine_fn_config_makefile dlls/strmbase enable_strmbase
19816 wine_fn_config_makefile dlls/strmdll enable_strmdll
19817 wine_fn_config_makefile dlls/strmiids enable_strmiids
19818 wine_fn_config_makefile dlls/svrapi enable_svrapi
19819 wine_fn_config_makefile dlls/sxs enable_sxs
19820 wine_fn_config_makefile dlls/sxs/tests enable_tests
19821 wine_fn_config_makefile dlls/system.drv16 enable_win16
19822 wine_fn_config_makefile dlls/t2embed enable_t2embed
19823 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19824 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19825 wine_fn_config_makefile dlls/taskschd enable_taskschd
19826 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19827 wine_fn_config_makefile dlls/tdh enable_tdh
19828 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19829 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19830 wine_fn_config_makefile dlls/traffic enable_traffic
19831 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19832 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19833 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19834 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19835 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19836 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19837 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19838 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19839 wine_fn_config_makefile dlls/unicows enable_unicows
19840 wine_fn_config_makefile dlls/updspapi enable_updspapi
19841 wine_fn_config_makefile dlls/url enable_url
19842 wine_fn_config_makefile dlls/urlmon enable_urlmon
19843 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19844 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19845 wine_fn_config_makefile dlls/user.exe16 enable_win16
19846 wine_fn_config_makefile dlls/user32 enable_user32
19847 wine_fn_config_makefile dlls/user32/tests enable_tests
19848 wine_fn_config_makefile dlls/userenv enable_userenv
19849 wine_fn_config_makefile dlls/userenv/tests enable_tests
19850 wine_fn_config_makefile dlls/usp10 enable_usp10
19851 wine_fn_config_makefile dlls/usp10/tests enable_tests
19852 wine_fn_config_makefile dlls/uuid enable_uuid
19853 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19854 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19855 wine_fn_config_makefile dlls/vbscript enable_vbscript
19856 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19857 wine_fn_config_makefile dlls/vcomp enable_vcomp
19858 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19859 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19860 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19861 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19862 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19863 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19864 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19865 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19866 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19867 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19868 wine_fn_config_makefile dlls/version enable_version
19869 wine_fn_config_makefile dlls/version/tests enable_tests
19870 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19871 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19872 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19873 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19874 wine_fn_config_makefile dlls/vssapi enable_vssapi
19875 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19876 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19877 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19878 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19879 wine_fn_config_makefile dlls/w32skrnl enable_win16
19880 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19881 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19882 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19883 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19884 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19885 wine_fn_config_makefile dlls/wdscore enable_wdscore
19886 wine_fn_config_makefile dlls/webservices enable_webservices
19887 wine_fn_config_makefile dlls/webservices/tests enable_tests
19888 wine_fn_config_makefile dlls/wer enable_wer
19889 wine_fn_config_makefile dlls/wer/tests enable_tests
19890 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19891 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19892 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19893 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19894 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19895 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19896 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19897 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19898 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19899 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19900 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19901 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19902 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19903 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19904 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19905 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19906 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19907 wine_fn_config_makefile dlls/wined3d enable_wined3d
19908 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19909 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19910 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19911 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19912 wine_fn_config_makefile dlls/winemapi enable_winemapi
19913 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19914 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19915 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19916 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19917 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19918 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19919 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19920 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19921 wine_fn_config_makefile dlls/wing32 enable_wing32
19922 wine_fn_config_makefile dlls/winhttp enable_winhttp
19923 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19924 wine_fn_config_makefile dlls/wininet enable_wininet
19925 wine_fn_config_makefile dlls/wininet/tests enable_tests
19926 wine_fn_config_makefile dlls/winmm enable_winmm
19927 wine_fn_config_makefile dlls/winmm/tests enable_tests
19928 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19929 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19930 wine_fn_config_makefile dlls/winscard enable_winscard
19931 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19932 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19933 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19934 wine_fn_config_makefile dlls/winsta enable_winsta
19935 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19936 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19937 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19938 wine_fn_config_makefile dlls/wintrust enable_wintrust
19939 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19940 wine_fn_config_makefile dlls/winusb enable_winusb
19941 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19942 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19943 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19944 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19945 wine_fn_config_makefile dlls/wmasf enable_wmasf
19946 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19947 wine_fn_config_makefile dlls/wmi enable_wmi
19948 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19949 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19950 wine_fn_config_makefile dlls/wmp enable_wmp
19951 wine_fn_config_makefile dlls/wmp/tests enable_tests
19952 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19953 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19954 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19955 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19956 wine_fn_config_makefile dlls/wow32 enable_win16
19957 wine_fn_config_makefile dlls/wpc enable_wpc
19958 wine_fn_config_makefile dlls/wpc/tests enable_tests
19959 wine_fn_config_makefile dlls/wpcap enable_wpcap
19960 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19961 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19962 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19963 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19964 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19965 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19966 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19967 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19968 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19969 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19970 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19971 wine_fn_config_makefile dlls/wuapi enable_wuapi
19972 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19973 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19974 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19975 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19976 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19977 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19978 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19979 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19980 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19981 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19982 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19983 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19984 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19985 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19986 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19987 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19988 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19989 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19990 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19991 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19992 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19993 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19994 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19995 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19996 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19997 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19998 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19999 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20000 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20001 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20002 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20003 wine_fn_config_makefile dlls/xmllite enable_xmllite
20004 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20005 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20006 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20007 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20008 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20009 wine_fn_config_makefile include enable_include
20010 wine_fn_config_makefile libs/port enable_port
20011 wine_fn_config_makefile libs/wine enable_wine
20012 wine_fn_config_makefile libs/wpp enable_wpp
20013 wine_fn_config_makefile loader enable_loader
20014 wine_fn_config_makefile po enable_po
20015 wine_fn_config_makefile programs/arp enable_arp
20016 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20017 wine_fn_config_makefile programs/attrib enable_attrib
20018 wine_fn_config_makefile programs/cabarc enable_cabarc
20019 wine_fn_config_makefile programs/cacls enable_cacls
20020 wine_fn_config_makefile programs/clock enable_clock
20021 wine_fn_config_makefile programs/cmd enable_cmd
20022 wine_fn_config_makefile programs/cmd/tests enable_tests
20023 wine_fn_config_makefile programs/conhost enable_conhost
20024 wine_fn_config_makefile programs/control enable_control
20025 wine_fn_config_makefile programs/cscript enable_cscript
20026 wine_fn_config_makefile programs/dism enable_dism
20027 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20028 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20029 wine_fn_config_makefile programs/eject enable_eject
20030 wine_fn_config_makefile programs/expand enable_expand
20031 wine_fn_config_makefile programs/explorer enable_explorer
20032 wine_fn_config_makefile programs/extrac32 enable_extrac32
20033 wine_fn_config_makefile programs/fc enable_fc
20034 wine_fn_config_makefile programs/find enable_find
20035 wine_fn_config_makefile programs/findstr enable_findstr
20036 wine_fn_config_makefile programs/fsutil enable_fsutil
20037 wine_fn_config_makefile programs/hh enable_hh
20038 wine_fn_config_makefile programs/hostname enable_hostname
20039 wine_fn_config_makefile programs/icacls enable_icacls
20040 wine_fn_config_makefile programs/icinfo enable_icinfo
20041 wine_fn_config_makefile programs/iexplore enable_iexplore
20042 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20043 wine_fn_config_makefile programs/lodctr enable_lodctr
20044 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20045 wine_fn_config_makefile programs/mshta enable_mshta
20046 wine_fn_config_makefile programs/msiexec enable_msiexec
20047 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20048 wine_fn_config_makefile programs/net enable_net
20049 wine_fn_config_makefile programs/netsh enable_netsh
20050 wine_fn_config_makefile programs/netstat enable_netstat
20051 wine_fn_config_makefile programs/ngen enable_ngen
20052 wine_fn_config_makefile programs/notepad enable_notepad
20053 wine_fn_config_makefile programs/oleview enable_oleview
20054 wine_fn_config_makefile programs/ping enable_ping
20055 wine_fn_config_makefile programs/plugplay enable_plugplay
20056 wine_fn_config_makefile programs/powershell enable_powershell
20057 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20058 wine_fn_config_makefile programs/progman enable_progman
20059 wine_fn_config_makefile programs/reg enable_reg
20060 wine_fn_config_makefile programs/reg/tests enable_tests
20061 wine_fn_config_makefile programs/regasm enable_regasm
20062 wine_fn_config_makefile programs/regedit enable_regedit
20063 wine_fn_config_makefile programs/regedit/tests enable_tests
20064 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20065 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20066 wine_fn_config_makefile programs/rpcss enable_rpcss
20067 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20068 wine_fn_config_makefile programs/rundll32 enable_rundll32
20069 wine_fn_config_makefile programs/sc enable_sc
20070 wine_fn_config_makefile programs/schtasks enable_schtasks
20071 wine_fn_config_makefile programs/schtasks/tests enable_tests
20072 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20073 wine_fn_config_makefile programs/secedit enable_secedit
20074 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20075 wine_fn_config_makefile programs/services enable_services
20076 wine_fn_config_makefile programs/services/tests enable_tests
20077 wine_fn_config_makefile programs/shutdown enable_shutdown
20078 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20079 wine_fn_config_makefile programs/start enable_start
20080 wine_fn_config_makefile programs/subst enable_subst
20081 wine_fn_config_makefile programs/svchost enable_svchost
20082 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20083 wine_fn_config_makefile programs/taskkill enable_taskkill
20084 wine_fn_config_makefile programs/tasklist enable_tasklist
20085 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20086 wine_fn_config_makefile programs/termsv enable_termsv
20087 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20088 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20089 wine_fn_config_makefile programs/view enable_view
20090 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20091 wine_fn_config_makefile programs/wineboot enable_wineboot
20092 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20093 wine_fn_config_makefile programs/winecfg enable_winecfg
20094 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20095 wine_fn_config_makefile programs/winedbg enable_winedbg
20096 wine_fn_config_makefile programs/winedevice enable_winedevice
20097 wine_fn_config_makefile programs/winefile enable_winefile
20098 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20099 wine_fn_config_makefile programs/winemine enable_winemine
20100 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20101 wine_fn_config_makefile programs/winepath enable_winepath
20102 wine_fn_config_makefile programs/winetest enable_winetest
20103 wine_fn_config_makefile programs/winevdm enable_win16
20104 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20105 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20106 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20107 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20108 wine_fn_config_makefile programs/winver enable_winver
20109 wine_fn_config_makefile programs/wmic enable_wmic
20110 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20111 wine_fn_config_makefile programs/wordpad enable_wordpad
20112 wine_fn_config_makefile programs/write enable_write
20113 wine_fn_config_makefile programs/wscript enable_wscript
20114 wine_fn_config_makefile programs/wscript/tests enable_tests
20115 wine_fn_config_makefile programs/wusa enable_wusa
20116 wine_fn_config_makefile programs/xcopy enable_xcopy
20117 wine_fn_config_makefile programs/xcopy/tests enable_tests
20118 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20119 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20120 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20121 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20122 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20126 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20130 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20131 wine_fn_append_file CONFIGURE_TARGETS "tags"
20132 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20133 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20134 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20135 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20136 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20137 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20139 if test "x$enable_tools" != xno
20140 then
20141 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20142 ac_config_commands="$ac_config_commands tools/makedep"
20146 ac_config_commands="$ac_config_commands Makefile"
20149 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20153 if test "x$enable_maintainer_mode" = xyes
20154 then
20155 wine_fn_append_rule "configure: configure.ac aclocal.m4
20156 autoconf --warnings=all
20157 include/config.h.in: include/stamp-h.in
20158 include/stamp-h.in: configure.ac aclocal.m4
20159 autoheader --warnings=all
20160 @echo timestamp > \$@"
20163 if test "x$enable_tools" != xno
20164 then
20165 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20166 @./config.status tools/makedep
20167 Makefile: tools/makedep$ac_exeext
20168 fonts: tools/sfnt2fon
20169 include: tools tools/widl"
20170 else
20171 wine_fn_append_rule "\$(MAKEDEP):
20172 @echo \"You need to run make in $TOOLSDIR first\" && false"
20175 if test -n "$with_wine64"
20176 then
20177 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20178 fonts server:
20179 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20180 $with_wine64/loader/wine:
20181 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20182 $with_wine64/loader/wine-preloader:
20183 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20184 clean::
20185 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20186 else
20187 WINELOADER_INSTALL="wine.inf l_intl.nls"
20189 case $host_os in
20190 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20191 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20192 esac
20195 $as_echo " done" >&6
20196 cat >confcache <<\_ACEOF
20197 # This file is a shell script that caches the results of configure
20198 # tests run on this system so they can be shared between configure
20199 # scripts and configure runs, see configure's option --config-cache.
20200 # It is not useful on other systems. If it contains results you don't
20201 # want to keep, you may remove or edit it.
20203 # config.status only pays attention to the cache file if you give it
20204 # the --recheck option to rerun configure.
20206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20208 # following values.
20210 _ACEOF
20212 # The following way of writing the cache mishandles newlines in values,
20213 # but we know of no workaround that is simple, portable, and efficient.
20214 # So, we kill variables containing newlines.
20215 # Ultrix sh set writes to stderr and can't be redirected directly,
20216 # and sets the high bit in the cache file unless we assign to the vars.
20218 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20219 eval ac_val=\$$ac_var
20220 case $ac_val in #(
20221 *${as_nl}*)
20222 case $ac_var in #(
20223 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20224 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20225 esac
20226 case $ac_var in #(
20227 _ | IFS | as_nl) ;; #(
20228 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20229 *) { eval $ac_var=; unset $ac_var;} ;;
20230 esac ;;
20231 esac
20232 done
20234 (set) 2>&1 |
20235 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20236 *${as_nl}ac_space=\ *)
20237 # `set' does not quote correctly, so add quotes: double-quote
20238 # substitution turns \\\\ into \\, and sed turns \\ into \.
20239 sed -n \
20240 "s/'/'\\\\''/g;
20241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20242 ;; #(
20244 # `set' quotes correctly as required by POSIX, so do not add quotes.
20245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20247 esac |
20248 sort
20250 sed '
20251 /^ac_cv_env_/b end
20252 t clear
20253 :clear
20254 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20255 t end
20256 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20257 :end' >>confcache
20258 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20259 if test -w "$cache_file"; then
20260 if test "x$cache_file" != "x/dev/null"; then
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20262 $as_echo "$as_me: updating cache $cache_file" >&6;}
20263 if test ! -f "$cache_file" || test -h "$cache_file"; then
20264 cat confcache >"$cache_file"
20265 else
20266 case $cache_file in #(
20267 */* | ?:*)
20268 mv -f confcache "$cache_file"$$ &&
20269 mv -f "$cache_file"$$ "$cache_file" ;; #(
20271 mv -f confcache "$cache_file" ;;
20272 esac
20275 else
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20277 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20280 rm -f confcache
20282 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20283 # Let make expand exec_prefix.
20284 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20286 DEFS=-DHAVE_CONFIG_H
20288 ac_libobjs=
20289 ac_ltlibobjs=
20291 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20292 # 1. Remove the extension, and $U if already installed.
20293 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20294 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20295 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20296 # will be set to the directory where LIBOBJS objects are built.
20297 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20298 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20299 done
20300 LIBOBJS=$ac_libobjs
20302 LTLIBOBJS=$ac_ltlibobjs
20306 : "${CONFIG_STATUS=./config.status}"
20307 ac_write_fail=0
20308 ac_clean_files_save=$ac_clean_files
20309 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20311 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20312 as_write_fail=0
20313 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20314 #! $SHELL
20315 # Generated by $as_me.
20316 # Run this file to recreate the current configuration.
20317 # Compiler output produced by configure, useful for debugging
20318 # configure, is in config.log if it exists.
20320 debug=false
20321 ac_cs_recheck=false
20322 ac_cs_silent=false
20324 SHELL=\${CONFIG_SHELL-$SHELL}
20325 export SHELL
20326 _ASEOF
20327 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20328 ## -------------------- ##
20329 ## M4sh Initialization. ##
20330 ## -------------------- ##
20332 # Be more Bourne compatible
20333 DUALCASE=1; export DUALCASE # for MKS sh
20334 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20335 emulate sh
20336 NULLCMD=:
20337 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20338 # is contrary to our usage. Disable this feature.
20339 alias -g '${1+"$@"}'='"$@"'
20340 setopt NO_GLOB_SUBST
20341 else
20342 case `(set -o) 2>/dev/null` in #(
20343 *posix*) :
20344 set -o posix ;; #(
20345 *) :
20347 esac
20351 as_nl='
20353 export as_nl
20354 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20355 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20356 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20358 # Prefer a ksh shell builtin over an external printf program on Solaris,
20359 # but without wasting forks for bash or zsh.
20360 if test -z "$BASH_VERSION$ZSH_VERSION" \
20361 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20362 as_echo='print -r --'
20363 as_echo_n='print -rn --'
20364 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20365 as_echo='printf %s\n'
20366 as_echo_n='printf %s'
20367 else
20368 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20369 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20370 as_echo_n='/usr/ucb/echo -n'
20371 else
20372 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20373 as_echo_n_body='eval
20374 arg=$1;
20375 case $arg in #(
20376 *"$as_nl"*)
20377 expr "X$arg" : "X\\(.*\\)$as_nl";
20378 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20379 esac;
20380 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20382 export as_echo_n_body
20383 as_echo_n='sh -c $as_echo_n_body as_echo'
20385 export as_echo_body
20386 as_echo='sh -c $as_echo_body as_echo'
20389 # The user is always right.
20390 if test "${PATH_SEPARATOR+set}" != set; then
20391 PATH_SEPARATOR=:
20392 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20393 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20394 PATH_SEPARATOR=';'
20399 # IFS
20400 # We need space, tab and new line, in precisely that order. Quoting is
20401 # there to prevent editors from complaining about space-tab.
20402 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20403 # splitting by setting IFS to empty value.)
20404 IFS=" "" $as_nl"
20406 # Find who we are. Look in the path if we contain no directory separator.
20407 as_myself=
20408 case $0 in #((
20409 *[\\/]* ) as_myself=$0 ;;
20410 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20411 for as_dir in $PATH
20413 IFS=$as_save_IFS
20414 test -z "$as_dir" && as_dir=.
20415 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20416 done
20417 IFS=$as_save_IFS
20420 esac
20421 # We did not find ourselves, most probably we were run as `sh COMMAND'
20422 # in which case we are not to be found in the path.
20423 if test "x$as_myself" = x; then
20424 as_myself=$0
20426 if test ! -f "$as_myself"; then
20427 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20428 exit 1
20431 # Unset variables that we do not need and which cause bugs (e.g. in
20432 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20433 # suppresses any "Segmentation fault" message there. '((' could
20434 # trigger a bug in pdksh 5.2.14.
20435 for as_var in BASH_ENV ENV MAIL MAILPATH
20436 do eval test x\${$as_var+set} = xset \
20437 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20438 done
20439 PS1='$ '
20440 PS2='> '
20441 PS4='+ '
20443 # NLS nuisances.
20444 LC_ALL=C
20445 export LC_ALL
20446 LANGUAGE=C
20447 export LANGUAGE
20449 # CDPATH.
20450 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20453 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20454 # ----------------------------------------
20455 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20456 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20457 # script with STATUS, using 1 if that was 0.
20458 as_fn_error ()
20460 as_status=$1; test $as_status -eq 0 && as_status=1
20461 if test "$4"; then
20462 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20463 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20465 $as_echo "$as_me: error: $2" >&2
20466 as_fn_exit $as_status
20467 } # as_fn_error
20470 # as_fn_set_status STATUS
20471 # -----------------------
20472 # Set $? to STATUS, without forking.
20473 as_fn_set_status ()
20475 return $1
20476 } # as_fn_set_status
20478 # as_fn_exit STATUS
20479 # -----------------
20480 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20481 as_fn_exit ()
20483 set +e
20484 as_fn_set_status $1
20485 exit $1
20486 } # as_fn_exit
20488 # as_fn_unset VAR
20489 # ---------------
20490 # Portably unset VAR.
20491 as_fn_unset ()
20493 { eval $1=; unset $1;}
20495 as_unset=as_fn_unset
20496 # as_fn_append VAR VALUE
20497 # ----------------------
20498 # Append the text in VALUE to the end of the definition contained in VAR. Take
20499 # advantage of any shell optimizations that allow amortized linear growth over
20500 # repeated appends, instead of the typical quadratic growth present in naive
20501 # implementations.
20502 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20503 eval 'as_fn_append ()
20505 eval $1+=\$2
20507 else
20508 as_fn_append ()
20510 eval $1=\$$1\$2
20512 fi # as_fn_append
20514 # as_fn_arith ARG...
20515 # ------------------
20516 # Perform arithmetic evaluation on the ARGs, and store the result in the
20517 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20518 # must be portable across $(()) and expr.
20519 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20520 eval 'as_fn_arith ()
20522 as_val=$(( $* ))
20524 else
20525 as_fn_arith ()
20527 as_val=`expr "$@" || test $? -eq 1`
20529 fi # as_fn_arith
20532 if expr a : '\(a\)' >/dev/null 2>&1 &&
20533 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20534 as_expr=expr
20535 else
20536 as_expr=false
20539 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20540 as_basename=basename
20541 else
20542 as_basename=false
20545 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20546 as_dirname=dirname
20547 else
20548 as_dirname=false
20551 as_me=`$as_basename -- "$0" ||
20552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20553 X"$0" : 'X\(//\)$' \| \
20554 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20555 $as_echo X/"$0" |
20556 sed '/^.*\/\([^/][^/]*\)\/*$/{
20557 s//\1/
20560 /^X\/\(\/\/\)$/{
20561 s//\1/
20564 /^X\/\(\/\).*/{
20565 s//\1/
20568 s/.*/./; q'`
20570 # Avoid depending upon Character Ranges.
20571 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20572 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20573 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20574 as_cr_digits='0123456789'
20575 as_cr_alnum=$as_cr_Letters$as_cr_digits
20577 ECHO_C= ECHO_N= ECHO_T=
20578 case `echo -n x` in #(((((
20579 -n*)
20580 case `echo 'xy\c'` in
20581 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20582 xy) ECHO_C='\c';;
20583 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20584 ECHO_T=' ';;
20585 esac;;
20587 ECHO_N='-n';;
20588 esac
20590 rm -f conf$$ conf$$.exe conf$$.file
20591 if test -d conf$$.dir; then
20592 rm -f conf$$.dir/conf$$.file
20593 else
20594 rm -f conf$$.dir
20595 mkdir conf$$.dir 2>/dev/null
20597 if (echo >conf$$.file) 2>/dev/null; then
20598 if ln -s conf$$.file conf$$ 2>/dev/null; then
20599 as_ln_s='ln -s'
20600 # ... but there are two gotchas:
20601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20603 # In both cases, we have to default to `cp -pR'.
20604 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20605 as_ln_s='cp -pR'
20606 elif ln conf$$.file conf$$ 2>/dev/null; then
20607 as_ln_s=ln
20608 else
20609 as_ln_s='cp -pR'
20611 else
20612 as_ln_s='cp -pR'
20614 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20615 rmdir conf$$.dir 2>/dev/null
20618 # as_fn_mkdir_p
20619 # -------------
20620 # Create "$as_dir" as a directory, including parents if necessary.
20621 as_fn_mkdir_p ()
20624 case $as_dir in #(
20625 -*) as_dir=./$as_dir;;
20626 esac
20627 test -d "$as_dir" || eval $as_mkdir_p || {
20628 as_dirs=
20629 while :; do
20630 case $as_dir in #(
20631 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20632 *) as_qdir=$as_dir;;
20633 esac
20634 as_dirs="'$as_qdir' $as_dirs"
20635 as_dir=`$as_dirname -- "$as_dir" ||
20636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20637 X"$as_dir" : 'X\(//\)[^/]' \| \
20638 X"$as_dir" : 'X\(//\)$' \| \
20639 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20640 $as_echo X"$as_dir" |
20641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20642 s//\1/
20645 /^X\(\/\/\)[^/].*/{
20646 s//\1/
20649 /^X\(\/\/\)$/{
20650 s//\1/
20653 /^X\(\/\).*/{
20654 s//\1/
20657 s/.*/./; q'`
20658 test -d "$as_dir" && break
20659 done
20660 test -z "$as_dirs" || eval "mkdir $as_dirs"
20661 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20664 } # as_fn_mkdir_p
20665 if mkdir -p . 2>/dev/null; then
20666 as_mkdir_p='mkdir -p "$as_dir"'
20667 else
20668 test -d ./-p && rmdir ./-p
20669 as_mkdir_p=false
20673 # as_fn_executable_p FILE
20674 # -----------------------
20675 # Test if FILE is an executable regular file.
20676 as_fn_executable_p ()
20678 test -f "$1" && test -x "$1"
20679 } # as_fn_executable_p
20680 as_test_x='test -x'
20681 as_executable_p=as_fn_executable_p
20683 # Sed expression to map a string onto a valid CPP name.
20684 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20686 # Sed expression to map a string onto a valid variable name.
20687 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20690 exec 6>&1
20691 ## ----------------------------------- ##
20692 ## Main body of $CONFIG_STATUS script. ##
20693 ## ----------------------------------- ##
20694 _ASEOF
20695 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20698 # Save the log message, to keep $0 and so on meaningful, and to
20699 # report actual input values of CONFIG_FILES etc. instead of their
20700 # values after options handling.
20701 ac_log="
20702 This file was extended by Wine $as_me 3.14, which was
20703 generated by GNU Autoconf 2.69. Invocation command line was
20705 CONFIG_FILES = $CONFIG_FILES
20706 CONFIG_HEADERS = $CONFIG_HEADERS
20707 CONFIG_LINKS = $CONFIG_LINKS
20708 CONFIG_COMMANDS = $CONFIG_COMMANDS
20709 $ $0 $@
20711 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20714 _ACEOF
20716 case $ac_config_files in *"
20717 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20718 esac
20720 case $ac_config_headers in *"
20721 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20722 esac
20725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20726 # Files that config.status was made for.
20727 config_files="$ac_config_files"
20728 config_headers="$ac_config_headers"
20729 config_links="$ac_config_links"
20730 config_commands="$ac_config_commands"
20732 _ACEOF
20734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20735 ac_cs_usage="\
20736 \`$as_me' instantiates files and other configuration actions
20737 from templates according to the current configuration. Unless the files
20738 and actions are specified as TAGs, all are instantiated by default.
20740 Usage: $0 [OPTION]... [TAG]...
20742 -h, --help print this help, then exit
20743 -V, --version print version number and configuration settings, then exit
20744 --config print configuration, then exit
20745 -q, --quiet, --silent
20746 do not print progress messages
20747 -d, --debug don't remove temporary files
20748 --recheck update $as_me by reconfiguring in the same conditions
20749 --file=FILE[:TEMPLATE]
20750 instantiate the configuration file FILE
20751 --header=FILE[:TEMPLATE]
20752 instantiate the configuration header FILE
20754 Configuration files:
20755 $config_files
20757 Configuration headers:
20758 $config_headers
20760 Configuration links:
20761 $config_links
20763 Configuration commands:
20764 $config_commands
20766 Report bugs to <wine-devel@winehq.org>.
20767 Wine home page: <https://www.winehq.org>."
20769 _ACEOF
20770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20771 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20772 ac_cs_version="\\
20773 Wine config.status 3.14
20774 configured by $0, generated by GNU Autoconf 2.69,
20775 with options \\"\$ac_cs_config\\"
20777 Copyright (C) 2012 Free Software Foundation, Inc.
20778 This config.status script is free software; the Free Software Foundation
20779 gives unlimited permission to copy, distribute and modify it."
20781 ac_pwd='$ac_pwd'
20782 srcdir='$srcdir'
20783 test -n "\$AWK" || AWK=awk
20784 _ACEOF
20786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20787 # The default lists apply if the user does not specify any file.
20788 ac_need_defaults=:
20789 while test $# != 0
20791 case $1 in
20792 --*=?*)
20793 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20794 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20795 ac_shift=:
20797 --*=)
20798 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20799 ac_optarg=
20800 ac_shift=:
20803 ac_option=$1
20804 ac_optarg=$2
20805 ac_shift=shift
20807 esac
20809 case $ac_option in
20810 # Handling of the options.
20811 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20812 ac_cs_recheck=: ;;
20813 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20814 $as_echo "$ac_cs_version"; exit ;;
20815 --config | --confi | --conf | --con | --co | --c )
20816 $as_echo "$ac_cs_config"; exit ;;
20817 --debug | --debu | --deb | --de | --d | -d )
20818 debug=: ;;
20819 --file | --fil | --fi | --f )
20820 $ac_shift
20821 case $ac_optarg in
20822 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20823 '') as_fn_error $? "missing file argument" ;;
20824 esac
20825 as_fn_append CONFIG_FILES " '$ac_optarg'"
20826 ac_need_defaults=false;;
20827 --header | --heade | --head | --hea )
20828 $ac_shift
20829 case $ac_optarg in
20830 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20831 esac
20832 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20833 ac_need_defaults=false;;
20834 --he | --h)
20835 # Conflict between --help and --header
20836 as_fn_error $? "ambiguous option: \`$1'
20837 Try \`$0 --help' for more information.";;
20838 --help | --hel | -h )
20839 $as_echo "$ac_cs_usage"; exit ;;
20840 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20841 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20842 ac_cs_silent=: ;;
20844 # This is an error.
20845 -*) as_fn_error $? "unrecognized option: \`$1'
20846 Try \`$0 --help' for more information." ;;
20848 *) as_fn_append ac_config_targets " $1"
20849 ac_need_defaults=false ;;
20851 esac
20852 shift
20853 done
20855 ac_configure_extra_args=
20857 if $ac_cs_silent; then
20858 exec 6>/dev/null
20859 ac_configure_extra_args="$ac_configure_extra_args --silent"
20862 _ACEOF
20863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20864 if \$ac_cs_recheck; then
20865 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20866 shift
20867 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20868 CONFIG_SHELL='$SHELL'
20869 export CONFIG_SHELL
20870 exec "\$@"
20873 _ACEOF
20874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20875 exec 5>>config.log
20877 echo
20878 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20879 ## Running $as_me. ##
20880 _ASBOX
20881 $as_echo "$ac_log"
20882 } >&5
20884 _ACEOF
20885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20887 # INIT-COMMANDS
20889 wine_fn_output_makedep ()
20891 as_dir=tools; as_fn_mkdir_p
20892 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20894 wine_fn_output_makefile ()
20896 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20897 `cat $wine_rules_file`
20898 _WINE_EOF
20899 as_fn_error $? "could not create Makefile" "$LINENO" 5
20902 _ACEOF
20904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20906 # Handling of arguments.
20907 for ac_config_target in $ac_config_targets
20909 case $ac_config_target in
20910 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20911 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20912 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20913 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20914 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20915 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20916 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20917 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20918 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20919 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20920 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20921 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20922 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20924 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20925 esac
20926 done
20929 # If the user did not use the arguments to specify the items to instantiate,
20930 # then the envvar interface is used. Set only those that are not.
20931 # We use the long form for the default assignment because of an extremely
20932 # bizarre bug on SunOS 4.1.3.
20933 if $ac_need_defaults; then
20934 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20935 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20936 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20940 # Have a temporary directory for convenience. Make it in the build tree
20941 # simply because there is no reason against having it here, and in addition,
20942 # creating and moving files from /tmp can sometimes cause problems.
20943 # Hook for its removal unless debugging.
20944 # Note that there is a small window in which the directory will not be cleaned:
20945 # after its creation but before its name has been assigned to `$tmp'.
20946 $debug ||
20948 tmp= ac_tmp=
20949 trap 'exit_status=$?
20950 : "${ac_tmp:=$tmp}"
20951 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20953 trap 'as_fn_exit 1' 1 2 13 15
20955 # Create a (secure) tmp directory for tmp files.
20958 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20959 test -d "$tmp"
20960 } ||
20962 tmp=./conf$$-$RANDOM
20963 (umask 077 && mkdir "$tmp")
20964 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20965 ac_tmp=$tmp
20967 # Set up the scripts for CONFIG_FILES section.
20968 # No need to generate them if there are no CONFIG_FILES.
20969 # This happens for instance with `./config.status config.h'.
20970 if test -n "$CONFIG_FILES"; then
20973 ac_cr=`echo X | tr X '\015'`
20974 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20975 # But we know of no other shell where ac_cr would be empty at this
20976 # point, so we can use a bashism as a fallback.
20977 if test "x$ac_cr" = x; then
20978 eval ac_cr=\$\'\\r\'
20980 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20981 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20982 ac_cs_awk_cr='\\r'
20983 else
20984 ac_cs_awk_cr=$ac_cr
20987 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20988 _ACEOF
20992 echo "cat >conf$$subs.awk <<_ACEOF" &&
20993 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20994 echo "_ACEOF"
20995 } >conf$$subs.sh ||
20996 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20997 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20998 ac_delim='%!_!# '
20999 for ac_last_try in false false false false false :; do
21000 . ./conf$$subs.sh ||
21001 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21003 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21004 if test $ac_delim_n = $ac_delim_num; then
21005 break
21006 elif $ac_last_try; then
21007 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21008 else
21009 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21011 done
21012 rm -f conf$$subs.sh
21014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21015 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21016 _ACEOF
21017 sed -n '
21019 s/^/S["/; s/!.*/"]=/
21022 s/^[^!]*!//
21023 :repl
21024 t repl
21025 s/'"$ac_delim"'$//
21026 t delim
21029 s/\(.\{148\}\)..*/\1/
21030 t more1
21031 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21034 b repl
21035 :more1
21036 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21039 s/.\{148\}//
21040 t nl
21041 :delim
21043 s/\(.\{148\}\)..*/\1/
21044 t more2
21045 s/["\\]/\\&/g; s/^/"/; s/$/"/
21048 :more2
21049 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21052 s/.\{148\}//
21053 t delim
21054 ' <conf$$subs.awk | sed '
21055 /^[^""]/{
21057 s/\n//
21059 ' >>$CONFIG_STATUS || ac_write_fail=1
21060 rm -f conf$$subs.awk
21061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21062 _ACAWK
21063 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21064 for (key in S) S_is_set[key] = 1
21065 FS = "\a"
21069 line = $ 0
21070 nfields = split(line, field, "@")
21071 substed = 0
21072 len = length(field[1])
21073 for (i = 2; i < nfields; i++) {
21074 key = field[i]
21075 keylen = length(key)
21076 if (S_is_set[key]) {
21077 value = S[key]
21078 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21079 len += length(value) + length(field[++i])
21080 substed = 1
21081 } else
21082 len += 1 + keylen
21085 print line
21088 _ACAWK
21089 _ACEOF
21090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21091 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21092 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21093 else
21095 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21096 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21097 _ACEOF
21099 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21100 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21101 # trailing colons and then remove the whole line if VPATH becomes empty
21102 # (actually we leave an empty line to preserve line numbers).
21103 if test "x$srcdir" = x.; then
21104 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21106 s///
21107 s/^/:/
21108 s/[ ]*$/:/
21109 s/:\$(srcdir):/:/g
21110 s/:\${srcdir}:/:/g
21111 s/:@srcdir@:/:/g
21112 s/^:*//
21113 s/:*$//
21115 s/\(=[ ]*\).*/\1/
21117 s/\n//
21118 s/^[^=]*=[ ]*$//
21122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21123 fi # test -n "$CONFIG_FILES"
21125 # Set up the scripts for CONFIG_HEADERS section.
21126 # No need to generate them if there are no CONFIG_HEADERS.
21127 # This happens for instance with `./config.status Makefile'.
21128 if test -n "$CONFIG_HEADERS"; then
21129 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21130 BEGIN {
21131 _ACEOF
21133 # Transform confdefs.h into an awk script `defines.awk', embedded as
21134 # here-document in config.status, that substitutes the proper values into
21135 # config.h.in to produce config.h.
21137 # Create a delimiter string that does not exist in confdefs.h, to ease
21138 # handling of long lines.
21139 ac_delim='%!_!# '
21140 for ac_last_try in false false :; do
21141 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21142 if test -z "$ac_tt"; then
21143 break
21144 elif $ac_last_try; then
21145 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21146 else
21147 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21149 done
21151 # For the awk script, D is an array of macro values keyed by name,
21152 # likewise P contains macro parameters if any. Preserve backslash
21153 # newline sequences.
21155 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21156 sed -n '
21157 s/.\{148\}/&'"$ac_delim"'/g
21158 t rset
21159 :rset
21160 s/^[ ]*#[ ]*define[ ][ ]*/ /
21161 t def
21163 :def
21164 s/\\$//
21165 t bsnl
21166 s/["\\]/\\&/g
21167 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21168 D["\1"]=" \3"/p
21169 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21171 :bsnl
21172 s/["\\]/\\&/g
21173 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21174 D["\1"]=" \3\\\\\\n"\\/p
21175 t cont
21176 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21177 t cont
21179 :cont
21181 s/.\{148\}/&'"$ac_delim"'/g
21182 t clear
21183 :clear
21184 s/\\$//
21185 t bsnlc
21186 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21188 :bsnlc
21189 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21190 b cont
21191 ' <confdefs.h | sed '
21192 s/'"$ac_delim"'/"\\\
21193 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21196 for (key in D) D_is_set[key] = 1
21197 FS = "\a"
21199 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21200 line = \$ 0
21201 split(line, arg, " ")
21202 if (arg[1] == "#") {
21203 defundef = arg[2]
21204 mac1 = arg[3]
21205 } else {
21206 defundef = substr(arg[1], 2)
21207 mac1 = arg[2]
21209 split(mac1, mac2, "(") #)
21210 macro = mac2[1]
21211 prefix = substr(line, 1, index(line, defundef) - 1)
21212 if (D_is_set[macro]) {
21213 # Preserve the white space surrounding the "#".
21214 print prefix "define", macro P[macro] D[macro]
21215 next
21216 } else {
21217 # Replace #undef with comments. This is necessary, for example,
21218 # in the case of _POSIX_SOURCE, which is predefined and required
21219 # on some systems where configure will not decide to define it.
21220 if (defundef == "undef") {
21221 print "/*", prefix defundef, macro, "*/"
21222 next
21226 { print }
21227 _ACAWK
21228 _ACEOF
21229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21230 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21231 fi # test -n "$CONFIG_HEADERS"
21234 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21235 shift
21236 for ac_tag
21238 case $ac_tag in
21239 :[FHLC]) ac_mode=$ac_tag; continue;;
21240 esac
21241 case $ac_mode$ac_tag in
21242 :[FHL]*:*);;
21243 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21244 :[FH]-) ac_tag=-:-;;
21245 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21246 esac
21247 ac_save_IFS=$IFS
21248 IFS=:
21249 set x $ac_tag
21250 IFS=$ac_save_IFS
21251 shift
21252 ac_file=$1
21253 shift
21255 case $ac_mode in
21256 :L) ac_source=$1;;
21257 :[FH])
21258 ac_file_inputs=
21259 for ac_f
21261 case $ac_f in
21262 -) ac_f="$ac_tmp/stdin";;
21263 *) # Look for the file first in the build tree, then in the source tree
21264 # (if the path is not absolute). The absolute path cannot be DOS-style,
21265 # because $ac_f cannot contain `:'.
21266 test -f "$ac_f" ||
21267 case $ac_f in
21268 [\\/$]*) false;;
21269 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21270 esac ||
21271 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21272 esac
21273 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21274 as_fn_append ac_file_inputs " '$ac_f'"
21275 done
21277 # Let's still pretend it is `configure' which instantiates (i.e., don't
21278 # use $as_me), people would be surprised to read:
21279 # /* config.h. Generated by config.status. */
21280 configure_input='Generated from '`
21281 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21282 `' by configure.'
21283 if test x"$ac_file" != x-; then
21284 configure_input="$ac_file. $configure_input"
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21286 $as_echo "$as_me: creating $ac_file" >&6;}
21288 # Neutralize special characters interpreted by sed in replacement strings.
21289 case $configure_input in #(
21290 *\&* | *\|* | *\\* )
21291 ac_sed_conf_input=`$as_echo "$configure_input" |
21292 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21293 *) ac_sed_conf_input=$configure_input;;
21294 esac
21296 case $ac_tag in
21297 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21298 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21299 esac
21301 esac
21303 ac_dir=`$as_dirname -- "$ac_file" ||
21304 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21305 X"$ac_file" : 'X\(//\)[^/]' \| \
21306 X"$ac_file" : 'X\(//\)$' \| \
21307 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21308 $as_echo X"$ac_file" |
21309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21310 s//\1/
21313 /^X\(\/\/\)[^/].*/{
21314 s//\1/
21317 /^X\(\/\/\)$/{
21318 s//\1/
21321 /^X\(\/\).*/{
21322 s//\1/
21325 s/.*/./; q'`
21326 as_dir="$ac_dir"; as_fn_mkdir_p
21327 ac_builddir=.
21329 case "$ac_dir" in
21330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21333 # A ".." for each directory in $ac_dir_suffix.
21334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21335 case $ac_top_builddir_sub in
21336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21338 esac ;;
21339 esac
21340 ac_abs_top_builddir=$ac_pwd
21341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21342 # for backward compatibility:
21343 ac_top_builddir=$ac_top_build_prefix
21345 case $srcdir in
21346 .) # We are building in place.
21347 ac_srcdir=.
21348 ac_top_srcdir=$ac_top_builddir_sub
21349 ac_abs_top_srcdir=$ac_pwd ;;
21350 [\\/]* | ?:[\\/]* ) # Absolute name.
21351 ac_srcdir=$srcdir$ac_dir_suffix;
21352 ac_top_srcdir=$srcdir
21353 ac_abs_top_srcdir=$srcdir ;;
21354 *) # Relative name.
21355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21356 ac_top_srcdir=$ac_top_build_prefix$srcdir
21357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21358 esac
21359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21362 case $ac_mode in
21365 # CONFIG_FILE
21368 _ACEOF
21370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21371 # If the template does not know about datarootdir, expand it.
21372 # FIXME: This hack should be removed a few years after 2.60.
21373 ac_datarootdir_hack=; ac_datarootdir_seen=
21374 ac_sed_dataroot='
21375 /datarootdir/ {
21379 /@datadir@/p
21380 /@docdir@/p
21381 /@infodir@/p
21382 /@localedir@/p
21383 /@mandir@/p'
21384 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21385 *datarootdir*) ac_datarootdir_seen=yes;;
21386 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21388 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21389 _ACEOF
21390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21391 ac_datarootdir_hack='
21392 s&@datadir@&$datadir&g
21393 s&@docdir@&$docdir&g
21394 s&@infodir@&$infodir&g
21395 s&@localedir@&$localedir&g
21396 s&@mandir@&$mandir&g
21397 s&\\\${datarootdir}&$datarootdir&g' ;;
21398 esac
21399 _ACEOF
21401 # Neutralize VPATH when `$srcdir' = `.'.
21402 # Shell code in configure.ac might set extrasub.
21403 # FIXME: do we really want to maintain this feature?
21404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21405 ac_sed_extra="$ac_vpsub
21406 $extrasub
21407 _ACEOF
21408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21410 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21411 s|@configure_input@|$ac_sed_conf_input|;t t
21412 s&@top_builddir@&$ac_top_builddir_sub&;t t
21413 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21414 s&@srcdir@&$ac_srcdir&;t t
21415 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21416 s&@top_srcdir@&$ac_top_srcdir&;t t
21417 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21418 s&@builddir@&$ac_builddir&;t t
21419 s&@abs_builddir@&$ac_abs_builddir&;t t
21420 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21421 $ac_datarootdir_hack
21423 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21424 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21426 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21427 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21429 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21431 which seems to be undefined. Please make sure it is defined" >&5
21432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21433 which seems to be undefined. Please make sure it is defined" >&2;}
21435 rm -f "$ac_tmp/stdin"
21436 case $ac_file in
21437 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21438 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21439 esac \
21440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21444 # CONFIG_HEADER
21446 if test x"$ac_file" != x-; then
21448 $as_echo "/* $configure_input */" \
21449 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21450 } >"$ac_tmp/config.h" \
21451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21452 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21454 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21455 else
21456 rm -f "$ac_file"
21457 mv "$ac_tmp/config.h" "$ac_file" \
21458 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21460 else
21461 $as_echo "/* $configure_input */" \
21462 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21463 || as_fn_error $? "could not create -" "$LINENO" 5
21468 # CONFIG_LINK
21471 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21473 else
21474 # Prefer the file from the source tree if names are identical.
21475 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21476 ac_source=$srcdir/$ac_source
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21480 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21482 if test ! -r "$ac_source"; then
21483 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21485 rm -f "$ac_file"
21487 # Try a relative symlink, then a hard link, then a copy.
21488 case $ac_source in
21489 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21490 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21491 esac
21492 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21493 ln "$ac_source" "$ac_file" 2>/dev/null ||
21494 cp -p "$ac_source" "$ac_file" ||
21495 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21498 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21499 $as_echo "$as_me: executing $ac_file commands" >&6;}
21501 esac
21504 case $ac_file$ac_mode in
21505 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21506 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21507 "Makefile":C) wine_fn_output_makefile Makefile ;;
21509 esac
21510 done # for ac_tag
21513 as_fn_exit 0
21514 _ACEOF
21515 ac_clean_files=$ac_clean_files_save
21517 test $ac_write_fail = 0 ||
21518 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21521 # configure is writing to config.log, and then calls config.status.
21522 # config.status does its own redirection, appending to config.log.
21523 # Unfortunately, on DOS this fails, as config.log is still kept open
21524 # by configure, so config.status won't be able to write to it; its
21525 # output is simply discarded. So we exec the FD to /dev/null,
21526 # effectively closing config.log, so it can be properly (re)opened and
21527 # appended to by config.status. When coming back to configure, we
21528 # need to make the FD available again.
21529 if test "$no_create" != yes; then
21530 ac_cs_success=:
21531 ac_config_status_args=
21532 test "$silent" = yes &&
21533 ac_config_status_args="$ac_config_status_args --quiet"
21534 exec 5>/dev/null
21535 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21536 exec 5>>config.log
21537 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21538 # would make configure fail if this is the last instruction.
21539 $ac_cs_success || as_fn_exit 1
21541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21543 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21547 if test "$no_create" = "yes"
21548 then
21549 exit 0
21552 ac_save_IFS="$IFS"
21553 if test "x$wine_notices" != x; then
21554 echo >&6
21555 IFS="|"
21556 for msg in $wine_notices; do
21557 IFS="$ac_save_IFS"
21558 if ${msg:+false} :; then :
21560 else
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21562 $as_echo "$as_me: $msg" >&6;}
21564 done
21566 IFS="|"
21567 for msg in $wine_warnings; do
21568 IFS="$ac_save_IFS"
21569 if ${msg:+false} :; then :
21571 else
21572 echo >&2
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21574 $as_echo "$as_me: WARNING: $msg" >&2;}
21576 done
21577 IFS="$ac_save_IFS"
21579 $as_echo "
21580 $as_me: Finished. Do '${ac_make}' to compile Wine.
21581 " >&6