shell32: Add zip drive icon.
[wine.git] / configure
blob023a1640cbffc47209093b2dbee110d35b775af3
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_opcservices
1467 enable_openal32
1468 enable_opencl
1469 enable_opengl32
1470 enable_packager
1471 enable_pdh
1472 enable_photometadatahandler
1473 enable_pidgen
1474 enable_powrprof
1475 enable_printui
1476 enable_prntvpt
1477 enable_propsys
1478 enable_psapi
1479 enable_pstorec
1480 enable_qcap
1481 enable_qedit
1482 enable_qmgr
1483 enable_qmgrprxy
1484 enable_quartz
1485 enable_query
1486 enable_rasapi32
1487 enable_rasdlg
1488 enable_regapi
1489 enable_resutils
1490 enable_riched20
1491 enable_riched32
1492 enable_rpcrt4
1493 enable_rsabase
1494 enable_rsaenh
1495 enable_rstrtmgr
1496 enable_rtutils
1497 enable_samlib
1498 enable_sane_ds
1499 enable_sapi
1500 enable_sas
1501 enable_scarddlg
1502 enable_sccbase
1503 enable_schannel
1504 enable_schedsvc
1505 enable_scrobj
1506 enable_scrrun
1507 enable_scsiport_sys
1508 enable_secur32
1509 enable_security
1510 enable_sensapi
1511 enable_serialui
1512 enable_setupapi
1513 enable_sfc
1514 enable_sfc_os
1515 enable_shcore
1516 enable_shdoclc
1517 enable_shdocvw
1518 enable_shell32
1519 enable_shfolder
1520 enable_shlwapi
1521 enable_slbcsp
1522 enable_slc
1523 enable_snmpapi
1524 enable_softpub
1525 enable_spoolss
1526 enable_srclient
1527 enable_sspicli
1528 enable_stdole2_tlb
1529 enable_stdole32_tlb
1530 enable_sti
1531 enable_strmbase
1532 enable_strmdll
1533 enable_strmiids
1534 enable_svrapi
1535 enable_sxs
1536 enable_t2embed
1537 enable_tapi32
1538 enable_taskschd
1539 enable_tdh
1540 enable_tdi_sys
1541 enable_traffic
1542 enable_twain_32
1543 enable_ucrtbase
1544 enable_uiautomationcore
1545 enable_uiribbon
1546 enable_unicows
1547 enable_updspapi
1548 enable_url
1549 enable_urlmon
1550 enable_usbd_sys
1551 enable_user32
1552 enable_userenv
1553 enable_usp10
1554 enable_uuid
1555 enable_uxtheme
1556 enable_vbscript
1557 enable_vcomp
1558 enable_vcomp100
1559 enable_vcomp110
1560 enable_vcomp120
1561 enable_vcomp140
1562 enable_vcomp90
1563 enable_vcruntime140
1564 enable_vdmdbg
1565 enable_version
1566 enable_virtdisk
1567 enable_vssapi
1568 enable_vulkan_1
1569 enable_wbemdisp
1570 enable_wbemprox
1571 enable_wdscore
1572 enable_webservices
1573 enable_wer
1574 enable_wevtapi
1575 enable_wiaservc
1576 enable_wimgapi
1577 enable_windowscodecs
1578 enable_windowscodecsext
1579 enable_winealsa_drv
1580 enable_wineandroid_drv
1581 enable_winebus_sys
1582 enable_winecoreaudio_drv
1583 enable_winecrt0
1584 enable_wined3d
1585 enable_winegstreamer
1586 enable_winehid_sys
1587 enable_winejoystick_drv
1588 enable_winemac_drv
1589 enable_winemapi
1590 enable_wineoss_drv
1591 enable_wineps_drv
1592 enable_winepulse_drv
1593 enable_wineqtdecoder
1594 enable_winevulkan
1595 enable_winex11_drv
1596 enable_wing32
1597 enable_winhttp
1598 enable_wininet
1599 enable_winmm
1600 enable_winnls32
1601 enable_winscard
1602 enable_winspool_drv
1603 enable_winsta
1604 enable_wintab32
1605 enable_wintrust
1606 enable_winusb
1607 enable_wlanapi
1608 enable_wldap32
1609 enable_wmasf
1610 enable_wmcodecdspuuid
1611 enable_wmi
1612 enable_wmiutils
1613 enable_wmp
1614 enable_wmphoto
1615 enable_wmvcore
1616 enable_wnaspi32
1617 enable_wpc
1618 enable_wpcap
1619 enable_ws2_32
1620 enable_wsdapi
1621 enable_wshom_ocx
1622 enable_wsnmp32
1623 enable_wsock32
1624 enable_wtsapi32
1625 enable_wuapi
1626 enable_wuaueng
1627 enable_x3daudio1_0
1628 enable_x3daudio1_1
1629 enable_x3daudio1_2
1630 enable_x3daudio1_3
1631 enable_x3daudio1_4
1632 enable_x3daudio1_5
1633 enable_x3daudio1_6
1634 enable_x3daudio1_7
1635 enable_xapofx1_1
1636 enable_xapofx1_2
1637 enable_xapofx1_3
1638 enable_xapofx1_4
1639 enable_xapofx1_5
1640 enable_xaudio2_0
1641 enable_xaudio2_1
1642 enable_xaudio2_2
1643 enable_xaudio2_3
1644 enable_xaudio2_4
1645 enable_xaudio2_5
1646 enable_xaudio2_6
1647 enable_xaudio2_7
1648 enable_xaudio2_8
1649 enable_xaudio2_9
1650 enable_xinput1_1
1651 enable_xinput1_2
1652 enable_xinput1_3
1653 enable_xinput1_4
1654 enable_xinput9_1_0
1655 enable_xmllite
1656 enable_xolehlp
1657 enable_xpsprint
1658 enable_xpssvcs
1659 enable_fonts
1660 enable_include
1661 enable_port
1662 enable_wine
1663 enable_wpp
1664 enable_loader
1665 enable_po
1666 enable_arp
1667 enable_aspnet_regiis
1668 enable_attrib
1669 enable_cabarc
1670 enable_cacls
1671 enable_clock
1672 enable_cmd
1673 enable_conhost
1674 enable_control
1675 enable_cscript
1676 enable_dism
1677 enable_dpnsvr
1678 enable_dxdiag
1679 enable_eject
1680 enable_expand
1681 enable_explorer
1682 enable_extrac32
1683 enable_fc
1684 enable_find
1685 enable_findstr
1686 enable_fsutil
1687 enable_hh
1688 enable_hostname
1689 enable_icacls
1690 enable_icinfo
1691 enable_iexplore
1692 enable_ipconfig
1693 enable_lodctr
1694 enable_mofcomp
1695 enable_mshta
1696 enable_msiexec
1697 enable_msinfo32
1698 enable_net
1699 enable_netsh
1700 enable_netstat
1701 enable_ngen
1702 enable_notepad
1703 enable_oleview
1704 enable_ping
1705 enable_plugplay
1706 enable_powershell
1707 enable_presentationfontcache
1708 enable_progman
1709 enable_reg
1710 enable_regasm
1711 enable_regedit
1712 enable_regsvcs
1713 enable_regsvr32
1714 enable_rpcss
1715 enable_rundll32
1716 enable_sc
1717 enable_schtasks
1718 enable_sdbinst
1719 enable_secedit
1720 enable_servicemodelreg
1721 enable_services
1722 enable_shutdown
1723 enable_spoolsv
1724 enable_start
1725 enable_subst
1726 enable_svchost
1727 enable_systeminfo
1728 enable_taskkill
1729 enable_tasklist
1730 enable_taskmgr
1731 enable_termsv
1732 enable_uninstaller
1733 enable_unlodctr
1734 enable_view
1735 enable_wevtutil
1736 enable_wineboot
1737 enable_winebrowser
1738 enable_winecfg
1739 enable_wineconsole
1740 enable_winedbg
1741 enable_winedevice
1742 enable_winefile
1743 enable_winemenubuilder
1744 enable_winemine
1745 enable_winemsibuilder
1746 enable_winepath
1747 enable_winetest
1748 enable_winhlp32
1749 enable_winmgmt
1750 enable_winver
1751 enable_wmic
1752 enable_wmplayer
1753 enable_wordpad
1754 enable_write
1755 enable_wscript
1756 enable_wusa
1757 enable_xcopy
1758 enable_server
1759 enable_tools
1760 enable_sfnt2fon
1761 enable_widl
1762 enable_winebuild
1763 enable_winedump
1764 enable_winegcc
1765 enable_winemaker
1766 enable_wmc
1767 enable_wrc
1769 ac_precious_vars='build_alias
1770 host_alias
1771 target_alias
1773 CFLAGS
1774 LDFLAGS
1775 LIBS
1776 CPPFLAGS
1778 CXXFLAGS
1781 OBJC
1782 OBJCFLAGS
1783 OBJCPP
1784 XMKMF
1785 XML2_CFLAGS
1786 XML2_LIBS
1787 XSLT_CFLAGS
1788 XSLT_LIBS
1789 DBUS_CFLAGS
1790 DBUS_LIBS
1791 HAL_CFLAGS
1792 HAL_LIBS
1793 GNUTLS_CFLAGS
1794 GNUTLS_LIBS
1795 SANE_CFLAGS
1796 SANE_LIBS
1797 GPHOTO2_CFLAGS
1798 GPHOTO2_LIBS
1799 GPHOTO2_PORT_CFLAGS
1800 GPHOTO2_PORT_LIBS
1801 LCMS2_CFLAGS
1802 LCMS2_LIBS
1803 FREETYPE_CFLAGS
1804 FREETYPE_LIBS
1805 PULSE_CFLAGS
1806 PULSE_LIBS
1807 GSTREAMER_CFLAGS
1808 GSTREAMER_LIBS
1809 UDEV_CFLAGS
1810 UDEV_LIBS
1811 SDL2_CFLAGS
1812 SDL2_LIBS
1813 CAPI20_CFLAGS
1814 CAPI20_LIBS
1815 CUPS_CFLAGS
1816 CUPS_LIBS
1817 FONTCONFIG_CFLAGS
1818 FONTCONFIG_LIBS
1819 KRB5_CFLAGS
1820 KRB5_LIBS
1821 GSSAPI_CFLAGS
1822 GSSAPI_LIBS
1823 JPEG_CFLAGS
1824 JPEG_LIBS
1825 PNG_CFLAGS
1826 PNG_LIBS
1827 TIFF_CFLAGS
1828 TIFF_LIBS
1829 MPG123_CFLAGS
1830 MPG123_LIBS
1831 NETAPI_CFLAGS
1832 NETAPI_LIBS
1833 VKD3D_CFLAGS
1834 VKD3D_LIBS
1835 LDAP_CFLAGS
1836 LDAP_LIBS'
1839 # Initialize some variables set by options.
1840 ac_init_help=
1841 ac_init_version=false
1842 ac_unrecognized_opts=
1843 ac_unrecognized_sep=
1844 # The variables have the same names as the options, with
1845 # dashes changed to underlines.
1846 cache_file=/dev/null
1847 exec_prefix=NONE
1848 no_create=
1849 no_recursion=
1850 prefix=NONE
1851 program_prefix=NONE
1852 program_suffix=NONE
1853 program_transform_name=s,x,x,
1854 silent=
1855 site=
1856 srcdir=
1857 verbose=
1858 x_includes=NONE
1859 x_libraries=NONE
1861 # Installation directory options.
1862 # These are left unexpanded so users can "make install exec_prefix=/foo"
1863 # and all the variables that are supposed to be based on exec_prefix
1864 # by default will actually change.
1865 # Use braces instead of parens because sh, perl, etc. also accept them.
1866 # (The list follows the same order as the GNU Coding Standards.)
1867 bindir='${exec_prefix}/bin'
1868 sbindir='${exec_prefix}/sbin'
1869 libexecdir='${exec_prefix}/libexec'
1870 datarootdir='${prefix}/share'
1871 datadir='${datarootdir}'
1872 sysconfdir='${prefix}/etc'
1873 sharedstatedir='${prefix}/com'
1874 localstatedir='${prefix}/var'
1875 runstatedir='${localstatedir}/run'
1876 includedir='${prefix}/include'
1877 oldincludedir='/usr/include'
1878 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1879 infodir='${datarootdir}/info'
1880 htmldir='${docdir}'
1881 dvidir='${docdir}'
1882 pdfdir='${docdir}'
1883 psdir='${docdir}'
1884 libdir='${exec_prefix}/lib'
1885 localedir='${datarootdir}/locale'
1886 mandir='${datarootdir}/man'
1888 ac_prev=
1889 ac_dashdash=
1890 for ac_option
1892 # If the previous option needs an argument, assign it.
1893 if test -n "$ac_prev"; then
1894 eval $ac_prev=\$ac_option
1895 ac_prev=
1896 continue
1899 case $ac_option in
1900 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1901 *=) ac_optarg= ;;
1902 *) ac_optarg=yes ;;
1903 esac
1905 # Accept the important Cygnus configure options, so we can diagnose typos.
1907 case $ac_dashdash$ac_option in
1909 ac_dashdash=yes ;;
1911 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1912 ac_prev=bindir ;;
1913 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1914 bindir=$ac_optarg ;;
1916 -build | --build | --buil | --bui | --bu)
1917 ac_prev=build_alias ;;
1918 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1919 build_alias=$ac_optarg ;;
1921 -cache-file | --cache-file | --cache-fil | --cache-fi \
1922 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1923 ac_prev=cache_file ;;
1924 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1925 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1926 cache_file=$ac_optarg ;;
1928 --config-cache | -C)
1929 cache_file=config.cache ;;
1931 -datadir | --datadir | --datadi | --datad)
1932 ac_prev=datadir ;;
1933 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1934 datadir=$ac_optarg ;;
1936 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1937 | --dataroo | --dataro | --datar)
1938 ac_prev=datarootdir ;;
1939 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1940 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1941 datarootdir=$ac_optarg ;;
1943 -disable-* | --disable-*)
1944 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1945 # Reject names that are not valid shell variable names.
1946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1947 as_fn_error $? "invalid feature name: $ac_useropt"
1948 ac_useropt_orig=$ac_useropt
1949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1950 case $ac_user_opts in
1952 "enable_$ac_useropt"
1953 "*) ;;
1954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1955 ac_unrecognized_sep=', ';;
1956 esac
1957 eval enable_$ac_useropt=no ;;
1959 -docdir | --docdir | --docdi | --doc | --do)
1960 ac_prev=docdir ;;
1961 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1962 docdir=$ac_optarg ;;
1964 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1965 ac_prev=dvidir ;;
1966 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1967 dvidir=$ac_optarg ;;
1969 -enable-* | --enable-*)
1970 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1971 # Reject names that are not valid shell variable names.
1972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1973 as_fn_error $? "invalid feature name: $ac_useropt"
1974 ac_useropt_orig=$ac_useropt
1975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1976 case $ac_user_opts in
1978 "enable_$ac_useropt"
1979 "*) ;;
1980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1981 ac_unrecognized_sep=', ';;
1982 esac
1983 eval enable_$ac_useropt=\$ac_optarg ;;
1985 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1986 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1987 | --exec | --exe | --ex)
1988 ac_prev=exec_prefix ;;
1989 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1990 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1991 | --exec=* | --exe=* | --ex=*)
1992 exec_prefix=$ac_optarg ;;
1994 -gas | --gas | --ga | --g)
1995 # Obsolete; use --with-gas.
1996 with_gas=yes ;;
1998 -help | --help | --hel | --he | -h)
1999 ac_init_help=long ;;
2000 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2001 ac_init_help=recursive ;;
2002 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2003 ac_init_help=short ;;
2005 -host | --host | --hos | --ho)
2006 ac_prev=host_alias ;;
2007 -host=* | --host=* | --hos=* | --ho=*)
2008 host_alias=$ac_optarg ;;
2010 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2011 ac_prev=htmldir ;;
2012 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2013 | --ht=*)
2014 htmldir=$ac_optarg ;;
2016 -includedir | --includedir | --includedi | --included | --include \
2017 | --includ | --inclu | --incl | --inc)
2018 ac_prev=includedir ;;
2019 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2020 | --includ=* | --inclu=* | --incl=* | --inc=*)
2021 includedir=$ac_optarg ;;
2023 -infodir | --infodir | --infodi | --infod | --info | --inf)
2024 ac_prev=infodir ;;
2025 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2026 infodir=$ac_optarg ;;
2028 -libdir | --libdir | --libdi | --libd)
2029 ac_prev=libdir ;;
2030 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2031 libdir=$ac_optarg ;;
2033 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2034 | --libexe | --libex | --libe)
2035 ac_prev=libexecdir ;;
2036 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2037 | --libexe=* | --libex=* | --libe=*)
2038 libexecdir=$ac_optarg ;;
2040 -localedir | --localedir | --localedi | --localed | --locale)
2041 ac_prev=localedir ;;
2042 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2043 localedir=$ac_optarg ;;
2045 -localstatedir | --localstatedir | --localstatedi | --localstated \
2046 | --localstate | --localstat | --localsta | --localst | --locals)
2047 ac_prev=localstatedir ;;
2048 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2049 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2050 localstatedir=$ac_optarg ;;
2052 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2053 ac_prev=mandir ;;
2054 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2055 mandir=$ac_optarg ;;
2057 -nfp | --nfp | --nf)
2058 # Obsolete; use --without-fp.
2059 with_fp=no ;;
2061 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2062 | --no-cr | --no-c | -n)
2063 no_create=yes ;;
2065 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2066 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2067 no_recursion=yes ;;
2069 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2070 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2071 | --oldin | --oldi | --old | --ol | --o)
2072 ac_prev=oldincludedir ;;
2073 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2074 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2075 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2076 oldincludedir=$ac_optarg ;;
2078 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2079 ac_prev=prefix ;;
2080 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2081 prefix=$ac_optarg ;;
2083 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2084 | --program-pre | --program-pr | --program-p)
2085 ac_prev=program_prefix ;;
2086 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2087 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2088 program_prefix=$ac_optarg ;;
2090 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2091 | --program-suf | --program-su | --program-s)
2092 ac_prev=program_suffix ;;
2093 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2094 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2095 program_suffix=$ac_optarg ;;
2097 -program-transform-name | --program-transform-name \
2098 | --program-transform-nam | --program-transform-na \
2099 | --program-transform-n | --program-transform- \
2100 | --program-transform | --program-transfor \
2101 | --program-transfo | --program-transf \
2102 | --program-trans | --program-tran \
2103 | --progr-tra | --program-tr | --program-t)
2104 ac_prev=program_transform_name ;;
2105 -program-transform-name=* | --program-transform-name=* \
2106 | --program-transform-nam=* | --program-transform-na=* \
2107 | --program-transform-n=* | --program-transform-=* \
2108 | --program-transform=* | --program-transfor=* \
2109 | --program-transfo=* | --program-transf=* \
2110 | --program-trans=* | --program-tran=* \
2111 | --progr-tra=* | --program-tr=* | --program-t=*)
2112 program_transform_name=$ac_optarg ;;
2114 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2115 ac_prev=pdfdir ;;
2116 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2117 pdfdir=$ac_optarg ;;
2119 -psdir | --psdir | --psdi | --psd | --ps)
2120 ac_prev=psdir ;;
2121 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2122 psdir=$ac_optarg ;;
2124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2125 | -silent | --silent | --silen | --sile | --sil)
2126 silent=yes ;;
2128 -runstatedir | --runstatedir | --runstatedi | --runstated \
2129 | --runstate | --runstat | --runsta | --runst | --runs \
2130 | --run | --ru | --r)
2131 ac_prev=runstatedir ;;
2132 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2133 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2134 | --run=* | --ru=* | --r=*)
2135 runstatedir=$ac_optarg ;;
2137 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2138 ac_prev=sbindir ;;
2139 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2140 | --sbi=* | --sb=*)
2141 sbindir=$ac_optarg ;;
2143 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2144 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2145 | --sharedst | --shareds | --shared | --share | --shar \
2146 | --sha | --sh)
2147 ac_prev=sharedstatedir ;;
2148 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2149 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2150 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2151 | --sha=* | --sh=*)
2152 sharedstatedir=$ac_optarg ;;
2154 -site | --site | --sit)
2155 ac_prev=site ;;
2156 -site=* | --site=* | --sit=*)
2157 site=$ac_optarg ;;
2159 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2160 ac_prev=srcdir ;;
2161 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2162 srcdir=$ac_optarg ;;
2164 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2165 | --syscon | --sysco | --sysc | --sys | --sy)
2166 ac_prev=sysconfdir ;;
2167 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2168 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2169 sysconfdir=$ac_optarg ;;
2171 -target | --target | --targe | --targ | --tar | --ta | --t)
2172 ac_prev=target_alias ;;
2173 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2174 target_alias=$ac_optarg ;;
2176 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2177 verbose=yes ;;
2179 -version | --version | --versio | --versi | --vers | -V)
2180 ac_init_version=: ;;
2182 -with-* | --with-*)
2183 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2184 # Reject names that are not valid shell variable names.
2185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2186 as_fn_error $? "invalid package name: $ac_useropt"
2187 ac_useropt_orig=$ac_useropt
2188 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2189 case $ac_user_opts in
2191 "with_$ac_useropt"
2192 "*) ;;
2193 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2194 ac_unrecognized_sep=', ';;
2195 esac
2196 eval with_$ac_useropt=\$ac_optarg ;;
2198 -without-* | --without-*)
2199 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2200 # Reject names that are not valid shell variable names.
2201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2202 as_fn_error $? "invalid package name: $ac_useropt"
2203 ac_useropt_orig=$ac_useropt
2204 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2205 case $ac_user_opts in
2207 "with_$ac_useropt"
2208 "*) ;;
2209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2210 ac_unrecognized_sep=', ';;
2211 esac
2212 eval with_$ac_useropt=no ;;
2214 --x)
2215 # Obsolete; use --with-x.
2216 with_x=yes ;;
2218 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2219 | --x-incl | --x-inc | --x-in | --x-i)
2220 ac_prev=x_includes ;;
2221 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2222 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2223 x_includes=$ac_optarg ;;
2225 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2226 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2227 ac_prev=x_libraries ;;
2228 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2229 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2230 x_libraries=$ac_optarg ;;
2232 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2233 Try \`$0 --help' for more information"
2236 *=*)
2237 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2238 # Reject names that are not valid shell variable names.
2239 case $ac_envvar in #(
2240 '' | [0-9]* | *[!_$as_cr_alnum]* )
2241 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2242 esac
2243 eval $ac_envvar=\$ac_optarg
2244 export $ac_envvar ;;
2247 # FIXME: should be removed in autoconf 3.0.
2248 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2250 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2251 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2254 esac
2255 done
2257 if test -n "$ac_prev"; then
2258 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2259 as_fn_error $? "missing argument to $ac_option"
2262 if test -n "$ac_unrecognized_opts"; then
2263 case $enable_option_checking in
2264 no) ;;
2265 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2266 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2267 esac
2270 # Check all directory arguments for consistency.
2271 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2272 datadir sysconfdir sharedstatedir localstatedir includedir \
2273 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2274 libdir localedir mandir runstatedir
2276 eval ac_val=\$$ac_var
2277 # Remove trailing slashes.
2278 case $ac_val in
2279 */ )
2280 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2281 eval $ac_var=\$ac_val;;
2282 esac
2283 # Be sure to have absolute directory names.
2284 case $ac_val in
2285 [\\/$]* | ?:[\\/]* ) continue;;
2286 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2287 esac
2288 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2289 done
2291 # There might be people who depend on the old broken behavior: `$host'
2292 # used to hold the argument of --host etc.
2293 # FIXME: To remove some day.
2294 build=$build_alias
2295 host=$host_alias
2296 target=$target_alias
2298 # FIXME: To remove some day.
2299 if test "x$host_alias" != x; then
2300 if test "x$build_alias" = x; then
2301 cross_compiling=maybe
2302 elif test "x$build_alias" != "x$host_alias"; then
2303 cross_compiling=yes
2307 ac_tool_prefix=
2308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2310 test "$silent" = yes && exec 6>/dev/null
2313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2314 ac_ls_di=`ls -di .` &&
2315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2316 as_fn_error $? "working directory cannot be determined"
2317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2318 as_fn_error $? "pwd does not report name of working directory"
2321 # Find the source files, if location was not specified.
2322 if test -z "$srcdir"; then
2323 ac_srcdir_defaulted=yes
2324 # Try the directory containing this script, then the parent directory.
2325 ac_confdir=`$as_dirname -- "$as_myself" ||
2326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2327 X"$as_myself" : 'X\(//\)[^/]' \| \
2328 X"$as_myself" : 'X\(//\)$' \| \
2329 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2330 $as_echo X"$as_myself" |
2331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2332 s//\1/
2335 /^X\(\/\/\)[^/].*/{
2336 s//\1/
2339 /^X\(\/\/\)$/{
2340 s//\1/
2343 /^X\(\/\).*/{
2344 s//\1/
2347 s/.*/./; q'`
2348 srcdir=$ac_confdir
2349 if test ! -r "$srcdir/$ac_unique_file"; then
2350 srcdir=..
2352 else
2353 ac_srcdir_defaulted=no
2355 if test ! -r "$srcdir/$ac_unique_file"; then
2356 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2357 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2359 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2360 ac_abs_confdir=`(
2361 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2362 pwd)`
2363 # When building in place, set srcdir=.
2364 if test "$ac_abs_confdir" = "$ac_pwd"; then
2365 srcdir=.
2367 # Remove unnecessary trailing slashes from srcdir.
2368 # Double slashes in file names in object file debugging info
2369 # mess up M-x gdb in Emacs.
2370 case $srcdir in
2371 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2372 esac
2373 for ac_var in $ac_precious_vars; do
2374 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2375 eval ac_env_${ac_var}_value=\$${ac_var}
2376 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2377 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2378 done
2381 # Report the --help message.
2383 if test "$ac_init_help" = "long"; then
2384 # Omit some internal or obsolete options to make the list less imposing.
2385 # This message is too long to be a string in the A/UX 3.1 sh.
2386 cat <<_ACEOF
2387 \`configure' configures Wine 3.14 to adapt to many kinds of systems.
2389 Usage: $0 [OPTION]... [VAR=VALUE]...
2391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2392 VAR=VALUE. See below for descriptions of some of the useful variables.
2394 Defaults for the options are specified in brackets.
2396 Configuration:
2397 -h, --help display this help and exit
2398 --help=short display options specific to this package
2399 --help=recursive display the short help of all the included packages
2400 -V, --version display version information and exit
2401 -q, --quiet, --silent do not print \`checking ...' messages
2402 --cache-file=FILE cache test results in FILE [disabled]
2403 -C, --config-cache alias for \`--cache-file=config.cache'
2404 -n, --no-create do not create output files
2405 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2407 Installation directories:
2408 --prefix=PREFIX install architecture-independent files in PREFIX
2409 [$ac_default_prefix]
2410 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2411 [PREFIX]
2413 By default, \`make install' will install all the files in
2414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2416 for instance \`--prefix=\$HOME'.
2418 For better control, use the options below.
2420 Fine tuning of the installation directories:
2421 --bindir=DIR user executables [EPREFIX/bin]
2422 --sbindir=DIR system admin executables [EPREFIX/sbin]
2423 --libexecdir=DIR program executables [EPREFIX/libexec]
2424 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2425 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2426 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2427 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2428 --libdir=DIR object code libraries [EPREFIX/lib]
2429 --includedir=DIR C header files [PREFIX/include]
2430 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2431 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2432 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2433 --infodir=DIR info documentation [DATAROOTDIR/info]
2434 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2435 --mandir=DIR man documentation [DATAROOTDIR/man]
2436 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2437 --htmldir=DIR html documentation [DOCDIR]
2438 --dvidir=DIR dvi documentation [DOCDIR]
2439 --pdfdir=DIR pdf documentation [DOCDIR]
2440 --psdir=DIR ps documentation [DOCDIR]
2441 _ACEOF
2443 cat <<\_ACEOF
2445 X features:
2446 --x-includes=DIR X include files are in DIR
2447 --x-libraries=DIR X library files are in DIR
2449 System types:
2450 --build=BUILD configure for building on BUILD [guessed]
2451 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2452 _ACEOF
2455 if test -n "$ac_init_help"; then
2456 case $ac_init_help in
2457 short | recursive ) echo "Configuration of Wine 3.14:";;
2458 esac
2459 cat <<\_ACEOF
2461 Optional Features:
2462 --disable-option-checking ignore unrecognized --enable/--with options
2463 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2464 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2465 --disable-win16 do not include Win16 support
2466 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2467 binaries)
2468 --disable-tests do not build the regression tests
2469 --enable-maintainer-mode
2470 enable maintainer-specific build rules
2471 --disable-largefile omit support for large files
2473 Optional Packages:
2474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2476 --without-alsa do not use the Alsa sound support
2477 --without-capi do not use CAPI (ISDN support)
2478 --without-cms do not use CMS (color management support)
2479 --without-coreaudio do not use the CoreAudio sound support
2480 --without-cups do not use CUPS
2481 --without-curses do not use (n)curses
2482 --without-dbus do not use DBus (dynamic device support)
2483 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2484 --without-fontconfig do not use fontconfig
2485 --without-freetype do not use the FreeType library
2486 --without-gettext do not use gettext
2487 --with-gettextpo use the GetTextPO library to rebuild po files
2488 --without-gphoto do not use gphoto (Digital Camera support)
2489 --without-glu do not use the GLU library
2490 --without-gnutls do not use GnuTLS (schannel support)
2491 --without-gsm do not use libgsm (GSM 06.10 codec support)
2492 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2493 --without-gstreamer do not use GStreamer (codecs support)
2494 --without-hal do not use HAL (dynamic device support)
2495 --without-jpeg do not use JPEG
2496 --without-krb5 do not use krb5 (Kerberos)
2497 --without-ldap do not use LDAP
2498 --without-mpg123 do not use the mpg123 library
2499 --without-netapi do not use the Samba NetAPI library
2500 --without-openal do not use OpenAL
2501 --without-opencl do not use OpenCL
2502 --without-opengl do not use OpenGL
2503 --without-osmesa do not use the OSMesa library
2504 --without-oss do not use the OSS sound support
2505 --without-pcap do not use the Packet Capture library
2506 --without-png do not use PNG
2507 --without-pthread do not use the pthread library
2508 --without-pulse do not use PulseAudio sound support
2509 --without-sane do not use SANE (scanner support)
2510 --without-sdl do not use SDL
2511 --without-tiff do not use TIFF
2512 --without-udev do not use udev (plug and play support)
2513 --without-v4l do not use v4l1 (v4l support)
2514 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2515 --without-vulkan do not use Vulkan
2516 --without-xcomposite do not use the Xcomposite extension
2517 --without-xcursor do not use the Xcursor extension
2518 --without-xfixes do not use Xfixes for clipboard change notifications
2519 --without-xinerama do not use Xinerama (multi-monitor support)
2520 --without-xinput do not use the Xinput extension
2521 --without-xinput2 do not use the Xinput 2 extension
2522 --without-xml do not use XML
2523 --without-xrandr do not use Xrandr (resolution changes)
2524 --without-xrender do not use the Xrender extension
2525 --without-xshape do not use the Xshape extension
2526 --without-xshm do not use XShm (shared memory extension)
2527 --without-xslt do not use XSLT
2528 --without-xxf86vm do not use XFree video mode extension
2529 --without-zlib do not use Zlib (data compression)
2530 --with-wine-tools=DIR use Wine tools from directory DIR
2531 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2532 --with-x use the X Window System
2534 Some influential environment variables:
2535 CC C compiler command
2536 CFLAGS C compiler flags
2537 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2538 nonstandard directory <lib dir>
2539 LIBS libraries to pass to the linker, e.g. -l<library>
2540 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2541 you have headers in a nonstandard directory <include dir>
2542 CXX C++ compiler command
2543 CXXFLAGS C++ compiler flags
2544 CPP C preprocessor
2545 OBJC Objective C compiler command
2546 OBJCFLAGS Objective C compiler flags
2547 OBJCPP Objective C preprocessor
2548 XMKMF Path to xmkmf, Makefile generator for X Window System
2549 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2550 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2551 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2552 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2553 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2554 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2555 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2556 HAL_LIBS Linker flags for hal, overriding pkg-config
2557 GNUTLS_CFLAGS
2558 C compiler flags for gnutls, overriding pkg-config
2559 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2560 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2561 SANE_LIBS Linker flags for libsane, overriding pkg-config
2562 GPHOTO2_CFLAGS
2563 C compiler flags for libgphoto2, overriding pkg-config
2564 GPHOTO2_LIBS
2565 Linker flags for libgphoto2, overriding pkg-config
2566 GPHOTO2_PORT_CFLAGS
2567 C compiler flags for libgphoto2_port, overriding pkg-config
2568 GPHOTO2_PORT_LIBS
2569 Linker flags for libgphoto2_port, overriding pkg-config
2570 LCMS2_CFLAGS
2571 C compiler flags for lcms2, overriding pkg-config
2572 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2573 FREETYPE_CFLAGS
2574 C compiler flags for freetype2, overriding pkg-config
2575 FREETYPE_LIBS
2576 Linker flags for freetype2, overriding pkg-config
2577 PULSE_CFLAGS
2578 C compiler flags for libpulse, overriding pkg-config
2579 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2580 GSTREAMER_CFLAGS
2581 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2582 gstreamer-audio-1.0, overriding pkg-config
2583 GSTREAMER_LIBS
2584 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2585 gstreamer-audio-1.0, overriding pkg-config
2586 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2587 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2588 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2589 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2590 CAPI20_CFLAGS
2591 C compiler flags for capi20, overriding pkg-config
2592 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2593 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2594 CUPS_LIBS Linker flags for cups, overriding pkg-config
2595 FONTCONFIG_CFLAGS
2596 C compiler flags for fontconfig, overriding pkg-config
2597 FONTCONFIG_LIBS
2598 Linker flags for fontconfig, overriding pkg-config
2599 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2600 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2601 GSSAPI_CFLAGS
2602 C compiler flags for krb5-gssapi, overriding pkg-config
2603 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2604 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2605 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2606 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2607 PNG_LIBS Linker flags for libpng, overriding pkg-config
2608 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2609 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2610 MPG123_CFLAGS
2611 C compiler flags for libmpg123, overriding pkg-config
2612 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2613 NETAPI_CFLAGS
2614 C compiler flags for netapi, overriding pkg-config
2615 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2616 VKD3D_CFLAGS
2617 C compiler flags for libvkd3d, overriding pkg-config
2618 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2619 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2620 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2622 Use these variables to override the choices made by `configure' or to help
2623 it to find libraries and programs with nonstandard names/locations.
2625 Report bugs to <wine-devel@winehq.org>.
2626 Wine home page: <https://www.winehq.org>.
2627 _ACEOF
2628 ac_status=$?
2631 if test "$ac_init_help" = "recursive"; then
2632 # If there are subdirs, report their specific --help.
2633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2634 test -d "$ac_dir" ||
2635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2636 continue
2637 ac_builddir=.
2639 case "$ac_dir" in
2640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2642 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2643 # A ".." for each directory in $ac_dir_suffix.
2644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2645 case $ac_top_builddir_sub in
2646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2648 esac ;;
2649 esac
2650 ac_abs_top_builddir=$ac_pwd
2651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2652 # for backward compatibility:
2653 ac_top_builddir=$ac_top_build_prefix
2655 case $srcdir in
2656 .) # We are building in place.
2657 ac_srcdir=.
2658 ac_top_srcdir=$ac_top_builddir_sub
2659 ac_abs_top_srcdir=$ac_pwd ;;
2660 [\\/]* | ?:[\\/]* ) # Absolute name.
2661 ac_srcdir=$srcdir$ac_dir_suffix;
2662 ac_top_srcdir=$srcdir
2663 ac_abs_top_srcdir=$srcdir ;;
2664 *) # Relative name.
2665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2666 ac_top_srcdir=$ac_top_build_prefix$srcdir
2667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2668 esac
2669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2671 cd "$ac_dir" || { ac_status=$?; continue; }
2672 # Check for guested configure.
2673 if test -f "$ac_srcdir/configure.gnu"; then
2674 echo &&
2675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2676 elif test -f "$ac_srcdir/configure"; then
2677 echo &&
2678 $SHELL "$ac_srcdir/configure" --help=recursive
2679 else
2680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2681 fi || ac_status=$?
2682 cd "$ac_pwd" || { ac_status=$?; break; }
2683 done
2686 test -n "$ac_init_help" && exit $ac_status
2687 if $ac_init_version; then
2688 cat <<\_ACEOF
2689 Wine configure 3.14
2690 generated by GNU Autoconf 2.69
2692 Copyright (C) 2012 Free Software Foundation, Inc.
2693 This configure script is free software; the Free Software Foundation
2694 gives unlimited permission to copy, distribute and modify it.
2695 _ACEOF
2696 exit
2699 ## ------------------------ ##
2700 ## Autoconf initialization. ##
2701 ## ------------------------ ##
2703 # ac_fn_c_try_compile LINENO
2704 # --------------------------
2705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2706 ac_fn_c_try_compile ()
2708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2709 rm -f conftest.$ac_objext
2710 if { { ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_compile") 2>conftest.err
2718 ac_status=$?
2719 if test -s conftest.err; then
2720 grep -v '^ *+' conftest.err >conftest.er1
2721 cat conftest.er1 >&5
2722 mv -f conftest.er1 conftest.err
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725 test $ac_status = 0; } && {
2726 test -z "$ac_c_werror_flag" ||
2727 test ! -s conftest.err
2728 } && test -s conftest.$ac_objext; then :
2729 ac_retval=0
2730 else
2731 $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 ac_retval=1
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 as_fn_set_status $ac_retval
2739 } # ac_fn_c_try_compile
2741 # ac_fn_cxx_try_compile LINENO
2742 # ----------------------------
2743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2744 ac_fn_cxx_try_compile ()
2746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2747 rm -f conftest.$ac_objext
2748 if { { ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2754 $as_echo "$ac_try_echo"; } >&5
2755 (eval "$ac_compile") 2>conftest.err
2756 ac_status=$?
2757 if test -s conftest.err; then
2758 grep -v '^ *+' conftest.err >conftest.er1
2759 cat conftest.er1 >&5
2760 mv -f conftest.er1 conftest.err
2762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763 test $ac_status = 0; } && {
2764 test -z "$ac_cxx_werror_flag" ||
2765 test ! -s conftest.err
2766 } && test -s conftest.$ac_objext; then :
2767 ac_retval=0
2768 else
2769 $as_echo "$as_me: failed program was:" >&5
2770 sed 's/^/| /' conftest.$ac_ext >&5
2772 ac_retval=1
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2775 as_fn_set_status $ac_retval
2777 } # ac_fn_cxx_try_compile
2779 # ac_fn_c_try_link LINENO
2780 # -----------------------
2781 # Try to link conftest.$ac_ext, and return whether this succeeded.
2782 ac_fn_c_try_link ()
2784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2785 rm -f conftest.$ac_objext conftest$ac_exeext
2786 if { { ac_try="$ac_link"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_link") 2>conftest.err
2794 ac_status=$?
2795 if test -s conftest.err; then
2796 grep -v '^ *+' conftest.err >conftest.er1
2797 cat conftest.er1 >&5
2798 mv -f conftest.er1 conftest.err
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest$ac_exeext && {
2805 test "$cross_compiling" = yes ||
2806 test -x conftest$ac_exeext
2807 }; then :
2808 ac_retval=0
2809 else
2810 $as_echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 ac_retval=1
2815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2817 # interfere with the next link command; also delete a directory that is
2818 # left behind by Apple's compiler. We do this before executing the actions.
2819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 as_fn_set_status $ac_retval
2823 } # ac_fn_c_try_link
2825 # ac_fn_c_try_cpp LINENO
2826 # ----------------------
2827 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2828 ac_fn_c_try_cpp ()
2830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2831 if { { ac_try="$ac_cpp conftest.$ac_ext"
2832 case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2835 esac
2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837 $as_echo "$ac_try_echo"; } >&5
2838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2839 ac_status=$?
2840 if test -s conftest.err; then
2841 grep -v '^ *+' conftest.err >conftest.er1
2842 cat conftest.er1 >&5
2843 mv -f conftest.er1 conftest.err
2845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; } > conftest.i && {
2847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2848 test ! -s conftest.err
2849 }; then :
2850 ac_retval=0
2851 else
2852 $as_echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 ac_retval=1
2857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2858 as_fn_set_status $ac_retval
2860 } # ac_fn_c_try_cpp
2862 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2863 # -------------------------------------------------------
2864 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2865 # the include files in INCLUDES and setting the cache variable VAR
2866 # accordingly.
2867 ac_fn_c_check_header_mongrel ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 if eval \${$3+:} false; then :
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2872 $as_echo_n "checking for $2... " >&6; }
2873 if eval \${$3+:} false; then :
2874 $as_echo_n "(cached) " >&6
2876 eval ac_res=\$$3
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 $as_echo "$ac_res" >&6; }
2879 else
2880 # Is the header compilable?
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2882 $as_echo_n "checking $2 usability... " >&6; }
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2886 #include <$2>
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 ac_header_compiler=yes
2890 else
2891 ac_header_compiler=no
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2895 $as_echo "$ac_header_compiler" >&6; }
2897 # Is the header present?
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2899 $as_echo_n "checking $2 presence... " >&6; }
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2902 #include <$2>
2903 _ACEOF
2904 if ac_fn_c_try_cpp "$LINENO"; then :
2905 ac_header_preproc=yes
2906 else
2907 ac_header_preproc=no
2909 rm -f conftest.err conftest.i conftest.$ac_ext
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2911 $as_echo "$ac_header_preproc" >&6; }
2913 # So? What about this header?
2914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2915 yes:no: )
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2917 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2919 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2921 no:yes:* )
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2923 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2925 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2927 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2929 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2931 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2932 ( $as_echo "## ------------------------------------ ##
2933 ## Report this to wine-devel@winehq.org ##
2934 ## ------------------------------------ ##"
2935 ) | sed "s/^/$as_me: WARNING: /" >&2
2937 esac
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2939 $as_echo_n "checking for $2... " >&6; }
2940 if eval \${$3+:} false; then :
2941 $as_echo_n "(cached) " >&6
2942 else
2943 eval "$3=\$ac_header_compiler"
2945 eval ac_res=\$$3
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2947 $as_echo "$ac_res" >&6; }
2949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 } # ac_fn_c_check_header_mongrel
2953 # ac_fn_c_try_run LINENO
2954 # ----------------------
2955 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2956 # that executables *can* be run.
2957 ac_fn_c_try_run ()
2959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2960 if { { ac_try="$ac_link"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2966 $as_echo "$ac_try_echo"; } >&5
2967 (eval "$ac_link") 2>&5
2968 ac_status=$?
2969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2970 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2971 { { case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 $as_echo "$ac_try_echo"; } >&5
2977 (eval "$ac_try") 2>&5
2978 ac_status=$?
2979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2980 test $ac_status = 0; }; }; then :
2981 ac_retval=0
2982 else
2983 $as_echo "$as_me: program exited with status $ac_status" >&5
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2987 ac_retval=$ac_status
2989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 as_fn_set_status $ac_retval
2993 } # ac_fn_c_try_run
2995 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2996 # -------------------------------------------------------
2997 # Tests whether HEADER exists and can be compiled using the include files in
2998 # INCLUDES, setting the cache variable VAR accordingly.
2999 ac_fn_c_check_header_compile ()
3001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3003 $as_echo_n "checking for $2... " >&6; }
3004 if eval \${$3+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3010 #include <$2>
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 eval "$3=yes"
3014 else
3015 eval "$3=no"
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 eval ac_res=\$$3
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3021 $as_echo "$ac_res" >&6; }
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3024 } # ac_fn_c_check_header_compile
3026 # ac_fn_objc_try_compile LINENO
3027 # -----------------------------
3028 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3029 ac_fn_objc_try_compile ()
3031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3032 rm -f conftest.$ac_objext
3033 if { { ac_try="$ac_compile"
3034 case "(($ac_try" in
3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3037 esac
3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_compile") 2>conftest.err
3041 ac_status=$?
3042 if test -s conftest.err; then
3043 grep -v '^ *+' conftest.err >conftest.er1
3044 cat conftest.er1 >&5
3045 mv -f conftest.er1 conftest.err
3047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048 test $ac_status = 0; } && {
3049 test -z "$ac_objc_werror_flag" ||
3050 test ! -s conftest.err
3051 } && test -s conftest.$ac_objext; then :
3052 ac_retval=0
3053 else
3054 $as_echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3057 ac_retval=1
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 as_fn_set_status $ac_retval
3062 } # ac_fn_objc_try_compile
3064 # ac_fn_objc_try_cpp LINENO
3065 # -------------------------
3066 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3067 ac_fn_objc_try_cpp ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 if { { ac_try="$ac_cpp conftest.$ac_ext"
3071 case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3078 ac_status=$?
3079 if test -s conftest.err; then
3080 grep -v '^ *+' conftest.err >conftest.er1
3081 cat conftest.er1 >&5
3082 mv -f conftest.er1 conftest.err
3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3085 test $ac_status = 0; } > conftest.i && {
3086 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3087 test ! -s conftest.err
3088 }; then :
3089 ac_retval=0
3090 else
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3094 ac_retval=1
3096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3097 as_fn_set_status $ac_retval
3099 } # ac_fn_objc_try_cpp
3101 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3102 # ----------------------------------------------------------
3103 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3104 # the include files in INCLUDES and setting the cache variable VAR
3105 # accordingly.
3106 ac_fn_objc_check_header_mongrel ()
3108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3109 if eval \${$3+:} false; then :
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3111 $as_echo_n "checking for $2... " >&6; }
3112 if eval \${$3+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 eval ac_res=\$$3
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3117 $as_echo "$ac_res" >&6; }
3118 else
3119 # Is the header compilable?
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3121 $as_echo_n "checking $2 usability... " >&6; }
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3125 #include <$2>
3126 _ACEOF
3127 if ac_fn_objc_try_compile "$LINENO"; then :
3128 ac_header_compiler=yes
3129 else
3130 ac_header_compiler=no
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3134 $as_echo "$ac_header_compiler" >&6; }
3136 # Is the header present?
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3138 $as_echo_n "checking $2 presence... " >&6; }
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3141 #include <$2>
3142 _ACEOF
3143 if ac_fn_objc_try_cpp "$LINENO"; then :
3144 ac_header_preproc=yes
3145 else
3146 ac_header_preproc=no
3148 rm -f conftest.err conftest.i conftest.$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3150 $as_echo "$ac_header_preproc" >&6; }
3152 # So? What about this header?
3153 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3154 yes:no: )
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3156 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3158 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3160 no:yes:* )
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3162 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3164 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3166 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3168 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3170 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3171 ( $as_echo "## ------------------------------------ ##
3172 ## Report this to wine-devel@winehq.org ##
3173 ## ------------------------------------ ##"
3174 ) | sed "s/^/$as_me: WARNING: /" >&2
3176 esac
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3178 $as_echo_n "checking for $2... " >&6; }
3179 if eval \${$3+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 eval "$3=\$ac_header_compiler"
3184 eval ac_res=\$$3
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3186 $as_echo "$ac_res" >&6; }
3188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 } # ac_fn_objc_check_header_mongrel
3192 # ac_fn_c_check_func LINENO FUNC VAR
3193 # ----------------------------------
3194 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3195 ac_fn_c_check_func ()
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3199 $as_echo_n "checking for $2... " >&6; }
3200 if eval \${$3+:} false; then :
3201 $as_echo_n "(cached) " >&6
3202 else
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3205 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3207 #define $2 innocuous_$2
3209 /* System header to define __stub macros and hopefully few prototypes,
3210 which can conflict with char $2 (); below.
3211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3212 <limits.h> exists even on freestanding compilers. */
3214 #ifdef __STDC__
3215 # include <limits.h>
3216 #else
3217 # include <assert.h>
3218 #endif
3220 #undef $2
3222 /* Override any GCC internal prototype to avoid an error.
3223 Use char because int might match the return type of a GCC
3224 builtin and then its argument prototype would still apply. */
3225 #ifdef __cplusplus
3226 extern "C"
3227 #endif
3228 char $2 ();
3229 /* The GNU C library defines this for functions which it implements
3230 to always fail with ENOSYS. Some functions are actually named
3231 something starting with __ and the normal name is an alias. */
3232 #if defined __stub_$2 || defined __stub___$2
3233 choke me
3234 #endif
3237 main ()
3239 return $2 ();
3241 return 0;
3243 _ACEOF
3244 if ac_fn_c_try_link "$LINENO"; then :
3245 eval "$3=yes"
3246 else
3247 eval "$3=no"
3249 rm -f core conftest.err conftest.$ac_objext \
3250 conftest$ac_exeext conftest.$ac_ext
3252 eval ac_res=\$$3
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3254 $as_echo "$ac_res" >&6; }
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3257 } # ac_fn_c_check_func
3259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3260 # ----------------------------------------------------
3261 # Tries to find if the field MEMBER exists in type AGGR, after including
3262 # INCLUDES, setting cache variable VAR accordingly.
3263 ac_fn_c_check_member ()
3265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3267 $as_echo_n "checking for $2.$3... " >&6; }
3268 if eval \${$4+:} false; then :
3269 $as_echo_n "(cached) " >&6
3270 else
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3275 main ()
3277 static $2 ac_aggr;
3278 if (ac_aggr.$3)
3279 return 0;
3281 return 0;
3283 _ACEOF
3284 if ac_fn_c_try_compile "$LINENO"; then :
3285 eval "$4=yes"
3286 else
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3291 main ()
3293 static $2 ac_aggr;
3294 if (sizeof ac_aggr.$3)
3295 return 0;
3297 return 0;
3299 _ACEOF
3300 if ac_fn_c_try_compile "$LINENO"; then :
3301 eval "$4=yes"
3302 else
3303 eval "$4=no"
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 eval ac_res=\$$4
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3311 $as_echo "$ac_res" >&6; }
3312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3314 } # ac_fn_c_check_member
3316 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3317 # -------------------------------------------
3318 # Tests whether TYPE exists after having included INCLUDES, setting cache
3319 # variable VAR accordingly.
3320 ac_fn_c_check_type ()
3322 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3324 $as_echo_n "checking for $2... " >&6; }
3325 if eval \${$3+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 eval "$3=no"
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3333 main ()
3335 if (sizeof ($2))
3336 return 0;
3338 return 0;
3340 _ACEOF
3341 if ac_fn_c_try_compile "$LINENO"; then :
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3348 if (sizeof (($2)))
3349 return 0;
3351 return 0;
3353 _ACEOF
3354 if ac_fn_c_try_compile "$LINENO"; then :
3356 else
3357 eval "$3=yes"
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 eval ac_res=\$$3
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3365 $as_echo "$ac_res" >&6; }
3366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3368 } # ac_fn_c_check_type
3369 cat >config.log <<_ACEOF
3370 This file contains any messages produced by compilers while
3371 running configure, to aid debugging if configure makes a mistake.
3373 It was created by Wine $as_me 3.14, which was
3374 generated by GNU Autoconf 2.69. Invocation command line was
3376 $ $0 $@
3378 _ACEOF
3379 exec 5>>config.log
3381 cat <<_ASUNAME
3382 ## --------- ##
3383 ## Platform. ##
3384 ## --------- ##
3386 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3387 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3388 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3389 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3390 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3392 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3393 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3395 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3396 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3397 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3398 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3399 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3400 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3401 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3403 _ASUNAME
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 $as_echo "PATH: $as_dir"
3411 done
3412 IFS=$as_save_IFS
3414 } >&5
3416 cat >&5 <<_ACEOF
3419 ## ----------- ##
3420 ## Core tests. ##
3421 ## ----------- ##
3423 _ACEOF
3426 # Keep a trace of the command line.
3427 # Strip out --no-create and --no-recursion so they do not pile up.
3428 # Strip out --silent because we don't want to record it for future runs.
3429 # Also quote any args containing shell meta-characters.
3430 # Make two passes to allow for proper duplicate-argument suppression.
3431 ac_configure_args=
3432 ac_configure_args0=
3433 ac_configure_args1=
3434 ac_must_keep_next=false
3435 for ac_pass in 1 2
3437 for ac_arg
3439 case $ac_arg in
3440 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3442 | -silent | --silent | --silen | --sile | --sil)
3443 continue ;;
3444 *\'*)
3445 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3446 esac
3447 case $ac_pass in
3448 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3450 as_fn_append ac_configure_args1 " '$ac_arg'"
3451 if test $ac_must_keep_next = true; then
3452 ac_must_keep_next=false # Got value, back to normal.
3453 else
3454 case $ac_arg in
3455 *=* | --config-cache | -C | -disable-* | --disable-* \
3456 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3457 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3458 | -with-* | --with-* | -without-* | --without-* | --x)
3459 case "$ac_configure_args0 " in
3460 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3461 esac
3463 -* ) ac_must_keep_next=true ;;
3464 esac
3466 as_fn_append ac_configure_args " '$ac_arg'"
3468 esac
3469 done
3470 done
3471 { ac_configure_args0=; unset ac_configure_args0;}
3472 { ac_configure_args1=; unset ac_configure_args1;}
3474 # When interrupted or exit'd, cleanup temporary files, and complete
3475 # config.log. We remove comments because anyway the quotes in there
3476 # would cause problems or look ugly.
3477 # WARNING: Use '\'' to represent an apostrophe within the trap.
3478 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3479 trap 'exit_status=$?
3480 # Save into config.log some information that might help in debugging.
3482 echo
3484 $as_echo "## ---------------- ##
3485 ## Cache variables. ##
3486 ## ---------------- ##"
3487 echo
3488 # The following way of writing the cache mishandles newlines in values,
3490 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3491 eval ac_val=\$$ac_var
3492 case $ac_val in #(
3493 *${as_nl}*)
3494 case $ac_var in #(
3495 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3496 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3497 esac
3498 case $ac_var in #(
3499 _ | IFS | as_nl) ;; #(
3500 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3501 *) { eval $ac_var=; unset $ac_var;} ;;
3502 esac ;;
3503 esac
3504 done
3505 (set) 2>&1 |
3506 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3507 *${as_nl}ac_space=\ *)
3508 sed -n \
3509 "s/'\''/'\''\\\\'\'''\''/g;
3510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3511 ;; #(
3513 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3515 esac |
3516 sort
3518 echo
3520 $as_echo "## ----------------- ##
3521 ## Output variables. ##
3522 ## ----------------- ##"
3523 echo
3524 for ac_var in $ac_subst_vars
3526 eval ac_val=\$$ac_var
3527 case $ac_val in
3528 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3529 esac
3530 $as_echo "$ac_var='\''$ac_val'\''"
3531 done | sort
3532 echo
3534 if test -n "$ac_subst_files"; then
3535 $as_echo "## ------------------- ##
3536 ## File substitutions. ##
3537 ## ------------------- ##"
3538 echo
3539 for ac_var in $ac_subst_files
3541 eval ac_val=\$$ac_var
3542 case $ac_val in
3543 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3544 esac
3545 $as_echo "$ac_var='\''$ac_val'\''"
3546 done | sort
3547 echo
3550 if test -s confdefs.h; then
3551 $as_echo "## ----------- ##
3552 ## confdefs.h. ##
3553 ## ----------- ##"
3554 echo
3555 cat confdefs.h
3556 echo
3558 test "$ac_signal" != 0 &&
3559 $as_echo "$as_me: caught signal $ac_signal"
3560 $as_echo "$as_me: exit $exit_status"
3561 } >&5
3562 rm -f core *.core core.conftest.* &&
3563 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3564 exit $exit_status
3566 for ac_signal in 1 2 13 15; do
3567 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3568 done
3569 ac_signal=0
3571 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3572 rm -f -r conftest* confdefs.h
3574 $as_echo "/* confdefs.h */" > confdefs.h
3576 # Predefined preprocessor variables.
3578 cat >>confdefs.h <<_ACEOF
3579 #define PACKAGE_NAME "$PACKAGE_NAME"
3580 _ACEOF
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3584 _ACEOF
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3588 _ACEOF
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_STRING "$PACKAGE_STRING"
3592 _ACEOF
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3596 _ACEOF
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_URL "$PACKAGE_URL"
3600 _ACEOF
3603 # Let the site file select an alternate cache file if it wants to.
3604 # Prefer an explicitly selected file to automatically selected ones.
3605 ac_site_file1=NONE
3606 ac_site_file2=NONE
3607 if test -n "$CONFIG_SITE"; then
3608 # We do not want a PATH search for config.site.
3609 case $CONFIG_SITE in #((
3610 -*) ac_site_file1=./$CONFIG_SITE;;
3611 */*) ac_site_file1=$CONFIG_SITE;;
3612 *) ac_site_file1=./$CONFIG_SITE;;
3613 esac
3614 elif test "x$prefix" != xNONE; then
3615 ac_site_file1=$prefix/share/config.site
3616 ac_site_file2=$prefix/etc/config.site
3617 else
3618 ac_site_file1=$ac_default_prefix/share/config.site
3619 ac_site_file2=$ac_default_prefix/etc/config.site
3621 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3623 test "x$ac_site_file" = xNONE && continue
3624 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3626 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3627 sed 's/^/| /' "$ac_site_file" >&5
3628 . "$ac_site_file" \
3629 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $? "failed to load site script $ac_site_file
3632 See \`config.log' for more details" "$LINENO" 5; }
3634 done
3636 if test -r "$cache_file"; then
3637 # Some versions of bash will fail to source /dev/null (special files
3638 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3639 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3641 $as_echo "$as_me: loading cache $cache_file" >&6;}
3642 case $cache_file in
3643 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3644 *) . "./$cache_file";;
3645 esac
3647 else
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3649 $as_echo "$as_me: creating cache $cache_file" >&6;}
3650 >$cache_file
3653 # Check that the precious variables saved in the cache have kept the same
3654 # value.
3655 ac_cache_corrupted=false
3656 for ac_var in $ac_precious_vars; do
3657 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3658 eval ac_new_set=\$ac_env_${ac_var}_set
3659 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3660 eval ac_new_val=\$ac_env_${ac_var}_value
3661 case $ac_old_set,$ac_new_set in
3662 set,)
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3664 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3665 ac_cache_corrupted=: ;;
3666 ,set)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3668 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3669 ac_cache_corrupted=: ;;
3670 ,);;
3672 if test "x$ac_old_val" != "x$ac_new_val"; then
3673 # differences in whitespace do not lead to failure.
3674 ac_old_val_w=`echo x $ac_old_val`
3675 ac_new_val_w=`echo x $ac_new_val`
3676 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3678 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3679 ac_cache_corrupted=:
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3682 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3683 eval $ac_var=\$ac_old_val
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3686 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3688 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3689 fi;;
3690 esac
3691 # Pass precious variables to config.status.
3692 if test "$ac_new_set" = set; then
3693 case $ac_new_val in
3694 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3695 *) ac_arg=$ac_var=$ac_new_val ;;
3696 esac
3697 case " $ac_configure_args " in
3698 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3699 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3700 esac
3702 done
3703 if $ac_cache_corrupted; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3707 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3708 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3710 ## -------------------- ##
3711 ## Main body of script. ##
3712 ## -------------------- ##
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722 ac_config_headers="$ac_config_headers include/config.h"
3724 ac_aux_dir=
3725 for ac_dir in tools "$srcdir"/tools; do
3726 if test -f "$ac_dir/install-sh"; then
3727 ac_aux_dir=$ac_dir
3728 ac_install_sh="$ac_aux_dir/install-sh -c"
3729 break
3730 elif test -f "$ac_dir/install.sh"; then
3731 ac_aux_dir=$ac_dir
3732 ac_install_sh="$ac_aux_dir/install.sh -c"
3733 break
3734 elif test -f "$ac_dir/shtool"; then
3735 ac_aux_dir=$ac_dir
3736 ac_install_sh="$ac_aux_dir/shtool install -c"
3737 break
3739 done
3740 if test -z "$ac_aux_dir"; then
3741 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3744 # These three variables are undocumented and unsupported,
3745 # and are intended to be withdrawn in a future Autoconf release.
3746 # They can cause serious problems if a builder's source tree is in a directory
3747 # whose full name contains unusual characters.
3748 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3749 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3750 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3754 libwine_version="1.0"
3758 # Check whether --enable-win16 was given.
3759 if test "${enable_win16+set}" = set; then :
3760 enableval=$enable_win16;
3763 # Check whether --enable-win64 was given.
3764 if test "${enable_win64+set}" = set; then :
3765 enableval=$enable_win64;
3768 # Check whether --enable-tests was given.
3769 if test "${enable_tests+set}" = set; then :
3770 enableval=$enable_tests;
3773 # Check whether --enable-maintainer-mode was given.
3774 if test "${enable_maintainer_mode+set}" = set; then :
3775 enableval=$enable_maintainer_mode;
3780 # Check whether --with-alsa was given.
3781 if test "${with_alsa+set}" = set; then :
3782 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3786 # Check whether --with-capi was given.
3787 if test "${with_capi+set}" = set; then :
3788 withval=$with_capi;
3792 # Check whether --with-cms was given.
3793 if test "${with_cms+set}" = set; then :
3794 withval=$with_cms;
3798 # Check whether --with-coreaudio was given.
3799 if test "${with_coreaudio+set}" = set; then :
3800 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3804 # Check whether --with-cups was given.
3805 if test "${with_cups+set}" = set; then :
3806 withval=$with_cups;
3810 # Check whether --with-curses was given.
3811 if test "${with_curses+set}" = set; then :
3812 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3816 # Check whether --with-dbus was given.
3817 if test "${with_dbus+set}" = set; then :
3818 withval=$with_dbus;
3822 # Check whether --with-float-abi was given.
3823 if test "${with_float_abi+set}" = set; then :
3824 withval=$with_float_abi;
3828 # Check whether --with-fontconfig was given.
3829 if test "${with_fontconfig+set}" = set; then :
3830 withval=$with_fontconfig;
3834 # Check whether --with-freetype was given.
3835 if test "${with_freetype+set}" = set; then :
3836 withval=$with_freetype;
3840 # Check whether --with-gettext was given.
3841 if test "${with_gettext+set}" = set; then :
3842 withval=$with_gettext;
3846 # Check whether --with-gettextpo was given.
3847 if test "${with_gettextpo+set}" = set; then :
3848 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3852 # Check whether --with-gphoto was given.
3853 if test "${with_gphoto+set}" = set; then :
3854 withval=$with_gphoto;
3858 # Check whether --with-glu was given.
3859 if test "${with_glu+set}" = set; then :
3860 withval=$with_glu;
3864 # Check whether --with-gnutls was given.
3865 if test "${with_gnutls+set}" = set; then :
3866 withval=$with_gnutls;
3870 # Check whether --with-gsm was given.
3871 if test "${with_gsm+set}" = set; then :
3872 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3876 # Check whether --with-gssapi was given.
3877 if test "${with_gssapi+set}" = set; then :
3878 withval=$with_gssapi;
3882 # Check whether --with-gstreamer was given.
3883 if test "${with_gstreamer+set}" = set; then :
3884 withval=$with_gstreamer;
3888 # Check whether --with-hal was given.
3889 if test "${with_hal+set}" = set; then :
3890 withval=$with_hal;
3894 # Check whether --with-jpeg was given.
3895 if test "${with_jpeg+set}" = set; then :
3896 withval=$with_jpeg;
3900 # Check whether --with-krb5 was given.
3901 if test "${with_krb5+set}" = set; then :
3902 withval=$with_krb5;
3906 # Check whether --with-ldap was given.
3907 if test "${with_ldap+set}" = set; then :
3908 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3912 # Check whether --with-mpg123 was given.
3913 if test "${with_mpg123+set}" = set; then :
3914 withval=$with_mpg123;
3918 # Check whether --with-netapi was given.
3919 if test "${with_netapi+set}" = set; then :
3920 withval=$with_netapi;
3924 # Check whether --with-openal was given.
3925 if test "${with_openal+set}" = set; then :
3926 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3930 # Check whether --with-opencl was given.
3931 if test "${with_opencl+set}" = set; then :
3932 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3936 # Check whether --with-opengl was given.
3937 if test "${with_opengl+set}" = set; then :
3938 withval=$with_opengl;
3942 # Check whether --with-osmesa was given.
3943 if test "${with_osmesa+set}" = set; then :
3944 withval=$with_osmesa;
3948 # Check whether --with-oss was given.
3949 if test "${with_oss+set}" = set; then :
3950 withval=$with_oss;
3954 # Check whether --with-pcap was given.
3955 if test "${with_pcap+set}" = set; then :
3956 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3960 # Check whether --with-png was given.
3961 if test "${with_png+set}" = set; then :
3962 withval=$with_png;
3966 # Check whether --with-pthread was given.
3967 if test "${with_pthread+set}" = set; then :
3968 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3972 # Check whether --with-pulse was given.
3973 if test "${with_pulse+set}" = set; then :
3974 withval=$with_pulse;
3978 # Check whether --with-sane was given.
3979 if test "${with_sane+set}" = set; then :
3980 withval=$with_sane;
3984 # Check whether --with-sdl was given.
3985 if test "${with_sdl+set}" = set; then :
3986 withval=$with_sdl;
3990 # Check whether --with-tiff was given.
3991 if test "${with_tiff+set}" = set; then :
3992 withval=$with_tiff;
3996 # Check whether --with-udev was given.
3997 if test "${with_udev+set}" = set; then :
3998 withval=$with_udev;
4002 # Check whether --with-v4l was given.
4003 if test "${with_v4l+set}" = set; then :
4004 withval=$with_v4l;
4008 # Check whether --with-vkd3d was given.
4009 if test "${with_vkd3d+set}" = set; then :
4010 withval=$with_vkd3d;
4014 # Check whether --with-vulkan was given.
4015 if test "${with_vulkan+set}" = set; then :
4016 withval=$with_vulkan;
4020 # Check whether --with-xcomposite was given.
4021 if test "${with_xcomposite+set}" = set; then :
4022 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4026 # Check whether --with-xcursor was given.
4027 if test "${with_xcursor+set}" = set; then :
4028 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4032 # Check whether --with-xfixes was given.
4033 if test "${with_xfixes+set}" = set; then :
4034 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4038 # Check whether --with-xinerama was given.
4039 if test "${with_xinerama+set}" = set; then :
4040 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4044 # Check whether --with-xinput was given.
4045 if test "${with_xinput+set}" = set; then :
4046 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4050 # Check whether --with-xinput2 was given.
4051 if test "${with_xinput2+set}" = set; then :
4052 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4056 # Check whether --with-xml was given.
4057 if test "${with_xml+set}" = set; then :
4058 withval=$with_xml;
4062 # Check whether --with-xrandr was given.
4063 if test "${with_xrandr+set}" = set; then :
4064 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4068 # Check whether --with-xrender was given.
4069 if test "${with_xrender+set}" = set; then :
4070 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4074 # Check whether --with-xshape was given.
4075 if test "${with_xshape+set}" = set; then :
4076 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4080 # Check whether --with-xshm was given.
4081 if test "${with_xshm+set}" = set; then :
4082 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4086 # Check whether --with-xslt was given.
4087 if test "${with_xslt+set}" = set; then :
4088 withval=$with_xslt;
4092 # Check whether --with-xxf86vm was given.
4093 if test "${with_xxf86vm+set}" = set; then :
4094 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
4098 # Check whether --with-zlib was given.
4099 if test "${with_zlib+set}" = set; then :
4100 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4105 # Check whether --with-wine-tools was given.
4106 if test "${with_wine_tools+set}" = set; then :
4107 withval=$with_wine_tools;
4111 # Check whether --with-wine64 was given.
4112 if test "${with_wine64+set}" = set; then :
4113 withval=$with_wine64;
4117 # Make sure we can run config.sub.
4118 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4119 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4122 $as_echo_n "checking build system type... " >&6; }
4123 if ${ac_cv_build+:} false; then :
4124 $as_echo_n "(cached) " >&6
4125 else
4126 ac_build_alias=$build_alias
4127 test "x$ac_build_alias" = x &&
4128 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4129 test "x$ac_build_alias" = x &&
4130 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4131 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4132 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4136 $as_echo "$ac_cv_build" >&6; }
4137 case $ac_cv_build in
4138 *-*-*) ;;
4139 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4140 esac
4141 build=$ac_cv_build
4142 ac_save_IFS=$IFS; IFS='-'
4143 set x $ac_cv_build
4144 shift
4145 build_cpu=$1
4146 build_vendor=$2
4147 shift; shift
4148 # Remember, the first character of IFS is used to create $*,
4149 # except with old shells:
4150 build_os=$*
4151 IFS=$ac_save_IFS
4152 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4156 $as_echo_n "checking host system type... " >&6; }
4157 if ${ac_cv_host+:} false; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 if test "x$host_alias" = x; then
4161 ac_cv_host=$ac_cv_build
4162 else
4163 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4164 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4169 $as_echo "$ac_cv_host" >&6; }
4170 case $ac_cv_host in
4171 *-*-*) ;;
4172 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4173 esac
4174 host=$ac_cv_host
4175 ac_save_IFS=$IFS; IFS='-'
4176 set x $ac_cv_host
4177 shift
4178 host_cpu=$1
4179 host_vendor=$2
4180 shift; shift
4181 # Remember, the first character of IFS is used to create $*,
4182 # except with old shells:
4183 host_os=$*
4184 IFS=$ac_save_IFS
4185 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4189 case "$srcdir" in
4190 .) ;;
4191 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4192 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4193 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4194 fi ;;
4195 esac
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4199 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4200 set x ${MAKE-make}
4201 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4202 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 cat >conftest.make <<\_ACEOF
4206 SHELL = /bin/sh
4207 all:
4208 @echo '@@@%%%=$(MAKE)=@@@%%%'
4209 _ACEOF
4210 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4211 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4212 *@@@%%%=?*=@@@%%%*)
4213 eval ac_cv_prog_make_${ac_make}_set=yes;;
4215 eval ac_cv_prog_make_${ac_make}_set=no;;
4216 esac
4217 rm -f conftest.make
4219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4221 $as_echo "yes" >&6; }
4222 SET_MAKE=
4223 else
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4226 SET_MAKE="MAKE=${MAKE-make}"
4229 ac_ext=c
4230 ac_cpp='$CPP $CPPFLAGS'
4231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4234 if test -n "$ac_tool_prefix"; then
4235 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4236 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238 $as_echo_n "checking for $ac_word... " >&6; }
4239 if ${ac_cv_prog_CC+:} false; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 if test -n "$CC"; then
4243 ac_cv_prog_CC="$CC" # Let the user override the test.
4244 else
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH
4248 IFS=$as_save_IFS
4249 test -z "$as_dir" && as_dir=.
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 break 2
4256 done
4257 done
4258 IFS=$as_save_IFS
4262 CC=$ac_cv_prog_CC
4263 if test -n "$CC"; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4265 $as_echo "$CC" >&6; }
4266 else
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4273 if test -z "$ac_cv_prog_CC"; then
4274 ac_ct_CC=$CC
4275 # Extract the first word of "gcc", so it can be a program name with args.
4276 set dummy gcc; ac_word=$2
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278 $as_echo_n "checking for $ac_word... " >&6; }
4279 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 if test -n "$ac_ct_CC"; then
4283 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4284 else
4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286 for as_dir in $PATH
4288 IFS=$as_save_IFS
4289 test -z "$as_dir" && as_dir=.
4290 for ac_exec_ext in '' $ac_executable_extensions; do
4291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4292 ac_cv_prog_ac_ct_CC="gcc"
4293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 break 2
4296 done
4297 done
4298 IFS=$as_save_IFS
4302 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4303 if test -n "$ac_ct_CC"; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4305 $as_echo "$ac_ct_CC" >&6; }
4306 else
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 $as_echo "no" >&6; }
4311 if test "x$ac_ct_CC" = x; then
4312 CC=""
4313 else
4314 case $cross_compiling:$ac_tool_warned in
4315 yes:)
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4318 ac_tool_warned=yes ;;
4319 esac
4320 CC=$ac_ct_CC
4322 else
4323 CC="$ac_cv_prog_CC"
4326 if test -z "$CC"; then
4327 if test -n "$ac_tool_prefix"; then
4328 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4329 set dummy ${ac_tool_prefix}cc; ac_word=$2
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4331 $as_echo_n "checking for $ac_word... " >&6; }
4332 if ${ac_cv_prog_CC+:} false; then :
4333 $as_echo_n "(cached) " >&6
4334 else
4335 if test -n "$CC"; then
4336 ac_cv_prog_CC="$CC" # Let the user override the test.
4337 else
4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4339 for as_dir in $PATH
4341 IFS=$as_save_IFS
4342 test -z "$as_dir" && as_dir=.
4343 for ac_exec_ext in '' $ac_executable_extensions; do
4344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4345 ac_cv_prog_CC="${ac_tool_prefix}cc"
4346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 break 2
4349 done
4350 done
4351 IFS=$as_save_IFS
4355 CC=$ac_cv_prog_CC
4356 if test -n "$CC"; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4358 $as_echo "$CC" >&6; }
4359 else
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4361 $as_echo "no" >&6; }
4367 if test -z "$CC"; then
4368 # Extract the first word of "cc", so it can be a program name with args.
4369 set dummy cc; ac_word=$2
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if ${ac_cv_prog_CC+:} false; then :
4373 $as_echo_n "(cached) " >&6
4374 else
4375 if test -n "$CC"; then
4376 ac_cv_prog_CC="$CC" # Let the user override the test.
4377 else
4378 ac_prog_rejected=no
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4387 ac_prog_rejected=yes
4388 continue
4390 ac_cv_prog_CC="cc"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 break 2
4394 done
4395 done
4396 IFS=$as_save_IFS
4398 if test $ac_prog_rejected = yes; then
4399 # We found a bogon in the path, so make sure we never use it.
4400 set dummy $ac_cv_prog_CC
4401 shift
4402 if test $# != 0; then
4403 # We chose a different compiler from the bogus one.
4404 # However, it has the same basename, so the bogon will be chosen
4405 # first if we set CC to just the basename; use the full file name.
4406 shift
4407 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4412 CC=$ac_cv_prog_CC
4413 if test -n "$CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4415 $as_echo "$CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4423 if test -z "$CC"; then
4424 if test -n "$ac_tool_prefix"; then
4425 for ac_prog in cl.exe
4427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_prog_CC+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 if test -n "$CC"; then
4435 ac_cv_prog_CC="$CC" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4440 IFS=$as_save_IFS
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 break 2
4448 done
4449 done
4450 IFS=$as_save_IFS
4454 CC=$ac_cv_prog_CC
4455 if test -n "$CC"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4457 $as_echo "$CC" >&6; }
4458 else
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4464 test -n "$CC" && break
4465 done
4467 if test -z "$CC"; then
4468 ac_ct_CC=$CC
4469 for ac_prog in cl.exe
4471 # Extract the first word of "$ac_prog", so it can be a program name with args.
4472 set dummy $ac_prog; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$ac_ct_CC"; then
4479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_ac_ct_CC="$ac_prog"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4499 if test -n "$ac_ct_CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4501 $as_echo "$ac_ct_CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 test -n "$ac_ct_CC" && break
4509 done
4511 if test "x$ac_ct_CC" = x; then
4512 CC=""
4513 else
4514 case $cross_compiling:$ac_tool_warned in
4515 yes:)
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4518 ac_tool_warned=yes ;;
4519 esac
4520 CC=$ac_ct_CC
4527 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4529 as_fn_error $? "no acceptable C compiler found in \$PATH
4530 See \`config.log' for more details" "$LINENO" 5; }
4532 # Provide some information about the compiler.
4533 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4534 set X $ac_compile
4535 ac_compiler=$2
4536 for ac_option in --version -v -V -qversion; do
4537 { { ac_try="$ac_compiler $ac_option >&5"
4538 case "(($ac_try" in
4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4541 esac
4542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4543 $as_echo "$ac_try_echo"; } >&5
4544 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4545 ac_status=$?
4546 if test -s conftest.err; then
4547 sed '10a\
4548 ... rest of stderr output deleted ...
4549 10q' conftest.err >conftest.er1
4550 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4554 test $ac_status = 0; }
4555 done
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4565 return 0;
4567 _ACEOF
4568 ac_clean_files_save=$ac_clean_files
4569 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4570 # Try to create an executable without -o first, disregard a.out.
4571 # It will help us diagnose broken compilers, and finding out an intuition
4572 # of exeext.
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4574 $as_echo_n "checking whether the C compiler works... " >&6; }
4575 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4577 # The possible output files:
4578 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4580 ac_rmfiles=
4581 for ac_file in $ac_files
4583 case $ac_file in
4584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4585 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4586 esac
4587 done
4588 rm -f $ac_rmfiles
4590 if { { ac_try="$ac_link_default"
4591 case "(($ac_try" in
4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593 *) ac_try_echo=$ac_try;;
4594 esac
4595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4596 $as_echo "$ac_try_echo"; } >&5
4597 (eval "$ac_link_default") 2>&5
4598 ac_status=$?
4599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600 test $ac_status = 0; }; then :
4601 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4602 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4603 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4604 # so that the user can short-circuit this test for compilers unknown to
4605 # Autoconf.
4606 for ac_file in $ac_files ''
4608 test -f "$ac_file" || continue
4609 case $ac_file in
4610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4612 [ab].out )
4613 # We found the default executable, but exeext='' is most
4614 # certainly right.
4615 break;;
4616 *.* )
4617 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4618 then :; else
4619 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4621 # We set ac_cv_exeext here because the later test for it is not
4622 # safe: cross compilers may not add the suffix if given an `-o'
4623 # argument, so we may need to know it at that point already.
4624 # Even if this section looks crufty: it has the advantage of
4625 # actually working.
4626 break;;
4628 break;;
4629 esac
4630 done
4631 test "$ac_cv_exeext" = no && ac_cv_exeext=
4633 else
4634 ac_file=''
4636 if test -z "$ac_file"; then :
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4639 $as_echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error 77 "C compiler cannot create executables
4645 See \`config.log' for more details" "$LINENO" 5; }
4646 else
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4648 $as_echo "yes" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4651 $as_echo_n "checking for C compiler default output file name... " >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4653 $as_echo "$ac_file" >&6; }
4654 ac_exeext=$ac_cv_exeext
4656 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4657 ac_clean_files=$ac_clean_files_save
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4659 $as_echo_n "checking for suffix of executables... " >&6; }
4660 if { { ac_try="$ac_link"
4661 case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664 esac
4665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4666 $as_echo "$ac_try_echo"; } >&5
4667 (eval "$ac_link") 2>&5
4668 ac_status=$?
4669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4670 test $ac_status = 0; }; then :
4671 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4672 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4673 # work properly (i.e., refer to `conftest.exe'), while it won't with
4674 # `rm'.
4675 for ac_file in conftest.exe conftest conftest.*; do
4676 test -f "$ac_file" || continue
4677 case $ac_file in
4678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4679 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4680 break;;
4681 * ) break;;
4682 esac
4683 done
4684 else
4685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4687 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4688 See \`config.log' for more details" "$LINENO" 5; }
4690 rm -f conftest conftest$ac_cv_exeext
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4692 $as_echo "$ac_cv_exeext" >&6; }
4694 rm -f conftest.$ac_ext
4695 EXEEXT=$ac_cv_exeext
4696 ac_exeext=$EXEEXT
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4699 #include <stdio.h>
4701 main ()
4703 FILE *f = fopen ("conftest.out", "w");
4704 return ferror (f) || fclose (f) != 0;
4707 return 0;
4709 _ACEOF
4710 ac_clean_files="$ac_clean_files conftest.out"
4711 # Check that the compiler produces executables we can run. If not, either
4712 # the compiler is broken, or we cross compile.
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4714 $as_echo_n "checking whether we are cross compiling... " >&6; }
4715 if test "$cross_compiling" != yes; then
4716 { { ac_try="$ac_link"
4717 case "(($ac_try" in
4718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4719 *) ac_try_echo=$ac_try;;
4720 esac
4721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4722 $as_echo "$ac_try_echo"; } >&5
4723 (eval "$ac_link") 2>&5
4724 ac_status=$?
4725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4726 test $ac_status = 0; }
4727 if { ac_try='./conftest$ac_cv_exeext'
4728 { { case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4733 $as_echo "$ac_try_echo"; } >&5
4734 (eval "$ac_try") 2>&5
4735 ac_status=$?
4736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4737 test $ac_status = 0; }; }; then
4738 cross_compiling=no
4739 else
4740 if test "$cross_compiling" = maybe; then
4741 cross_compiling=yes
4742 else
4743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4745 as_fn_error $? "cannot run C compiled programs.
4746 If you meant to cross compile, use \`--host'.
4747 See \`config.log' for more details" "$LINENO" 5; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4752 $as_echo "$cross_compiling" >&6; }
4754 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4755 ac_clean_files=$ac_clean_files_save
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4757 $as_echo_n "checking for suffix of object files... " >&6; }
4758 if ${ac_cv_objext+:} false; then :
4759 $as_echo_n "(cached) " >&6
4760 else
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4765 main ()
4769 return 0;
4771 _ACEOF
4772 rm -f conftest.o conftest.obj
4773 if { { ac_try="$ac_compile"
4774 case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777 esac
4778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4779 $as_echo "$ac_try_echo"; } >&5
4780 (eval "$ac_compile") 2>&5
4781 ac_status=$?
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }; then :
4784 for ac_file in conftest.o conftest.obj conftest.*; do
4785 test -f "$ac_file" || continue;
4786 case $ac_file in
4787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4788 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4789 break;;
4790 esac
4791 done
4792 else
4793 $as_echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.$ac_ext >&5
4796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4798 as_fn_error $? "cannot compute suffix of object files: cannot compile
4799 See \`config.log' for more details" "$LINENO" 5; }
4801 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4804 $as_echo "$ac_cv_objext" >&6; }
4805 OBJEXT=$ac_cv_objext
4806 ac_objext=$OBJEXT
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4808 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4809 if ${ac_cv_c_compiler_gnu+:} false; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4816 main ()
4818 #ifndef __GNUC__
4819 choke me
4820 #endif
4823 return 0;
4825 _ACEOF
4826 if ac_fn_c_try_compile "$LINENO"; then :
4827 ac_compiler_gnu=yes
4828 else
4829 ac_compiler_gnu=no
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4836 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4837 if test $ac_compiler_gnu = yes; then
4838 GCC=yes
4839 else
4840 GCC=
4842 ac_test_CFLAGS=${CFLAGS+set}
4843 ac_save_CFLAGS=$CFLAGS
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4845 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4846 if ${ac_cv_prog_cc_g+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
4849 ac_save_c_werror_flag=$ac_c_werror_flag
4850 ac_c_werror_flag=yes
4851 ac_cv_prog_cc_g=no
4852 CFLAGS="-g"
4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854 /* end confdefs.h. */
4857 main ()
4861 return 0;
4863 _ACEOF
4864 if ac_fn_c_try_compile "$LINENO"; then :
4865 ac_cv_prog_cc_g=yes
4866 else
4867 CFLAGS=""
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4872 main ()
4876 return 0;
4878 _ACEOF
4879 if ac_fn_c_try_compile "$LINENO"; then :
4881 else
4882 ac_c_werror_flag=$ac_save_c_werror_flag
4883 CFLAGS="-g"
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4888 main ()
4892 return 0;
4894 _ACEOF
4895 if ac_fn_c_try_compile "$LINENO"; then :
4896 ac_cv_prog_cc_g=yes
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 ac_c_werror_flag=$ac_save_c_werror_flag
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4906 $as_echo "$ac_cv_prog_cc_g" >&6; }
4907 if test "$ac_test_CFLAGS" = set; then
4908 CFLAGS=$ac_save_CFLAGS
4909 elif test $ac_cv_prog_cc_g = yes; then
4910 if test "$GCC" = yes; then
4911 CFLAGS="-g -O2"
4912 else
4913 CFLAGS="-g"
4915 else
4916 if test "$GCC" = yes; then
4917 CFLAGS="-O2"
4918 else
4919 CFLAGS=
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4923 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4924 if ${ac_cv_prog_cc_c89+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 ac_cv_prog_cc_c89=no
4928 ac_save_CC=$CC
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4931 #include <stdarg.h>
4932 #include <stdio.h>
4933 struct stat;
4934 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4935 struct buf { int x; };
4936 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4937 static char *e (p, i)
4938 char **p;
4939 int i;
4941 return p[i];
4943 static char *f (char * (*g) (char **, int), char **p, ...)
4945 char *s;
4946 va_list v;
4947 va_start (v,p);
4948 s = g (p, va_arg (v,int));
4949 va_end (v);
4950 return s;
4953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4954 function prototypes and stuff, but not '\xHH' hex character constants.
4955 These don't provoke an error unfortunately, instead are silently treated
4956 as 'x'. The following induces an error, until -std is added to get
4957 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4958 array size at least. It's necessary to write '\x00'==0 to get something
4959 that's true only with -std. */
4960 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4962 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4963 inside strings and character constants. */
4964 #define FOO(x) 'x'
4965 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4967 int test (int i, double x);
4968 struct s1 {int (*f) (int a);};
4969 struct s2 {int (*f) (double a);};
4970 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4971 int argc;
4972 char **argv;
4974 main ()
4976 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4978 return 0;
4980 _ACEOF
4981 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4982 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4984 CC="$ac_save_CC $ac_arg"
4985 if ac_fn_c_try_compile "$LINENO"; then :
4986 ac_cv_prog_cc_c89=$ac_arg
4988 rm -f core conftest.err conftest.$ac_objext
4989 test "x$ac_cv_prog_cc_c89" != "xno" && break
4990 done
4991 rm -f conftest.$ac_ext
4992 CC=$ac_save_CC
4995 # AC_CACHE_VAL
4996 case "x$ac_cv_prog_cc_c89" in
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4999 $as_echo "none needed" >&6; } ;;
5000 xno)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5002 $as_echo "unsupported" >&6; } ;;
5004 CC="$CC $ac_cv_prog_cc_c89"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5006 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5007 esac
5008 if test "x$ac_cv_prog_cc_c89" != xno; then :
5012 ac_ext=c
5013 ac_cpp='$CPP $CPPFLAGS'
5014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5018 ac_ext=cpp
5019 ac_cpp='$CXXCPP $CPPFLAGS'
5020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5023 if test -z "$CXX"; then
5024 if test -n "$CCC"; then
5025 CXX=$CCC
5026 else
5027 if test -n "$ac_tool_prefix"; then
5028 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_CXX+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 if test -n "$CXX"; then
5038 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5053 IFS=$as_save_IFS
5057 CXX=$ac_cv_prog_CXX
5058 if test -n "$CXX"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5060 $as_echo "$CXX" >&6; }
5061 else
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$CXX" && break
5068 done
5070 if test -z "$CXX"; then
5071 ac_ct_CXX=$CXX
5072 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy $ac_prog; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5079 $as_echo_n "(cached) " >&6
5080 else
5081 if test -n "$ac_ct_CXX"; then
5082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_CXX="$ac_prog"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5095 done
5096 done
5097 IFS=$as_save_IFS
5101 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5102 if test -n "$ac_ct_CXX"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5104 $as_echo "$ac_ct_CXX" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 test -n "$ac_ct_CXX" && break
5112 done
5114 if test "x$ac_ct_CXX" = x; then
5115 CXX="g++"
5116 else
5117 case $cross_compiling:$ac_tool_warned in
5118 yes:)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5122 esac
5123 CXX=$ac_ct_CXX
5129 # Provide some information about the compiler.
5130 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5131 set X $ac_compile
5132 ac_compiler=$2
5133 for ac_option in --version -v -V -qversion; do
5134 { { ac_try="$ac_compiler $ac_option >&5"
5135 case "(($ac_try" in
5136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5138 esac
5139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5140 $as_echo "$ac_try_echo"; } >&5
5141 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5142 ac_status=$?
5143 if test -s conftest.err; then
5144 sed '10a\
5145 ... rest of stderr output deleted ...
5146 10q' conftest.err >conftest.er1
5147 cat conftest.er1 >&5
5149 rm -f conftest.er1 conftest.err
5150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5151 test $ac_status = 0; }
5152 done
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5155 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5156 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5163 main ()
5165 #ifndef __GNUC__
5166 choke me
5167 #endif
5170 return 0;
5172 _ACEOF
5173 if ac_fn_cxx_try_compile "$LINENO"; then :
5174 ac_compiler_gnu=yes
5175 else
5176 ac_compiler_gnu=no
5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5179 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5183 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5184 if test $ac_compiler_gnu = yes; then
5185 GXX=yes
5186 else
5187 GXX=
5189 ac_test_CXXFLAGS=${CXXFLAGS+set}
5190 ac_save_CXXFLAGS=$CXXFLAGS
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5192 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5193 if ${ac_cv_prog_cxx_g+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5197 ac_cxx_werror_flag=yes
5198 ac_cv_prog_cxx_g=no
5199 CXXFLAGS="-g"
5200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201 /* end confdefs.h. */
5204 main ()
5208 return 0;
5210 _ACEOF
5211 if ac_fn_cxx_try_compile "$LINENO"; then :
5212 ac_cv_prog_cxx_g=yes
5213 else
5214 CXXFLAGS=""
5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5219 main ()
5223 return 0;
5225 _ACEOF
5226 if ac_fn_cxx_try_compile "$LINENO"; then :
5228 else
5229 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5230 CXXFLAGS="-g"
5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5235 main ()
5239 return 0;
5241 _ACEOF
5242 if ac_fn_cxx_try_compile "$LINENO"; then :
5243 ac_cv_prog_cxx_g=yes
5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5253 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5254 if test "$ac_test_CXXFLAGS" = set; then
5255 CXXFLAGS=$ac_save_CXXFLAGS
5256 elif test $ac_cv_prog_cxx_g = yes; then
5257 if test "$GXX" = yes; then
5258 CXXFLAGS="-g -O2"
5259 else
5260 CXXFLAGS="-g"
5262 else
5263 if test "$GXX" = yes; then
5264 CXXFLAGS="-O2"
5265 else
5266 CXXFLAGS=
5269 ac_ext=c
5270 ac_cpp='$CPP $CPPFLAGS'
5271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_CPPBIN+:} false; then :
5281 $as_echo_n "(cached) " >&6
5282 else
5283 if test -n "$CPPBIN"; then
5284 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5299 IFS=$as_save_IFS
5303 CPPBIN=$ac_cv_prog_CPPBIN
5304 if test -n "$CPPBIN"; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5306 $as_echo "$CPPBIN" >&6; }
5307 else
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5314 if test -z "$ac_cv_prog_CPPBIN"; then
5315 ac_ct_CPPBIN=$CPPBIN
5316 # Extract the first word of "cpp", so it can be a program name with args.
5317 set dummy cpp; ac_word=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 if test -n "$ac_ct_CPPBIN"; then
5324 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_ac_ct_CPPBIN="cpp"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5339 IFS=$as_save_IFS
5343 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5344 if test -n "$ac_ct_CPPBIN"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5346 $as_echo "$ac_ct_CPPBIN" >&6; }
5347 else
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5352 if test "x$ac_ct_CPPBIN" = x; then
5353 CPPBIN="cpp"
5354 else
5355 case $cross_compiling:$ac_tool_warned in
5356 yes:)
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5359 ac_tool_warned=yes ;;
5360 esac
5361 CPPBIN=$ac_ct_CPPBIN
5363 else
5364 CPPBIN="$ac_cv_prog_CPPBIN"
5368 cat >>confdefs.h <<_ACEOF
5369 #define EXEEXT "$ac_exeext"
5370 _ACEOF
5372 if test -n "$ac_tool_prefix"; then
5373 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5374 set dummy ${ac_tool_prefix}ld; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_LD+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 if test -n "$LD"; then
5381 ac_cv_prog_LD="$LD" # Let the user override the test.
5382 else
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_LD="${ac_tool_prefix}ld"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 break 2
5394 done
5395 done
5396 IFS=$as_save_IFS
5400 LD=$ac_cv_prog_LD
5401 if test -n "$LD"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5403 $as_echo "$LD" >&6; }
5404 else
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5411 if test -z "$ac_cv_prog_LD"; then
5412 ac_ct_LD=$LD
5413 # Extract the first word of "ld", so it can be a program name with args.
5414 set dummy ld; ac_word=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5418 $as_echo_n "(cached) " >&6
5419 else
5420 if test -n "$ac_ct_LD"; then
5421 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5430 ac_cv_prog_ac_ct_LD="ld"
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5441 if test -n "$ac_ct_LD"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5443 $as_echo "$ac_ct_LD" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5449 if test "x$ac_ct_LD" = x; then
5450 LD=""
5451 else
5452 case $cross_compiling:$ac_tool_warned in
5453 yes:)
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5456 ac_tool_warned=yes ;;
5457 esac
5458 LD=$ac_ct_LD
5460 else
5461 LD="$ac_cv_prog_LD"
5465 case $host in
5466 *-darwin*)
5467 with_fontconfig=${with_fontconfig:-no}
5469 *-mingw32*|*-cygwin*)
5470 enable_win16=${enable_win16:-no}
5471 CFLAGS="$CFLAGS -D_WIN32"
5473 esac
5475 case $host in
5476 x86_64*|amd64*)
5477 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5478 then
5479 CC="$CC -m32"
5480 CXX="$CXX -m32"
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5482 $as_echo_n "checking whether $CC works... " >&6; }
5484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5485 /* end confdefs.h. */
5488 main ()
5492 return 0;
5494 _ACEOF
5495 if ac_fn_c_try_link "$LINENO"; then :
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5497 $as_echo "yes" >&6; }
5498 else
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5501 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5503 rm -f core conftest.err conftest.$ac_objext \
5504 conftest$ac_exeext conftest.$ac_ext
5505 host_cpu="i386"
5506 notice_platform="32-bit "
5507 TARGETFLAGS="-m32"
5509 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5510 export PKG_CONFIG_PATH
5511 enable_win16=${enable_win16:-yes}
5512 else
5513 if test "x${GCC}" = "xyes"
5514 then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5516 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5519 #include <stdarg.h>
5521 main ()
5523 void func(__builtin_ms_va_list *args);
5525 return 0;
5527 _ACEOF
5528 if ac_fn_c_try_compile "$LINENO"; then :
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5530 $as_echo "yes" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5534 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5538 CC="$CC -m64"
5539 CXX="$CXX -m64"
5540 host_cpu="x86_64"
5541 notice_platform="64-bit "
5542 TARGETFLAGS="-m64"
5546 arm*)
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5548 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5551 int ac_test(int i) { return i; }
5553 main ()
5555 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5557 return 0;
5559 _ACEOF
5560 if ac_fn_c_try_link "$LINENO"; then :
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5562 $as_echo "yes" >&6; }
5563 else
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }
5566 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5568 rm -f core conftest.err conftest.$ac_objext \
5569 conftest$ac_exeext conftest.$ac_ext
5570 case $with_float_abi in
5571 soft|softfp|hard)
5572 float_abi=$with_float_abi ;;
5574 case $host_os in
5575 *eabihf)
5576 float_abi=hard ;;
5578 float_abi=softfp
5579 saved_CFLAGS=$CFLAGS
5580 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5582 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5587 main ()
5589 asm("vmrs r2,fpscr");
5591 return 0;
5593 _ACEOF
5594 if ac_fn_c_try_link "$LINENO"; then :
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5596 $as_echo "yes" >&6; }
5597 else
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5600 float_abi=soft
5601 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5603 rm -f core conftest.err conftest.$ac_objext \
5604 conftest$ac_exeext conftest.$ac_ext
5605 CFLAGS=$saved_CFLAGS
5606 esac
5608 esac
5609 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5610 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5613 aarch64*)
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5615 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5618 #include <stdarg.h>
5620 main ()
5622 void func(__builtin_ms_va_list *args);
5624 return 0;
5626 _ACEOF
5627 if ac_fn_c_try_compile "$LINENO"; then :
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5629 $as_echo "yes" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5633 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5637 i[3456789]86*)
5638 enable_win16=${enable_win16:-yes}
5640 esac
5642 enable_win16=${enable_win16:-no}
5643 enable_win64=${enable_win64:-no}
5645 enable_winetest=${enable_winetest:-$enable_tests}
5647 if test -n "$with_wine64"
5648 then
5649 if test "x$enable_win64" = "xyes"
5650 then
5651 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5652 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5654 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5655 You should create a separate build directory and run configure from there." "$LINENO" 5
5656 enable_fonts=${enable_fonts:-no}
5657 enable_server=${enable_server:-no}
5658 wine64_disable=\#
5660 elif test "x$enable_win64" = "xyes"
5661 then
5662 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5666 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5667 if ${wine_cv_toolsdir+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 wine_cv_toolsdir="$with_wine_tools"
5671 if test -z "$with_wine_tools"; then
5672 if test "$cross_compiling" = "yes"; then
5673 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5674 elif test -n "$with_wine64"; then
5675 wine_cv_toolsdir="$with_wine64"
5678 if test -z "$wine_cv_toolsdir"; then
5679 wine_makedep=tools/makedep
5680 wine_cv_toolsdir="\$(top_builddir)"
5681 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5682 wine_makedep=$wine_cv_toolsdir/tools/makedep
5683 case "$wine_cv_toolsdir" in
5684 /*) ;;
5685 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5686 esac
5687 enable_tools=${enable_tools:-no}
5688 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5689 else
5690 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5694 $as_echo "$wine_cv_toolsdir" >&6; }
5695 TOOLSDIR=$wine_cv_toolsdir
5697 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5698 then
5699 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5703 for ac_prog in flex
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_FLEX+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$FLEX"; then
5713 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_FLEX="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 FLEX=$ac_cv_prog_FLEX
5733 if test -n "$FLEX"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5735 $as_echo "$FLEX" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$FLEX" && break
5743 done
5744 test -n "$FLEX" || FLEX="none"
5746 if test "$FLEX" = "none"
5747 then
5748 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5751 $as_echo_n "checking whether flex is recent enough... " >&6; }
5752 cat >conftest.l <<EOF
5753 %top{
5754 #include "prediluvian.h"
5758 if $FLEX -t conftest.l >/dev/null 2>&5
5759 then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5761 $as_echo "yes" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5765 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5768 for ac_prog in bison
5770 # Extract the first word of "$ac_prog", so it can be a program name with args.
5771 set dummy $ac_prog; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_prog_BISON+:} false; then :
5775 $as_echo_n "(cached) " >&6
5776 else
5777 if test -n "$BISON"; then
5778 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5783 IFS=$as_save_IFS
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_BISON="$ac_prog"
5788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 break 2
5791 done
5792 done
5793 IFS=$as_save_IFS
5797 BISON=$ac_cv_prog_BISON
5798 if test -n "$BISON"; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5800 $as_echo "$BISON" >&6; }
5801 else
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5807 test -n "$BISON" && break
5808 done
5809 test -n "$BISON" || BISON="none"
5811 if test "$BISON" = "none"
5812 then
5813 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5816 if test -n "$ac_tool_prefix"; then
5817 for ac_prog in ar gar
5819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_AR+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$AR"; then
5827 ac_cv_prog_AR="$AR" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 AR=$ac_cv_prog_AR
5847 if test -n "$AR"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5849 $as_echo "$AR" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$AR" && break
5857 done
5859 if test -z "$AR"; then
5860 ac_ct_AR=$AR
5861 for ac_prog in ar gar
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy $ac_prog; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -n "$ac_ct_AR"; then
5871 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_ac_ct_AR="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 break 2
5884 done
5885 done
5886 IFS=$as_save_IFS
5890 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5891 if test -n "$ac_ct_AR"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5893 $as_echo "$ac_ct_AR" >&6; }
5894 else
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$ac_ct_AR" && break
5901 done
5903 if test "x$ac_ct_AR" = x; then
5904 AR="ar"
5905 else
5906 case $cross_compiling:$ac_tool_warned in
5907 yes:)
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 ac_tool_warned=yes ;;
5911 esac
5912 AR=$ac_ct_AR
5916 if test -n "$ac_tool_prefix"; then
5917 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5918 set dummy ${ac_tool_prefix}strip; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 $as_echo_n "checking for $ac_word... " >&6; }
5921 if ${ac_cv_prog_STRIP+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923 else
5924 if test -n "$STRIP"; then
5925 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 break 2
5938 done
5939 done
5940 IFS=$as_save_IFS
5944 STRIP=$ac_cv_prog_STRIP
5945 if test -n "$STRIP"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5947 $as_echo "$STRIP" >&6; }
5948 else
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 $as_echo "no" >&6; }
5955 if test -z "$ac_cv_prog_STRIP"; then
5956 ac_ct_STRIP=$STRIP
5957 # Extract the first word of "strip", so it can be a program name with args.
5958 set dummy strip; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$ac_ct_STRIP"; then
5965 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_ac_ct_STRIP="strip"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5985 if test -n "$ac_ct_STRIP"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5987 $as_echo "$ac_ct_STRIP" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5993 if test "x$ac_ct_STRIP" = x; then
5994 STRIP="strip"
5995 else
5996 case $cross_compiling:$ac_tool_warned in
5997 yes:)
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6000 ac_tool_warned=yes ;;
6001 esac
6002 STRIP=$ac_ct_STRIP
6004 else
6005 STRIP="$ac_cv_prog_STRIP"
6008 ARFLAGS=rc
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_RANLIB+:} false; then :
6016 $as_echo_n "(cached) " >&6
6017 else
6018 if test -n "$RANLIB"; then
6019 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6020 else
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 for as_dir in $PATH
6024 IFS=$as_save_IFS
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 break 2
6032 done
6033 done
6034 IFS=$as_save_IFS
6038 RANLIB=$ac_cv_prog_RANLIB
6039 if test -n "$RANLIB"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6041 $as_echo "$RANLIB" >&6; }
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6049 if test -z "$ac_cv_prog_RANLIB"; then
6050 ac_ct_RANLIB=$RANLIB
6051 # Extract the first word of "ranlib", so it can be a program name with args.
6052 set dummy ranlib; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 if test -n "$ac_ct_RANLIB"; then
6059 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6064 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_ac_ct_RANLIB="ranlib"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2
6072 done
6073 done
6074 IFS=$as_save_IFS
6078 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6079 if test -n "$ac_ct_RANLIB"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6081 $as_echo "$ac_ct_RANLIB" >&6; }
6082 else
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6087 if test "x$ac_ct_RANLIB" = x; then
6088 RANLIB=":"
6089 else
6090 case $cross_compiling:$ac_tool_warned in
6091 yes:)
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094 ac_tool_warned=yes ;;
6095 esac
6096 RANLIB=$ac_ct_RANLIB
6098 else
6099 RANLIB="$ac_cv_prog_RANLIB"
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6103 $as_echo_n "checking whether ln -s works... " >&6; }
6104 LN_S=$as_ln_s
6105 if test "$LN_S" = "ln -s"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6107 $as_echo "yes" >&6; }
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6110 $as_echo "no, using $LN_S" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6114 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6115 if ${ac_cv_path_GREP+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 if test -z "$GREP"; then
6119 ac_path_GREP_found=false
6120 # Loop through the user's path and test for each of PROGNAME-LIST
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_prog in grep ggrep; do
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6129 as_fn_executable_p "$ac_path_GREP" || continue
6130 # Check for GNU ac_path_GREP and select it if it is found.
6131 # Check for GNU $ac_path_GREP
6132 case `"$ac_path_GREP" --version 2>&1` in
6133 *GNU*)
6134 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6136 ac_count=0
6137 $as_echo_n 0123456789 >"conftest.in"
6138 while :
6140 cat "conftest.in" "conftest.in" >"conftest.tmp"
6141 mv "conftest.tmp" "conftest.in"
6142 cp "conftest.in" "conftest.nl"
6143 $as_echo 'GREP' >> "conftest.nl"
6144 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6145 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6146 as_fn_arith $ac_count + 1 && ac_count=$as_val
6147 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6148 # Best one so far, save it but keep looking for a better one
6149 ac_cv_path_GREP="$ac_path_GREP"
6150 ac_path_GREP_max=$ac_count
6152 # 10*(2^10) chars as input seems more than enough
6153 test $ac_count -gt 10 && break
6154 done
6155 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6156 esac
6158 $ac_path_GREP_found && break 3
6159 done
6160 done
6161 done
6162 IFS=$as_save_IFS
6163 if test -z "$ac_cv_path_GREP"; then
6164 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6166 else
6167 ac_cv_path_GREP=$GREP
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6172 $as_echo "$ac_cv_path_GREP" >&6; }
6173 GREP="$ac_cv_path_GREP"
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6177 $as_echo_n "checking for egrep... " >&6; }
6178 if ${ac_cv_path_EGREP+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6182 then ac_cv_path_EGREP="$GREP -E"
6183 else
6184 if test -z "$EGREP"; then
6185 ac_path_EGREP_found=false
6186 # Loop through the user's path and test for each of PROGNAME-LIST
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6190 IFS=$as_save_IFS
6191 test -z "$as_dir" && as_dir=.
6192 for ac_prog in egrep; do
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6195 as_fn_executable_p "$ac_path_EGREP" || continue
6196 # Check for GNU ac_path_EGREP and select it if it is found.
6197 # Check for GNU $ac_path_EGREP
6198 case `"$ac_path_EGREP" --version 2>&1` in
6199 *GNU*)
6200 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6202 ac_count=0
6203 $as_echo_n 0123456789 >"conftest.in"
6204 while :
6206 cat "conftest.in" "conftest.in" >"conftest.tmp"
6207 mv "conftest.tmp" "conftest.in"
6208 cp "conftest.in" "conftest.nl"
6209 $as_echo 'EGREP' >> "conftest.nl"
6210 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6211 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6212 as_fn_arith $ac_count + 1 && ac_count=$as_val
6213 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6214 # Best one so far, save it but keep looking for a better one
6215 ac_cv_path_EGREP="$ac_path_EGREP"
6216 ac_path_EGREP_max=$ac_count
6218 # 10*(2^10) chars as input seems more than enough
6219 test $ac_count -gt 10 && break
6220 done
6221 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6222 esac
6224 $ac_path_EGREP_found && break 3
6225 done
6226 done
6227 done
6228 IFS=$as_save_IFS
6229 if test -z "$ac_cv_path_EGREP"; then
6230 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6232 else
6233 ac_cv_path_EGREP=$EGREP
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6239 $as_echo "$ac_cv_path_EGREP" >&6; }
6240 EGREP="$ac_cv_path_EGREP"
6243 # Extract the first word of "ldconfig", so it can be a program name with args.
6244 set dummy ldconfig; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_path_LDCONFIG+:} false; then :
6248 $as_echo_n "(cached) " >&6
6249 else
6250 case $LDCONFIG in
6251 [\\/]* | ?:[\\/]*)
6252 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in /sbin /usr/sbin $PATH
6258 IFS=$as_save_IFS
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6262 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 break 2
6266 done
6267 done
6268 IFS=$as_save_IFS
6270 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6272 esac
6274 LDCONFIG=$ac_cv_path_LDCONFIG
6275 if test -n "$LDCONFIG"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6277 $as_echo "$LDCONFIG" >&6; }
6278 else
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6284 for ac_prog in msgfmt
6286 # Extract the first word of "$ac_prog", so it can be a program name with args.
6287 set dummy $ac_prog; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_MSGFMT+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 if test -n "$MSGFMT"; then
6294 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6299 IFS=$as_save_IFS
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_MSGFMT="$ac_prog"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 break 2
6307 done
6308 done
6309 IFS=$as_save_IFS
6313 MSGFMT=$ac_cv_prog_MSGFMT
6314 if test -n "$MSGFMT"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6316 $as_echo "$MSGFMT" >&6; }
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6323 test -n "$MSGFMT" && break
6324 done
6325 test -n "$MSGFMT" || MSGFMT="false"
6327 if ${ac_tool_prefix+:} false; then :
6328 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331 $as_echo_n "checking for $ac_word... " >&6; }
6332 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 if test -n "$PKG_CONFIG"; then
6336 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6337 else
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH
6341 IFS=$as_save_IFS
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6345 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 break 2
6349 done
6350 done
6351 IFS=$as_save_IFS
6355 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6356 if test -n "$PKG_CONFIG"; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6358 $as_echo "$PKG_CONFIG" >&6; }
6359 else
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6361 $as_echo "no" >&6; }
6366 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6367 if test "x$cross_compiling" = xyes; then :
6369 else
6370 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6371 # Extract the first word of "pkg-config", so it can be a program name with args.
6372 set dummy pkg-config; ac_word=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6376 $as_echo_n "(cached) " >&6
6377 else
6378 if test -n "$PKG_CONFIG"; then
6379 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6380 else
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 for as_dir in $PATH
6384 IFS=$as_save_IFS
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_PKG_CONFIG="pkg-config"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 break 2
6392 done
6393 done
6394 IFS=$as_save_IFS
6398 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6399 if test -n "$PKG_CONFIG"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6401 $as_echo "$PKG_CONFIG" >&6; }
6402 else
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6409 else
6410 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6413 if test "x$enable_maintainer_mode" != "xyes"
6414 then
6415 FONTFORGE=""
6416 RSVG=""
6417 CONVERT=""
6418 ICOTOOL=""
6419 else
6420 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6421 for ac_prog in fontforge
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_FONTFORGE+:} false; then :
6428 $as_echo_n "(cached) " >&6
6429 else
6430 if test -n "$FONTFORGE"; then
6431 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_FONTFORGE="$ac_prog"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6450 FONTFORGE=$ac_cv_prog_FONTFORGE
6451 if test -n "$FONTFORGE"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6453 $as_echo "$FONTFORGE" >&6; }
6454 else
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 test -n "$FONTFORGE" && break
6461 done
6462 test -n "$FONTFORGE" || FONTFORGE="false"
6464 for ac_prog in rsvg-convert rsvg
6466 # Extract the first word of "$ac_prog", so it can be a program name with args.
6467 set dummy $ac_prog; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_RSVG+:} false; then :
6471 $as_echo_n "(cached) " >&6
6472 else
6473 if test -n "$RSVG"; then
6474 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6475 else
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 for as_dir in $PATH
6479 IFS=$as_save_IFS
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_RSVG="$ac_prog"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 break 2
6487 done
6488 done
6489 IFS=$as_save_IFS
6493 RSVG=$ac_cv_prog_RSVG
6494 if test -n "$RSVG"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6496 $as_echo "$RSVG" >&6; }
6497 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6503 test -n "$RSVG" && break
6504 done
6505 test -n "$RSVG" || RSVG="false"
6507 for ac_prog in convert
6509 # Extract the first word of "$ac_prog", so it can be a program name with args.
6510 set dummy $ac_prog; ac_word=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6512 $as_echo_n "checking for $ac_word... " >&6; }
6513 if ${ac_cv_prog_CONVERT+:} false; then :
6514 $as_echo_n "(cached) " >&6
6515 else
6516 if test -n "$CONVERT"; then
6517 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6518 else
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 for as_dir in $PATH
6522 IFS=$as_save_IFS
6523 test -z "$as_dir" && as_dir=.
6524 for ac_exec_ext in '' $ac_executable_extensions; do
6525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6526 ac_cv_prog_CONVERT="$ac_prog"
6527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 break 2
6530 done
6531 done
6532 IFS=$as_save_IFS
6536 CONVERT=$ac_cv_prog_CONVERT
6537 if test -n "$CONVERT"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6539 $as_echo "$CONVERT" >&6; }
6540 else
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6542 $as_echo "no" >&6; }
6546 test -n "$CONVERT" && break
6547 done
6548 test -n "$CONVERT" || CONVERT="false"
6550 for ac_prog in icotool
6552 # Extract the first word of "$ac_prog", so it can be a program name with args.
6553 set dummy $ac_prog; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if ${ac_cv_prog_ICOTOOL+:} false; then :
6557 $as_echo_n "(cached) " >&6
6558 else
6559 if test -n "$ICOTOOL"; then
6560 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6565 IFS=$as_save_IFS
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6569 ac_cv_prog_ICOTOOL="$ac_prog"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 break 2
6573 done
6574 done
6575 IFS=$as_save_IFS
6579 ICOTOOL=$ac_cv_prog_ICOTOOL
6580 if test -n "$ICOTOOL"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6582 $as_echo "$ICOTOOL" >&6; }
6583 else
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6589 test -n "$ICOTOOL" && break
6590 done
6591 test -n "$ICOTOOL" || ICOTOOL="false"
6593 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6594 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6596 if test "$CONVERT" = false
6597 then
6598 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6599 else
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6601 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6602 convert_version=`convert --version | head -n1`
6603 if test "x$convert_version" != "x"
6604 then
6605 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6606 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6607 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6608 then
6609 CONVERT=false
6612 if test "$CONVERT" = false
6613 then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6615 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6616 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6619 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6623 if test "$ICOTOOL" = false
6624 then
6625 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6626 else
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6628 $as_echo_n "checking for recent enough icotool... " >&6; }
6629 icotool_version=`icotool --version | head -n1`
6630 if test "x$icotool_version" != "x"
6631 then
6632 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6633 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6634 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6635 then
6636 ICOTOOL=false
6637 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6640 if test "$ICOTOOL" = false
6641 then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6643 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6644 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6645 else
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6647 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6651 with_gettext=yes
6652 with_gettextpo=yes
6653 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6656 test "x$with_gettext" != xno || MSGFMT=false
6657 if test "$MSGFMT" != "false"
6658 then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6660 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6661 cat >conftest.po <<EOF
6662 # comment
6663 msgctxt "ctxt"
6664 msgid "id"
6665 msgstr "str"
6667 if $MSGFMT -o /dev/null conftest.po 2>&5
6668 then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6670 $as_echo "yes" >&6; }
6671 else
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6674 MSGFMT=false
6677 if test "$MSGFMT" = false; then :
6678 case "x$with_gettext" in
6679 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6680 xno) ;;
6681 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6682 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6683 esac
6684 enable_po=${enable_po:-no}
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6689 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6690 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 ac_check_lib_save_LIBS=$LIBS
6694 LIBS="-li386 $LIBS"
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6698 /* Override any GCC internal prototype to avoid an error.
6699 Use char because int might match the return type of a GCC
6700 builtin and then its argument prototype would still apply. */
6701 #ifdef __cplusplus
6702 extern "C"
6703 #endif
6704 char i386_set_ldt ();
6706 main ()
6708 return i386_set_ldt ();
6710 return 0;
6712 _ACEOF
6713 if ac_fn_c_try_link "$LINENO"; then :
6714 ac_cv_lib_i386_i386_set_ldt=yes
6715 else
6716 ac_cv_lib_i386_i386_set_ldt=no
6718 rm -f core conftest.err conftest.$ac_objext \
6719 conftest$ac_exeext conftest.$ac_ext
6720 LIBS=$ac_check_lib_save_LIBS
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6723 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6724 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6725 cat >>confdefs.h <<_ACEOF
6726 #define HAVE_LIBI386 1
6727 _ACEOF
6729 LIBS="-li386 $LIBS"
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6734 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6735 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6736 $as_echo_n "(cached) " >&6
6737 else
6738 ac_check_lib_save_LIBS=$LIBS
6739 LIBS="-lossaudio $LIBS"
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6743 /* Override any GCC internal prototype to avoid an error.
6744 Use char because int might match the return type of a GCC
6745 builtin and then its argument prototype would still apply. */
6746 #ifdef __cplusplus
6747 extern "C"
6748 #endif
6749 char _oss_ioctl ();
6751 main ()
6753 return _oss_ioctl ();
6755 return 0;
6757 _ACEOF
6758 if ac_fn_c_try_link "$LINENO"; then :
6759 ac_cv_lib_ossaudio__oss_ioctl=yes
6760 else
6761 ac_cv_lib_ossaudio__oss_ioctl=no
6763 rm -f core conftest.err conftest.$ac_objext \
6764 conftest$ac_exeext conftest.$ac_ext
6765 LIBS=$ac_check_lib_save_LIBS
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6768 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6769 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6770 cat >>confdefs.h <<_ACEOF
6771 #define HAVE_LIBOSSAUDIO 1
6772 _ACEOF
6774 LIBS="-lossaudio $LIBS"
6779 OPENGL_LIBS=""
6783 # Check whether --enable-largefile was given.
6784 if test "${enable_largefile+set}" = set; then :
6785 enableval=$enable_largefile;
6788 if test "$enable_largefile" != no; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6791 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6792 if ${ac_cv_sys_largefile_CC+:} false; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 ac_cv_sys_largefile_CC=no
6796 if test "$GCC" != yes; then
6797 ac_save_CC=$CC
6798 while :; do
6799 # IRIX 6.2 and later do not support large files by default,
6800 # so use the C compiler's -n32 option if that helps.
6801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6803 #include <sys/types.h>
6804 /* Check that off_t can represent 2**63 - 1 correctly.
6805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6806 since some C++ compilers masquerading as C compilers
6807 incorrectly reject 9223372036854775807. */
6808 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6810 && LARGE_OFF_T % 2147483647 == 1)
6811 ? 1 : -1];
6813 main ()
6817 return 0;
6819 _ACEOF
6820 if ac_fn_c_try_compile "$LINENO"; then :
6821 break
6823 rm -f core conftest.err conftest.$ac_objext
6824 CC="$CC -n32"
6825 if ac_fn_c_try_compile "$LINENO"; then :
6826 ac_cv_sys_largefile_CC=' -n32'; break
6828 rm -f core conftest.err conftest.$ac_objext
6829 break
6830 done
6831 CC=$ac_save_CC
6832 rm -f conftest.$ac_ext
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6836 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6837 if test "$ac_cv_sys_largefile_CC" != no; then
6838 CC=$CC$ac_cv_sys_largefile_CC
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6842 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6843 if ${ac_cv_sys_file_offset_bits+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 while :; do
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6849 #include <sys/types.h>
6850 /* Check that off_t can represent 2**63 - 1 correctly.
6851 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6852 since some C++ compilers masquerading as C compilers
6853 incorrectly reject 9223372036854775807. */
6854 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6855 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6856 && LARGE_OFF_T % 2147483647 == 1)
6857 ? 1 : -1];
6859 main ()
6863 return 0;
6865 _ACEOF
6866 if ac_fn_c_try_compile "$LINENO"; then :
6867 ac_cv_sys_file_offset_bits=no; break
6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6872 #define _FILE_OFFSET_BITS 64
6873 #include <sys/types.h>
6874 /* Check that off_t can represent 2**63 - 1 correctly.
6875 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6876 since some C++ compilers masquerading as C compilers
6877 incorrectly reject 9223372036854775807. */
6878 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6880 && LARGE_OFF_T % 2147483647 == 1)
6881 ? 1 : -1];
6883 main ()
6887 return 0;
6889 _ACEOF
6890 if ac_fn_c_try_compile "$LINENO"; then :
6891 ac_cv_sys_file_offset_bits=64; break
6893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6894 ac_cv_sys_file_offset_bits=unknown
6895 break
6896 done
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6899 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6900 case $ac_cv_sys_file_offset_bits in #(
6901 no | unknown) ;;
6903 cat >>confdefs.h <<_ACEOF
6904 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6905 _ACEOF
6907 esac
6908 rm -rf conftest*
6909 if test $ac_cv_sys_file_offset_bits = unknown; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6911 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6912 if ${ac_cv_sys_large_files+:} false; then :
6913 $as_echo_n "(cached) " >&6
6914 else
6915 while :; do
6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6918 #include <sys/types.h>
6919 /* Check that off_t can represent 2**63 - 1 correctly.
6920 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6921 since some C++ compilers masquerading as C compilers
6922 incorrectly reject 9223372036854775807. */
6923 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6924 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6925 && LARGE_OFF_T % 2147483647 == 1)
6926 ? 1 : -1];
6928 main ()
6932 return 0;
6934 _ACEOF
6935 if ac_fn_c_try_compile "$LINENO"; then :
6936 ac_cv_sys_large_files=no; break
6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #define _LARGE_FILES 1
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_large_files=1; break
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 ac_cv_sys_large_files=unknown
6964 break
6965 done
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6968 $as_echo "$ac_cv_sys_large_files" >&6; }
6969 case $ac_cv_sys_large_files in #(
6970 no | unknown) ;;
6972 cat >>confdefs.h <<_ACEOF
6973 #define _LARGE_FILES $ac_cv_sys_large_files
6974 _ACEOF
6976 esac
6977 rm -rf conftest*
6984 ac_ext=c
6985 ac_cpp='$CPP $CPPFLAGS'
6986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6990 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6991 # On Suns, sometimes $CPP names a directory.
6992 if test -n "$CPP" && test -d "$CPP"; then
6993 CPP=
6995 if test -z "$CPP"; then
6996 if ${ac_cv_prog_CPP+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
6999 # Double quotes because CPP needs to be expanded
7000 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7002 ac_preproc_ok=false
7003 for ac_c_preproc_warn_flag in '' yes
7005 # Use a header file that comes with gcc, so configuring glibc
7006 # with a fresh cross-compiler works.
7007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7008 # <limits.h> exists even on freestanding compilers.
7009 # On the NeXT, cc -E runs the code through the compiler's parser,
7010 # not just through cpp. "Syntax error" is here to catch this case.
7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7012 /* end confdefs.h. */
7013 #ifdef __STDC__
7014 # include <limits.h>
7015 #else
7016 # include <assert.h>
7017 #endif
7018 Syntax error
7019 _ACEOF
7020 if ac_fn_c_try_cpp "$LINENO"; then :
7022 else
7023 # Broken: fails on valid input.
7024 continue
7026 rm -f conftest.err conftest.i conftest.$ac_ext
7028 # OK, works on sane cases. Now check whether nonexistent headers
7029 # can be detected and how.
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #include <ac_nonexistent.h>
7033 _ACEOF
7034 if ac_fn_c_try_cpp "$LINENO"; then :
7035 # Broken: success on invalid input.
7036 continue
7037 else
7038 # Passes both tests.
7039 ac_preproc_ok=:
7040 break
7042 rm -f conftest.err conftest.i conftest.$ac_ext
7044 done
7045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7046 rm -f conftest.i conftest.err conftest.$ac_ext
7047 if $ac_preproc_ok; then :
7048 break
7051 done
7052 ac_cv_prog_CPP=$CPP
7055 CPP=$ac_cv_prog_CPP
7056 else
7057 ac_cv_prog_CPP=$CPP
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7060 $as_echo "$CPP" >&6; }
7061 ac_preproc_ok=false
7062 for ac_c_preproc_warn_flag in '' yes
7064 # Use a header file that comes with gcc, so configuring glibc
7065 # with a fresh cross-compiler works.
7066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7067 # <limits.h> exists even on freestanding compilers.
7068 # On the NeXT, cc -E runs the code through the compiler's parser,
7069 # not just through cpp. "Syntax error" is here to catch this case.
7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7072 #ifdef __STDC__
7073 # include <limits.h>
7074 #else
7075 # include <assert.h>
7076 #endif
7077 Syntax error
7078 _ACEOF
7079 if ac_fn_c_try_cpp "$LINENO"; then :
7081 else
7082 # Broken: fails on valid input.
7083 continue
7085 rm -f conftest.err conftest.i conftest.$ac_ext
7087 # OK, works on sane cases. Now check whether nonexistent headers
7088 # can be detected and how.
7089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7091 #include <ac_nonexistent.h>
7092 _ACEOF
7093 if ac_fn_c_try_cpp "$LINENO"; then :
7094 # Broken: success on invalid input.
7095 continue
7096 else
7097 # Passes both tests.
7098 ac_preproc_ok=:
7099 break
7101 rm -f conftest.err conftest.i conftest.$ac_ext
7103 done
7104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7105 rm -f conftest.i conftest.err conftest.$ac_ext
7106 if $ac_preproc_ok; then :
7108 else
7109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7111 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7112 See \`config.log' for more details" "$LINENO" 5; }
7115 ac_ext=c
7116 ac_cpp='$CPP $CPPFLAGS'
7117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7123 $as_echo_n "checking for ANSI C header files... " >&6; }
7124 if ${ac_cv_header_stdc+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7128 /* end confdefs.h. */
7129 #include <stdlib.h>
7130 #include <stdarg.h>
7131 #include <string.h>
7132 #include <float.h>
7135 main ()
7139 return 0;
7141 _ACEOF
7142 if ac_fn_c_try_compile "$LINENO"; then :
7143 ac_cv_header_stdc=yes
7144 else
7145 ac_cv_header_stdc=no
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7149 if test $ac_cv_header_stdc = yes; then
7150 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 #include <string.h>
7155 _ACEOF
7156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7157 $EGREP "memchr" >/dev/null 2>&1; then :
7159 else
7160 ac_cv_header_stdc=no
7162 rm -f conftest*
7166 if test $ac_cv_header_stdc = yes; then
7167 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7170 #include <stdlib.h>
7172 _ACEOF
7173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7174 $EGREP "free" >/dev/null 2>&1; then :
7176 else
7177 ac_cv_header_stdc=no
7179 rm -f conftest*
7183 if test $ac_cv_header_stdc = yes; then
7184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7185 if test "$cross_compiling" = yes; then :
7187 else
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7190 #include <ctype.h>
7191 #include <stdlib.h>
7192 #if ((' ' & 0x0FF) == 0x020)
7193 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7194 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7195 #else
7196 # define ISLOWER(c) \
7197 (('a' <= (c) && (c) <= 'i') \
7198 || ('j' <= (c) && (c) <= 'r') \
7199 || ('s' <= (c) && (c) <= 'z'))
7200 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7201 #endif
7203 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7205 main ()
7207 int i;
7208 for (i = 0; i < 256; i++)
7209 if (XOR (islower (i), ISLOWER (i))
7210 || toupper (i) != TOUPPER (i))
7211 return 2;
7212 return 0;
7214 _ACEOF
7215 if ac_fn_c_try_run "$LINENO"; then :
7217 else
7218 ac_cv_header_stdc=no
7220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7221 conftest.$ac_objext conftest.beam conftest.$ac_ext
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7227 $as_echo "$ac_cv_header_stdc" >&6; }
7228 if test $ac_cv_header_stdc = yes; then
7230 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7234 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7236 inttypes.h stdint.h unistd.h
7237 do :
7238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7242 cat >>confdefs.h <<_ACEOF
7243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7244 _ACEOF
7248 done
7251 for ac_header in \
7252 AL/al.h \
7253 ApplicationServices/ApplicationServices.h \
7254 AudioToolbox/AudioConverter.h \
7255 AudioUnit/AudioUnit.h \
7256 AudioUnit/AudioComponent.h \
7257 CL/cl.h \
7258 Carbon/Carbon.h \
7259 CommonCrypto/CommonCryptor.h \
7260 CoreAudio/CoreAudio.h \
7261 CoreServices/CoreServices.h \
7262 DiskArbitration/DiskArbitration.h \
7263 EGL/egl.h \
7264 IOKit/IOKitLib.h \
7265 IOKit/hid/IOHIDLib.h \
7266 OpenAL/al.h \
7267 OpenCL/opencl.h \
7268 QuickTime/ImageCompression.h \
7269 Security/Security.h \
7270 alias.h \
7271 alsa/asoundlib.h \
7272 arpa/inet.h \
7273 arpa/nameser.h \
7274 asm/types.h \
7275 asm/user.h \
7276 curses.h \
7277 direct.h \
7278 dirent.h \
7279 dlfcn.h \
7280 elf.h \
7281 float.h \
7282 fnmatch.h \
7283 getopt.h \
7284 gettext-po.h \
7285 grp.h \
7286 gsm.h \
7287 gsm/gsm.h \
7288 ieeefp.h \
7289 inet/mib2.h \
7290 io.h \
7291 kstat.h \
7292 libproc.h \
7293 link.h \
7294 linux/cdrom.h \
7295 linux/compiler.h \
7296 linux/filter.h \
7297 linux/hdreg.h \
7298 linux/hidraw.h \
7299 linux/input.h \
7300 linux/ioctl.h \
7301 linux/joystick.h \
7302 linux/major.h \
7303 linux/param.h \
7304 linux/serial.h \
7305 linux/types.h \
7306 linux/ucdrom.h \
7307 lwp.h \
7308 mach-o/nlist.h \
7309 mach-o/loader.h \
7310 mach/mach.h \
7311 mach/machine.h \
7312 machine/cpu.h \
7313 machine/limits.h \
7314 machine/sysarch.h \
7315 mntent.h \
7316 ncurses.h \
7317 netdb.h \
7318 netinet/in.h \
7319 netinet/in_systm.h \
7320 netinet/tcp.h \
7321 netinet/tcp_fsm.h \
7322 pcap/pcap.h \
7323 poll.h \
7324 port.h \
7325 process.h \
7326 pthread.h \
7327 pwd.h \
7328 sched.h \
7329 scsi/scsi.h \
7330 scsi/scsi_ioctl.h \
7331 scsi/sg.h \
7332 stdbool.h \
7333 stdint.h \
7334 stropts.h \
7335 sys/asoundlib.h \
7336 sys/attr.h \
7337 sys/auxv.h \
7338 sys/cdio.h \
7339 sys/elf32.h \
7340 sys/epoll.h \
7341 sys/event.h \
7342 sys/exec_elf.h \
7343 sys/filio.h \
7344 sys/inotify.h \
7345 sys/ioctl.h \
7346 sys/ipc.h \
7347 sys/limits.h \
7348 sys/link.h \
7349 sys/mman.h \
7350 sys/modem.h \
7351 sys/msg.h \
7352 sys/mtio.h \
7353 sys/param.h \
7354 sys/poll.h \
7355 sys/prctl.h \
7356 sys/protosw.h \
7357 sys/ptrace.h \
7358 sys/queue.h \
7359 sys/resource.h \
7360 sys/scsiio.h \
7361 sys/shm.h \
7362 sys/signal.h \
7363 sys/socket.h \
7364 sys/socketvar.h \
7365 sys/sockio.h \
7366 sys/statvfs.h \
7367 sys/strtio.h \
7368 sys/syscall.h \
7369 sys/sysinfo.h \
7370 sys/tihdr.h \
7371 sys/time.h \
7372 sys/timeout.h \
7373 sys/times.h \
7374 sys/uio.h \
7375 sys/user.h \
7376 sys/utsname.h \
7377 sys/vnode.h \
7378 sys/wait.h \
7379 syscall.h \
7380 termios.h \
7381 unistd.h \
7382 utime.h \
7383 valgrind/memcheck.h \
7384 valgrind/valgrind.h \
7385 zlib.h
7387 do :
7388 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7389 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7391 cat >>confdefs.h <<_ACEOF
7392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7393 _ACEOF
7397 done
7399 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7400 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7402 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7407 if test $ac_cv_header_sys_mkdev_h = no; then
7408 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7409 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7411 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7418 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7419 if ${ac_cv_header_stat_broken+:} false; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7424 #include <sys/types.h>
7425 #include <sys/stat.h>
7427 #if defined S_ISBLK && defined S_IFDIR
7428 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7429 #endif
7431 #if defined S_ISBLK && defined S_IFCHR
7432 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7433 #endif
7435 #if defined S_ISLNK && defined S_IFREG
7436 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7437 #endif
7439 #if defined S_ISSOCK && defined S_IFREG
7440 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7441 #endif
7443 _ACEOF
7444 if ac_fn_c_try_compile "$LINENO"; then :
7445 ac_cv_header_stat_broken=no
7446 else
7447 ac_cv_header_stat_broken=yes
7449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7452 $as_echo "$ac_cv_header_stat_broken" >&6; }
7453 if test $ac_cv_header_stat_broken = yes; then
7455 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7461 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7462 do :
7463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7464 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7465 #ifdef HAVE_SYS_PARAM_H
7466 # include <sys/param.h>
7467 #endif
7469 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7470 cat >>confdefs.h <<_ACEOF
7471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7472 _ACEOF
7476 done
7479 for ac_header in \
7480 netinet/ip.h \
7481 net/if.h \
7482 net/if_arp.h \
7483 net/if_dl.h \
7484 net/if_types.h \
7485 net/route.h \
7486 netinet/if_ether.h \
7487 netinet/if_inarp.h \
7488 netinet/in_pcb.h \
7489 netinet/ip_icmp.h \
7490 netinet/ip_var.h \
7491 netinet/udp.h \
7492 netipx/ipx.h \
7493 sys/un.h \
7495 do :
7496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7497 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7498 #ifdef HAVE_SYS_SOCKET_H
7499 # include <sys/socket.h>
7500 #endif
7501 #ifdef HAVE_SYS_SOCKETVAR_H
7502 # include <sys/socketvar.h>
7503 #endif
7504 #ifdef HAVE_NET_ROUTE_H
7505 # include <net/route.h>
7506 #endif
7507 #ifdef HAVE_NETINET_IN_H
7508 # include <netinet/in.h>
7509 #endif
7510 #ifdef HAVE_NETINET_IN_SYSTM_H
7511 # include <netinet/in_systm.h>
7512 #endif
7513 #ifdef HAVE_NET_IF_H
7514 # include <net/if.h>
7515 #endif
7516 #ifdef HAVE_NETINET_IP_H
7517 # include <netinet/ip.h>
7518 #endif
7520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7521 cat >>confdefs.h <<_ACEOF
7522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7523 _ACEOF
7527 done
7530 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7531 do :
7532 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7533 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7534 #ifdef HAVE_ALIAS_H
7535 # include <alias.h>
7536 #endif
7537 #ifdef HAVE_SYS_SOCKET_H
7538 # include <sys/socket.h>
7539 #endif
7540 #ifdef HAVE_SYS_SOCKETVAR_H
7541 # include <sys/socketvar.h>
7542 #endif
7543 #ifdef HAVE_SYS_TIMEOUT_H
7544 # include <sys/timeout.h>
7545 #endif
7546 #ifdef HAVE_NETINET_IN_H
7547 # include <netinet/in.h>
7548 #endif
7549 #ifdef HAVE_NETINET_IN_SYSTM_H
7550 # include <netinet/in_systm.h>
7551 #endif
7552 #ifdef HAVE_NETINET_IP_H
7553 # include <netinet/ip.h>
7554 #endif
7555 #ifdef HAVE_NETINET_IP_VAR_H
7556 # include <netinet/ip_var.h>
7557 #endif
7558 #ifdef HAVE_NETINET_IP_ICMP_H
7559 # include <netinet/ip_icmp.h>
7560 #endif
7561 #ifdef HAVE_NETINET_UDP_H
7562 # include <netinet/udp.h>
7563 #endif
7564 #ifdef HAVE_NETINET_TCP_H
7565 # include <netinet/tcp.h>
7566 #endif
7567 #ifdef HAVE_NETINET_TCP_TIMER_H
7568 #include <netinet/tcp_timer.h>
7569 #endif
7571 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7572 cat >>confdefs.h <<_ACEOF
7573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7574 _ACEOF
7578 done
7581 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7582 do :
7583 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7584 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7585 #ifdef HAVE_ASM_TYPES_H
7586 # include <asm/types.h>
7587 #endif
7588 #ifdef HAVE_SYS_SOCKET_H
7589 # include <sys/socket.h>
7590 #endif
7591 #ifdef HAVE_LINUX_TYPES_H
7592 # include <linux/types.h>
7593 #endif
7595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7596 cat >>confdefs.h <<_ACEOF
7597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 _ACEOF
7602 done
7605 for ac_header in mach-o/dyld_images.h
7606 do :
7607 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7608 # include <stdbool.h>
7609 #endif
7610 #ifdef HAVE_STDINT_H
7611 # include <stdint.h>
7612 #endif
7614 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7615 cat >>confdefs.h <<_ACEOF
7616 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7617 _ACEOF
7621 done
7624 for ac_header in resolv.h
7625 do :
7626 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7627 #ifdef HAVE_SYS_SOCKET_H
7628 # include <sys/socket.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_H
7631 # include <netinet/in.h>
7632 #endif
7633 #ifdef HAVE_ARPA_NAMESER_H
7634 # include <arpa/nameser.h>
7635 #endif
7637 if test "x$ac_cv_header_resolv_h" = xyes; then :
7638 cat >>confdefs.h <<_ACEOF
7639 #define HAVE_RESOLV_H 1
7640 _ACEOF
7644 done
7647 for ac_header in ifaddrs.h
7648 do :
7649 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7651 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define HAVE_IFADDRS_H 1
7654 _ACEOF
7658 done
7661 for ac_header in sys/ucontext.h
7662 do :
7663 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7665 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7666 cat >>confdefs.h <<_ACEOF
7667 #define HAVE_SYS_UCONTEXT_H 1
7668 _ACEOF
7672 done
7675 for ac_header in sys/thr.h
7676 do :
7677 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7678 #ifdef HAVE_SYS_UCONTEXT_H
7679 #include <sys/ucontext.h>
7680 #endif
7682 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7683 cat >>confdefs.h <<_ACEOF
7684 #define HAVE_SYS_THR_H 1
7685 _ACEOF
7689 done
7692 for ac_header in pthread_np.h
7693 do :
7694 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7695 #include <pthread.h>
7696 #endif
7698 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7699 cat >>confdefs.h <<_ACEOF
7700 #define HAVE_PTHREAD_NP_H 1
7701 _ACEOF
7705 done
7708 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7709 do :
7710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7711 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7712 #include <sys/time.h>
7713 #endif
7714 #include <sys/types.h>
7715 #ifdef HAVE_ASM_TYPES_H
7716 #include <asm/types.h>
7717 #endif
7719 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7720 cat >>confdefs.h <<_ACEOF
7721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722 _ACEOF
7726 done
7729 for ac_header in libprocstat.h
7730 do :
7731 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7732 #include <sys/param.h>
7733 #endif
7734 #ifdef HAVE_SYS_QUEUE_H
7735 #include <sys/queue.h>
7736 #endif
7737 #ifdef HAVE_SYS_SOCKET_H
7738 #include <sys/socket.h>
7739 #endif
7741 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_LIBPROCSTAT_H 1
7744 _ACEOF
7748 done
7752 DLLFLAGS="-D_REENTRANT"
7754 LDRPATH_INSTALL=""
7756 LDRPATH_LOCAL=""
7758 LDEXECFLAGS=""
7760 WINELOADER_LDFLAGS=""
7762 LIBEXT="so"
7763 DLLEXT=".so"
7764 IMPLIBEXT="def"
7765 # Extract the first word of "ldd", so it can be a program name with args.
7766 set dummy ldd; ac_word=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768 $as_echo_n "checking for $ac_word... " >&6; }
7769 if ${ac_cv_path_LDD+:} false; then :
7770 $as_echo_n "(cached) " >&6
7771 else
7772 case $LDD in
7773 [\\/]* | ?:[\\/]*)
7774 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 as_dummy="/sbin:/usr/sbin:$PATH"
7779 for as_dir in $as_dummy
7781 IFS=$as_save_IFS
7782 test -z "$as_dir" && as_dir=.
7783 for ac_exec_ext in '' $ac_executable_extensions; do
7784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7785 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 break 2
7789 done
7790 done
7791 IFS=$as_save_IFS
7793 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7795 esac
7797 LDD=$ac_cv_path_LDD
7798 if test -n "$LDD"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7800 $as_echo "$LDD" >&6; }
7801 else
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}otool; ac_word=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_prog_OTOOL+:} false; then :
7813 $as_echo_n "(cached) " >&6
7814 else
7815 if test -n "$OTOOL"; then
7816 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7817 else
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 for as_dir in $PATH
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7829 done
7830 done
7831 IFS=$as_save_IFS
7835 OTOOL=$ac_cv_prog_OTOOL
7836 if test -n "$OTOOL"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7838 $as_echo "$OTOOL" >&6; }
7839 else
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7846 if test -z "$ac_cv_prog_OTOOL"; then
7847 ac_ct_OTOOL=$OTOOL
7848 # Extract the first word of "otool", so it can be a program name with args.
7849 set dummy otool; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851 $as_echo_n "checking for $ac_word... " >&6; }
7852 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 if test -n "$ac_ct_OTOOL"; then
7856 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7857 else
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 for as_dir in $PATH
7861 IFS=$as_save_IFS
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_ac_ct_OTOOL="otool"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 break 2
7869 done
7870 done
7871 IFS=$as_save_IFS
7875 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7876 if test -n "$ac_ct_OTOOL"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7878 $as_echo "$ac_ct_OTOOL" >&6; }
7879 else
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7884 if test "x$ac_ct_OTOOL" = x; then
7885 OTOOL="otool"
7886 else
7887 case $cross_compiling:$ac_tool_warned in
7888 yes:)
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891 ac_tool_warned=yes ;;
7892 esac
7893 OTOOL=$ac_ct_OTOOL
7895 else
7896 OTOOL="$ac_cv_prog_OTOOL"
7899 if test -n "$ac_tool_prefix"; then
7900 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7901 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7903 $as_echo_n "checking for $ac_word... " >&6; }
7904 if ${ac_cv_prog_READELF+:} false; then :
7905 $as_echo_n "(cached) " >&6
7906 else
7907 if test -n "$READELF"; then
7908 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7909 else
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 for as_dir in $PATH
7913 IFS=$as_save_IFS
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 break 2
7921 done
7922 done
7923 IFS=$as_save_IFS
7927 READELF=$ac_cv_prog_READELF
7928 if test -n "$READELF"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7930 $as_echo "$READELF" >&6; }
7931 else
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7938 if test -z "$ac_cv_prog_READELF"; then
7939 ac_ct_READELF=$READELF
7940 # Extract the first word of "readelf", so it can be a program name with args.
7941 set dummy readelf; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7943 $as_echo_n "checking for $ac_word... " >&6; }
7944 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7945 $as_echo_n "(cached) " >&6
7946 else
7947 if test -n "$ac_ct_READELF"; then
7948 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7949 else
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 for as_dir in $PATH
7953 IFS=$as_save_IFS
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_ac_ct_READELF="readelf"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959 break 2
7961 done
7962 done
7963 IFS=$as_save_IFS
7967 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7968 if test -n "$ac_ct_READELF"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7970 $as_echo "$ac_ct_READELF" >&6; }
7971 else
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7976 if test "x$ac_ct_READELF" = x; then
7977 READELF="true"
7978 else
7979 case $cross_compiling:$ac_tool_warned in
7980 yes:)
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7983 ac_tool_warned=yes ;;
7984 esac
7985 READELF=$ac_ct_READELF
7987 else
7988 READELF="$ac_cv_prog_READELF"
7991 wine_rules_file=conf$$rules.make
7992 rm -f $wine_rules_file
7993 SUBDIRS=""
7995 DISABLED_SUBDIRS=""
7997 CONFIGURE_TARGETS=""
8000 wine_fn_append_file ()
8002 as_fn_append $1 " \\$as_nl $2"
8005 wine_fn_append_rule ()
8007 $as_echo "$1" >>$wine_rules_file
8010 wine_fn_config_makefile ()
8012 wine_fn_append_file SUBDIRS $1
8013 if eval test \"x\$"$2"\" = x"no"; then :
8014 wine_fn_append_file DISABLED_SUBDIRS $1
8018 wine_fn_config_symlink ()
8020 ac_links=$@
8021 wine_fn_append_rule \
8022 "$ac_links:
8023 @./config.status \$@"
8024 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8027 wine_binary="wine"
8028 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8029 WINELOADER_PROGRAMS="$wine_binary"
8031 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8033 case $host_os in
8034 cygwin*|mingw32*)
8035 if test -n "$ac_tool_prefix"; then
8036 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8037 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_DLLTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$DLLTOOL"; then
8044 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 DLLTOOL=$ac_cv_prog_DLLTOOL
8064 if test -n "$DLLTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8066 $as_echo "$DLLTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8074 if test -z "$ac_cv_prog_DLLTOOL"; then
8075 ac_ct_DLLTOOL=$DLLTOOL
8076 # Extract the first word of "dlltool", so it can be a program name with args.
8077 set dummy dlltool; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8079 $as_echo_n "checking for $ac_word... " >&6; }
8080 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8081 $as_echo_n "(cached) " >&6
8082 else
8083 if test -n "$ac_ct_DLLTOOL"; then
8084 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8085 else
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 for as_dir in $PATH
8089 IFS=$as_save_IFS
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8093 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 break 2
8097 done
8098 done
8099 IFS=$as_save_IFS
8103 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8104 if test -n "$ac_ct_DLLTOOL"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8106 $as_echo "$ac_ct_DLLTOOL" >&6; }
8107 else
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8112 if test "x$ac_ct_DLLTOOL" = x; then
8113 DLLTOOL="false"
8114 else
8115 case $cross_compiling:$ac_tool_warned in
8116 yes:)
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8119 ac_tool_warned=yes ;;
8120 esac
8121 DLLTOOL=$ac_ct_DLLTOOL
8123 else
8124 DLLTOOL="$ac_cv_prog_DLLTOOL"
8127 LIBEXT="dll"
8128 DLLEXT=""
8129 IMPLIBEXT="a"
8130 enable_iphlpapi=${enable_iphlpapi:-no}
8131 enable_kernel32=${enable_kernel32:-no}
8132 enable_msvcrt=${enable_msvcrt:-no}
8133 enable_ntdll=${enable_ntdll:-no}
8134 enable_ws2_32=${enable_ws2_32:-no}
8135 enable_loader=${enable_loader:-no}
8136 enable_server=${enable_server:-no}
8137 with_x=${with_x:-no}
8138 with_pthread=${with_pthread:-no}
8140 crtlibs=""
8141 case $host_os in
8142 mingw32*)
8143 crtlibs="-lmsvcrt"
8144 SOCKET_LIBS="-lws2_32"
8146 esac
8148 LIBWINE_SHAREDLIB="libwine.dll"
8150 LIBWINE_IMPORTLIB="libwine.a"
8152 LIBWINE_INSTALL_LIB="libwine.dll"
8154 LIBWINE_INSTALL_DEV="libwine.a"
8156 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8158 LIBWINE_DEPENDS="wine.def"
8162 darwin*|macosx*)
8163 for ac_header in libunwind.h
8164 do :
8165 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8167 cat >>confdefs.h <<_ACEOF
8168 #define HAVE_LIBUNWIND_H 1
8169 _ACEOF
8173 done
8175 ac_ext=m
8176 ac_cpp='$OBJCPP $CPPFLAGS'
8177 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8178 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8179 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8181 ac_ext=m
8182 ac_cpp='$OBJCPP $CPPFLAGS'
8183 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8184 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8185 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8186 if test -n "$ac_tool_prefix"; then
8187 for ac_prog in gcc objcc objc cc CC
8189 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8190 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8192 $as_echo_n "checking for $ac_word... " >&6; }
8193 if ${ac_cv_prog_OBJC+:} false; then :
8194 $as_echo_n "(cached) " >&6
8195 else
8196 if test -n "$OBJC"; then
8197 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8198 else
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200 for as_dir in $PATH
8202 IFS=$as_save_IFS
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8208 break 2
8210 done
8211 done
8212 IFS=$as_save_IFS
8216 OBJC=$ac_cv_prog_OBJC
8217 if test -n "$OBJC"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8219 $as_echo "$OBJC" >&6; }
8220 else
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8226 test -n "$OBJC" && break
8227 done
8229 if test -z "$OBJC"; then
8230 ac_ct_OBJC=$OBJC
8231 for ac_prog in gcc objcc objc cc CC
8233 # Extract the first word of "$ac_prog", so it can be a program name with args.
8234 set dummy $ac_prog; ac_word=$2
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8236 $as_echo_n "checking for $ac_word... " >&6; }
8237 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 if test -n "$ac_ct_OBJC"; then
8241 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8242 else
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 for as_dir in $PATH
8246 IFS=$as_save_IFS
8247 test -z "$as_dir" && as_dir=.
8248 for ac_exec_ext in '' $ac_executable_extensions; do
8249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8250 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 break 2
8254 done
8255 done
8256 IFS=$as_save_IFS
8260 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8261 if test -n "$ac_ct_OBJC"; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8263 $as_echo "$ac_ct_OBJC" >&6; }
8264 else
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8266 $as_echo "no" >&6; }
8270 test -n "$ac_ct_OBJC" && break
8271 done
8273 if test "x$ac_ct_OBJC" = x; then
8274 OBJC="gcc"
8275 else
8276 case $cross_compiling:$ac_tool_warned in
8277 yes:)
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8280 ac_tool_warned=yes ;;
8281 esac
8282 OBJC=$ac_ct_OBJC
8286 # Provide some information about the compiler.
8287 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8288 set X $ac_compile
8289 ac_compiler=$2
8290 for ac_option in --version -v -V -qversion; do
8291 { { ac_try="$ac_compiler $ac_option >&5"
8292 case "(($ac_try" in
8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8294 *) ac_try_echo=$ac_try;;
8295 esac
8296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8297 $as_echo "$ac_try_echo"; } >&5
8298 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8299 ac_status=$?
8300 if test -s conftest.err; then
8301 sed '10a\
8302 ... rest of stderr output deleted ...
8303 10q' conftest.err >conftest.er1
8304 cat conftest.er1 >&5
8306 rm -f conftest.er1 conftest.err
8307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8308 test $ac_status = 0; }
8309 done
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8312 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8313 if ${ac_cv_objc_compiler_gnu+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8320 main ()
8322 #ifndef __GNUC__
8323 choke me
8324 #endif
8327 return 0;
8329 _ACEOF
8330 if ac_fn_objc_try_compile "$LINENO"; then :
8331 ac_compiler_gnu=yes
8332 else
8333 ac_compiler_gnu=no
8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8336 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8340 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8341 if test $ac_compiler_gnu = yes; then
8342 GOBJC=yes
8343 else
8344 GOBJC=
8346 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8347 ac_save_OBJCFLAGS=$OBJCFLAGS
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8349 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8350 if ${ac_cv_prog_objc_g+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_save_objc_werror_flag=$ac_objc_werror_flag
8354 ac_objc_werror_flag=yes
8355 ac_cv_prog_objc_g=no
8356 OBJCFLAGS="-g"
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8361 main ()
8365 return 0;
8367 _ACEOF
8368 if ac_fn_objc_try_compile "$LINENO"; then :
8369 ac_cv_prog_objc_g=yes
8370 else
8371 OBJCFLAGS=""
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8376 main ()
8380 return 0;
8382 _ACEOF
8383 if ac_fn_objc_try_compile "$LINENO"; then :
8385 else
8386 ac_objc_werror_flag=$ac_save_objc_werror_flag
8387 OBJCFLAGS="-g"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8392 main ()
8396 return 0;
8398 _ACEOF
8399 if ac_fn_objc_try_compile "$LINENO"; then :
8400 ac_cv_prog_objc_g=yes
8402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8407 ac_objc_werror_flag=$ac_save_objc_werror_flag
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8410 $as_echo "$ac_cv_prog_objc_g" >&6; }
8411 if test "$ac_test_OBJCFLAGS" = set; then
8412 OBJCFLAGS=$ac_save_OBJCFLAGS
8413 elif test $ac_cv_prog_objc_g = yes; then
8414 if test "$GOBJC" = yes; then
8415 OBJCFLAGS="-g -O2"
8416 else
8417 OBJCFLAGS="-g"
8419 else
8420 if test "$GOBJC" = yes; then
8421 OBJCFLAGS="-O2"
8422 else
8423 OBJCFLAGS=
8426 ac_ext=m
8427 ac_cpp='$OBJCPP $CPPFLAGS'
8428 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8429 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8430 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8433 ac_ext=m
8434 ac_cpp='$OBJCPP $CPPFLAGS'
8435 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8436 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8437 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8439 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8440 if test -z "$OBJCPP"; then
8441 if ${ac_cv_prog_OBJCPP+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 # Double quotes because OBJCPP needs to be expanded
8445 for OBJCPP in "$OBJC -E" "/lib/cpp"
8447 ac_preproc_ok=false
8448 for ac_objc_preproc_warn_flag in '' yes
8450 # Use a header file that comes with gcc, so configuring glibc
8451 # with a fresh cross-compiler works.
8452 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8453 # <limits.h> exists even on freestanding compilers.
8454 # On the NeXT, cc -E runs the code through the compiler's parser,
8455 # not just through cpp. "Syntax error" is here to catch this case.
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 #ifdef __STDC__
8459 # include <limits.h>
8460 #else
8461 # include <assert.h>
8462 #endif
8463 Syntax error
8464 _ACEOF
8465 if ac_fn_objc_try_cpp "$LINENO"; then :
8467 else
8468 # Broken: fails on valid input.
8469 continue
8471 rm -f conftest.err conftest.i conftest.$ac_ext
8473 # OK, works on sane cases. Now check whether nonexistent headers
8474 # can be detected and how.
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 #include <ac_nonexistent.h>
8478 _ACEOF
8479 if ac_fn_objc_try_cpp "$LINENO"; then :
8480 # Broken: success on invalid input.
8481 continue
8482 else
8483 # Passes both tests.
8484 ac_preproc_ok=:
8485 break
8487 rm -f conftest.err conftest.i conftest.$ac_ext
8489 done
8490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8491 rm -f conftest.i conftest.err conftest.$ac_ext
8492 if $ac_preproc_ok; then :
8493 break
8496 done
8497 ac_cv_prog_OBJCPP=$OBJCPP
8500 OBJCPP=$ac_cv_prog_OBJCPP
8501 else
8502 ac_cv_prog_OBJCPP=$OBJCPP
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8505 $as_echo "$OBJCPP" >&6; }
8506 ac_preproc_ok=false
8507 for ac_objc_preproc_warn_flag in '' yes
8509 # Use a header file that comes with gcc, so configuring glibc
8510 # with a fresh cross-compiler works.
8511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8512 # <limits.h> exists even on freestanding compilers.
8513 # On the NeXT, cc -E runs the code through the compiler's parser,
8514 # not just through cpp. "Syntax error" is here to catch this case.
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 #ifdef __STDC__
8518 # include <limits.h>
8519 #else
8520 # include <assert.h>
8521 #endif
8522 Syntax error
8523 _ACEOF
8524 if ac_fn_objc_try_cpp "$LINENO"; then :
8526 else
8527 # Broken: fails on valid input.
8528 continue
8530 rm -f conftest.err conftest.i conftest.$ac_ext
8532 # OK, works on sane cases. Now check whether nonexistent headers
8533 # can be detected and how.
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 #include <ac_nonexistent.h>
8537 _ACEOF
8538 if ac_fn_objc_try_cpp "$LINENO"; then :
8539 # Broken: success on invalid input.
8540 continue
8541 else
8542 # Passes both tests.
8543 ac_preproc_ok=:
8544 break
8546 rm -f conftest.err conftest.i conftest.$ac_ext
8548 done
8549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8550 rm -f conftest.i conftest.err conftest.$ac_ext
8551 if $ac_preproc_ok; then :
8553 else
8554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8556 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8557 See \`config.log' for more details" "$LINENO" 5; }
8560 ac_ext=m
8561 ac_cpp='$OBJCPP $CPPFLAGS'
8562 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8563 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8564 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8567 for ac_header in Metal/Metal.h
8568 do :
8569 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8570 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8571 cat >>confdefs.h <<_ACEOF
8572 #define HAVE_METAL_METAL_H 1
8573 _ACEOF
8577 done
8579 ac_ext=c
8580 ac_cpp='$CPP $CPPFLAGS'
8581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8585 LIBEXT="dylib"
8586 DLLFLAGS="$DLLFLAGS -fPIC"
8587 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8588 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8589 COREFOUNDATION_LIBS="-framework CoreFoundation"
8591 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8593 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8595 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8597 CORESERVICES_LIBS="-framework CoreServices"
8599 APPKIT_LIBS="-framework AppKit"
8601 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8603 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8604 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8605 $as_echo_n "(cached) " >&6
8606 else
8607 ac_wine_try_cflags_saved=$CFLAGS
8608 CFLAGS="$CFLAGS -Wl,-no_pie"
8609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610 /* end confdefs.h. */
8611 int main(int argc, char **argv) { return 0; }
8612 _ACEOF
8613 if ac_fn_c_try_link "$LINENO"; then :
8614 ac_cv_cflags__Wl__no_pie=yes
8615 else
8616 ac_cv_cflags__Wl__no_pie=no
8618 rm -f core conftest.err conftest.$ac_objext \
8619 conftest$ac_exeext conftest.$ac_ext
8620 CFLAGS=$ac_wine_try_cflags_saved
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8623 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8624 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8625 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8627 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8628 then
8629 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8632 if test "$ac_cv_header_Security_Security_h" = "yes"
8633 then
8634 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8636 ac_save_LIBS="$LIBS"
8637 LIBS="$LIBS $SECURITY_LIBS"
8638 for ac_func in SSLCopyPeerCertificates
8639 do :
8640 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8641 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8642 cat >>confdefs.h <<_ACEOF
8643 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8644 _ACEOF
8647 done
8649 LIBS="$ac_save_LIBS"
8651 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8652 then
8653 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8654 then
8655 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8657 else
8658 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8661 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8662 ac_save_LIBS="$LIBS"
8663 LIBS="$LIBS $COREAUDIO_LIBS"
8664 for ac_func in AUGraphAddNode
8665 do :
8666 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8667 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8668 cat >>confdefs.h <<_ACEOF
8669 #define HAVE_AUGRAPHADDNODE 1
8670 _ACEOF
8673 done
8675 LIBS="$ac_save_LIBS"
8677 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8678 then
8679 OPENAL_LIBS="-framework OpenAL"
8682 cat >>confdefs.h <<_ACEOF
8683 #define HAVE_OPENAL 1
8684 _ACEOF
8686 ac_cv_lib_openal=yes
8688 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8689 then
8690 OPENCL_LIBS="-framework OpenCL"
8692 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8694 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8695 then
8696 ac_save_LIBS="$LIBS"
8697 LIBS="$LIBS $IOKIT_LIBS"
8698 for ac_func in IOHIDManagerCreate
8699 do :
8700 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8701 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8702 cat >>confdefs.h <<_ACEOF
8703 #define HAVE_IOHIDMANAGERCREATE 1
8704 _ACEOF
8707 done
8709 LIBS="$ac_save_LIBS"
8711 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8712 then
8713 ac_save_LIBS="$LIBS"
8714 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8716 $as_echo_n "checking for the QuickTime framework... " >&6; }
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 #include <QuickTime/ImageCompression.h>
8721 main ()
8723 CodecManagerVersion(NULL);
8725 return 0;
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8730 $as_echo "yes" >&6; }
8731 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8733 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8734 else
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8736 $as_echo "no" >&6; }
8737 ac_cv_header_QuickTime_ImageCompression_h=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 LIBS="$ac_save_LIBS"
8743 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8744 then
8745 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8747 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8748 then
8749 CARBON_LIBS="-framework Carbon"
8752 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8753 then
8754 METAL_LIBS="-framework Metal -framework QuartzCore"
8758 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8759 then
8760 ac_save_LIBS="$LIBS"
8761 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8762 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8763 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8764 enable_winemac_drv=${enable_winemac_drv:-yes}
8767 LIBS="$ac_save_LIBS"
8770 if test "x$enable_win16" = "xyes"
8771 then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8773 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8774 if test "$cross_compiling" = yes; then :
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8776 $as_echo "cross-compiling, assuming yes" >&6; }
8777 else
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8780 asm(".text\n"
8781 "bad:\tnop;nop\n"
8782 "good:\tnop;nop\n\t"
8783 ".globl _testfunc\n"
8784 "_testfunc:\tcallw good");
8785 extern void testfunc();
8787 main ()
8789 unsigned short *p = (unsigned short *)testfunc;
8790 return p[0] != 0xe866 || p[1] != 0xfffa
8792 return 0;
8794 _ACEOF
8795 if ac_fn_c_try_run "$LINENO"; then :
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8797 $as_echo "yes" >&6; }
8798 else
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8800 $as_echo "no" >&6; }
8801 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
8803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8804 conftest.$ac_objext conftest.beam conftest.$ac_ext
8809 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8811 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8813 LIBWINE_INSTALL_DEV="libwine.dylib"
8815 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8817 WINELOADER_DEPENDS="wine_info.plist"
8821 linux-android*)
8822 DLLFLAGS="$DLLFLAGS -fPIC"
8823 LDEXECFLAGS="-Wl,-pie"
8824 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8826 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8827 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8834 int main(int argc, char **argv) { return 0; }
8835 _ACEOF
8836 if ac_fn_c_try_link "$LINENO"; then :
8837 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8838 else
8839 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8841 rm -f core conftest.err conftest.$ac_objext \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8846 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8847 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8848 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8850 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8852 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8853 if eval \${$as_ac_var+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8863 eval "$as_ac_var=yes"
8864 else
8865 eval "$as_ac_var=no"
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 eval ac_res=\$$as_ac_var
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8873 $as_echo "$ac_res" >&6; }
8874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8875 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8876 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8877 else
8878 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8880 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8881 if eval \${$as_ac_var+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 ac_wine_try_cflags_saved=$CFLAGS
8885 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8888 int main(int argc, char **argv) { return 0; }
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 eval "$as_ac_var=yes"
8892 else
8893 eval "$as_ac_var=no"
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8897 CFLAGS=$ac_wine_try_cflags_saved
8899 eval ac_res=\$$as_ac_var
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8901 $as_echo "$ac_res" >&6; }
8902 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8903 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8904 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8908 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8909 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 ac_wine_try_cflags_saved=$CFLAGS
8913 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 int main(int argc, char **argv) { return 0; }
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 ac_cv_cflags__Wl___enable_new_dtags=yes
8920 else
8921 ac_cv_cflags__Wl___enable_new_dtags=no
8923 rm -f core conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 CFLAGS=$ac_wine_try_cflags_saved
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8928 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8929 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8930 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8933 LIBWINE_SHAREDLIB="libwine.so"
8935 LIBWINE_INSTALL_LIB="libwine.so"
8937 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8941 $as_echo_n "checking for -lEGL... " >&6; }
8942 if ${ac_cv_lib_soname_EGL+:} false; then :
8943 $as_echo_n "(cached) " >&6
8944 else
8945 ac_check_soname_save_LIBS=$LIBS
8946 LIBS="-lEGL $LIBS"
8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8950 /* Override any GCC internal prototype to avoid an error.
8951 Use char because int might match the return type of a GCC
8952 builtin and then its argument prototype would still apply. */
8953 #ifdef __cplusplus
8954 extern "C"
8955 #endif
8956 char eglGetProcAddress ();
8958 main ()
8960 return eglGetProcAddress ();
8962 return 0;
8964 _ACEOF
8965 if ac_fn_c_try_link "$LINENO"; then :
8966 case "$LIBEXT" in
8967 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8968 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'` ;;
8969 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8970 if ${ac_cv_lib_soname_EGL:+false} :; then :
8971 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8972 fi ;;
8973 esac
8975 rm -f core conftest.err conftest.$ac_objext \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LIBS=$ac_check_soname_save_LIBS
8979 if ${ac_cv_lib_soname_EGL:+false} :; then :
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8981 $as_echo "not found" >&6; }
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8985 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8987 cat >>confdefs.h <<_ACEOF
8988 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8989 _ACEOF
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8994 $as_echo_n "checking for -lGLESv2... " >&6; }
8995 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8996 $as_echo_n "(cached) " >&6
8997 else
8998 ac_check_soname_save_LIBS=$LIBS
8999 LIBS="-lGLESv2 $LIBS"
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9006 #ifdef __cplusplus
9007 extern "C"
9008 #endif
9009 char glFlush ();
9011 main ()
9013 return glFlush ();
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 case "$LIBEXT" in
9020 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9021 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'` ;;
9022 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9023 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9024 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9025 fi ;;
9026 esac
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LIBS=$ac_check_soname_save_LIBS
9032 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9034 $as_echo "not found" >&6; }
9036 else
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9038 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9040 cat >>confdefs.h <<_ACEOF
9041 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9042 _ACEOF
9047 if test "x$exec_prefix" = xNONE
9048 then
9049 case $host_cpu in
9050 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9051 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9052 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9053 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9054 esac
9059 DLLFLAGS="$DLLFLAGS -fPIC"
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9061 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9062 if ${ac_cv_c_dll_gnuelf+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 ac_wine_try_cflags_saved=$CFLAGS
9066 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 void myfunc() {}
9070 _ACEOF
9071 if ac_fn_c_try_link "$LINENO"; then :
9072 ac_cv_c_dll_gnuelf="yes"
9073 else
9074 ac_cv_c_dll_gnuelf="no"
9076 rm -f core conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext
9078 CFLAGS=$ac_wine_try_cflags_saved
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9081 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9082 if test "$ac_cv_c_dll_gnuelf" = "yes"
9083 then
9084 LIBWINE_LDFLAGS="-shared"
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9086 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9087 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9088 $as_echo_n "(cached) " >&6
9089 else
9090 ac_wine_try_cflags_saved=$CFLAGS
9091 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9094 int main(int argc, char **argv) { return 0; }
9095 _ACEOF
9096 if ac_fn_c_try_link "$LINENO"; then :
9097 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9098 else
9099 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9101 rm -f core conftest.err conftest.$ac_objext \
9102 conftest$ac_exeext conftest.$ac_ext
9103 CFLAGS=$ac_wine_try_cflags_saved
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9106 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9107 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9108 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9109 else
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9111 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9112 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9113 $as_echo_n "(cached) " >&6
9114 else
9115 ac_wine_try_cflags_saved=$CFLAGS
9116 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 int main(int argc, char **argv) { return 0; }
9120 _ACEOF
9121 if ac_fn_c_try_link "$LINENO"; then :
9122 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9123 else
9124 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 CFLAGS=$ac_wine_try_cflags_saved
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9131 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9132 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9133 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9137 echo '{ global: *; };' >conftest.map
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9139 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9140 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_wine_try_cflags_saved=$CFLAGS
9144 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 int main(int argc, char **argv) { return 0; }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9151 else
9152 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 CFLAGS=$ac_wine_try_cflags_saved
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9159 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9160 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9161 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9163 rm -f conftest.map
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9166 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9167 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_wine_try_cflags_saved=$CFLAGS
9171 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9174 int main(int argc, char **argv) { return 0; }
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9178 else
9179 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9181 rm -f core conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9183 CFLAGS=$ac_wine_try_cflags_saved
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9186 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9187 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9188 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9191 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9193 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9194 if eval \${$as_ac_var+:} false; then :
9195 $as_echo_n "(cached) " >&6
9196 else
9197 ac_wine_try_cflags_saved=$CFLAGS
9198 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9200 /* end confdefs.h. */
9201 int main(int argc, char **argv) { return 0; }
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 eval "$as_ac_var=yes"
9205 else
9206 eval "$as_ac_var=no"
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 CFLAGS=$ac_wine_try_cflags_saved
9212 eval ac_res=\$$as_ac_var
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9214 $as_echo "$ac_res" >&6; }
9215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9216 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9217 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9218 else
9219 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9221 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9222 if eval \${$as_ac_var+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_wine_try_cflags_saved=$CFLAGS
9226 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9229 int main(int argc, char **argv) { return 0; }
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 eval "$as_ac_var=yes"
9233 else
9234 eval "$as_ac_var=no"
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 CFLAGS=$ac_wine_try_cflags_saved
9240 eval ac_res=\$$as_ac_var
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9242 $as_echo "$ac_res" >&6; }
9243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9244 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9245 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9250 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9251 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9252 $as_echo_n "(cached) " >&6
9253 else
9254 ac_wine_try_cflags_saved=$CFLAGS
9255 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9258 int main(int argc, char **argv) { return 0; }
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 ac_cv_cflags__Wl___enable_new_dtags=yes
9262 else
9263 ac_cv_cflags__Wl___enable_new_dtags=no
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 CFLAGS=$ac_wine_try_cflags_saved
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9270 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9271 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9272 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9275 case $host_cpu in
9276 *i[3456789]86* | x86_64 | *aarch64*)
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9278 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9279 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9280 $as_echo_n "(cached) " >&6
9281 else
9282 ac_wine_try_cflags_saved=$CFLAGS
9283 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9285 /* end confdefs.h. */
9286 int main(int argc, char **argv) { return 0; }
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9289 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9290 else
9291 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9293 rm -f core conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 CFLAGS=$ac_wine_try_cflags_saved
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9298 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9299 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9300 case $host_os in
9301 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9302 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9303 esac
9304 else
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9306 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9307 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_wine_try_cflags_saved=$CFLAGS
9311 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9314 int main(int argc, char **argv) { return 0; }
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9318 else
9319 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 CFLAGS=$ac_wine_try_cflags_saved
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9326 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9327 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9328 case $host_os in
9329 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9330 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9331 esac
9333 # Extract the first word of "prelink", so it can be a program name with args.
9334 set dummy prelink; ac_word=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 $as_echo_n "checking for $ac_word... " >&6; }
9337 if ${ac_cv_path_PRELINK+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 case $PRELINK in
9341 [\\/]* | ?:[\\/]*)
9342 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 for as_dir in /sbin /usr/sbin $PATH
9348 IFS=$as_save_IFS
9349 test -z "$as_dir" && as_dir=.
9350 for ac_exec_ext in '' $ac_executable_extensions; do
9351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9352 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9354 break 2
9356 done
9357 done
9358 IFS=$as_save_IFS
9360 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9362 esac
9364 PRELINK=$ac_cv_path_PRELINK
9365 if test -n "$PRELINK"; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9367 $as_echo "$PRELINK" >&6; }
9368 else
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 $as_echo "no" >&6; }
9374 if test "x$PRELINK" = xfalse
9375 then
9376 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9380 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9381 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_wine_try_cflags_saved=$CFLAGS
9385 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9388 int main(int argc, char **argv) { return 0; }
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9392 else
9393 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 CFLAGS=$ac_wine_try_cflags_saved
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9400 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9401 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9402 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9405 esac
9407 else
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9409 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9410 if ${ac_cv_c_dll_unixware+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 void myfunc() {}
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 ac_cv_c_dll_unixware="yes"
9421 else
9422 ac_cv_c_dll_unixware="no"
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 CFLAGS=$ac_wine_try_cflags_saved
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9429 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9430 if test "$ac_cv_c_dll_unixware" = "yes"
9431 then
9432 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9435 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9437 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9439 LIBWINE_INSTALL_DEV="libwine.so"
9441 LIBWINE_DEPENDS="wine.map"
9444 esac
9446 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9447 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9448 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9449 enable_winemac_drv=${enable_winemac_drv:-no}
9450 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9452 CROSSTARGET=""
9454 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9455 then
9456 case "$host_cpu" in
9457 aarch64*)
9458 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9459 arm*)
9460 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9461 i[3456789]86*)
9462 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
9463 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9464 mingw32-gcc" ;;
9465 x86_64)
9466 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
9467 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9469 ac_prefix_list="" ;;
9470 esac
9471 for ac_prog in $ac_prefix_list
9473 # Extract the first word of "$ac_prog", so it can be a program name with args.
9474 set dummy $ac_prog; ac_word=$2
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9476 $as_echo_n "checking for $ac_word... " >&6; }
9477 if ${ac_cv_prog_CROSSCC+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 if test -n "$CROSSCC"; then
9481 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9482 else
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 for as_dir in $PATH
9486 IFS=$as_save_IFS
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9490 ac_cv_prog_CROSSCC="$ac_prog"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9492 break 2
9494 done
9495 done
9496 IFS=$as_save_IFS
9500 CROSSCC=$ac_cv_prog_CROSSCC
9501 if test -n "$CROSSCC"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9503 $as_echo "$CROSSCC" >&6; }
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9506 $as_echo "no" >&6; }
9510 test -n "$CROSSCC" && break
9511 done
9512 test -n "$CROSSCC" || CROSSCC="false"
9514 if test "$CROSSCC" != "false"
9515 then
9516 ac_save_CC="$CC"
9517 CC="$CROSSCC"
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9519 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9524 main ()
9528 return 0;
9530 _ACEOF
9531 if ac_fn_c_try_compile "$LINENO"; then :
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9533 $as_echo "yes" >&6; }
9534 set x $CROSSCC
9535 shift
9536 while test $# -ge 1
9538 case "$1" in
9539 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9540 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9541 esac
9542 shift
9543 done
9544 else
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9546 $as_echo "no" >&6; }
9548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9549 CC="$ac_save_CC"
9550 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9556 if test "$ac_cv_header_pthread_h" = "yes"
9557 then
9558 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9559 if test "x$ac_cv_func_pthread_create" = xyes; then :
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9563 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9564 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_check_lib_save_LIBS=$LIBS
9568 LIBS="-lpthread $LIBS"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char pthread_create ();
9580 main ()
9582 return pthread_create ();
9584 return 0;
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588 ac_cv_lib_pthread_pthread_create=yes
9589 else
9590 ac_cv_lib_pthread_pthread_create=no
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_lib_save_LIBS
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9597 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9598 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9599 PTHREAD_LIBS="-lpthread"
9606 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9607 case "x$with_pthread" in
9608 xno) ;;
9609 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9610 Wine cannot support threads without libpthread.
9611 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9612 esac
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9618 $as_echo_n "checking for X... " >&6; }
9621 # Check whether --with-x was given.
9622 if test "${with_x+set}" = set; then :
9623 withval=$with_x;
9626 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9627 if test "x$with_x" = xno; then
9628 # The user explicitly disabled X.
9629 have_x=disabled
9630 else
9631 case $x_includes,$x_libraries in #(
9632 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9633 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 # One or both of the vars are not set, and there is no cached value.
9637 ac_x_includes=no ac_x_libraries=no
9638 rm -f -r conftest.dir
9639 if mkdir conftest.dir; then
9640 cd conftest.dir
9641 cat >Imakefile <<'_ACEOF'
9642 incroot:
9643 @echo incroot='${INCROOT}'
9644 usrlibdir:
9645 @echo usrlibdir='${USRLIBDIR}'
9646 libdir:
9647 @echo libdir='${LIBDIR}'
9648 _ACEOF
9649 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9650 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9651 for ac_var in incroot usrlibdir libdir; do
9652 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9653 done
9654 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9655 for ac_extension in a so sl dylib la dll; do
9656 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9657 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9658 ac_im_usrlibdir=$ac_im_libdir; break
9660 done
9661 # Screen out bogus values from the imake configuration. They are
9662 # bogus both because they are the default anyway, and because
9663 # using them would break gcc on systems where it needs fixed includes.
9664 case $ac_im_incroot in
9665 /usr/include) ac_x_includes= ;;
9666 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9667 esac
9668 case $ac_im_usrlibdir in
9669 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9670 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9671 esac
9673 cd ..
9674 rm -f -r conftest.dir
9677 # Standard set of common directories for X headers.
9678 # Check X11 before X11Rn because it is often a symlink to the current release.
9679 ac_x_header_dirs='
9680 /usr/X11/include
9681 /usr/X11R7/include
9682 /usr/X11R6/include
9683 /usr/X11R5/include
9684 /usr/X11R4/include
9686 /usr/include/X11
9687 /usr/include/X11R7
9688 /usr/include/X11R6
9689 /usr/include/X11R5
9690 /usr/include/X11R4
9692 /usr/local/X11/include
9693 /usr/local/X11R7/include
9694 /usr/local/X11R6/include
9695 /usr/local/X11R5/include
9696 /usr/local/X11R4/include
9698 /usr/local/include/X11
9699 /usr/local/include/X11R7
9700 /usr/local/include/X11R6
9701 /usr/local/include/X11R5
9702 /usr/local/include/X11R4
9704 /usr/X386/include
9705 /usr/x386/include
9706 /usr/XFree86/include/X11
9708 /usr/include
9709 /usr/local/include
9710 /usr/unsupported/include
9711 /usr/athena/include
9712 /usr/local/x11r5/include
9713 /usr/lpp/Xamples/include
9715 /usr/openwin/include
9716 /usr/openwin/share/include'
9718 if test "$ac_x_includes" = no; then
9719 # Guess where to find include files, by looking for Xlib.h.
9720 # First, try using that file with no special directory specified.
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9723 #include <X11/Xlib.h>
9724 _ACEOF
9725 if ac_fn_c_try_cpp "$LINENO"; then :
9726 # We can compile using X headers with no special include directory.
9727 ac_x_includes=
9728 else
9729 for ac_dir in $ac_x_header_dirs; do
9730 if test -r "$ac_dir/X11/Xlib.h"; then
9731 ac_x_includes=$ac_dir
9732 break
9734 done
9736 rm -f conftest.err conftest.i conftest.$ac_ext
9737 fi # $ac_x_includes = no
9739 if test "$ac_x_libraries" = no; then
9740 # Check for the libraries.
9741 # See if we find them without any special options.
9742 # Don't add to $LIBS permanently.
9743 ac_save_LIBS=$LIBS
9744 LIBS="-lX11 $LIBS"
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9747 #include <X11/Xlib.h>
9749 main ()
9751 XrmInitialize ()
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 LIBS=$ac_save_LIBS
9758 # We can link X programs with no special library path.
9759 ac_x_libraries=
9760 else
9761 LIBS=$ac_save_LIBS
9762 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9764 # Don't even attempt the hair of trying to link an X program!
9765 for ac_extension in a so sl dylib la dll; do
9766 if test -r "$ac_dir/libX11.$ac_extension"; then
9767 ac_x_libraries=$ac_dir
9768 break 2
9770 done
9771 done
9773 rm -f core conftest.err conftest.$ac_objext \
9774 conftest$ac_exeext conftest.$ac_ext
9775 fi # $ac_x_libraries = no
9777 case $ac_x_includes,$ac_x_libraries in #(
9778 no,* | *,no | *\'*)
9779 # Didn't find X, or a directory has "'" in its name.
9780 ac_cv_have_x="have_x=no";; #(
9782 # Record where we found X for the cache.
9783 ac_cv_have_x="have_x=yes\
9784 ac_x_includes='$ac_x_includes'\
9785 ac_x_libraries='$ac_x_libraries'"
9786 esac
9788 ;; #(
9789 *) have_x=yes;;
9790 esac
9791 eval "$ac_cv_have_x"
9792 fi # $with_x != no
9794 if test "$have_x" != yes; then
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9796 $as_echo "$have_x" >&6; }
9797 no_x=yes
9798 else
9799 # If each of the values was on the command line, it overrides each guess.
9800 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9801 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9802 # Update the cache value to reflect the command line values.
9803 ac_cv_have_x="have_x=yes\
9804 ac_x_includes='$x_includes'\
9805 ac_x_libraries='$x_libraries'"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9807 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9810 if test "$no_x" = yes; then
9811 # Not all programs may use this symbol, but it does not hurt to define it.
9813 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9815 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9816 else
9817 if test -n "$x_includes"; then
9818 X_CFLAGS="$X_CFLAGS -I$x_includes"
9821 # It would also be nice to do this for all -L options, not just this one.
9822 if test -n "$x_libraries"; then
9823 X_LIBS="$X_LIBS -L$x_libraries"
9824 # For Solaris; some versions of Sun CC require a space after -R and
9825 # others require no space. Words are not sufficient . . . .
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9827 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9828 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9829 ac_xsave_c_werror_flag=$ac_c_werror_flag
9830 ac_c_werror_flag=yes
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9835 main ()
9839 return 0;
9841 _ACEOF
9842 if ac_fn_c_try_link "$LINENO"; then :
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9844 $as_echo "no" >&6; }
9845 X_LIBS="$X_LIBS -R$x_libraries"
9846 else
9847 LIBS="$ac_xsave_LIBS -R $x_libraries"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9852 main ()
9856 return 0;
9858 _ACEOF
9859 if ac_fn_c_try_link "$LINENO"; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9861 $as_echo "yes" >&6; }
9862 X_LIBS="$X_LIBS -R $x_libraries"
9863 else
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9865 $as_echo "neither works" >&6; }
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 ac_c_werror_flag=$ac_xsave_c_werror_flag
9873 LIBS=$ac_xsave_LIBS
9876 # Check for system-dependent libraries X programs must link with.
9877 # Do this before checking for the system-independent R6 libraries
9878 # (-lICE), since we may need -lsocket or whatever for X linking.
9880 if test "$ISC" = yes; then
9881 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9882 else
9883 # Martyn Johnson says this is needed for Ultrix, if the X
9884 # libraries were built with DECnet support. And Karl Berry says
9885 # the Alpha needs dnet_stub (dnet does not exist).
9886 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9893 #ifdef __cplusplus
9894 extern "C"
9895 #endif
9896 char XOpenDisplay ();
9898 main ()
9900 return XOpenDisplay ();
9902 return 0;
9904 _ACEOF
9905 if ac_fn_c_try_link "$LINENO"; then :
9907 else
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9909 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9910 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_check_lib_save_LIBS=$LIBS
9914 LIBS="-ldnet $LIBS"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9921 #ifdef __cplusplus
9922 extern "C"
9923 #endif
9924 char dnet_ntoa ();
9926 main ()
9928 return dnet_ntoa ();
9930 return 0;
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 ac_cv_lib_dnet_dnet_ntoa=yes
9935 else
9936 ac_cv_lib_dnet_dnet_ntoa=no
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 LIBS=$ac_check_lib_save_LIBS
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9943 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9944 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9945 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9948 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9950 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9951 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_check_lib_save_LIBS=$LIBS
9955 LIBS="-ldnet_stub $LIBS"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9962 #ifdef __cplusplus
9963 extern "C"
9964 #endif
9965 char dnet_ntoa ();
9967 main ()
9969 return dnet_ntoa ();
9971 return 0;
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9976 else
9977 ac_cv_lib_dnet_stub_dnet_ntoa=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_lib_save_LIBS
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9984 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9985 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9986 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS="$ac_xsave_LIBS"
9995 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9996 # to get the SysV transport functions.
9997 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9998 # needs -lnsl.
9999 # The nsl library prevents programs from opening the X display
10000 # on Irix 5.2, according to T.E. Dickey.
10001 # The functions gethostbyname, getservbyname, and inet_addr are
10002 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10003 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10004 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10008 if test $ac_cv_func_gethostbyname = no; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10010 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10011 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10012 $as_echo_n "(cached) " >&6
10013 else
10014 ac_check_lib_save_LIBS=$LIBS
10015 LIBS="-lnsl $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10022 #ifdef __cplusplus
10023 extern "C"
10024 #endif
10025 char gethostbyname ();
10027 main ()
10029 return gethostbyname ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_lib_nsl_gethostbyname=yes
10036 else
10037 ac_cv_lib_nsl_gethostbyname=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LIBS=$ac_check_lib_save_LIBS
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10044 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10045 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10046 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10049 if test $ac_cv_lib_nsl_gethostbyname = no; then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10051 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10052 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_check_lib_save_LIBS=$LIBS
10056 LIBS="-lbsd $LIBS"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10063 #ifdef __cplusplus
10064 extern "C"
10065 #endif
10066 char gethostbyname ();
10068 main ()
10070 return gethostbyname ();
10072 return 0;
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 ac_cv_lib_bsd_gethostbyname=yes
10077 else
10078 ac_cv_lib_bsd_gethostbyname=no
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 LIBS=$ac_check_lib_save_LIBS
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10085 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10086 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10087 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10093 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10094 # socket/setsockopt and other routines are undefined under SCO ODT
10095 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10096 # on later versions), says Simon Leinen: it contains gethostby*
10097 # variants that don't use the name server (or something). -lsocket
10098 # must be given before -lnsl if both are needed. We assume that
10099 # if connect needs -lnsl, so does gethostbyname.
10100 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10101 if test "x$ac_cv_func_connect" = xyes; then :
10105 if test $ac_cv_func_connect = no; then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10107 $as_echo_n "checking for connect in -lsocket... " >&6; }
10108 if ${ac_cv_lib_socket_connect+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char connect ();
10124 main ()
10126 return connect ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_lib_socket_connect=yes
10133 else
10134 ac_cv_lib_socket_connect=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10141 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10142 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10143 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10148 # Guillermo Gomez says -lposix is necessary on A/UX.
10149 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10150 if test "x$ac_cv_func_remove" = xyes; then :
10154 if test $ac_cv_func_remove = no; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10156 $as_echo_n "checking for remove in -lposix... " >&6; }
10157 if ${ac_cv_lib_posix_remove+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_check_lib_save_LIBS=$LIBS
10161 LIBS="-lposix $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char remove ();
10173 main ()
10175 return remove ();
10177 return 0;
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_lib_posix_remove=yes
10182 else
10183 ac_cv_lib_posix_remove=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LIBS=$ac_check_lib_save_LIBS
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10190 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10191 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10197 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10198 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10199 if test "x$ac_cv_func_shmat" = xyes; then :
10203 if test $ac_cv_func_shmat = no; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10205 $as_echo_n "checking for shmat in -lipc... " >&6; }
10206 if ${ac_cv_lib_ipc_shmat+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_lib_save_LIBS=$LIBS
10210 LIBS="-lipc $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char shmat ();
10222 main ()
10224 return shmat ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_lib_ipc_shmat=yes
10231 else
10232 ac_cv_lib_ipc_shmat=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_lib_save_LIBS
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10239 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10240 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10247 # Check for libraries that X11R6 Xt/Xaw programs need.
10248 ac_save_LDFLAGS=$LDFLAGS
10249 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10250 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10251 # check for ICE first), but we must link in the order -lSM -lICE or
10252 # we get undefined symbols. So assume we have SM if we have ICE.
10253 # These have to be linked with before -lX11, unlike the other
10254 # libraries we check for below, so use a different variable.
10255 # John Interrante, Karl Berry
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10257 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10258 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260 else
10261 ac_check_lib_save_LIBS=$LIBS
10262 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10266 /* Override any GCC internal prototype to avoid an error.
10267 Use char because int might match the return type of a GCC
10268 builtin and then its argument prototype would still apply. */
10269 #ifdef __cplusplus
10270 extern "C"
10271 #endif
10272 char IceConnectionNumber ();
10274 main ()
10276 return IceConnectionNumber ();
10278 return 0;
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 ac_cv_lib_ICE_IceConnectionNumber=yes
10283 else
10284 ac_cv_lib_ICE_IceConnectionNumber=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_lib_save_LIBS
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10291 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10292 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10293 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10296 LDFLAGS=$ac_save_LDFLAGS
10301 if test "$have_x" = "yes"
10302 then
10303 ac_save_CPPFLAGS="$CPPFLAGS"
10304 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10307 $as_echo_n "checking for -lX11... " >&6; }
10308 if ${ac_cv_lib_soname_X11+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_soname_save_LIBS=$LIBS
10312 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char XCreateWindow ();
10324 main ()
10326 return XCreateWindow ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 case "$LIBEXT" in
10333 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_X11:+false} :; then :
10337 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 fi ;;
10339 esac
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_X11:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10351 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10355 _ACEOF
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10360 $as_echo_n "checking for -lXext... " >&6; }
10361 if ${ac_cv_lib_soname_Xext+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_check_soname_save_LIBS=$LIBS
10365 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10372 #ifdef __cplusplus
10373 extern "C"
10374 #endif
10375 char XextCreateExtension ();
10377 main ()
10379 return XextCreateExtension ();
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 case "$LIBEXT" in
10386 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10387 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'` ;;
10388 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10389 if ${ac_cv_lib_soname_Xext:+false} :; then :
10390 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10391 fi ;;
10392 esac
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 LIBS=$ac_check_soname_save_LIBS
10398 if ${ac_cv_lib_soname_Xext:+false} :; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10400 $as_echo "not found" >&6; }
10402 else
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10404 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10406 cat >>confdefs.h <<_ACEOF
10407 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10408 _ACEOF
10410 X_LIBS="$X_LIBS -lXext"
10412 X_LIBS="$X_LIBS -lX11"
10414 for ac_header in X11/Xlib.h \
10415 X11/XKBlib.h \
10416 X11/Xutil.h \
10417 X11/Xcursor/Xcursor.h \
10418 X11/extensions/shape.h \
10419 X11/extensions/XInput.h \
10420 X11/extensions/XInput2.h \
10421 X11/extensions/XShm.h \
10422 X11/extensions/Xcomposite.h \
10423 X11/extensions/Xfixes.h \
10424 X11/extensions/Xinerama.h \
10425 X11/extensions/Xrandr.h \
10426 X11/extensions/Xrender.h \
10427 X11/extensions/xf86vmode.h \
10428 X11/extensions/xf86vmproto.h
10429 do :
10430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10431 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10432 # include <X11/Xlib.h>
10433 #endif
10434 #ifdef HAVE_X11_XUTIL_H
10435 # include <X11/Xutil.h>
10436 #endif
10438 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10439 cat >>confdefs.h <<_ACEOF
10440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10441 _ACEOF
10445 done
10448 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10449 then
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10451 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10452 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10453 $as_echo_n "(cached) " >&6
10454 else
10455 ac_check_lib_save_LIBS=$LIBS
10456 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10463 #ifdef __cplusplus
10464 extern "C"
10465 #endif
10466 char XkbQueryExtension ();
10468 main ()
10470 return XkbQueryExtension ();
10472 return 0;
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 ac_cv_lib_X11_XkbQueryExtension=yes
10477 else
10478 ac_cv_lib_X11_XkbQueryExtension=no
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_lib_save_LIBS
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10485 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10486 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10488 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10494 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10495 then
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10497 $as_echo_n "checking for -lXcursor... " >&6; }
10498 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10499 $as_echo_n "(cached) " >&6
10500 else
10501 ac_check_soname_save_LIBS=$LIBS
10502 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10506 /* Override any GCC internal prototype to avoid an error.
10507 Use char because int might match the return type of a GCC
10508 builtin and then its argument prototype would still apply. */
10509 #ifdef __cplusplus
10510 extern "C"
10511 #endif
10512 char XcursorImageLoadCursor ();
10514 main ()
10516 return XcursorImageLoadCursor ();
10518 return 0;
10520 _ACEOF
10521 if ac_fn_c_try_link "$LINENO"; then :
10522 case "$LIBEXT" in
10523 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10524 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'` ;;
10525 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10526 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10527 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10528 fi ;;
10529 esac
10531 rm -f core conftest.err conftest.$ac_objext \
10532 conftest$ac_exeext conftest.$ac_ext
10533 LIBS=$ac_check_soname_save_LIBS
10535 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10537 $as_echo "not found" >&6; }
10539 else
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10541 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10543 cat >>confdefs.h <<_ACEOF
10544 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10545 _ACEOF
10550 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10551 case "x$with_xcursor" in
10552 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10553 xno) ;;
10554 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10555 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10556 esac
10560 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10561 then
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10563 $as_echo_n "checking for -lXi... " >&6; }
10564 if ${ac_cv_lib_soname_Xi+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_check_soname_save_LIBS=$LIBS
10568 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10575 #ifdef __cplusplus
10576 extern "C"
10577 #endif
10578 char XOpenDevice ();
10580 main ()
10582 return XOpenDevice ();
10584 return 0;
10586 _ACEOF
10587 if ac_fn_c_try_link "$LINENO"; then :
10588 case "$LIBEXT" in
10589 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_Xi:+false} :; then :
10593 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10594 fi ;;
10595 esac
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 LIBS=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_Xi:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10605 else
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10607 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10609 cat >>confdefs.h <<_ACEOF
10610 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10611 _ACEOF
10616 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10617 case "x$with_xinput" in
10618 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10619 xno) ;;
10620 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10621 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10622 esac
10626 if test "x$ac_cv_lib_soname_Xi" != x
10627 then
10628 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10629 case "x$with_xinput2" in
10630 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10631 xno) ;;
10632 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10633 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10634 esac
10639 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10640 then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10642 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10643 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char XShmQueryExtension ();
10659 main ()
10661 return XShmQueryExtension ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_Xext_XShmQueryExtension=yes
10668 else
10669 ac_cv_lib_Xext_XShmQueryExtension=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10676 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10677 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10679 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10684 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10685 case "x$with_xshm" in
10686 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10687 xno) ;;
10688 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10689 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10690 esac
10694 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10695 then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10697 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10698 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10699 $as_echo_n "(cached) " >&6
10700 else
10701 ac_check_lib_save_LIBS=$LIBS
10702 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 char XShapeQueryExtension ();
10714 main ()
10716 return XShapeQueryExtension ();
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 ac_cv_lib_Xext_XShapeQueryExtension=yes
10723 else
10724 ac_cv_lib_Xext_XShapeQueryExtension=no
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10731 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10732 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10734 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10739 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10740 case "x$with_xshape" in
10741 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10742 xno) ;;
10743 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10744 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10745 esac
10749 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10750 then
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10752 $as_echo_n "checking for -lXxf86vm... " >&6; }
10753 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10754 $as_echo_n "(cached) " >&6
10755 else
10756 ac_check_soname_save_LIBS=$LIBS
10757 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10764 #ifdef __cplusplus
10765 extern "C"
10766 #endif
10767 char XF86VidModeQueryExtension ();
10769 main ()
10771 return XF86VidModeQueryExtension ();
10773 return 0;
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 case "$LIBEXT" in
10778 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10779 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'` ;;
10780 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10781 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10782 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10783 fi ;;
10784 esac
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 LIBS=$ac_check_soname_save_LIBS
10790 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10792 $as_echo "not found" >&6; }
10794 else
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10796 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10798 cat >>confdefs.h <<_ACEOF
10799 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10800 _ACEOF
10805 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10806 case "x$with_xxf86vm" in
10807 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10808 xno) ;;
10809 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10810 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10811 esac
10815 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10816 then
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10818 $as_echo_n "checking for -lXrender... " >&6; }
10819 if ${ac_cv_lib_soname_Xrender+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_soname_save_LIBS=$LIBS
10823 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10830 #ifdef __cplusplus
10831 extern "C"
10832 #endif
10833 char XRenderQueryExtension ();
10835 main ()
10837 return XRenderQueryExtension ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 case "$LIBEXT" in
10844 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10845 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'` ;;
10846 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10847 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10848 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10849 fi ;;
10850 esac
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_soname_save_LIBS
10856 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10858 $as_echo "not found" >&6; }
10860 else
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10862 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10864 cat >>confdefs.h <<_ACEOF
10865 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10866 _ACEOF
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10869 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10870 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char XRenderSetPictureTransform ();
10886 main ()
10888 return XRenderSetPictureTransform ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10895 else
10896 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10903 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10904 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10906 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10911 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10912 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10913 $as_echo_n "(cached) " >&6
10914 else
10915 ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10923 #ifdef __cplusplus
10924 extern "C"
10925 #endif
10926 char XRenderCreateLinearGradient ();
10928 main ()
10930 return XRenderCreateLinearGradient ();
10932 return 0;
10934 _ACEOF
10935 if ac_fn_c_try_link "$LINENO"; then :
10936 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10937 else
10938 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10942 LIBS=$ac_check_lib_save_LIBS
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10945 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10946 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10948 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10955 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10956 case "x$with_xrender" in
10957 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10958 xno) ;;
10959 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10960 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10961 esac
10965 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10966 then
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 #include <X11/Xlib.h>
10970 #include <X11/extensions/Xrandr.h>
10972 main ()
10974 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_compile "$LINENO"; then :
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10981 $as_echo_n "checking for -lXrandr... " >&6; }
10982 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_soname_save_LIBS=$LIBS
10986 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char XRRQueryExtension ();
10998 main ()
11000 return XRRQueryExtension ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 case "$LIBEXT" in
11007 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11008 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'` ;;
11009 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11010 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11011 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11012 fi ;;
11013 esac
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_soname_save_LIBS
11019 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11021 $as_echo "not found" >&6; }
11023 else
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11025 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11027 cat >>confdefs.h <<_ACEOF
11028 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11029 _ACEOF
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11033 #include <X11/Xlib.h>
11034 #include <X11/extensions/Xrandr.h>
11036 main ()
11038 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11040 return 0;
11042 _ACEOF
11043 if ac_fn_c_try_compile "$LINENO"; then :
11045 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11053 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11054 case "x$with_xrandr" in
11055 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11056 xno) ;;
11057 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11058 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11059 esac
11063 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11064 then
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 #include <X11/Xlib.h>
11068 #include <X11/extensions/Xfixes.h>
11070 main ()
11072 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_compile "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11079 $as_echo_n "checking for -lXfixes... " >&6; }
11080 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11081 $as_echo_n "(cached) " >&6
11082 else
11083 ac_check_soname_save_LIBS=$LIBS
11084 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11088 /* Override any GCC internal prototype to avoid an error.
11089 Use char because int might match the return type of a GCC
11090 builtin and then its argument prototype would still apply. */
11091 #ifdef __cplusplus
11092 extern "C"
11093 #endif
11094 char XFixesQueryVersion ();
11096 main ()
11098 return XFixesQueryVersion ();
11100 return 0;
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"; then :
11104 case "$LIBEXT" in
11105 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11106 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'` ;;
11107 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11108 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11109 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11110 fi ;;
11111 esac
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_soname_save_LIBS
11117 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11119 $as_echo "not found" >&6; }
11121 else
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11123 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11125 cat >>confdefs.h <<_ACEOF
11126 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11127 _ACEOF
11132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11134 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11135 case "x$with_xfixes" in
11136 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11137 xno) ;;
11138 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11139 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11140 esac
11144 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11145 then
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 #include <X11/Xlib.h>
11149 #include <X11/extensions/Xinerama.h>
11151 main ()
11153 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_compile "$LINENO"; then :
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11160 $as_echo_n "checking for -lXinerama... " >&6; }
11161 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_soname_save_LIBS=$LIBS
11165 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char XineramaQueryScreens ();
11177 main ()
11179 return XineramaQueryScreens ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 case "$LIBEXT" in
11186 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11187 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'` ;;
11188 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11189 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11190 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11191 fi ;;
11192 esac
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_soname_save_LIBS
11198 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11200 $as_echo "not found" >&6; }
11202 else
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11204 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11206 cat >>confdefs.h <<_ACEOF
11207 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11208 _ACEOF
11213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11215 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11216 case "x$with_xinerama" in
11217 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11218 xno) ;;
11219 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11220 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11221 esac
11225 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11226 then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11228 $as_echo_n "checking for -lXcomposite... " >&6; }
11229 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11230 $as_echo_n "(cached) " >&6
11231 else
11232 ac_check_soname_save_LIBS=$LIBS
11233 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 #endif
11243 char XCompositeRedirectWindow ();
11245 main ()
11247 return XCompositeRedirectWindow ();
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"; then :
11253 case "$LIBEXT" in
11254 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11255 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'` ;;
11256 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11257 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11258 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11259 fi ;;
11260 esac
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_soname_save_LIBS
11266 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11268 $as_echo "not found" >&6; }
11270 else
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11272 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11274 cat >>confdefs.h <<_ACEOF
11275 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11276 _ACEOF
11281 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11282 case "x$with_xcomposite" in
11283 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11284 xno) ;;
11285 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11286 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11287 esac
11291 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11292 #include <X11/Xlib.h>
11293 #endif
11295 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11297 cat >>confdefs.h <<_ACEOF
11298 #define HAVE_XICCALLBACK_CALLBACK 1
11299 _ACEOF
11303 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11304 #include <X11/Xlib.h>
11305 #endif
11307 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11309 cat >>confdefs.h <<_ACEOF
11310 #define HAVE_XEVENT_XCOOKIE 1
11311 _ACEOF
11318 opengl_msg=""
11319 if test "x$with_opengl" != "xno"
11320 then
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11322 $as_echo_n "checking for -lGL... " >&6; }
11323 if ${ac_cv_lib_soname_GL+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_soname_save_LIBS=$LIBS
11327 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char glXCreateContext ();
11339 main ()
11341 return glXCreateContext ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 case "$LIBEXT" in
11348 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11349 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'` ;;
11350 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11351 if ${ac_cv_lib_soname_GL:+false} :; then :
11352 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11353 fi ;;
11354 esac
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_soname_save_LIBS
11360 if ${ac_cv_lib_soname_GL:+false} :; then :
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11362 $as_echo "not found" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11364 $as_echo_n "checking for -lGL... " >&6; }
11365 if ${ac_cv_lib_soname_GL+:} false; then :
11366 $as_echo_n "(cached) " >&6
11367 else
11368 ac_check_soname_save_LIBS=$LIBS
11369 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"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char glXCreateContext ();
11381 main ()
11383 return glXCreateContext ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 case "$LIBEXT" in
11390 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11391 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'` ;;
11392 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11393 if ${ac_cv_lib_soname_GL:+false} :; then :
11394 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11395 fi ;;
11396 esac
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_soname_save_LIBS
11402 if ${ac_cv_lib_soname_GL:+false} :; then :
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11404 $as_echo "not found" >&6; }
11405 if test -f /usr/X11R6/lib/libGL.a
11406 then
11407 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11408 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11409 else
11410 opengl_msg="No OpenGL library found on this system."
11412 else
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11414 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11416 cat >>confdefs.h <<_ACEOF
11417 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11418 _ACEOF
11420 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"
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11424 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11426 cat >>confdefs.h <<_ACEOF
11427 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11428 _ACEOF
11430 OPENGL_LIBS="-lGL"
11432 if test "x$with_glu" != "xno"
11433 then
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11435 $as_echo_n "checking for -lGLU... " >&6; }
11436 if ${ac_cv_lib_soname_GLU+:} false; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_soname_save_LIBS=$LIBS
11440 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char gluLookAt ();
11452 main ()
11454 return gluLookAt ();
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 case "$LIBEXT" in
11461 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11462 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'` ;;
11463 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11464 if ${ac_cv_lib_soname_GLU:+false} :; then :
11465 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11466 fi ;;
11467 esac
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_soname_save_LIBS
11473 if ${ac_cv_lib_soname_GLU:+false} :; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11475 $as_echo "not found" >&6; }
11477 else
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11479 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11481 cat >>confdefs.h <<_ACEOF
11482 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11483 _ACEOF
11487 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11488 case "x$with_glu" in
11489 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11490 xno) ;;
11491 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11492 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11493 esac
11498 if test "x$with_osmesa" != "xno"
11499 then
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11501 $as_echo_n "checking for -lOSMesa... " >&6; }
11502 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504 else
11505 ac_check_soname_save_LIBS=$LIBS
11506 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11513 #ifdef __cplusplus
11514 extern "C"
11515 #endif
11516 char OSMesaGetProcAddress ();
11518 main ()
11520 return OSMesaGetProcAddress ();
11522 return 0;
11524 _ACEOF
11525 if ac_fn_c_try_link "$LINENO"; then :
11526 case "$LIBEXT" in
11527 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11530 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11531 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11532 fi ;;
11533 esac
11535 rm -f core conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_soname_save_LIBS
11539 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11541 $as_echo "not found" >&6; }
11543 else
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11545 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11547 cat >>confdefs.h <<_ACEOF
11548 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11549 _ACEOF
11553 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11554 case "x$with_osmesa" in
11555 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11556 xno) ;;
11557 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11558 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11559 esac
11564 if test -n "$opengl_msg"; then :
11565 case "x$with_opengl" in
11566 x) as_fn_append wine_warnings "|$opengl_msg
11567 OpenGL and Direct3D won't be supported." ;;
11568 xno) ;;
11569 *) as_fn_error $? "$opengl_msg
11570 OpenGL and Direct3D won't be supported.
11571 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11572 esac
11576 CPPFLAGS="$ac_save_CPPFLAGS"
11577 else
11578 X_CFLAGS=""
11579 X_LIBS=""
11582 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11583 then
11584 if test "x$X_LIBS" = "x"; then :
11585 case "x$with_x" in
11586 xno) ;;
11587 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11588 without X support, which probably isn't what you want. You will need
11589 to install ${notice_platform}development packages of Xlib at the very least.
11590 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11591 esac
11592 enable_winex11_drv=${enable_winex11_drv:-no}
11594 else
11595 if test "x$X_LIBS" = "x"; then :
11596 case "x$with_x" in
11597 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11598 xno) ;;
11599 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11600 This is an error since --with-x was requested." "$LINENO" 5 ;;
11601 esac
11602 enable_winex11_drv=${enable_winex11_drv:-no}
11606 if test "$ac_cv_header_CL_cl_h" = "yes"
11607 then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11609 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11610 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11611 $as_echo_n "(cached) " >&6
11612 else
11613 ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lOpenCL $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char clGetPlatformInfo ();
11626 main ()
11628 return clGetPlatformInfo ();
11630 return 0;
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11635 else
11636 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11638 rm -f core conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11643 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11644 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11645 OPENCL_LIBS="-lOpenCL"
11650 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11651 case "x$with_opencl" in
11652 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11653 xno) ;;
11654 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11655 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11656 esac
11657 enable_opencl=${enable_opencl:-no}
11660 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11661 then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11663 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11664 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11665 $as_echo_n "(cached) " >&6
11666 else
11667 ac_check_lib_save_LIBS=$LIBS
11668 LIBS="-lpcap $LIBS"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11672 /* Override any GCC internal prototype to avoid an error.
11673 Use char because int might match the return type of a GCC
11674 builtin and then its argument prototype would still apply. */
11675 #ifdef __cplusplus
11676 extern "C"
11677 #endif
11678 char pcap_create ();
11680 main ()
11682 return pcap_create ();
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_link "$LINENO"; then :
11688 ac_cv_lib_pcap_pcap_create=yes
11689 else
11690 ac_cv_lib_pcap_pcap_create=no
11692 rm -f core conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11697 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11698 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11699 PCAP_LIBS="-lpcap"
11704 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11705 case "x$with_pcap" in
11706 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11707 xno) ;;
11708 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11709 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11710 esac
11711 enable_wpcap=${enable_wpcap:-no}
11715 if test "x$with_xml" != "xno"
11716 then
11717 if ${XML2_CFLAGS:+false} :; then :
11718 if ${PKG_CONFIG+:} false; then :
11719 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11722 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11723 if ${XML2_LIBS:+false} :; then :
11724 if ${PKG_CONFIG+:} false; then :
11725 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11728 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11729 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11730 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11731 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11732 ac_save_CPPFLAGS=$CPPFLAGS
11733 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11734 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11735 do :
11736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11737 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11739 cat >>confdefs.h <<_ACEOF
11740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11741 _ACEOF
11745 done
11747 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"
11748 then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11750 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11751 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-lxml2 $XML2_LIBS $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char xmlParseMemory ();
11767 main ()
11769 return xmlParseMemory ();
11771 return 0;
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_xml2_xmlParseMemory=yes
11776 else
11777 ac_cv_lib_xml2_xmlParseMemory=no
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11784 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11785 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11787 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11789 else
11790 XML2_LIBS=""
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11794 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11795 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lxml2 $XML2_LIBS $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char xmlReadMemory ();
11811 main ()
11813 return xmlReadMemory ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 ac_cv_lib_xml2_xmlReadMemory=yes
11820 else
11821 ac_cv_lib_xml2_xmlReadMemory=no
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_lib_save_LIBS
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11828 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11829 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11831 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11836 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11837 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11838 $as_echo_n "(cached) " >&6
11839 else
11840 ac_check_lib_save_LIBS=$LIBS
11841 LIBS="-lxml2 $XML2_LIBS $LIBS"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11848 #ifdef __cplusplus
11849 extern "C"
11850 #endif
11851 char xmlNewDocPI ();
11853 main ()
11855 return xmlNewDocPI ();
11857 return 0;
11859 _ACEOF
11860 if ac_fn_c_try_link "$LINENO"; then :
11861 ac_cv_lib_xml2_xmlNewDocPI=yes
11862 else
11863 ac_cv_lib_xml2_xmlNewDocPI=no
11865 rm -f core conftest.err conftest.$ac_objext \
11866 conftest$ac_exeext conftest.$ac_ext
11867 LIBS=$ac_check_lib_save_LIBS
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11870 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11871 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11873 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11878 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11879 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 ac_check_lib_save_LIBS=$LIBS
11883 LIBS="-lxml2 $XML2_LIBS $LIBS"
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11890 #ifdef __cplusplus
11891 extern "C"
11892 #endif
11893 char xmlSchemaSetParserStructuredErrors ();
11895 main ()
11897 return xmlSchemaSetParserStructuredErrors ();
11899 return 0;
11901 _ACEOF
11902 if ac_fn_c_try_link "$LINENO"; then :
11903 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11904 else
11905 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11907 rm -f core conftest.err conftest.$ac_objext \
11908 conftest$ac_exeext conftest.$ac_ext
11909 LIBS=$ac_check_lib_save_LIBS
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11912 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11913 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11915 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11920 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11921 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-lxml2 $XML2_LIBS $LIBS"
11926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 #ifdef __cplusplus
11933 extern "C"
11934 #endif
11935 char xmlSchemaSetValidStructuredErrors ();
11937 main ()
11939 return xmlSchemaSetValidStructuredErrors ();
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_link "$LINENO"; then :
11945 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11946 else
11947 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11949 rm -f core conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11954 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11955 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11957 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11962 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11963 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11964 $as_echo_n "(cached) " >&6
11965 else
11966 ac_check_lib_save_LIBS=$LIBS
11967 LIBS="-lxml2 $XML2_LIBS $LIBS"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 /* Override any GCC internal prototype to avoid an error.
11972 Use char because int might match the return type of a GCC
11973 builtin and then its argument prototype would still apply. */
11974 #ifdef __cplusplus
11975 extern "C"
11976 #endif
11977 char xmlFirstElementChild ();
11979 main ()
11981 return xmlFirstElementChild ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"; then :
11987 ac_cv_lib_xml2_xmlFirstElementChild=yes
11988 else
11989 ac_cv_lib_xml2_xmlFirstElementChild=no
11991 rm -f core conftest.err conftest.$ac_objext \
11992 conftest$ac_exeext conftest.$ac_ext
11993 LIBS=$ac_check_lib_save_LIBS
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11996 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11997 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11999 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12003 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12005 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12007 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12011 else
12012 XML2_CFLAGS=""
12013 XML2_LIBS=""
12015 CPPFLAGS=$ac_save_CPPFLAGS
12016 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12017 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12020 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12021 case "x$with_xml" in
12022 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12023 xno) ;;
12024 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12025 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12026 esac
12030 if test "x$with_xslt" != "xno"
12031 then
12032 if ${XSLT_CFLAGS:+false} :; then :
12033 if ${PKG_CONFIG+:} false; then :
12034 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12037 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12038 if ${XSLT_LIBS:+false} :; then :
12039 if ${PKG_CONFIG+:} false; then :
12040 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12043 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12044 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12045 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12049 for ac_header in libxslt/pattern.h libxslt/transform.h
12050 do :
12051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12052 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12053 # include <libxslt/pattern.h>
12054 #endif
12056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12057 cat >>confdefs.h <<_ACEOF
12058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12059 _ACEOF
12063 done
12065 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12066 then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12068 $as_echo_n "checking for -lxslt... " >&6; }
12069 if ${ac_cv_lib_soname_xslt+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_check_soname_save_LIBS=$LIBS
12073 LIBS="-lxslt $XSLT_LIBS $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char xsltCompilePattern ();
12085 main ()
12087 return xsltCompilePattern ();
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 case "$LIBEXT" in
12094 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12095 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'` ;;
12096 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12097 if ${ac_cv_lib_soname_xslt:+false} :; then :
12098 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12099 fi ;;
12100 esac
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_soname_save_LIBS
12106 if ${ac_cv_lib_soname_xslt:+false} :; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12108 $as_echo "not found" >&6; }
12110 else
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12112 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12114 cat >>confdefs.h <<_ACEOF
12115 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12116 _ACEOF
12120 else
12121 XSLT_CFLAGS=""
12123 CPPFLAGS=$ac_save_CPPFLAGS
12124 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12125 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12128 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12129 case "x$with_xslt" in
12130 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12131 xno) ;;
12132 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12133 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12134 esac
12138 if test "x$with_dbus" != "xno"
12139 then
12140 if ${DBUS_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12146 if ${DBUS_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false; then :
12148 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12153 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12157 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12160 $as_echo_n "checking for -ldbus-1... " >&6; }
12161 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 ac_check_soname_save_LIBS=$LIBS
12165 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 char dbus_connection_close ();
12177 main ()
12179 return dbus_connection_close ();
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_link "$LINENO"; then :
12185 case "$LIBEXT" in
12186 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12187 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'` ;;
12188 *) 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'`
12189 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12190 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12191 fi ;;
12192 esac
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_soname_save_LIBS
12198 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12200 $as_echo "not found" >&6; }
12201 DBUS_CFLAGS=""
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12204 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12206 cat >>confdefs.h <<_ACEOF
12207 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12208 _ACEOF
12212 else
12213 DBUS_CFLAGS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12223 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12224 case "x$with_dbus" in
12225 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12226 xno) ;;
12227 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12228 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12229 esac
12233 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12234 then
12235 if ${HAL_CFLAGS:+false} :; then :
12236 if ${PKG_CONFIG+:} false; then :
12237 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12241 if ${HAL_LIBS:+false} :; then :
12242 if ${PKG_CONFIG+:} false; then :
12243 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12247 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12248 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12249 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12250 ac_save_CPPFLAGS=$CPPFLAGS
12251 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12252 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12255 $as_echo_n "checking for -lhal... " >&6; }
12256 if ${ac_cv_lib_soname_hal+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_soname_save_LIBS=$LIBS
12260 LIBS="-lhal $HAL_LIBS $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char libhal_ctx_new ();
12272 main ()
12274 return libhal_ctx_new ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 case "$LIBEXT" in
12281 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12284 if ${ac_cv_lib_soname_hal:+false} :; then :
12285 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12286 fi ;;
12287 esac
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if ${ac_cv_lib_soname_hal:+false} :; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12295 $as_echo "not found" >&6; }
12296 HAL_CFLAGS=""
12297 else
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12299 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12303 _ACEOF
12307 else
12308 HAL_CFLAGS=""
12312 CPPFLAGS=$ac_save_CPPFLAGS
12313 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12314 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12316 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12317 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12318 case "x$with_hal" in
12319 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12320 xno) ;;
12321 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12322 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12323 esac
12328 if test "x$with_gnutls" != "xno"
12329 then
12330 if ${GNUTLS_CFLAGS:+false} :; then :
12331 if ${PKG_CONFIG+:} false; then :
12332 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12336 if ${GNUTLS_LIBS:+false} :; then :
12337 if ${PKG_CONFIG+:} false; then :
12338 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12343 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12344 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12345 ac_save_CPPFLAGS=$CPPFLAGS
12346 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12347 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12348 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12351 #include <gnutls/gnutls.h>
12352 #include <gnutls/crypto.h>
12354 main ()
12356 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_compile "$LINENO"; then :
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12363 $as_echo_n "checking for -lgnutls... " >&6; }
12364 if ${ac_cv_lib_soname_gnutls+:} false; then :
12365 $as_echo_n "(cached) " >&6
12366 else
12367 ac_check_soname_save_LIBS=$LIBS
12368 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 /* Override any GCC internal prototype to avoid an error.
12373 Use char because int might match the return type of a GCC
12374 builtin and then its argument prototype would still apply. */
12375 #ifdef __cplusplus
12376 extern "C"
12377 #endif
12378 char gnutls_global_init ();
12380 main ()
12382 return gnutls_global_init ();
12384 return 0;
12386 _ACEOF
12387 if ac_fn_c_try_link "$LINENO"; then :
12388 case "$LIBEXT" in
12389 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12390 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'` ;;
12391 *) 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'`
12392 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12393 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'`
12394 fi ;;
12395 esac
12397 rm -f core conftest.err conftest.$ac_objext \
12398 conftest$ac_exeext conftest.$ac_ext
12399 LIBS=$ac_check_soname_save_LIBS
12401 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12403 $as_echo "not found" >&6; }
12404 GNUTLS_CFLAGS=""
12405 else
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12407 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12409 cat >>confdefs.h <<_ACEOF
12410 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12411 _ACEOF
12415 ac_wine_check_funcs_save_LIBS="$LIBS"
12416 LIBS="$LIBS $GNUTLS_LIBS"
12417 for ac_func in gnutls_cipher_init
12418 do :
12419 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12420 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12421 cat >>confdefs.h <<_ACEOF
12422 #define HAVE_GNUTLS_CIPHER_INIT 1
12423 _ACEOF
12425 else
12426 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12428 done
12430 LIBS="$ac_wine_check_funcs_save_LIBS"
12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12433 else
12434 GNUTLS_CFLAGS=""
12438 CPPFLAGS=$ac_save_CPPFLAGS
12439 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12440 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12443 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12444 case "x$with_gnutls" in
12445 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12446 xno) ;;
12447 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12448 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12449 esac
12453 CURSES_LIBS=""
12454 if test "$ac_cv_header_ncurses_h" = "yes"
12455 then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12457 $as_echo_n "checking for -lncurses... " >&6; }
12458 if ${ac_cv_lib_soname_ncurses+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_soname_save_LIBS=$LIBS
12462 LIBS="-lncurses $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char waddch ();
12474 main ()
12476 return waddch ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 case "$LIBEXT" in
12483 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12484 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'` ;;
12485 *) 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'`
12486 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12487 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12488 fi ;;
12489 esac
12491 rm -f core conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_soname_save_LIBS
12495 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12497 $as_echo "not found" >&6; }
12499 else
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12501 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12503 cat >>confdefs.h <<_ACEOF
12504 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12505 _ACEOF
12507 CURSES_LIBS="-lncurses"
12509 elif test "$ac_cv_header_curses_h" = "yes"
12510 then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12512 $as_echo_n "checking for -lcurses... " >&6; }
12513 if ${ac_cv_lib_soname_curses+:} false; then :
12514 $as_echo_n "(cached) " >&6
12515 else
12516 ac_check_soname_save_LIBS=$LIBS
12517 LIBS="-lcurses $LIBS"
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12521 /* Override any GCC internal prototype to avoid an error.
12522 Use char because int might match the return type of a GCC
12523 builtin and then its argument prototype would still apply. */
12524 #ifdef __cplusplus
12525 extern "C"
12526 #endif
12527 char waddch ();
12529 main ()
12531 return waddch ();
12533 return 0;
12535 _ACEOF
12536 if ac_fn_c_try_link "$LINENO"; then :
12537 case "$LIBEXT" in
12538 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12539 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'` ;;
12540 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12541 if ${ac_cv_lib_soname_curses:+false} :; then :
12542 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12543 fi ;;
12544 esac
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 LIBS=$ac_check_soname_save_LIBS
12550 if ${ac_cv_lib_soname_curses:+false} :; then :
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12552 $as_echo "not found" >&6; }
12554 else
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12556 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12558 cat >>confdefs.h <<_ACEOF
12559 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12560 _ACEOF
12562 CURSES_LIBS="-lcurses"
12565 ac_save_LIBS="$LIBS"
12566 LIBS="$LIBS $CURSES_LIBS"
12567 for ac_func in mousemask
12568 do :
12569 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12570 if test "x$ac_cv_func_mousemask" = xyes; then :
12571 cat >>confdefs.h <<_ACEOF
12572 #define HAVE_MOUSEMASK 1
12573 _ACEOF
12576 done
12578 LIBS="$ac_save_LIBS"
12579 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12580 case "x$with_curses" in
12581 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12582 xno) ;;
12583 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12584 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12585 esac
12589 if test "x$with_sane" != "xno"
12590 then
12591 if ${SANE_CFLAGS:+false} :; then :
12592 if ${PKG_CONFIG+:} false; then :
12593 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12596 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12597 if ${SANE_LIBS:+false} :; then :
12598 if ${PKG_CONFIG+:} false; then :
12599 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12602 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12604 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12605 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12606 ac_save_CPPFLAGS=$CPPFLAGS
12607 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12608 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12609 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12611 $as_echo_n "checking for -lsane... " >&6; }
12612 if ${ac_cv_lib_soname_sane+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_soname_save_LIBS=$LIBS
12616 LIBS="-lsane $SANE_LIBS $LIBS"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char sane_init ();
12628 main ()
12630 return sane_init ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 case "$LIBEXT" in
12637 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12638 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'` ;;
12639 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12640 if ${ac_cv_lib_soname_sane:+false} :; then :
12641 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12642 fi ;;
12643 esac
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_soname_save_LIBS
12649 if ${ac_cv_lib_soname_sane:+false} :; then :
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12651 $as_echo "not found" >&6; }
12652 SANE_CFLAGS=""
12653 else
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12655 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12657 cat >>confdefs.h <<_ACEOF
12658 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12659 _ACEOF
12663 else
12664 SANE_CFLAGS=""
12668 CPPFLAGS=$ac_save_CPPFLAGS
12669 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12670 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12673 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12674 case "x$with_sane" in
12675 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12676 xno) ;;
12677 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12678 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12679 esac
12683 if test "x$with_v4l" != "xno"
12684 then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12686 $as_echo_n "checking for -lv4l1... " >&6; }
12687 if ${ac_cv_lib_soname_v4l1+:} false; then :
12688 $as_echo_n "(cached) " >&6
12689 else
12690 ac_check_soname_save_LIBS=$LIBS
12691 LIBS="-lv4l1 $LIBS"
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12695 /* Override any GCC internal prototype to avoid an error.
12696 Use char because int might match the return type of a GCC
12697 builtin and then its argument prototype would still apply. */
12698 #ifdef __cplusplus
12699 extern "C"
12700 #endif
12701 char v4l1_open ();
12703 main ()
12705 return v4l1_open ();
12707 return 0;
12709 _ACEOF
12710 if ac_fn_c_try_link "$LINENO"; then :
12711 case "$LIBEXT" in
12712 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12713 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'` ;;
12714 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12715 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12716 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12717 fi ;;
12718 esac
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 LIBS=$ac_check_soname_save_LIBS
12724 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12726 $as_echo "not found" >&6; }
12728 else
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12730 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12732 cat >>confdefs.h <<_ACEOF
12733 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12734 _ACEOF
12739 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12740 case "x$with_v4l" in
12741 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12742 xno) ;;
12743 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12744 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12745 esac
12749 if test "x$with_gphoto" != "xno"
12750 then
12751 if ${GPHOTO2_CFLAGS:+false} :; then :
12752 if ${PKG_CONFIG+:} false; then :
12753 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12756 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12757 if ${GPHOTO2_LIBS:+false} :; then :
12758 if ${PKG_CONFIG+:} false; then :
12759 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12762 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12763 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12764 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12765 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12766 ac_save_CPPFLAGS=$CPPFLAGS
12767 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12768 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12771 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12772 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 ac_check_lib_save_LIBS=$LIBS
12776 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12783 #ifdef __cplusplus
12784 extern "C"
12785 #endif
12786 char gp_camera_new ();
12788 main ()
12790 return gp_camera_new ();
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_link "$LINENO"; then :
12796 ac_cv_lib_gphoto2_gp_camera_new=yes
12797 else
12798 ac_cv_lib_gphoto2_gp_camera_new=no
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_lib_save_LIBS
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12805 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12806 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12808 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12810 else
12811 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12814 else
12815 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12819 CPPFLAGS=$ac_save_CPPFLAGS
12820 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12821 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12823 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12824 if ${PKG_CONFIG+:} false; then :
12825 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12828 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12829 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12830 if ${PKG_CONFIG+:} false; then :
12831 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12834 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12835 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12836 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12837 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12838 ac_save_CPPFLAGS=$CPPFLAGS
12839 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12840 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12841 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12843 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12844 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char gp_port_info_list_new ();
12860 main ()
12862 return gp_port_info_list_new ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12869 else
12870 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12877 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12878 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12880 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12882 else
12883 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12886 else
12887 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12891 CPPFLAGS=$ac_save_CPPFLAGS
12892 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12893 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12896 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12897 case "x$with_gphoto" in
12898 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12899 xno) ;;
12900 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12901 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12902 esac
12905 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12906 case "x$with_gphoto" in
12907 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12908 xno) ;;
12909 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12910 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12911 esac
12916 if test "$ac_cv_header_resolv_h" = "yes"
12917 then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12919 $as_echo_n "checking for resolver library... " >&6; }
12920 if ${ac_cv_have_resolv+:} false; then :
12921 $as_echo_n "(cached) " >&6
12922 else
12923 ac_save_LIBS="$LIBS"
12924 for lib in '' -lresolv
12926 LIBS="$lib $ac_save_LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12929 #ifdef HAVE_NETINET_IN_H
12930 #include <netinet/in.h>
12931 #endif
12932 #include <resolv.h>
12934 main ()
12936 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12938 return 0;
12940 _ACEOF
12941 if ac_fn_c_try_link "$LINENO"; then :
12942 ac_cv_have_resolv=${lib:-"none required"}
12943 else
12944 ac_cv_have_resolv="not found"
12946 rm -f core conftest.err conftest.$ac_objext \
12947 conftest$ac_exeext conftest.$ac_ext
12948 test "x$ac_cv_have_resolv" = "xnot found" || break
12949 done
12950 LIBS="$ac_save_LIBS"
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12953 $as_echo "$ac_cv_have_resolv" >&6; }
12955 case "$ac_cv_have_resolv" in
12956 "not found") ;;
12957 "none required")
12959 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12962 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12964 RESOLV_LIBS=$ac_cv_have_resolv
12966 esac
12969 if test "x$with_cms" != "xno"
12970 then
12971 if ${LCMS2_CFLAGS:+false} :; then :
12972 if ${PKG_CONFIG+:} false; then :
12973 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12977 if ${LCMS2_LIBS:+false} :; then :
12978 if ${PKG_CONFIG+:} false; then :
12979 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12983 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12984 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12985 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12986 ac_save_CPPFLAGS=$CPPFLAGS
12987 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12988 for ac_header in lcms2.h
12989 do :
12990 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12991 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12992 cat >>confdefs.h <<_ACEOF
12993 #define HAVE_LCMS2_H 1
12994 _ACEOF
12998 done
13000 if test "$ac_cv_header_lcms2_h" = "yes"
13001 then
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13003 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13004 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13005 $as_echo_n "(cached) " >&6
13006 else
13007 ac_check_lib_save_LIBS=$LIBS
13008 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13015 #ifdef __cplusplus
13016 extern "C"
13017 #endif
13018 char cmsOpenProfileFromFile ();
13020 main ()
13022 return cmsOpenProfileFromFile ();
13024 return 0;
13026 _ACEOF
13027 if ac_fn_c_try_link "$LINENO"; then :
13028 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13029 else
13030 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13032 rm -f core conftest.err conftest.$ac_objext \
13033 conftest$ac_exeext conftest.$ac_ext
13034 LIBS=$ac_check_lib_save_LIBS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13037 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13038 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13040 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13042 else
13043 LCMS2_LIBS=""
13046 else
13047 LCMS2_CFLAGS=""
13048 LCMS2_LIBS=""
13050 CPPFLAGS=$ac_save_CPPFLAGS
13051 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13052 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13055 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13056 case "x$with_cms" in
13057 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13058 xno) ;;
13059 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13060 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13061 esac
13065 if test "x$with_freetype" != "xno"
13066 then
13067 if ${FREETYPE_CFLAGS:+false} :; then :
13068 if ${PKG_CONFIG+:} false; then :
13069 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13072 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13073 if ${FREETYPE_LIBS:+false} :; then :
13074 if ${PKG_CONFIG+:} false; then :
13075 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13078 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13079 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13080 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13081 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13082 ac_save_CPPFLAGS=$CPPFLAGS
13083 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13084 for ac_header in ft2build.h
13085 do :
13086 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13087 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13088 cat >>confdefs.h <<_ACEOF
13089 #define HAVE_FT2BUILD_H 1
13090 _ACEOF
13094 done
13096 if test "$ac_cv_header_ft2build_h" = "yes"
13097 then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13099 $as_echo_n "checking for -lfreetype... " >&6; }
13100 if ${ac_cv_lib_soname_freetype+:} false; then :
13101 $as_echo_n "(cached) " >&6
13102 else
13103 ac_check_soname_save_LIBS=$LIBS
13104 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 /* Override any GCC internal prototype to avoid an error.
13109 Use char because int might match the return type of a GCC
13110 builtin and then its argument prototype would still apply. */
13111 #ifdef __cplusplus
13112 extern "C"
13113 #endif
13114 char FT_Init_FreeType ();
13116 main ()
13118 return FT_Init_FreeType ();
13120 return 0;
13122 _ACEOF
13123 if ac_fn_c_try_link "$LINENO"; then :
13124 case "$LIBEXT" in
13125 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13126 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'` ;;
13127 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13128 if ${ac_cv_lib_soname_freetype:+false} :; then :
13129 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13130 fi ;;
13131 esac
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_soname_save_LIBS
13137 if ${ac_cv_lib_soname_freetype:+false} :; then :
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13139 $as_echo "not found" >&6; }
13140 FREETYPE_LIBS=""
13141 else
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13143 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13145 cat >>confdefs.h <<_ACEOF
13146 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13147 _ACEOF
13150 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13152 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13153 #include FT_MODULE_H
13155 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13157 cat >>confdefs.h <<_ACEOF
13158 #define HAVE_FT_TRUETYPEENGINETYPE 1
13159 _ACEOF
13165 else
13166 FREETYPE_CFLAGS=""
13167 FREETYPE_LIBS=""
13169 CPPFLAGS=$ac_save_CPPFLAGS
13170 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13171 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13174 if test "x$ac_cv_lib_soname_freetype" = x; then :
13175 case "x$with_freetype" in
13176 xno) ;;
13177 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13178 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13179 esac
13180 enable_fonts=${enable_fonts:-no}
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13184 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13185 if ${ac_cv_c_ppdev+:} false; then :
13186 $as_echo_n "(cached) " >&6
13187 else
13188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13190 #ifdef HAVE_SYS_IOCTL_H
13191 # include <sys/ioctl.h>
13192 #endif
13193 #include <linux/ppdev.h>
13195 main ()
13197 ioctl (1,PPCLAIM,0)
13199 return 0;
13201 _ACEOF
13202 if ac_fn_c_try_compile "$LINENO"; then :
13203 ac_cv_c_ppdev="yes"
13204 else
13205 ac_cv_c_ppdev="no"
13207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13210 $as_echo "$ac_cv_c_ppdev" >&6; }
13211 if test "$ac_cv_c_ppdev" = "yes"
13212 then
13214 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13218 ac_wine_check_funcs_save_LIBS="$LIBS"
13219 LIBS="$LIBS $PTHREAD_LIBS"
13220 for ac_func in \
13221 pthread_attr_get_np \
13222 pthread_getattr_np \
13223 pthread_getthreadid_np \
13224 pthread_get_stackaddr_np \
13225 pthread_get_stacksize_np
13226 do :
13227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13230 cat >>confdefs.h <<_ACEOF
13231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13232 _ACEOF
13235 done
13237 LIBS="$ac_wine_check_funcs_save_LIBS"
13239 if test "$ac_cv_header_zlib_h" = "yes"
13240 then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13242 $as_echo_n "checking for inflate in -lz... " >&6; }
13243 if ${ac_cv_lib_z_inflate+:} false; then :
13244 $as_echo_n "(cached) " >&6
13245 else
13246 ac_check_lib_save_LIBS=$LIBS
13247 LIBS="-lz $LIBS"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13254 #ifdef __cplusplus
13255 extern "C"
13256 #endif
13257 char inflate ();
13259 main ()
13261 return inflate ();
13263 return 0;
13265 _ACEOF
13266 if ac_fn_c_try_link "$LINENO"; then :
13267 ac_cv_lib_z_inflate=yes
13268 else
13269 ac_cv_lib_z_inflate=no
13271 rm -f core conftest.err conftest.$ac_objext \
13272 conftest$ac_exeext conftest.$ac_ext
13273 LIBS=$ac_check_lib_save_LIBS
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13276 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13277 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13279 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13281 Z_LIBS="-lz"
13286 if test "x$Z_LIBS" = "x"; then :
13287 case "x$with_zlib" in
13288 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13289 xno) ;;
13290 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13291 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13292 esac
13296 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13297 then
13298 if test "$ac_cv_header_gettext_po_h" = "yes"
13299 then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13301 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13302 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13303 $as_echo_n "(cached) " >&6
13304 else
13305 ac_check_lib_save_LIBS=$LIBS
13306 LIBS="-lgettextpo $LIBS"
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13313 #ifdef __cplusplus
13314 extern "C"
13315 #endif
13316 char po_message_msgctxt ();
13318 main ()
13320 return po_message_msgctxt ();
13322 return 0;
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"; then :
13326 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13327 else
13328 ac_cv_lib_gettextpo_po_message_msgctxt=no
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 LIBS=$ac_check_lib_save_LIBS
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13335 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13336 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13338 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13340 GETTEXTPO_LIBS="-lgettextpo"
13345 if test "x$GETTEXTPO_LIBS" = "x"; then :
13346 case "x$with_gettextpo" in
13347 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13348 xno) ;;
13349 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13350 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13351 esac
13354 if test "$srcdir" != .; then :
13355 case "x$with_gettextpo" in
13356 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13357 xno) ;;
13358 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13359 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13360 esac
13365 if test "x$with_pulse" != "xno";
13366 then
13367 if ${PULSE_CFLAGS:+false} :; then :
13368 if ${PKG_CONFIG+:} false; then :
13369 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13373 if ${PULSE_LIBS:+false} :; then :
13374 if ${PKG_CONFIG+:} false; then :
13375 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13381 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13382 ac_save_CPPFLAGS=$CPPFLAGS
13383 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13384 for ac_header in pulse/pulseaudio.h
13385 do :
13386 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13387 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13388 cat >>confdefs.h <<_ACEOF
13389 #define HAVE_PULSE_PULSEAUDIO_H 1
13390 _ACEOF
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13392 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13393 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13394 $as_echo_n "(cached) " >&6
13395 else
13396 ac_check_lib_save_LIBS=$LIBS
13397 LIBS="-lpulse $PULSE_LIBS $LIBS"
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13401 /* Override any GCC internal prototype to avoid an error.
13402 Use char because int might match the return type of a GCC
13403 builtin and then its argument prototype would still apply. */
13404 #ifdef __cplusplus
13405 extern "C"
13406 #endif
13407 char pa_stream_is_corked ();
13409 main ()
13411 return pa_stream_is_corked ();
13413 return 0;
13415 _ACEOF
13416 if ac_fn_c_try_link "$LINENO"; then :
13417 ac_cv_lib_pulse_pa_stream_is_corked=yes
13418 else
13419 ac_cv_lib_pulse_pa_stream_is_corked=no
13421 rm -f core conftest.err conftest.$ac_objext \
13422 conftest$ac_exeext conftest.$ac_ext
13423 LIBS=$ac_check_lib_save_LIBS
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13426 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13427 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13429 else
13430 PULSE_LIBS=""
13433 else
13434 PULSE_LIBS=""
13437 done
13439 CPPFLAGS=$ac_save_CPPFLAGS
13440 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13441 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13444 if test -z "$PULSE_LIBS"; then :
13445 case "x$with_pulse" in
13446 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13447 xno) ;;
13448 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13449 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13450 esac
13451 enable_winepulse_drv=${enable_winepulse_drv:-no}
13454 if test "x$with_gstreamer" != "xno"
13455 then
13456 if ${GSTREAMER_CFLAGS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13462 if ${GSTREAMER_LIBS:+false} :; then :
13463 if ${PKG_CONFIG+:} false; then :
13464 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13469 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13470 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13471 ac_save_CPPFLAGS=$CPPFLAGS
13472 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13473 ac_gst_incl=""
13474 for i in $GSTREAMER_CFLAGS
13476 case "$i" in
13477 -I*) ac_gst_incl="$ac_gst_incl $i";;
13478 esac
13479 done
13480 GSTREAMER_CFLAGS=$ac_gst_incl
13481 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13482 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13485 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <gst/gst.h>
13490 main ()
13492 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_compile "$LINENO"; then :
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13499 $as_echo "yes" >&6; }
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13501 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13502 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13503 $as_echo_n "(cached) " >&6
13504 else
13505 ac_check_lib_save_LIBS=$LIBS
13506 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char gst_pad_new ();
13518 main ()
13520 return gst_pad_new ();
13522 return 0;
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13527 else
13528 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13530 rm -f core conftest.err conftest.$ac_objext \
13531 conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_lib_save_LIBS
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13535 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13536 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13540 else
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13542 $as_echo "no" >&6; }
13543 ac_glib2_broken=yes
13544 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13550 CPPFLAGS=$ac_save_CPPFLAGS
13551 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13552 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13555 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 :
13556 case "x$with_gstreamer" in
13557 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13558 xno) ;;
13559 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13560 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13561 esac
13564 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13566 ALSA_LIBS=""
13568 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13569 then
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13571 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13572 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13573 $as_echo_n "(cached) " >&6
13574 else
13575 ac_check_lib_save_LIBS=$LIBS
13576 LIBS="-lasound $LIBS"
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13580 /* Override any GCC internal prototype to avoid an error.
13581 Use char because int might match the return type of a GCC
13582 builtin and then its argument prototype would still apply. */
13583 #ifdef __cplusplus
13584 extern "C"
13585 #endif
13586 char snd_pcm_hw_params_get_access_mask ();
13588 main ()
13590 return snd_pcm_hw_params_get_access_mask ();
13592 return 0;
13594 _ACEOF
13595 if ac_fn_c_try_link "$LINENO"; then :
13596 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13597 else
13598 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13600 rm -f core conftest.err conftest.$ac_objext \
13601 conftest$ac_exeext conftest.$ac_ext
13602 LIBS=$ac_check_lib_save_LIBS
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13605 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13606 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13609 #ifdef HAVE_ALSA_ASOUNDLIB_H
13610 #include <alsa/asoundlib.h>
13611 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13612 #include <sys/asoundlib.h>
13613 #endif
13615 main ()
13617 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13619 return 0;
13621 _ACEOF
13622 if ac_fn_c_try_compile "$LINENO"; then :
13623 ALSA_LIBS="-lasound"
13625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13629 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13631 if test "x$with_oss" != xno
13632 then
13633 ac_save_CPPFLAGS="$CPPFLAGS"
13634 if test -f /etc/oss.conf
13635 then
13636 . /etc/oss.conf
13638 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13639 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13640 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13641 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13642 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13644 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13646 cat >>confdefs.h <<_ACEOF
13647 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13648 _ACEOF
13650 OSS4_CFLAGS="$ac_oss_incl"
13657 CPPFLAGS="$ac_save_CPPFLAGS"
13659 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13660 case "x$with_oss" in
13661 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13662 xno) ;;
13663 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13664 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13665 esac
13666 enable_wineoss_drv=${enable_wineoss_drv:-no}
13669 if test "x$with_udev" != "xno"
13670 then
13671 if ${UDEV_CFLAGS:+false} :; then :
13672 if ${PKG_CONFIG+:} false; then :
13673 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13677 if ${UDEV_LIBS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13683 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13684 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13686 ac_save_CPPFLAGS=$CPPFLAGS
13687 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13688 for ac_header in libudev.h
13689 do :
13690 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13691 if test "x$ac_cv_header_libudev_h" = xyes; then :
13692 cat >>confdefs.h <<_ACEOF
13693 #define HAVE_LIBUDEV_H 1
13694 _ACEOF
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13696 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13697 if ${ac_cv_lib_udev_udev_new+:} false; then :
13698 $as_echo_n "(cached) " >&6
13699 else
13700 ac_check_lib_save_LIBS=$LIBS
13701 LIBS="-ludev $UDEV_LIBS $LIBS"
13702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13705 /* Override any GCC internal prototype to avoid an error.
13706 Use char because int might match the return type of a GCC
13707 builtin and then its argument prototype would still apply. */
13708 #ifdef __cplusplus
13709 extern "C"
13710 #endif
13711 char udev_new ();
13713 main ()
13715 return udev_new ();
13717 return 0;
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"; then :
13721 ac_cv_lib_udev_udev_new=yes
13722 else
13723 ac_cv_lib_udev_udev_new=no
13725 rm -f core conftest.err conftest.$ac_objext \
13726 conftest$ac_exeext conftest.$ac_ext
13727 LIBS=$ac_check_lib_save_LIBS
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13730 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13731 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13733 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13735 else
13736 UDEV_LIBS=""
13739 else
13740 UDEV_LIBS=""
13743 done
13745 CPPFLAGS=$ac_save_CPPFLAGS
13746 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13747 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13750 if test "x$UDEV_LIBS" = "x"; then :
13751 case "x$with_udev" in
13752 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13753 xno) ;;
13754 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13755 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13756 esac
13760 if test "x$with_sdl" != "xno"
13761 then
13762 if ${SDL2_CFLAGS:+false} :; then :
13763 if ${PKG_CONFIG+:} false; then :
13764 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13768 if ${SDL2_LIBS:+false} :; then :
13769 if ${PKG_CONFIG+:} false; then :
13770 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13774 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13775 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13776 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13777 ac_save_CPPFLAGS=$CPPFLAGS
13778 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13779 for ac_header in SDL2/SDL.h
13780 do :
13781 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13782 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13783 cat >>confdefs.h <<_ACEOF
13784 #define HAVE_SDL2_SDL_H 1
13785 _ACEOF
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13787 $as_echo_n "checking for -lSDL2... " >&6; }
13788 if ${ac_cv_lib_soname_SDL2+:} false; then :
13789 $as_echo_n "(cached) " >&6
13790 else
13791 ac_check_soname_save_LIBS=$LIBS
13792 LIBS="-lSDL2 $LIBS"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 char SDL_Init ();
13804 main ()
13806 return SDL_Init ();
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"; then :
13812 case "$LIBEXT" in
13813 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13814 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'` ;;
13815 *) 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'`
13816 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13817 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13818 fi ;;
13819 esac
13821 rm -f core conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823 LIBS=$ac_check_soname_save_LIBS
13825 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13827 $as_echo "not found" >&6; }
13829 else
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13831 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13833 cat >>confdefs.h <<_ACEOF
13834 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13835 _ACEOF
13841 done
13843 CPPFLAGS=$ac_save_CPPFLAGS
13844 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13845 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13848 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13849 case "x$with_sdl" in
13850 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13851 xno) ;;
13852 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13853 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13854 esac
13858 if test "x$with_capi" != "xno"
13859 then
13860 if ${CAPI20_CFLAGS:+false} :; then :
13861 if ${PKG_CONFIG+:} false; then :
13862 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13866 if ${CAPI20_LIBS:+false} :; then :
13867 if ${PKG_CONFIG+:} false; then :
13868 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13873 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13874 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13875 ac_save_CPPFLAGS=$CPPFLAGS
13876 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13877 for ac_header in capi20.h linux/capi.h
13878 do :
13879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13882 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13883 cat >>confdefs.h <<_ACEOF
13884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13885 _ACEOF
13889 done
13891 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13892 then
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13894 $as_echo_n "checking for -lcapi20... " >&6; }
13895 if ${ac_cv_lib_soname_capi20+:} false; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 ac_check_soname_save_LIBS=$LIBS
13899 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 #ifdef __cplusplus
13907 extern "C"
13908 #endif
13909 char capi20_register ();
13911 main ()
13913 return capi20_register ();
13915 return 0;
13917 _ACEOF
13918 if ac_fn_c_try_link "$LINENO"; then :
13919 case "$LIBEXT" in
13920 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13921 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'` ;;
13922 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13923 if ${ac_cv_lib_soname_capi20:+false} :; then :
13924 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13925 fi ;;
13926 esac
13928 rm -f core conftest.err conftest.$ac_objext \
13929 conftest$ac_exeext conftest.$ac_ext
13930 LIBS=$ac_check_soname_save_LIBS
13932 if ${ac_cv_lib_soname_capi20:+false} :; then :
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13934 $as_echo "not found" >&6; }
13936 else
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13938 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13940 cat >>confdefs.h <<_ACEOF
13941 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13942 _ACEOF
13947 CPPFLAGS=$ac_save_CPPFLAGS
13948 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13949 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13952 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13953 case "x$with_capi" in
13954 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13955 xno) ;;
13956 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13957 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13958 esac
13962 if test "x$with_cups" != "xno"
13963 then
13964 if ${CUPS_CFLAGS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13969 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13970 if ${CUPS_LIBS:+false} :; then :
13971 if ${PKG_CONFIG+:} false; then :
13972 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13975 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13976 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13977 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13978 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13979 ac_save_CPPFLAGS=$CPPFLAGS
13980 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13981 for ac_header in cups/cups.h cups/ppd.h
13982 do :
13983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13984 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13986 cat >>confdefs.h <<_ACEOF
13987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13988 _ACEOF
13992 done
13994 if test "$ac_cv_header_cups_cups_h" = "yes"
13995 then
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13997 $as_echo_n "checking for -lcups... " >&6; }
13998 if ${ac_cv_lib_soname_cups+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 ac_check_soname_save_LIBS=$LIBS
14002 LIBS="-lcups $CUPS_LIBS $LIBS"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14006 /* Override any GCC internal prototype to avoid an error.
14007 Use char because int might match the return type of a GCC
14008 builtin and then its argument prototype would still apply. */
14009 #ifdef __cplusplus
14010 extern "C"
14011 #endif
14012 char cupsGetDefault ();
14014 main ()
14016 return cupsGetDefault ();
14018 return 0;
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"; then :
14022 case "$LIBEXT" in
14023 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14024 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'` ;;
14025 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14026 if ${ac_cv_lib_soname_cups:+false} :; then :
14027 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14028 fi ;;
14029 esac
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 LIBS=$ac_check_soname_save_LIBS
14035 if ${ac_cv_lib_soname_cups:+false} :; then :
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14037 $as_echo "not found" >&6; }
14038 CUPS_LIBS=""
14039 else
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14041 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14043 cat >>confdefs.h <<_ACEOF
14044 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14045 _ACEOF
14049 else
14050 CUPS_CFLAGS=""
14051 CUPS_LIBS=""
14053 CPPFLAGS=$ac_save_CPPFLAGS
14054 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14055 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14058 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14059 case "x$with_cups" in
14060 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14061 xno) ;;
14062 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14063 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14064 esac
14068 if test "x$with_fontconfig" != "xno"
14069 then
14070 if ${FONTCONFIG_CFLAGS:+false} :; then :
14071 if ${PKG_CONFIG+:} false; then :
14072 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14075 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14076 if ${FONTCONFIG_LIBS:+false} :; then :
14077 if ${PKG_CONFIG+:} false; then :
14078 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14081 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14083 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14084 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14085 ac_save_CPPFLAGS=$CPPFLAGS
14086 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14087 for ac_header in fontconfig/fontconfig.h
14088 do :
14089 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14090 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14091 cat >>confdefs.h <<_ACEOF
14092 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14093 _ACEOF
14097 done
14099 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14100 then
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14102 $as_echo_n "checking for -lfontconfig... " >&6; }
14103 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 ac_check_soname_save_LIBS=$LIBS
14107 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14114 #ifdef __cplusplus
14115 extern "C"
14116 #endif
14117 char FcInit ();
14119 main ()
14121 return FcInit ();
14123 return 0;
14125 _ACEOF
14126 if ac_fn_c_try_link "$LINENO"; then :
14127 case "$LIBEXT" in
14128 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14129 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'` ;;
14130 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14131 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14132 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14133 fi ;;
14134 esac
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_soname_save_LIBS
14140 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14142 $as_echo "not found" >&6; }
14143 FONTCONFIG_CFLAGS=""
14144 else
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14146 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14148 cat >>confdefs.h <<_ACEOF
14149 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14150 _ACEOF
14154 else
14155 FONTCONFIG_CFLAGS=""
14157 CPPFLAGS=$ac_save_CPPFLAGS
14158 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14159 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14162 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14163 case "x$with_fontconfig" in
14164 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14165 xno) ;;
14166 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14167 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14168 esac
14172 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14173 then
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14175 $as_echo_n "checking for -lgsm... " >&6; }
14176 if ${ac_cv_lib_soname_gsm+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 ac_check_soname_save_LIBS=$LIBS
14180 LIBS="-lgsm $LIBS"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14187 #ifdef __cplusplus
14188 extern "C"
14189 #endif
14190 char gsm_create ();
14192 main ()
14194 return gsm_create ();
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 case "$LIBEXT" in
14201 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14202 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'` ;;
14203 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14204 if ${ac_cv_lib_soname_gsm:+false} :; then :
14205 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14206 fi ;;
14207 esac
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14211 LIBS=$ac_check_soname_save_LIBS
14213 if ${ac_cv_lib_soname_gsm:+false} :; then :
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14215 $as_echo "not found" >&6; }
14217 else
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14219 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14221 cat >>confdefs.h <<_ACEOF
14222 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14223 _ACEOF
14228 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14229 case "x$with_gsm" in
14230 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14231 xno) ;;
14232 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14233 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14234 esac
14238 if test "x$with_krb5" != "xno"
14239 then
14240 if ${KRB5_CFLAGS:+false} :; then :
14241 if ${PKG_CONFIG+:} false; then :
14242 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14245 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14246 if ${KRB5_LIBS:+false} :; then :
14247 if ${PKG_CONFIG+:} false; then :
14248 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14251 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14253 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14254 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14255 ac_save_CPPFLAGS=$CPPFLAGS
14256 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14257 for ac_header in krb5/krb5.h
14258 do :
14259 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14260 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14261 cat >>confdefs.h <<_ACEOF
14262 #define HAVE_KRB5_KRB5_H 1
14263 _ACEOF
14267 done
14269 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14270 then
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14272 $as_echo_n "checking for -lkrb5... " >&6; }
14273 if ${ac_cv_lib_soname_krb5+:} false; then :
14274 $as_echo_n "(cached) " >&6
14275 else
14276 ac_check_soname_save_LIBS=$LIBS
14277 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14281 /* Override any GCC internal prototype to avoid an error.
14282 Use char because int might match the return type of a GCC
14283 builtin and then its argument prototype would still apply. */
14284 #ifdef __cplusplus
14285 extern "C"
14286 #endif
14287 char krb5_is_config_principal ();
14289 main ()
14291 return krb5_is_config_principal ();
14293 return 0;
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 case "$LIBEXT" in
14298 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14299 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'` ;;
14300 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14301 if ${ac_cv_lib_soname_krb5:+false} :; then :
14302 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14303 fi ;;
14304 esac
14306 rm -f core conftest.err conftest.$ac_objext \
14307 conftest$ac_exeext conftest.$ac_ext
14308 LIBS=$ac_check_soname_save_LIBS
14310 if ${ac_cv_lib_soname_krb5:+false} :; then :
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14312 $as_echo "not found" >&6; }
14313 KRB5_CFLAGS=""
14314 else
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14316 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14318 cat >>confdefs.h <<_ACEOF
14319 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14320 _ACEOF
14324 else
14325 KRB5_CFLAGS=""
14327 CPPFLAGS=$ac_save_CPPFLAGS
14328 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14329 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14331 else
14332 with_gssapi=${with_gssapi:-no}
14334 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14335 case "x$with_krb5" in
14336 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14337 xno) ;;
14338 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14339 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14340 esac
14344 if test "x$with_gssapi" != "xno"
14345 then
14346 if ${GSSAPI_CFLAGS:+false} :; then :
14347 if ${PKG_CONFIG+:} false; then :
14348 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14351 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14352 if ${GSSAPI_LIBS:+false} :; then :
14353 if ${PKG_CONFIG+:} false; then :
14354 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14357 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14359 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14360 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14361 ac_save_CPPFLAGS=$CPPFLAGS
14362 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14363 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14364 do :
14365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14366 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14367 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14368 cat >>confdefs.h <<_ACEOF
14369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14370 _ACEOF
14374 done
14376 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14377 then
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14379 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14380 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_check_soname_save_LIBS=$LIBS
14384 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14388 /* Override any GCC internal prototype to avoid an error.
14389 Use char because int might match the return type of a GCC
14390 builtin and then its argument prototype would still apply. */
14391 #ifdef __cplusplus
14392 extern "C"
14393 #endif
14394 char gss_init_sec_context ();
14396 main ()
14398 return gss_init_sec_context ();
14400 return 0;
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 case "$LIBEXT" in
14405 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14406 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'` ;;
14407 *) 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'`
14408 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14409 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14410 fi ;;
14411 esac
14413 rm -f core conftest.err conftest.$ac_objext \
14414 conftest$ac_exeext conftest.$ac_ext
14415 LIBS=$ac_check_soname_save_LIBS
14417 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14419 $as_echo "not found" >&6; }
14420 GSSAPI_CFLAGS=""
14421 else
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14423 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14425 cat >>confdefs.h <<_ACEOF
14426 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14427 _ACEOF
14431 else
14432 GSSAPI_CFLAGS=""
14434 CPPFLAGS=$ac_save_CPPFLAGS
14435 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14436 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14439 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14440 case "x$with_gssapi" in
14441 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14442 xno) ;;
14443 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14444 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14445 esac
14449 if test "x$with_jpeg" != "xno"
14450 then
14451 if ${JPEG_CFLAGS:+false} :; then :
14452 if ${PKG_CONFIG+:} false; then :
14453 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14457 if ${JPEG_LIBS:+false} :; then :
14458 if ${PKG_CONFIG+:} false; then :
14459 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14464 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14465 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14466 ac_save_CPPFLAGS=$CPPFLAGS
14467 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14468 for ac_header in jpeglib.h
14469 do :
14470 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14471 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14472 cat >>confdefs.h <<_ACEOF
14473 #define HAVE_JPEGLIB_H 1
14474 _ACEOF
14478 done
14480 if test "$ac_cv_header_jpeglib_h" = "yes"
14481 then
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14483 $as_echo_n "checking for -ljpeg... " >&6; }
14484 if ${ac_cv_lib_soname_jpeg+:} false; then :
14485 $as_echo_n "(cached) " >&6
14486 else
14487 ac_check_soname_save_LIBS=$LIBS
14488 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14492 /* Override any GCC internal prototype to avoid an error.
14493 Use char because int might match the return type of a GCC
14494 builtin and then its argument prototype would still apply. */
14495 #ifdef __cplusplus
14496 extern "C"
14497 #endif
14498 char jpeg_start_decompress ();
14500 main ()
14502 return jpeg_start_decompress ();
14504 return 0;
14506 _ACEOF
14507 if ac_fn_c_try_link "$LINENO"; then :
14508 case "$LIBEXT" in
14509 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14510 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'` ;;
14511 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14512 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14513 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14514 fi ;;
14515 esac
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 LIBS=$ac_check_soname_save_LIBS
14521 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14523 $as_echo "not found" >&6; }
14524 JPEG_CFLAGS=""
14525 else
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14527 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14529 cat >>confdefs.h <<_ACEOF
14530 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14531 _ACEOF
14535 else
14536 JPEG_CFLAGS=""
14538 CPPFLAGS=$ac_save_CPPFLAGS
14539 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14540 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14543 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14544 case "x$with_jpeg" in
14545 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14546 xno) ;;
14547 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14548 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14549 esac
14553 if test "x$with_png" != "xno"
14554 then
14555 if ${PNG_CFLAGS:+false} :; then :
14556 if ${PKG_CONFIG+:} false; then :
14557 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14560 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14561 if ${PNG_LIBS:+false} :; then :
14562 if ${PKG_CONFIG+:} false; then :
14563 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14566 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14568 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14569 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14570 ac_save_CPPFLAGS=$CPPFLAGS
14571 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14572 for ac_header in png.h
14573 do :
14574 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14575 if test "x$ac_cv_header_png_h" = xyes; then :
14576 cat >>confdefs.h <<_ACEOF
14577 #define HAVE_PNG_H 1
14578 _ACEOF
14582 done
14584 if test "$ac_cv_header_png_h" = "yes"
14585 then
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14587 $as_echo_n "checking for -lpng... " >&6; }
14588 if ${ac_cv_lib_soname_png+:} false; then :
14589 $as_echo_n "(cached) " >&6
14590 else
14591 ac_check_soname_save_LIBS=$LIBS
14592 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 #ifdef __cplusplus
14600 extern "C"
14601 #endif
14602 char png_create_read_struct ();
14604 main ()
14606 return png_create_read_struct ();
14608 return 0;
14610 _ACEOF
14611 if ac_fn_c_try_link "$LINENO"; then :
14612 case "$LIBEXT" in
14613 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14614 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'` ;;
14615 *) 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'`
14616 if ${ac_cv_lib_soname_png:+false} :; then :
14617 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14618 fi ;;
14619 esac
14621 rm -f core conftest.err conftest.$ac_objext \
14622 conftest$ac_exeext conftest.$ac_ext
14623 LIBS=$ac_check_soname_save_LIBS
14625 if ${ac_cv_lib_soname_png:+false} :; then :
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14627 $as_echo "not found" >&6; }
14628 PNG_CFLAGS=""
14629 else
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14631 $as_echo "$ac_cv_lib_soname_png" >&6; }
14633 cat >>confdefs.h <<_ACEOF
14634 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14635 _ACEOF
14639 else
14640 PNG_CFLAGS=""
14642 CPPFLAGS=$ac_save_CPPFLAGS
14643 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14644 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14647 if test "x$ac_cv_lib_soname_png" = "x"; then :
14648 case "x$with_png" in
14649 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14650 xno) ;;
14651 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14652 This is an error since --with-png was requested." "$LINENO" 5 ;;
14653 esac
14657 if test "x$with_tiff" != "xno"
14658 then
14659 if ${TIFF_CFLAGS:+false} :; then :
14660 if ${PKG_CONFIG+:} false; then :
14661 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14665 if ${TIFF_LIBS:+false} :; then :
14666 if ${PKG_CONFIG+:} false; then :
14667 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14672 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14673 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14674 ac_save_CPPFLAGS=$CPPFLAGS
14675 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14676 for ac_header in tiffio.h
14677 do :
14678 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14679 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define HAVE_TIFFIO_H 1
14682 _ACEOF
14686 done
14688 if test "$ac_cv_header_tiffio_h" = "yes"
14689 then
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14691 $as_echo_n "checking for -ltiff... " >&6; }
14692 if ${ac_cv_lib_soname_tiff+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 ac_check_soname_save_LIBS=$LIBS
14696 LIBS="-ltiff $TIFF_LIBS $LIBS"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14700 /* Override any GCC internal prototype to avoid an error.
14701 Use char because int might match the return type of a GCC
14702 builtin and then its argument prototype would still apply. */
14703 #ifdef __cplusplus
14704 extern "C"
14705 #endif
14706 char TIFFClientOpen ();
14708 main ()
14710 return TIFFClientOpen ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"; then :
14716 case "$LIBEXT" in
14717 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14718 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'` ;;
14719 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14720 if ${ac_cv_lib_soname_tiff:+false} :; then :
14721 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14722 fi ;;
14723 esac
14725 rm -f core conftest.err conftest.$ac_objext \
14726 conftest$ac_exeext conftest.$ac_ext
14727 LIBS=$ac_check_soname_save_LIBS
14729 if ${ac_cv_lib_soname_tiff:+false} :; then :
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14731 $as_echo "not found" >&6; }
14733 else
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14735 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14737 cat >>confdefs.h <<_ACEOF
14738 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14739 _ACEOF
14744 CPPFLAGS=$ac_save_CPPFLAGS
14745 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14746 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14749 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14750 case "x$with_tiff" in
14751 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14752 xno) ;;
14753 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14754 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14755 esac
14759 if test "x$with_mpg123" != "xno"
14760 then
14761 if ${MPG123_CFLAGS:+false} :; then :
14762 if ${PKG_CONFIG+:} false; then :
14763 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14767 if ${MPG123_LIBS:+false} :; then :
14768 if ${PKG_CONFIG+:} false; then :
14769 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14773 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14774 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14775 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14776 ac_save_CPPFLAGS=$CPPFLAGS
14777 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14778 for ac_header in mpg123.h
14779 do :
14780 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14781 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14782 cat >>confdefs.h <<_ACEOF
14783 #define HAVE_MPG123_H 1
14784 _ACEOF
14788 done
14790 if test "$ac_cv_header_mpg123_h" = "yes"
14791 then
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14793 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14794 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char mpg123_feed ();
14810 main ()
14812 return mpg123_feed ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_mpg123_mpg123_feed=yes
14819 else
14820 ac_cv_lib_mpg123_mpg123_feed=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14827 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14828 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14830 else
14831 MPG123_LIBS=""
14834 else
14835 MPG123_CFLAGS=""
14836 MPG123_LIBS=""
14838 CPPFLAGS=$ac_save_CPPFLAGS
14839 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14840 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14843 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14844 case "x$with_mpg123" in
14845 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14846 xno) ;;
14847 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14848 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14849 esac
14850 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14852 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14854 if test "$ac_cv_header_AL_al_h" = "yes"
14855 then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14857 $as_echo_n "checking for -lopenal... " >&6; }
14858 if ${ac_cv_lib_soname_openal+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 ac_check_soname_save_LIBS=$LIBS
14862 LIBS="-lopenal $LIBS"
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14866 /* Override any GCC internal prototype to avoid an error.
14867 Use char because int might match the return type of a GCC
14868 builtin and then its argument prototype would still apply. */
14869 #ifdef __cplusplus
14870 extern "C"
14871 #endif
14872 char alGetSource3i ();
14874 main ()
14876 return alGetSource3i ();
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 case "$LIBEXT" in
14883 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14884 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'` ;;
14885 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14886 if ${ac_cv_lib_soname_openal:+false} :; then :
14887 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14888 fi ;;
14889 esac
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14893 LIBS=$ac_check_soname_save_LIBS
14895 if ${ac_cv_lib_soname_openal:+false} :; then :
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14897 $as_echo "not found" >&6; }
14899 else
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14901 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14903 cat >>confdefs.h <<_ACEOF
14904 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14905 _ACEOF
14907 OPENAL_LIBS="-lopenal"
14909 ac_cv_lib_openal=yes
14911 cat >>confdefs.h <<_ACEOF
14912 #define HAVE_OPENAL 1
14913 _ACEOF
14917 if test "x$ac_cv_lib_openal" != xyes; then :
14918 case "x$with_openal" in
14919 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14920 xno) ;;
14921 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14922 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14923 esac
14924 enable_openal32=${enable_openal32:-no}
14927 if test "x$ac_cv_lib_openal" = xyes
14928 then
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14930 $as_echo_n "checking for openal-soft... " >&6; }
14931 if ${ac_cv_have_openalsoft+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 #include <AL/al.h>
14937 #include <AL/alc.h>
14938 #include <AL/alext.h>
14939 LPALCRENDERSAMPLESSOFT x;
14941 main ()
14945 return 0;
14947 _ACEOF
14948 if ac_fn_c_try_compile "$LINENO"; then :
14949 ac_cv_have_openalsoft=yes
14950 else
14951 ac_cv_have_openalsoft=no
14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14956 $as_echo "$ac_cv_have_openalsoft" >&6; }
14958 if test "x$ac_cv_have_openalsoft" != xyes
14959 then
14960 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14961 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14962 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14963 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14964 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14965 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14966 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14967 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14968 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14969 enable_xapofx1_1=${enable_xapofx1_1:-no}
14970 enable_xapofx1_2=${enable_xapofx1_2:-no}
14971 enable_xapofx1_3=${enable_xapofx1_3:-no}
14972 enable_xapofx1_4=${enable_xapofx1_4:-no}
14973 enable_xapofx1_5=${enable_xapofx1_5:-no}
14974 enable_xaudio2_0=${enable_xaudio2_0:-no}
14975 enable_xaudio2_1=${enable_xaudio2_1:-no}
14976 enable_xaudio2_2=${enable_xaudio2_2:-no}
14977 enable_xaudio2_3=${enable_xaudio2_3:-no}
14978 enable_xaudio2_4=${enable_xaudio2_4:-no}
14979 enable_xaudio2_5=${enable_xaudio2_5:-no}
14980 enable_xaudio2_6=${enable_xaudio2_6:-no}
14981 enable_xaudio2_7=${enable_xaudio2_7:-no}
14982 enable_xaudio2_8=${enable_xaudio2_8:-no}
14983 enable_xaudio2_9=${enable_xaudio2_9:-no}
14986 if test "$ac_cv_header_kstat_h" = "yes"
14987 then
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14989 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14990 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 ac_check_lib_save_LIBS=$LIBS
14994 LIBS="-lkstat $LIBS"
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14998 /* Override any GCC internal prototype to avoid an error.
14999 Use char because int might match the return type of a GCC
15000 builtin and then its argument prototype would still apply. */
15001 #ifdef __cplusplus
15002 extern "C"
15003 #endif
15004 char kstat_open ();
15006 main ()
15008 return kstat_open ();
15010 return 0;
15012 _ACEOF
15013 if ac_fn_c_try_link "$LINENO"; then :
15014 ac_cv_lib_kstat_kstat_open=yes
15015 else
15016 ac_cv_lib_kstat_kstat_open=no
15018 rm -f core conftest.err conftest.$ac_objext \
15019 conftest$ac_exeext conftest.$ac_ext
15020 LIBS=$ac_check_lib_save_LIBS
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15023 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15024 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15026 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15028 KSTAT_LIBS="-lkstat"
15034 if test "$ac_cv_header_libprocstat_h" = "yes"
15035 then
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15037 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15038 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15039 $as_echo_n "(cached) " >&6
15040 else
15041 ac_check_lib_save_LIBS=$LIBS
15042 LIBS="-lprocstat $LIBS"
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15046 /* Override any GCC internal prototype to avoid an error.
15047 Use char because int might match the return type of a GCC
15048 builtin and then its argument prototype would still apply. */
15049 #ifdef __cplusplus
15050 extern "C"
15051 #endif
15052 char procstat_open_sysctl ();
15054 main ()
15056 return procstat_open_sysctl ();
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"; then :
15062 ac_cv_lib_procstat_procstat_open_sysctl=yes
15063 else
15064 ac_cv_lib_procstat_procstat_open_sysctl=no
15066 rm -f core conftest.err conftest.$ac_objext \
15067 conftest$ac_exeext conftest.$ac_ext
15068 LIBS=$ac_check_lib_save_LIBS
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15071 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15072 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15074 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15076 PROCSTAT_LIBS="-lprocstat"
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15083 $as_echo_n "checking for -lodbc... " >&6; }
15084 if ${ac_cv_lib_soname_odbc+:} false; then :
15085 $as_echo_n "(cached) " >&6
15086 else
15087 ac_check_soname_save_LIBS=$LIBS
15088 LIBS="-lodbc $LIBS"
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15092 /* Override any GCC internal prototype to avoid an error.
15093 Use char because int might match the return type of a GCC
15094 builtin and then its argument prototype would still apply. */
15095 #ifdef __cplusplus
15096 extern "C"
15097 #endif
15098 char SQLConnect ();
15100 main ()
15102 return SQLConnect ();
15104 return 0;
15106 _ACEOF
15107 if ac_fn_c_try_link "$LINENO"; then :
15108 case "$LIBEXT" in
15109 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15110 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'` ;;
15111 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15112 if ${ac_cv_lib_soname_odbc:+false} :; then :
15113 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15114 fi ;;
15115 esac
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext conftest.$ac_ext
15119 LIBS=$ac_check_soname_save_LIBS
15121 if ${ac_cv_lib_soname_odbc:+false} :; then :
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15123 $as_echo "not found" >&6; }
15124 cat >>confdefs.h <<_ACEOF
15125 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15126 _ACEOF
15128 else
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15130 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15132 cat >>confdefs.h <<_ACEOF
15133 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15134 _ACEOF
15139 if test "x$with_netapi" != "xno"
15140 then
15141 if ${NETAPI_CFLAGS:+false} :; then :
15142 if ${PKG_CONFIG+:} false; then :
15143 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15147 if ${NETAPI_LIBS:+false} :; then :
15148 if ${PKG_CONFIG+:} false; then :
15149 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15154 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15155 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15156 ac_save_CPPFLAGS=$CPPFLAGS
15157 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15159 $as_echo_n "checking for -lnetapi... " >&6; }
15160 if ${ac_cv_lib_soname_netapi+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 ac_check_soname_save_LIBS=$LIBS
15164 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15168 /* Override any GCC internal prototype to avoid an error.
15169 Use char because int might match the return type of a GCC
15170 builtin and then its argument prototype would still apply. */
15171 #ifdef __cplusplus
15172 extern "C"
15173 #endif
15174 char libnetapi_init ();
15176 main ()
15178 return libnetapi_init ();
15180 return 0;
15182 _ACEOF
15183 if ac_fn_c_try_link "$LINENO"; then :
15184 case "$LIBEXT" in
15185 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15186 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'` ;;
15187 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15188 if ${ac_cv_lib_soname_netapi:+false} :; then :
15189 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15190 fi ;;
15191 esac
15193 rm -f core conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15195 LIBS=$ac_check_soname_save_LIBS
15197 if ${ac_cv_lib_soname_netapi:+false} :; then :
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15199 $as_echo "not found" >&6; }
15200 cat >>confdefs.h <<_ACEOF
15201 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15202 _ACEOF
15204 else
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15206 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15208 cat >>confdefs.h <<_ACEOF
15209 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15210 _ACEOF
15214 CPPFLAGS=$ac_save_CPPFLAGS
15215 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15216 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15220 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15221 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15222 then
15223 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15226 if test "x$with_vulkan" != "xno"
15227 then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15229 $as_echo_n "checking for -lvulkan... " >&6; }
15230 if ${ac_cv_lib_soname_vulkan+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_check_soname_save_LIBS=$LIBS
15234 LIBS="-lvulkan $LIBS"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 #ifdef __cplusplus
15242 extern "C"
15243 #endif
15244 char vkGetInstanceProcAddr ();
15246 main ()
15248 return vkGetInstanceProcAddr ();
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 case "$LIBEXT" in
15255 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15256 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'` ;;
15257 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15258 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15259 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15260 fi ;;
15261 esac
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15265 LIBS=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15269 $as_echo "not found" >&6; }
15271 else
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15273 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15275 cat >>confdefs.h <<_ACEOF
15276 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15277 _ACEOF
15281 if test "x$ac_cv_lib_soname_vulkan" = "x"
15282 then
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15284 $as_echo_n "checking for -lMoltenVK... " >&6; }
15285 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15286 $as_echo_n "(cached) " >&6
15287 else
15288 ac_check_soname_save_LIBS=$LIBS
15289 LIBS="-lMoltenVK $LIBS"
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15293 /* Override any GCC internal prototype to avoid an error.
15294 Use char because int might match the return type of a GCC
15295 builtin and then its argument prototype would still apply. */
15296 #ifdef __cplusplus
15297 extern "C"
15298 #endif
15299 char vkGetInstanceProcAddr ();
15301 main ()
15303 return vkGetInstanceProcAddr ();
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 case "$LIBEXT" in
15310 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15311 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'` ;;
15312 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15313 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15314 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15315 fi ;;
15316 esac
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_check_soname_save_LIBS
15322 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15324 $as_echo "not found" >&6; }
15326 else
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15328 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15330 cat >>confdefs.h <<_ACEOF
15331 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15332 _ACEOF
15338 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15339 case "x$with_vulkan" in
15340 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15341 xno) ;;
15342 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15343 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15344 esac
15348 if test "x$with_vkd3d" != "xno"
15349 then
15350 if ${VKD3D_CFLAGS:+false} :; then :
15351 if ${PKG_CONFIG+:} false; then :
15352 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15356 if ${VKD3D_LIBS:+false} :; then :
15357 if ${PKG_CONFIG+:} false; then :
15358 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15363 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15364 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15365 ac_save_CPPFLAGS=$CPPFLAGS
15366 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15368 $as_echo_n "checking for -lvkd3d... " >&6; }
15369 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_check_soname_save_LIBS=$LIBS
15373 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 char vkd3d_create_device ();
15385 main ()
15387 return vkd3d_create_device ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 case "$LIBEXT" in
15394 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15395 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'` ;;
15396 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15397 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15398 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15399 fi ;;
15400 esac
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_soname_save_LIBS
15406 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15408 $as_echo "not found" >&6; }
15410 else
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15412 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15414 cat >>confdefs.h <<_ACEOF
15415 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15416 _ACEOF
15420 CPPFLAGS=$ac_save_CPPFLAGS
15421 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15422 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15425 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15426 case "x$with_vkd3d" in
15427 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15428 xno) ;;
15429 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15430 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15431 esac
15434 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15437 EXTRACFLAGS=""
15439 if test "x${GCC}" = "xyes"
15440 then
15441 EXTRACFLAGS="-Wall -pipe"
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15444 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15445 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15446 $as_echo_n "(cached) " >&6
15447 else
15448 if test "$cross_compiling" = yes; then :
15449 ac_cv_c_gcc_strength_bug="no"
15450 else
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15453 int L[4] = {0,1,2,3};
15455 main ()
15457 static int Array[3];
15458 unsigned int B = 3;
15459 int i;
15460 for(i=0; i<B; i++) Array[i] = i - 3;
15461 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15462 L[i] = 4;
15463 return (Array[1] != -2 || L[2] != 3)
15465 return 0;
15467 _ACEOF
15468 if ac_fn_c_try_run "$LINENO"; then :
15469 ac_cv_c_gcc_strength_bug="no"
15470 else
15471 ac_cv_c_gcc_strength_bug="yes"
15473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15474 conftest.$ac_objext conftest.beam conftest.$ac_ext
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15479 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15480 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15481 then
15482 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15486 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15487 if ${ac_cv_cflags__fno_builtin+:} false; then :
15488 $as_echo_n "(cached) " >&6
15489 else
15490 ac_wine_try_cflags_saved=$CFLAGS
15491 CFLAGS="$CFLAGS -fno-builtin"
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 int main(int argc, char **argv) { return 0; }
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 ac_cv_cflags__fno_builtin=yes
15498 else
15499 ac_cv_cflags__fno_builtin=no
15501 rm -f core conftest.err conftest.$ac_objext \
15502 conftest$ac_exeext conftest.$ac_ext
15503 CFLAGS=$ac_wine_try_cflags_saved
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15506 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15507 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15508 BUILTINFLAG="-fno-builtin"
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15512 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15513 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_wine_try_cflags_saved=$CFLAGS
15517 CFLAGS="$CFLAGS -fno-strict-aliasing"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 int main(int argc, char **argv) { return 0; }
15521 _ACEOF
15522 if ac_fn_c_try_link "$LINENO"; then :
15523 ac_cv_cflags__fno_strict_aliasing=yes
15524 else
15525 ac_cv_cflags__fno_strict_aliasing=no
15527 rm -f core conftest.err conftest.$ac_objext \
15528 conftest$ac_exeext conftest.$ac_ext
15529 CFLAGS=$ac_wine_try_cflags_saved
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15532 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15533 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15534 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15537 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15538 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15539 $as_echo_n "(cached) " >&6
15540 else
15541 ac_wine_try_cflags_saved=$CFLAGS
15542 CFLAGS="$CFLAGS -fexcess-precision=standard"
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15545 int main(int argc, char **argv) { return 0; }
15546 _ACEOF
15547 if ac_fn_c_try_link "$LINENO"; then :
15548 ac_cv_cflags__fexcess_precision_standard=yes
15549 else
15550 ac_cv_cflags__fexcess_precision_standard=no
15552 rm -f core conftest.err conftest.$ac_objext \
15553 conftest$ac_exeext conftest.$ac_ext
15554 CFLAGS=$ac_wine_try_cflags_saved
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15557 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15558 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15559 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15562 saved_CFLAGS=$CFLAGS
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15564 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15565 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 ac_wine_try_cflags_saved=$CFLAGS
15569 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h. */
15572 int main(int argc, char **argv) { return 0; }
15573 _ACEOF
15574 if ac_fn_c_try_link "$LINENO"; then :
15575 ac_cv_cflags__Werror_unknown_warning_option=yes
15576 else
15577 ac_cv_cflags__Werror_unknown_warning_option=no
15579 rm -f core conftest.err conftest.$ac_objext \
15580 conftest$ac_exeext conftest.$ac_ext
15581 CFLAGS=$ac_wine_try_cflags_saved
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15584 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15585 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15586 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15589 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15590 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 ac_wine_try_cflags_saved=$CFLAGS
15594 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15597 int main(int argc, char **argv) { return 0; }
15598 _ACEOF
15599 if ac_fn_c_try_link "$LINENO"; then :
15600 ac_cv_cflags__Wdeclaration_after_statement=yes
15601 else
15602 ac_cv_cflags__Wdeclaration_after_statement=no
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 CFLAGS=$ac_wine_try_cflags_saved
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15609 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15610 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15611 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15614 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15615 if ${ac_cv_cflags__Wempty_body+:} false; then :
15616 $as_echo_n "(cached) " >&6
15617 else
15618 ac_wine_try_cflags_saved=$CFLAGS
15619 CFLAGS="$CFLAGS -Wempty-body"
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15622 int main(int argc, char **argv) { return 0; }
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"; then :
15625 ac_cv_cflags__Wempty_body=yes
15626 else
15627 ac_cv_cflags__Wempty_body=no
15629 rm -f core conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15631 CFLAGS=$ac_wine_try_cflags_saved
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15634 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15635 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15636 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15639 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15640 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_wine_try_cflags_saved=$CFLAGS
15644 CFLAGS="$CFLAGS -Wignored-qualifiers"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15647 int main(int argc, char **argv) { return 0; }
15648 _ACEOF
15649 if ac_fn_c_try_link "$LINENO"; then :
15650 ac_cv_cflags__Wignored_qualifiers=yes
15651 else
15652 ac_cv_cflags__Wignored_qualifiers=no
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15656 CFLAGS=$ac_wine_try_cflags_saved
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15659 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15660 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15661 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15664 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15665 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15666 $as_echo_n "(cached) " >&6
15667 else
15668 ac_wine_try_cflags_saved=$CFLAGS
15669 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15671 /* end confdefs.h. */
15672 int main(int argc, char **argv) { return 0; }
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"; then :
15675 ac_cv_cflags__Wpacked_not_aligned=yes
15676 else
15677 ac_cv_cflags__Wpacked_not_aligned=no
15679 rm -f core conftest.err conftest.$ac_objext \
15680 conftest$ac_exeext conftest.$ac_ext
15681 CFLAGS=$ac_wine_try_cflags_saved
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15684 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15685 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15686 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15689 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15690 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15691 $as_echo_n "(cached) " >&6
15692 else
15693 ac_wine_try_cflags_saved=$CFLAGS
15694 CFLAGS="$CFLAGS -Wpragma-pack"
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15697 int main(int argc, char **argv) { return 0; }
15698 _ACEOF
15699 if ac_fn_c_try_link "$LINENO"; then :
15700 ac_cv_cflags__Wpragma_pack=yes
15701 else
15702 ac_cv_cflags__Wpragma_pack=no
15704 rm -f core conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15706 CFLAGS=$ac_wine_try_cflags_saved
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15709 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15710 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15711 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15714 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15715 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15716 $as_echo_n "(cached) " >&6
15717 else
15718 ac_wine_try_cflags_saved=$CFLAGS
15719 CFLAGS="$CFLAGS -Wshift-overflow=2"
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int main(int argc, char **argv) { return 0; }
15723 _ACEOF
15724 if ac_fn_c_try_link "$LINENO"; then :
15725 ac_cv_cflags__Wshift_overflow_2=yes
15726 else
15727 ac_cv_cflags__Wshift_overflow_2=no
15729 rm -f core conftest.err conftest.$ac_objext \
15730 conftest$ac_exeext conftest.$ac_ext
15731 CFLAGS=$ac_wine_try_cflags_saved
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15734 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15735 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15736 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15739 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15740 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15741 $as_echo_n "(cached) " >&6
15742 else
15743 ac_wine_try_cflags_saved=$CFLAGS
15744 CFLAGS="$CFLAGS -Wstrict-prototypes"
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15747 int main(int argc, char **argv) { return 0; }
15748 _ACEOF
15749 if ac_fn_c_try_link "$LINENO"; then :
15750 ac_cv_cflags__Wstrict_prototypes=yes
15751 else
15752 ac_cv_cflags__Wstrict_prototypes=no
15754 rm -f core conftest.err conftest.$ac_objext \
15755 conftest$ac_exeext conftest.$ac_ext
15756 CFLAGS=$ac_wine_try_cflags_saved
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15759 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15760 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15761 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15764 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15765 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15766 $as_echo_n "(cached) " >&6
15767 else
15768 ac_wine_try_cflags_saved=$CFLAGS
15769 CFLAGS="$CFLAGS -Wtype-limits"
15770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15772 int main(int argc, char **argv) { return 0; }
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 ac_cv_cflags__Wtype_limits=yes
15776 else
15777 ac_cv_cflags__Wtype_limits=no
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext conftest.$ac_ext
15781 CFLAGS=$ac_wine_try_cflags_saved
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15784 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15785 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15786 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15789 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15790 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15791 $as_echo_n "(cached) " >&6
15792 else
15793 ac_wine_try_cflags_saved=$CFLAGS
15794 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15797 int main(int argc, char **argv) { return 0; }
15798 _ACEOF
15799 if ac_fn_c_try_link "$LINENO"; then :
15800 ac_cv_cflags__Wunused_but_set_parameter=yes
15801 else
15802 ac_cv_cflags__Wunused_but_set_parameter=no
15804 rm -f core conftest.err conftest.$ac_objext \
15805 conftest$ac_exeext conftest.$ac_ext
15806 CFLAGS=$ac_wine_try_cflags_saved
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15809 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15810 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15811 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15814 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15815 if ${ac_cv_cflags__Wvla+:} false; then :
15816 $as_echo_n "(cached) " >&6
15817 else
15818 ac_wine_try_cflags_saved=$CFLAGS
15819 CFLAGS="$CFLAGS -Wvla"
15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15821 /* end confdefs.h. */
15822 int main(int argc, char **argv) { return 0; }
15823 _ACEOF
15824 if ac_fn_c_try_link "$LINENO"; then :
15825 ac_cv_cflags__Wvla=yes
15826 else
15827 ac_cv_cflags__Wvla=no
15829 rm -f core conftest.err conftest.$ac_objext \
15830 conftest$ac_exeext conftest.$ac_ext
15831 CFLAGS=$ac_wine_try_cflags_saved
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15834 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15835 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15836 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15839 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15840 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 ac_wine_try_cflags_saved=$CFLAGS
15844 CFLAGS="$CFLAGS -Wwrite-strings"
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15847 int main(int argc, char **argv) { return 0; }
15848 _ACEOF
15849 if ac_fn_c_try_link "$LINENO"; then :
15850 ac_cv_cflags__Wwrite_strings=yes
15851 else
15852 ac_cv_cflags__Wwrite_strings=no
15854 rm -f core conftest.err conftest.$ac_objext \
15855 conftest$ac_exeext conftest.$ac_ext
15856 CFLAGS=$ac_wine_try_cflags_saved
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15859 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15860 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15861 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15865 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15866 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15867 $as_echo_n "(cached) " >&6
15868 else
15869 ac_wine_try_cflags_saved=$CFLAGS
15870 CFLAGS="$CFLAGS -Wpointer-arith"
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 int main(int argc, char **argv) { return 0; }
15874 _ACEOF
15875 if ac_fn_c_try_link "$LINENO"; then :
15876 ac_cv_cflags__Wpointer_arith=yes
15877 else
15878 ac_cv_cflags__Wpointer_arith=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15882 CFLAGS=$ac_wine_try_cflags_saved
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15885 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15886 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15887 saved_string_h_CFLAGS=$CFLAGS
15888 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15890 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15891 if ${ac_cv_c_string_h_warnings+:} false; then :
15892 $as_echo_n "(cached) " >&6
15893 else
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15896 #include <string.h>
15898 main ()
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_compile "$LINENO"; then :
15906 ac_cv_c_string_h_warnings=no
15907 else
15908 ac_cv_c_string_h_warnings=yes
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15913 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15914 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15915 CFLAGS=$saved_string_h_CFLAGS
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15919 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15920 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15921 $as_echo_n "(cached) " >&6
15922 else
15923 ac_wine_try_cflags_saved=$CFLAGS
15924 CFLAGS="$CFLAGS -Wlogical-op"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 int main(int argc, char **argv) { return 0; }
15928 _ACEOF
15929 if ac_fn_c_try_link "$LINENO"; then :
15930 ac_cv_cflags__Wlogical_op=yes
15931 else
15932 ac_cv_cflags__Wlogical_op=no
15934 rm -f core conftest.err conftest.$ac_objext \
15935 conftest$ac_exeext conftest.$ac_ext
15936 CFLAGS=$ac_wine_try_cflags_saved
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15939 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15940 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15941 saved_string_h_CFLAGS=$CFLAGS
15942 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15944 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15945 if ${ac_cv_c_logicalop_noisy+:} false; then :
15946 $as_echo_n "(cached) " >&6
15947 else
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15950 #include <string.h>
15951 char*f(const char *h,char n) {return strchr(h,n);}
15953 main ()
15957 return 0;
15959 _ACEOF
15960 if ac_fn_c_try_compile "$LINENO"; then :
15961 ac_cv_c_logicalop_noisy=no
15962 else
15963 ac_cv_c_logicalop_noisy=yes
15965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15968 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15969 CFLAGS=$saved_string_h_CFLAGS
15970 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15973 CFLAGS=$saved_CFLAGS
15975 for ac_flag in $CFLAGS; do
15976 case $ac_flag in
15977 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15978 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15979 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15980 $as_echo_n "(cached) " >&6
15981 else
15982 ac_wine_try_cflags_saved=$CFLAGS
15983 CFLAGS="$CFLAGS -gdwarf-2"
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15986 int main(int argc, char **argv) { return 0; }
15987 _ACEOF
15988 if ac_fn_c_try_link "$LINENO"; then :
15989 ac_cv_cflags__gdwarf_2=yes
15990 else
15991 ac_cv_cflags__gdwarf_2=no
15993 rm -f core conftest.err conftest.$ac_objext \
15994 conftest$ac_exeext conftest.$ac_ext
15995 CFLAGS=$ac_wine_try_cflags_saved
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15998 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15999 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16000 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16003 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16004 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006 else
16007 ac_wine_try_cflags_saved=$CFLAGS
16008 CFLAGS="$CFLAGS -gstrict-dwarf"
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16011 int main(int argc, char **argv) { return 0; }
16012 _ACEOF
16013 if ac_fn_c_try_link "$LINENO"; then :
16014 ac_cv_cflags__gstrict_dwarf=yes
16015 else
16016 ac_cv_cflags__gstrict_dwarf=no
16018 rm -f core conftest.err conftest.$ac_objext \
16019 conftest$ac_exeext conftest.$ac_ext
16020 CFLAGS=$ac_wine_try_cflags_saved
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16023 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16024 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16025 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16026 fi ;;
16027 esac
16028 done
16030 case $host_cpu in
16031 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16032 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16033 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16034 $as_echo_n "(cached) " >&6
16035 else
16036 ac_wine_try_cflags_saved=$CFLAGS
16037 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16040 int main(int argc, char **argv) { return 0; }
16041 _ACEOF
16042 if ac_fn_c_try_link "$LINENO"; then :
16043 ac_cv_cflags__fno_omit_frame_pointer=yes
16044 else
16045 ac_cv_cflags__fno_omit_frame_pointer=no
16047 rm -f core conftest.err conftest.$ac_objext \
16048 conftest$ac_exeext conftest.$ac_ext
16049 CFLAGS=$ac_wine_try_cflags_saved
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16052 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16053 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16054 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16055 fi ;;
16056 esac
16058 case $host in
16059 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16060 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16061 if ${ac_cv_cflags__Wno_format+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 ac_wine_try_cflags_saved=$CFLAGS
16065 CFLAGS="$CFLAGS -Wno-format"
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16068 int main(int argc, char **argv) { return 0; }
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"; then :
16071 ac_cv_cflags__Wno_format=yes
16072 else
16073 ac_cv_cflags__Wno_format=no
16075 rm -f core conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16077 CFLAGS=$ac_wine_try_cflags_saved
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16080 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16081 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16082 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16083 fi ;;
16084 esac
16086 if test "x$enable_maintainer_mode" = "xyes"
16087 then
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16089 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16090 if ${ac_cv_cflags__Werror+:} false; then :
16091 $as_echo_n "(cached) " >&6
16092 else
16093 ac_wine_try_cflags_saved=$CFLAGS
16094 CFLAGS="$CFLAGS -Werror"
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h. */
16097 int main(int argc, char **argv) { return 0; }
16098 _ACEOF
16099 if ac_fn_c_try_link "$LINENO"; then :
16100 ac_cv_cflags__Werror=yes
16101 else
16102 ac_cv_cflags__Werror=no
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 CFLAGS=$ac_wine_try_cflags_saved
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16109 $as_echo "$ac_cv_cflags__Werror" >&6; }
16110 if test "x$ac_cv_cflags__Werror" = xyes; then :
16111 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16115 saved_CFLAGS="$CFLAGS"
16116 CFLAGS="$CFLAGS -Werror"
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16118 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16119 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16120 $as_echo_n "(cached) " >&6
16121 else
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16124 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16126 main ()
16130 return 0;
16132 _ACEOF
16133 if ac_fn_c_try_compile "$LINENO"; then :
16134 ac_cv_have_ms_hook_prologue="yes"
16135 else
16136 ac_cv_have_ms_hook_prologue="no"
16138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16141 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16142 CFLAGS="$saved_CFLAGS"
16143 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16144 then
16146 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16148 else
16149 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16156 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16157 if ${ac_cv_c_fortify_enabled+:} false; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16162 #include <string.h>
16164 main ()
16166 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16167 #error Fortify enabled
16168 #endif
16170 return 0;
16172 _ACEOF
16173 if ac_fn_c_try_compile "$LINENO"; then :
16174 ac_cv_c_fortify_enabled=no
16175 else
16176 ac_cv_c_fortify_enabled=yes
16178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16181 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16182 if test "$ac_cv_c_fortify_enabled" = yes
16183 then
16184 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16189 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16190 if ${ac_cv_c_extern_prefix+:} false; then :
16191 $as_echo_n "(cached) " >&6
16192 else
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 extern int ac_test;
16197 main ()
16199 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16201 return 0;
16203 _ACEOF
16204 if ac_fn_c_try_link "$LINENO"; then :
16205 ac_cv_c_extern_prefix="yes"
16206 else
16207 ac_cv_c_extern_prefix="no"
16209 rm -f core conftest.err conftest.$ac_objext \
16210 conftest$ac_exeext conftest.$ac_ext
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16213 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16215 case $host_cpu in
16216 *i[3456789]86*)
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16218 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16219 if ${ac_cv_c_stdcall_suffix+:} false; then :
16220 $as_echo_n "(cached) " >&6
16221 else
16222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16224 #ifndef _MSC_VER
16225 #define __stdcall __attribute__((__stdcall__))
16226 #endif
16227 int __stdcall ac_test(int i) { return i; }
16229 main ()
16231 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_link "$LINENO"; then :
16237 ac_cv_c_stdcall_suffix="yes"
16238 else
16239 ac_cv_c_stdcall_suffix="no"
16241 rm -f core conftest.err conftest.$ac_objext \
16242 conftest$ac_exeext conftest.$ac_ext
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16245 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16246 *) ac_cv_c_stdcall_suffix="no" ;;
16247 esac
16250 if test "$ac_cv_c_extern_prefix" = "yes"
16251 then
16252 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16254 asm_name_prefix="_"
16255 else
16256 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16258 asm_name_prefix=""
16262 if test "$ac_cv_c_stdcall_suffix" = "yes"
16263 then
16264 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16266 else
16267 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16273 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16274 if ${ac_cv_asm_func_def+:} false; then :
16275 $as_echo_n "(cached) " >&6
16276 else
16277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16281 main ()
16283 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16285 return 0;
16287 _ACEOF
16288 if ac_fn_c_try_link "$LINENO"; then :
16289 ac_cv_asm_func_def=".def"
16290 else
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16295 main ()
16297 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16299 return 0;
16301 _ACEOF
16302 if ac_fn_c_try_link "$LINENO"; then :
16303 ac_cv_asm_func_def=".type @function"
16304 else
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16309 main ()
16311 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"; then :
16317 ac_cv_asm_func_def=".type 2"
16318 else
16319 ac_cv_asm_func_def="unknown"
16321 rm -f core conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16331 $as_echo "$ac_cv_asm_func_def" >&6; }
16334 case "$ac_cv_asm_func_def" in
16335 ".def")
16336 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16338 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16339 ".type @function")
16340 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16342 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16343 ".type 2")
16344 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16346 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16348 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16350 asm_func_header="" ;;
16351 esac
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16354 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16355 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16356 $as_echo_n "(cached) " >&6
16357 else
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16360 asm(".text\n\t.long 0");
16362 main ()
16366 return 0;
16368 _ACEOF
16369 if ac_fn_c_try_compile "$LINENO"; then :
16370 ac_cv_c_asm_outside_funcs="yes"
16371 else
16372 ac_cv_c_asm_outside_funcs="no"
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16377 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16380 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16381 if ${ac_cv_c_dot_previous+:} false; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16388 main ()
16390 asm(".text\nac_test:\t.long 0\n\t.previous");
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"; then :
16396 ac_cv_c_dot_previous="yes"
16397 else
16398 ac_cv_c_dot_previous="no"
16400 rm -f core conftest.err conftest.$ac_objext \
16401 conftest$ac_exeext conftest.$ac_ext
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16404 $as_echo "$ac_cv_c_dot_previous" >&6; }
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16407 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16408 if ${ac_cv_c_cfi_support+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16413 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16415 main ()
16419 return 0;
16421 _ACEOF
16422 if ac_fn_c_try_compile "$LINENO"; then :
16423 ac_cv_c_cfi_support="yes"
16424 else
16425 ac_cv_c_cfi_support="no"
16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16430 $as_echo "$ac_cv_c_cfi_support" >&6; }
16432 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16433 asm_func_trailer=""
16434 if test "$ac_cv_c_dot_previous" = "yes"
16435 then
16436 asm_func_trailer="\\n\\t.previous"
16438 if test "$ac_cv_c_cfi_support" = "yes"
16439 then
16440 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16441 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16443 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16445 UNWINDFLAGS=-fasynchronous-unwind-tables
16447 else
16448 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16450 if test "x$enable_win64" = "xyes"
16451 then
16452 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16456 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16459 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16460 then
16461 cat >>confdefs.h <<_ACEOF
16462 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16463 _ACEOF
16465 else
16466 cat >>confdefs.h <<_ACEOF
16467 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16468 _ACEOF
16472 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16475 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16479 case $build_os in
16480 cygwin*|mingw32*) TOOLSEXT=".exe"
16482 esac
16484 case $host_os in
16485 linux*)
16486 case $host_cpu in
16487 *i[3456789]86*|x86_64*|*aarch64*)
16488 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16489 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16491 esac
16493 esac
16496 ac_save_CFLAGS="$CFLAGS"
16497 CFLAGS="$CFLAGS $BUILTINFLAG"
16498 for ac_func in \
16499 __res_get_state \
16500 __res_getservers \
16501 _finite \
16502 _isnan \
16503 _pclose \
16504 _popen \
16505 _snprintf \
16506 _spawnvp \
16507 _strdup \
16508 _stricmp \
16509 _strnicmp \
16510 _strtoi64 \
16511 _strtoui64 \
16512 _vsnprintf \
16513 asctime_r \
16514 chsize \
16515 dlopen \
16516 epoll_create \
16517 ffs \
16518 finitef \
16519 fnmatch \
16520 fork \
16521 fpclass \
16522 fstatfs \
16523 fstatvfs \
16524 ftruncate \
16525 futimens \
16526 futimes \
16527 futimesat \
16528 getattrlist \
16529 getauxval \
16530 getifaddrs \
16531 getopt_long_only \
16532 getpwuid \
16533 gettimeofday \
16534 getuid \
16535 isnanf \
16536 kqueue \
16537 lstat \
16538 memmove \
16539 mmap \
16540 pclose \
16541 pipe2 \
16542 poll \
16543 popen \
16544 port_create \
16545 prctl \
16546 pread \
16547 proc_pidinfo \
16548 pwrite \
16549 readdir \
16550 readlink \
16551 sched_yield \
16552 select \
16553 setproctitle \
16554 setprogname \
16555 setrlimit \
16556 settimeofday \
16557 sigaltstack \
16558 sigprocmask \
16559 snprintf \
16560 statfs \
16561 statvfs \
16562 strcasecmp \
16563 strdup \
16564 strerror \
16565 strncasecmp \
16566 strnlen \
16567 strtold \
16568 strtoll \
16569 strtoull \
16570 symlink \
16571 sysinfo \
16572 tcdrain \
16573 thr_kill2 \
16574 timegm \
16575 usleep \
16576 vsnprintf
16578 do :
16579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16584 _ACEOF
16587 done
16589 CFLAGS="$ac_save_CFLAGS"
16591 if test "$ac_cv_func_dlopen" = no
16592 then
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16594 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16595 if ${ac_cv_lib_dl_dlopen+:} false; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598 ac_check_lib_save_LIBS=$LIBS
16599 LIBS="-ldl $LIBS"
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16603 /* Override any GCC internal prototype to avoid an error.
16604 Use char because int might match the return type of a GCC
16605 builtin and then its argument prototype would still apply. */
16606 #ifdef __cplusplus
16607 extern "C"
16608 #endif
16609 char dlopen ();
16611 main ()
16613 return dlopen ();
16615 return 0;
16617 _ACEOF
16618 if ac_fn_c_try_link "$LINENO"; then :
16619 ac_cv_lib_dl_dlopen=yes
16620 else
16621 ac_cv_lib_dl_dlopen=no
16623 rm -f core conftest.err conftest.$ac_objext \
16624 conftest$ac_exeext conftest.$ac_ext
16625 LIBS=$ac_check_lib_save_LIBS
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16628 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16629 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16630 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16631 DL_LIBS="-ldl"
16636 ac_wine_check_funcs_save_LIBS="$LIBS"
16637 LIBS="$LIBS $DL_LIBS"
16638 for ac_func in dladdr
16639 do :
16640 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16641 if test "x$ac_cv_func_dladdr" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_DLADDR 1
16644 _ACEOF
16647 done
16649 LIBS="$ac_wine_check_funcs_save_LIBS"
16651 if test "$ac_cv_func_poll" = no
16652 then
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16654 $as_echo_n "checking for poll in -lpoll... " >&6; }
16655 if ${ac_cv_lib_poll_poll+:} false; then :
16656 $as_echo_n "(cached) " >&6
16657 else
16658 ac_check_lib_save_LIBS=$LIBS
16659 LIBS="-lpoll $LIBS"
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h. */
16663 /* Override any GCC internal prototype to avoid an error.
16664 Use char because int might match the return type of a GCC
16665 builtin and then its argument prototype would still apply. */
16666 #ifdef __cplusplus
16667 extern "C"
16668 #endif
16669 char poll ();
16671 main ()
16673 return poll ();
16675 return 0;
16677 _ACEOF
16678 if ac_fn_c_try_link "$LINENO"; then :
16679 ac_cv_lib_poll_poll=yes
16680 else
16681 ac_cv_lib_poll_poll=no
16683 rm -f core conftest.err conftest.$ac_objext \
16684 conftest$ac_exeext conftest.$ac_ext
16685 LIBS=$ac_check_lib_save_LIBS
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16688 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16689 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16690 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16691 POLL_LIBS="-lpoll"
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16698 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16699 if ${ac_cv_search_gethostbyname+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 ac_func_search_save_LIBS=$LIBS
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16706 /* Override any GCC internal prototype to avoid an error.
16707 Use char because int might match the return type of a GCC
16708 builtin and then its argument prototype would still apply. */
16709 #ifdef __cplusplus
16710 extern "C"
16711 #endif
16712 char gethostbyname ();
16714 main ()
16716 return gethostbyname ();
16718 return 0;
16720 _ACEOF
16721 for ac_lib in '' nsl; do
16722 if test -z "$ac_lib"; then
16723 ac_res="none required"
16724 else
16725 ac_res=-l$ac_lib
16726 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16728 if ac_fn_c_try_link "$LINENO"; then :
16729 ac_cv_search_gethostbyname=$ac_res
16731 rm -f core conftest.err conftest.$ac_objext \
16732 conftest$ac_exeext
16733 if ${ac_cv_search_gethostbyname+:} false; then :
16734 break
16736 done
16737 if ${ac_cv_search_gethostbyname+:} false; then :
16739 else
16740 ac_cv_search_gethostbyname=no
16742 rm conftest.$ac_ext
16743 LIBS=$ac_func_search_save_LIBS
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16746 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16747 ac_res=$ac_cv_search_gethostbyname
16748 if test "$ac_res" != no; then :
16749 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16755 $as_echo_n "checking for library containing connect... " >&6; }
16756 if ${ac_cv_search_connect+:} false; then :
16757 $as_echo_n "(cached) " >&6
16758 else
16759 ac_func_search_save_LIBS=$LIBS
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 /* Override any GCC internal prototype to avoid an error.
16764 Use char because int might match the return type of a GCC
16765 builtin and then its argument prototype would still apply. */
16766 #ifdef __cplusplus
16767 extern "C"
16768 #endif
16769 char connect ();
16771 main ()
16773 return connect ();
16775 return 0;
16777 _ACEOF
16778 for ac_lib in '' socket; do
16779 if test -z "$ac_lib"; then
16780 ac_res="none required"
16781 else
16782 ac_res=-l$ac_lib
16783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16785 if ac_fn_c_try_link "$LINENO"; then :
16786 ac_cv_search_connect=$ac_res
16788 rm -f core conftest.err conftest.$ac_objext \
16789 conftest$ac_exeext
16790 if ${ac_cv_search_connect+:} false; then :
16791 break
16793 done
16794 if ${ac_cv_search_connect+:} false; then :
16796 else
16797 ac_cv_search_connect=no
16799 rm conftest.$ac_ext
16800 LIBS=$ac_func_search_save_LIBS
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16803 $as_echo "$ac_cv_search_connect" >&6; }
16804 ac_res=$ac_cv_search_connect
16805 if test "$ac_res" != no; then :
16806 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16812 $as_echo_n "checking for library containing inet_aton... " >&6; }
16813 if ${ac_cv_search_inet_aton+:} false; then :
16814 $as_echo_n "(cached) " >&6
16815 else
16816 ac_func_search_save_LIBS=$LIBS
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16820 /* Override any GCC internal prototype to avoid an error.
16821 Use char because int might match the return type of a GCC
16822 builtin and then its argument prototype would still apply. */
16823 #ifdef __cplusplus
16824 extern "C"
16825 #endif
16826 char inet_aton ();
16828 main ()
16830 return inet_aton ();
16832 return 0;
16834 _ACEOF
16835 for ac_lib in '' resolv; do
16836 if test -z "$ac_lib"; then
16837 ac_res="none required"
16838 else
16839 ac_res=-l$ac_lib
16840 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 ac_cv_search_inet_aton=$ac_res
16845 rm -f core conftest.err conftest.$ac_objext \
16846 conftest$ac_exeext
16847 if ${ac_cv_search_inet_aton+:} false; then :
16848 break
16850 done
16851 if ${ac_cv_search_inet_aton+:} false; then :
16853 else
16854 ac_cv_search_inet_aton=no
16856 rm conftest.$ac_ext
16857 LIBS=$ac_func_search_save_LIBS
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16860 $as_echo "$ac_cv_search_inet_aton" >&6; }
16861 ac_res=$ac_cv_search_inet_aton
16862 if test "$ac_res" != no; then :
16863 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16868 for ac_func in \
16869 getaddrinfo \
16870 getnameinfo \
16871 getnetbyname \
16872 getprotobyname \
16873 getprotobynumber \
16874 getservbyport \
16875 inet_addr \
16876 inet_network \
16877 inet_ntop \
16878 inet_pton \
16879 sendmsg \
16880 socketpair \
16882 do :
16883 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16884 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16885 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16886 cat >>confdefs.h <<_ACEOF
16887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16888 _ACEOF
16891 done
16894 ac_save_LIBS=$LIBS
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16896 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16897 if ${ac_cv_search_clock_gettime+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 ac_func_search_save_LIBS=$LIBS
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16904 /* Override any GCC internal prototype to avoid an error.
16905 Use char because int might match the return type of a GCC
16906 builtin and then its argument prototype would still apply. */
16907 #ifdef __cplusplus
16908 extern "C"
16909 #endif
16910 char clock_gettime ();
16912 main ()
16914 return clock_gettime ();
16916 return 0;
16918 _ACEOF
16919 for ac_lib in '' rt; do
16920 if test -z "$ac_lib"; then
16921 ac_res="none required"
16922 else
16923 ac_res=-l$ac_lib
16924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16926 if ac_fn_c_try_link "$LINENO"; then :
16927 ac_cv_search_clock_gettime=$ac_res
16929 rm -f core conftest.err conftest.$ac_objext \
16930 conftest$ac_exeext
16931 if ${ac_cv_search_clock_gettime+:} false; then :
16932 break
16934 done
16935 if ${ac_cv_search_clock_gettime+:} false; then :
16937 else
16938 ac_cv_search_clock_gettime=no
16940 rm conftest.$ac_ext
16941 LIBS=$ac_func_search_save_LIBS
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16944 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16945 ac_res=$ac_cv_search_clock_gettime
16946 if test "$ac_res" != no; then :
16947 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16949 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16951 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16955 LIBS=$ac_save_LIBS
16957 if test "x$with_ldap" != "xno"
16958 then
16959 if ${LDAP_CFLAGS:+false} :; then :
16960 if ${PKG_CONFIG+:} false; then :
16961 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16965 if ${LDAP_LIBS:+false} :; then :
16966 if ${PKG_CONFIG+:} false; then :
16967 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16971 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16972 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16973 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16974 ac_save_CPPFLAGS=$CPPFLAGS
16975 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16976 for ac_header in ldap.h lber.h
16977 do :
16978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16980 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16981 cat >>confdefs.h <<_ACEOF
16982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16983 _ACEOF
16987 done
16989 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16990 then
16991 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16993 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16995 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16996 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999 ac_check_lib_save_LIBS=$LIBS
17000 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17004 /* Override any GCC internal prototype to avoid an error.
17005 Use char because int might match the return type of a GCC
17006 builtin and then its argument prototype would still apply. */
17007 #ifdef __cplusplus
17008 extern "C"
17009 #endif
17010 char ldap_initialize ();
17012 main ()
17014 return ldap_initialize ();
17016 return 0;
17018 _ACEOF
17019 if ac_fn_c_try_link "$LINENO"; then :
17020 ac_cv_lib_ldap_r_ldap_initialize=yes
17021 else
17022 ac_cv_lib_ldap_r_ldap_initialize=no
17024 rm -f core conftest.err conftest.$ac_objext \
17025 conftest$ac_exeext conftest.$ac_ext
17026 LIBS=$ac_check_lib_save_LIBS
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17029 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17030 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17032 $as_echo_n "checking for ber_init in -llber... " >&6; }
17033 if ${ac_cv_lib_lber_ber_init+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_check_lib_save_LIBS=$LIBS
17037 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17041 /* Override any GCC internal prototype to avoid an error.
17042 Use char because int might match the return type of a GCC
17043 builtin and then its argument prototype would still apply. */
17044 #ifdef __cplusplus
17045 extern "C"
17046 #endif
17047 char ber_init ();
17049 main ()
17051 return ber_init ();
17053 return 0;
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_lib_lber_ber_init=yes
17058 else
17059 ac_cv_lib_lber_ber_init=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 LIBS=$ac_check_lib_save_LIBS
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17066 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17067 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17069 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17071 else
17072 LDAP_LIBS=""
17075 else
17076 LDAP_LIBS=""
17079 else
17080 LDAP_LIBS=""
17083 ac_wine_check_funcs_save_LIBS="$LIBS"
17084 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17085 for ac_func in \
17086 ldap_count_references \
17087 ldap_first_reference \
17088 ldap_next_reference \
17089 ldap_parse_reference \
17090 ldap_parse_sort_control \
17091 ldap_parse_sortresponse_control \
17092 ldap_parse_vlv_control \
17093 ldap_parse_vlvresponse_control
17094 do :
17095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17098 cat >>confdefs.h <<_ACEOF
17099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17100 _ACEOF
17103 done
17105 LIBS="$ac_wine_check_funcs_save_LIBS"
17106 else
17107 LDAP_LIBS=""
17109 CPPFLAGS=$ac_save_CPPFLAGS
17110 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17111 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17114 if test "x$LDAP_LIBS" = "x"; then :
17115 case "x$with_ldap" in
17116 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17117 xno) ;;
17118 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17119 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17120 esac
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17125 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17126 if ${wine_cv_one_arg_mkdir+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #include <sys/stat.h>
17133 main ()
17135 mkdir("foo");
17137 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_compile "$LINENO"; then :
17141 wine_cv_one_arg_mkdir=yes
17142 else
17143 wine_cv_one_arg_mkdir=no
17145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17148 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17149 if test "$wine_cv_one_arg_mkdir" = "yes"
17150 then
17152 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17157 $as_echo_n "checking for sched_setaffinity... " >&6; }
17158 if ${wine_cv_have_sched_setaffinity+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 #define _GNU_SOURCE
17164 #include <sched.h>
17166 main ()
17168 sched_setaffinity(0, 0, 0);
17170 return 0;
17172 _ACEOF
17173 if ac_fn_c_try_link "$LINENO"; then :
17174 wine_cv_have_sched_setaffinity=yes
17175 else
17176 wine_cv_have_sched_setaffinity=no
17178 rm -f core conftest.err conftest.$ac_objext \
17179 conftest$ac_exeext conftest.$ac_ext
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17182 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17183 if test "$wine_cv_have_sched_setaffinity" = "yes"
17184 then
17186 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17191 $as_echo_n "checking for fallocate... " >&6; }
17192 if ${wine_cv_have_fallocate+:} false; then :
17193 $as_echo_n "(cached) " >&6
17194 else
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17197 #define _GNU_SOURCE
17198 #include <fcntl.h>
17200 main ()
17202 fallocate(-1, 0, 0, 0);
17204 return 0;
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 wine_cv_have_fallocate=yes
17209 else
17210 wine_cv_have_fallocate=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17216 $as_echo "$wine_cv_have_fallocate" >&6; }
17217 if test "$wine_cv_have_fallocate" = "yes"
17218 then
17220 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17226 $as_echo_n "checking for inline... " >&6; }
17227 if ${ac_cv_c_inline+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_cv_c_inline=no
17231 for ac_kw in inline __inline__ __inline; do
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 #ifndef __cplusplus
17235 typedef int foo_t;
17236 static $ac_kw foo_t static_foo () {return 0; }
17237 $ac_kw foo_t foo () {return 0; }
17238 #endif
17240 _ACEOF
17241 if ac_fn_c_try_compile "$LINENO"; then :
17242 ac_cv_c_inline=$ac_kw
17244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17245 test "$ac_cv_c_inline" != no && break
17246 done
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17250 $as_echo "$ac_cv_c_inline" >&6; }
17252 case $ac_cv_c_inline in
17253 inline | yes) ;;
17255 case $ac_cv_c_inline in
17256 no) ac_val=;;
17257 *) ac_val=$ac_cv_c_inline;;
17258 esac
17259 cat >>confdefs.h <<_ACEOF
17260 #ifndef __cplusplus
17261 #define inline $ac_val
17262 #endif
17263 _ACEOF
17265 esac
17267 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17268 if test "x$ac_cv_type_mode_t" = xyes; then :
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_MODE_T 1
17272 _ACEOF
17276 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17277 if test "x$ac_cv_type_off_t" = xyes; then :
17279 cat >>confdefs.h <<_ACEOF
17280 #define HAVE_OFF_T 1
17281 _ACEOF
17285 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17286 if test "x$ac_cv_type_pid_t" = xyes; then :
17288 cat >>confdefs.h <<_ACEOF
17289 #define HAVE_PID_T 1
17290 _ACEOF
17294 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17295 if test "x$ac_cv_type_size_t" = xyes; then :
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_SIZE_T 1
17299 _ACEOF
17303 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17304 if test "x$ac_cv_type_ssize_t" = xyes; then :
17306 cat >>confdefs.h <<_ACEOF
17307 #define HAVE_SSIZE_T 1
17308 _ACEOF
17312 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17313 if test "x$ac_cv_type_long_long" = xyes; then :
17315 cat >>confdefs.h <<_ACEOF
17316 #define HAVE_LONG_LONG 1
17317 _ACEOF
17321 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17322 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17324 cat >>confdefs.h <<_ACEOF
17325 #define HAVE_FSBLKCNT_T 1
17326 _ACEOF
17330 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17331 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17333 cat >>confdefs.h <<_ACEOF
17334 #define HAVE_FSFILCNT_T 1
17335 _ACEOF
17340 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17341 #include <signal.h>
17343 if test "x$ac_cv_type_sigset_t" = xyes; then :
17345 cat >>confdefs.h <<_ACEOF
17346 #define HAVE_SIGSET_T 1
17347 _ACEOF
17352 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17354 if test "x$ac_cv_type_request_sense" = xyes; then :
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_REQUEST_SENSE 1
17358 _ACEOF
17364 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17365 #ifdef HAVE_SYS_SOCKET_H
17366 #include <sys/socket.h>
17367 #endif
17368 #ifdef HAVE_SYS_SOCKETVAR_H
17369 #include <sys/socketvar.h>
17370 #endif
17371 #ifdef HAVE_NET_ROUTE_H
17372 #include <net/route.h>
17373 #endif
17374 #ifdef HAVE_NETINET_IN_H
17375 #include <netinet/in.h>
17376 #endif
17377 #ifdef HAVE_NETINET_IN_SYSTM_H
17378 #include <netinet/in_systm.h>
17379 #endif
17380 #ifdef HAVE_NETINET_IP_H
17381 #include <netinet/ip.h>
17382 #endif
17383 #ifdef HAVE_NETINET_IN_PCB_H
17384 #include <netinet/in_pcb.h>
17385 #endif
17387 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17389 cat >>confdefs.h <<_ACEOF
17390 #define HAVE_STRUCT_XINPGEN 1
17391 _ACEOF
17397 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17398 #include <link.h>
17399 #endif
17400 #ifdef HAVE_SYS_LINK_H
17401 #include <sys/link.h>
17402 #endif
17404 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT_R_DEBUG 1
17408 _ACEOF
17412 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17413 #include <link.h>
17414 #endif
17415 #ifdef HAVE_SYS_LINK_H
17416 #include <sys/link.h>
17417 #endif
17419 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_STRUCT_LINK_MAP 1
17423 _ACEOF
17429 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17430 #include <linux/input.h>
17431 #endif
17433 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17435 cat >>confdefs.h <<_ACEOF
17436 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17437 _ACEOF
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17444 $as_echo_n "checking for if_nameindex... " >&6; }
17445 if ${wine_cv_have_if_nameindex+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #ifdef HAVE_SYS_TYPES_H
17451 #include <sys/types.h>
17452 #endif
17453 #ifdef HAVE_SYS_SOCKET_H
17454 #include <sys/socket.h>
17455 #endif
17456 #ifdef HAVE_NET_IF_H
17457 # include <net/if.h>
17458 #endif
17460 main ()
17462 struct if_nameindex *p = if_nameindex(); return p->if_index;
17464 return 0;
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"; then :
17468 wine_cv_have_if_nameindex=yes
17469 else
17470 wine_cv_have_if_nameindex=no
17472 rm -f core conftest.err conftest.$ac_objext \
17473 conftest$ac_exeext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17476 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17477 if test "$wine_cv_have_if_nameindex" = "yes"
17478 then
17480 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17485 $as_echo_n "checking for sigaddset... " >&6; }
17486 if ${wine_cv_have_sigaddset+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 #include <signal.h>
17493 main ()
17495 sigset_t set; sigaddset(&set,SIGTERM);
17497 return 0;
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"; then :
17501 wine_cv_have_sigaddset=yes
17502 else
17503 wine_cv_have_sigaddset=no
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17509 $as_echo "$wine_cv_have_sigaddset" >&6; }
17510 if test "$wine_cv_have_sigaddset" = "yes"
17511 then
17513 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17519 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17520 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <netdb.h>
17527 main ()
17530 char *name=0;
17531 struct hostent he;
17532 struct hostent *result;
17533 char *buf=0;
17534 int bufsize=0;
17535 int errnr;
17536 char *addr=0;
17537 int addrlen=0;
17538 int addrtype=0;
17539 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17540 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17543 return 0;
17545 _ACEOF
17546 if ac_fn_c_try_link "$LINENO"; then :
17547 wine_cv_linux_gethostbyname_r_6=yes
17548 else
17549 wine_cv_linux_gethostbyname_r_6=no
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17557 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17558 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17559 then
17561 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17565 if test "$ac_cv_header_linux_joystick_h" = "yes"
17566 then
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17568 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17569 if ${wine_cv_linux_joystick_22_api+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 #include <sys/ioctl.h>
17576 #include <sys/types.h>
17577 #include <linux/joystick.h>
17579 struct js_event blub;
17580 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17581 #error "no 2.2 header"
17582 #endif
17585 main ()
17587 /*empty*/
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_compile "$LINENO"; then :
17593 wine_cv_linux_joystick_22_api=yes
17594 else
17595 wine_cv_linux_joystick_22_api=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17601 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17602 if test "$wine_cv_linux_joystick_22_api" = "yes"
17603 then
17605 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17611 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17612 #ifdef HAVE_SYS_PARAM_H
17613 # include <sys/param.h>
17614 #endif
17615 #ifdef HAVE_SYS_MOUNT_H
17616 # include <sys/mount.h>
17617 #endif
17618 #ifdef HAVE_SYS_VFS_H
17619 # include <sys/vfs.h>
17620 #endif
17621 #ifdef HAVE_SYS_STATFS_H
17622 # include <sys/statfs.h>
17623 #endif
17625 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17627 cat >>confdefs.h <<_ACEOF
17628 #define HAVE_STRUCT_STATFS_F_BFREE 1
17629 _ACEOF
17633 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17634 #ifdef HAVE_SYS_PARAM_H
17635 # include <sys/param.h>
17636 #endif
17637 #ifdef HAVE_SYS_MOUNT_H
17638 # include <sys/mount.h>
17639 #endif
17640 #ifdef HAVE_SYS_VFS_H
17641 # include <sys/vfs.h>
17642 #endif
17643 #ifdef HAVE_SYS_STATFS_H
17644 # include <sys/statfs.h>
17645 #endif
17647 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17649 cat >>confdefs.h <<_ACEOF
17650 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17651 _ACEOF
17655 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17656 #ifdef HAVE_SYS_PARAM_H
17657 # include <sys/param.h>
17658 #endif
17659 #ifdef HAVE_SYS_MOUNT_H
17660 # include <sys/mount.h>
17661 #endif
17662 #ifdef HAVE_SYS_VFS_H
17663 # include <sys/vfs.h>
17664 #endif
17665 #ifdef HAVE_SYS_STATFS_H
17666 # include <sys/statfs.h>
17667 #endif
17669 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17671 cat >>confdefs.h <<_ACEOF
17672 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17673 _ACEOF
17677 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17678 #ifdef HAVE_SYS_PARAM_H
17679 # include <sys/param.h>
17680 #endif
17681 #ifdef HAVE_SYS_MOUNT_H
17682 # include <sys/mount.h>
17683 #endif
17684 #ifdef HAVE_SYS_VFS_H
17685 # include <sys/vfs.h>
17686 #endif
17687 #ifdef HAVE_SYS_STATFS_H
17688 # include <sys/statfs.h>
17689 #endif
17691 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17693 cat >>confdefs.h <<_ACEOF
17694 #define HAVE_STRUCT_STATFS_F_FFREE 1
17695 _ACEOF
17699 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17700 #ifdef HAVE_SYS_PARAM_H
17701 # include <sys/param.h>
17702 #endif
17703 #ifdef HAVE_SYS_MOUNT_H
17704 # include <sys/mount.h>
17705 #endif
17706 #ifdef HAVE_SYS_VFS_H
17707 # include <sys/vfs.h>
17708 #endif
17709 #ifdef HAVE_SYS_STATFS_H
17710 # include <sys/statfs.h>
17711 #endif
17713 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17715 cat >>confdefs.h <<_ACEOF
17716 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17717 _ACEOF
17721 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17722 #ifdef HAVE_SYS_PARAM_H
17723 # include <sys/param.h>
17724 #endif
17725 #ifdef HAVE_SYS_MOUNT_H
17726 # include <sys/mount.h>
17727 #endif
17728 #ifdef HAVE_SYS_VFS_H
17729 # include <sys/vfs.h>
17730 #endif
17731 #ifdef HAVE_SYS_STATFS_H
17732 # include <sys/statfs.h>
17733 #endif
17735 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17737 cat >>confdefs.h <<_ACEOF
17738 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17739 _ACEOF
17745 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17746 #include <sys/statvfs.h>
17747 #endif
17749 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17751 cat >>confdefs.h <<_ACEOF
17752 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17753 _ACEOF
17759 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17760 #include <dirent.h>
17761 #endif
17763 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17765 cat >>confdefs.h <<_ACEOF
17766 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17767 _ACEOF
17773 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17774 #ifdef HAVE_SYS_SOCKET_H
17775 # include <sys/socket.h>
17776 #endif
17777 #ifdef HAVE_SYS_UN_H
17778 # include <sys/un.h>
17779 #endif
17781 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17783 cat >>confdefs.h <<_ACEOF
17784 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17785 _ACEOF
17789 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17790 #ifdef HAVE_SYS_SOCKET_H
17791 # include <sys/socket.h>
17792 #endif
17793 #ifdef HAVE_SYS_UN_H
17794 # include <sys/un.h>
17795 #endif
17797 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17799 cat >>confdefs.h <<_ACEOF
17800 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17801 _ACEOF
17805 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17806 #ifdef HAVE_SYS_SOCKET_H
17807 # include <sys/socket.h>
17808 #endif
17809 #ifdef HAVE_SYS_UN_H
17810 # include <sys/un.h>
17811 #endif
17813 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17815 cat >>confdefs.h <<_ACEOF
17816 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17817 _ACEOF
17823 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17824 #ifdef HAVE_SCSI_SG_H
17825 #include <scsi/sg.h>
17826 #endif
17828 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17830 cat >>confdefs.h <<_ACEOF
17831 #define HAVE_SCSIREQ_T_CMD 1
17832 _ACEOF
17836 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>
17837 #ifdef HAVE_SCSI_SG_H
17838 #include <scsi/sg.h>
17839 #endif
17841 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17843 cat >>confdefs.h <<_ACEOF
17844 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17845 _ACEOF
17851 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17853 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17855 cat >>confdefs.h <<_ACEOF
17856 #define HAVE_SIGINFO_T_SI_FD 1
17857 _ACEOF
17863 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17864 #ifdef HAVE_SYS_MTIO_H
17865 #include <sys/mtio.h>
17866 #endif
17868 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17870 cat >>confdefs.h <<_ACEOF
17871 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17872 _ACEOF
17876 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17877 #ifdef HAVE_SYS_MTIO_H
17878 #include <sys/mtio.h>
17879 #endif
17881 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17883 cat >>confdefs.h <<_ACEOF
17884 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17885 _ACEOF
17889 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17890 #ifdef HAVE_SYS_MTIO_H
17891 #include <sys/mtio.h>
17892 #endif
17894 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17896 cat >>confdefs.h <<_ACEOF
17897 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17898 _ACEOF
17904 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17905 #include <getopt.h>
17906 #endif
17908 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17910 cat >>confdefs.h <<_ACEOF
17911 #define HAVE_STRUCT_OPTION_NAME 1
17912 _ACEOF
17918 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17919 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17921 cat >>confdefs.h <<_ACEOF
17922 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17923 _ACEOF
17927 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17928 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17930 cat >>confdefs.h <<_ACEOF
17931 #define HAVE_STRUCT_STAT_ST_MTIM 1
17932 _ACEOF
17936 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17937 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17941 _ACEOF
17945 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17946 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17948 cat >>confdefs.h <<_ACEOF
17949 #define HAVE_STRUCT_STAT_ST_CTIM 1
17950 _ACEOF
17954 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17955 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17957 cat >>confdefs.h <<_ACEOF
17958 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17959 _ACEOF
17963 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17964 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17966 cat >>confdefs.h <<_ACEOF
17967 #define HAVE_STRUCT_STAT_ST_ATIM 1
17968 _ACEOF
17972 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17973 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17975 cat >>confdefs.h <<_ACEOF
17976 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17977 _ACEOF
17981 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17982 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17984 cat >>confdefs.h <<_ACEOF
17985 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17986 _ACEOF
17990 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17991 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17993 cat >>confdefs.h <<_ACEOF
17994 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17995 _ACEOF
17999 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18000 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18002 cat >>confdefs.h <<_ACEOF
18003 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18004 _ACEOF
18008 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18009 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18013 _ACEOF
18017 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18018 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18020 cat >>confdefs.h <<_ACEOF
18021 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18022 _ACEOF
18028 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
18029 #include <sys/types.h>
18030 #endif
18031 #ifdef HAVE_NETINET_IN_H
18032 #include <netinet/in.h>
18033 #endif
18035 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18037 cat >>confdefs.h <<_ACEOF
18038 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18039 _ACEOF
18045 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18046 #include <sys/types.h>
18047 #endif
18048 #ifdef HAVE_NETINET_IN_H
18049 #include <netinet/in.h>
18050 #endif
18051 #ifdef HAVE_RESOLV_H
18052 #include <resolv.h>
18053 #endif
18055 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18057 cat >>confdefs.h <<_ACEOF
18058 #define HAVE_STRUCT___RES_STATE 1
18059 _ACEOF
18065 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
18066 #include <resolv.h>
18067 #endif
18069 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18073 _ACEOF
18079 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18080 #include <sys/types.h>
18081 #endif
18082 #ifdef HAVE_NETINET_IN_H
18083 # include <netinet/in.h>
18084 #endif
18085 #ifdef HAVE_ARPA_NAMESER_H
18086 # include <arpa/nameser.h>
18087 #endif
18089 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18091 cat >>confdefs.h <<_ACEOF
18092 #define HAVE_NS_MSG__MSG_PTR 1
18093 _ACEOF
18099 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18100 #include <sys/types.h>
18101 #endif
18102 #ifdef HAVE_NETINET_IN_H
18103 #include <netinet/in.h>
18104 #endif
18105 #ifdef HAVE_NETINET_IP_H
18106 #include <netinet/ip.h>
18107 #endif
18108 #ifdef HAVE_NETINET_IP_ICMP_H
18109 #include <netinet/ip_icmp.h>
18110 #endif
18111 #ifdef HAVE_NETINET_ICMP_VAR_H
18112 #include <netinet/icmp_var.h>
18113 #endif
18115 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18117 cat >>confdefs.h <<_ACEOF
18118 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18119 _ACEOF
18125 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18126 #include <sys/types.h>
18127 #endif
18128 #ifdef HAVE_ALIAS_H
18129 #include <alias.h>
18130 #endif
18131 #ifdef HAVE_SYS_SOCKET_H
18132 #include <sys/socket.h>
18133 #endif
18134 #ifdef HAVE_SYS_SOCKETVAR_H
18135 #include <sys/socketvar.h>
18136 #endif
18137 #ifdef HAVE_SYS_TIMEOUT_H
18138 #include <sys/timeout.h>
18139 #endif
18140 #ifdef HAVE_NETINET_IN_H
18141 #include <netinet/in.h>
18142 #endif
18143 #ifdef HAVE_NETINET_IN_SYSTM_H
18144 #include <netinet/in_systm.h>
18145 #endif
18146 #ifdef HAVE_NETINET_IP_H
18147 #include <netinet/ip.h>
18148 #endif
18149 #ifdef HAVE_NETINET_IP_VAR_H
18150 #include <netinet/ip_var.h>
18151 #endif
18152 #ifdef HAVE_NETINET_IP_ICMP_H
18153 #include <netinet/ip_icmp.h>
18154 #endif
18155 #ifdef HAVE_NETINET_ICMP_VAR_H
18156 #include <netinet/icmp_var.h>
18157 #endif
18159 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18161 cat >>confdefs.h <<_ACEOF
18162 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18163 _ACEOF
18169 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18170 #include <sys/types.h>
18171 #endif
18172 #ifdef HAVE_SYS_SOCKETVAR_H
18173 #include <sys/socketvar.h>
18174 #endif
18175 #ifdef HAVE_NETINET_IN_H
18176 #include <netinet/in.h>
18177 #endif
18178 #ifdef HAVE_NETINET_IP_VAR_H
18179 #include <netinet/ip_var.h>
18180 #endif
18182 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18184 cat >>confdefs.h <<_ACEOF
18185 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18186 _ACEOF
18192 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
18193 #include <netinet/ip_var.h>
18194 #endif
18196 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18198 cat >>confdefs.h <<_ACEOF
18199 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18200 _ACEOF
18206 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18207 #include <sys/types.h>
18208 #endif
18209 #ifdef HAVE_SYS_SOCKETVAR_H
18210 #include <sys/socketvar.h>
18211 #endif
18212 #ifdef HAVE_NETINET_IN_H
18213 #include <netinet/in.h>
18214 #endif
18215 #ifdef HAVE_NETINET_TCP_H
18216 #include <netinet/tcp.h>
18217 #endif
18218 #ifdef HAVE_NETINET_TCP_VAR_H
18219 #include <netinet/tcp_var.h>
18220 #endif
18222 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18224 cat >>confdefs.h <<_ACEOF
18225 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18226 _ACEOF
18232 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
18233 #include <netinet/tcp_var.h>
18234 #endif
18236 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18238 cat >>confdefs.h <<_ACEOF
18239 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18240 _ACEOF
18246 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18247 #include <sys/types.h>
18248 #endif
18249 #ifdef HAVE_NETINET_IN_H
18250 #include <netinet/in.h>
18251 #endif
18252 #ifdef HAVE_NETINET_IP_VAR_H
18253 #include <netinet/ip_var.h>
18254 #endif
18255 #ifdef HAVE_NETINET_UDP_H
18256 #include <netinet/udp.h>
18257 #endif
18258 #ifdef HAVE_NETINET_UDP_VAR_H
18259 #include <netinet/udp_var.h>
18260 #endif
18262 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18264 cat >>confdefs.h <<_ACEOF
18265 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18266 _ACEOF
18272 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18273 #include <sys/types.h>
18274 #endif
18275 #ifdef HAVE_NET_IF_H
18276 # include <net/if.h>
18277 #endif
18279 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18281 cat >>confdefs.h <<_ACEOF
18282 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18283 _ACEOF
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18290 $as_echo_n "checking for timezone variable... " >&6; }
18291 if ${ac_cv_have_timezone+:} false; then :
18292 $as_echo_n "(cached) " >&6
18293 else
18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18296 #include <time.h>
18298 main ()
18300 timezone = 1
18302 return 0;
18304 _ACEOF
18305 if ac_fn_c_try_link "$LINENO"; then :
18306 ac_cv_have_timezone="yes"
18307 else
18308 ac_cv_have_timezone="no"
18310 rm -f core conftest.err conftest.$ac_objext \
18311 conftest$ac_exeext conftest.$ac_ext
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18314 $as_echo "$ac_cv_have_timezone" >&6; }
18315 if test "$ac_cv_have_timezone" = "yes"
18316 then
18318 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18322 $as_echo_n "checking for daylight variable... " >&6; }
18323 if ${ac_cv_have_daylight+:} false; then :
18324 $as_echo_n "(cached) " >&6
18325 else
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18328 #include <time.h>
18330 main ()
18332 daylight = 1
18334 return 0;
18336 _ACEOF
18337 if ac_fn_c_try_link "$LINENO"; then :
18338 ac_cv_have_daylight="yes"
18339 else
18340 ac_cv_have_daylight="no"
18342 rm -f core conftest.err conftest.$ac_objext \
18343 conftest$ac_exeext conftest.$ac_ext
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18346 $as_echo "$ac_cv_have_daylight" >&6; }
18347 if test "$ac_cv_have_daylight" = "yes"
18348 then
18350 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18354 ac_save_LIBS="$LIBS"
18355 LIBS="$LIBS -lm"
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18357 $as_echo_n "checking for isfinite... " >&6; }
18358 if ${ac_cv_have_isfinite+:} false; then :
18359 $as_echo_n "(cached) " >&6
18360 else
18361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18363 #define _GNU_SOURCE
18364 #include <math.h>
18366 main ()
18368 float f = 0.0; return isfinite(f)
18370 return 0;
18372 _ACEOF
18373 if ac_fn_c_try_link "$LINENO"; then :
18374 ac_cv_have_isfinite="yes"
18375 else
18376 ac_cv_have_isfinite="no"
18378 rm -f core conftest.err conftest.$ac_objext \
18379 conftest$ac_exeext conftest.$ac_ext
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18382 $as_echo "$ac_cv_have_isfinite" >&6; }
18383 if test "$ac_cv_have_isfinite" = "yes"
18384 then
18386 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18391 $as_echo_n "checking for isinf... " >&6; }
18392 if ${ac_cv_have_isinf+:} false; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <math.h>
18399 main ()
18401 float f = 0.0; return isinf(f)
18403 return 0;
18405 _ACEOF
18406 if ac_fn_c_try_link "$LINENO"; then :
18407 ac_cv_have_isinf="yes"
18408 else
18409 ac_cv_have_isinf="no"
18411 rm -f core conftest.err conftest.$ac_objext \
18412 conftest$ac_exeext conftest.$ac_ext
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18415 $as_echo "$ac_cv_have_isinf" >&6; }
18416 if test "$ac_cv_have_isinf" = "yes"
18417 then
18419 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18424 $as_echo_n "checking for isnan... " >&6; }
18425 if ${ac_cv_have_isnan+:} false; then :
18426 $as_echo_n "(cached) " >&6
18427 else
18428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18429 /* end confdefs.h. */
18430 #include <math.h>
18432 main ()
18434 float f = 0.0; return isnan(f)
18436 return 0;
18438 _ACEOF
18439 if ac_fn_c_try_link "$LINENO"; then :
18440 ac_cv_have_isnan="yes"
18441 else
18442 ac_cv_have_isnan="no"
18444 rm -f core conftest.err conftest.$ac_objext \
18445 conftest$ac_exeext conftest.$ac_ext
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18448 $as_echo "$ac_cv_have_isnan" >&6; }
18449 if test "$ac_cv_have_isnan" = "yes"
18450 then
18452 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18456 for ac_func in \
18457 acosh \
18458 acoshf \
18459 asinh \
18460 asinhf \
18461 atanh \
18462 atanhf \
18463 cbrt \
18464 cbrtf \
18465 erf \
18466 erfc \
18467 erfcf \
18468 erff \
18469 exp2 \
18470 exp2f \
18471 expm1 \
18472 expm1f \
18473 j0 \
18474 j1 \
18475 jn \
18476 lgamma \
18477 lgammaf \
18478 llrint \
18479 llrintf \
18480 llround \
18481 llroundf \
18482 log1p \
18483 log1pf \
18484 log2 \
18485 log2f \
18486 lrint \
18487 lrintf \
18488 lround \
18489 lroundf \
18490 nearbyint \
18491 nearbyintf \
18492 powl \
18493 remainder \
18494 remainderf \
18495 rint \
18496 rintf \
18497 round \
18498 roundf \
18499 trunc \
18500 truncf \
18501 y0 \
18502 y1 \
18505 do :
18506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18508 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18509 cat >>confdefs.h <<_ACEOF
18510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18511 _ACEOF
18514 done
18516 LIBS="$ac_save_LIBS"
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18519 $as_echo_n "checking for __builtin_clz... " >&6; }
18520 if ${ac_cv_have___builtin_clz+:} false; then :
18521 $as_echo_n "(cached) " >&6
18522 else
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18527 main ()
18529 return __builtin_clz(1)
18531 return 0;
18533 _ACEOF
18534 if ac_fn_c_try_link "$LINENO"; then :
18535 ac_cv_have___builtin_clz="yes"
18536 else
18537 ac_cv_have___builtin_clz="no"
18539 rm -f core conftest.err conftest.$ac_objext \
18540 conftest$ac_exeext conftest.$ac_ext
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18543 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18544 if test "$ac_cv_have___builtin_clz" = "yes"
18545 then
18547 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18552 $as_echo_n "checking for __builtin_popcount... " >&6; }
18553 if ${ac_cv_have___builtin_popcount+:} false; then :
18554 $as_echo_n "(cached) " >&6
18555 else
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18560 main ()
18562 return __builtin_popcount(1)
18564 return 0;
18566 _ACEOF
18567 if ac_fn_c_try_link "$LINENO"; then :
18568 ac_cv_have___builtin_popcount="yes"
18569 else
18570 ac_cv_have___builtin_popcount="no"
18572 rm -f core conftest.err conftest.$ac_objext \
18573 conftest$ac_exeext conftest.$ac_ext
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18576 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18577 if test "$ac_cv_have___builtin_popcount" = "yes"
18578 then
18580 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18585 $as_echo_n "checking for __clear_cache... " >&6; }
18586 if ${ac_cv_have___clear_cache+:} false; then :
18587 $as_echo_n "(cached) " >&6
18588 else
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18593 main ()
18595 __clear_cache((void*)0, (void*)0); return 0;
18597 return 0;
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"; then :
18601 ac_cv_have___clear_cache="yes"
18602 else
18603 ac_cv_have___clear_cache="no"
18605 rm -f core conftest.err conftest.$ac_objext \
18606 conftest$ac_exeext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18609 $as_echo "$ac_cv_have___clear_cache" >&6; }
18610 if test "$ac_cv_have___clear_cache" = "yes"
18611 then
18613 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18618 case $host_cpu in
18619 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18620 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18621 if ${ac_cv_cpp_def___i386__+:} false; then :
18622 $as_echo_n "(cached) " >&6
18623 else
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 #ifndef __i386__
18628 #endif
18629 _ACEOF
18630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18631 $EGREP "yes" >/dev/null 2>&1; then :
18632 ac_cv_cpp_def___i386__=yes
18633 else
18634 ac_cv_cpp_def___i386__=no
18636 rm -f conftest*
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18640 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18641 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18642 CFLAGS="$CFLAGS -D__i386__"
18643 LINTFLAGS="$LINTFLAGS -D__i386__"
18644 fi ;;
18645 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18646 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18647 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18648 $as_echo_n "(cached) " >&6
18649 else
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18652 #ifndef __x86_64__
18654 #endif
18655 _ACEOF
18656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18657 $EGREP "yes" >/dev/null 2>&1; then :
18658 ac_cv_cpp_def___x86_64__=yes
18659 else
18660 ac_cv_cpp_def___x86_64__=no
18662 rm -f conftest*
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18666 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18667 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18668 CFLAGS="$CFLAGS -D__x86_64__"
18669 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18670 fi ;;
18671 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18672 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18673 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18674 $as_echo_n "(cached) " >&6
18675 else
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18678 #ifndef __sparc64__
18680 #endif
18681 _ACEOF
18682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18683 $EGREP "yes" >/dev/null 2>&1; then :
18684 ac_cv_cpp_def___sparc64__=yes
18685 else
18686 ac_cv_cpp_def___sparc64__=no
18688 rm -f conftest*
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18692 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18693 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18694 CFLAGS="$CFLAGS -D__sparc64__"
18695 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18696 fi ;;
18697 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18698 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18699 if ${ac_cv_cpp_def___sparc__+:} false; then :
18700 $as_echo_n "(cached) " >&6
18701 else
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 #ifndef __sparc__
18706 #endif
18707 _ACEOF
18708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18709 $EGREP "yes" >/dev/null 2>&1; then :
18710 ac_cv_cpp_def___sparc__=yes
18711 else
18712 ac_cv_cpp_def___sparc__=no
18714 rm -f conftest*
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18718 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18719 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18720 CFLAGS="$CFLAGS -D__sparc__"
18721 LINTFLAGS="$LINTFLAGS -D__sparc__"
18722 fi ;;
18723 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18724 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18725 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 #ifndef __powerpc64__
18732 #endif
18733 _ACEOF
18734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18735 $EGREP "yes" >/dev/null 2>&1; then :
18736 ac_cv_cpp_def___powerpc64__=yes
18737 else
18738 ac_cv_cpp_def___powerpc64__=no
18740 rm -f conftest*
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18744 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18745 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18746 CFLAGS="$CFLAGS -D__powerpc64__"
18747 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18748 fi ;;
18749 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18750 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18751 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18752 $as_echo_n "(cached) " >&6
18753 else
18754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18755 /* end confdefs.h. */
18756 #ifndef __powerpc__
18758 #endif
18759 _ACEOF
18760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18761 $EGREP "yes" >/dev/null 2>&1; then :
18762 ac_cv_cpp_def___powerpc__=yes
18763 else
18764 ac_cv_cpp_def___powerpc__=no
18766 rm -f conftest*
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18770 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18771 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18772 CFLAGS="$CFLAGS -D__powerpc__"
18773 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18774 fi ;;
18775 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18776 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18777 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18778 $as_echo_n "(cached) " >&6
18779 else
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 #ifndef __aarch64__
18784 #endif
18785 _ACEOF
18786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18787 $EGREP "yes" >/dev/null 2>&1; then :
18788 ac_cv_cpp_def___aarch64__=yes
18789 else
18790 ac_cv_cpp_def___aarch64__=no
18792 rm -f conftest*
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18796 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18797 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18798 CFLAGS="$CFLAGS -D__aarch64__"
18799 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18800 fi ;;
18801 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18802 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18803 if ${ac_cv_cpp_def___arm__+:} false; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 #ifndef __arm__
18810 #endif
18811 _ACEOF
18812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18813 $EGREP "yes" >/dev/null 2>&1; then :
18814 ac_cv_cpp_def___arm__=yes
18815 else
18816 ac_cv_cpp_def___arm__=no
18818 rm -f conftest*
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18822 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18823 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18824 CFLAGS="$CFLAGS -D__arm__"
18825 LINTFLAGS="$LINTFLAGS -D__arm__"
18826 fi ;;
18827 esac
18829 case $host_vendor in
18830 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18831 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18832 if ${ac_cv_cpp_def___sun__+:} false; then :
18833 $as_echo_n "(cached) " >&6
18834 else
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 #ifndef __sun__
18839 #endif
18840 _ACEOF
18841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18842 $EGREP "yes" >/dev/null 2>&1; then :
18843 ac_cv_cpp_def___sun__=yes
18844 else
18845 ac_cv_cpp_def___sun__=no
18847 rm -f conftest*
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18851 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18852 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18853 CFLAGS="$CFLAGS -D__sun__"
18854 LINTFLAGS="$LINTFLAGS -D__sun__"
18855 fi ;;
18856 esac
18862 ac_config_commands="$ac_config_commands include/stamp-h"
18864 $as_echo_n "creating Makefile rules..." >&6
18866 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18867 SOCKET_LIBS = $SOCKET_LIBS
18868 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18869 IOKIT_LIBS = $IOKIT_LIBS
18870 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18871 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18872 CORESERVICES_LIBS = $CORESERVICES_LIBS
18873 APPKIT_LIBS = $APPKIT_LIBS
18874 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18875 SECURITY_LIBS = $SECURITY_LIBS
18876 COREAUDIO_LIBS = $COREAUDIO_LIBS
18877 OPENAL_LIBS = $OPENAL_LIBS
18878 OPENCL_LIBS = $OPENCL_LIBS
18879 QUICKTIME_LIBS = $QUICKTIME_LIBS
18880 CARBON_LIBS = $CARBON_LIBS
18881 METAL_LIBS = $METAL_LIBS
18882 PTHREAD_LIBS = $PTHREAD_LIBS
18883 X_CFLAGS = $X_CFLAGS
18884 X_PRE_LIBS = $X_PRE_LIBS
18885 X_LIBS = $X_LIBS
18886 X_EXTRA_LIBS = $X_EXTRA_LIBS
18887 PCAP_LIBS = $PCAP_LIBS
18888 XML2_CFLAGS = $XML2_CFLAGS
18889 XML2_LIBS = $XML2_LIBS
18890 XSLT_CFLAGS = $XSLT_CFLAGS
18891 XSLT_LIBS = $XSLT_LIBS
18892 DBUS_CFLAGS = $DBUS_CFLAGS
18893 DBUS_LIBS = $DBUS_LIBS
18894 HAL_CFLAGS = $HAL_CFLAGS
18895 HAL_LIBS = $HAL_LIBS
18896 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18897 GNUTLS_LIBS = $GNUTLS_LIBS
18898 SANE_CFLAGS = $SANE_CFLAGS
18899 SANE_LIBS = $SANE_LIBS
18900 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18901 GPHOTO2_LIBS = $GPHOTO2_LIBS
18902 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18903 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18904 RESOLV_LIBS = $RESOLV_LIBS
18905 LCMS2_CFLAGS = $LCMS2_CFLAGS
18906 LCMS2_LIBS = $LCMS2_LIBS
18907 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18908 FREETYPE_LIBS = $FREETYPE_LIBS
18909 Z_LIBS = $Z_LIBS
18910 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18911 PULSE_CFLAGS = $PULSE_CFLAGS
18912 PULSE_LIBS = $PULSE_LIBS
18913 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18914 GSTREAMER_LIBS = $GSTREAMER_LIBS
18915 ALSA_LIBS = $ALSA_LIBS
18916 OSS4_CFLAGS = $OSS4_CFLAGS
18917 UDEV_CFLAGS = $UDEV_CFLAGS
18918 UDEV_LIBS = $UDEV_LIBS
18919 SDL2_CFLAGS = $SDL2_CFLAGS
18920 SDL2_LIBS = $SDL2_LIBS
18921 CAPI20_CFLAGS = $CAPI20_CFLAGS
18922 CAPI20_LIBS = $CAPI20_LIBS
18923 CUPS_CFLAGS = $CUPS_CFLAGS
18924 CUPS_LIBS = $CUPS_LIBS
18925 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18926 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18927 KRB5_CFLAGS = $KRB5_CFLAGS
18928 KRB5_LIBS = $KRB5_LIBS
18929 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18930 GSSAPI_LIBS = $GSSAPI_LIBS
18931 JPEG_CFLAGS = $JPEG_CFLAGS
18932 JPEG_LIBS = $JPEG_LIBS
18933 PNG_CFLAGS = $PNG_CFLAGS
18934 PNG_LIBS = $PNG_LIBS
18935 TIFF_CFLAGS = $TIFF_CFLAGS
18936 TIFF_LIBS = $TIFF_LIBS
18937 MPG123_CFLAGS = $MPG123_CFLAGS
18938 MPG123_LIBS = $MPG123_LIBS
18939 KSTAT_LIBS = $KSTAT_LIBS
18940 PROCSTAT_LIBS = $PROCSTAT_LIBS
18941 NETAPI_CFLAGS = $NETAPI_CFLAGS
18942 NETAPI_LIBS = $NETAPI_LIBS
18943 VKD3D_CFLAGS = $VKD3D_CFLAGS
18944 VKD3D_LIBS = $VKD3D_LIBS
18945 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18946 DL_LIBS = $DL_LIBS
18947 POLL_LIBS = $POLL_LIBS
18948 RT_LIBS = $RT_LIBS
18949 LDAP_CFLAGS = $LDAP_CFLAGS
18950 LDAP_LIBS = $LDAP_LIBS
18955 wine_fn_append_rule "
18956 # Rules automatically generated by configure
18958 .INIT: Makefile
18959 .MAKEFILEDEPS:
18960 all: Makefile
18961 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18962 @./config.status Make.tmp Makefile
18963 depend: \$(MAKEDEP) dummy
18964 \$(MAKEDEP)"
18966 if test "x$enable_fonts" != xno; then
18967 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18968 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18969 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18970 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18971 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18972 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18974 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18975 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18976 ac_config_links="$ac_config_links wine:tools/winewrapper"
18977 wine_fn_config_symlink wine
18978 if test "x$enable_win64" != xno; then
18979 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18980 wine_fn_config_symlink wine64
18983 wine_fn_config_makefile dlls/acledit enable_acledit
18984 wine_fn_config_makefile dlls/aclui enable_aclui
18985 wine_fn_config_makefile dlls/activeds enable_activeds
18986 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18987 wine_fn_config_makefile dlls/adsiid enable_adsiid
18988 wine_fn_config_makefile dlls/adsldp enable_adsldp
18989 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18990 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18991 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18992 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18993 wine_fn_config_makefile dlls/advpack enable_advpack
18994 wine_fn_config_makefile dlls/advpack/tests enable_tests
18995 wine_fn_config_makefile dlls/amstream enable_amstream
18996 wine_fn_config_makefile dlls/amstream/tests enable_tests
18997 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18998 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18999 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19000 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19001 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19002 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19003 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19005 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19007 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19009 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19014 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19016 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19021 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19022 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19028 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19030 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19031 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19032 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19040 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19044 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19045 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19062 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19063 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19070 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19074 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19075 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19113 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19125 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19144 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19145 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19164 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19178 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19180 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19182 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19183 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19189 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19195 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19198 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19200 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19202 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19206 wine_fn_config_makefile dlls/apphelp enable_apphelp
19207 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19208 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19209 wine_fn_config_makefile dlls/atl enable_atl
19210 wine_fn_config_makefile dlls/atl/tests enable_tests
19211 wine_fn_config_makefile dlls/atl100 enable_atl100
19212 wine_fn_config_makefile dlls/atl100/tests enable_tests
19213 wine_fn_config_makefile dlls/atl110 enable_atl110
19214 wine_fn_config_makefile dlls/atl80 enable_atl80
19215 wine_fn_config_makefile dlls/atl80/tests enable_tests
19216 wine_fn_config_makefile dlls/atl90 enable_atl90
19217 wine_fn_config_makefile dlls/atmlib enable_atmlib
19218 wine_fn_config_makefile dlls/authz enable_authz
19219 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19220 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19221 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19222 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19223 wine_fn_config_makefile dlls/avrt enable_avrt
19224 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19225 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19226 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19227 wine_fn_config_makefile dlls/browseui enable_browseui
19228 wine_fn_config_makefile dlls/browseui/tests enable_tests
19229 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19230 wine_fn_config_makefile dlls/cabinet enable_cabinet
19231 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19232 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19233 wine_fn_config_makefile dlls/cards enable_cards
19234 wine_fn_config_makefile dlls/cdosys enable_cdosys
19235 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19236 wine_fn_config_makefile dlls/clusapi enable_clusapi
19237 wine_fn_config_makefile dlls/combase enable_combase
19238 wine_fn_config_makefile dlls/combase/tests enable_tests
19239 wine_fn_config_makefile dlls/comcat enable_comcat
19240 wine_fn_config_makefile dlls/comcat/tests enable_tests
19241 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19242 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19243 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19244 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19245 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19246 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19247 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19248 wine_fn_config_makefile dlls/compstui enable_compstui
19249 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19250 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19251 wine_fn_config_makefile dlls/connect enable_connect
19252 wine_fn_config_makefile dlls/credui enable_credui
19253 wine_fn_config_makefile dlls/credui/tests enable_tests
19254 wine_fn_config_makefile dlls/crtdll enable_crtdll
19255 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19256 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19257 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19258 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19259 wine_fn_config_makefile dlls/cryptext enable_cryptext
19260 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19261 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19262 wine_fn_config_makefile dlls/cryptui enable_cryptui
19263 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19264 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19265 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19266 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19267 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19268 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19269 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19270 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19271 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19272 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19273 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19274 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19275 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19276 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19277 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19278 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19279 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19280 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19281 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19282 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19283 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19284 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19285 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19286 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19287 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19288 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19289 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19290 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19291 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19292 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19293 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19294 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19295 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19296 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19297 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19298 wine_fn_config_makefile dlls/d3dim enable_d3dim
19299 wine_fn_config_makefile dlls/d3drm enable_d3drm
19300 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19301 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19302 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19303 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19304 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19305 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19306 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19307 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19308 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19309 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19310 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19311 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19312 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19313 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19314 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19315 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19316 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19317 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19318 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19319 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19320 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19321 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19322 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19323 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19324 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19325 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19326 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19327 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19328 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19329 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19330 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19331 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19332 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19333 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19334 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19335 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19336 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19337 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19338 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19339 wine_fn_config_makefile dlls/davclnt enable_davclnt
19340 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19341 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19342 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19343 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19344 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19345 wine_fn_config_makefile dlls/ddraw enable_ddraw
19346 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19347 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19348 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19349 wine_fn_config_makefile dlls/devenum enable_devenum
19350 wine_fn_config_makefile dlls/devenum/tests enable_tests
19351 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19352 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19353 wine_fn_config_makefile dlls/difxapi enable_difxapi
19354 wine_fn_config_makefile dlls/dinput enable_dinput
19355 wine_fn_config_makefile dlls/dinput/tests enable_tests
19356 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19357 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19358 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19359 wine_fn_config_makefile dlls/dispex enable_dispex
19360 wine_fn_config_makefile dlls/dispex/tests enable_tests
19361 wine_fn_config_makefile dlls/display.drv16 enable_win16
19362 wine_fn_config_makefile dlls/dmband enable_dmband
19363 wine_fn_config_makefile dlls/dmband/tests enable_tests
19364 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19365 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19366 wine_fn_config_makefile dlls/dmime enable_dmime
19367 wine_fn_config_makefile dlls/dmime/tests enable_tests
19368 wine_fn_config_makefile dlls/dmloader enable_dmloader
19369 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19370 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19371 wine_fn_config_makefile dlls/dmscript enable_dmscript
19372 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19373 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19374 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19375 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19376 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19377 wine_fn_config_makefile dlls/dmusic enable_dmusic
19378 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19379 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19380 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19381 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19382 wine_fn_config_makefile dlls/dplay enable_dplay
19383 wine_fn_config_makefile dlls/dplayx enable_dplayx
19384 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19385 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19386 wine_fn_config_makefile dlls/dpnet enable_dpnet
19387 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19388 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19389 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19390 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19391 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19392 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19393 wine_fn_config_makefile dlls/drmclien enable_drmclien
19394 wine_fn_config_makefile dlls/dsound enable_dsound
19395 wine_fn_config_makefile dlls/dsound/tests enable_tests
19396 wine_fn_config_makefile dlls/dsquery enable_dsquery
19397 wine_fn_config_makefile dlls/dssenh enable_dssenh
19398 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19399 wine_fn_config_makefile dlls/dswave enable_dswave
19400 wine_fn_config_makefile dlls/dswave/tests enable_tests
19401 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19402 wine_fn_config_makefile dlls/dwrite enable_dwrite
19403 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19404 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19405 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19406 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19407 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19408 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19409 wine_fn_config_makefile dlls/dxgi enable_dxgi
19410 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19411 wine_fn_config_makefile dlls/dxguid enable_dxguid
19412 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19413 wine_fn_config_makefile dlls/esent enable_esent
19414 wine_fn_config_makefile dlls/evr enable_evr
19415 wine_fn_config_makefile dlls/evr/tests enable_tests
19416 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19417 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19418 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19419 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19420 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19421 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19422 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19423 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19424 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19425 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19426 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19427 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19441 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19447 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
19448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19455 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19456 wine_fn_config_makefile dlls/faultrep enable_faultrep
19457 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19458 wine_fn_config_makefile dlls/feclient enable_feclient
19459 wine_fn_config_makefile dlls/fltlib enable_fltlib
19460 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19461 wine_fn_config_makefile dlls/fntcache enable_fntcache
19462 wine_fn_config_makefile dlls/fontsub enable_fontsub
19463 wine_fn_config_makefile dlls/fusion enable_fusion
19464 wine_fn_config_makefile dlls/fusion/tests enable_tests
19465 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19466 wine_fn_config_makefile dlls/gameux enable_gameux
19467 wine_fn_config_makefile dlls/gameux/tests enable_tests
19468 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19469 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19470 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19471 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19472 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19473 wine_fn_config_makefile dlls/glu32 enable_glu32
19474 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19475 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19476 wine_fn_config_makefile dlls/hal enable_hal
19477 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19478 wine_fn_config_makefile dlls/hid enable_hid
19479 wine_fn_config_makefile dlls/hid/tests enable_tests
19480 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19481 wine_fn_config_makefile dlls/hlink enable_hlink
19482 wine_fn_config_makefile dlls/hlink/tests enable_tests
19483 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19484 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19485 wine_fn_config_makefile dlls/httpapi enable_httpapi
19486 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19487 wine_fn_config_makefile dlls/iccvid enable_iccvid
19488 wine_fn_config_makefile dlls/icmp enable_icmp
19489 wine_fn_config_makefile dlls/ieframe enable_ieframe
19490 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19491 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19492 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19493 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19494 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19495 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19496 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19497 wine_fn_config_makefile dlls/imm32 enable_imm32
19498 wine_fn_config_makefile dlls/imm32/tests enable_tests
19499 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19500 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19501 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19502 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19503 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19504 wine_fn_config_makefile dlls/infosoft enable_infosoft
19505 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19506 wine_fn_config_makefile dlls/initpki enable_initpki
19507 wine_fn_config_makefile dlls/inkobj enable_inkobj
19508 wine_fn_config_makefile dlls/inseng enable_inseng
19509 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19510 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19511 wine_fn_config_makefile dlls/iprop enable_iprop
19512 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19513 wine_fn_config_makefile dlls/itircl enable_itircl
19514 wine_fn_config_makefile dlls/itss enable_itss
19515 wine_fn_config_makefile dlls/itss/tests enable_tests
19516 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19517 wine_fn_config_makefile dlls/jscript enable_jscript
19518 wine_fn_config_makefile dlls/jscript/tests enable_tests
19519 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19520 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19521 wine_fn_config_makefile dlls/kerberos enable_kerberos
19522 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19523 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19524 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19525 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19526 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19527 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19528 wine_fn_config_makefile dlls/ksuser enable_ksuser
19529 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19530 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19531 wine_fn_config_makefile dlls/loadperf enable_loadperf
19532 wine_fn_config_makefile dlls/localspl enable_localspl
19533 wine_fn_config_makefile dlls/localspl/tests enable_tests
19534 wine_fn_config_makefile dlls/localui enable_localui
19535 wine_fn_config_makefile dlls/localui/tests enable_tests
19536 wine_fn_config_makefile dlls/lz32 enable_lz32
19537 wine_fn_config_makefile dlls/lz32/tests enable_tests
19538 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19539 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19540 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19541 wine_fn_config_makefile dlls/mapistub enable_mapistub
19542 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19543 wine_fn_config_makefile dlls/mcicda enable_mcicda
19544 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19545 wine_fn_config_makefile dlls/mciseq enable_mciseq
19546 wine_fn_config_makefile dlls/mciwave enable_mciwave
19547 wine_fn_config_makefile dlls/mf enable_mf
19548 wine_fn_config_makefile dlls/mf/tests enable_tests
19549 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19550 wine_fn_config_makefile dlls/mfplat enable_mfplat
19551 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19552 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19553 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19554 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19555 wine_fn_config_makefile dlls/midimap enable_midimap
19556 wine_fn_config_makefile dlls/mlang enable_mlang
19557 wine_fn_config_makefile dlls/mlang/tests enable_tests
19558 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19559 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19560 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19561 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19562 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19563 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19564 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19565 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19566 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19567 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19568 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19569 wine_fn_config_makefile dlls/mpr enable_mpr
19570 wine_fn_config_makefile dlls/mpr/tests enable_tests
19571 wine_fn_config_makefile dlls/mprapi enable_mprapi
19572 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19573 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19574 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19575 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19576 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19577 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19578 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19579 wine_fn_config_makefile dlls/mscms enable_mscms
19580 wine_fn_config_makefile dlls/mscms/tests enable_tests
19581 wine_fn_config_makefile dlls/mscoree enable_mscoree
19582 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19583 wine_fn_config_makefile dlls/msctf enable_msctf
19584 wine_fn_config_makefile dlls/msctf/tests enable_tests
19585 wine_fn_config_makefile dlls/msctfp enable_msctfp
19586 wine_fn_config_makefile dlls/msdaps enable_msdaps
19587 wine_fn_config_makefile dlls/msdelta enable_msdelta
19588 wine_fn_config_makefile dlls/msdmo enable_msdmo
19589 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19590 wine_fn_config_makefile dlls/msdrm enable_msdrm
19591 wine_fn_config_makefile dlls/msftedit enable_msftedit
19592 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19593 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19594 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19595 wine_fn_config_makefile dlls/mshtml enable_mshtml
19596 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19597 wine_fn_config_makefile dlls/msi enable_msi
19598 wine_fn_config_makefile dlls/msi/tests enable_tests
19599 wine_fn_config_makefile dlls/msident enable_msident
19600 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19601 wine_fn_config_makefile dlls/msimsg enable_msimsg
19602 wine_fn_config_makefile dlls/msimtf enable_msimtf
19603 wine_fn_config_makefile dlls/msisip enable_msisip
19604 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19605 wine_fn_config_makefile dlls/msls31 enable_msls31
19606 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19607 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19608 wine_fn_config_makefile dlls/msports enable_msports
19609 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19610 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19611 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19612 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19613 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19614 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19615 wine_fn_config_makefile dlls/mstask enable_mstask
19616 wine_fn_config_makefile dlls/mstask/tests enable_tests
19617 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19618 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19619 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19620 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19621 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19622 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19623 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19624 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19625 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19626 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19627 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19628 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19629 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19630 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19631 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19632 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19633 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19634 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19635 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19636 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19637 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19638 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19639 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19640 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19641 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19642 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19644 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19645 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19646 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19647 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19648 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19649 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19650 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19651 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19652 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19653 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19654 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19655 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19656 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19657 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19658 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19659 wine_fn_config_makefile dlls/mswsock enable_mswsock
19660 wine_fn_config_makefile dlls/msxml enable_msxml
19661 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19662 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19663 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19664 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19665 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19666 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19667 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19668 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19669 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19670 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19671 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19672 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19673 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19674 wine_fn_config_makefile dlls/netprofm enable_netprofm
19675 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19676 wine_fn_config_makefile dlls/newdev enable_newdev
19677 wine_fn_config_makefile dlls/ninput enable_ninput
19678 wine_fn_config_makefile dlls/ninput/tests enable_tests
19679 wine_fn_config_makefile dlls/normaliz enable_normaliz
19680 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19681 wine_fn_config_makefile dlls/npptools enable_npptools
19682 wine_fn_config_makefile dlls/ntdll enable_ntdll
19683 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19684 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19685 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19686 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19687 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19688 wine_fn_config_makefile dlls/ntprint enable_ntprint
19689 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19690 wine_fn_config_makefile dlls/objsel enable_objsel
19691 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19692 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19693 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19694 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19695 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19696 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19697 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19698 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19699 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19700 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19701 wine_fn_config_makefile dlls/ole32 enable_ole32
19702 wine_fn_config_makefile dlls/ole32/tests enable_tests
19703 wine_fn_config_makefile dlls/oleacc enable_oleacc
19704 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19705 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19706 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19707 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19708 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19709 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19710 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19711 wine_fn_config_makefile dlls/oledlg enable_oledlg
19712 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19713 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19714 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19715 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19716 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19717 wine_fn_config_makefile dlls/opcservices enable_opcservices
19718 wine_fn_config_makefile dlls/openal32 enable_openal32
19719 wine_fn_config_makefile dlls/opencl enable_opencl
19720 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19721 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19722 wine_fn_config_makefile dlls/packager enable_packager
19723 wine_fn_config_makefile dlls/packager/tests enable_tests
19724 wine_fn_config_makefile dlls/pdh enable_pdh
19725 wine_fn_config_makefile dlls/pdh/tests enable_tests
19726 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19727 wine_fn_config_makefile dlls/pidgen enable_pidgen
19728 wine_fn_config_makefile dlls/powrprof enable_powrprof
19729 wine_fn_config_makefile dlls/printui enable_printui
19730 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19731 wine_fn_config_makefile dlls/propsys enable_propsys
19732 wine_fn_config_makefile dlls/propsys/tests enable_tests
19733 wine_fn_config_makefile dlls/psapi enable_psapi
19734 wine_fn_config_makefile dlls/psapi/tests enable_tests
19735 wine_fn_config_makefile dlls/pstorec enable_pstorec
19736 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19737 wine_fn_config_makefile dlls/qcap enable_qcap
19738 wine_fn_config_makefile dlls/qcap/tests enable_tests
19739 wine_fn_config_makefile dlls/qedit enable_qedit
19740 wine_fn_config_makefile dlls/qedit/tests enable_tests
19741 wine_fn_config_makefile dlls/qmgr enable_qmgr
19742 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19743 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19744 wine_fn_config_makefile dlls/quartz enable_quartz
19745 wine_fn_config_makefile dlls/quartz/tests enable_tests
19746 wine_fn_config_makefile dlls/query enable_query
19747 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19748 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19749 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19750 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19751 wine_fn_config_makefile dlls/regapi enable_regapi
19752 wine_fn_config_makefile dlls/resutils enable_resutils
19753 wine_fn_config_makefile dlls/riched20 enable_riched20
19754 wine_fn_config_makefile dlls/riched20/tests enable_tests
19755 wine_fn_config_makefile dlls/riched32 enable_riched32
19756 wine_fn_config_makefile dlls/riched32/tests enable_tests
19757 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19758 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19759 wine_fn_config_makefile dlls/rsabase enable_rsabase
19760 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19761 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19762 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19763 wine_fn_config_makefile dlls/rtutils enable_rtutils
19764 wine_fn_config_makefile dlls/samlib enable_samlib
19765 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19766 wine_fn_config_makefile dlls/sapi enable_sapi
19767 wine_fn_config_makefile dlls/sapi/tests enable_tests
19768 wine_fn_config_makefile dlls/sas enable_sas
19769 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19770 wine_fn_config_makefile dlls/sccbase enable_sccbase
19771 wine_fn_config_makefile dlls/schannel enable_schannel
19772 wine_fn_config_makefile dlls/schannel/tests enable_tests
19773 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19774 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19775 wine_fn_config_makefile dlls/scrobj enable_scrobj
19776 wine_fn_config_makefile dlls/scrrun enable_scrrun
19777 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19778 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19779 wine_fn_config_makefile dlls/secur32 enable_secur32
19780 wine_fn_config_makefile dlls/secur32/tests enable_tests
19781 wine_fn_config_makefile dlls/security enable_security
19782 wine_fn_config_makefile dlls/sensapi enable_sensapi
19783 wine_fn_config_makefile dlls/serialui enable_serialui
19784 wine_fn_config_makefile dlls/serialui/tests enable_tests
19785 wine_fn_config_makefile dlls/setupapi enable_setupapi
19786 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19787 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19788 wine_fn_config_makefile dlls/sfc enable_sfc
19789 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19790 wine_fn_config_makefile dlls/shcore enable_shcore
19791 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19792 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19793 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19794 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19795 wine_fn_config_makefile dlls/shell32 enable_shell32
19796 wine_fn_config_makefile dlls/shell32/tests enable_tests
19797 wine_fn_config_makefile dlls/shfolder enable_shfolder
19798 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19799 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19800 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19801 wine_fn_config_makefile dlls/slc enable_slc
19802 wine_fn_config_makefile dlls/slc/tests enable_tests
19803 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19804 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19805 wine_fn_config_makefile dlls/softpub enable_softpub
19806 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19807 wine_fn_config_makefile dlls/spoolss enable_spoolss
19808 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19809 wine_fn_config_makefile dlls/srclient enable_srclient
19810 wine_fn_config_makefile dlls/sspicli enable_sspicli
19811 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19812 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19813 wine_fn_config_makefile dlls/sti enable_sti
19814 wine_fn_config_makefile dlls/sti/tests enable_tests
19815 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19816 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19817 wine_fn_config_makefile dlls/strmbase enable_strmbase
19818 wine_fn_config_makefile dlls/strmdll enable_strmdll
19819 wine_fn_config_makefile dlls/strmiids enable_strmiids
19820 wine_fn_config_makefile dlls/svrapi enable_svrapi
19821 wine_fn_config_makefile dlls/sxs enable_sxs
19822 wine_fn_config_makefile dlls/sxs/tests enable_tests
19823 wine_fn_config_makefile dlls/system.drv16 enable_win16
19824 wine_fn_config_makefile dlls/t2embed enable_t2embed
19825 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19826 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19827 wine_fn_config_makefile dlls/taskschd enable_taskschd
19828 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19829 wine_fn_config_makefile dlls/tdh enable_tdh
19830 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19831 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19832 wine_fn_config_makefile dlls/traffic enable_traffic
19833 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19834 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19835 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19836 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19837 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19838 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19839 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19840 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19841 wine_fn_config_makefile dlls/unicows enable_unicows
19842 wine_fn_config_makefile dlls/updspapi enable_updspapi
19843 wine_fn_config_makefile dlls/url enable_url
19844 wine_fn_config_makefile dlls/urlmon enable_urlmon
19845 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19846 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19847 wine_fn_config_makefile dlls/user.exe16 enable_win16
19848 wine_fn_config_makefile dlls/user32 enable_user32
19849 wine_fn_config_makefile dlls/user32/tests enable_tests
19850 wine_fn_config_makefile dlls/userenv enable_userenv
19851 wine_fn_config_makefile dlls/userenv/tests enable_tests
19852 wine_fn_config_makefile dlls/usp10 enable_usp10
19853 wine_fn_config_makefile dlls/usp10/tests enable_tests
19854 wine_fn_config_makefile dlls/uuid enable_uuid
19855 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19856 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19857 wine_fn_config_makefile dlls/vbscript enable_vbscript
19858 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19859 wine_fn_config_makefile dlls/vcomp enable_vcomp
19860 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19861 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19862 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19863 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19864 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19865 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19866 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19867 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19868 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19869 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19870 wine_fn_config_makefile dlls/version enable_version
19871 wine_fn_config_makefile dlls/version/tests enable_tests
19872 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19873 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19874 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19875 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19876 wine_fn_config_makefile dlls/vssapi enable_vssapi
19877 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19878 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19879 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19880 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19881 wine_fn_config_makefile dlls/w32skrnl enable_win16
19882 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19883 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19884 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19885 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19886 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19887 wine_fn_config_makefile dlls/wdscore enable_wdscore
19888 wine_fn_config_makefile dlls/webservices enable_webservices
19889 wine_fn_config_makefile dlls/webservices/tests enable_tests
19890 wine_fn_config_makefile dlls/wer enable_wer
19891 wine_fn_config_makefile dlls/wer/tests enable_tests
19892 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19893 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19894 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19895 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19896 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19897 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19898 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19899 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19900 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19901 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19902 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19903 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19904 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19905 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19906 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19907 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19908 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19909 wine_fn_config_makefile dlls/wined3d enable_wined3d
19910 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19911 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19912 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19913 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19914 wine_fn_config_makefile dlls/winemapi enable_winemapi
19915 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19916 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19917 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19918 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19919 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19920 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19921 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19922 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19923 wine_fn_config_makefile dlls/wing32 enable_wing32
19924 wine_fn_config_makefile dlls/winhttp enable_winhttp
19925 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19926 wine_fn_config_makefile dlls/wininet enable_wininet
19927 wine_fn_config_makefile dlls/wininet/tests enable_tests
19928 wine_fn_config_makefile dlls/winmm enable_winmm
19929 wine_fn_config_makefile dlls/winmm/tests enable_tests
19930 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19931 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19932 wine_fn_config_makefile dlls/winscard enable_winscard
19933 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19934 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19935 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19936 wine_fn_config_makefile dlls/winsta enable_winsta
19937 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19938 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19939 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19940 wine_fn_config_makefile dlls/wintrust enable_wintrust
19941 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19942 wine_fn_config_makefile dlls/winusb enable_winusb
19943 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19944 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19945 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19946 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19947 wine_fn_config_makefile dlls/wmasf enable_wmasf
19948 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19949 wine_fn_config_makefile dlls/wmi enable_wmi
19950 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19951 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19952 wine_fn_config_makefile dlls/wmp enable_wmp
19953 wine_fn_config_makefile dlls/wmp/tests enable_tests
19954 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19955 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19956 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19957 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19958 wine_fn_config_makefile dlls/wow32 enable_win16
19959 wine_fn_config_makefile dlls/wpc enable_wpc
19960 wine_fn_config_makefile dlls/wpc/tests enable_tests
19961 wine_fn_config_makefile dlls/wpcap enable_wpcap
19962 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19963 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19964 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19965 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19966 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19967 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19968 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19969 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19970 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19971 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19972 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19973 wine_fn_config_makefile dlls/wuapi enable_wuapi
19974 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19975 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19976 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19977 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19978 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19979 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19980 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19981 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19982 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19983 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19984 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19985 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19986 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19987 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19988 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19989 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19990 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19991 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19992 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19993 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19994 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19995 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19996 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19997 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19998 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19999 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20000 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20001 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20002 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20003 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20004 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20005 wine_fn_config_makefile dlls/xmllite enable_xmllite
20006 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20007 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20008 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20009 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20010 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20011 wine_fn_config_makefile include enable_include
20012 wine_fn_config_makefile libs/port enable_port
20013 wine_fn_config_makefile libs/wine enable_wine
20014 wine_fn_config_makefile libs/wpp enable_wpp
20015 wine_fn_config_makefile loader enable_loader
20016 wine_fn_config_makefile po enable_po
20017 wine_fn_config_makefile programs/arp enable_arp
20018 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20019 wine_fn_config_makefile programs/attrib enable_attrib
20020 wine_fn_config_makefile programs/cabarc enable_cabarc
20021 wine_fn_config_makefile programs/cacls enable_cacls
20022 wine_fn_config_makefile programs/clock enable_clock
20023 wine_fn_config_makefile programs/cmd enable_cmd
20024 wine_fn_config_makefile programs/cmd/tests enable_tests
20025 wine_fn_config_makefile programs/conhost enable_conhost
20026 wine_fn_config_makefile programs/control enable_control
20027 wine_fn_config_makefile programs/cscript enable_cscript
20028 wine_fn_config_makefile programs/dism enable_dism
20029 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20030 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20031 wine_fn_config_makefile programs/eject enable_eject
20032 wine_fn_config_makefile programs/expand enable_expand
20033 wine_fn_config_makefile programs/explorer enable_explorer
20034 wine_fn_config_makefile programs/extrac32 enable_extrac32
20035 wine_fn_config_makefile programs/fc enable_fc
20036 wine_fn_config_makefile programs/find enable_find
20037 wine_fn_config_makefile programs/findstr enable_findstr
20038 wine_fn_config_makefile programs/fsutil enable_fsutil
20039 wine_fn_config_makefile programs/hh enable_hh
20040 wine_fn_config_makefile programs/hostname enable_hostname
20041 wine_fn_config_makefile programs/icacls enable_icacls
20042 wine_fn_config_makefile programs/icinfo enable_icinfo
20043 wine_fn_config_makefile programs/iexplore enable_iexplore
20044 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20045 wine_fn_config_makefile programs/lodctr enable_lodctr
20046 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20047 wine_fn_config_makefile programs/mshta enable_mshta
20048 wine_fn_config_makefile programs/msiexec enable_msiexec
20049 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20050 wine_fn_config_makefile programs/net enable_net
20051 wine_fn_config_makefile programs/netsh enable_netsh
20052 wine_fn_config_makefile programs/netstat enable_netstat
20053 wine_fn_config_makefile programs/ngen enable_ngen
20054 wine_fn_config_makefile programs/notepad enable_notepad
20055 wine_fn_config_makefile programs/oleview enable_oleview
20056 wine_fn_config_makefile programs/ping enable_ping
20057 wine_fn_config_makefile programs/plugplay enable_plugplay
20058 wine_fn_config_makefile programs/powershell enable_powershell
20059 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20060 wine_fn_config_makefile programs/progman enable_progman
20061 wine_fn_config_makefile programs/reg enable_reg
20062 wine_fn_config_makefile programs/reg/tests enable_tests
20063 wine_fn_config_makefile programs/regasm enable_regasm
20064 wine_fn_config_makefile programs/regedit enable_regedit
20065 wine_fn_config_makefile programs/regedit/tests enable_tests
20066 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20067 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20068 wine_fn_config_makefile programs/rpcss enable_rpcss
20069 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20070 wine_fn_config_makefile programs/rundll32 enable_rundll32
20071 wine_fn_config_makefile programs/sc enable_sc
20072 wine_fn_config_makefile programs/schtasks enable_schtasks
20073 wine_fn_config_makefile programs/schtasks/tests enable_tests
20074 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20075 wine_fn_config_makefile programs/secedit enable_secedit
20076 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20077 wine_fn_config_makefile programs/services enable_services
20078 wine_fn_config_makefile programs/services/tests enable_tests
20079 wine_fn_config_makefile programs/shutdown enable_shutdown
20080 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20081 wine_fn_config_makefile programs/start enable_start
20082 wine_fn_config_makefile programs/subst enable_subst
20083 wine_fn_config_makefile programs/svchost enable_svchost
20084 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20085 wine_fn_config_makefile programs/taskkill enable_taskkill
20086 wine_fn_config_makefile programs/tasklist enable_tasklist
20087 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20088 wine_fn_config_makefile programs/termsv enable_termsv
20089 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20090 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20091 wine_fn_config_makefile programs/view enable_view
20092 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20093 wine_fn_config_makefile programs/wineboot enable_wineboot
20094 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20095 wine_fn_config_makefile programs/winecfg enable_winecfg
20096 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20097 wine_fn_config_makefile programs/winedbg enable_winedbg
20098 wine_fn_config_makefile programs/winedevice enable_winedevice
20099 wine_fn_config_makefile programs/winefile enable_winefile
20100 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20101 wine_fn_config_makefile programs/winemine enable_winemine
20102 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20103 wine_fn_config_makefile programs/winepath enable_winepath
20104 wine_fn_config_makefile programs/winetest enable_winetest
20105 wine_fn_config_makefile programs/winevdm enable_win16
20106 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20107 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20108 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20109 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20110 wine_fn_config_makefile programs/winver enable_winver
20111 wine_fn_config_makefile programs/wmic enable_wmic
20112 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20113 wine_fn_config_makefile programs/wordpad enable_wordpad
20114 wine_fn_config_makefile programs/write enable_write
20115 wine_fn_config_makefile programs/wscript enable_wscript
20116 wine_fn_config_makefile programs/wscript/tests enable_tests
20117 wine_fn_config_makefile programs/wusa enable_wusa
20118 wine_fn_config_makefile programs/xcopy enable_xcopy
20119 wine_fn_config_makefile programs/xcopy/tests enable_tests
20120 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20121 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20122 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20126 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20128 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20129 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20132 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20133 wine_fn_append_file CONFIGURE_TARGETS "tags"
20134 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20135 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20136 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20137 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20138 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20139 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20141 if test "x$enable_tools" != xno
20142 then
20143 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20144 ac_config_commands="$ac_config_commands tools/makedep"
20148 ac_config_commands="$ac_config_commands Makefile"
20151 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20155 if test "x$enable_maintainer_mode" = xyes
20156 then
20157 wine_fn_append_rule "configure: configure.ac aclocal.m4
20158 autoconf --warnings=all
20159 include/config.h.in: include/stamp-h.in
20160 include/stamp-h.in: configure.ac aclocal.m4
20161 autoheader --warnings=all
20162 @echo timestamp > \$@"
20165 if test "x$enable_tools" != xno
20166 then
20167 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20168 @./config.status tools/makedep
20169 Makefile: tools/makedep$ac_exeext
20170 fonts: tools/sfnt2fon
20171 include: tools tools/widl"
20172 else
20173 wine_fn_append_rule "\$(MAKEDEP):
20174 @echo \"You need to run make in $TOOLSDIR first\" && false"
20177 if test -n "$with_wine64"
20178 then
20179 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20180 fonts server:
20181 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20182 $with_wine64/loader/wine:
20183 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20184 $with_wine64/loader/wine-preloader:
20185 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20186 clean::
20187 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20188 else
20189 WINELOADER_INSTALL="wine.inf l_intl.nls"
20191 case $host_os in
20192 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20193 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20194 esac
20197 $as_echo " done" >&6
20198 cat >confcache <<\_ACEOF
20199 # This file is a shell script that caches the results of configure
20200 # tests run on this system so they can be shared between configure
20201 # scripts and configure runs, see configure's option --config-cache.
20202 # It is not useful on other systems. If it contains results you don't
20203 # want to keep, you may remove or edit it.
20205 # config.status only pays attention to the cache file if you give it
20206 # the --recheck option to rerun configure.
20208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20210 # following values.
20212 _ACEOF
20214 # The following way of writing the cache mishandles newlines in values,
20215 # but we know of no workaround that is simple, portable, and efficient.
20216 # So, we kill variables containing newlines.
20217 # Ultrix sh set writes to stderr and can't be redirected directly,
20218 # and sets the high bit in the cache file unless we assign to the vars.
20220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20221 eval ac_val=\$$ac_var
20222 case $ac_val in #(
20223 *${as_nl}*)
20224 case $ac_var in #(
20225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20227 esac
20228 case $ac_var in #(
20229 _ | IFS | as_nl) ;; #(
20230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20231 *) { eval $ac_var=; unset $ac_var;} ;;
20232 esac ;;
20233 esac
20234 done
20236 (set) 2>&1 |
20237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20238 *${as_nl}ac_space=\ *)
20239 # `set' does not quote correctly, so add quotes: double-quote
20240 # substitution turns \\\\ into \\, and sed turns \\ into \.
20241 sed -n \
20242 "s/'/'\\\\''/g;
20243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20244 ;; #(
20246 # `set' quotes correctly as required by POSIX, so do not add quotes.
20247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20249 esac |
20250 sort
20252 sed '
20253 /^ac_cv_env_/b end
20254 t clear
20255 :clear
20256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20257 t end
20258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20259 :end' >>confcache
20260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20261 if test -w "$cache_file"; then
20262 if test "x$cache_file" != "x/dev/null"; then
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20264 $as_echo "$as_me: updating cache $cache_file" >&6;}
20265 if test ! -f "$cache_file" || test -h "$cache_file"; then
20266 cat confcache >"$cache_file"
20267 else
20268 case $cache_file in #(
20269 */* | ?:*)
20270 mv -f confcache "$cache_file"$$ &&
20271 mv -f "$cache_file"$$ "$cache_file" ;; #(
20273 mv -f confcache "$cache_file" ;;
20274 esac
20277 else
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20282 rm -f confcache
20284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20285 # Let make expand exec_prefix.
20286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20288 DEFS=-DHAVE_CONFIG_H
20290 ac_libobjs=
20291 ac_ltlibobjs=
20293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20294 # 1. Remove the extension, and $U if already installed.
20295 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20296 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20298 # will be set to the directory where LIBOBJS objects are built.
20299 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20300 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20301 done
20302 LIBOBJS=$ac_libobjs
20304 LTLIBOBJS=$ac_ltlibobjs
20308 : "${CONFIG_STATUS=./config.status}"
20309 ac_write_fail=0
20310 ac_clean_files_save=$ac_clean_files
20311 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20313 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20314 as_write_fail=0
20315 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20316 #! $SHELL
20317 # Generated by $as_me.
20318 # Run this file to recreate the current configuration.
20319 # Compiler output produced by configure, useful for debugging
20320 # configure, is in config.log if it exists.
20322 debug=false
20323 ac_cs_recheck=false
20324 ac_cs_silent=false
20326 SHELL=\${CONFIG_SHELL-$SHELL}
20327 export SHELL
20328 _ASEOF
20329 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20330 ## -------------------- ##
20331 ## M4sh Initialization. ##
20332 ## -------------------- ##
20334 # Be more Bourne compatible
20335 DUALCASE=1; export DUALCASE # for MKS sh
20336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20337 emulate sh
20338 NULLCMD=:
20339 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20340 # is contrary to our usage. Disable this feature.
20341 alias -g '${1+"$@"}'='"$@"'
20342 setopt NO_GLOB_SUBST
20343 else
20344 case `(set -o) 2>/dev/null` in #(
20345 *posix*) :
20346 set -o posix ;; #(
20347 *) :
20349 esac
20353 as_nl='
20355 export as_nl
20356 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20357 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20359 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20360 # Prefer a ksh shell builtin over an external printf program on Solaris,
20361 # but without wasting forks for bash or zsh.
20362 if test -z "$BASH_VERSION$ZSH_VERSION" \
20363 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20364 as_echo='print -r --'
20365 as_echo_n='print -rn --'
20366 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20367 as_echo='printf %s\n'
20368 as_echo_n='printf %s'
20369 else
20370 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20371 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20372 as_echo_n='/usr/ucb/echo -n'
20373 else
20374 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20375 as_echo_n_body='eval
20376 arg=$1;
20377 case $arg in #(
20378 *"$as_nl"*)
20379 expr "X$arg" : "X\\(.*\\)$as_nl";
20380 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20381 esac;
20382 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20384 export as_echo_n_body
20385 as_echo_n='sh -c $as_echo_n_body as_echo'
20387 export as_echo_body
20388 as_echo='sh -c $as_echo_body as_echo'
20391 # The user is always right.
20392 if test "${PATH_SEPARATOR+set}" != set; then
20393 PATH_SEPARATOR=:
20394 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20395 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20396 PATH_SEPARATOR=';'
20401 # IFS
20402 # We need space, tab and new line, in precisely that order. Quoting is
20403 # there to prevent editors from complaining about space-tab.
20404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20405 # splitting by setting IFS to empty value.)
20406 IFS=" "" $as_nl"
20408 # Find who we are. Look in the path if we contain no directory separator.
20409 as_myself=
20410 case $0 in #((
20411 *[\\/]* ) as_myself=$0 ;;
20412 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20413 for as_dir in $PATH
20415 IFS=$as_save_IFS
20416 test -z "$as_dir" && as_dir=.
20417 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20418 done
20419 IFS=$as_save_IFS
20422 esac
20423 # We did not find ourselves, most probably we were run as `sh COMMAND'
20424 # in which case we are not to be found in the path.
20425 if test "x$as_myself" = x; then
20426 as_myself=$0
20428 if test ! -f "$as_myself"; then
20429 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20430 exit 1
20433 # Unset variables that we do not need and which cause bugs (e.g. in
20434 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20435 # suppresses any "Segmentation fault" message there. '((' could
20436 # trigger a bug in pdksh 5.2.14.
20437 for as_var in BASH_ENV ENV MAIL MAILPATH
20438 do eval test x\${$as_var+set} = xset \
20439 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20440 done
20441 PS1='$ '
20442 PS2='> '
20443 PS4='+ '
20445 # NLS nuisances.
20446 LC_ALL=C
20447 export LC_ALL
20448 LANGUAGE=C
20449 export LANGUAGE
20451 # CDPATH.
20452 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20455 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20456 # ----------------------------------------
20457 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20458 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20459 # script with STATUS, using 1 if that was 0.
20460 as_fn_error ()
20462 as_status=$1; test $as_status -eq 0 && as_status=1
20463 if test "$4"; then
20464 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20465 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20467 $as_echo "$as_me: error: $2" >&2
20468 as_fn_exit $as_status
20469 } # as_fn_error
20472 # as_fn_set_status STATUS
20473 # -----------------------
20474 # Set $? to STATUS, without forking.
20475 as_fn_set_status ()
20477 return $1
20478 } # as_fn_set_status
20480 # as_fn_exit STATUS
20481 # -----------------
20482 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20483 as_fn_exit ()
20485 set +e
20486 as_fn_set_status $1
20487 exit $1
20488 } # as_fn_exit
20490 # as_fn_unset VAR
20491 # ---------------
20492 # Portably unset VAR.
20493 as_fn_unset ()
20495 { eval $1=; unset $1;}
20497 as_unset=as_fn_unset
20498 # as_fn_append VAR VALUE
20499 # ----------------------
20500 # Append the text in VALUE to the end of the definition contained in VAR. Take
20501 # advantage of any shell optimizations that allow amortized linear growth over
20502 # repeated appends, instead of the typical quadratic growth present in naive
20503 # implementations.
20504 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20505 eval 'as_fn_append ()
20507 eval $1+=\$2
20509 else
20510 as_fn_append ()
20512 eval $1=\$$1\$2
20514 fi # as_fn_append
20516 # as_fn_arith ARG...
20517 # ------------------
20518 # Perform arithmetic evaluation on the ARGs, and store the result in the
20519 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20520 # must be portable across $(()) and expr.
20521 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20522 eval 'as_fn_arith ()
20524 as_val=$(( $* ))
20526 else
20527 as_fn_arith ()
20529 as_val=`expr "$@" || test $? -eq 1`
20531 fi # as_fn_arith
20534 if expr a : '\(a\)' >/dev/null 2>&1 &&
20535 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20536 as_expr=expr
20537 else
20538 as_expr=false
20541 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20542 as_basename=basename
20543 else
20544 as_basename=false
20547 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20548 as_dirname=dirname
20549 else
20550 as_dirname=false
20553 as_me=`$as_basename -- "$0" ||
20554 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20555 X"$0" : 'X\(//\)$' \| \
20556 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20557 $as_echo X/"$0" |
20558 sed '/^.*\/\([^/][^/]*\)\/*$/{
20559 s//\1/
20562 /^X\/\(\/\/\)$/{
20563 s//\1/
20566 /^X\/\(\/\).*/{
20567 s//\1/
20570 s/.*/./; q'`
20572 # Avoid depending upon Character Ranges.
20573 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20574 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20575 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20576 as_cr_digits='0123456789'
20577 as_cr_alnum=$as_cr_Letters$as_cr_digits
20579 ECHO_C= ECHO_N= ECHO_T=
20580 case `echo -n x` in #(((((
20581 -n*)
20582 case `echo 'xy\c'` in
20583 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20584 xy) ECHO_C='\c';;
20585 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20586 ECHO_T=' ';;
20587 esac;;
20589 ECHO_N='-n';;
20590 esac
20592 rm -f conf$$ conf$$.exe conf$$.file
20593 if test -d conf$$.dir; then
20594 rm -f conf$$.dir/conf$$.file
20595 else
20596 rm -f conf$$.dir
20597 mkdir conf$$.dir 2>/dev/null
20599 if (echo >conf$$.file) 2>/dev/null; then
20600 if ln -s conf$$.file conf$$ 2>/dev/null; then
20601 as_ln_s='ln -s'
20602 # ... but there are two gotchas:
20603 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20604 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20605 # In both cases, we have to default to `cp -pR'.
20606 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20607 as_ln_s='cp -pR'
20608 elif ln conf$$.file conf$$ 2>/dev/null; then
20609 as_ln_s=ln
20610 else
20611 as_ln_s='cp -pR'
20613 else
20614 as_ln_s='cp -pR'
20616 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20617 rmdir conf$$.dir 2>/dev/null
20620 # as_fn_mkdir_p
20621 # -------------
20622 # Create "$as_dir" as a directory, including parents if necessary.
20623 as_fn_mkdir_p ()
20626 case $as_dir in #(
20627 -*) as_dir=./$as_dir;;
20628 esac
20629 test -d "$as_dir" || eval $as_mkdir_p || {
20630 as_dirs=
20631 while :; do
20632 case $as_dir in #(
20633 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20634 *) as_qdir=$as_dir;;
20635 esac
20636 as_dirs="'$as_qdir' $as_dirs"
20637 as_dir=`$as_dirname -- "$as_dir" ||
20638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20639 X"$as_dir" : 'X\(//\)[^/]' \| \
20640 X"$as_dir" : 'X\(//\)$' \| \
20641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20642 $as_echo X"$as_dir" |
20643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20644 s//\1/
20647 /^X\(\/\/\)[^/].*/{
20648 s//\1/
20651 /^X\(\/\/\)$/{
20652 s//\1/
20655 /^X\(\/\).*/{
20656 s//\1/
20659 s/.*/./; q'`
20660 test -d "$as_dir" && break
20661 done
20662 test -z "$as_dirs" || eval "mkdir $as_dirs"
20663 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20666 } # as_fn_mkdir_p
20667 if mkdir -p . 2>/dev/null; then
20668 as_mkdir_p='mkdir -p "$as_dir"'
20669 else
20670 test -d ./-p && rmdir ./-p
20671 as_mkdir_p=false
20675 # as_fn_executable_p FILE
20676 # -----------------------
20677 # Test if FILE is an executable regular file.
20678 as_fn_executable_p ()
20680 test -f "$1" && test -x "$1"
20681 } # as_fn_executable_p
20682 as_test_x='test -x'
20683 as_executable_p=as_fn_executable_p
20685 # Sed expression to map a string onto a valid CPP name.
20686 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20688 # Sed expression to map a string onto a valid variable name.
20689 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20692 exec 6>&1
20693 ## ----------------------------------- ##
20694 ## Main body of $CONFIG_STATUS script. ##
20695 ## ----------------------------------- ##
20696 _ASEOF
20697 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20700 # Save the log message, to keep $0 and so on meaningful, and to
20701 # report actual input values of CONFIG_FILES etc. instead of their
20702 # values after options handling.
20703 ac_log="
20704 This file was extended by Wine $as_me 3.14, which was
20705 generated by GNU Autoconf 2.69. Invocation command line was
20707 CONFIG_FILES = $CONFIG_FILES
20708 CONFIG_HEADERS = $CONFIG_HEADERS
20709 CONFIG_LINKS = $CONFIG_LINKS
20710 CONFIG_COMMANDS = $CONFIG_COMMANDS
20711 $ $0 $@
20713 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20716 _ACEOF
20718 case $ac_config_files in *"
20719 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20720 esac
20722 case $ac_config_headers in *"
20723 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20724 esac
20727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20728 # Files that config.status was made for.
20729 config_files="$ac_config_files"
20730 config_headers="$ac_config_headers"
20731 config_links="$ac_config_links"
20732 config_commands="$ac_config_commands"
20734 _ACEOF
20736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20737 ac_cs_usage="\
20738 \`$as_me' instantiates files and other configuration actions
20739 from templates according to the current configuration. Unless the files
20740 and actions are specified as TAGs, all are instantiated by default.
20742 Usage: $0 [OPTION]... [TAG]...
20744 -h, --help print this help, then exit
20745 -V, --version print version number and configuration settings, then exit
20746 --config print configuration, then exit
20747 -q, --quiet, --silent
20748 do not print progress messages
20749 -d, --debug don't remove temporary files
20750 --recheck update $as_me by reconfiguring in the same conditions
20751 --file=FILE[:TEMPLATE]
20752 instantiate the configuration file FILE
20753 --header=FILE[:TEMPLATE]
20754 instantiate the configuration header FILE
20756 Configuration files:
20757 $config_files
20759 Configuration headers:
20760 $config_headers
20762 Configuration links:
20763 $config_links
20765 Configuration commands:
20766 $config_commands
20768 Report bugs to <wine-devel@winehq.org>.
20769 Wine home page: <https://www.winehq.org>."
20771 _ACEOF
20772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20773 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20774 ac_cs_version="\\
20775 Wine config.status 3.14
20776 configured by $0, generated by GNU Autoconf 2.69,
20777 with options \\"\$ac_cs_config\\"
20779 Copyright (C) 2012 Free Software Foundation, Inc.
20780 This config.status script is free software; the Free Software Foundation
20781 gives unlimited permission to copy, distribute and modify it."
20783 ac_pwd='$ac_pwd'
20784 srcdir='$srcdir'
20785 test -n "\$AWK" || AWK=awk
20786 _ACEOF
20788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20789 # The default lists apply if the user does not specify any file.
20790 ac_need_defaults=:
20791 while test $# != 0
20793 case $1 in
20794 --*=?*)
20795 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20796 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20797 ac_shift=:
20799 --*=)
20800 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20801 ac_optarg=
20802 ac_shift=:
20805 ac_option=$1
20806 ac_optarg=$2
20807 ac_shift=shift
20809 esac
20811 case $ac_option in
20812 # Handling of the options.
20813 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20814 ac_cs_recheck=: ;;
20815 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20816 $as_echo "$ac_cs_version"; exit ;;
20817 --config | --confi | --conf | --con | --co | --c )
20818 $as_echo "$ac_cs_config"; exit ;;
20819 --debug | --debu | --deb | --de | --d | -d )
20820 debug=: ;;
20821 --file | --fil | --fi | --f )
20822 $ac_shift
20823 case $ac_optarg in
20824 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20825 '') as_fn_error $? "missing file argument" ;;
20826 esac
20827 as_fn_append CONFIG_FILES " '$ac_optarg'"
20828 ac_need_defaults=false;;
20829 --header | --heade | --head | --hea )
20830 $ac_shift
20831 case $ac_optarg in
20832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20833 esac
20834 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20835 ac_need_defaults=false;;
20836 --he | --h)
20837 # Conflict between --help and --header
20838 as_fn_error $? "ambiguous option: \`$1'
20839 Try \`$0 --help' for more information.";;
20840 --help | --hel | -h )
20841 $as_echo "$ac_cs_usage"; exit ;;
20842 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20843 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20844 ac_cs_silent=: ;;
20846 # This is an error.
20847 -*) as_fn_error $? "unrecognized option: \`$1'
20848 Try \`$0 --help' for more information." ;;
20850 *) as_fn_append ac_config_targets " $1"
20851 ac_need_defaults=false ;;
20853 esac
20854 shift
20855 done
20857 ac_configure_extra_args=
20859 if $ac_cs_silent; then
20860 exec 6>/dev/null
20861 ac_configure_extra_args="$ac_configure_extra_args --silent"
20864 _ACEOF
20865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20866 if \$ac_cs_recheck; then
20867 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20868 shift
20869 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20870 CONFIG_SHELL='$SHELL'
20871 export CONFIG_SHELL
20872 exec "\$@"
20875 _ACEOF
20876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20877 exec 5>>config.log
20879 echo
20880 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20881 ## Running $as_me. ##
20882 _ASBOX
20883 $as_echo "$ac_log"
20884 } >&5
20886 _ACEOF
20887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20889 # INIT-COMMANDS
20891 wine_fn_output_makedep ()
20893 as_dir=tools; as_fn_mkdir_p
20894 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20896 wine_fn_output_makefile ()
20898 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20899 `cat $wine_rules_file`
20900 _WINE_EOF
20901 as_fn_error $? "could not create Makefile" "$LINENO" 5
20904 _ACEOF
20906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20908 # Handling of arguments.
20909 for ac_config_target in $ac_config_targets
20911 case $ac_config_target in
20912 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20913 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20914 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20915 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20916 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20917 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20918 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20919 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20920 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20921 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20922 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20923 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20924 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20926 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20927 esac
20928 done
20931 # If the user did not use the arguments to specify the items to instantiate,
20932 # then the envvar interface is used. Set only those that are not.
20933 # We use the long form for the default assignment because of an extremely
20934 # bizarre bug on SunOS 4.1.3.
20935 if $ac_need_defaults; then
20936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20937 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20938 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20939 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20942 # Have a temporary directory for convenience. Make it in the build tree
20943 # simply because there is no reason against having it here, and in addition,
20944 # creating and moving files from /tmp can sometimes cause problems.
20945 # Hook for its removal unless debugging.
20946 # Note that there is a small window in which the directory will not be cleaned:
20947 # after its creation but before its name has been assigned to `$tmp'.
20948 $debug ||
20950 tmp= ac_tmp=
20951 trap 'exit_status=$?
20952 : "${ac_tmp:=$tmp}"
20953 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20955 trap 'as_fn_exit 1' 1 2 13 15
20957 # Create a (secure) tmp directory for tmp files.
20960 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20961 test -d "$tmp"
20962 } ||
20964 tmp=./conf$$-$RANDOM
20965 (umask 077 && mkdir "$tmp")
20966 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20967 ac_tmp=$tmp
20969 # Set up the scripts for CONFIG_FILES section.
20970 # No need to generate them if there are no CONFIG_FILES.
20971 # This happens for instance with `./config.status config.h'.
20972 if test -n "$CONFIG_FILES"; then
20975 ac_cr=`echo X | tr X '\015'`
20976 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20977 # But we know of no other shell where ac_cr would be empty at this
20978 # point, so we can use a bashism as a fallback.
20979 if test "x$ac_cr" = x; then
20980 eval ac_cr=\$\'\\r\'
20982 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20983 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20984 ac_cs_awk_cr='\\r'
20985 else
20986 ac_cs_awk_cr=$ac_cr
20989 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20990 _ACEOF
20994 echo "cat >conf$$subs.awk <<_ACEOF" &&
20995 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20996 echo "_ACEOF"
20997 } >conf$$subs.sh ||
20998 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20999 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21000 ac_delim='%!_!# '
21001 for ac_last_try in false false false false false :; do
21002 . ./conf$$subs.sh ||
21003 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21005 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21006 if test $ac_delim_n = $ac_delim_num; then
21007 break
21008 elif $ac_last_try; then
21009 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21010 else
21011 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21013 done
21014 rm -f conf$$subs.sh
21016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21017 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21018 _ACEOF
21019 sed -n '
21021 s/^/S["/; s/!.*/"]=/
21024 s/^[^!]*!//
21025 :repl
21026 t repl
21027 s/'"$ac_delim"'$//
21028 t delim
21031 s/\(.\{148\}\)..*/\1/
21032 t more1
21033 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21036 b repl
21037 :more1
21038 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21041 s/.\{148\}//
21042 t nl
21043 :delim
21045 s/\(.\{148\}\)..*/\1/
21046 t more2
21047 s/["\\]/\\&/g; s/^/"/; s/$/"/
21050 :more2
21051 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21054 s/.\{148\}//
21055 t delim
21056 ' <conf$$subs.awk | sed '
21057 /^[^""]/{
21059 s/\n//
21061 ' >>$CONFIG_STATUS || ac_write_fail=1
21062 rm -f conf$$subs.awk
21063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21064 _ACAWK
21065 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21066 for (key in S) S_is_set[key] = 1
21067 FS = "\a"
21071 line = $ 0
21072 nfields = split(line, field, "@")
21073 substed = 0
21074 len = length(field[1])
21075 for (i = 2; i < nfields; i++) {
21076 key = field[i]
21077 keylen = length(key)
21078 if (S_is_set[key]) {
21079 value = S[key]
21080 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21081 len += length(value) + length(field[++i])
21082 substed = 1
21083 } else
21084 len += 1 + keylen
21087 print line
21090 _ACAWK
21091 _ACEOF
21092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21093 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21094 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21095 else
21097 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21098 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21099 _ACEOF
21101 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21102 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21103 # trailing colons and then remove the whole line if VPATH becomes empty
21104 # (actually we leave an empty line to preserve line numbers).
21105 if test "x$srcdir" = x.; then
21106 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21108 s///
21109 s/^/:/
21110 s/[ ]*$/:/
21111 s/:\$(srcdir):/:/g
21112 s/:\${srcdir}:/:/g
21113 s/:@srcdir@:/:/g
21114 s/^:*//
21115 s/:*$//
21117 s/\(=[ ]*\).*/\1/
21119 s/\n//
21120 s/^[^=]*=[ ]*$//
21124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21125 fi # test -n "$CONFIG_FILES"
21127 # Set up the scripts for CONFIG_HEADERS section.
21128 # No need to generate them if there are no CONFIG_HEADERS.
21129 # This happens for instance with `./config.status Makefile'.
21130 if test -n "$CONFIG_HEADERS"; then
21131 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21132 BEGIN {
21133 _ACEOF
21135 # Transform confdefs.h into an awk script `defines.awk', embedded as
21136 # here-document in config.status, that substitutes the proper values into
21137 # config.h.in to produce config.h.
21139 # Create a delimiter string that does not exist in confdefs.h, to ease
21140 # handling of long lines.
21141 ac_delim='%!_!# '
21142 for ac_last_try in false false :; do
21143 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21144 if test -z "$ac_tt"; then
21145 break
21146 elif $ac_last_try; then
21147 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21148 else
21149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21151 done
21153 # For the awk script, D is an array of macro values keyed by name,
21154 # likewise P contains macro parameters if any. Preserve backslash
21155 # newline sequences.
21157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21158 sed -n '
21159 s/.\{148\}/&'"$ac_delim"'/g
21160 t rset
21161 :rset
21162 s/^[ ]*#[ ]*define[ ][ ]*/ /
21163 t def
21165 :def
21166 s/\\$//
21167 t bsnl
21168 s/["\\]/\\&/g
21169 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21170 D["\1"]=" \3"/p
21171 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21173 :bsnl
21174 s/["\\]/\\&/g
21175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21176 D["\1"]=" \3\\\\\\n"\\/p
21177 t cont
21178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21179 t cont
21181 :cont
21183 s/.\{148\}/&'"$ac_delim"'/g
21184 t clear
21185 :clear
21186 s/\\$//
21187 t bsnlc
21188 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21190 :bsnlc
21191 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21192 b cont
21193 ' <confdefs.h | sed '
21194 s/'"$ac_delim"'/"\\\
21195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21198 for (key in D) D_is_set[key] = 1
21199 FS = "\a"
21201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21202 line = \$ 0
21203 split(line, arg, " ")
21204 if (arg[1] == "#") {
21205 defundef = arg[2]
21206 mac1 = arg[3]
21207 } else {
21208 defundef = substr(arg[1], 2)
21209 mac1 = arg[2]
21211 split(mac1, mac2, "(") #)
21212 macro = mac2[1]
21213 prefix = substr(line, 1, index(line, defundef) - 1)
21214 if (D_is_set[macro]) {
21215 # Preserve the white space surrounding the "#".
21216 print prefix "define", macro P[macro] D[macro]
21217 next
21218 } else {
21219 # Replace #undef with comments. This is necessary, for example,
21220 # in the case of _POSIX_SOURCE, which is predefined and required
21221 # on some systems where configure will not decide to define it.
21222 if (defundef == "undef") {
21223 print "/*", prefix defundef, macro, "*/"
21224 next
21228 { print }
21229 _ACAWK
21230 _ACEOF
21231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21232 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21233 fi # test -n "$CONFIG_HEADERS"
21236 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21237 shift
21238 for ac_tag
21240 case $ac_tag in
21241 :[FHLC]) ac_mode=$ac_tag; continue;;
21242 esac
21243 case $ac_mode$ac_tag in
21244 :[FHL]*:*);;
21245 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21246 :[FH]-) ac_tag=-:-;;
21247 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21248 esac
21249 ac_save_IFS=$IFS
21250 IFS=:
21251 set x $ac_tag
21252 IFS=$ac_save_IFS
21253 shift
21254 ac_file=$1
21255 shift
21257 case $ac_mode in
21258 :L) ac_source=$1;;
21259 :[FH])
21260 ac_file_inputs=
21261 for ac_f
21263 case $ac_f in
21264 -) ac_f="$ac_tmp/stdin";;
21265 *) # Look for the file first in the build tree, then in the source tree
21266 # (if the path is not absolute). The absolute path cannot be DOS-style,
21267 # because $ac_f cannot contain `:'.
21268 test -f "$ac_f" ||
21269 case $ac_f in
21270 [\\/$]*) false;;
21271 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21272 esac ||
21273 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21274 esac
21275 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21276 as_fn_append ac_file_inputs " '$ac_f'"
21277 done
21279 # Let's still pretend it is `configure' which instantiates (i.e., don't
21280 # use $as_me), people would be surprised to read:
21281 # /* config.h. Generated by config.status. */
21282 configure_input='Generated from '`
21283 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21284 `' by configure.'
21285 if test x"$ac_file" != x-; then
21286 configure_input="$ac_file. $configure_input"
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21288 $as_echo "$as_me: creating $ac_file" >&6;}
21290 # Neutralize special characters interpreted by sed in replacement strings.
21291 case $configure_input in #(
21292 *\&* | *\|* | *\\* )
21293 ac_sed_conf_input=`$as_echo "$configure_input" |
21294 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21295 *) ac_sed_conf_input=$configure_input;;
21296 esac
21298 case $ac_tag in
21299 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21301 esac
21303 esac
21305 ac_dir=`$as_dirname -- "$ac_file" ||
21306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21307 X"$ac_file" : 'X\(//\)[^/]' \| \
21308 X"$ac_file" : 'X\(//\)$' \| \
21309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21310 $as_echo X"$ac_file" |
21311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21312 s//\1/
21315 /^X\(\/\/\)[^/].*/{
21316 s//\1/
21319 /^X\(\/\/\)$/{
21320 s//\1/
21323 /^X\(\/\).*/{
21324 s//\1/
21327 s/.*/./; q'`
21328 as_dir="$ac_dir"; as_fn_mkdir_p
21329 ac_builddir=.
21331 case "$ac_dir" in
21332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21334 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21335 # A ".." for each directory in $ac_dir_suffix.
21336 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21337 case $ac_top_builddir_sub in
21338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21340 esac ;;
21341 esac
21342 ac_abs_top_builddir=$ac_pwd
21343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21344 # for backward compatibility:
21345 ac_top_builddir=$ac_top_build_prefix
21347 case $srcdir in
21348 .) # We are building in place.
21349 ac_srcdir=.
21350 ac_top_srcdir=$ac_top_builddir_sub
21351 ac_abs_top_srcdir=$ac_pwd ;;
21352 [\\/]* | ?:[\\/]* ) # Absolute name.
21353 ac_srcdir=$srcdir$ac_dir_suffix;
21354 ac_top_srcdir=$srcdir
21355 ac_abs_top_srcdir=$srcdir ;;
21356 *) # Relative name.
21357 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21358 ac_top_srcdir=$ac_top_build_prefix$srcdir
21359 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21360 esac
21361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21364 case $ac_mode in
21367 # CONFIG_FILE
21370 _ACEOF
21372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21373 # If the template does not know about datarootdir, expand it.
21374 # FIXME: This hack should be removed a few years after 2.60.
21375 ac_datarootdir_hack=; ac_datarootdir_seen=
21376 ac_sed_dataroot='
21377 /datarootdir/ {
21381 /@datadir@/p
21382 /@docdir@/p
21383 /@infodir@/p
21384 /@localedir@/p
21385 /@mandir@/p'
21386 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21387 *datarootdir*) ac_datarootdir_seen=yes;;
21388 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21390 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21391 _ACEOF
21392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21393 ac_datarootdir_hack='
21394 s&@datadir@&$datadir&g
21395 s&@docdir@&$docdir&g
21396 s&@infodir@&$infodir&g
21397 s&@localedir@&$localedir&g
21398 s&@mandir@&$mandir&g
21399 s&\\\${datarootdir}&$datarootdir&g' ;;
21400 esac
21401 _ACEOF
21403 # Neutralize VPATH when `$srcdir' = `.'.
21404 # Shell code in configure.ac might set extrasub.
21405 # FIXME: do we really want to maintain this feature?
21406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21407 ac_sed_extra="$ac_vpsub
21408 $extrasub
21409 _ACEOF
21410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21412 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21413 s|@configure_input@|$ac_sed_conf_input|;t t
21414 s&@top_builddir@&$ac_top_builddir_sub&;t t
21415 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21416 s&@srcdir@&$ac_srcdir&;t t
21417 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21418 s&@top_srcdir@&$ac_top_srcdir&;t t
21419 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21420 s&@builddir@&$ac_builddir&;t t
21421 s&@abs_builddir@&$ac_abs_builddir&;t t
21422 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21423 $ac_datarootdir_hack
21425 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21426 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21428 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21429 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21430 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21431 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21433 which seems to be undefined. Please make sure it is defined" >&5
21434 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21435 which seems to be undefined. Please make sure it is defined" >&2;}
21437 rm -f "$ac_tmp/stdin"
21438 case $ac_file in
21439 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21440 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21441 esac \
21442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21446 # CONFIG_HEADER
21448 if test x"$ac_file" != x-; then
21450 $as_echo "/* $configure_input */" \
21451 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21452 } >"$ac_tmp/config.h" \
21453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21454 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21456 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21457 else
21458 rm -f "$ac_file"
21459 mv "$ac_tmp/config.h" "$ac_file" \
21460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21462 else
21463 $as_echo "/* $configure_input */" \
21464 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21465 || as_fn_error $? "could not create -" "$LINENO" 5
21470 # CONFIG_LINK
21473 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21475 else
21476 # Prefer the file from the source tree if names are identical.
21477 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21478 ac_source=$srcdir/$ac_source
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21482 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21484 if test ! -r "$ac_source"; then
21485 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21487 rm -f "$ac_file"
21489 # Try a relative symlink, then a hard link, then a copy.
21490 case $ac_source in
21491 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21492 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21493 esac
21494 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21495 ln "$ac_source" "$ac_file" 2>/dev/null ||
21496 cp -p "$ac_source" "$ac_file" ||
21497 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21500 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21501 $as_echo "$as_me: executing $ac_file commands" >&6;}
21503 esac
21506 case $ac_file$ac_mode in
21507 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21508 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21509 "Makefile":C) wine_fn_output_makefile Makefile ;;
21511 esac
21512 done # for ac_tag
21515 as_fn_exit 0
21516 _ACEOF
21517 ac_clean_files=$ac_clean_files_save
21519 test $ac_write_fail = 0 ||
21520 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21523 # configure is writing to config.log, and then calls config.status.
21524 # config.status does its own redirection, appending to config.log.
21525 # Unfortunately, on DOS this fails, as config.log is still kept open
21526 # by configure, so config.status won't be able to write to it; its
21527 # output is simply discarded. So we exec the FD to /dev/null,
21528 # effectively closing config.log, so it can be properly (re)opened and
21529 # appended to by config.status. When coming back to configure, we
21530 # need to make the FD available again.
21531 if test "$no_create" != yes; then
21532 ac_cs_success=:
21533 ac_config_status_args=
21534 test "$silent" = yes &&
21535 ac_config_status_args="$ac_config_status_args --quiet"
21536 exec 5>/dev/null
21537 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21538 exec 5>>config.log
21539 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21540 # would make configure fail if this is the last instruction.
21541 $ac_cs_success || as_fn_exit 1
21543 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21545 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21549 if test "$no_create" = "yes"
21550 then
21551 exit 0
21554 ac_save_IFS="$IFS"
21555 if test "x$wine_notices" != x; then
21556 echo >&6
21557 IFS="|"
21558 for msg in $wine_notices; do
21559 IFS="$ac_save_IFS"
21560 if ${msg:+false} :; then :
21562 else
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21564 $as_echo "$as_me: $msg" >&6;}
21566 done
21568 IFS="|"
21569 for msg in $wine_warnings; do
21570 IFS="$ac_save_IFS"
21571 if ${msg:+false} :; then :
21573 else
21574 echo >&2
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21576 $as_echo "$as_me: WARNING: $msg" >&2;}
21578 done
21579 IFS="$ac_save_IFS"
21581 $as_echo "
21582 $as_me: Finished. Do '${ac_make}' to compile Wine.
21583 " >&6