include: Add check macros needed for VS2017.
[wine.git] / configure
blob969396a66808499b9c2ae09bd4858d631b42a322
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.17.
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.17'
584 PACKAGE_STRING='Wine 3.17'
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 WIDLFLAGS
768 TARGETFLAGS
770 CPPBIN
771 ac_ct_CXX
772 CXXFLAGS
774 OBJEXT
775 EXEEXT
776 ac_ct_CC
777 CPPFLAGS
778 LDFLAGS
779 CFLAGS
781 SET_MAKE
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 runstatedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_win16
833 enable_win64
834 enable_tests
835 enable_maintainer_mode
836 with_alsa
837 with_capi
838 with_cms
839 with_coreaudio
840 with_cups
841 with_curses
842 with_dbus
843 with_float_abi
844 with_fontconfig
845 with_freetype
846 with_gettext
847 with_gettextpo
848 with_gphoto
849 with_glu
850 with_gnutls
851 with_gsm
852 with_gssapi
853 with_gstreamer
854 with_hal
855 with_jpeg
856 with_krb5
857 with_ldap
858 with_mpg123
859 with_netapi
860 with_openal
861 with_opencl
862 with_opengl
863 with_osmesa
864 with_oss
865 with_pcap
866 with_png
867 with_pthread
868 with_pulse
869 with_sane
870 with_sdl
871 with_tiff
872 with_udev
873 with_v4l
874 with_vkd3d
875 with_vulkan
876 with_xcomposite
877 with_xcursor
878 with_xfixes
879 with_xinerama
880 with_xinput
881 with_xinput2
882 with_xml
883 with_xrandr
884 with_xrender
885 with_xshape
886 with_xshm
887 with_xslt
888 with_xxf86vm
889 with_zlib
890 with_wine_tools
891 with_wine64
892 enable_largefile
893 with_x
894 enable_acledit
895 enable_aclui
896 enable_activeds
897 enable_actxprxy
898 enable_adsiid
899 enable_adsldp
900 enable_adsldpc
901 enable_advapi32
902 enable_advpack
903 enable_amstream
904 enable_api_ms_win_appmodel_identity_l1_1_0
905 enable_api_ms_win_appmodel_runtime_l1_1_1
906 enable_api_ms_win_appmodel_runtime_l1_1_2
907 enable_api_ms_win_core_apiquery_l1_1_0
908 enable_api_ms_win_core_appcompat_l1_1_1
909 enable_api_ms_win_core_appinit_l1_1_0
910 enable_api_ms_win_core_atoms_l1_1_0
911 enable_api_ms_win_core_bem_l1_1_0
912 enable_api_ms_win_core_com_l1_1_0
913 enable_api_ms_win_core_com_l1_1_1
914 enable_api_ms_win_core_com_private_l1_1_0
915 enable_api_ms_win_core_comm_l1_1_0
916 enable_api_ms_win_core_console_l1_1_0
917 enable_api_ms_win_core_console_l2_1_0
918 enable_api_ms_win_core_crt_l1_1_0
919 enable_api_ms_win_core_crt_l2_1_0
920 enable_api_ms_win_core_datetime_l1_1_0
921 enable_api_ms_win_core_datetime_l1_1_1
922 enable_api_ms_win_core_debug_l1_1_0
923 enable_api_ms_win_core_debug_l1_1_1
924 enable_api_ms_win_core_delayload_l1_1_0
925 enable_api_ms_win_core_delayload_l1_1_1
926 enable_api_ms_win_core_errorhandling_l1_1_0
927 enable_api_ms_win_core_errorhandling_l1_1_1
928 enable_api_ms_win_core_errorhandling_l1_1_2
929 enable_api_ms_win_core_errorhandling_l1_1_3
930 enable_api_ms_win_core_fibers_l1_1_0
931 enable_api_ms_win_core_fibers_l1_1_1
932 enable_api_ms_win_core_file_l1_1_0
933 enable_api_ms_win_core_file_l1_2_0
934 enable_api_ms_win_core_file_l1_2_1
935 enable_api_ms_win_core_file_l1_2_2
936 enable_api_ms_win_core_file_l2_1_0
937 enable_api_ms_win_core_file_l2_1_1
938 enable_api_ms_win_core_file_l2_1_2
939 enable_api_ms_win_core_handle_l1_1_0
940 enable_api_ms_win_core_heap_l1_1_0
941 enable_api_ms_win_core_heap_l1_2_0
942 enable_api_ms_win_core_heap_l2_1_0
943 enable_api_ms_win_core_heap_obsolete_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_2_0
946 enable_api_ms_win_core_io_l1_1_0
947 enable_api_ms_win_core_io_l1_1_1
948 enable_api_ms_win_core_job_l1_1_0
949 enable_api_ms_win_core_job_l2_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_1
952 enable_api_ms_win_core_kernel32_private_l1_1_1
953 enable_api_ms_win_core_largeinteger_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_1
956 enable_api_ms_win_core_libraryloader_l1_2_0
957 enable_api_ms_win_core_libraryloader_l1_2_1
958 enable_api_ms_win_core_libraryloader_l1_2_2
959 enable_api_ms_win_core_localization_l1_1_0
960 enable_api_ms_win_core_localization_l1_2_0
961 enable_api_ms_win_core_localization_l1_2_1
962 enable_api_ms_win_core_localization_l2_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_2_0
965 enable_api_ms_win_core_localization_obsolete_l1_3_0
966 enable_api_ms_win_core_localization_private_l1_1_0
967 enable_api_ms_win_core_localregistry_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_1
970 enable_api_ms_win_core_memory_l1_1_2
971 enable_api_ms_win_core_misc_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_2_0
974 enable_api_ms_win_core_namespace_l1_1_0
975 enable_api_ms_win_core_normalization_l1_1_0
976 enable_api_ms_win_core_path_l1_1_0
977 enable_api_ms_win_core_privateprofile_l1_1_1
978 enable_api_ms_win_core_processenvironment_l1_1_0
979 enable_api_ms_win_core_processenvironment_l1_2_0
980 enable_api_ms_win_core_processthreads_l1_1_0
981 enable_api_ms_win_core_processthreads_l1_1_1
982 enable_api_ms_win_core_processthreads_l1_1_2
983 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
984 enable_api_ms_win_core_profile_l1_1_0
985 enable_api_ms_win_core_psapi_ansi_l1_1_0
986 enable_api_ms_win_core_psapi_l1_1_0
987 enable_api_ms_win_core_psapi_obsolete_l1_1_0
988 enable_api_ms_win_core_quirks_l1_1_0
989 enable_api_ms_win_core_realtime_l1_1_0
990 enable_api_ms_win_core_registry_l1_1_0
991 enable_api_ms_win_core_registry_l2_1_0
992 enable_api_ms_win_core_registryuserspecific_l1_1_0
993 enable_api_ms_win_core_rtlsupport_l1_1_0
994 enable_api_ms_win_core_rtlsupport_l1_2_0
995 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
996 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
997 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
998 enable_api_ms_win_core_shutdown_l1_1_0
999 enable_api_ms_win_core_sidebyside_l1_1_0
1000 enable_api_ms_win_core_string_l1_1_0
1001 enable_api_ms_win_core_string_l2_1_0
1002 enable_api_ms_win_core_string_obsolete_l1_1_0
1003 enable_api_ms_win_core_stringansi_l1_1_0
1004 enable_api_ms_win_core_stringloader_l1_1_1
1005 enable_api_ms_win_core_synch_ansi_l1_1_0
1006 enable_api_ms_win_core_synch_l1_1_0
1007 enable_api_ms_win_core_synch_l1_2_0
1008 enable_api_ms_win_core_synch_l1_2_1
1009 enable_api_ms_win_core_sysinfo_l1_1_0
1010 enable_api_ms_win_core_sysinfo_l1_2_0
1011 enable_api_ms_win_core_sysinfo_l1_2_1
1012 enable_api_ms_win_core_threadpool_l1_1_0
1013 enable_api_ms_win_core_threadpool_l1_2_0
1014 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1015 enable_api_ms_win_core_threadpool_private_l1_1_0
1016 enable_api_ms_win_core_timezone_l1_1_0
1017 enable_api_ms_win_core_toolhelp_l1_1_0
1018 enable_api_ms_win_core_url_l1_1_0
1019 enable_api_ms_win_core_util_l1_1_0
1020 enable_api_ms_win_core_version_l1_1_0
1021 enable_api_ms_win_core_version_l1_1_1
1022 enable_api_ms_win_core_version_private_l1_1_0
1023 enable_api_ms_win_core_versionansi_l1_1_0
1024 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1025 enable_api_ms_win_core_winrt_error_l1_1_0
1026 enable_api_ms_win_core_winrt_error_l1_1_1
1027 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1028 enable_api_ms_win_core_winrt_l1_1_0
1029 enable_api_ms_win_core_winrt_registration_l1_1_0
1030 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1031 enable_api_ms_win_core_winrt_string_l1_1_0
1032 enable_api_ms_win_core_wow64_l1_1_0
1033 enable_api_ms_win_core_wow64_l1_1_1
1034 enable_api_ms_win_core_xstate_l1_1_0
1035 enable_api_ms_win_core_xstate_l2_1_0
1036 enable_api_ms_win_crt_conio_l1_1_0
1037 enable_api_ms_win_crt_convert_l1_1_0
1038 enable_api_ms_win_crt_environment_l1_1_0
1039 enable_api_ms_win_crt_filesystem_l1_1_0
1040 enable_api_ms_win_crt_heap_l1_1_0
1041 enable_api_ms_win_crt_locale_l1_1_0
1042 enable_api_ms_win_crt_math_l1_1_0
1043 enable_api_ms_win_crt_multibyte_l1_1_0
1044 enable_api_ms_win_crt_private_l1_1_0
1045 enable_api_ms_win_crt_process_l1_1_0
1046 enable_api_ms_win_crt_runtime_l1_1_0
1047 enable_api_ms_win_crt_stdio_l1_1_0
1048 enable_api_ms_win_crt_string_l1_1_0
1049 enable_api_ms_win_crt_time_l1_1_0
1050 enable_api_ms_win_crt_utility_l1_1_0
1051 enable_api_ms_win_devices_config_l1_1_0
1052 enable_api_ms_win_devices_config_l1_1_1
1053 enable_api_ms_win_devices_query_l1_1_1
1054 enable_api_ms_win_downlevel_advapi32_l1_1_0
1055 enable_api_ms_win_downlevel_advapi32_l2_1_0
1056 enable_api_ms_win_downlevel_normaliz_l1_1_0
1057 enable_api_ms_win_downlevel_ole32_l1_1_0
1058 enable_api_ms_win_downlevel_shell32_l1_1_0
1059 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1060 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1061 enable_api_ms_win_downlevel_user32_l1_1_0
1062 enable_api_ms_win_downlevel_version_l1_1_0
1063 enable_api_ms_win_dx_d3dkmt_l1_1_0
1064 enable_api_ms_win_eventing_classicprovider_l1_1_0
1065 enable_api_ms_win_eventing_consumer_l1_1_0
1066 enable_api_ms_win_eventing_controller_l1_1_0
1067 enable_api_ms_win_eventing_legacy_l1_1_0
1068 enable_api_ms_win_eventing_provider_l1_1_0
1069 enable_api_ms_win_eventlog_legacy_l1_1_0
1070 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1071 enable_api_ms_win_mm_joystick_l1_1_0
1072 enable_api_ms_win_mm_misc_l1_1_1
1073 enable_api_ms_win_mm_mme_l1_1_0
1074 enable_api_ms_win_mm_time_l1_1_0
1075 enable_api_ms_win_ntuser_dc_access_l1_1_0
1076 enable_api_ms_win_ntuser_rectangle_l1_1_0
1077 enable_api_ms_win_perf_legacy_l1_1_0
1078 enable_api_ms_win_power_base_l1_1_0
1079 enable_api_ms_win_power_setting_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1083 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1087 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1088 enable_api_ms_win_security_audit_l1_1_1
1089 enable_api_ms_win_security_base_l1_1_0
1090 enable_api_ms_win_security_base_l1_2_0
1091 enable_api_ms_win_security_base_private_l1_1_1
1092 enable_api_ms_win_security_credentials_l1_1_0
1093 enable_api_ms_win_security_cryptoapi_l1_1_0
1094 enable_api_ms_win_security_grouppolicy_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_0
1096 enable_api_ms_win_security_lsalookup_l1_1_1
1097 enable_api_ms_win_security_lsalookup_l2_1_0
1098 enable_api_ms_win_security_lsalookup_l2_1_1
1099 enable_api_ms_win_security_lsapolicy_l1_1_0
1100 enable_api_ms_win_security_provider_l1_1_0
1101 enable_api_ms_win_security_sddl_l1_1_0
1102 enable_api_ms_win_security_systemfunctions_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_0
1104 enable_api_ms_win_service_core_l1_1_1
1105 enable_api_ms_win_service_management_l1_1_0
1106 enable_api_ms_win_service_management_l2_1_0
1107 enable_api_ms_win_service_private_l1_1_1
1108 enable_api_ms_win_service_winsvc_l1_1_0
1109 enable_api_ms_win_service_winsvc_l1_2_0
1110 enable_api_ms_win_shcore_obsolete_l1_1_0
1111 enable_api_ms_win_shcore_scaling_l1_1_1
1112 enable_api_ms_win_shcore_stream_l1_1_0
1113 enable_api_ms_win_shcore_thread_l1_1_0
1114 enable_api_ms_win_shell_shellcom_l1_1_0
1115 enable_api_ms_win_shell_shellfolders_l1_1_0
1116 enable_apphelp
1117 enable_appwiz_cpl
1118 enable_atl
1119 enable_atl100
1120 enable_atl110
1121 enable_atl80
1122 enable_atl90
1123 enable_atmlib
1124 enable_authz
1125 enable_avicap32
1126 enable_avifil32
1127 enable_avrt
1128 enable_bcrypt
1129 enable_bluetoothapis
1130 enable_browseui
1131 enable_bthprops_cpl
1132 enable_cabinet
1133 enable_capi2032
1134 enable_cards
1135 enable_cdosys
1136 enable_cfgmgr32
1137 enable_clusapi
1138 enable_combase
1139 enable_comcat
1140 enable_comctl32
1141 enable_comdlg32
1142 enable_compstui
1143 enable_comsvcs
1144 enable_concrt140
1145 enable_connect
1146 enable_credui
1147 enable_crtdll
1148 enable_crypt32
1149 enable_cryptdlg
1150 enable_cryptdll
1151 enable_cryptext
1152 enable_cryptnet
1153 enable_cryptui
1154 enable_ctapi32
1155 enable_ctl3d32
1156 enable_d2d1
1157 enable_d3d10
1158 enable_d3d10_1
1159 enable_d3d10core
1160 enable_d3d11
1161 enable_d3d12
1162 enable_d3d8
1163 enable_d3d9
1164 enable_d3dcompiler_33
1165 enable_d3dcompiler_34
1166 enable_d3dcompiler_35
1167 enable_d3dcompiler_36
1168 enable_d3dcompiler_37
1169 enable_d3dcompiler_38
1170 enable_d3dcompiler_39
1171 enable_d3dcompiler_40
1172 enable_d3dcompiler_41
1173 enable_d3dcompiler_42
1174 enable_d3dcompiler_43
1175 enable_d3dcompiler_46
1176 enable_d3dcompiler_47
1177 enable_d3dim
1178 enable_d3drm
1179 enable_d3dx10_33
1180 enable_d3dx10_34
1181 enable_d3dx10_35
1182 enable_d3dx10_36
1183 enable_d3dx10_37
1184 enable_d3dx10_38
1185 enable_d3dx10_39
1186 enable_d3dx10_40
1187 enable_d3dx10_41
1188 enable_d3dx10_42
1189 enable_d3dx10_43
1190 enable_d3dx11_42
1191 enable_d3dx11_43
1192 enable_d3dx9_24
1193 enable_d3dx9_25
1194 enable_d3dx9_26
1195 enable_d3dx9_27
1196 enable_d3dx9_28
1197 enable_d3dx9_29
1198 enable_d3dx9_30
1199 enable_d3dx9_31
1200 enable_d3dx9_32
1201 enable_d3dx9_33
1202 enable_d3dx9_34
1203 enable_d3dx9_35
1204 enable_d3dx9_36
1205 enable_d3dx9_37
1206 enable_d3dx9_38
1207 enable_d3dx9_39
1208 enable_d3dx9_40
1209 enable_d3dx9_41
1210 enable_d3dx9_42
1211 enable_d3dx9_43
1212 enable_d3dxof
1213 enable_davclnt
1214 enable_dbgeng
1215 enable_dbghelp
1216 enable_dciman32
1217 enable_ddraw
1218 enable_ddrawex
1219 enable_devenum
1220 enable_dhcpcsvc
1221 enable_dhtmled_ocx
1222 enable_difxapi
1223 enable_dinput
1224 enable_dinput8
1225 enable_dispex
1226 enable_dmband
1227 enable_dmcompos
1228 enable_dmime
1229 enable_dmloader
1230 enable_dmoguids
1231 enable_dmscript
1232 enable_dmstyle
1233 enable_dmsynth
1234 enable_dmusic
1235 enable_dmusic32
1236 enable_dnsapi
1237 enable_dplay
1238 enable_dplayx
1239 enable_dpnaddr
1240 enable_dpnet
1241 enable_dpnhpast
1242 enable_dpnlobby
1243 enable_dpvoice
1244 enable_dpwsockx
1245 enable_drmclien
1246 enable_dsound
1247 enable_dsquery
1248 enable_dssenh
1249 enable_dswave
1250 enable_dwmapi
1251 enable_dwrite
1252 enable_dx8vb
1253 enable_dxdiagn
1254 enable_dxerr8
1255 enable_dxerr9
1256 enable_dxgi
1257 enable_dxguid
1258 enable_dxva2
1259 enable_esent
1260 enable_evr
1261 enable_explorerframe
1262 enable_ext_ms_win_authz_context_l1_1_0
1263 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1264 enable_ext_ms_win_dwmapi_ext_l1_1_0
1265 enable_ext_ms_win_gdi_dc_create_l1_1_1
1266 enable_ext_ms_win_gdi_dc_l1_2_0
1267 enable_ext_ms_win_gdi_devcaps_l1_1_0
1268 enable_ext_ms_win_gdi_draw_l1_1_1
1269 enable_ext_ms_win_gdi_render_l1_1_0
1270 enable_ext_ms_win_kernel32_package_current_l1_1_0
1271 enable_ext_ms_win_kernel32_package_l1_1_1
1272 enable_ext_ms_win_ntuser_draw_l1_1_0
1273 enable_ext_ms_win_ntuser_gui_l1_3_0
1274 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1275 enable_ext_ms_win_ntuser_message_l1_1_1
1276 enable_ext_ms_win_ntuser_misc_l1_5_1
1277 enable_ext_ms_win_ntuser_mouse_l1_1_0
1278 enable_ext_ms_win_ntuser_private_l1_1_1
1279 enable_ext_ms_win_ntuser_private_l1_3_1
1280 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1282 enable_ext_ms_win_ntuser_window_l1_1_1
1283 enable_ext_ms_win_ntuser_window_l1_1_4
1284 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1285 enable_ext_ms_win_oleacc_l1_1_0
1286 enable_ext_ms_win_ras_rasapi32_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1289 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1293 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1294 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1296 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1297 enable_ext_ms_win_security_credui_l1_1_0
1298 enable_ext_ms_win_security_cryptui_l1_1_0
1299 enable_ext_ms_win_uxtheme_themes_l1_1_0
1300 enable_faultrep
1301 enable_feclient
1302 enable_fltlib
1303 enable_fltmgr_sys
1304 enable_fntcache
1305 enable_fontsub
1306 enable_fusion
1307 enable_fwpuclnt
1308 enable_gameux
1309 enable_gdi32
1310 enable_gdiplus
1311 enable_glu32
1312 enable_gphoto2_ds
1313 enable_gpkcsp
1314 enable_hal
1315 enable_hhctrl_ocx
1316 enable_hid
1317 enable_hidclass_sys
1318 enable_hlink
1319 enable_hnetcfg
1320 enable_httpapi
1321 enable_iccvid
1322 enable_icmp
1323 enable_ieframe
1324 enable_ieproxy
1325 enable_imaadp32_acm
1326 enable_imagehlp
1327 enable_imm32
1328 enable_inetcomm
1329 enable_inetcpl_cpl
1330 enable_inetmib1
1331 enable_infosoft
1332 enable_initpki
1333 enable_inkobj
1334 enable_inseng
1335 enable_iphlpapi
1336 enable_iprop
1337 enable_irprops_cpl
1338 enable_itircl
1339 enable_itss
1340 enable_joy_cpl
1341 enable_jscript
1342 enable_jsproxy
1343 enable_kerberos
1344 enable_kernel32
1345 enable_kernelbase
1346 enable_ksuser
1347 enable_ktmw32
1348 enable_l3codeca_acm
1349 enable_loadperf
1350 enable_localspl
1351 enable_localui
1352 enable_lz32
1353 enable_mapi32
1354 enable_mapistub
1355 enable_mciavi32
1356 enable_mcicda
1357 enable_mciqtz32
1358 enable_mciseq
1359 enable_mciwave
1360 enable_mf
1361 enable_mf3216
1362 enable_mfplat
1363 enable_mfreadwrite
1364 enable_mfuuid
1365 enable_mgmtapi
1366 enable_midimap
1367 enable_mlang
1368 enable_mmcndmgr
1369 enable_mmdevapi
1370 enable_mountmgr_sys
1371 enable_mp3dmod
1372 enable_mpr
1373 enable_mprapi
1374 enable_msacm32_drv
1375 enable_msacm32
1376 enable_msadp32_acm
1377 enable_msasn1
1378 enable_mscat32
1379 enable_mscms
1380 enable_mscoree
1381 enable_msctf
1382 enable_msctfp
1383 enable_msdaps
1384 enable_msdelta
1385 enable_msdmo
1386 enable_msdrm
1387 enable_msftedit
1388 enable_msg711_acm
1389 enable_msgsm32_acm
1390 enable_mshtml_tlb
1391 enable_mshtml
1392 enable_msi
1393 enable_msident
1394 enable_msimg32
1395 enable_msimsg
1396 enable_msimtf
1397 enable_msisip
1398 enable_msisys_ocx
1399 enable_msls31
1400 enable_msnet32
1401 enable_mspatcha
1402 enable_msports
1403 enable_msrle32
1404 enable_msscript_ocx
1405 enable_mssign32
1406 enable_mssip32
1407 enable_mstask
1408 enable_msvcirt
1409 enable_msvcm80
1410 enable_msvcm90
1411 enable_msvcp100
1412 enable_msvcp110
1413 enable_msvcp120
1414 enable_msvcp120_app
1415 enable_msvcp140
1416 enable_msvcp60
1417 enable_msvcp70
1418 enable_msvcp71
1419 enable_msvcp80
1420 enable_msvcp90
1421 enable_msvcr100
1422 enable_msvcr110
1423 enable_msvcr120
1424 enable_msvcr120_app
1425 enable_msvcr70
1426 enable_msvcr71
1427 enable_msvcr80
1428 enable_msvcr90
1429 enable_msvcrt
1430 enable_msvcrt20
1431 enable_msvcrt40
1432 enable_msvcrtd
1433 enable_msvfw32
1434 enable_msvidc32
1435 enable_mswsock
1436 enable_msxml
1437 enable_msxml2
1438 enable_msxml3
1439 enable_msxml4
1440 enable_msxml6
1441 enable_mtxdm
1442 enable_ncrypt
1443 enable_nddeapi
1444 enable_ndis_sys
1445 enable_netapi32
1446 enable_netcfgx
1447 enable_netprofm
1448 enable_newdev
1449 enable_ninput
1450 enable_normaliz
1451 enable_npmshtml
1452 enable_npptools
1453 enable_ntdll
1454 enable_ntdsapi
1455 enable_ntoskrnl_exe
1456 enable_ntprint
1457 enable_objsel
1458 enable_odbc32
1459 enable_odbccp32
1460 enable_odbccu32
1461 enable_ole32
1462 enable_oleacc
1463 enable_oleaut32
1464 enable_olecli32
1465 enable_oledb32
1466 enable_oledlg
1467 enable_olepro32
1468 enable_olesvr32
1469 enable_olethk32
1470 enable_opcservices
1471 enable_openal32
1472 enable_opencl
1473 enable_opengl32
1474 enable_packager
1475 enable_pdh
1476 enable_photometadatahandler
1477 enable_pidgen
1478 enable_powrprof
1479 enable_printui
1480 enable_prntvpt
1481 enable_propsys
1482 enable_psapi
1483 enable_pstorec
1484 enable_qcap
1485 enable_qedit
1486 enable_qmgr
1487 enable_qmgrprxy
1488 enable_quartz
1489 enable_query
1490 enable_rasapi32
1491 enable_rasdlg
1492 enable_regapi
1493 enable_resutils
1494 enable_riched20
1495 enable_riched32
1496 enable_rpcrt4
1497 enable_rsabase
1498 enable_rsaenh
1499 enable_rstrtmgr
1500 enable_rtutils
1501 enable_samlib
1502 enable_sane_ds
1503 enable_sapi
1504 enable_sas
1505 enable_scarddlg
1506 enable_sccbase
1507 enable_schannel
1508 enable_schedsvc
1509 enable_scrobj
1510 enable_scrrun
1511 enable_scsiport_sys
1512 enable_secur32
1513 enable_security
1514 enable_sensapi
1515 enable_serialui
1516 enable_setupapi
1517 enable_sfc
1518 enable_sfc_os
1519 enable_shcore
1520 enable_shdoclc
1521 enable_shdocvw
1522 enable_shell32
1523 enable_shfolder
1524 enable_shlwapi
1525 enable_slbcsp
1526 enable_slc
1527 enable_snmpapi
1528 enable_softpub
1529 enable_spoolss
1530 enable_srclient
1531 enable_sspicli
1532 enable_stdole2_tlb
1533 enable_stdole32_tlb
1534 enable_sti
1535 enable_strmbase
1536 enable_strmdll
1537 enable_strmiids
1538 enable_svrapi
1539 enable_sxs
1540 enable_t2embed
1541 enable_tapi32
1542 enable_taskschd
1543 enable_tdh
1544 enable_tdi_sys
1545 enable_traffic
1546 enable_twain_32
1547 enable_ucrtbase
1548 enable_uiautomationcore
1549 enable_uiribbon
1550 enable_unicows
1551 enable_updspapi
1552 enable_url
1553 enable_urlmon
1554 enable_usbd_sys
1555 enable_user32
1556 enable_userenv
1557 enable_usp10
1558 enable_uuid
1559 enable_uxtheme
1560 enable_vbscript
1561 enable_vcomp
1562 enable_vcomp100
1563 enable_vcomp110
1564 enable_vcomp120
1565 enable_vcomp140
1566 enable_vcomp90
1567 enable_vcruntime140
1568 enable_vdmdbg
1569 enable_version
1570 enable_virtdisk
1571 enable_vssapi
1572 enable_vulkan_1
1573 enable_wbemdisp
1574 enable_wbemprox
1575 enable_wdscore
1576 enable_webservices
1577 enable_wer
1578 enable_wevtapi
1579 enable_wiaservc
1580 enable_wimgapi
1581 enable_windowscodecs
1582 enable_windowscodecsext
1583 enable_winealsa_drv
1584 enable_wineandroid_drv
1585 enable_winebus_sys
1586 enable_winecoreaudio_drv
1587 enable_winecrt0
1588 enable_wined3d
1589 enable_winegstreamer
1590 enable_winehid_sys
1591 enable_winejoystick_drv
1592 enable_winemac_drv
1593 enable_winemapi
1594 enable_wineoss_drv
1595 enable_wineps_drv
1596 enable_winepulse_drv
1597 enable_wineqtdecoder
1598 enable_winevulkan
1599 enable_winex11_drv
1600 enable_wing32
1601 enable_winhttp
1602 enable_wininet
1603 enable_winmm
1604 enable_winnls32
1605 enable_winscard
1606 enable_winspool_drv
1607 enable_winsta
1608 enable_wintab32
1609 enable_wintrust
1610 enable_winusb
1611 enable_wlanapi
1612 enable_wldap32
1613 enable_wmasf
1614 enable_wmcodecdspuuid
1615 enable_wmi
1616 enable_wmiutils
1617 enable_wmp
1618 enable_wmphoto
1619 enable_wmvcore
1620 enable_wnaspi32
1621 enable_wpc
1622 enable_wpcap
1623 enable_ws2_32
1624 enable_wsdapi
1625 enable_wshom_ocx
1626 enable_wsnmp32
1627 enable_wsock32
1628 enable_wtsapi32
1629 enable_wuapi
1630 enable_wuaueng
1631 enable_x3daudio1_0
1632 enable_x3daudio1_1
1633 enable_x3daudio1_2
1634 enable_x3daudio1_3
1635 enable_x3daudio1_4
1636 enable_x3daudio1_5
1637 enable_x3daudio1_6
1638 enable_x3daudio1_7
1639 enable_xapofx1_1
1640 enable_xapofx1_2
1641 enable_xapofx1_3
1642 enable_xapofx1_4
1643 enable_xapofx1_5
1644 enable_xaudio2_0
1645 enable_xaudio2_1
1646 enable_xaudio2_2
1647 enable_xaudio2_3
1648 enable_xaudio2_4
1649 enable_xaudio2_5
1650 enable_xaudio2_6
1651 enable_xaudio2_7
1652 enable_xaudio2_8
1653 enable_xaudio2_9
1654 enable_xinput1_1
1655 enable_xinput1_2
1656 enable_xinput1_3
1657 enable_xinput1_4
1658 enable_xinput9_1_0
1659 enable_xmllite
1660 enable_xolehlp
1661 enable_xpsprint
1662 enable_xpssvcs
1663 enable_fonts
1664 enable_include
1665 enable_port
1666 enable_wine
1667 enable_wpp
1668 enable_loader
1669 enable_po
1670 enable_arp
1671 enable_aspnet_regiis
1672 enable_attrib
1673 enable_cabarc
1674 enable_cacls
1675 enable_clock
1676 enable_cmd
1677 enable_conhost
1678 enable_control
1679 enable_cscript
1680 enable_dism
1681 enable_dpnsvr
1682 enable_dxdiag
1683 enable_eject
1684 enable_expand
1685 enable_explorer
1686 enable_extrac32
1687 enable_fc
1688 enable_find
1689 enable_findstr
1690 enable_fsutil
1691 enable_hh
1692 enable_hostname
1693 enable_icacls
1694 enable_icinfo
1695 enable_iexplore
1696 enable_ipconfig
1697 enable_lodctr
1698 enable_mofcomp
1699 enable_mshta
1700 enable_msiexec
1701 enable_msinfo32
1702 enable_net
1703 enable_netsh
1704 enable_netstat
1705 enable_ngen
1706 enable_notepad
1707 enable_oleview
1708 enable_ping
1709 enable_plugplay
1710 enable_powershell
1711 enable_presentationfontcache
1712 enable_progman
1713 enable_reg
1714 enable_regasm
1715 enable_regedit
1716 enable_regsvcs
1717 enable_regsvr32
1718 enable_rpcss
1719 enable_rundll32
1720 enable_sc
1721 enable_schtasks
1722 enable_sdbinst
1723 enable_secedit
1724 enable_servicemodelreg
1725 enable_services
1726 enable_shutdown
1727 enable_spoolsv
1728 enable_start
1729 enable_subst
1730 enable_svchost
1731 enable_systeminfo
1732 enable_taskkill
1733 enable_tasklist
1734 enable_taskmgr
1735 enable_termsv
1736 enable_uninstaller
1737 enable_unlodctr
1738 enable_view
1739 enable_wevtutil
1740 enable_wineboot
1741 enable_winebrowser
1742 enable_winecfg
1743 enable_wineconsole
1744 enable_winedbg
1745 enable_winedevice
1746 enable_winefile
1747 enable_winemenubuilder
1748 enable_winemine
1749 enable_winemsibuilder
1750 enable_winepath
1751 enable_winetest
1752 enable_winhlp32
1753 enable_winmgmt
1754 enable_winver
1755 enable_wmic
1756 enable_wmplayer
1757 enable_wordpad
1758 enable_write
1759 enable_wscript
1760 enable_wusa
1761 enable_xcopy
1762 enable_server
1763 enable_tools
1764 enable_sfnt2fon
1765 enable_widl
1766 enable_winebuild
1767 enable_winedump
1768 enable_winegcc
1769 enable_winemaker
1770 enable_wmc
1771 enable_wrc
1773 ac_precious_vars='build_alias
1774 host_alias
1775 target_alias
1777 CFLAGS
1778 LDFLAGS
1779 LIBS
1780 CPPFLAGS
1782 CXXFLAGS
1785 OBJC
1786 OBJCFLAGS
1787 OBJCPP
1788 XMKMF
1789 XML2_CFLAGS
1790 XML2_LIBS
1791 XSLT_CFLAGS
1792 XSLT_LIBS
1793 DBUS_CFLAGS
1794 DBUS_LIBS
1795 HAL_CFLAGS
1796 HAL_LIBS
1797 GNUTLS_CFLAGS
1798 GNUTLS_LIBS
1799 SANE_CFLAGS
1800 SANE_LIBS
1801 GPHOTO2_CFLAGS
1802 GPHOTO2_LIBS
1803 GPHOTO2_PORT_CFLAGS
1804 GPHOTO2_PORT_LIBS
1805 LCMS2_CFLAGS
1806 LCMS2_LIBS
1807 FREETYPE_CFLAGS
1808 FREETYPE_LIBS
1809 PULSE_CFLAGS
1810 PULSE_LIBS
1811 GSTREAMER_CFLAGS
1812 GSTREAMER_LIBS
1813 UDEV_CFLAGS
1814 UDEV_LIBS
1815 SDL2_CFLAGS
1816 SDL2_LIBS
1817 CAPI20_CFLAGS
1818 CAPI20_LIBS
1819 CUPS_CFLAGS
1820 CUPS_LIBS
1821 FONTCONFIG_CFLAGS
1822 FONTCONFIG_LIBS
1823 KRB5_CFLAGS
1824 KRB5_LIBS
1825 GSSAPI_CFLAGS
1826 GSSAPI_LIBS
1827 JPEG_CFLAGS
1828 JPEG_LIBS
1829 PNG_CFLAGS
1830 PNG_LIBS
1831 TIFF_CFLAGS
1832 TIFF_LIBS
1833 MPG123_CFLAGS
1834 MPG123_LIBS
1835 NETAPI_CFLAGS
1836 NETAPI_LIBS
1837 VKD3D_CFLAGS
1838 VKD3D_LIBS
1839 LDAP_CFLAGS
1840 LDAP_LIBS'
1843 # Initialize some variables set by options.
1844 ac_init_help=
1845 ac_init_version=false
1846 ac_unrecognized_opts=
1847 ac_unrecognized_sep=
1848 # The variables have the same names as the options, with
1849 # dashes changed to underlines.
1850 cache_file=/dev/null
1851 exec_prefix=NONE
1852 no_create=
1853 no_recursion=
1854 prefix=NONE
1855 program_prefix=NONE
1856 program_suffix=NONE
1857 program_transform_name=s,x,x,
1858 silent=
1859 site=
1860 srcdir=
1861 verbose=
1862 x_includes=NONE
1863 x_libraries=NONE
1865 # Installation directory options.
1866 # These are left unexpanded so users can "make install exec_prefix=/foo"
1867 # and all the variables that are supposed to be based on exec_prefix
1868 # by default will actually change.
1869 # Use braces instead of parens because sh, perl, etc. also accept them.
1870 # (The list follows the same order as the GNU Coding Standards.)
1871 bindir='${exec_prefix}/bin'
1872 sbindir='${exec_prefix}/sbin'
1873 libexecdir='${exec_prefix}/libexec'
1874 datarootdir='${prefix}/share'
1875 datadir='${datarootdir}'
1876 sysconfdir='${prefix}/etc'
1877 sharedstatedir='${prefix}/com'
1878 localstatedir='${prefix}/var'
1879 runstatedir='${localstatedir}/run'
1880 includedir='${prefix}/include'
1881 oldincludedir='/usr/include'
1882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1883 infodir='${datarootdir}/info'
1884 htmldir='${docdir}'
1885 dvidir='${docdir}'
1886 pdfdir='${docdir}'
1887 psdir='${docdir}'
1888 libdir='${exec_prefix}/lib'
1889 localedir='${datarootdir}/locale'
1890 mandir='${datarootdir}/man'
1892 ac_prev=
1893 ac_dashdash=
1894 for ac_option
1896 # If the previous option needs an argument, assign it.
1897 if test -n "$ac_prev"; then
1898 eval $ac_prev=\$ac_option
1899 ac_prev=
1900 continue
1903 case $ac_option in
1904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1905 *=) ac_optarg= ;;
1906 *) ac_optarg=yes ;;
1907 esac
1909 # Accept the important Cygnus configure options, so we can diagnose typos.
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: $ac_useropt"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: $ac_useropt"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: $ac_useropt"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 $as_echo X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 3.17 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 3.17:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --disable-win16 do not include Win16 support
2470 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2471 binaries)
2472 --disable-tests do not build the regression tests
2473 --enable-maintainer-mode
2474 enable maintainer-specific build rules
2475 --disable-largefile omit support for large files
2477 Optional Packages:
2478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2480 --without-alsa do not use the Alsa sound support
2481 --without-capi do not use CAPI (ISDN support)
2482 --without-cms do not use CMS (color management support)
2483 --without-coreaudio do not use the CoreAudio sound support
2484 --without-cups do not use CUPS
2485 --without-curses do not use (n)curses
2486 --without-dbus do not use DBus (dynamic device support)
2487 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2488 --without-fontconfig do not use fontconfig
2489 --without-freetype do not use the FreeType library
2490 --without-gettext do not use gettext
2491 --with-gettextpo use the GetTextPO library to rebuild po files
2492 --without-gphoto do not use gphoto (Digital Camera support)
2493 --without-glu do not use the GLU library
2494 --without-gnutls do not use GnuTLS (schannel support)
2495 --without-gsm do not use libgsm (GSM 06.10 codec support)
2496 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2497 --without-gstreamer do not use GStreamer (codecs support)
2498 --without-hal do not use HAL (dynamic device support)
2499 --without-jpeg do not use JPEG
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-ldap do not use LDAP
2502 --without-mpg123 do not use the mpg123 library
2503 --without-netapi do not use the Samba NetAPI library
2504 --without-openal do not use OpenAL
2505 --without-opencl do not use OpenCL
2506 --without-opengl do not use OpenGL
2507 --without-osmesa do not use the OSMesa library
2508 --without-oss do not use the OSS sound support
2509 --without-pcap do not use the Packet Capture library
2510 --without-png do not use PNG
2511 --without-pthread do not use the pthread library
2512 --without-pulse do not use PulseAudio sound support
2513 --without-sane do not use SANE (scanner support)
2514 --without-sdl do not use SDL
2515 --without-tiff do not use TIFF
2516 --without-udev do not use udev (plug and play support)
2517 --without-v4l do not use v4l1 (v4l support)
2518 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2519 --without-vulkan do not use Vulkan
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xml do not use XML
2527 --without-xrandr do not use Xrandr (resolution changes)
2528 --without-xrender do not use the Xrender extension
2529 --without-xshape do not use the Xshape extension
2530 --without-xshm do not use XShm (shared memory extension)
2531 --without-xslt do not use XSLT
2532 --without-xxf86vm do not use XFree video mode extension
2533 --without-zlib do not use Zlib (data compression)
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 CPP C preprocessor
2549 OBJC Objective C compiler command
2550 OBJCFLAGS Objective C compiler flags
2551 OBJCPP Objective C preprocessor
2552 XMKMF Path to xmkmf, Makefile generator for X Window System
2553 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2554 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2555 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2556 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2557 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2558 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2559 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2560 HAL_LIBS Linker flags for hal, overriding pkg-config
2561 GNUTLS_CFLAGS
2562 C compiler flags for gnutls, overriding pkg-config
2563 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2564 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2565 SANE_LIBS Linker flags for libsane, overriding pkg-config
2566 GPHOTO2_CFLAGS
2567 C compiler flags for libgphoto2, overriding pkg-config
2568 GPHOTO2_LIBS
2569 Linker flags for libgphoto2, overriding pkg-config
2570 GPHOTO2_PORT_CFLAGS
2571 C compiler flags for libgphoto2_port, overriding pkg-config
2572 GPHOTO2_PORT_LIBS
2573 Linker flags for libgphoto2_port, overriding pkg-config
2574 LCMS2_CFLAGS
2575 C compiler flags for lcms2, overriding pkg-config
2576 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2577 FREETYPE_CFLAGS
2578 C compiler flags for freetype2, overriding pkg-config
2579 FREETYPE_LIBS
2580 Linker flags for freetype2, overriding pkg-config
2581 PULSE_CFLAGS
2582 C compiler flags for libpulse, overriding pkg-config
2583 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2584 GSTREAMER_CFLAGS
2585 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2586 gstreamer-audio-1.0, overriding pkg-config
2587 GSTREAMER_LIBS
2588 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2589 gstreamer-audio-1.0, overriding pkg-config
2590 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2591 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2592 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2593 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2594 CAPI20_CFLAGS
2595 C compiler flags for capi20, overriding pkg-config
2596 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2597 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2598 CUPS_LIBS Linker flags for cups, overriding pkg-config
2599 FONTCONFIG_CFLAGS
2600 C compiler flags for fontconfig, overriding pkg-config
2601 FONTCONFIG_LIBS
2602 Linker flags for fontconfig, overriding pkg-config
2603 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2604 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2605 GSSAPI_CFLAGS
2606 C compiler flags for krb5-gssapi, overriding pkg-config
2607 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2608 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2609 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2610 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2611 PNG_LIBS Linker flags for libpng, overriding pkg-config
2612 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2613 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2614 MPG123_CFLAGS
2615 C compiler flags for libmpg123, overriding pkg-config
2616 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2617 NETAPI_CFLAGS
2618 C compiler flags for netapi, overriding pkg-config
2619 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2620 VKD3D_CFLAGS
2621 C compiler flags for libvkd3d, overriding pkg-config
2622 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2623 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2624 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2626 Use these variables to override the choices made by `configure' or to help
2627 it to find libraries and programs with nonstandard names/locations.
2629 Report bugs to <wine-devel@winehq.org>.
2630 Wine home page: <https://www.winehq.org>.
2631 _ACEOF
2632 ac_status=$?
2635 if test "$ac_init_help" = "recursive"; then
2636 # If there are subdirs, report their specific --help.
2637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2638 test -d "$ac_dir" ||
2639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2640 continue
2641 ac_builddir=.
2643 case "$ac_dir" in
2644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2647 # A ".." for each directory in $ac_dir_suffix.
2648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2649 case $ac_top_builddir_sub in
2650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2652 esac ;;
2653 esac
2654 ac_abs_top_builddir=$ac_pwd
2655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2656 # for backward compatibility:
2657 ac_top_builddir=$ac_top_build_prefix
2659 case $srcdir in
2660 .) # We are building in place.
2661 ac_srcdir=.
2662 ac_top_srcdir=$ac_top_builddir_sub
2663 ac_abs_top_srcdir=$ac_pwd ;;
2664 [\\/]* | ?:[\\/]* ) # Absolute name.
2665 ac_srcdir=$srcdir$ac_dir_suffix;
2666 ac_top_srcdir=$srcdir
2667 ac_abs_top_srcdir=$srcdir ;;
2668 *) # Relative name.
2669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2670 ac_top_srcdir=$ac_top_build_prefix$srcdir
2671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2672 esac
2673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2675 cd "$ac_dir" || { ac_status=$?; continue; }
2676 # Check for guested configure.
2677 if test -f "$ac_srcdir/configure.gnu"; then
2678 echo &&
2679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2680 elif test -f "$ac_srcdir/configure"; then
2681 echo &&
2682 $SHELL "$ac_srcdir/configure" --help=recursive
2683 else
2684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2685 fi || ac_status=$?
2686 cd "$ac_pwd" || { ac_status=$?; break; }
2687 done
2690 test -n "$ac_init_help" && exit $ac_status
2691 if $ac_init_version; then
2692 cat <<\_ACEOF
2693 Wine configure 3.17
2694 generated by GNU Autoconf 2.69
2696 Copyright (C) 2012 Free Software Foundation, Inc.
2697 This configure script is free software; the Free Software Foundation
2698 gives unlimited permission to copy, distribute and modify it.
2699 _ACEOF
2700 exit
2703 ## ------------------------ ##
2704 ## Autoconf initialization. ##
2705 ## ------------------------ ##
2707 # ac_fn_c_try_compile LINENO
2708 # --------------------------
2709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2710 ac_fn_c_try_compile ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 rm -f conftest.$ac_objext
2714 if { { ac_try="$ac_compile"
2715 case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2718 esac
2719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2720 $as_echo "$ac_try_echo"; } >&5
2721 (eval "$ac_compile") 2>conftest.err
2722 ac_status=$?
2723 if test -s conftest.err; then
2724 grep -v '^ *+' conftest.err >conftest.er1
2725 cat conftest.er1 >&5
2726 mv -f conftest.er1 conftest.err
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; } && {
2730 test -z "$ac_c_werror_flag" ||
2731 test ! -s conftest.err
2732 } && test -s conftest.$ac_objext; then :
2733 ac_retval=0
2734 else
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 ac_retval=1
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 as_fn_set_status $ac_retval
2743 } # ac_fn_c_try_compile
2745 # ac_fn_cxx_try_compile LINENO
2746 # ----------------------------
2747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2748 ac_fn_cxx_try_compile ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 rm -f conftest.$ac_objext
2752 if { { ac_try="$ac_compile"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2758 $as_echo "$ac_try_echo"; } >&5
2759 (eval "$ac_compile") 2>conftest.err
2760 ac_status=$?
2761 if test -s conftest.err; then
2762 grep -v '^ *+' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2764 mv -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } && {
2768 test -z "$ac_cxx_werror_flag" ||
2769 test ! -s conftest.err
2770 } && test -s conftest.$ac_objext; then :
2771 ac_retval=0
2772 else
2773 $as_echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 ac_retval=1
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 as_fn_set_status $ac_retval
2781 } # ac_fn_cxx_try_compile
2783 # ac_fn_c_try_link LINENO
2784 # -----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded.
2786 ac_fn_c_try_link ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 rm -f conftest.$ac_objext conftest$ac_exeext
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>conftest.err
2798 ac_status=$?
2799 if test -s conftest.err; then
2800 grep -v '^ *+' conftest.err >conftest.er1
2801 cat conftest.er1 >&5
2802 mv -f conftest.er1 conftest.err
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest$ac_exeext && {
2809 test "$cross_compiling" = yes ||
2810 test -x conftest$ac_exeext
2811 }; then :
2812 ac_retval=0
2813 else
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2821 # interfere with the next link command; also delete a directory that is
2822 # left behind by Apple's compiler. We do this before executing the actions.
2823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_link
2829 # ac_fn_c_try_cpp LINENO
2830 # ----------------------
2831 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2832 ac_fn_c_try_cpp ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if { { ac_try="$ac_cpp conftest.$ac_ext"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2843 ac_status=$?
2844 if test -s conftest.err; then
2845 grep -v '^ *+' conftest.err >conftest.er1
2846 cat conftest.er1 >&5
2847 mv -f conftest.er1 conftest.err
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; } > conftest.i && {
2851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2852 test ! -s conftest.err
2853 }; then :
2854 ac_retval=0
2855 else
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=1
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 as_fn_set_status $ac_retval
2864 } # ac_fn_c_try_cpp
2866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2867 # -------------------------------------------------------
2868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2869 # the include files in INCLUDES and setting the cache variable VAR
2870 # accordingly.
2871 ac_fn_c_check_header_mongrel ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 if eval \${$3+:} false; then :
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 $as_echo_n "checking for $2... " >&6; }
2877 if eval \${$3+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 eval ac_res=\$$3
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2882 $as_echo "$ac_res" >&6; }
2883 else
2884 # Is the header compilable?
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2886 $as_echo_n "checking $2 usability... " >&6; }
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2890 #include <$2>
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2893 ac_header_compiler=yes
2894 else
2895 ac_header_compiler=no
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2899 $as_echo "$ac_header_compiler" >&6; }
2901 # Is the header present?
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2903 $as_echo_n "checking $2 presence... " >&6; }
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2906 #include <$2>
2907 _ACEOF
2908 if ac_fn_c_try_cpp "$LINENO"; then :
2909 ac_header_preproc=yes
2910 else
2911 ac_header_preproc=no
2913 rm -f conftest.err conftest.i conftest.$ac_ext
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2915 $as_echo "$ac_header_preproc" >&6; }
2917 # So? What about this header?
2918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2919 yes:no: )
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2925 no:yes:* )
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2936 ( $as_echo "## ------------------------------------ ##
2937 ## Report this to wine-devel@winehq.org ##
2938 ## ------------------------------------ ##"
2939 ) | sed "s/^/$as_me: WARNING: /" >&2
2941 esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 eval "$3=\$ac_header_compiler"
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_header_mongrel
2957 # ac_fn_c_try_run LINENO
2958 # ----------------------
2959 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2960 # that executables *can* be run.
2961 ac_fn_c_try_run ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if { { ac_try="$ac_link"
2965 case "(($ac_try" in
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2968 esac
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2972 ac_status=$?
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2975 { { case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_try") 2>&5
2982 ac_status=$?
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; }; then :
2985 ac_retval=0
2986 else
2987 $as_echo "$as_me: program exited with status $ac_status" >&5
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 ac_retval=$ac_status
2993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 as_fn_set_status $ac_retval
2997 } # ac_fn_c_try_run
2999 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3000 # -------------------------------------------------------
3001 # Tests whether HEADER exists and can be compiled using the include files in
3002 # INCLUDES, setting the cache variable VAR accordingly.
3003 ac_fn_c_check_header_compile ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3007 $as_echo_n "checking for $2... " >&6; }
3008 if eval \${$3+:} false; then :
3009 $as_echo_n "(cached) " >&6
3010 else
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3014 #include <$2>
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 eval "$3=yes"
3018 else
3019 eval "$3=no"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_header_compile
3030 # ac_fn_objc_try_compile LINENO
3031 # -----------------------------
3032 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3033 ac_fn_objc_try_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 rm -f conftest.$ac_objext
3037 if { { ac_try="$ac_compile"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_compile") 2>conftest.err
3045 ac_status=$?
3046 if test -s conftest.err; then
3047 grep -v '^ *+' conftest.err >conftest.er1
3048 cat conftest.er1 >&5
3049 mv -f conftest.er1 conftest.err
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; } && {
3053 test -z "$ac_objc_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then :
3056 ac_retval=0
3057 else
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 ac_retval=1
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_objc_try_compile
3068 # ac_fn_objc_try_cpp LINENO
3069 # -------------------------
3070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3071 ac_fn_objc_try_cpp ()
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 ac_status=$?
3083 if test -s conftest.err; then
3084 grep -v '^ *+' conftest.err >conftest.er1
3085 cat conftest.er1 >&5
3086 mv -f conftest.er1 conftest.err
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; } > conftest.i && {
3090 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then :
3093 ac_retval=0
3094 else
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 ac_retval=1
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3103 } # ac_fn_objc_try_cpp
3105 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3106 # ----------------------------------------------------------
3107 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3108 # the include files in INCLUDES and setting the cache variable VAR
3109 # accordingly.
3110 ac_fn_objc_check_header_mongrel ()
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 if eval \${$3+:} false; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 else
3123 # Is the header compilable?
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3125 $as_echo_n "checking $2 usability... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3129 #include <$2>
3130 _ACEOF
3131 if ac_fn_objc_try_compile "$LINENO"; then :
3132 ac_header_compiler=yes
3133 else
3134 ac_header_compiler=no
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3138 $as_echo "$ac_header_compiler" >&6; }
3140 # Is the header present?
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3142 $as_echo_n "checking $2 presence... " >&6; }
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_objc_try_cpp "$LINENO"; then :
3148 ac_header_preproc=yes
3149 else
3150 ac_header_preproc=no
3152 rm -f conftest.err conftest.i conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3154 $as_echo "$ac_header_preproc" >&6; }
3156 # So? What about this header?
3157 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3158 yes:no: )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3160 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164 no:yes:* )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3166 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3168 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3170 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3172 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ( $as_echo "## ------------------------------------ ##
3176 ## Report this to wine-devel@winehq.org ##
3177 ## ------------------------------------ ##"
3178 ) | sed "s/^/$as_me: WARNING: /" >&2
3180 esac
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 eval "$3=\$ac_header_compiler"
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3194 } # ac_fn_objc_check_header_mongrel
3196 # ac_fn_c_check_func LINENO FUNC VAR
3197 # ----------------------------------
3198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3199 ac_fn_c_check_func ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3211 #define $2 innocuous_$2
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char $2 (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3218 #ifdef __STDC__
3219 # include <limits.h>
3220 #else
3221 # include <assert.h>
3222 #endif
3224 #undef $2
3226 /* Override any GCC internal prototype to avoid an error.
3227 Use char because int might match the return type of a GCC
3228 builtin and then its argument prototype would still apply. */
3229 #ifdef __cplusplus
3230 extern "C"
3231 #endif
3232 char $2 ();
3233 /* The GNU C library defines this for functions which it implements
3234 to always fail with ENOSYS. Some functions are actually named
3235 something starting with __ and the normal name is an alias. */
3236 #if defined __stub_$2 || defined __stub___$2
3237 choke me
3238 #endif
3241 main ()
3243 return $2 ();
3245 return 0;
3247 _ACEOF
3248 if ac_fn_c_try_link "$LINENO"; then :
3249 eval "$3=yes"
3250 else
3251 eval "$3=no"
3253 rm -f core conftest.err conftest.$ac_objext \
3254 conftest$ac_exeext conftest.$ac_ext
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 } # ac_fn_c_check_func
3263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3264 # ----------------------------------------------------
3265 # Tries to find if the field MEMBER exists in type AGGR, after including
3266 # INCLUDES, setting cache variable VAR accordingly.
3267 ac_fn_c_check_member ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3271 $as_echo_n "checking for $2.$3... " >&6; }
3272 if eval \${$4+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3279 main ()
3281 static $2 ac_aggr;
3282 if (ac_aggr.$3)
3283 return 0;
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 eval "$4=yes"
3290 else
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main ()
3297 static $2 ac_aggr;
3298 if (sizeof ac_aggr.$3)
3299 return 0;
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 eval "$4=yes"
3306 else
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 $as_echo "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 $as_echo_n "checking for $2... " >&6; }
3329 if eval \${$3+:} false; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 eval "$3=no"
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3337 main ()
3339 if (sizeof ($2))
3340 return 0;
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 main ()
3352 if (sizeof (($2)))
3353 return 0;
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3360 else
3361 eval "$3=yes"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 eval ac_res=\$$3
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3369 $as_echo "$ac_res" >&6; }
3370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3372 } # ac_fn_c_check_type
3373 cat >config.log <<_ACEOF
3374 This file contains any messages produced by compilers while
3375 running configure, to aid debugging if configure makes a mistake.
3377 It was created by Wine $as_me 3.17, which was
3378 generated by GNU Autoconf 2.69. Invocation command line was
3380 $ $0 $@
3382 _ACEOF
3383 exec 5>>config.log
3385 cat <<_ASUNAME
3386 ## --------- ##
3387 ## Platform. ##
3388 ## --------- ##
3390 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3391 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3392 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3393 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3394 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3396 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3397 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3399 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3400 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3401 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3402 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3403 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3404 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3405 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3407 _ASUNAME
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 for as_dir in $PATH
3412 IFS=$as_save_IFS
3413 test -z "$as_dir" && as_dir=.
3414 $as_echo "PATH: $as_dir"
3415 done
3416 IFS=$as_save_IFS
3418 } >&5
3420 cat >&5 <<_ACEOF
3423 ## ----------- ##
3424 ## Core tests. ##
3425 ## ----------- ##
3427 _ACEOF
3430 # Keep a trace of the command line.
3431 # Strip out --no-create and --no-recursion so they do not pile up.
3432 # Strip out --silent because we don't want to record it for future runs.
3433 # Also quote any args containing shell meta-characters.
3434 # Make two passes to allow for proper duplicate-argument suppression.
3435 ac_configure_args=
3436 ac_configure_args0=
3437 ac_configure_args1=
3438 ac_must_keep_next=false
3439 for ac_pass in 1 2
3441 for ac_arg
3443 case $ac_arg in
3444 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3446 | -silent | --silent | --silen | --sile | --sil)
3447 continue ;;
3448 *\'*)
3449 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3450 esac
3451 case $ac_pass in
3452 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3454 as_fn_append ac_configure_args1 " '$ac_arg'"
3455 if test $ac_must_keep_next = true; then
3456 ac_must_keep_next=false # Got value, back to normal.
3457 else
3458 case $ac_arg in
3459 *=* | --config-cache | -C | -disable-* | --disable-* \
3460 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3461 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3462 | -with-* | --with-* | -without-* | --without-* | --x)
3463 case "$ac_configure_args0 " in
3464 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3465 esac
3467 -* ) ac_must_keep_next=true ;;
3468 esac
3470 as_fn_append ac_configure_args " '$ac_arg'"
3472 esac
3473 done
3474 done
3475 { ac_configure_args0=; unset ac_configure_args0;}
3476 { ac_configure_args1=; unset ac_configure_args1;}
3478 # When interrupted or exit'd, cleanup temporary files, and complete
3479 # config.log. We remove comments because anyway the quotes in there
3480 # would cause problems or look ugly.
3481 # WARNING: Use '\'' to represent an apostrophe within the trap.
3482 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3483 trap 'exit_status=$?
3484 # Save into config.log some information that might help in debugging.
3486 echo
3488 $as_echo "## ---------------- ##
3489 ## Cache variables. ##
3490 ## ---------------- ##"
3491 echo
3492 # The following way of writing the cache mishandles newlines in values,
3494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3495 eval ac_val=\$$ac_var
3496 case $ac_val in #(
3497 *${as_nl}*)
3498 case $ac_var in #(
3499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3501 esac
3502 case $ac_var in #(
3503 _ | IFS | as_nl) ;; #(
3504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3505 *) { eval $ac_var=; unset $ac_var;} ;;
3506 esac ;;
3507 esac
3508 done
3509 (set) 2>&1 |
3510 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3511 *${as_nl}ac_space=\ *)
3512 sed -n \
3513 "s/'\''/'\''\\\\'\'''\''/g;
3514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3515 ;; #(
3517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3519 esac |
3520 sort
3522 echo
3524 $as_echo "## ----------------- ##
3525 ## Output variables. ##
3526 ## ----------------- ##"
3527 echo
3528 for ac_var in $ac_subst_vars
3530 eval ac_val=\$$ac_var
3531 case $ac_val in
3532 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 esac
3534 $as_echo "$ac_var='\''$ac_val'\''"
3535 done | sort
3536 echo
3538 if test -n "$ac_subst_files"; then
3539 $as_echo "## ------------------- ##
3540 ## File substitutions. ##
3541 ## ------------------- ##"
3542 echo
3543 for ac_var in $ac_subst_files
3545 eval ac_val=\$$ac_var
3546 case $ac_val in
3547 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3548 esac
3549 $as_echo "$ac_var='\''$ac_val'\''"
3550 done | sort
3551 echo
3554 if test -s confdefs.h; then
3555 $as_echo "## ----------- ##
3556 ## confdefs.h. ##
3557 ## ----------- ##"
3558 echo
3559 cat confdefs.h
3560 echo
3562 test "$ac_signal" != 0 &&
3563 $as_echo "$as_me: caught signal $ac_signal"
3564 $as_echo "$as_me: exit $exit_status"
3565 } >&5
3566 rm -f core *.core core.conftest.* &&
3567 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3568 exit $exit_status
3570 for ac_signal in 1 2 13 15; do
3571 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3572 done
3573 ac_signal=0
3575 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3576 rm -f -r conftest* confdefs.h
3578 $as_echo "/* confdefs.h */" > confdefs.h
3580 # Predefined preprocessor variables.
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_NAME "$PACKAGE_NAME"
3584 _ACEOF
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3588 _ACEOF
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3592 _ACEOF
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_STRING "$PACKAGE_STRING"
3596 _ACEOF
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3600 _ACEOF
3602 cat >>confdefs.h <<_ACEOF
3603 #define PACKAGE_URL "$PACKAGE_URL"
3604 _ACEOF
3607 # Let the site file select an alternate cache file if it wants to.
3608 # Prefer an explicitly selected file to automatically selected ones.
3609 ac_site_file1=NONE
3610 ac_site_file2=NONE
3611 if test -n "$CONFIG_SITE"; then
3612 # We do not want a PATH search for config.site.
3613 case $CONFIG_SITE in #((
3614 -*) ac_site_file1=./$CONFIG_SITE;;
3615 */*) ac_site_file1=$CONFIG_SITE;;
3616 *) ac_site_file1=./$CONFIG_SITE;;
3617 esac
3618 elif test "x$prefix" != xNONE; then
3619 ac_site_file1=$prefix/share/config.site
3620 ac_site_file2=$prefix/etc/config.site
3621 else
3622 ac_site_file1=$ac_default_prefix/share/config.site
3623 ac_site_file2=$ac_default_prefix/etc/config.site
3625 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3627 test "x$ac_site_file" = xNONE && continue
3628 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3630 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3631 sed 's/^/| /' "$ac_site_file" >&5
3632 . "$ac_site_file" \
3633 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "failed to load site script $ac_site_file
3636 See \`config.log' for more details" "$LINENO" 5; }
3638 done
3640 if test -r "$cache_file"; then
3641 # Some versions of bash will fail to source /dev/null (special files
3642 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3643 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3645 $as_echo "$as_me: loading cache $cache_file" >&6;}
3646 case $cache_file in
3647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3648 *) . "./$cache_file";;
3649 esac
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3653 $as_echo "$as_me: creating cache $cache_file" >&6;}
3654 >$cache_file
3657 # Check that the precious variables saved in the cache have kept the same
3658 # value.
3659 ac_cache_corrupted=false
3660 for ac_var in $ac_precious_vars; do
3661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3662 eval ac_new_set=\$ac_env_${ac_var}_set
3663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3664 eval ac_new_val=\$ac_env_${ac_var}_value
3665 case $ac_old_set,$ac_new_set in
3666 set,)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3668 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3669 ac_cache_corrupted=: ;;
3670 ,set)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3672 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3673 ac_cache_corrupted=: ;;
3674 ,);;
3676 if test "x$ac_old_val" != "x$ac_new_val"; then
3677 # differences in whitespace do not lead to failure.
3678 ac_old_val_w=`echo x $ac_old_val`
3679 ac_new_val_w=`echo x $ac_new_val`
3680 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3682 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3683 ac_cache_corrupted=:
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3686 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3687 eval $ac_var=\$ac_old_val
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3690 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3692 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3693 fi;;
3694 esac
3695 # Pass precious variables to config.status.
3696 if test "$ac_new_set" = set; then
3697 case $ac_new_val in
3698 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3699 *) ac_arg=$ac_var=$ac_new_val ;;
3700 esac
3701 case " $ac_configure_args " in
3702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3703 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3704 esac
3706 done
3707 if $ac_cache_corrupted; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3711 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3712 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3714 ## -------------------- ##
3715 ## Main body of script. ##
3716 ## -------------------- ##
3718 ac_ext=c
3719 ac_cpp='$CPP $CPPFLAGS'
3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 ac_config_headers="$ac_config_headers include/config.h"
3728 ac_aux_dir=
3729 for ac_dir in tools "$srcdir"/tools; do
3730 if test -f "$ac_dir/install-sh"; then
3731 ac_aux_dir=$ac_dir
3732 ac_install_sh="$ac_aux_dir/install-sh -c"
3733 break
3734 elif test -f "$ac_dir/install.sh"; then
3735 ac_aux_dir=$ac_dir
3736 ac_install_sh="$ac_aux_dir/install.sh -c"
3737 break
3738 elif test -f "$ac_dir/shtool"; then
3739 ac_aux_dir=$ac_dir
3740 ac_install_sh="$ac_aux_dir/shtool install -c"
3741 break
3743 done
3744 if test -z "$ac_aux_dir"; then
3745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3748 # These three variables are undocumented and unsupported,
3749 # and are intended to be withdrawn in a future Autoconf release.
3750 # They can cause serious problems if a builder's source tree is in a directory
3751 # whose full name contains unusual characters.
3752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3758 libwine_version="1.0"
3762 # Check whether --enable-win16 was given.
3763 if test "${enable_win16+set}" = set; then :
3764 enableval=$enable_win16;
3767 # Check whether --enable-win64 was given.
3768 if test "${enable_win64+set}" = set; then :
3769 enableval=$enable_win64;
3772 # Check whether --enable-tests was given.
3773 if test "${enable_tests+set}" = set; then :
3774 enableval=$enable_tests;
3777 # Check whether --enable-maintainer-mode was given.
3778 if test "${enable_maintainer_mode+set}" = set; then :
3779 enableval=$enable_maintainer_mode;
3784 # Check whether --with-alsa was given.
3785 if test "${with_alsa+set}" = set; then :
3786 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3790 # Check whether --with-capi was given.
3791 if test "${with_capi+set}" = set; then :
3792 withval=$with_capi;
3796 # Check whether --with-cms was given.
3797 if test "${with_cms+set}" = set; then :
3798 withval=$with_cms;
3802 # Check whether --with-coreaudio was given.
3803 if test "${with_coreaudio+set}" = set; then :
3804 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3808 # Check whether --with-cups was given.
3809 if test "${with_cups+set}" = set; then :
3810 withval=$with_cups;
3814 # Check whether --with-curses was given.
3815 if test "${with_curses+set}" = set; then :
3816 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3820 # Check whether --with-dbus was given.
3821 if test "${with_dbus+set}" = set; then :
3822 withval=$with_dbus;
3826 # Check whether --with-float-abi was given.
3827 if test "${with_float_abi+set}" = set; then :
3828 withval=$with_float_abi;
3832 # Check whether --with-fontconfig was given.
3833 if test "${with_fontconfig+set}" = set; then :
3834 withval=$with_fontconfig;
3838 # Check whether --with-freetype was given.
3839 if test "${with_freetype+set}" = set; then :
3840 withval=$with_freetype;
3844 # Check whether --with-gettext was given.
3845 if test "${with_gettext+set}" = set; then :
3846 withval=$with_gettext;
3850 # Check whether --with-gettextpo was given.
3851 if test "${with_gettextpo+set}" = set; then :
3852 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3856 # Check whether --with-gphoto was given.
3857 if test "${with_gphoto+set}" = set; then :
3858 withval=$with_gphoto;
3862 # Check whether --with-glu was given.
3863 if test "${with_glu+set}" = set; then :
3864 withval=$with_glu;
3868 # Check whether --with-gnutls was given.
3869 if test "${with_gnutls+set}" = set; then :
3870 withval=$with_gnutls;
3874 # Check whether --with-gsm was given.
3875 if test "${with_gsm+set}" = set; then :
3876 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3880 # Check whether --with-gssapi was given.
3881 if test "${with_gssapi+set}" = set; then :
3882 withval=$with_gssapi;
3886 # Check whether --with-gstreamer was given.
3887 if test "${with_gstreamer+set}" = set; then :
3888 withval=$with_gstreamer;
3892 # Check whether --with-hal was given.
3893 if test "${with_hal+set}" = set; then :
3894 withval=$with_hal;
3898 # Check whether --with-jpeg was given.
3899 if test "${with_jpeg+set}" = set; then :
3900 withval=$with_jpeg;
3904 # Check whether --with-krb5 was given.
3905 if test "${with_krb5+set}" = set; then :
3906 withval=$with_krb5;
3910 # Check whether --with-ldap was given.
3911 if test "${with_ldap+set}" = set; then :
3912 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3916 # Check whether --with-mpg123 was given.
3917 if test "${with_mpg123+set}" = set; then :
3918 withval=$with_mpg123;
3922 # Check whether --with-netapi was given.
3923 if test "${with_netapi+set}" = set; then :
3924 withval=$with_netapi;
3928 # Check whether --with-openal was given.
3929 if test "${with_openal+set}" = set; then :
3930 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3934 # Check whether --with-opencl was given.
3935 if test "${with_opencl+set}" = set; then :
3936 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3940 # Check whether --with-opengl was given.
3941 if test "${with_opengl+set}" = set; then :
3942 withval=$with_opengl;
3946 # Check whether --with-osmesa was given.
3947 if test "${with_osmesa+set}" = set; then :
3948 withval=$with_osmesa;
3952 # Check whether --with-oss was given.
3953 if test "${with_oss+set}" = set; then :
3954 withval=$with_oss;
3958 # Check whether --with-pcap was given.
3959 if test "${with_pcap+set}" = set; then :
3960 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3964 # Check whether --with-png was given.
3965 if test "${with_png+set}" = set; then :
3966 withval=$with_png;
3970 # Check whether --with-pthread was given.
3971 if test "${with_pthread+set}" = set; then :
3972 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3976 # Check whether --with-pulse was given.
3977 if test "${with_pulse+set}" = set; then :
3978 withval=$with_pulse;
3982 # Check whether --with-sane was given.
3983 if test "${with_sane+set}" = set; then :
3984 withval=$with_sane;
3988 # Check whether --with-sdl was given.
3989 if test "${with_sdl+set}" = set; then :
3990 withval=$with_sdl;
3994 # Check whether --with-tiff was given.
3995 if test "${with_tiff+set}" = set; then :
3996 withval=$with_tiff;
4000 # Check whether --with-udev was given.
4001 if test "${with_udev+set}" = set; then :
4002 withval=$with_udev;
4006 # Check whether --with-v4l was given.
4007 if test "${with_v4l+set}" = set; then :
4008 withval=$with_v4l;
4012 # Check whether --with-vkd3d was given.
4013 if test "${with_vkd3d+set}" = set; then :
4014 withval=$with_vkd3d;
4018 # Check whether --with-vulkan was given.
4019 if test "${with_vulkan+set}" = set; then :
4020 withval=$with_vulkan;
4024 # Check whether --with-xcomposite was given.
4025 if test "${with_xcomposite+set}" = set; then :
4026 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4030 # Check whether --with-xcursor was given.
4031 if test "${with_xcursor+set}" = set; then :
4032 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4036 # Check whether --with-xfixes was given.
4037 if test "${with_xfixes+set}" = set; then :
4038 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4042 # Check whether --with-xinerama was given.
4043 if test "${with_xinerama+set}" = set; then :
4044 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4048 # Check whether --with-xinput was given.
4049 if test "${with_xinput+set}" = set; then :
4050 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4054 # Check whether --with-xinput2 was given.
4055 if test "${with_xinput2+set}" = set; then :
4056 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4060 # Check whether --with-xml was given.
4061 if test "${with_xml+set}" = set; then :
4062 withval=$with_xml;
4066 # Check whether --with-xrandr was given.
4067 if test "${with_xrandr+set}" = set; then :
4068 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4072 # Check whether --with-xrender was given.
4073 if test "${with_xrender+set}" = set; then :
4074 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4078 # Check whether --with-xshape was given.
4079 if test "${with_xshape+set}" = set; then :
4080 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4084 # Check whether --with-xshm was given.
4085 if test "${with_xshm+set}" = set; then :
4086 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4090 # Check whether --with-xslt was given.
4091 if test "${with_xslt+set}" = set; then :
4092 withval=$with_xslt;
4096 # Check whether --with-xxf86vm was given.
4097 if test "${with_xxf86vm+set}" = set; then :
4098 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4102 # Check whether --with-zlib was given.
4103 if test "${with_zlib+set}" = set; then :
4104 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4109 # Check whether --with-wine-tools was given.
4110 if test "${with_wine_tools+set}" = set; then :
4111 withval=$with_wine_tools;
4115 # Check whether --with-wine64 was given.
4116 if test "${with_wine64+set}" = set; then :
4117 withval=$with_wine64;
4121 # Make sure we can run config.sub.
4122 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4123 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4126 $as_echo_n "checking build system type... " >&6; }
4127 if ${ac_cv_build+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 ac_build_alias=$build_alias
4131 test "x$ac_build_alias" = x &&
4132 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4133 test "x$ac_build_alias" = x &&
4134 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4136 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4140 $as_echo "$ac_cv_build" >&6; }
4141 case $ac_cv_build in
4142 *-*-*) ;;
4143 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4144 esac
4145 build=$ac_cv_build
4146 ac_save_IFS=$IFS; IFS='-'
4147 set x $ac_cv_build
4148 shift
4149 build_cpu=$1
4150 build_vendor=$2
4151 shift; shift
4152 # Remember, the first character of IFS is used to create $*,
4153 # except with old shells:
4154 build_os=$*
4155 IFS=$ac_save_IFS
4156 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4160 $as_echo_n "checking host system type... " >&6; }
4161 if ${ac_cv_host+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 if test "x$host_alias" = x; then
4165 ac_cv_host=$ac_cv_build
4166 else
4167 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4173 $as_echo "$ac_cv_host" >&6; }
4174 case $ac_cv_host in
4175 *-*-*) ;;
4176 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4177 esac
4178 host=$ac_cv_host
4179 ac_save_IFS=$IFS; IFS='-'
4180 set x $ac_cv_host
4181 shift
4182 host_cpu=$1
4183 host_vendor=$2
4184 shift; shift
4185 # Remember, the first character of IFS is used to create $*,
4186 # except with old shells:
4187 host_os=$*
4188 IFS=$ac_save_IFS
4189 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4193 case "$srcdir" in
4194 .) ;;
4195 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4196 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4197 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4198 fi ;;
4199 esac
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4203 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4204 set x ${MAKE-make}
4205 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4206 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4207 $as_echo_n "(cached) " >&6
4208 else
4209 cat >conftest.make <<\_ACEOF
4210 SHELL = /bin/sh
4211 all:
4212 @echo '@@@%%%=$(MAKE)=@@@%%%'
4213 _ACEOF
4214 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4216 *@@@%%%=?*=@@@%%%*)
4217 eval ac_cv_prog_make_${ac_make}_set=yes;;
4219 eval ac_cv_prog_make_${ac_make}_set=no;;
4220 esac
4221 rm -f conftest.make
4223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4226 SET_MAKE=
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4230 SET_MAKE="MAKE=${MAKE-make}"
4233 ac_ext=c
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238 if test -n "$ac_tool_prefix"; then
4239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if ${ac_cv_prog_CC+:} false; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 if test -n "$CC"; then
4247 ac_cv_prog_CC="$CC" # Let the user override the test.
4248 else
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 for as_dir in $PATH
4252 IFS=$as_save_IFS
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 break 2
4260 done
4261 done
4262 IFS=$as_save_IFS
4266 CC=$ac_cv_prog_CC
4267 if test -n "$CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4269 $as_echo "$CC" >&6; }
4270 else
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 if test -z "$ac_cv_prog_CC"; then
4278 ac_ct_CC=$CC
4279 # Extract the first word of "gcc", so it can be a program name with args.
4280 set dummy gcc; ac_word=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 if test -n "$ac_ct_CC"; then
4287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4288 else
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_ac_ct_CC="gcc"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4300 done
4301 done
4302 IFS=$as_save_IFS
4306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4307 if test -n "$ac_ct_CC"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4309 $as_echo "$ac_ct_CC" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4315 if test "x$ac_ct_CC" = x; then
4316 CC=""
4317 else
4318 case $cross_compiling:$ac_tool_warned in
4319 yes:)
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322 ac_tool_warned=yes ;;
4323 esac
4324 CC=$ac_ct_CC
4326 else
4327 CC="$ac_cv_prog_CC"
4330 if test -z "$CC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4333 set dummy ${ac_tool_prefix}cc; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CC+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CC="${ac_tool_prefix}cc"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4353 done
4354 done
4355 IFS=$as_save_IFS
4359 CC=$ac_cv_prog_CC
4360 if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362 $as_echo "$CC" >&6; }
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4371 if test -z "$CC"; then
4372 # Extract the first word of "cc", so it can be a program name with args.
4373 set dummy cc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC="$CC" # Let the user override the test.
4381 else
4382 ac_prog_rejected=no
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4391 ac_prog_rejected=yes
4392 continue
4394 ac_cv_prog_CC="cc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4402 if test $ac_prog_rejected = yes; then
4403 # We found a bogon in the path, so make sure we never use it.
4404 set dummy $ac_cv_prog_CC
4405 shift
4406 if test $# != 0; then
4407 # We chose a different compiler from the bogus one.
4408 # However, it has the same basename, so the bogon will be chosen
4409 # first if we set CC to just the basename; use the full file name.
4410 shift
4411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4416 CC=$ac_cv_prog_CC
4417 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in cl.exe
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CC+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$CC" && break
4469 done
4471 if test -z "$CC"; then
4472 ac_ct_CC=$CC
4473 for ac_prog in cl.exe
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CC"; then
4483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CC="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4505 $as_echo "$ac_ct_CC" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CC" && break
4513 done
4515 if test "x$ac_ct_CC" = x; then
4516 CC=""
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CC=$ac_ct_CC
4531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "no acceptable C compiler found in \$PATH
4534 See \`config.log' for more details" "$LINENO" 5; }
4536 # Provide some information about the compiler.
4537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4538 set X $ac_compile
4539 ac_compiler=$2
4540 for ac_option in --version -v -V -qversion; do
4541 { { ac_try="$ac_compiler $ac_option >&5"
4542 case "(($ac_try" in
4543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4545 esac
4546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4547 $as_echo "$ac_try_echo"; } >&5
4548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4549 ac_status=$?
4550 if test -s conftest.err; then
4551 sed '10a\
4552 ... rest of stderr output deleted ...
4553 10q' conftest.err >conftest.er1
4554 cat conftest.er1 >&5
4556 rm -f conftest.er1 conftest.err
4557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4558 test $ac_status = 0; }
4559 done
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4569 return 0;
4571 _ACEOF
4572 ac_clean_files_save=$ac_clean_files
4573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4574 # Try to create an executable without -o first, disregard a.out.
4575 # It will help us diagnose broken compilers, and finding out an intuition
4576 # of exeext.
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4578 $as_echo_n "checking whether the C compiler works... " >&6; }
4579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4581 # The possible output files:
4582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4584 ac_rmfiles=
4585 for ac_file in $ac_files
4587 case $ac_file in
4588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4590 esac
4591 done
4592 rm -f $ac_rmfiles
4594 if { { ac_try="$ac_link_default"
4595 case "(($ac_try" in
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4598 esac
4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600 $as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_link_default") 2>&5
4602 ac_status=$?
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }; then :
4605 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4607 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4608 # so that the user can short-circuit this test for compilers unknown to
4609 # Autoconf.
4610 for ac_file in $ac_files ''
4612 test -f "$ac_file" || continue
4613 case $ac_file in
4614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4616 [ab].out )
4617 # We found the default executable, but exeext='' is most
4618 # certainly right.
4619 break;;
4620 *.* )
4621 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4622 then :; else
4623 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4625 # We set ac_cv_exeext here because the later test for it is not
4626 # safe: cross compilers may not add the suffix if given an `-o'
4627 # argument, so we may need to know it at that point already.
4628 # Even if this section looks crufty: it has the advantage of
4629 # actually working.
4630 break;;
4632 break;;
4633 esac
4634 done
4635 test "$ac_cv_exeext" = no && ac_cv_exeext=
4637 else
4638 ac_file=''
4640 if test -z "$ac_file"; then :
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4643 $as_echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error 77 "C compiler cannot create executables
4649 See \`config.log' for more details" "$LINENO" 5; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4652 $as_echo "yes" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4655 $as_echo_n "checking for C compiler default output file name... " >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4657 $as_echo "$ac_file" >&6; }
4658 ac_exeext=$ac_cv_exeext
4660 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4661 ac_clean_files=$ac_clean_files_save
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4663 $as_echo_n "checking for suffix of executables... " >&6; }
4664 if { { ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4670 $as_echo "$ac_try_echo"; } >&5
4671 (eval "$ac_link") 2>&5
4672 ac_status=$?
4673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674 test $ac_status = 0; }; then :
4675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4677 # work properly (i.e., refer to `conftest.exe'), while it won't with
4678 # `rm'.
4679 for ac_file in conftest.exe conftest conftest.*; do
4680 test -f "$ac_file" || continue
4681 case $ac_file in
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4684 break;;
4685 * ) break;;
4686 esac
4687 done
4688 else
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4692 See \`config.log' for more details" "$LINENO" 5; }
4694 rm -f conftest conftest$ac_cv_exeext
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4696 $as_echo "$ac_cv_exeext" >&6; }
4698 rm -f conftest.$ac_ext
4699 EXEEXT=$ac_cv_exeext
4700 ac_exeext=$EXEEXT
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <stdio.h>
4705 main ()
4707 FILE *f = fopen ("conftest.out", "w");
4708 return ferror (f) || fclose (f) != 0;
4711 return 0;
4713 _ACEOF
4714 ac_clean_files="$ac_clean_files conftest.out"
4715 # Check that the compiler produces executables we can run. If not, either
4716 # the compiler is broken, or we cross compile.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4718 $as_echo_n "checking whether we are cross compiling... " >&6; }
4719 if test "$cross_compiling" != yes; then
4720 { { ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$ac_link") 2>&5
4728 ac_status=$?
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 if { ac_try='./conftest$ac_cv_exeext'
4732 { { case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_try") 2>&5
4739 ac_status=$?
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }; }; then
4742 cross_compiling=no
4743 else
4744 if test "$cross_compiling" = maybe; then
4745 cross_compiling=yes
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot run C compiled programs.
4750 If you meant to cross compile, use \`--host'.
4751 See \`config.log' for more details" "$LINENO" 5; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4756 $as_echo "$cross_compiling" >&6; }
4758 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4759 ac_clean_files=$ac_clean_files_save
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4761 $as_echo_n "checking for suffix of object files... " >&6; }
4762 if ${ac_cv_objext+:} false; then :
4763 $as_echo_n "(cached) " >&6
4764 else
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4773 return 0;
4775 _ACEOF
4776 rm -f conftest.o conftest.obj
4777 if { { ac_try="$ac_compile"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_compile") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 for ac_file in conftest.o conftest.obj conftest.*; do
4789 test -f "$ac_file" || continue;
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4793 break;;
4794 esac
4795 done
4796 else
4797 $as_echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.$ac_ext >&5
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of object files: cannot compile
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4808 $as_echo "$ac_cv_objext" >&6; }
4809 OBJEXT=$ac_cv_objext
4810 ac_objext=$OBJEXT
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4812 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4813 if ${ac_cv_c_compiler_gnu+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4822 #ifndef __GNUC__
4823 choke me
4824 #endif
4827 return 0;
4829 _ACEOF
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_compiler_gnu=yes
4832 else
4833 ac_compiler_gnu=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4841 if test $ac_compiler_gnu = yes; then
4842 GCC=yes
4843 else
4844 GCC=
4846 ac_test_CFLAGS=${CFLAGS+set}
4847 ac_save_CFLAGS=$CFLAGS
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4850 if ${ac_cv_prog_cc_g+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 ac_save_c_werror_flag=$ac_c_werror_flag
4854 ac_c_werror_flag=yes
4855 ac_cv_prog_cc_g=no
4856 CFLAGS="-g"
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 if ac_fn_c_try_compile "$LINENO"; then :
4869 ac_cv_prog_cc_g=yes
4870 else
4871 CFLAGS=""
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 if ac_fn_c_try_compile "$LINENO"; then :
4885 else
4886 ac_c_werror_flag=$ac_save_c_werror_flag
4887 CFLAGS="-g"
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_prog_cc_g=yes
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 ac_c_werror_flag=$ac_save_c_werror_flag
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4910 $as_echo "$ac_cv_prog_cc_g" >&6; }
4911 if test "$ac_test_CFLAGS" = set; then
4912 CFLAGS=$ac_save_CFLAGS
4913 elif test $ac_cv_prog_cc_g = yes; then
4914 if test "$GCC" = yes; then
4915 CFLAGS="-g -O2"
4916 else
4917 CFLAGS="-g"
4919 else
4920 if test "$GCC" = yes; then
4921 CFLAGS="-O2"
4922 else
4923 CFLAGS=
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4927 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4928 if ${ac_cv_prog_cc_c89+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 ac_cv_prog_cc_c89=no
4932 ac_save_CC=$CC
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 #include <stdarg.h>
4936 #include <stdio.h>
4937 struct stat;
4938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4939 struct buf { int x; };
4940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4941 static char *e (p, i)
4942 char **p;
4943 int i;
4945 return p[i];
4947 static char *f (char * (*g) (char **, int), char **p, ...)
4949 char *s;
4950 va_list v;
4951 va_start (v,p);
4952 s = g (p, va_arg (v,int));
4953 va_end (v);
4954 return s;
4957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4958 function prototypes and stuff, but not '\xHH' hex character constants.
4959 These don't provoke an error unfortunately, instead are silently treated
4960 as 'x'. The following induces an error, until -std is added to get
4961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4962 array size at least. It's necessary to write '\x00'==0 to get something
4963 that's true only with -std. */
4964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4966 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4967 inside strings and character constants. */
4968 #define FOO(x) 'x'
4969 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4971 int test (int i, double x);
4972 struct s1 {int (*f) (int a);};
4973 struct s2 {int (*f) (double a);};
4974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4975 int argc;
4976 char **argv;
4978 main ()
4980 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4982 return 0;
4984 _ACEOF
4985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4986 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4988 CC="$ac_save_CC $ac_arg"
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_c89=$ac_arg
4992 rm -f core conftest.err conftest.$ac_objext
4993 test "x$ac_cv_prog_cc_c89" != "xno" && break
4994 done
4995 rm -f conftest.$ac_ext
4996 CC=$ac_save_CC
4999 # AC_CACHE_VAL
5000 case "x$ac_cv_prog_cc_c89" in
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5003 $as_echo "none needed" >&6; } ;;
5004 xno)
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5006 $as_echo "unsupported" >&6; } ;;
5008 CC="$CC $ac_cv_prog_cc_c89"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5010 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5011 esac
5012 if test "x$ac_cv_prog_cc_c89" != xno; then :
5016 ac_ext=c
5017 ac_cpp='$CPP $CPPFLAGS'
5018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5022 ac_ext=cpp
5023 ac_cpp='$CXXCPP $CPPFLAGS'
5024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5027 if test -z "$CXX"; then
5028 if test -n "$CCC"; then
5029 CXX=$CCC
5030 else
5031 if test -n "$ac_tool_prefix"; then
5032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_CXX+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$CXX"; then
5042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 CXX=$ac_cv_prog_CXX
5062 if test -n "$CXX"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5064 $as_echo "$CXX" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$CXX" && break
5072 done
5074 if test -z "$CXX"; then
5075 ac_ct_CXX=$CXX
5076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_CXX"; then
5086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_CXX="$ac_prog"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5106 if test -n "$ac_ct_CXX"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5108 $as_echo "$ac_ct_CXX" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 test -n "$ac_ct_CXX" && break
5116 done
5118 if test "x$ac_ct_CXX" = x; then
5119 CXX="g++"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CXX=$ac_ct_CXX
5133 # Provide some information about the compiler.
5134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5135 set X $ac_compile
5136 ac_compiler=$2
5137 for ac_option in --version -v -V -qversion; do
5138 { { ac_try="$ac_compiler $ac_option >&5"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5144 $as_echo "$ac_try_echo"; } >&5
5145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5146 ac_status=$?
5147 if test -s conftest.err; then
5148 sed '10a\
5149 ... rest of stderr output deleted ...
5150 10q' conftest.err >conftest.er1
5151 cat conftest.er1 >&5
5153 rm -f conftest.er1 conftest.err
5154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }
5156 done
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5159 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5160 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5167 main ()
5169 #ifndef __GNUC__
5170 choke me
5171 #endif
5174 return 0;
5176 _ACEOF
5177 if ac_fn_cxx_try_compile "$LINENO"; then :
5178 ac_compiler_gnu=yes
5179 else
5180 ac_compiler_gnu=no
5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5187 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5188 if test $ac_compiler_gnu = yes; then
5189 GXX=yes
5190 else
5191 GXX=
5193 ac_test_CXXFLAGS=${CXXFLAGS+set}
5194 ac_save_CXXFLAGS=$CXXFLAGS
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5196 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5197 if ${ac_cv_prog_cxx_g+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5201 ac_cxx_werror_flag=yes
5202 ac_cv_prog_cxx_g=no
5203 CXXFLAGS="-g"
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5208 main ()
5212 return 0;
5214 _ACEOF
5215 if ac_fn_cxx_try_compile "$LINENO"; then :
5216 ac_cv_prog_cxx_g=yes
5217 else
5218 CXXFLAGS=""
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_cxx_try_compile "$LINENO"; then :
5232 else
5233 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5234 CXXFLAGS="-g"
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5239 main ()
5243 return 0;
5245 _ACEOF
5246 if ac_fn_cxx_try_compile "$LINENO"; then :
5247 ac_cv_prog_cxx_g=yes
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5257 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5258 if test "$ac_test_CXXFLAGS" = set; then
5259 CXXFLAGS=$ac_save_CXXFLAGS
5260 elif test $ac_cv_prog_cxx_g = yes; then
5261 if test "$GXX" = yes; then
5262 CXXFLAGS="-g -O2"
5263 else
5264 CXXFLAGS="-g"
5266 else
5267 if test "$GXX" = yes; then
5268 CXXFLAGS="-O2"
5269 else
5270 CXXFLAGS=
5273 ac_ext=c
5274 ac_cpp='$CPP $CPPFLAGS'
5275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279 if test -n "$ac_tool_prefix"; then
5280 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5281 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_CPPBIN+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$CPPBIN"; then
5288 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 CPPBIN=$ac_cv_prog_CPPBIN
5308 if test -n "$CPPBIN"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5310 $as_echo "$CPPBIN" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5318 if test -z "$ac_cv_prog_CPPBIN"; then
5319 ac_ct_CPPBIN=$CPPBIN
5320 # Extract the first word of "cpp", so it can be a program name with args.
5321 set dummy cpp; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -n "$ac_ct_CPPBIN"; then
5328 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5329 else
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_ac_ct_CPPBIN="cpp"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 break 2
5341 done
5342 done
5343 IFS=$as_save_IFS
5347 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5348 if test -n "$ac_ct_CPPBIN"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5350 $as_echo "$ac_ct_CPPBIN" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5356 if test "x$ac_ct_CPPBIN" = x; then
5357 CPPBIN="cpp"
5358 else
5359 case $cross_compiling:$ac_tool_warned in
5360 yes:)
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5363 ac_tool_warned=yes ;;
5364 esac
5365 CPPBIN=$ac_ct_CPPBIN
5367 else
5368 CPPBIN="$ac_cv_prog_CPPBIN"
5372 cat >>confdefs.h <<_ACEOF
5373 #define EXEEXT "$ac_exeext"
5374 _ACEOF
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}ld; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_LD+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$LD"; then
5385 ac_cv_prog_LD="$LD" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_LD="${ac_tool_prefix}ld"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 LD=$ac_cv_prog_LD
5405 if test -n "$LD"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5407 $as_echo "$LD" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_LD"; then
5416 ac_ct_LD=$LD
5417 # Extract the first word of "ld", so it can be a program name with args.
5418 set dummy ld; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_LD"; then
5425 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_LD="ld"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5445 if test -n "$ac_ct_LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5447 $as_echo "$ac_ct_LD" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_LD" = x; then
5454 LD=""
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 LD=$ac_ct_LD
5464 else
5465 LD="$ac_cv_prog_LD"
5469 case $host in
5470 *-darwin*)
5471 with_fontconfig=${with_fontconfig:-no}
5473 *-mingw32*|*-cygwin*)
5474 enable_win16=${enable_win16:-no}
5475 CFLAGS="$CFLAGS -D_WIN32"
5477 esac
5479 case $host in
5480 x86_64*|amd64*)
5481 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5482 then
5483 CC="$CC -m32"
5484 CXX="$CXX -m32"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5486 $as_echo_n "checking whether $CC works... " >&6; }
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main ()
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_link "$LINENO"; then :
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5501 $as_echo "yes" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5505 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5507 rm -f core conftest.err conftest.$ac_objext \
5508 conftest$ac_exeext conftest.$ac_ext
5509 host_cpu="i386"
5510 notice_platform="32-bit "
5511 TARGETFLAGS="-m32"
5513 WIDLFLAGS="--win32"
5515 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5516 export PKG_CONFIG_PATH
5517 enable_win16=${enable_win16:-yes}
5518 else
5519 if test "x${GCC}" = "xyes"
5520 then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5522 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 #include <stdarg.h>
5527 main ()
5529 void func(__builtin_ms_va_list *args);
5531 return 0;
5533 _ACEOF
5534 if ac_fn_c_try_compile "$LINENO"; then :
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 $as_echo "yes" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5540 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 CC="$CC -m64"
5545 CXX="$CXX -m64"
5546 host_cpu="x86_64"
5547 notice_platform="64-bit "
5548 TARGETFLAGS="-m64"
5550 WIDLFLAGS="--win64"
5554 arm*)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5556 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5558 /* end confdefs.h. */
5559 int ac_test(int i) { return i; }
5561 main ()
5563 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5565 return 0;
5567 _ACEOF
5568 if ac_fn_c_try_link "$LINENO"; then :
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5570 $as_echo "yes" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5576 rm -f core conftest.err conftest.$ac_objext \
5577 conftest$ac_exeext conftest.$ac_ext
5578 case $with_float_abi in
5579 soft|softfp|hard)
5580 float_abi=$with_float_abi ;;
5582 case $host_os in
5583 *eabihf)
5584 float_abi=hard ;;
5586 float_abi=softfp
5587 saved_CFLAGS=$CFLAGS
5588 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5590 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5595 main ()
5597 asm("vmrs r2,fpscr");
5599 return 0;
5601 _ACEOF
5602 if ac_fn_c_try_link "$LINENO"; then :
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5604 $as_echo "yes" >&6; }
5605 else
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5608 float_abi=soft
5609 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5611 rm -f core conftest.err conftest.$ac_objext \
5612 conftest$ac_exeext conftest.$ac_ext
5613 CFLAGS=$saved_CFLAGS
5614 esac
5616 esac
5617 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5618 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5620 WIDLFLAGS="--win32"
5623 aarch64*)
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5625 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5628 #include <stdarg.h>
5630 main ()
5632 void func(__builtin_ms_va_list *args);
5634 return 0;
5636 _ACEOF
5637 if ac_fn_c_try_compile "$LINENO"; then :
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5643 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 WIDLFLAGS="--win64"
5649 i[3456789]86*)
5650 enable_win16=${enable_win16:-yes}
5651 WIDLFLAGS="--win32"
5654 esac
5656 enable_win16=${enable_win16:-no}
5657 enable_win64=${enable_win64:-no}
5659 enable_winetest=${enable_winetest:-$enable_tests}
5661 if test -n "$with_wine64"
5662 then
5663 if test "x$enable_win64" = "xyes"
5664 then
5665 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5666 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5668 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5669 You should create a separate build directory and run configure from there." "$LINENO" 5
5670 enable_fonts=${enable_fonts:-no}
5671 enable_server=${enable_server:-no}
5672 wine64_disable=\#
5674 elif test "x$enable_win64" = "xyes"
5675 then
5676 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5680 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5681 if ${wine_cv_toolsdir+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 wine_cv_toolsdir="$with_wine_tools"
5685 if test -z "$with_wine_tools"; then
5686 if test "$cross_compiling" = "yes"; then
5687 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5688 elif test -n "$with_wine64"; then
5689 wine_cv_toolsdir="$with_wine64"
5692 if test -z "$wine_cv_toolsdir"; then
5693 wine_makedep=tools/makedep
5694 wine_cv_toolsdir="\$(top_builddir)"
5695 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5696 wine_makedep=$wine_cv_toolsdir/tools/makedep
5697 case "$wine_cv_toolsdir" in
5698 /*) ;;
5699 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5700 esac
5701 enable_tools=${enable_tools:-no}
5702 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5703 else
5704 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5708 $as_echo "$wine_cv_toolsdir" >&6; }
5709 TOOLSDIR=$wine_cv_toolsdir
5711 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5712 then
5713 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5717 for ac_prog in flex
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy $ac_prog; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_FLEX+:} false; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 if test -n "$FLEX"; then
5727 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5732 IFS=$as_save_IFS
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_FLEX="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 break 2
5740 done
5741 done
5742 IFS=$as_save_IFS
5746 FLEX=$ac_cv_prog_FLEX
5747 if test -n "$FLEX"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5749 $as_echo "$FLEX" >&6; }
5750 else
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$FLEX" && break
5757 done
5758 test -n "$FLEX" || FLEX="none"
5760 if test "$FLEX" = "none"
5761 then
5762 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5765 $as_echo_n "checking whether flex is recent enough... " >&6; }
5766 cat >conftest.l <<EOF
5767 %top{
5768 #include "prediluvian.h"
5772 if $FLEX -t conftest.l >/dev/null 2>&5
5773 then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5775 $as_echo "yes" >&6; }
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5779 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5782 for ac_prog in bison
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_BISON+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$BISON"; then
5792 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_BISON="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 BISON=$ac_cv_prog_BISON
5812 if test -n "$BISON"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5814 $as_echo "$BISON" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$BISON" && break
5822 done
5823 test -n "$BISON" || BISON="none"
5825 if test "$BISON" = "none"
5826 then
5827 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5830 if test -n "$ac_tool_prefix"; then
5831 for ac_prog in ar gar
5833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_AR+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 if test -n "$AR"; then
5841 ac_cv_prog_AR="$AR" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 AR=$ac_cv_prog_AR
5861 if test -n "$AR"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5863 $as_echo "$AR" >&6; }
5864 else
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5870 test -n "$AR" && break
5871 done
5873 if test -z "$AR"; then
5874 ac_ct_AR=$AR
5875 for ac_prog in ar gar
5877 # Extract the first word of "$ac_prog", so it can be a program name with args.
5878 set dummy $ac_prog; ac_word=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5884 if test -n "$ac_ct_AR"; then
5885 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5886 else
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 for as_dir in $PATH
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_ac_ct_AR="$ac_prog"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 break 2
5898 done
5899 done
5900 IFS=$as_save_IFS
5904 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5905 if test -n "$ac_ct_AR"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5907 $as_echo "$ac_ct_AR" >&6; }
5908 else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5914 test -n "$ac_ct_AR" && break
5915 done
5917 if test "x$ac_ct_AR" = x; then
5918 AR="ar"
5919 else
5920 case $cross_compiling:$ac_tool_warned in
5921 yes:)
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5924 ac_tool_warned=yes ;;
5925 esac
5926 AR=$ac_ct_AR
5930 if test -n "$ac_tool_prefix"; then
5931 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5932 set dummy ${ac_tool_prefix}strip; ac_word=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_STRIP+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 if test -n "$STRIP"; then
5939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5940 else
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 for as_dir in $PATH
5944 IFS=$as_save_IFS
5945 test -z "$as_dir" && as_dir=.
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 break 2
5952 done
5953 done
5954 IFS=$as_save_IFS
5958 STRIP=$ac_cv_prog_STRIP
5959 if test -n "$STRIP"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5961 $as_echo "$STRIP" >&6; }
5962 else
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5969 if test -z "$ac_cv_prog_STRIP"; then
5970 ac_ct_STRIP=$STRIP
5971 # Extract the first word of "strip", so it can be a program name with args.
5972 set dummy strip; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$ac_ct_STRIP"; then
5979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ac_ct_STRIP="strip"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5999 if test -n "$ac_ct_STRIP"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6001 $as_echo "$ac_ct_STRIP" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6007 if test "x$ac_ct_STRIP" = x; then
6008 STRIP="strip"
6009 else
6010 case $cross_compiling:$ac_tool_warned in
6011 yes:)
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6014 ac_tool_warned=yes ;;
6015 esac
6016 STRIP=$ac_ct_STRIP
6018 else
6019 STRIP="$ac_cv_prog_STRIP"
6022 ARFLAGS=rc
6024 if test -n "$ac_tool_prefix"; then
6025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6026 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_RANLIB+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$RANLIB"; then
6033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 RANLIB=$ac_cv_prog_RANLIB
6053 if test -n "$RANLIB"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6055 $as_echo "$RANLIB" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 if test -z "$ac_cv_prog_RANLIB"; then
6064 ac_ct_RANLIB=$RANLIB
6065 # Extract the first word of "ranlib", so it can be a program name with args.
6066 set dummy ranlib; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 $as_echo_n "checking for $ac_word... " >&6; }
6069 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 if test -n "$ac_ct_RANLIB"; then
6073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_ac_ct_RANLIB="ranlib"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6093 if test -n "$ac_ct_RANLIB"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6095 $as_echo "$ac_ct_RANLIB" >&6; }
6096 else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6101 if test "x$ac_ct_RANLIB" = x; then
6102 RANLIB=":"
6103 else
6104 case $cross_compiling:$ac_tool_warned in
6105 yes:)
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned=yes ;;
6109 esac
6110 RANLIB=$ac_ct_RANLIB
6112 else
6113 RANLIB="$ac_cv_prog_RANLIB"
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6117 $as_echo_n "checking whether ln -s works... " >&6; }
6118 LN_S=$as_ln_s
6119 if test "$LN_S" = "ln -s"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6121 $as_echo "yes" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6124 $as_echo "no, using $LN_S" >&6; }
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6128 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6129 if ${ac_cv_path_GREP+:} false; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -z "$GREP"; then
6133 ac_path_GREP_found=false
6134 # Loop through the user's path and test for each of PROGNAME-LIST
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_prog in grep ggrep; do
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6143 as_fn_executable_p "$ac_path_GREP" || continue
6144 # Check for GNU ac_path_GREP and select it if it is found.
6145 # Check for GNU $ac_path_GREP
6146 case `"$ac_path_GREP" --version 2>&1` in
6147 *GNU*)
6148 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6150 ac_count=0
6151 $as_echo_n 0123456789 >"conftest.in"
6152 while :
6154 cat "conftest.in" "conftest.in" >"conftest.tmp"
6155 mv "conftest.tmp" "conftest.in"
6156 cp "conftest.in" "conftest.nl"
6157 $as_echo 'GREP' >> "conftest.nl"
6158 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6159 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6160 as_fn_arith $ac_count + 1 && ac_count=$as_val
6161 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6162 # Best one so far, save it but keep looking for a better one
6163 ac_cv_path_GREP="$ac_path_GREP"
6164 ac_path_GREP_max=$ac_count
6166 # 10*(2^10) chars as input seems more than enough
6167 test $ac_count -gt 10 && break
6168 done
6169 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6170 esac
6172 $ac_path_GREP_found && break 3
6173 done
6174 done
6175 done
6176 IFS=$as_save_IFS
6177 if test -z "$ac_cv_path_GREP"; then
6178 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6180 else
6181 ac_cv_path_GREP=$GREP
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6186 $as_echo "$ac_cv_path_GREP" >&6; }
6187 GREP="$ac_cv_path_GREP"
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6191 $as_echo_n "checking for egrep... " >&6; }
6192 if ${ac_cv_path_EGREP+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6196 then ac_cv_path_EGREP="$GREP -E"
6197 else
6198 if test -z "$EGREP"; then
6199 ac_path_EGREP_found=false
6200 # Loop through the user's path and test for each of PROGNAME-LIST
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_prog in egrep; do
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6209 as_fn_executable_p "$ac_path_EGREP" || continue
6210 # Check for GNU ac_path_EGREP and select it if it is found.
6211 # Check for GNU $ac_path_EGREP
6212 case `"$ac_path_EGREP" --version 2>&1` in
6213 *GNU*)
6214 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6216 ac_count=0
6217 $as_echo_n 0123456789 >"conftest.in"
6218 while :
6220 cat "conftest.in" "conftest.in" >"conftest.tmp"
6221 mv "conftest.tmp" "conftest.in"
6222 cp "conftest.in" "conftest.nl"
6223 $as_echo 'EGREP' >> "conftest.nl"
6224 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6225 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6226 as_fn_arith $ac_count + 1 && ac_count=$as_val
6227 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6228 # Best one so far, save it but keep looking for a better one
6229 ac_cv_path_EGREP="$ac_path_EGREP"
6230 ac_path_EGREP_max=$ac_count
6232 # 10*(2^10) chars as input seems more than enough
6233 test $ac_count -gt 10 && break
6234 done
6235 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6236 esac
6238 $ac_path_EGREP_found && break 3
6239 done
6240 done
6241 done
6242 IFS=$as_save_IFS
6243 if test -z "$ac_cv_path_EGREP"; then
6244 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6246 else
6247 ac_cv_path_EGREP=$EGREP
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6253 $as_echo "$ac_cv_path_EGREP" >&6; }
6254 EGREP="$ac_cv_path_EGREP"
6257 # Extract the first word of "ldconfig", so it can be a program name with args.
6258 set dummy ldconfig; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_path_LDCONFIG+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 case $LDCONFIG in
6265 [\\/]* | ?:[\\/]*)
6266 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in /sbin /usr/sbin $PATH
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 break 2
6280 done
6281 done
6282 IFS=$as_save_IFS
6284 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6286 esac
6288 LDCONFIG=$ac_cv_path_LDCONFIG
6289 if test -n "$LDCONFIG"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6291 $as_echo "$LDCONFIG" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6298 for ac_prog in msgfmt
6300 # Extract the first word of "$ac_prog", so it can be a program name with args.
6301 set dummy $ac_prog; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_MSGFMT+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 if test -n "$MSGFMT"; then
6308 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_MSGFMT="$ac_prog"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 break 2
6321 done
6322 done
6323 IFS=$as_save_IFS
6327 MSGFMT=$ac_cv_prog_MSGFMT
6328 if test -n "$MSGFMT"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6330 $as_echo "$MSGFMT" >&6; }
6331 else
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6337 test -n "$MSGFMT" && break
6338 done
6339 test -n "$MSGFMT" || MSGFMT="false"
6341 if ${ac_tool_prefix+:} false; then :
6342 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6343 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 if test -n "$PKG_CONFIG"; then
6350 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6351 else
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 for as_dir in $PATH
6355 IFS=$as_save_IFS
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6359 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 break 2
6363 done
6364 done
6365 IFS=$as_save_IFS
6369 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6370 if test -n "$PKG_CONFIG"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6372 $as_echo "$PKG_CONFIG" >&6; }
6373 else
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375 $as_echo "no" >&6; }
6380 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6381 if test "x$cross_compiling" = xyes; then :
6383 else
6384 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6385 # Extract the first word of "pkg-config", so it can be a program name with args.
6386 set dummy pkg-config; ac_word=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6388 $as_echo_n "checking for $ac_word... " >&6; }
6389 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 if test -n "$PKG_CONFIG"; then
6393 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6394 else
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_prog_PKG_CONFIG="pkg-config"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 break 2
6406 done
6407 done
6408 IFS=$as_save_IFS
6412 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6413 if test -n "$PKG_CONFIG"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6415 $as_echo "$PKG_CONFIG" >&6; }
6416 else
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6423 else
6424 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6427 if test "x$enable_maintainer_mode" != "xyes"
6428 then
6429 FONTFORGE=""
6430 RSVG=""
6431 CONVERT=""
6432 ICOTOOL=""
6433 else
6434 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6435 for ac_prog in fontforge
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_FONTFORGE+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$FONTFORGE"; then
6445 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_FONTFORGE="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 FONTFORGE=$ac_cv_prog_FONTFORGE
6465 if test -n "$FONTFORGE"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6467 $as_echo "$FONTFORGE" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$FONTFORGE" && break
6475 done
6476 test -n "$FONTFORGE" || FONTFORGE="false"
6478 for ac_prog in rsvg-convert rsvg
6480 # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 set dummy $ac_prog; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_RSVG+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 if test -n "$RSVG"; then
6488 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6493 IFS=$as_save_IFS
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_RSVG="$ac_prog"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 RSVG=$ac_cv_prog_RSVG
6508 if test -n "$RSVG"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6510 $as_echo "$RSVG" >&6; }
6511 else
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6517 test -n "$RSVG" && break
6518 done
6519 test -n "$RSVG" || RSVG="false"
6521 for ac_prog in convert
6523 # Extract the first word of "$ac_prog", so it can be a program name with args.
6524 set dummy $ac_prog; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if ${ac_cv_prog_CONVERT+:} false; then :
6528 $as_echo_n "(cached) " >&6
6529 else
6530 if test -n "$CONVERT"; then
6531 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6532 else
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 for as_dir in $PATH
6536 IFS=$as_save_IFS
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_CONVERT="$ac_prog"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 break 2
6544 done
6545 done
6546 IFS=$as_save_IFS
6550 CONVERT=$ac_cv_prog_CONVERT
6551 if test -n "$CONVERT"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6553 $as_echo "$CONVERT" >&6; }
6554 else
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6560 test -n "$CONVERT" && break
6561 done
6562 test -n "$CONVERT" || CONVERT="false"
6564 for ac_prog in icotool
6566 # Extract the first word of "$ac_prog", so it can be a program name with args.
6567 set dummy $ac_prog; ac_word=$2
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569 $as_echo_n "checking for $ac_word... " >&6; }
6570 if ${ac_cv_prog_ICOTOOL+:} false; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 if test -n "$ICOTOOL"; then
6574 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6575 else
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577 for as_dir in $PATH
6579 IFS=$as_save_IFS
6580 test -z "$as_dir" && as_dir=.
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_ICOTOOL="$ac_prog"
6584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 break 2
6587 done
6588 done
6589 IFS=$as_save_IFS
6593 ICOTOOL=$ac_cv_prog_ICOTOOL
6594 if test -n "$ICOTOOL"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6596 $as_echo "$ICOTOOL" >&6; }
6597 else
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599 $as_echo "no" >&6; }
6603 test -n "$ICOTOOL" && break
6604 done
6605 test -n "$ICOTOOL" || ICOTOOL="false"
6607 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6608 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6610 if test "$CONVERT" = false
6611 then
6612 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6615 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6616 convert_version=`convert --version | head -n1`
6617 if test "x$convert_version" != "x"
6618 then
6619 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6620 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6621 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6622 then
6623 CONVERT=false
6626 if test "$CONVERT" = false
6627 then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6629 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6630 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6633 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6637 if test "$ICOTOOL" = false
6638 then
6639 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6640 else
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6642 $as_echo_n "checking for recent enough icotool... " >&6; }
6643 icotool_version=`icotool --version | head -n1`
6644 if test "x$icotool_version" != "x"
6645 then
6646 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6647 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6648 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6649 then
6650 ICOTOOL=false
6651 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6654 if test "$ICOTOOL" = false
6655 then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6657 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6658 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6661 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6665 with_gettext=yes
6666 with_gettextpo=yes
6667 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6670 test "x$with_gettext" != xno || MSGFMT=false
6671 if test "$MSGFMT" != "false"
6672 then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6674 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6675 cat >conftest.po <<EOF
6676 # comment
6677 msgctxt "ctxt"
6678 msgid "id"
6679 msgstr "str"
6681 if $MSGFMT -o /dev/null conftest.po 2>&5
6682 then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6684 $as_echo "yes" >&6; }
6685 else
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6688 MSGFMT=false
6691 if test "$MSGFMT" = false; then :
6692 case "x$with_gettext" in
6693 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6694 xno) ;;
6695 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6696 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6697 esac
6698 enable_po=${enable_po:-no}
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6703 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6704 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706 else
6707 ac_check_lib_save_LIBS=$LIBS
6708 LIBS="-li386 $LIBS"
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6712 /* Override any GCC internal prototype to avoid an error.
6713 Use char because int might match the return type of a GCC
6714 builtin and then its argument prototype would still apply. */
6715 #ifdef __cplusplus
6716 extern "C"
6717 #endif
6718 char i386_set_ldt ();
6720 main ()
6722 return i386_set_ldt ();
6724 return 0;
6726 _ACEOF
6727 if ac_fn_c_try_link "$LINENO"; then :
6728 ac_cv_lib_i386_i386_set_ldt=yes
6729 else
6730 ac_cv_lib_i386_i386_set_ldt=no
6732 rm -f core conftest.err conftest.$ac_objext \
6733 conftest$ac_exeext conftest.$ac_ext
6734 LIBS=$ac_check_lib_save_LIBS
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6737 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6738 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6739 cat >>confdefs.h <<_ACEOF
6740 #define HAVE_LIBI386 1
6741 _ACEOF
6743 LIBS="-li386 $LIBS"
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6748 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6749 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 ac_check_lib_save_LIBS=$LIBS
6753 LIBS="-lossaudio $LIBS"
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6757 /* Override any GCC internal prototype to avoid an error.
6758 Use char because int might match the return type of a GCC
6759 builtin and then its argument prototype would still apply. */
6760 #ifdef __cplusplus
6761 extern "C"
6762 #endif
6763 char _oss_ioctl ();
6765 main ()
6767 return _oss_ioctl ();
6769 return 0;
6771 _ACEOF
6772 if ac_fn_c_try_link "$LINENO"; then :
6773 ac_cv_lib_ossaudio__oss_ioctl=yes
6774 else
6775 ac_cv_lib_ossaudio__oss_ioctl=no
6777 rm -f core conftest.err conftest.$ac_objext \
6778 conftest$ac_exeext conftest.$ac_ext
6779 LIBS=$ac_check_lib_save_LIBS
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6782 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6783 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_LIBOSSAUDIO 1
6786 _ACEOF
6788 LIBS="-lossaudio $LIBS"
6793 OPENGL_LIBS=""
6797 # Check whether --enable-largefile was given.
6798 if test "${enable_largefile+set}" = set; then :
6799 enableval=$enable_largefile;
6802 if test "$enable_largefile" != no; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6805 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6806 if ${ac_cv_sys_largefile_CC+:} false; then :
6807 $as_echo_n "(cached) " >&6
6808 else
6809 ac_cv_sys_largefile_CC=no
6810 if test "$GCC" != yes; then
6811 ac_save_CC=$CC
6812 while :; do
6813 # IRIX 6.2 and later do not support large files by default,
6814 # so use the C compiler's -n32 option if that helps.
6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6816 /* end confdefs.h. */
6817 #include <sys/types.h>
6818 /* Check that off_t can represent 2**63 - 1 correctly.
6819 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6820 since some C++ compilers masquerading as C compilers
6821 incorrectly reject 9223372036854775807. */
6822 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6823 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6824 && LARGE_OFF_T % 2147483647 == 1)
6825 ? 1 : -1];
6827 main ()
6831 return 0;
6833 _ACEOF
6834 if ac_fn_c_try_compile "$LINENO"; then :
6835 break
6837 rm -f core conftest.err conftest.$ac_objext
6838 CC="$CC -n32"
6839 if ac_fn_c_try_compile "$LINENO"; then :
6840 ac_cv_sys_largefile_CC=' -n32'; break
6842 rm -f core conftest.err conftest.$ac_objext
6843 break
6844 done
6845 CC=$ac_save_CC
6846 rm -f conftest.$ac_ext
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6850 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6851 if test "$ac_cv_sys_largefile_CC" != no; then
6852 CC=$CC$ac_cv_sys_largefile_CC
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6856 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6857 if ${ac_cv_sys_file_offset_bits+:} false; then :
6858 $as_echo_n "(cached) " >&6
6859 else
6860 while :; do
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6863 #include <sys/types.h>
6864 /* Check that off_t can represent 2**63 - 1 correctly.
6865 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6866 since some C++ compilers masquerading as C compilers
6867 incorrectly reject 9223372036854775807. */
6868 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6869 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6870 && LARGE_OFF_T % 2147483647 == 1)
6871 ? 1 : -1];
6873 main ()
6877 return 0;
6879 _ACEOF
6880 if ac_fn_c_try_compile "$LINENO"; then :
6881 ac_cv_sys_file_offset_bits=no; break
6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6886 #define _FILE_OFFSET_BITS 64
6887 #include <sys/types.h>
6888 /* Check that off_t can represent 2**63 - 1 correctly.
6889 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6890 since some C++ compilers masquerading as C compilers
6891 incorrectly reject 9223372036854775807. */
6892 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6893 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6894 && LARGE_OFF_T % 2147483647 == 1)
6895 ? 1 : -1];
6897 main ()
6901 return 0;
6903 _ACEOF
6904 if ac_fn_c_try_compile "$LINENO"; then :
6905 ac_cv_sys_file_offset_bits=64; break
6907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908 ac_cv_sys_file_offset_bits=unknown
6909 break
6910 done
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6913 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6914 case $ac_cv_sys_file_offset_bits in #(
6915 no | unknown) ;;
6917 cat >>confdefs.h <<_ACEOF
6918 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6919 _ACEOF
6921 esac
6922 rm -rf conftest*
6923 if test $ac_cv_sys_file_offset_bits = unknown; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6925 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6926 if ${ac_cv_sys_large_files+:} false; then :
6927 $as_echo_n "(cached) " >&6
6928 else
6929 while :; do
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6932 #include <sys/types.h>
6933 /* Check that off_t can represent 2**63 - 1 correctly.
6934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6935 since some C++ compilers masquerading as C compilers
6936 incorrectly reject 9223372036854775807. */
6937 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6939 && LARGE_OFF_T % 2147483647 == 1)
6940 ? 1 : -1];
6942 main ()
6946 return 0;
6948 _ACEOF
6949 if ac_fn_c_try_compile "$LINENO"; then :
6950 ac_cv_sys_large_files=no; break
6952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6955 #define _LARGE_FILES 1
6956 #include <sys/types.h>
6957 /* Check that off_t can represent 2**63 - 1 correctly.
6958 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6959 since some C++ compilers masquerading as C compilers
6960 incorrectly reject 9223372036854775807. */
6961 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6962 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6963 && LARGE_OFF_T % 2147483647 == 1)
6964 ? 1 : -1];
6966 main ()
6970 return 0;
6972 _ACEOF
6973 if ac_fn_c_try_compile "$LINENO"; then :
6974 ac_cv_sys_large_files=1; break
6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6977 ac_cv_sys_large_files=unknown
6978 break
6979 done
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6982 $as_echo "$ac_cv_sys_large_files" >&6; }
6983 case $ac_cv_sys_large_files in #(
6984 no | unknown) ;;
6986 cat >>confdefs.h <<_ACEOF
6987 #define _LARGE_FILES $ac_cv_sys_large_files
6988 _ACEOF
6990 esac
6991 rm -rf conftest*
6998 ac_ext=c
6999 ac_cpp='$CPP $CPPFLAGS'
7000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7004 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7005 # On Suns, sometimes $CPP names a directory.
7006 if test -n "$CPP" && test -d "$CPP"; then
7007 CPP=
7009 if test -z "$CPP"; then
7010 if ${ac_cv_prog_CPP+:} false; then :
7011 $as_echo_n "(cached) " >&6
7012 else
7013 # Double quotes because CPP needs to be expanded
7014 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7016 ac_preproc_ok=false
7017 for ac_c_preproc_warn_flag in '' yes
7019 # Use a header file that comes with gcc, so configuring glibc
7020 # with a fresh cross-compiler works.
7021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7022 # <limits.h> exists even on freestanding compilers.
7023 # On the NeXT, cc -E runs the code through the compiler's parser,
7024 # not just through cpp. "Syntax error" is here to catch this case.
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #ifdef __STDC__
7028 # include <limits.h>
7029 #else
7030 # include <assert.h>
7031 #endif
7032 Syntax error
7033 _ACEOF
7034 if ac_fn_c_try_cpp "$LINENO"; then :
7036 else
7037 # Broken: fails on valid input.
7038 continue
7040 rm -f conftest.err conftest.i conftest.$ac_ext
7042 # OK, works on sane cases. Now check whether nonexistent headers
7043 # can be detected and how.
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 #include <ac_nonexistent.h>
7047 _ACEOF
7048 if ac_fn_c_try_cpp "$LINENO"; then :
7049 # Broken: success on invalid input.
7050 continue
7051 else
7052 # Passes both tests.
7053 ac_preproc_ok=:
7054 break
7056 rm -f conftest.err conftest.i conftest.$ac_ext
7058 done
7059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7060 rm -f conftest.i conftest.err conftest.$ac_ext
7061 if $ac_preproc_ok; then :
7062 break
7065 done
7066 ac_cv_prog_CPP=$CPP
7069 CPP=$ac_cv_prog_CPP
7070 else
7071 ac_cv_prog_CPP=$CPP
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7074 $as_echo "$CPP" >&6; }
7075 ac_preproc_ok=false
7076 for ac_c_preproc_warn_flag in '' yes
7078 # Use a header file that comes with gcc, so configuring glibc
7079 # with a fresh cross-compiler works.
7080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7081 # <limits.h> exists even on freestanding compilers.
7082 # On the NeXT, cc -E runs the code through the compiler's parser,
7083 # not just through cpp. "Syntax error" is here to catch this case.
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #ifdef __STDC__
7087 # include <limits.h>
7088 #else
7089 # include <assert.h>
7090 #endif
7091 Syntax error
7092 _ACEOF
7093 if ac_fn_c_try_cpp "$LINENO"; then :
7095 else
7096 # Broken: fails on valid input.
7097 continue
7099 rm -f conftest.err conftest.i conftest.$ac_ext
7101 # OK, works on sane cases. Now check whether nonexistent headers
7102 # can be detected and how.
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #include <ac_nonexistent.h>
7106 _ACEOF
7107 if ac_fn_c_try_cpp "$LINENO"; then :
7108 # Broken: success on invalid input.
7109 continue
7110 else
7111 # Passes both tests.
7112 ac_preproc_ok=:
7113 break
7115 rm -f conftest.err conftest.i conftest.$ac_ext
7117 done
7118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7119 rm -f conftest.i conftest.err conftest.$ac_ext
7120 if $ac_preproc_ok; then :
7122 else
7123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7125 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7126 See \`config.log' for more details" "$LINENO" 5; }
7129 ac_ext=c
7130 ac_cpp='$CPP $CPPFLAGS'
7131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7137 $as_echo_n "checking for ANSI C header files... " >&6; }
7138 if ${ac_cv_header_stdc+:} false; then :
7139 $as_echo_n "(cached) " >&6
7140 else
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #include <stdlib.h>
7144 #include <stdarg.h>
7145 #include <string.h>
7146 #include <float.h>
7149 main ()
7153 return 0;
7155 _ACEOF
7156 if ac_fn_c_try_compile "$LINENO"; then :
7157 ac_cv_header_stdc=yes
7158 else
7159 ac_cv_header_stdc=no
7161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7163 if test $ac_cv_header_stdc = yes; then
7164 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <string.h>
7169 _ACEOF
7170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7171 $EGREP "memchr" >/dev/null 2>&1; then :
7173 else
7174 ac_cv_header_stdc=no
7176 rm -f conftest*
7180 if test $ac_cv_header_stdc = yes; then
7181 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <stdlib.h>
7186 _ACEOF
7187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7188 $EGREP "free" >/dev/null 2>&1; then :
7190 else
7191 ac_cv_header_stdc=no
7193 rm -f conftest*
7197 if test $ac_cv_header_stdc = yes; then
7198 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7199 if test "$cross_compiling" = yes; then :
7201 else
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #include <ctype.h>
7205 #include <stdlib.h>
7206 #if ((' ' & 0x0FF) == 0x020)
7207 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7208 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7209 #else
7210 # define ISLOWER(c) \
7211 (('a' <= (c) && (c) <= 'i') \
7212 || ('j' <= (c) && (c) <= 'r') \
7213 || ('s' <= (c) && (c) <= 'z'))
7214 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7215 #endif
7217 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7219 main ()
7221 int i;
7222 for (i = 0; i < 256; i++)
7223 if (XOR (islower (i), ISLOWER (i))
7224 || toupper (i) != TOUPPER (i))
7225 return 2;
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_run "$LINENO"; then :
7231 else
7232 ac_cv_header_stdc=no
7234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7235 conftest.$ac_objext conftest.beam conftest.$ac_ext
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7241 $as_echo "$ac_cv_header_stdc" >&6; }
7242 if test $ac_cv_header_stdc = yes; then
7244 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7248 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7249 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7250 inttypes.h stdint.h unistd.h
7251 do :
7252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7253 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7256 cat >>confdefs.h <<_ACEOF
7257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7258 _ACEOF
7262 done
7265 for ac_header in \
7266 AL/al.h \
7267 ApplicationServices/ApplicationServices.h \
7268 AudioToolbox/AudioConverter.h \
7269 AudioUnit/AudioUnit.h \
7270 AudioUnit/AudioComponent.h \
7271 CL/cl.h \
7272 Carbon/Carbon.h \
7273 CommonCrypto/CommonCryptor.h \
7274 CoreAudio/CoreAudio.h \
7275 CoreServices/CoreServices.h \
7276 DiskArbitration/DiskArbitration.h \
7277 EGL/egl.h \
7278 IOKit/IOKitLib.h \
7279 IOKit/hid/IOHIDLib.h \
7280 OpenAL/al.h \
7281 OpenCL/opencl.h \
7282 QuickTime/ImageCompression.h \
7283 Security/Security.h \
7284 alias.h \
7285 alsa/asoundlib.h \
7286 arpa/inet.h \
7287 arpa/nameser.h \
7288 asm/types.h \
7289 asm/user.h \
7290 curses.h \
7291 direct.h \
7292 dirent.h \
7293 dlfcn.h \
7294 elf.h \
7295 float.h \
7296 fnmatch.h \
7297 getopt.h \
7298 gettext-po.h \
7299 grp.h \
7300 gsm.h \
7301 gsm/gsm.h \
7302 ieeefp.h \
7303 inet/mib2.h \
7304 io.h \
7305 kstat.h \
7306 libproc.h \
7307 link.h \
7308 linux/cdrom.h \
7309 linux/compiler.h \
7310 linux/filter.h \
7311 linux/hdreg.h \
7312 linux/hidraw.h \
7313 linux/input.h \
7314 linux/ioctl.h \
7315 linux/joystick.h \
7316 linux/major.h \
7317 linux/param.h \
7318 linux/serial.h \
7319 linux/types.h \
7320 linux/ucdrom.h \
7321 lwp.h \
7322 mach-o/nlist.h \
7323 mach-o/loader.h \
7324 mach/mach.h \
7325 mach/machine.h \
7326 machine/cpu.h \
7327 machine/limits.h \
7328 machine/sysarch.h \
7329 mntent.h \
7330 ncurses.h \
7331 netdb.h \
7332 netinet/in.h \
7333 netinet/in_systm.h \
7334 netinet/tcp.h \
7335 netinet/tcp_fsm.h \
7336 pcap/pcap.h \
7337 poll.h \
7338 port.h \
7339 process.h \
7340 pthread.h \
7341 pwd.h \
7342 sched.h \
7343 scsi/scsi.h \
7344 scsi/scsi_ioctl.h \
7345 scsi/sg.h \
7346 stdbool.h \
7347 stdint.h \
7348 stropts.h \
7349 sys/asoundlib.h \
7350 sys/attr.h \
7351 sys/auxv.h \
7352 sys/cdio.h \
7353 sys/elf32.h \
7354 sys/epoll.h \
7355 sys/event.h \
7356 sys/exec_elf.h \
7357 sys/filio.h \
7358 sys/inotify.h \
7359 sys/ioctl.h \
7360 sys/ipc.h \
7361 sys/limits.h \
7362 sys/link.h \
7363 sys/mman.h \
7364 sys/modem.h \
7365 sys/msg.h \
7366 sys/mtio.h \
7367 sys/param.h \
7368 sys/poll.h \
7369 sys/prctl.h \
7370 sys/protosw.h \
7371 sys/ptrace.h \
7372 sys/queue.h \
7373 sys/resource.h \
7374 sys/scsiio.h \
7375 sys/shm.h \
7376 sys/signal.h \
7377 sys/socket.h \
7378 sys/socketvar.h \
7379 sys/sockio.h \
7380 sys/statvfs.h \
7381 sys/strtio.h \
7382 sys/syscall.h \
7383 sys/sysinfo.h \
7384 sys/tihdr.h \
7385 sys/time.h \
7386 sys/timeout.h \
7387 sys/times.h \
7388 sys/uio.h \
7389 sys/user.h \
7390 sys/utsname.h \
7391 sys/vnode.h \
7392 sys/wait.h \
7393 syscall.h \
7394 termios.h \
7395 unistd.h \
7396 utime.h \
7397 valgrind/memcheck.h \
7398 valgrind/valgrind.h \
7399 zlib.h
7401 do :
7402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7403 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7405 cat >>confdefs.h <<_ACEOF
7406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7413 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7414 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7416 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7421 if test $ac_cv_header_sys_mkdev_h = no; then
7422 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7423 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7425 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7432 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7433 if ${ac_cv_header_stat_broken+:} false; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #include <sys/stat.h>
7441 #if defined S_ISBLK && defined S_IFDIR
7442 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7443 #endif
7445 #if defined S_ISBLK && defined S_IFCHR
7446 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7447 #endif
7449 #if defined S_ISLNK && defined S_IFREG
7450 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7451 #endif
7453 #if defined S_ISSOCK && defined S_IFREG
7454 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7455 #endif
7457 _ACEOF
7458 if ac_fn_c_try_compile "$LINENO"; then :
7459 ac_cv_header_stat_broken=no
7460 else
7461 ac_cv_header_stat_broken=yes
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7466 $as_echo "$ac_cv_header_stat_broken" >&6; }
7467 if test $ac_cv_header_stat_broken = yes; then
7469 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7475 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7476 do :
7477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7479 #ifdef HAVE_SYS_PARAM_H
7480 # include <sys/param.h>
7481 #endif
7483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7484 cat >>confdefs.h <<_ACEOF
7485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 _ACEOF
7490 done
7493 for ac_header in \
7494 netinet/ip.h \
7495 net/if.h \
7496 net/if_arp.h \
7497 net/if_dl.h \
7498 net/if_types.h \
7499 net/route.h \
7500 netinet/if_ether.h \
7501 netinet/if_inarp.h \
7502 netinet/in_pcb.h \
7503 netinet/ip_icmp.h \
7504 netinet/ip_var.h \
7505 netinet/udp.h \
7506 netipx/ipx.h \
7507 sys/un.h \
7509 do :
7510 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7511 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7512 #ifdef HAVE_SYS_SOCKET_H
7513 # include <sys/socket.h>
7514 #endif
7515 #ifdef HAVE_SYS_SOCKETVAR_H
7516 # include <sys/socketvar.h>
7517 #endif
7518 #ifdef HAVE_NET_ROUTE_H
7519 # include <net/route.h>
7520 #endif
7521 #ifdef HAVE_NETINET_IN_H
7522 # include <netinet/in.h>
7523 #endif
7524 #ifdef HAVE_NETINET_IN_SYSTM_H
7525 # include <netinet/in_systm.h>
7526 #endif
7527 #ifdef HAVE_NET_IF_H
7528 # include <net/if.h>
7529 #endif
7530 #ifdef HAVE_NETINET_IP_H
7531 # include <netinet/ip.h>
7532 #endif
7534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7535 cat >>confdefs.h <<_ACEOF
7536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537 _ACEOF
7541 done
7544 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7545 do :
7546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7548 #ifdef HAVE_ALIAS_H
7549 # include <alias.h>
7550 #endif
7551 #ifdef HAVE_SYS_SOCKET_H
7552 # include <sys/socket.h>
7553 #endif
7554 #ifdef HAVE_SYS_SOCKETVAR_H
7555 # include <sys/socketvar.h>
7556 #endif
7557 #ifdef HAVE_SYS_TIMEOUT_H
7558 # include <sys/timeout.h>
7559 #endif
7560 #ifdef HAVE_NETINET_IN_H
7561 # include <netinet/in.h>
7562 #endif
7563 #ifdef HAVE_NETINET_IN_SYSTM_H
7564 # include <netinet/in_systm.h>
7565 #endif
7566 #ifdef HAVE_NETINET_IP_H
7567 # include <netinet/ip.h>
7568 #endif
7569 #ifdef HAVE_NETINET_IP_VAR_H
7570 # include <netinet/ip_var.h>
7571 #endif
7572 #ifdef HAVE_NETINET_IP_ICMP_H
7573 # include <netinet/ip_icmp.h>
7574 #endif
7575 #ifdef HAVE_NETINET_UDP_H
7576 # include <netinet/udp.h>
7577 #endif
7578 #ifdef HAVE_NETINET_TCP_H
7579 # include <netinet/tcp.h>
7580 #endif
7581 #ifdef HAVE_NETINET_TCP_TIMER_H
7582 #include <netinet/tcp_timer.h>
7583 #endif
7585 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7586 cat >>confdefs.h <<_ACEOF
7587 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7588 _ACEOF
7592 done
7595 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7596 do :
7597 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7598 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7599 #ifdef HAVE_ASM_TYPES_H
7600 # include <asm/types.h>
7601 #endif
7602 #ifdef HAVE_SYS_SOCKET_H
7603 # include <sys/socket.h>
7604 #endif
7605 #ifdef HAVE_LINUX_TYPES_H
7606 # include <linux/types.h>
7607 #endif
7609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7610 cat >>confdefs.h <<_ACEOF
7611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7612 _ACEOF
7616 done
7619 for ac_header in mach-o/dyld_images.h
7620 do :
7621 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7622 # include <stdbool.h>
7623 #endif
7624 #ifdef HAVE_STDINT_H
7625 # include <stdint.h>
7626 #endif
7628 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7629 cat >>confdefs.h <<_ACEOF
7630 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7631 _ACEOF
7635 done
7638 for ac_header in resolv.h
7639 do :
7640 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7641 #ifdef HAVE_SYS_SOCKET_H
7642 # include <sys/socket.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_H
7645 # include <netinet/in.h>
7646 #endif
7647 #ifdef HAVE_ARPA_NAMESER_H
7648 # include <arpa/nameser.h>
7649 #endif
7651 if test "x$ac_cv_header_resolv_h" = xyes; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define HAVE_RESOLV_H 1
7654 _ACEOF
7658 done
7661 for ac_header in ifaddrs.h
7662 do :
7663 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7665 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7666 cat >>confdefs.h <<_ACEOF
7667 #define HAVE_IFADDRS_H 1
7668 _ACEOF
7672 done
7675 for ac_header in sys/ucontext.h
7676 do :
7677 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7679 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7680 cat >>confdefs.h <<_ACEOF
7681 #define HAVE_SYS_UCONTEXT_H 1
7682 _ACEOF
7686 done
7689 for ac_header in sys/thr.h
7690 do :
7691 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7692 #ifdef HAVE_SYS_UCONTEXT_H
7693 #include <sys/ucontext.h>
7694 #endif
7696 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_SYS_THR_H 1
7699 _ACEOF
7703 done
7706 for ac_header in pthread_np.h
7707 do :
7708 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7709 #include <pthread.h>
7710 #endif
7712 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define HAVE_PTHREAD_NP_H 1
7715 _ACEOF
7719 done
7722 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7723 do :
7724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7726 #include <sys/time.h>
7727 #endif
7728 #include <sys/types.h>
7729 #ifdef HAVE_ASM_TYPES_H
7730 #include <asm/types.h>
7731 #endif
7733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7736 _ACEOF
7740 done
7743 for ac_header in libprocstat.h
7744 do :
7745 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7746 #include <sys/param.h>
7747 #endif
7748 #ifdef HAVE_SYS_QUEUE_H
7749 #include <sys/queue.h>
7750 #endif
7751 #ifdef HAVE_SYS_SOCKET_H
7752 #include <sys/socket.h>
7753 #endif
7755 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_LIBPROCSTAT_H 1
7758 _ACEOF
7762 done
7766 DLLFLAGS="-D_REENTRANT"
7768 LDRPATH_INSTALL=""
7770 LDRPATH_LOCAL=""
7772 LDEXECFLAGS=""
7774 WINELOADER_LDFLAGS=""
7776 LIBEXT="so"
7777 DLLEXT=".so"
7778 IMPLIBEXT="def"
7779 # Extract the first word of "ldd", so it can be a program name with args.
7780 set dummy ldd; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if ${ac_cv_path_LDD+:} false; then :
7784 $as_echo_n "(cached) " >&6
7785 else
7786 case $LDD in
7787 [\\/]* | ?:[\\/]*)
7788 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792 as_dummy="/sbin:/usr/sbin:$PATH"
7793 for as_dir in $as_dummy
7795 IFS=$as_save_IFS
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7799 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 break 2
7803 done
7804 done
7805 IFS=$as_save_IFS
7807 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7809 esac
7811 LDD=$ac_cv_path_LDD
7812 if test -n "$LDD"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7814 $as_echo "$LDD" >&6; }
7815 else
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7821 if test -n "$ac_tool_prefix"; then
7822 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7823 set dummy ${ac_tool_prefix}otool; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7825 $as_echo_n "checking for $ac_word... " >&6; }
7826 if ${ac_cv_prog_OTOOL+:} false; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 if test -n "$OTOOL"; then
7830 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7831 else
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 for as_dir in $PATH
7835 IFS=$as_save_IFS
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7841 break 2
7843 done
7844 done
7845 IFS=$as_save_IFS
7849 OTOOL=$ac_cv_prog_OTOOL
7850 if test -n "$OTOOL"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7852 $as_echo "$OTOOL" >&6; }
7853 else
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7860 if test -z "$ac_cv_prog_OTOOL"; then
7861 ac_ct_OTOOL=$OTOOL
7862 # Extract the first word of "otool", so it can be a program name with args.
7863 set dummy otool; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7865 $as_echo_n "checking for $ac_word... " >&6; }
7866 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7867 $as_echo_n "(cached) " >&6
7868 else
7869 if test -n "$ac_ct_OTOOL"; then
7870 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7871 else
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 for as_dir in $PATH
7875 IFS=$as_save_IFS
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_prog_ac_ct_OTOOL="otool"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881 break 2
7883 done
7884 done
7885 IFS=$as_save_IFS
7889 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7890 if test -n "$ac_ct_OTOOL"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7892 $as_echo "$ac_ct_OTOOL" >&6; }
7893 else
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7898 if test "x$ac_ct_OTOOL" = x; then
7899 OTOOL="otool"
7900 else
7901 case $cross_compiling:$ac_tool_warned in
7902 yes:)
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7905 ac_tool_warned=yes ;;
7906 esac
7907 OTOOL=$ac_ct_OTOOL
7909 else
7910 OTOOL="$ac_cv_prog_OTOOL"
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_READELF+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$READELF"; then
7922 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 READELF=$ac_cv_prog_READELF
7942 if test -n "$READELF"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7944 $as_echo "$READELF" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_READELF"; then
7953 ac_ct_READELF=$READELF
7954 # Extract the first word of "readelf", so it can be a program name with args.
7955 set dummy readelf; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_READELF"; then
7962 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_READELF="readelf"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7982 if test -n "$ac_ct_READELF"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7984 $as_echo "$ac_ct_READELF" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_READELF" = x; then
7991 READELF="true"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 READELF=$ac_ct_READELF
8001 else
8002 READELF="$ac_cv_prog_READELF"
8005 wine_rules_file=conf$$rules.make
8006 rm -f $wine_rules_file
8007 SUBDIRS=""
8009 DISABLED_SUBDIRS=""
8011 CONFIGURE_TARGETS=""
8014 wine_fn_append_file ()
8016 as_fn_append $1 " \\$as_nl $2"
8019 wine_fn_append_rule ()
8021 $as_echo "$1" >>$wine_rules_file
8024 wine_fn_config_makefile ()
8026 wine_fn_append_file SUBDIRS $1
8027 if eval test \"x\$"$2"\" = x"no"; then :
8028 wine_fn_append_file DISABLED_SUBDIRS $1
8032 wine_fn_config_symlink ()
8034 ac_links=$@
8035 wine_fn_append_rule \
8036 "$ac_links:
8037 @./config.status \$@"
8038 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8041 wine_binary="wine"
8042 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8043 WINELOADER_PROGRAMS="$wine_binary"
8045 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8047 case $host_os in
8048 cygwin*|mingw32*)
8049 if test -n "$ac_tool_prefix"; then
8050 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8051 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_DLLTOOL+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$DLLTOOL"; then
8058 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 DLLTOOL=$ac_cv_prog_DLLTOOL
8078 if test -n "$DLLTOOL"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8080 $as_echo "$DLLTOOL" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test -z "$ac_cv_prog_DLLTOOL"; then
8089 ac_ct_DLLTOOL=$DLLTOOL
8090 # Extract the first word of "dlltool", so it can be a program name with args.
8091 set dummy dlltool; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 if test -n "$ac_ct_DLLTOOL"; then
8098 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8099 else
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 for as_dir in $PATH
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8117 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8118 if test -n "$ac_ct_DLLTOOL"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8120 $as_echo "$ac_ct_DLLTOOL" >&6; }
8121 else
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8126 if test "x$ac_ct_DLLTOOL" = x; then
8127 DLLTOOL="false"
8128 else
8129 case $cross_compiling:$ac_tool_warned in
8130 yes:)
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8133 ac_tool_warned=yes ;;
8134 esac
8135 DLLTOOL=$ac_ct_DLLTOOL
8137 else
8138 DLLTOOL="$ac_cv_prog_DLLTOOL"
8141 LIBEXT="dll"
8142 DLLEXT=""
8143 IMPLIBEXT="a"
8144 enable_iphlpapi=${enable_iphlpapi:-no}
8145 enable_kernel32=${enable_kernel32:-no}
8146 enable_msvcrt=${enable_msvcrt:-no}
8147 enable_ntdll=${enable_ntdll:-no}
8148 enable_ws2_32=${enable_ws2_32:-no}
8149 enable_loader=${enable_loader:-no}
8150 enable_server=${enable_server:-no}
8151 with_x=${with_x:-no}
8152 with_pthread=${with_pthread:-no}
8154 crtlibs=""
8155 case $host_os in
8156 mingw32*)
8157 crtlibs="-lmsvcrt"
8158 SOCKET_LIBS="-lws2_32"
8160 esac
8162 LIBWINE_SHAREDLIB="libwine.dll"
8164 LIBWINE_IMPORTLIB="libwine.a"
8166 LIBWINE_INSTALL_LIB="libwine.dll"
8168 LIBWINE_INSTALL_DEV="libwine.a"
8170 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8172 LIBWINE_DEPENDS="wine.def"
8176 darwin*|macosx*)
8177 for ac_header in libunwind.h
8178 do :
8179 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8181 cat >>confdefs.h <<_ACEOF
8182 #define HAVE_LIBUNWIND_H 1
8183 _ACEOF
8187 done
8189 ac_ext=m
8190 ac_cpp='$OBJCPP $CPPFLAGS'
8191 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8192 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8193 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8195 ac_ext=m
8196 ac_cpp='$OBJCPP $CPPFLAGS'
8197 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8198 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8199 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8200 if test -n "$ac_tool_prefix"; then
8201 for ac_prog in gcc objcc objc cc CC
8203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_OBJC+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 if test -n "$OBJC"; then
8211 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8212 else
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 for as_dir in $PATH
8216 IFS=$as_save_IFS
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222 break 2
8224 done
8225 done
8226 IFS=$as_save_IFS
8230 OBJC=$ac_cv_prog_OBJC
8231 if test -n "$OBJC"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8233 $as_echo "$OBJC" >&6; }
8234 else
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8240 test -n "$OBJC" && break
8241 done
8243 if test -z "$OBJC"; then
8244 ac_ct_OBJC=$OBJC
8245 for ac_prog in gcc objcc objc cc CC
8247 # Extract the first word of "$ac_prog", so it can be a program name with args.
8248 set dummy $ac_prog; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 if test -n "$ac_ct_OBJC"; then
8255 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8256 else
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 for as_dir in $PATH
8260 IFS=$as_save_IFS
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 break 2
8268 done
8269 done
8270 IFS=$as_save_IFS
8274 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8275 if test -n "$ac_ct_OBJC"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8277 $as_echo "$ac_ct_OBJC" >&6; }
8278 else
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8284 test -n "$ac_ct_OBJC" && break
8285 done
8287 if test "x$ac_ct_OBJC" = x; then
8288 OBJC="gcc"
8289 else
8290 case $cross_compiling:$ac_tool_warned in
8291 yes:)
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8294 ac_tool_warned=yes ;;
8295 esac
8296 OBJC=$ac_ct_OBJC
8300 # Provide some information about the compiler.
8301 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8302 set X $ac_compile
8303 ac_compiler=$2
8304 for ac_option in --version -v -V -qversion; do
8305 { { ac_try="$ac_compiler $ac_option >&5"
8306 case "(($ac_try" in
8307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8309 esac
8310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8311 $as_echo "$ac_try_echo"; } >&5
8312 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8313 ac_status=$?
8314 if test -s conftest.err; then
8315 sed '10a\
8316 ... rest of stderr output deleted ...
8317 10q' conftest.err >conftest.er1
8318 cat conftest.er1 >&5
8320 rm -f conftest.er1 conftest.err
8321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8322 test $ac_status = 0; }
8323 done
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8326 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8327 if ${ac_cv_objc_compiler_gnu+:} false; then :
8328 $as_echo_n "(cached) " >&6
8329 else
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8334 main ()
8336 #ifndef __GNUC__
8337 choke me
8338 #endif
8341 return 0;
8343 _ACEOF
8344 if ac_fn_objc_try_compile "$LINENO"; then :
8345 ac_compiler_gnu=yes
8346 else
8347 ac_compiler_gnu=no
8349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8350 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8354 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8355 if test $ac_compiler_gnu = yes; then
8356 GOBJC=yes
8357 else
8358 GOBJC=
8360 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8361 ac_save_OBJCFLAGS=$OBJCFLAGS
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8363 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8364 if ${ac_cv_prog_objc_g+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 ac_save_objc_werror_flag=$ac_objc_werror_flag
8368 ac_objc_werror_flag=yes
8369 ac_cv_prog_objc_g=no
8370 OBJCFLAGS="-g"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8375 main ()
8379 return 0;
8381 _ACEOF
8382 if ac_fn_objc_try_compile "$LINENO"; then :
8383 ac_cv_prog_objc_g=yes
8384 else
8385 OBJCFLAGS=""
8386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387 /* end confdefs.h. */
8390 main ()
8394 return 0;
8396 _ACEOF
8397 if ac_fn_objc_try_compile "$LINENO"; then :
8399 else
8400 ac_objc_werror_flag=$ac_save_objc_werror_flag
8401 OBJCFLAGS="-g"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8406 main ()
8410 return 0;
8412 _ACEOF
8413 if ac_fn_objc_try_compile "$LINENO"; then :
8414 ac_cv_prog_objc_g=yes
8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421 ac_objc_werror_flag=$ac_save_objc_werror_flag
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8424 $as_echo "$ac_cv_prog_objc_g" >&6; }
8425 if test "$ac_test_OBJCFLAGS" = set; then
8426 OBJCFLAGS=$ac_save_OBJCFLAGS
8427 elif test $ac_cv_prog_objc_g = yes; then
8428 if test "$GOBJC" = yes; then
8429 OBJCFLAGS="-g -O2"
8430 else
8431 OBJCFLAGS="-g"
8433 else
8434 if test "$GOBJC" = yes; then
8435 OBJCFLAGS="-O2"
8436 else
8437 OBJCFLAGS=
8440 ac_ext=m
8441 ac_cpp='$OBJCPP $CPPFLAGS'
8442 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8443 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8444 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8447 ac_ext=m
8448 ac_cpp='$OBJCPP $CPPFLAGS'
8449 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8450 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8451 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8453 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8454 if test -z "$OBJCPP"; then
8455 if ${ac_cv_prog_OBJCPP+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 # Double quotes because OBJCPP needs to be expanded
8459 for OBJCPP in "$OBJC -E" "/lib/cpp"
8461 ac_preproc_ok=false
8462 for ac_objc_preproc_warn_flag in '' yes
8464 # Use a header file that comes with gcc, so configuring glibc
8465 # with a fresh cross-compiler works.
8466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8467 # <limits.h> exists even on freestanding compilers.
8468 # On the NeXT, cc -E runs the code through the compiler's parser,
8469 # not just through cpp. "Syntax error" is here to catch this case.
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8472 #ifdef __STDC__
8473 # include <limits.h>
8474 #else
8475 # include <assert.h>
8476 #endif
8477 Syntax error
8478 _ACEOF
8479 if ac_fn_objc_try_cpp "$LINENO"; then :
8481 else
8482 # Broken: fails on valid input.
8483 continue
8485 rm -f conftest.err conftest.i conftest.$ac_ext
8487 # OK, works on sane cases. Now check whether nonexistent headers
8488 # can be detected and how.
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 #include <ac_nonexistent.h>
8492 _ACEOF
8493 if ac_fn_objc_try_cpp "$LINENO"; then :
8494 # Broken: success on invalid input.
8495 continue
8496 else
8497 # Passes both tests.
8498 ac_preproc_ok=:
8499 break
8501 rm -f conftest.err conftest.i conftest.$ac_ext
8503 done
8504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8505 rm -f conftest.i conftest.err conftest.$ac_ext
8506 if $ac_preproc_ok; then :
8507 break
8510 done
8511 ac_cv_prog_OBJCPP=$OBJCPP
8514 OBJCPP=$ac_cv_prog_OBJCPP
8515 else
8516 ac_cv_prog_OBJCPP=$OBJCPP
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8519 $as_echo "$OBJCPP" >&6; }
8520 ac_preproc_ok=false
8521 for ac_objc_preproc_warn_flag in '' yes
8523 # Use a header file that comes with gcc, so configuring glibc
8524 # with a fresh cross-compiler works.
8525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8526 # <limits.h> exists even on freestanding compilers.
8527 # On the NeXT, cc -E runs the code through the compiler's parser,
8528 # not just through cpp. "Syntax error" is here to catch this case.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #ifdef __STDC__
8532 # include <limits.h>
8533 #else
8534 # include <assert.h>
8535 #endif
8536 Syntax error
8537 _ACEOF
8538 if ac_fn_objc_try_cpp "$LINENO"; then :
8540 else
8541 # Broken: fails on valid input.
8542 continue
8544 rm -f conftest.err conftest.i conftest.$ac_ext
8546 # OK, works on sane cases. Now check whether nonexistent headers
8547 # can be detected and how.
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8550 #include <ac_nonexistent.h>
8551 _ACEOF
8552 if ac_fn_objc_try_cpp "$LINENO"; then :
8553 # Broken: success on invalid input.
8554 continue
8555 else
8556 # Passes both tests.
8557 ac_preproc_ok=:
8558 break
8560 rm -f conftest.err conftest.i conftest.$ac_ext
8562 done
8563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8564 rm -f conftest.i conftest.err conftest.$ac_ext
8565 if $ac_preproc_ok; then :
8567 else
8568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8570 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8571 See \`config.log' for more details" "$LINENO" 5; }
8574 ac_ext=m
8575 ac_cpp='$OBJCPP $CPPFLAGS'
8576 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8577 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8578 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8581 for ac_header in Metal/Metal.h
8582 do :
8583 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8584 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8585 cat >>confdefs.h <<_ACEOF
8586 #define HAVE_METAL_METAL_H 1
8587 _ACEOF
8591 done
8593 ac_ext=c
8594 ac_cpp='$CPP $CPPFLAGS'
8595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8599 LIBEXT="dylib"
8600 DLLFLAGS="$DLLFLAGS -fPIC"
8601 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8602 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8603 COREFOUNDATION_LIBS="-framework CoreFoundation"
8605 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8607 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8609 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8611 CORESERVICES_LIBS="-framework CoreServices"
8613 APPKIT_LIBS="-framework AppKit"
8615 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8617 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8618 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 ac_wine_try_cflags_saved=$CFLAGS
8622 CFLAGS="$CFLAGS -Wl,-no_pie"
8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8625 int main(int argc, char **argv) { return 0; }
8626 _ACEOF
8627 if ac_fn_c_try_link "$LINENO"; then :
8628 ac_cv_cflags__Wl__no_pie=yes
8629 else
8630 ac_cv_cflags__Wl__no_pie=no
8632 rm -f core conftest.err conftest.$ac_objext \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8637 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8638 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8639 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8641 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8642 then
8643 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8646 if test "$ac_cv_header_Security_Security_h" = "yes"
8647 then
8648 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8650 ac_save_LIBS="$LIBS"
8651 LIBS="$LIBS $SECURITY_LIBS"
8652 for ac_func in SSLCopyPeerCertificates
8653 do :
8654 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8655 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8656 cat >>confdefs.h <<_ACEOF
8657 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8658 _ACEOF
8661 done
8663 LIBS="$ac_save_LIBS"
8665 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8666 then
8667 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8668 then
8669 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8671 else
8672 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8675 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8676 ac_save_LIBS="$LIBS"
8677 LIBS="$LIBS $COREAUDIO_LIBS"
8678 for ac_func in AUGraphAddNode
8679 do :
8680 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8681 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8682 cat >>confdefs.h <<_ACEOF
8683 #define HAVE_AUGRAPHADDNODE 1
8684 _ACEOF
8687 done
8689 LIBS="$ac_save_LIBS"
8691 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8692 then
8693 OPENAL_LIBS="-framework OpenAL"
8696 cat >>confdefs.h <<_ACEOF
8697 #define HAVE_OPENAL 1
8698 _ACEOF
8700 ac_cv_lib_openal=yes
8702 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8703 then
8704 OPENCL_LIBS="-framework OpenCL"
8706 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8708 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8709 then
8710 ac_save_LIBS="$LIBS"
8711 LIBS="$LIBS $IOKIT_LIBS"
8712 for ac_func in IOHIDManagerCreate
8713 do :
8714 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8715 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8716 cat >>confdefs.h <<_ACEOF
8717 #define HAVE_IOHIDMANAGERCREATE 1
8718 _ACEOF
8721 done
8723 LIBS="$ac_save_LIBS"
8725 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8726 then
8727 ac_save_LIBS="$LIBS"
8728 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8730 $as_echo_n "checking for the QuickTime framework... " >&6; }
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 #include <QuickTime/ImageCompression.h>
8735 main ()
8737 CodecManagerVersion(NULL);
8739 return 0;
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8744 $as_echo "yes" >&6; }
8745 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8747 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8748 else
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8750 $as_echo "no" >&6; }
8751 ac_cv_header_QuickTime_ImageCompression_h=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 LIBS="$ac_save_LIBS"
8757 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8758 then
8759 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8761 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8762 then
8763 CARBON_LIBS="-framework Carbon"
8766 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8767 then
8768 METAL_LIBS="-framework Metal -framework QuartzCore"
8772 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8773 then
8774 ac_save_LIBS="$LIBS"
8775 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8776 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8777 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8778 enable_winemac_drv=${enable_winemac_drv:-yes}
8781 LIBS="$ac_save_LIBS"
8784 if test "x$enable_win16" = "xyes"
8785 then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8787 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8788 if test "$cross_compiling" = yes; then :
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8790 $as_echo "cross-compiling, assuming yes" >&6; }
8791 else
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 asm(".text\n"
8795 "bad:\tnop;nop\n"
8796 "good:\tnop;nop\n\t"
8797 ".globl _testfunc\n"
8798 "_testfunc:\tcallw good");
8799 extern void testfunc();
8801 main ()
8803 unsigned short *p = (unsigned short *)testfunc;
8804 return p[0] != 0xe866 || p[1] != 0xfffa
8806 return 0;
8808 _ACEOF
8809 if ac_fn_c_try_run "$LINENO"; then :
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8811 $as_echo "yes" >&6; }
8812 else
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814 $as_echo "no" >&6; }
8815 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
8817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8818 conftest.$ac_objext conftest.beam conftest.$ac_ext
8823 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8825 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8827 LIBWINE_INSTALL_DEV="libwine.dylib"
8829 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8831 WINELOADER_DEPENDS="wine_info.plist"
8835 linux-android*)
8836 DLLFLAGS="$DLLFLAGS -fPIC"
8837 LDEXECFLAGS="-Wl,-pie"
8838 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8840 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8841 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 ac_wine_try_cflags_saved=$CFLAGS
8845 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8848 int main(int argc, char **argv) { return 0; }
8849 _ACEOF
8850 if ac_fn_c_try_link "$LINENO"; then :
8851 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8852 else
8853 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8855 rm -f core conftest.err conftest.$ac_objext \
8856 conftest$ac_exeext conftest.$ac_ext
8857 CFLAGS=$ac_wine_try_cflags_saved
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8860 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8861 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8862 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8864 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8866 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8867 if eval \${$as_ac_var+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 eval "$as_ac_var=yes"
8878 else
8879 eval "$as_ac_var=no"
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 eval ac_res=\$$as_ac_var
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8887 $as_echo "$ac_res" >&6; }
8888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8889 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8890 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8891 else
8892 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8894 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8895 if eval \${$as_ac_var+:} false; then :
8896 $as_echo_n "(cached) " >&6
8897 else
8898 ac_wine_try_cflags_saved=$CFLAGS
8899 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8902 int main(int argc, char **argv) { return 0; }
8903 _ACEOF
8904 if ac_fn_c_try_link "$LINENO"; then :
8905 eval "$as_ac_var=yes"
8906 else
8907 eval "$as_ac_var=no"
8909 rm -f core conftest.err conftest.$ac_objext \
8910 conftest$ac_exeext conftest.$ac_ext
8911 CFLAGS=$ac_wine_try_cflags_saved
8913 eval ac_res=\$$as_ac_var
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8915 $as_echo "$ac_res" >&6; }
8916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8917 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8918 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8922 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8923 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 ac_wine_try_cflags_saved=$CFLAGS
8927 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8930 int main(int argc, char **argv) { return 0; }
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 ac_cv_cflags__Wl___enable_new_dtags=yes
8934 else
8935 ac_cv_cflags__Wl___enable_new_dtags=no
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 CFLAGS=$ac_wine_try_cflags_saved
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8942 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8943 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8944 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8947 LIBWINE_SHAREDLIB="libwine.so"
8949 LIBWINE_INSTALL_LIB="libwine.so"
8951 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8955 $as_echo_n "checking for -lEGL... " >&6; }
8956 if ${ac_cv_lib_soname_EGL+:} false; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 ac_check_soname_save_LIBS=$LIBS
8960 LIBS="-lEGL $LIBS"
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8967 #ifdef __cplusplus
8968 extern "C"
8969 #endif
8970 char eglGetProcAddress ();
8972 main ()
8974 return eglGetProcAddress ();
8976 return 0;
8978 _ACEOF
8979 if ac_fn_c_try_link "$LINENO"; then :
8980 case "$LIBEXT" in
8981 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8982 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'` ;;
8983 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8984 if ${ac_cv_lib_soname_EGL:+false} :; then :
8985 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8986 fi ;;
8987 esac
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_soname_save_LIBS
8993 if ${ac_cv_lib_soname_EGL:+false} :; then :
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8995 $as_echo "not found" >&6; }
8997 else
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8999 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9001 cat >>confdefs.h <<_ACEOF
9002 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9003 _ACEOF
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9008 $as_echo_n "checking for -lGLESv2... " >&6; }
9009 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 ac_check_soname_save_LIBS=$LIBS
9013 LIBS="-lGLESv2 $LIBS"
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9020 #ifdef __cplusplus
9021 extern "C"
9022 #endif
9023 char glFlush ();
9025 main ()
9027 return glFlush ();
9029 return 0;
9031 _ACEOF
9032 if ac_fn_c_try_link "$LINENO"; then :
9033 case "$LIBEXT" in
9034 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9035 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'` ;;
9036 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9037 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9038 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9039 fi ;;
9040 esac
9042 rm -f core conftest.err conftest.$ac_objext \
9043 conftest$ac_exeext conftest.$ac_ext
9044 LIBS=$ac_check_soname_save_LIBS
9046 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9048 $as_echo "not found" >&6; }
9050 else
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9052 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9054 cat >>confdefs.h <<_ACEOF
9055 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9056 _ACEOF
9061 if test "x$exec_prefix" = xNONE
9062 then
9063 case $host_cpu in
9064 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9065 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9066 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9067 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9068 esac
9073 DLLFLAGS="$DLLFLAGS -fPIC"
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9075 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9076 if ${ac_cv_c_dll_gnuelf+:} false; then :
9077 $as_echo_n "(cached) " >&6
9078 else
9079 ac_wine_try_cflags_saved=$CFLAGS
9080 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 void myfunc() {}
9084 _ACEOF
9085 if ac_fn_c_try_link "$LINENO"; then :
9086 ac_cv_c_dll_gnuelf="yes"
9087 else
9088 ac_cv_c_dll_gnuelf="no"
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 CFLAGS=$ac_wine_try_cflags_saved
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9095 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9096 if test "$ac_cv_c_dll_gnuelf" = "yes"
9097 then
9098 LIBWINE_LDFLAGS="-shared"
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9100 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9101 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9102 $as_echo_n "(cached) " >&6
9103 else
9104 ac_wine_try_cflags_saved=$CFLAGS
9105 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9108 int main(int argc, char **argv) { return 0; }
9109 _ACEOF
9110 if ac_fn_c_try_link "$LINENO"; then :
9111 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9112 else
9113 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9115 rm -f core conftest.err conftest.$ac_objext \
9116 conftest$ac_exeext conftest.$ac_ext
9117 CFLAGS=$ac_wine_try_cflags_saved
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9120 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9121 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9122 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9123 else
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9125 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9126 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9127 $as_echo_n "(cached) " >&6
9128 else
9129 ac_wine_try_cflags_saved=$CFLAGS
9130 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9133 int main(int argc, char **argv) { return 0; }
9134 _ACEOF
9135 if ac_fn_c_try_link "$LINENO"; then :
9136 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9137 else
9138 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9140 rm -f core conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9142 CFLAGS=$ac_wine_try_cflags_saved
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9145 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9146 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9147 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9151 echo '{ global: *; };' >conftest.map
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9153 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9154 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_wine_try_cflags_saved=$CFLAGS
9158 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9161 int main(int argc, char **argv) { return 0; }
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9165 else
9166 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 CFLAGS=$ac_wine_try_cflags_saved
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9173 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9174 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9175 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9177 rm -f conftest.map
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9180 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9181 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 ac_wine_try_cflags_saved=$CFLAGS
9185 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9188 int main(int argc, char **argv) { return 0; }
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9192 else
9193 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 CFLAGS=$ac_wine_try_cflags_saved
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9200 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9201 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9202 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9205 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9207 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9208 if eval \${$as_ac_var+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_wine_try_cflags_saved=$CFLAGS
9212 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9215 int main(int argc, char **argv) { return 0; }
9216 _ACEOF
9217 if ac_fn_c_try_link "$LINENO"; then :
9218 eval "$as_ac_var=yes"
9219 else
9220 eval "$as_ac_var=no"
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9224 CFLAGS=$ac_wine_try_cflags_saved
9226 eval ac_res=\$$as_ac_var
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9228 $as_echo "$ac_res" >&6; }
9229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9230 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9231 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9232 else
9233 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9235 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9236 if eval \${$as_ac_var+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_wine_try_cflags_saved=$CFLAGS
9240 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9243 int main(int argc, char **argv) { return 0; }
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 eval "$as_ac_var=yes"
9247 else
9248 eval "$as_ac_var=no"
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 CFLAGS=$ac_wine_try_cflags_saved
9254 eval ac_res=\$$as_ac_var
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9256 $as_echo "$ac_res" >&6; }
9257 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9258 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9259 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9264 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9265 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_wine_try_cflags_saved=$CFLAGS
9269 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9272 int main(int argc, char **argv) { return 0; }
9273 _ACEOF
9274 if ac_fn_c_try_link "$LINENO"; then :
9275 ac_cv_cflags__Wl___enable_new_dtags=yes
9276 else
9277 ac_cv_cflags__Wl___enable_new_dtags=no
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 CFLAGS=$ac_wine_try_cflags_saved
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9284 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9285 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9286 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9289 case $host_cpu in
9290 *i[3456789]86* | x86_64 | *aarch64*)
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9292 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9293 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_wine_try_cflags_saved=$CFLAGS
9297 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9300 int main(int argc, char **argv) { return 0; }
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9304 else
9305 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 CFLAGS=$ac_wine_try_cflags_saved
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9312 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9313 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9314 case $host_os in
9315 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9316 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9317 esac
9318 else
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9320 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9321 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_wine_try_cflags_saved=$CFLAGS
9325 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9328 int main(int argc, char **argv) { return 0; }
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9332 else
9333 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 CFLAGS=$ac_wine_try_cflags_saved
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9340 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9341 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9342 case $host_os in
9343 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9344 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9345 esac
9347 # Extract the first word of "prelink", so it can be a program name with args.
9348 set dummy prelink; ac_word=$2
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9350 $as_echo_n "checking for $ac_word... " >&6; }
9351 if ${ac_cv_path_PRELINK+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 case $PRELINK in
9355 [\\/]* | ?:[\\/]*)
9356 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9360 for as_dir in /sbin /usr/sbin $PATH
9362 IFS=$as_save_IFS
9363 test -z "$as_dir" && as_dir=.
9364 for ac_exec_ext in '' $ac_executable_extensions; do
9365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9366 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9368 break 2
9370 done
9371 done
9372 IFS=$as_save_IFS
9374 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9376 esac
9378 PRELINK=$ac_cv_path_PRELINK
9379 if test -n "$PRELINK"; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9381 $as_echo "$PRELINK" >&6; }
9382 else
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9384 $as_echo "no" >&6; }
9388 if test "x$PRELINK" = xfalse
9389 then
9390 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9394 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9395 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_wine_try_cflags_saved=$CFLAGS
9399 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9402 int main(int argc, char **argv) { return 0; }
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9406 else
9407 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 CFLAGS=$ac_wine_try_cflags_saved
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9414 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9415 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9416 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9419 esac
9421 else
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9423 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9424 if ${ac_cv_c_dll_unixware+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_wine_try_cflags_saved=$CFLAGS
9428 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9431 void myfunc() {}
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_c_dll_unixware="yes"
9435 else
9436 ac_cv_c_dll_unixware="no"
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 CFLAGS=$ac_wine_try_cflags_saved
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9443 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9444 if test "$ac_cv_c_dll_unixware" = "yes"
9445 then
9446 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9449 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9451 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9453 LIBWINE_INSTALL_DEV="libwine.so"
9455 LIBWINE_DEPENDS="wine.map"
9458 esac
9460 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9461 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9462 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9463 enable_winemac_drv=${enable_winemac_drv:-no}
9464 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9466 CROSSTARGET=""
9468 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9469 then
9470 case "$host_cpu" in
9471 aarch64*)
9472 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9473 arm*)
9474 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9475 i[3456789]86*)
9476 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
9477 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9478 mingw32-gcc" ;;
9479 x86_64)
9480 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
9481 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9483 ac_prefix_list="" ;;
9484 esac
9485 for ac_prog in $ac_prefix_list
9487 # Extract the first word of "$ac_prog", so it can be a program name with args.
9488 set dummy $ac_prog; ac_word=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if ${ac_cv_prog_CROSSCC+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 if test -n "$CROSSCC"; then
9495 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9496 else
9497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9498 for as_dir in $PATH
9500 IFS=$as_save_IFS
9501 test -z "$as_dir" && as_dir=.
9502 for ac_exec_ext in '' $ac_executable_extensions; do
9503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9504 ac_cv_prog_CROSSCC="$ac_prog"
9505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9506 break 2
9508 done
9509 done
9510 IFS=$as_save_IFS
9514 CROSSCC=$ac_cv_prog_CROSSCC
9515 if test -n "$CROSSCC"; then
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9517 $as_echo "$CROSSCC" >&6; }
9518 else
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9520 $as_echo "no" >&6; }
9524 test -n "$CROSSCC" && break
9525 done
9526 test -n "$CROSSCC" || CROSSCC="false"
9528 if test "$CROSSCC" != "false"
9529 then
9530 ac_save_CC="$CC"
9531 CC="$CROSSCC"
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9533 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9538 main ()
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_compile "$LINENO"; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9547 $as_echo "yes" >&6; }
9548 set x $CROSSCC
9549 shift
9550 while test $# -ge 1
9552 case "$1" in
9553 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9554 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9555 esac
9556 shift
9557 done
9558 else
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9560 $as_echo "no" >&6; }
9562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9563 CC="$ac_save_CC"
9564 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9570 if test "$ac_cv_header_pthread_h" = "yes"
9571 then
9572 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9573 if test "x$ac_cv_func_pthread_create" = xyes; then :
9575 else
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9577 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9578 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9579 $as_echo_n "(cached) " >&6
9580 else
9581 ac_check_lib_save_LIBS=$LIBS
9582 LIBS="-lpthread $LIBS"
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9589 #ifdef __cplusplus
9590 extern "C"
9591 #endif
9592 char pthread_create ();
9594 main ()
9596 return pthread_create ();
9598 return 0;
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 ac_cv_lib_pthread_pthread_create=yes
9603 else
9604 ac_cv_lib_pthread_pthread_create=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9611 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9612 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9613 PTHREAD_LIBS="-lpthread"
9620 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9621 case "x$with_pthread" in
9622 xno) ;;
9623 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9624 Wine cannot support threads without libpthread.
9625 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9626 esac
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9632 $as_echo_n "checking for X... " >&6; }
9635 # Check whether --with-x was given.
9636 if test "${with_x+set}" = set; then :
9637 withval=$with_x;
9640 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9641 if test "x$with_x" = xno; then
9642 # The user explicitly disabled X.
9643 have_x=disabled
9644 else
9645 case $x_includes,$x_libraries in #(
9646 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9647 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 # One or both of the vars are not set, and there is no cached value.
9651 ac_x_includes=no ac_x_libraries=no
9652 rm -f -r conftest.dir
9653 if mkdir conftest.dir; then
9654 cd conftest.dir
9655 cat >Imakefile <<'_ACEOF'
9656 incroot:
9657 @echo incroot='${INCROOT}'
9658 usrlibdir:
9659 @echo usrlibdir='${USRLIBDIR}'
9660 libdir:
9661 @echo libdir='${LIBDIR}'
9662 _ACEOF
9663 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9664 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9665 for ac_var in incroot usrlibdir libdir; do
9666 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9667 done
9668 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9669 for ac_extension in a so sl dylib la dll; do
9670 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9671 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9672 ac_im_usrlibdir=$ac_im_libdir; break
9674 done
9675 # Screen out bogus values from the imake configuration. They are
9676 # bogus both because they are the default anyway, and because
9677 # using them would break gcc on systems where it needs fixed includes.
9678 case $ac_im_incroot in
9679 /usr/include) ac_x_includes= ;;
9680 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9681 esac
9682 case $ac_im_usrlibdir in
9683 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9684 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9685 esac
9687 cd ..
9688 rm -f -r conftest.dir
9691 # Standard set of common directories for X headers.
9692 # Check X11 before X11Rn because it is often a symlink to the current release.
9693 ac_x_header_dirs='
9694 /usr/X11/include
9695 /usr/X11R7/include
9696 /usr/X11R6/include
9697 /usr/X11R5/include
9698 /usr/X11R4/include
9700 /usr/include/X11
9701 /usr/include/X11R7
9702 /usr/include/X11R6
9703 /usr/include/X11R5
9704 /usr/include/X11R4
9706 /usr/local/X11/include
9707 /usr/local/X11R7/include
9708 /usr/local/X11R6/include
9709 /usr/local/X11R5/include
9710 /usr/local/X11R4/include
9712 /usr/local/include/X11
9713 /usr/local/include/X11R7
9714 /usr/local/include/X11R6
9715 /usr/local/include/X11R5
9716 /usr/local/include/X11R4
9718 /usr/X386/include
9719 /usr/x386/include
9720 /usr/XFree86/include/X11
9722 /usr/include
9723 /usr/local/include
9724 /usr/unsupported/include
9725 /usr/athena/include
9726 /usr/local/x11r5/include
9727 /usr/lpp/Xamples/include
9729 /usr/openwin/include
9730 /usr/openwin/share/include'
9732 if test "$ac_x_includes" = no; then
9733 # Guess where to find include files, by looking for Xlib.h.
9734 # First, try using that file with no special directory specified.
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9737 #include <X11/Xlib.h>
9738 _ACEOF
9739 if ac_fn_c_try_cpp "$LINENO"; then :
9740 # We can compile using X headers with no special include directory.
9741 ac_x_includes=
9742 else
9743 for ac_dir in $ac_x_header_dirs; do
9744 if test -r "$ac_dir/X11/Xlib.h"; then
9745 ac_x_includes=$ac_dir
9746 break
9748 done
9750 rm -f conftest.err conftest.i conftest.$ac_ext
9751 fi # $ac_x_includes = no
9753 if test "$ac_x_libraries" = no; then
9754 # Check for the libraries.
9755 # See if we find them without any special options.
9756 # Don't add to $LIBS permanently.
9757 ac_save_LIBS=$LIBS
9758 LIBS="-lX11 $LIBS"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9761 #include <X11/Xlib.h>
9763 main ()
9765 XrmInitialize ()
9767 return 0;
9769 _ACEOF
9770 if ac_fn_c_try_link "$LINENO"; then :
9771 LIBS=$ac_save_LIBS
9772 # We can link X programs with no special library path.
9773 ac_x_libraries=
9774 else
9775 LIBS=$ac_save_LIBS
9776 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9778 # Don't even attempt the hair of trying to link an X program!
9779 for ac_extension in a so sl dylib la dll; do
9780 if test -r "$ac_dir/libX11.$ac_extension"; then
9781 ac_x_libraries=$ac_dir
9782 break 2
9784 done
9785 done
9787 rm -f core conftest.err conftest.$ac_objext \
9788 conftest$ac_exeext conftest.$ac_ext
9789 fi # $ac_x_libraries = no
9791 case $ac_x_includes,$ac_x_libraries in #(
9792 no,* | *,no | *\'*)
9793 # Didn't find X, or a directory has "'" in its name.
9794 ac_cv_have_x="have_x=no";; #(
9796 # Record where we found X for the cache.
9797 ac_cv_have_x="have_x=yes\
9798 ac_x_includes='$ac_x_includes'\
9799 ac_x_libraries='$ac_x_libraries'"
9800 esac
9802 ;; #(
9803 *) have_x=yes;;
9804 esac
9805 eval "$ac_cv_have_x"
9806 fi # $with_x != no
9808 if test "$have_x" != yes; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9810 $as_echo "$have_x" >&6; }
9811 no_x=yes
9812 else
9813 # If each of the values was on the command line, it overrides each guess.
9814 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9815 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9816 # Update the cache value to reflect the command line values.
9817 ac_cv_have_x="have_x=yes\
9818 ac_x_includes='$x_includes'\
9819 ac_x_libraries='$x_libraries'"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9821 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9824 if test "$no_x" = yes; then
9825 # Not all programs may use this symbol, but it does not hurt to define it.
9827 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9829 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9830 else
9831 if test -n "$x_includes"; then
9832 X_CFLAGS="$X_CFLAGS -I$x_includes"
9835 # It would also be nice to do this for all -L options, not just this one.
9836 if test -n "$x_libraries"; then
9837 X_LIBS="$X_LIBS -L$x_libraries"
9838 # For Solaris; some versions of Sun CC require a space after -R and
9839 # others require no space. Words are not sufficient . . . .
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9841 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9842 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9843 ac_xsave_c_werror_flag=$ac_c_werror_flag
9844 ac_c_werror_flag=yes
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9849 main ()
9853 return 0;
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9858 $as_echo "no" >&6; }
9859 X_LIBS="$X_LIBS -R$x_libraries"
9860 else
9861 LIBS="$ac_xsave_LIBS -R $x_libraries"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9866 main ()
9870 return 0;
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9875 $as_echo "yes" >&6; }
9876 X_LIBS="$X_LIBS -R $x_libraries"
9877 else
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9879 $as_echo "neither works" >&6; }
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 ac_c_werror_flag=$ac_xsave_c_werror_flag
9887 LIBS=$ac_xsave_LIBS
9890 # Check for system-dependent libraries X programs must link with.
9891 # Do this before checking for the system-independent R6 libraries
9892 # (-lICE), since we may need -lsocket or whatever for X linking.
9894 if test "$ISC" = yes; then
9895 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9896 else
9897 # Martyn Johnson says this is needed for Ultrix, if the X
9898 # libraries were built with DECnet support. And Karl Berry says
9899 # the Alpha needs dnet_stub (dnet does not exist).
9900 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 /* end confdefs.h. */
9904 /* Override any GCC internal prototype to avoid an error.
9905 Use char because int might match the return type of a GCC
9906 builtin and then its argument prototype would still apply. */
9907 #ifdef __cplusplus
9908 extern "C"
9909 #endif
9910 char XOpenDisplay ();
9912 main ()
9914 return XOpenDisplay ();
9916 return 0;
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9921 else
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9923 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9924 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_check_lib_save_LIBS=$LIBS
9928 LIBS="-ldnet $LIBS"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char dnet_ntoa ();
9940 main ()
9942 return dnet_ntoa ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 ac_cv_lib_dnet_dnet_ntoa=yes
9949 else
9950 ac_cv_lib_dnet_dnet_ntoa=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9957 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9958 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9959 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9962 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9964 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9965 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_check_lib_save_LIBS=$LIBS
9969 LIBS="-ldnet_stub $LIBS"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9973 /* Override any GCC internal prototype to avoid an error.
9974 Use char because int might match the return type of a GCC
9975 builtin and then its argument prototype would still apply. */
9976 #ifdef __cplusplus
9977 extern "C"
9978 #endif
9979 char dnet_ntoa ();
9981 main ()
9983 return dnet_ntoa ();
9985 return 0;
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9990 else
9991 ac_cv_lib_dnet_stub_dnet_ntoa=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_lib_save_LIBS
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9998 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9999 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10000 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 LIBS="$ac_xsave_LIBS"
10009 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10010 # to get the SysV transport functions.
10011 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10012 # needs -lnsl.
10013 # The nsl library prevents programs from opening the X display
10014 # on Irix 5.2, according to T.E. Dickey.
10015 # The functions gethostbyname, getservbyname, and inet_addr are
10016 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10017 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10018 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10022 if test $ac_cv_func_gethostbyname = no; then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10024 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10025 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_check_lib_save_LIBS=$LIBS
10029 LIBS="-lnsl $LIBS"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 #ifdef __cplusplus
10037 extern "C"
10038 #endif
10039 char gethostbyname ();
10041 main ()
10043 return gethostbyname ();
10045 return 0;
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 ac_cv_lib_nsl_gethostbyname=yes
10050 else
10051 ac_cv_lib_nsl_gethostbyname=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LIBS=$ac_check_lib_save_LIBS
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10058 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10059 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10063 if test $ac_cv_lib_nsl_gethostbyname = no; then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10065 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10066 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-lbsd $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char gethostbyname ();
10082 main ()
10084 return gethostbyname ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_lib_bsd_gethostbyname=yes
10091 else
10092 ac_cv_lib_bsd_gethostbyname=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10099 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10100 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10101 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10107 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10108 # socket/setsockopt and other routines are undefined under SCO ODT
10109 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10110 # on later versions), says Simon Leinen: it contains gethostby*
10111 # variants that don't use the name server (or something). -lsocket
10112 # must be given before -lnsl if both are needed. We assume that
10113 # if connect needs -lnsl, so does gethostbyname.
10114 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10115 if test "x$ac_cv_func_connect" = xyes; then :
10119 if test $ac_cv_func_connect = no; then
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10121 $as_echo_n "checking for connect in -lsocket... " >&6; }
10122 if ${ac_cv_lib_socket_connect+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_check_lib_save_LIBS=$LIBS
10126 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10133 #ifdef __cplusplus
10134 extern "C"
10135 #endif
10136 char connect ();
10138 main ()
10140 return connect ();
10142 return 0;
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 ac_cv_lib_socket_connect=yes
10147 else
10148 ac_cv_lib_socket_connect=no
10150 rm -f core conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10152 LIBS=$ac_check_lib_save_LIBS
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10155 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10156 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10157 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10162 # Guillermo Gomez says -lposix is necessary on A/UX.
10163 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10164 if test "x$ac_cv_func_remove" = xyes; then :
10168 if test $ac_cv_func_remove = no; then
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10170 $as_echo_n "checking for remove in -lposix... " >&6; }
10171 if ${ac_cv_lib_posix_remove+:} false; then :
10172 $as_echo_n "(cached) " >&6
10173 else
10174 ac_check_lib_save_LIBS=$LIBS
10175 LIBS="-lposix $LIBS"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10182 #ifdef __cplusplus
10183 extern "C"
10184 #endif
10185 char remove ();
10187 main ()
10189 return remove ();
10191 return 0;
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 ac_cv_lib_posix_remove=yes
10196 else
10197 ac_cv_lib_posix_remove=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_lib_save_LIBS
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10204 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10205 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10211 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10212 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10213 if test "x$ac_cv_func_shmat" = xyes; then :
10217 if test $ac_cv_func_shmat = no; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10219 $as_echo_n "checking for shmat in -lipc... " >&6; }
10220 if ${ac_cv_lib_ipc_shmat+:} false; then :
10221 $as_echo_n "(cached) " >&6
10222 else
10223 ac_check_lib_save_LIBS=$LIBS
10224 LIBS="-lipc $LIBS"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10228 /* Override any GCC internal prototype to avoid an error.
10229 Use char because int might match the return type of a GCC
10230 builtin and then its argument prototype would still apply. */
10231 #ifdef __cplusplus
10232 extern "C"
10233 #endif
10234 char shmat ();
10236 main ()
10238 return shmat ();
10240 return 0;
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10244 ac_cv_lib_ipc_shmat=yes
10245 else
10246 ac_cv_lib_ipc_shmat=no
10248 rm -f core conftest.err conftest.$ac_objext \
10249 conftest$ac_exeext conftest.$ac_ext
10250 LIBS=$ac_check_lib_save_LIBS
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10253 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10254 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10261 # Check for libraries that X11R6 Xt/Xaw programs need.
10262 ac_save_LDFLAGS=$LDFLAGS
10263 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10264 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10265 # check for ICE first), but we must link in the order -lSM -lICE or
10266 # we get undefined symbols. So assume we have SM if we have ICE.
10267 # These have to be linked with before -lX11, unlike the other
10268 # libraries we check for below, so use a different variable.
10269 # John Interrante, Karl Berry
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10271 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10272 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_check_lib_save_LIBS=$LIBS
10276 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10283 #ifdef __cplusplus
10284 extern "C"
10285 #endif
10286 char IceConnectionNumber ();
10288 main ()
10290 return IceConnectionNumber ();
10292 return 0;
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 ac_cv_lib_ICE_IceConnectionNumber=yes
10297 else
10298 ac_cv_lib_ICE_IceConnectionNumber=no
10300 rm -f core conftest.err conftest.$ac_objext \
10301 conftest$ac_exeext conftest.$ac_ext
10302 LIBS=$ac_check_lib_save_LIBS
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10305 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10306 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10307 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10310 LDFLAGS=$ac_save_LDFLAGS
10315 if test "$have_x" = "yes"
10316 then
10317 ac_save_CPPFLAGS="$CPPFLAGS"
10318 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10321 $as_echo_n "checking for -lX11... " >&6; }
10322 if ${ac_cv_lib_soname_X11+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_check_soname_save_LIBS=$LIBS
10326 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char XCreateWindow ();
10338 main ()
10340 return XCreateWindow ();
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 case "$LIBEXT" in
10347 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10348 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'` ;;
10349 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10350 if ${ac_cv_lib_soname_X11:+false} :; then :
10351 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10352 fi ;;
10353 esac
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_soname_save_LIBS
10359 if ${ac_cv_lib_soname_X11:+false} :; then :
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10361 $as_echo "not found" >&6; }
10363 else
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10365 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10367 cat >>confdefs.h <<_ACEOF
10368 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10369 _ACEOF
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10374 $as_echo_n "checking for -lXext... " >&6; }
10375 if ${ac_cv_lib_soname_Xext+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_check_soname_save_LIBS=$LIBS
10379 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10386 #ifdef __cplusplus
10387 extern "C"
10388 #endif
10389 char XextCreateExtension ();
10391 main ()
10393 return XextCreateExtension ();
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 case "$LIBEXT" in
10400 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10401 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'` ;;
10402 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10403 if ${ac_cv_lib_soname_Xext:+false} :; then :
10404 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10405 fi ;;
10406 esac
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_soname_save_LIBS
10412 if ${ac_cv_lib_soname_Xext:+false} :; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10414 $as_echo "not found" >&6; }
10416 else
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10418 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10420 cat >>confdefs.h <<_ACEOF
10421 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10422 _ACEOF
10424 X_LIBS="$X_LIBS -lXext"
10426 X_LIBS="$X_LIBS -lX11"
10428 for ac_header in X11/Xlib.h \
10429 X11/XKBlib.h \
10430 X11/Xutil.h \
10431 X11/Xcursor/Xcursor.h \
10432 X11/extensions/shape.h \
10433 X11/extensions/XInput.h \
10434 X11/extensions/XInput2.h \
10435 X11/extensions/XShm.h \
10436 X11/extensions/Xcomposite.h \
10437 X11/extensions/Xfixes.h \
10438 X11/extensions/Xinerama.h \
10439 X11/extensions/Xrandr.h \
10440 X11/extensions/Xrender.h \
10441 X11/extensions/xf86vmode.h \
10442 X11/extensions/xf86vmproto.h
10443 do :
10444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10446 # include <X11/Xlib.h>
10447 #endif
10448 #ifdef HAVE_X11_XUTIL_H
10449 # include <X11/Xutil.h>
10450 #endif
10452 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10453 cat >>confdefs.h <<_ACEOF
10454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10455 _ACEOF
10459 done
10462 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10463 then
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10465 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10466 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10467 $as_echo_n "(cached) " >&6
10468 else
10469 ac_check_lib_save_LIBS=$LIBS
10470 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10474 /* Override any GCC internal prototype to avoid an error.
10475 Use char because int might match the return type of a GCC
10476 builtin and then its argument prototype would still apply. */
10477 #ifdef __cplusplus
10478 extern "C"
10479 #endif
10480 char XkbQueryExtension ();
10482 main ()
10484 return XkbQueryExtension ();
10486 return 0;
10488 _ACEOF
10489 if ac_fn_c_try_link "$LINENO"; then :
10490 ac_cv_lib_X11_XkbQueryExtension=yes
10491 else
10492 ac_cv_lib_X11_XkbQueryExtension=no
10494 rm -f core conftest.err conftest.$ac_objext \
10495 conftest$ac_exeext conftest.$ac_ext
10496 LIBS=$ac_check_lib_save_LIBS
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10499 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10500 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10502 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10508 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10509 then
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10511 $as_echo_n "checking for -lXcursor... " >&6; }
10512 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_check_soname_save_LIBS=$LIBS
10516 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10523 #ifdef __cplusplus
10524 extern "C"
10525 #endif
10526 char XcursorImageLoadCursor ();
10528 main ()
10530 return XcursorImageLoadCursor ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 case "$LIBEXT" in
10537 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10538 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'` ;;
10539 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10540 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10541 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10542 fi ;;
10543 esac
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_soname_save_LIBS
10549 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10551 $as_echo "not found" >&6; }
10553 else
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10555 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10557 cat >>confdefs.h <<_ACEOF
10558 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10559 _ACEOF
10564 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10565 case "x$with_xcursor" in
10566 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10567 xno) ;;
10568 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10569 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10570 esac
10574 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10575 then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10577 $as_echo_n "checking for -lXi... " >&6; }
10578 if ${ac_cv_lib_soname_Xi+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 ac_check_soname_save_LIBS=$LIBS
10582 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10589 #ifdef __cplusplus
10590 extern "C"
10591 #endif
10592 char XOpenDevice ();
10594 main ()
10596 return XOpenDevice ();
10598 return 0;
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 case "$LIBEXT" in
10603 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10604 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'` ;;
10605 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10606 if ${ac_cv_lib_soname_Xi:+false} :; then :
10607 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10608 fi ;;
10609 esac
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 LIBS=$ac_check_soname_save_LIBS
10615 if ${ac_cv_lib_soname_Xi:+false} :; then :
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10617 $as_echo "not found" >&6; }
10619 else
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10621 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10623 cat >>confdefs.h <<_ACEOF
10624 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10625 _ACEOF
10630 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10631 case "x$with_xinput" in
10632 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10633 xno) ;;
10634 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10635 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10636 esac
10640 if test "x$ac_cv_lib_soname_Xi" != x
10641 then
10642 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10643 case "x$with_xinput2" in
10644 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10645 xno) ;;
10646 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10647 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10648 esac
10653 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10654 then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10656 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10657 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_check_lib_save_LIBS=$LIBS
10661 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char XShmQueryExtension ();
10673 main ()
10675 return XShmQueryExtension ();
10677 return 0;
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 ac_cv_lib_Xext_XShmQueryExtension=yes
10682 else
10683 ac_cv_lib_Xext_XShmQueryExtension=no
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_lib_save_LIBS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10690 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10691 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10693 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10698 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10699 case "x$with_xshm" in
10700 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10701 xno) ;;
10702 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10703 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10704 esac
10708 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10709 then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10711 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10712 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char XShapeQueryExtension ();
10728 main ()
10730 return XShapeQueryExtension ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 ac_cv_lib_Xext_XShapeQueryExtension=yes
10737 else
10738 ac_cv_lib_Xext_XShapeQueryExtension=no
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10745 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10746 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10748 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10753 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10754 case "x$with_xshape" in
10755 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10756 xno) ;;
10757 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10758 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10759 esac
10763 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10764 then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10766 $as_echo_n "checking for -lXxf86vm... " >&6; }
10767 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10768 $as_echo_n "(cached) " >&6
10769 else
10770 ac_check_soname_save_LIBS=$LIBS
10771 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10775 /* Override any GCC internal prototype to avoid an error.
10776 Use char because int might match the return type of a GCC
10777 builtin and then its argument prototype would still apply. */
10778 #ifdef __cplusplus
10779 extern "C"
10780 #endif
10781 char XF86VidModeQueryExtension ();
10783 main ()
10785 return XF86VidModeQueryExtension ();
10787 return 0;
10789 _ACEOF
10790 if ac_fn_c_try_link "$LINENO"; then :
10791 case "$LIBEXT" in
10792 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10793 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'` ;;
10794 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10795 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10796 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10797 fi ;;
10798 esac
10800 rm -f core conftest.err conftest.$ac_objext \
10801 conftest$ac_exeext conftest.$ac_ext
10802 LIBS=$ac_check_soname_save_LIBS
10804 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10806 $as_echo "not found" >&6; }
10808 else
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10810 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10812 cat >>confdefs.h <<_ACEOF
10813 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10814 _ACEOF
10819 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10820 case "x$with_xxf86vm" in
10821 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10822 xno) ;;
10823 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10824 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10825 esac
10829 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10830 then
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10832 $as_echo_n "checking for -lXrender... " >&6; }
10833 if ${ac_cv_lib_soname_Xrender+:} false; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 ac_check_soname_save_LIBS=$LIBS
10837 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10844 #ifdef __cplusplus
10845 extern "C"
10846 #endif
10847 char XRenderQueryExtension ();
10849 main ()
10851 return XRenderQueryExtension ();
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 case "$LIBEXT" in
10858 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10859 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'` ;;
10860 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10861 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10862 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10863 fi ;;
10864 esac
10866 rm -f core conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10868 LIBS=$ac_check_soname_save_LIBS
10870 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10872 $as_echo "not found" >&6; }
10874 else
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10876 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10878 cat >>confdefs.h <<_ACEOF
10879 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10880 _ACEOF
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10883 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10884 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10885 $as_echo_n "(cached) " >&6
10886 else
10887 ac_check_lib_save_LIBS=$LIBS
10888 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10895 #ifdef __cplusplus
10896 extern "C"
10897 #endif
10898 char XRenderSetPictureTransform ();
10900 main ()
10902 return XRenderSetPictureTransform ();
10904 return 0;
10906 _ACEOF
10907 if ac_fn_c_try_link "$LINENO"; then :
10908 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10909 else
10910 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10917 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10918 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10920 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10925 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10926 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10927 $as_echo_n "(cached) " >&6
10928 else
10929 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10937 #ifdef __cplusplus
10938 extern "C"
10939 #endif
10940 char XRenderCreateLinearGradient ();
10942 main ()
10944 return XRenderCreateLinearGradient ();
10946 return 0;
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10951 else
10952 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10959 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10960 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10962 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10969 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10970 case "x$with_xrender" in
10971 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10972 xno) ;;
10973 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10974 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10975 esac
10979 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10980 then
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 #include <X11/Xlib.h>
10984 #include <X11/extensions/Xrandr.h>
10986 main ()
10988 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_compile "$LINENO"; then :
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10995 $as_echo_n "checking for -lXrandr... " >&6; }
10996 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10997 $as_echo_n "(cached) " >&6
10998 else
10999 ac_check_soname_save_LIBS=$LIBS
11000 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11004 /* Override any GCC internal prototype to avoid an error.
11005 Use char because int might match the return type of a GCC
11006 builtin and then its argument prototype would still apply. */
11007 #ifdef __cplusplus
11008 extern "C"
11009 #endif
11010 char XRRQueryExtension ();
11012 main ()
11014 return XRRQueryExtension ();
11016 return 0;
11018 _ACEOF
11019 if ac_fn_c_try_link "$LINENO"; then :
11020 case "$LIBEXT" in
11021 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11022 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'` ;;
11023 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11024 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11025 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11026 fi ;;
11027 esac
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_soname_save_LIBS
11033 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11035 $as_echo "not found" >&6; }
11037 else
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11039 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11041 cat >>confdefs.h <<_ACEOF
11042 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11043 _ACEOF
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 #include <X11/Xlib.h>
11048 #include <X11/extensions/Xrandr.h>
11050 main ()
11052 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11054 return 0;
11056 _ACEOF
11057 if ac_fn_c_try_compile "$LINENO"; then :
11059 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11067 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11068 case "x$with_xrandr" in
11069 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11070 xno) ;;
11071 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11072 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11073 esac
11077 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11078 then
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11081 #include <X11/Xlib.h>
11082 #include <X11/extensions/Xfixes.h>
11084 main ()
11086 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_compile "$LINENO"; then :
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11093 $as_echo_n "checking for -lXfixes... " >&6; }
11094 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11095 $as_echo_n "(cached) " >&6
11096 else
11097 ac_check_soname_save_LIBS=$LIBS
11098 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11102 /* Override any GCC internal prototype to avoid an error.
11103 Use char because int might match the return type of a GCC
11104 builtin and then its argument prototype would still apply. */
11105 #ifdef __cplusplus
11106 extern "C"
11107 #endif
11108 char XFixesQueryVersion ();
11110 main ()
11112 return XFixesQueryVersion ();
11114 return 0;
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"; then :
11118 case "$LIBEXT" in
11119 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11120 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'` ;;
11121 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11122 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11123 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11124 fi ;;
11125 esac
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_soname_save_LIBS
11131 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11133 $as_echo "not found" >&6; }
11135 else
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11137 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11139 cat >>confdefs.h <<_ACEOF
11140 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11141 _ACEOF
11146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11148 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11149 case "x$with_xfixes" in
11150 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11151 xno) ;;
11152 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11153 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11154 esac
11158 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11159 then
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11162 #include <X11/Xlib.h>
11163 #include <X11/extensions/Xinerama.h>
11165 main ()
11167 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_compile "$LINENO"; then :
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11174 $as_echo_n "checking for -lXinerama... " >&6; }
11175 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11176 $as_echo_n "(cached) " >&6
11177 else
11178 ac_check_soname_save_LIBS=$LIBS
11179 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char XineramaQueryScreens ();
11191 main ()
11193 return XineramaQueryScreens ();
11195 return 0;
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199 case "$LIBEXT" in
11200 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11201 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'` ;;
11202 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11203 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11204 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11205 fi ;;
11206 esac
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_soname_save_LIBS
11212 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11214 $as_echo "not found" >&6; }
11216 else
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11218 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11220 cat >>confdefs.h <<_ACEOF
11221 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11222 _ACEOF
11227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11229 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11230 case "x$with_xinerama" in
11231 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11232 xno) ;;
11233 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11234 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11235 esac
11239 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11240 then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11242 $as_echo_n "checking for -lXcomposite... " >&6; }
11243 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_soname_save_LIBS=$LIBS
11247 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char XCompositeRedirectWindow ();
11259 main ()
11261 return XCompositeRedirectWindow ();
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 case "$LIBEXT" in
11268 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11269 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'` ;;
11270 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11271 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11272 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11273 fi ;;
11274 esac
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_soname_save_LIBS
11280 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11282 $as_echo "not found" >&6; }
11284 else
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11286 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11288 cat >>confdefs.h <<_ACEOF
11289 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11290 _ACEOF
11295 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11296 case "x$with_xcomposite" in
11297 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11298 xno) ;;
11299 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11300 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11301 esac
11305 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11306 #include <X11/Xlib.h>
11307 #endif
11309 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11311 cat >>confdefs.h <<_ACEOF
11312 #define HAVE_XICCALLBACK_CALLBACK 1
11313 _ACEOF
11317 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11318 #include <X11/Xlib.h>
11319 #endif
11321 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11323 cat >>confdefs.h <<_ACEOF
11324 #define HAVE_XEVENT_XCOOKIE 1
11325 _ACEOF
11332 opengl_msg=""
11333 if test "x$with_opengl" != "xno"
11334 then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11336 $as_echo_n "checking for -lGL... " >&6; }
11337 if ${ac_cv_lib_soname_GL+:} false; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_soname_save_LIBS=$LIBS
11341 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char glXCreateContext ();
11353 main ()
11355 return glXCreateContext ();
11357 return 0;
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 case "$LIBEXT" in
11362 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11363 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'` ;;
11364 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11365 if ${ac_cv_lib_soname_GL:+false} :; then :
11366 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11367 fi ;;
11368 esac
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_soname_save_LIBS
11374 if ${ac_cv_lib_soname_GL:+false} :; then :
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11376 $as_echo "not found" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11378 $as_echo_n "checking for -lGL... " >&6; }
11379 if ${ac_cv_lib_soname_GL+:} false; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_soname_save_LIBS=$LIBS
11383 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"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char glXCreateContext ();
11395 main ()
11397 return glXCreateContext ();
11399 return 0;
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 case "$LIBEXT" in
11404 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11405 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'` ;;
11406 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11407 if ${ac_cv_lib_soname_GL:+false} :; then :
11408 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11409 fi ;;
11410 esac
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_soname_save_LIBS
11416 if ${ac_cv_lib_soname_GL:+false} :; then :
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11418 $as_echo "not found" >&6; }
11419 if test -f /usr/X11R6/lib/libGL.a
11420 then
11421 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11422 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11423 else
11424 opengl_msg="No OpenGL library found on this system."
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11428 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11430 cat >>confdefs.h <<_ACEOF
11431 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11432 _ACEOF
11434 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"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11438 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11442 _ACEOF
11444 OPENGL_LIBS="-lGL"
11446 if test "x$with_glu" != "xno"
11447 then
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11449 $as_echo_n "checking for -lGLU... " >&6; }
11450 if ${ac_cv_lib_soname_GLU+:} false; then :
11451 $as_echo_n "(cached) " >&6
11452 else
11453 ac_check_soname_save_LIBS=$LIBS
11454 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char gluLookAt ();
11466 main ()
11468 return gluLookAt ();
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 case "$LIBEXT" in
11475 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11476 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'` ;;
11477 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11478 if ${ac_cv_lib_soname_GLU:+false} :; then :
11479 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11480 fi ;;
11481 esac
11483 rm -f core conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_soname_save_LIBS
11487 if ${ac_cv_lib_soname_GLU:+false} :; then :
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11489 $as_echo "not found" >&6; }
11491 else
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11493 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11495 cat >>confdefs.h <<_ACEOF
11496 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11497 _ACEOF
11501 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11502 case "x$with_glu" in
11503 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11504 xno) ;;
11505 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11506 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11507 esac
11512 if test "x$with_osmesa" != "xno"
11513 then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11515 $as_echo_n "checking for -lOSMesa... " >&6; }
11516 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11517 $as_echo_n "(cached) " >&6
11518 else
11519 ac_check_soname_save_LIBS=$LIBS
11520 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char OSMesaGetProcAddress ();
11532 main ()
11534 return OSMesaGetProcAddress ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 case "$LIBEXT" in
11541 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11542 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'` ;;
11543 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11544 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11545 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11546 fi ;;
11547 esac
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_soname_save_LIBS
11553 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11555 $as_echo "not found" >&6; }
11557 else
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11559 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11561 cat >>confdefs.h <<_ACEOF
11562 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11563 _ACEOF
11567 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11568 case "x$with_osmesa" in
11569 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11570 xno) ;;
11571 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11572 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11573 esac
11578 if test -n "$opengl_msg"; then :
11579 case "x$with_opengl" in
11580 x) as_fn_append wine_warnings "|$opengl_msg
11581 OpenGL and Direct3D won't be supported." ;;
11582 xno) ;;
11583 *) as_fn_error $? "$opengl_msg
11584 OpenGL and Direct3D won't be supported.
11585 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11586 esac
11590 CPPFLAGS="$ac_save_CPPFLAGS"
11591 else
11592 X_CFLAGS=""
11593 X_LIBS=""
11596 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11597 then
11598 if test "x$X_LIBS" = "x"; then :
11599 case "x$with_x" in
11600 xno) ;;
11601 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11602 without X support, which probably isn't what you want. You will need
11603 to install ${notice_platform}development packages of Xlib at the very least.
11604 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11605 esac
11606 enable_winex11_drv=${enable_winex11_drv:-no}
11608 else
11609 if test "x$X_LIBS" = "x"; then :
11610 case "x$with_x" in
11611 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11612 xno) ;;
11613 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11614 This is an error since --with-x was requested." "$LINENO" 5 ;;
11615 esac
11616 enable_winex11_drv=${enable_winex11_drv:-no}
11620 if test "$ac_cv_header_CL_cl_h" = "yes"
11621 then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11623 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11624 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11625 $as_echo_n "(cached) " >&6
11626 else
11627 ac_check_lib_save_LIBS=$LIBS
11628 LIBS="-lOpenCL $LIBS"
11629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11632 /* Override any GCC internal prototype to avoid an error.
11633 Use char because int might match the return type of a GCC
11634 builtin and then its argument prototype would still apply. */
11635 #ifdef __cplusplus
11636 extern "C"
11637 #endif
11638 char clGetPlatformInfo ();
11640 main ()
11642 return clGetPlatformInfo ();
11644 return 0;
11646 _ACEOF
11647 if ac_fn_c_try_link "$LINENO"; then :
11648 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11649 else
11650 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11652 rm -f core conftest.err conftest.$ac_objext \
11653 conftest$ac_exeext conftest.$ac_ext
11654 LIBS=$ac_check_lib_save_LIBS
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11657 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11658 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11659 OPENCL_LIBS="-lOpenCL"
11664 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11665 case "x$with_opencl" in
11666 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11667 xno) ;;
11668 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11669 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11670 esac
11671 enable_opencl=${enable_opencl:-no}
11674 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11677 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11678 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_lib_save_LIBS=$LIBS
11682 LIBS="-lpcap $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char pcap_create ();
11694 main ()
11696 return pcap_create ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 ac_cv_lib_pcap_pcap_create=yes
11703 else
11704 ac_cv_lib_pcap_pcap_create=no
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 LIBS=$ac_check_lib_save_LIBS
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11711 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11712 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11713 PCAP_LIBS="-lpcap"
11718 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11719 case "x$with_pcap" in
11720 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11721 xno) ;;
11722 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11723 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11724 esac
11725 enable_wpcap=${enable_wpcap:-no}
11729 if test "x$with_xml" != "xno"
11730 then
11731 if ${XML2_CFLAGS:+false} :; then :
11732 if ${PKG_CONFIG+:} false; then :
11733 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11736 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11737 if ${XML2_LIBS:+false} :; then :
11738 if ${PKG_CONFIG+:} false; then :
11739 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11742 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11743 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11744 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11745 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11746 ac_save_CPPFLAGS=$CPPFLAGS
11747 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11748 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11749 do :
11750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11751 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11752 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11753 cat >>confdefs.h <<_ACEOF
11754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11755 _ACEOF
11759 done
11761 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"
11762 then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11764 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11765 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11766 $as_echo_n "(cached) " >&6
11767 else
11768 ac_check_lib_save_LIBS=$LIBS
11769 LIBS="-lxml2 $XML2_LIBS $LIBS"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11776 #ifdef __cplusplus
11777 extern "C"
11778 #endif
11779 char xmlParseMemory ();
11781 main ()
11783 return xmlParseMemory ();
11785 return 0;
11787 _ACEOF
11788 if ac_fn_c_try_link "$LINENO"; then :
11789 ac_cv_lib_xml2_xmlParseMemory=yes
11790 else
11791 ac_cv_lib_xml2_xmlParseMemory=no
11793 rm -f core conftest.err conftest.$ac_objext \
11794 conftest$ac_exeext conftest.$ac_ext
11795 LIBS=$ac_check_lib_save_LIBS
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11798 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11799 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11801 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11803 else
11804 XML2_LIBS=""
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11808 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11809 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11810 $as_echo_n "(cached) " >&6
11811 else
11812 ac_check_lib_save_LIBS=$LIBS
11813 LIBS="-lxml2 $XML2_LIBS $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11820 #ifdef __cplusplus
11821 extern "C"
11822 #endif
11823 char xmlReadMemory ();
11825 main ()
11827 return xmlReadMemory ();
11829 return 0;
11831 _ACEOF
11832 if ac_fn_c_try_link "$LINENO"; then :
11833 ac_cv_lib_xml2_xmlReadMemory=yes
11834 else
11835 ac_cv_lib_xml2_xmlReadMemory=no
11837 rm -f core conftest.err conftest.$ac_objext \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11842 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11843 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11845 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11850 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11851 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_lib_save_LIBS=$LIBS
11855 LIBS="-lxml2 $XML2_LIBS $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char xmlNewDocPI ();
11867 main ()
11869 return xmlNewDocPI ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 ac_cv_lib_xml2_xmlNewDocPI=yes
11876 else
11877 ac_cv_lib_xml2_xmlNewDocPI=no
11879 rm -f core conftest.err conftest.$ac_objext \
11880 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_check_lib_save_LIBS
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11884 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11885 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11887 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11892 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11893 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11894 $as_echo_n "(cached) " >&6
11895 else
11896 ac_check_lib_save_LIBS=$LIBS
11897 LIBS="-lxml2 $XML2_LIBS $LIBS"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11901 /* Override any GCC internal prototype to avoid an error.
11902 Use char because int might match the return type of a GCC
11903 builtin and then its argument prototype would still apply. */
11904 #ifdef __cplusplus
11905 extern "C"
11906 #endif
11907 char xmlSchemaSetParserStructuredErrors ();
11909 main ()
11911 return xmlSchemaSetParserStructuredErrors ();
11913 return 0;
11915 _ACEOF
11916 if ac_fn_c_try_link "$LINENO"; then :
11917 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11918 else
11919 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11921 rm -f core conftest.err conftest.$ac_objext \
11922 conftest$ac_exeext conftest.$ac_ext
11923 LIBS=$ac_check_lib_save_LIBS
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11926 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11927 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11929 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11934 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11935 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 ac_check_lib_save_LIBS=$LIBS
11939 LIBS="-lxml2 $XML2_LIBS $LIBS"
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11943 /* Override any GCC internal prototype to avoid an error.
11944 Use char because int might match the return type of a GCC
11945 builtin and then its argument prototype would still apply. */
11946 #ifdef __cplusplus
11947 extern "C"
11948 #endif
11949 char xmlSchemaSetValidStructuredErrors ();
11951 main ()
11953 return xmlSchemaSetValidStructuredErrors ();
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11960 else
11961 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11963 rm -f core conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11965 LIBS=$ac_check_lib_save_LIBS
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11968 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11969 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11971 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11976 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11977 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-lxml2 $XML2_LIBS $LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
11988 #ifdef __cplusplus
11989 extern "C"
11990 #endif
11991 char xmlFirstElementChild ();
11993 main ()
11995 return xmlFirstElementChild ();
11997 return 0;
11999 _ACEOF
12000 if ac_fn_c_try_link "$LINENO"; then :
12001 ac_cv_lib_xml2_xmlFirstElementChild=yes
12002 else
12003 ac_cv_lib_xml2_xmlFirstElementChild=no
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12010 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12011 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12013 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12017 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12019 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12021 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12025 else
12026 XML2_CFLAGS=""
12027 XML2_LIBS=""
12029 CPPFLAGS=$ac_save_CPPFLAGS
12030 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12031 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12034 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12035 case "x$with_xml" in
12036 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12037 xno) ;;
12038 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12039 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12040 esac
12044 if test "x$with_xslt" != "xno"
12045 then
12046 if ${XSLT_CFLAGS:+false} :; then :
12047 if ${PKG_CONFIG+:} false; then :
12048 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12051 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12052 if ${XSLT_LIBS:+false} :; then :
12053 if ${PKG_CONFIG+:} false; then :
12054 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12057 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12058 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12059 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12060 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12061 ac_save_CPPFLAGS=$CPPFLAGS
12062 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12063 for ac_header in libxslt/pattern.h libxslt/transform.h
12064 do :
12065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12066 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12067 # include <libxslt/pattern.h>
12068 #endif
12070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12071 cat >>confdefs.h <<_ACEOF
12072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12073 _ACEOF
12077 done
12079 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12080 then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12082 $as_echo_n "checking for -lxslt... " >&6; }
12083 if ${ac_cv_lib_soname_xslt+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_soname_save_LIBS=$LIBS
12087 LIBS="-lxslt $XSLT_LIBS $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char xsltCompilePattern ();
12099 main ()
12101 return xsltCompilePattern ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 case "$LIBEXT" in
12108 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if ${ac_cv_lib_soname_xslt:+false} :; then :
12112 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12113 fi ;;
12114 esac
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_soname_save_LIBS
12120 if ${ac_cv_lib_soname_xslt:+false} :; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12126 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12128 cat >>confdefs.h <<_ACEOF
12129 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12130 _ACEOF
12134 else
12135 XSLT_CFLAGS=""
12137 CPPFLAGS=$ac_save_CPPFLAGS
12138 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12139 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12142 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12143 case "x$with_xslt" in
12144 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12145 xno) ;;
12146 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12147 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12148 esac
12152 if test "x$with_dbus" != "xno"
12153 then
12154 if ${DBUS_CFLAGS:+false} :; then :
12155 if ${PKG_CONFIG+:} false; then :
12156 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12160 if ${DBUS_LIBS:+false} :; then :
12161 if ${PKG_CONFIG+:} false; then :
12162 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12167 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12168 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12169 ac_save_CPPFLAGS=$CPPFLAGS
12170 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12171 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12172 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12174 $as_echo_n "checking for -ldbus-1... " >&6; }
12175 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 ac_check_soname_save_LIBS=$LIBS
12179 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12186 #ifdef __cplusplus
12187 extern "C"
12188 #endif
12189 char dbus_connection_close ();
12191 main ()
12193 return dbus_connection_close ();
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_link "$LINENO"; then :
12199 case "$LIBEXT" in
12200 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12201 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'` ;;
12202 *) 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'`
12203 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12204 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12205 fi ;;
12206 esac
12208 rm -f core conftest.err conftest.$ac_objext \
12209 conftest$ac_exeext conftest.$ac_ext
12210 LIBS=$ac_check_soname_save_LIBS
12212 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12214 $as_echo "not found" >&6; }
12215 DBUS_CFLAGS=""
12216 else
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12218 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12220 cat >>confdefs.h <<_ACEOF
12221 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12222 _ACEOF
12226 else
12227 DBUS_CFLAGS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12232 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12233 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12236 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12237 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12238 case "x$with_dbus" in
12239 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12240 xno) ;;
12241 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12242 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12243 esac
12247 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12248 then
12249 if ${HAL_CFLAGS:+false} :; then :
12250 if ${PKG_CONFIG+:} false; then :
12251 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12255 if ${HAL_LIBS:+false} :; then :
12256 if ${PKG_CONFIG+:} false; then :
12257 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12261 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12262 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12264 ac_save_CPPFLAGS=$CPPFLAGS
12265 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12266 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12267 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12269 $as_echo_n "checking for -lhal... " >&6; }
12270 if ${ac_cv_lib_soname_hal+:} false; then :
12271 $as_echo_n "(cached) " >&6
12272 else
12273 ac_check_soname_save_LIBS=$LIBS
12274 LIBS="-lhal $HAL_LIBS $LIBS"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12278 /* Override any GCC internal prototype to avoid an error.
12279 Use char because int might match the return type of a GCC
12280 builtin and then its argument prototype would still apply. */
12281 #ifdef __cplusplus
12282 extern "C"
12283 #endif
12284 char libhal_ctx_new ();
12286 main ()
12288 return libhal_ctx_new ();
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_link "$LINENO"; then :
12294 case "$LIBEXT" in
12295 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12296 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'` ;;
12297 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12298 if ${ac_cv_lib_soname_hal:+false} :; then :
12299 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12300 fi ;;
12301 esac
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 LIBS=$ac_check_soname_save_LIBS
12307 if ${ac_cv_lib_soname_hal:+false} :; then :
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12309 $as_echo "not found" >&6; }
12310 HAL_CFLAGS=""
12311 else
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12313 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12315 cat >>confdefs.h <<_ACEOF
12316 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12317 _ACEOF
12321 else
12322 HAL_CFLAGS=""
12326 CPPFLAGS=$ac_save_CPPFLAGS
12327 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12328 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12330 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12331 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12332 case "x$with_hal" in
12333 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12334 xno) ;;
12335 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12336 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12337 esac
12342 if test "x$with_gnutls" != "xno"
12343 then
12344 if ${GNUTLS_CFLAGS:+false} :; then :
12345 if ${PKG_CONFIG+:} false; then :
12346 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12350 if ${GNUTLS_LIBS:+false} :; then :
12351 if ${PKG_CONFIG+:} false; then :
12352 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12357 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12358 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12359 ac_save_CPPFLAGS=$CPPFLAGS
12360 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12361 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12362 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365 #include <gnutls/gnutls.h>
12366 #include <gnutls/crypto.h>
12368 main ()
12370 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_compile "$LINENO"; then :
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12377 $as_echo_n "checking for -lgnutls... " >&6; }
12378 if ${ac_cv_lib_soname_gnutls+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 ac_check_soname_save_LIBS=$LIBS
12382 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 #ifdef __cplusplus
12390 extern "C"
12391 #endif
12392 char gnutls_global_init ();
12394 main ()
12396 return gnutls_global_init ();
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 case "$LIBEXT" in
12403 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) 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'`
12406 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12407 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'`
12408 fi ;;
12409 esac
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_soname_save_LIBS
12415 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12417 $as_echo "not found" >&6; }
12418 GNUTLS_CFLAGS=""
12419 else
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12421 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12423 cat >>confdefs.h <<_ACEOF
12424 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12425 _ACEOF
12429 ac_wine_check_funcs_save_LIBS="$LIBS"
12430 LIBS="$LIBS $GNUTLS_LIBS"
12431 for ac_func in gnutls_cipher_init
12432 do :
12433 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12434 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12435 cat >>confdefs.h <<_ACEOF
12436 #define HAVE_GNUTLS_CIPHER_INIT 1
12437 _ACEOF
12439 else
12440 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12442 done
12444 LIBS="$ac_wine_check_funcs_save_LIBS"
12446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12447 else
12448 GNUTLS_CFLAGS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12453 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12454 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12457 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12458 case "x$with_gnutls" in
12459 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12460 xno) ;;
12461 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12462 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12463 esac
12467 CURSES_LIBS=""
12468 if test "$ac_cv_header_ncurses_h" = "yes"
12469 then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12471 $as_echo_n "checking for -lncurses... " >&6; }
12472 if ${ac_cv_lib_soname_ncurses+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12475 ac_check_soname_save_LIBS=$LIBS
12476 LIBS="-lncurses $LIBS"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12483 #ifdef __cplusplus
12484 extern "C"
12485 #endif
12486 char waddch ();
12488 main ()
12490 return waddch ();
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496 case "$LIBEXT" in
12497 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12498 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'` ;;
12499 *) 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'`
12500 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12501 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12502 fi ;;
12503 esac
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_soname_save_LIBS
12509 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12511 $as_echo "not found" >&6; }
12513 else
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12515 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12517 cat >>confdefs.h <<_ACEOF
12518 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12519 _ACEOF
12521 CURSES_LIBS="-lncurses"
12523 elif test "$ac_cv_header_curses_h" = "yes"
12524 then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12526 $as_echo_n "checking for -lcurses... " >&6; }
12527 if ${ac_cv_lib_soname_curses+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_check_soname_save_LIBS=$LIBS
12531 LIBS="-lcurses $LIBS"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12538 #ifdef __cplusplus
12539 extern "C"
12540 #endif
12541 char waddch ();
12543 main ()
12545 return waddch ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 case "$LIBEXT" in
12552 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12553 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'` ;;
12554 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12555 if ${ac_cv_lib_soname_curses:+false} :; then :
12556 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12557 fi ;;
12558 esac
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_soname_save_LIBS
12564 if ${ac_cv_lib_soname_curses:+false} :; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12566 $as_echo "not found" >&6; }
12568 else
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12570 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12572 cat >>confdefs.h <<_ACEOF
12573 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12574 _ACEOF
12576 CURSES_LIBS="-lcurses"
12579 ac_save_LIBS="$LIBS"
12580 LIBS="$LIBS $CURSES_LIBS"
12581 for ac_func in mousemask
12582 do :
12583 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12584 if test "x$ac_cv_func_mousemask" = xyes; then :
12585 cat >>confdefs.h <<_ACEOF
12586 #define HAVE_MOUSEMASK 1
12587 _ACEOF
12590 done
12592 LIBS="$ac_save_LIBS"
12593 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12594 case "x$with_curses" in
12595 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12596 xno) ;;
12597 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12598 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12599 esac
12603 if test "x$with_sane" != "xno"
12604 then
12605 if ${SANE_CFLAGS:+false} :; then :
12606 if ${PKG_CONFIG+:} false; then :
12607 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12610 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12611 if ${SANE_LIBS:+false} :; then :
12612 if ${PKG_CONFIG+:} false; then :
12613 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12616 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12618 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12619 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12620 ac_save_CPPFLAGS=$CPPFLAGS
12621 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12622 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12623 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12625 $as_echo_n "checking for -lsane... " >&6; }
12626 if ${ac_cv_lib_soname_sane+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 ac_check_soname_save_LIBS=$LIBS
12630 LIBS="-lsane $SANE_LIBS $LIBS"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 #endif
12640 char sane_init ();
12642 main ()
12644 return sane_init ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"; then :
12650 case "$LIBEXT" in
12651 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12652 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'` ;;
12653 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12654 if ${ac_cv_lib_soname_sane:+false} :; then :
12655 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12656 fi ;;
12657 esac
12659 rm -f core conftest.err conftest.$ac_objext \
12660 conftest$ac_exeext conftest.$ac_ext
12661 LIBS=$ac_check_soname_save_LIBS
12663 if ${ac_cv_lib_soname_sane:+false} :; then :
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12665 $as_echo "not found" >&6; }
12666 SANE_CFLAGS=""
12667 else
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12669 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12671 cat >>confdefs.h <<_ACEOF
12672 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12673 _ACEOF
12677 else
12678 SANE_CFLAGS=""
12682 CPPFLAGS=$ac_save_CPPFLAGS
12683 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12684 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12687 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12688 case "x$with_sane" in
12689 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12690 xno) ;;
12691 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12692 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12693 esac
12697 if test "x$with_v4l" != "xno"
12698 then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12700 $as_echo_n "checking for -lv4l1... " >&6; }
12701 if ${ac_cv_lib_soname_v4l1+:} false; then :
12702 $as_echo_n "(cached) " >&6
12703 else
12704 ac_check_soname_save_LIBS=$LIBS
12705 LIBS="-lv4l1 $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char v4l1_open ();
12717 main ()
12719 return v4l1_open ();
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725 case "$LIBEXT" in
12726 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12727 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'` ;;
12728 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12729 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12730 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12731 fi ;;
12732 esac
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_soname_save_LIBS
12738 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12740 $as_echo "not found" >&6; }
12742 else
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12744 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12746 cat >>confdefs.h <<_ACEOF
12747 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12748 _ACEOF
12753 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12754 case "x$with_v4l" in
12755 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12756 xno) ;;
12757 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12758 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12759 esac
12763 if test "x$with_gphoto" != "xno"
12764 then
12765 if ${GPHOTO2_CFLAGS:+false} :; then :
12766 if ${PKG_CONFIG+:} false; then :
12767 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12770 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12771 if ${GPHOTO2_LIBS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12776 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12777 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12778 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12779 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12780 ac_save_CPPFLAGS=$CPPFLAGS
12781 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12782 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12783 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12785 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12786 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 ac_check_lib_save_LIBS=$LIBS
12790 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char gp_camera_new ();
12802 main ()
12804 return gp_camera_new ();
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_link "$LINENO"; then :
12810 ac_cv_lib_gphoto2_gp_camera_new=yes
12811 else
12812 ac_cv_lib_gphoto2_gp_camera_new=no
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_lib_save_LIBS
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12819 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12820 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12822 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12824 else
12825 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12828 else
12829 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12833 CPPFLAGS=$ac_save_CPPFLAGS
12834 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12835 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12837 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12838 if ${PKG_CONFIG+:} false; then :
12839 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12842 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12843 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12844 if ${PKG_CONFIG+:} false; then :
12845 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12848 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12849 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12850 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12851 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12852 ac_save_CPPFLAGS=$CPPFLAGS
12853 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12854 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12855 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12857 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12858 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12859 $as_echo_n "(cached) " >&6
12860 else
12861 ac_check_lib_save_LIBS=$LIBS
12862 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12869 #ifdef __cplusplus
12870 extern "C"
12871 #endif
12872 char gp_port_info_list_new ();
12874 main ()
12876 return gp_port_info_list_new ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"; then :
12882 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12883 else
12884 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12886 rm -f core conftest.err conftest.$ac_objext \
12887 conftest$ac_exeext conftest.$ac_ext
12888 LIBS=$ac_check_lib_save_LIBS
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12891 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12892 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12894 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12896 else
12897 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12900 else
12901 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12905 CPPFLAGS=$ac_save_CPPFLAGS
12906 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12907 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12910 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12911 case "x$with_gphoto" in
12912 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12913 xno) ;;
12914 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12915 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12916 esac
12919 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12920 case "x$with_gphoto" in
12921 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12922 xno) ;;
12923 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12924 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12925 esac
12930 if test "$ac_cv_header_resolv_h" = "yes"
12931 then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12933 $as_echo_n "checking for resolver library... " >&6; }
12934 if ${ac_cv_have_resolv+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_save_LIBS="$LIBS"
12938 for lib in '' -lresolv
12940 LIBS="$lib $ac_save_LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12943 #ifdef HAVE_NETINET_IN_H
12944 #include <netinet/in.h>
12945 #endif
12946 #include <resolv.h>
12948 main ()
12950 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_have_resolv=${lib:-"none required"}
12957 else
12958 ac_cv_have_resolv="not found"
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 test "x$ac_cv_have_resolv" = "xnot found" || break
12963 done
12964 LIBS="$ac_save_LIBS"
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12967 $as_echo "$ac_cv_have_resolv" >&6; }
12969 case "$ac_cv_have_resolv" in
12970 "not found") ;;
12971 "none required")
12973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12976 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12978 RESOLV_LIBS=$ac_cv_have_resolv
12980 esac
12983 if test "x$with_cms" != "xno"
12984 then
12985 if ${LCMS2_CFLAGS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12991 if ${LCMS2_LIBS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12997 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12998 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13002 for ac_header in lcms2.h
13003 do :
13004 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13005 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13006 cat >>confdefs.h <<_ACEOF
13007 #define HAVE_LCMS2_H 1
13008 _ACEOF
13012 done
13014 if test "$ac_cv_header_lcms2_h" = "yes"
13015 then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13017 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13018 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char cmsOpenProfileFromFile ();
13034 main ()
13036 return cmsOpenProfileFromFile ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13043 else
13044 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13051 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13052 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13054 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13056 else
13057 LCMS2_LIBS=""
13060 else
13061 LCMS2_CFLAGS=""
13062 LCMS2_LIBS=""
13064 CPPFLAGS=$ac_save_CPPFLAGS
13065 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13066 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13069 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13070 case "x$with_cms" in
13071 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13072 xno) ;;
13073 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13074 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13075 esac
13079 if test "x$with_freetype" != "xno"
13080 then
13081 if ${FREETYPE_CFLAGS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13086 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13087 if ${FREETYPE_LIBS:+false} :; then :
13088 if ${PKG_CONFIG+:} false; then :
13089 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13092 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13093 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13094 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13095 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13096 ac_save_CPPFLAGS=$CPPFLAGS
13097 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13098 for ac_header in ft2build.h
13099 do :
13100 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13101 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13102 cat >>confdefs.h <<_ACEOF
13103 #define HAVE_FT2BUILD_H 1
13104 _ACEOF
13108 done
13110 if test "$ac_cv_header_ft2build_h" = "yes"
13111 then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13113 $as_echo_n "checking for -lfreetype... " >&6; }
13114 if ${ac_cv_lib_soname_freetype+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char FT_Init_FreeType ();
13130 main ()
13132 return FT_Init_FreeType ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13142 if ${ac_cv_lib_soname_freetype:+false} :; then :
13143 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_freetype:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13154 FREETYPE_LIBS=""
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13157 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13161 _ACEOF
13164 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13166 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13167 #include FT_MODULE_H
13169 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13171 cat >>confdefs.h <<_ACEOF
13172 #define HAVE_FT_TRUETYPEENGINETYPE 1
13173 _ACEOF
13179 else
13180 FREETYPE_CFLAGS=""
13181 FREETYPE_LIBS=""
13183 CPPFLAGS=$ac_save_CPPFLAGS
13184 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13185 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13188 if test "x$ac_cv_lib_soname_freetype" = x; then :
13189 case "x$with_freetype" in
13190 xno) ;;
13191 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13192 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13193 esac
13194 enable_fonts=${enable_fonts:-no}
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13198 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13199 if ${ac_cv_c_ppdev+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13204 #ifdef HAVE_SYS_IOCTL_H
13205 # include <sys/ioctl.h>
13206 #endif
13207 #include <linux/ppdev.h>
13209 main ()
13211 ioctl (1,PPCLAIM,0)
13213 return 0;
13215 _ACEOF
13216 if ac_fn_c_try_compile "$LINENO"; then :
13217 ac_cv_c_ppdev="yes"
13218 else
13219 ac_cv_c_ppdev="no"
13221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13224 $as_echo "$ac_cv_c_ppdev" >&6; }
13225 if test "$ac_cv_c_ppdev" = "yes"
13226 then
13228 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13232 ac_wine_check_funcs_save_LIBS="$LIBS"
13233 LIBS="$LIBS $PTHREAD_LIBS"
13234 for ac_func in \
13235 pthread_attr_get_np \
13236 pthread_getattr_np \
13237 pthread_getthreadid_np \
13238 pthread_get_stackaddr_np \
13239 pthread_get_stacksize_np
13240 do :
13241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13244 cat >>confdefs.h <<_ACEOF
13245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13246 _ACEOF
13249 done
13251 LIBS="$ac_wine_check_funcs_save_LIBS"
13253 if test "$ac_cv_header_zlib_h" = "yes"
13254 then
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13256 $as_echo_n "checking for inflate in -lz... " >&6; }
13257 if ${ac_cv_lib_z_inflate+:} false; then :
13258 $as_echo_n "(cached) " >&6
13259 else
13260 ac_check_lib_save_LIBS=$LIBS
13261 LIBS="-lz $LIBS"
13262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13268 #ifdef __cplusplus
13269 extern "C"
13270 #endif
13271 char inflate ();
13273 main ()
13275 return inflate ();
13277 return 0;
13279 _ACEOF
13280 if ac_fn_c_try_link "$LINENO"; then :
13281 ac_cv_lib_z_inflate=yes
13282 else
13283 ac_cv_lib_z_inflate=no
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_lib_save_LIBS
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13290 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13291 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13293 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13295 Z_LIBS="-lz"
13300 if test "x$Z_LIBS" = "x"; then :
13301 case "x$with_zlib" in
13302 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13303 xno) ;;
13304 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13305 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13306 esac
13310 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13311 then
13312 if test "$ac_cv_header_gettext_po_h" = "yes"
13313 then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13315 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13316 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_lib_save_LIBS=$LIBS
13320 LIBS="-lgettextpo $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char po_message_msgctxt ();
13332 main ()
13334 return po_message_msgctxt ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13341 else
13342 ac_cv_lib_gettextpo_po_message_msgctxt=no
13344 rm -f core conftest.err conftest.$ac_objext \
13345 conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_lib_save_LIBS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13349 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13350 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13352 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13354 GETTEXTPO_LIBS="-lgettextpo"
13359 if test "x$GETTEXTPO_LIBS" = "x"; then :
13360 case "x$with_gettextpo" in
13361 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13362 xno) ;;
13363 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13364 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13365 esac
13368 if test "$srcdir" != .; then :
13369 case "x$with_gettextpo" in
13370 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13371 xno) ;;
13372 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13373 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13374 esac
13379 if test "x$with_pulse" != "xno";
13380 then
13381 if ${PULSE_CFLAGS:+false} :; then :
13382 if ${PKG_CONFIG+:} false; then :
13383 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13387 if ${PULSE_LIBS:+false} :; then :
13388 if ${PKG_CONFIG+:} false; then :
13389 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13394 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13395 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13396 ac_save_CPPFLAGS=$CPPFLAGS
13397 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13398 for ac_header in pulse/pulseaudio.h
13399 do :
13400 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13401 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13402 cat >>confdefs.h <<_ACEOF
13403 #define HAVE_PULSE_PULSEAUDIO_H 1
13404 _ACEOF
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13406 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13407 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13408 $as_echo_n "(cached) " >&6
13409 else
13410 ac_check_lib_save_LIBS=$LIBS
13411 LIBS="-lpulse $PULSE_LIBS $LIBS"
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13418 #ifdef __cplusplus
13419 extern "C"
13420 #endif
13421 char pa_stream_is_corked ();
13423 main ()
13425 return pa_stream_is_corked ();
13427 return 0;
13429 _ACEOF
13430 if ac_fn_c_try_link "$LINENO"; then :
13431 ac_cv_lib_pulse_pa_stream_is_corked=yes
13432 else
13433 ac_cv_lib_pulse_pa_stream_is_corked=no
13435 rm -f core conftest.err conftest.$ac_objext \
13436 conftest$ac_exeext conftest.$ac_ext
13437 LIBS=$ac_check_lib_save_LIBS
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13440 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13441 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13443 else
13444 PULSE_LIBS=""
13447 else
13448 PULSE_LIBS=""
13451 done
13453 CPPFLAGS=$ac_save_CPPFLAGS
13454 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13455 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13458 if test -z "$PULSE_LIBS"; then :
13459 case "x$with_pulse" in
13460 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13461 xno) ;;
13462 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13463 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13464 esac
13465 enable_winepulse_drv=${enable_winepulse_drv:-no}
13468 if test "x$with_gstreamer" != "xno"
13469 then
13470 if ${GSTREAMER_CFLAGS:+false} :; then :
13471 if ${PKG_CONFIG+:} false; then :
13472 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13476 if ${GSTREAMER_LIBS:+false} :; then :
13477 if ${PKG_CONFIG+:} false; then :
13478 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13483 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13484 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13485 ac_save_CPPFLAGS=$CPPFLAGS
13486 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13487 ac_gst_incl=""
13488 for i in $GSTREAMER_CFLAGS
13490 case "$i" in
13491 -I*) ac_gst_incl="$ac_gst_incl $i";;
13492 esac
13493 done
13494 GSTREAMER_CFLAGS=$ac_gst_incl
13495 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13496 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13497 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13499 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13502 #include <gst/gst.h>
13504 main ()
13506 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13508 return 0;
13510 _ACEOF
13511 if ac_fn_c_try_compile "$LINENO"; then :
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13513 $as_echo "yes" >&6; }
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13515 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13516 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13517 $as_echo_n "(cached) " >&6
13518 else
13519 ac_check_lib_save_LIBS=$LIBS
13520 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13524 /* Override any GCC internal prototype to avoid an error.
13525 Use char because int might match the return type of a GCC
13526 builtin and then its argument prototype would still apply. */
13527 #ifdef __cplusplus
13528 extern "C"
13529 #endif
13530 char gst_pad_new ();
13532 main ()
13534 return gst_pad_new ();
13536 return 0;
13538 _ACEOF
13539 if ac_fn_c_try_link "$LINENO"; then :
13540 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13541 else
13542 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13544 rm -f core conftest.err conftest.$ac_objext \
13545 conftest$ac_exeext conftest.$ac_ext
13546 LIBS=$ac_check_lib_save_LIBS
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13549 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13550 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13554 else
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13556 $as_echo "no" >&6; }
13557 ac_glib2_broken=yes
13558 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13564 CPPFLAGS=$ac_save_CPPFLAGS
13565 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13566 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13569 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 :
13570 case "x$with_gstreamer" in
13571 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13572 xno) ;;
13573 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13574 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13575 esac
13578 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13580 ALSA_LIBS=""
13582 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13583 then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13585 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13586 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 ac_check_lib_save_LIBS=$LIBS
13590 LIBS="-lasound $LIBS"
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char snd_pcm_hw_params_get_access_mask ();
13602 main ()
13604 return snd_pcm_hw_params_get_access_mask ();
13606 return 0;
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13611 else
13612 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13614 rm -f core conftest.err conftest.$ac_objext \
13615 conftest$ac_exeext conftest.$ac_ext
13616 LIBS=$ac_check_lib_save_LIBS
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13619 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13620 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 #ifdef HAVE_ALSA_ASOUNDLIB_H
13624 #include <alsa/asoundlib.h>
13625 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13626 #include <sys/asoundlib.h>
13627 #endif
13629 main ()
13631 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_compile "$LINENO"; then :
13637 ALSA_LIBS="-lasound"
13639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13643 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13645 if test "x$with_oss" != xno
13646 then
13647 ac_save_CPPFLAGS="$CPPFLAGS"
13648 if test -f /etc/oss.conf
13649 then
13650 . /etc/oss.conf
13652 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13653 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13654 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13655 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13656 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13658 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13660 cat >>confdefs.h <<_ACEOF
13661 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13662 _ACEOF
13664 OSS4_CFLAGS="$ac_oss_incl"
13671 CPPFLAGS="$ac_save_CPPFLAGS"
13673 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13674 case "x$with_oss" in
13675 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13676 xno) ;;
13677 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13678 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13679 esac
13680 enable_wineoss_drv=${enable_wineoss_drv:-no}
13683 if test "x$with_udev" != "xno"
13684 then
13685 if ${UDEV_CFLAGS:+false} :; then :
13686 if ${PKG_CONFIG+:} false; then :
13687 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13691 if ${UDEV_LIBS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13697 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13698 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13699 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13700 ac_save_CPPFLAGS=$CPPFLAGS
13701 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13702 for ac_header in libudev.h
13703 do :
13704 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13705 if test "x$ac_cv_header_libudev_h" = xyes; then :
13706 cat >>confdefs.h <<_ACEOF
13707 #define HAVE_LIBUDEV_H 1
13708 _ACEOF
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13710 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13711 if ${ac_cv_lib_udev_udev_new+:} false; then :
13712 $as_echo_n "(cached) " >&6
13713 else
13714 ac_check_lib_save_LIBS=$LIBS
13715 LIBS="-ludev $UDEV_LIBS $LIBS"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13719 /* Override any GCC internal prototype to avoid an error.
13720 Use char because int might match the return type of a GCC
13721 builtin and then its argument prototype would still apply. */
13722 #ifdef __cplusplus
13723 extern "C"
13724 #endif
13725 char udev_new ();
13727 main ()
13729 return udev_new ();
13731 return 0;
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 ac_cv_lib_udev_udev_new=yes
13736 else
13737 ac_cv_lib_udev_udev_new=no
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 LIBS=$ac_check_lib_save_LIBS
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13744 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13745 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13747 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13749 else
13750 UDEV_LIBS=""
13753 else
13754 UDEV_LIBS=""
13757 done
13759 CPPFLAGS=$ac_save_CPPFLAGS
13760 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13761 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13764 if test "x$UDEV_LIBS" = "x"; then :
13765 case "x$with_udev" in
13766 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13767 xno) ;;
13768 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13769 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13770 esac
13774 if test "x$with_sdl" != "xno"
13775 then
13776 if ${SDL2_CFLAGS:+false} :; then :
13777 if ${PKG_CONFIG+:} false; then :
13778 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13782 if ${SDL2_LIBS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13788 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13789 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13791 ac_save_CPPFLAGS=$CPPFLAGS
13792 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13793 for ac_header in SDL2/SDL.h
13794 do :
13795 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13796 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF
13798 #define HAVE_SDL2_SDL_H 1
13799 _ACEOF
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13801 $as_echo_n "checking for -lSDL2... " >&6; }
13802 if ${ac_cv_lib_soname_SDL2+:} false; then :
13803 $as_echo_n "(cached) " >&6
13804 else
13805 ac_check_soname_save_LIBS=$LIBS
13806 LIBS="-lSDL2 $LIBS"
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13810 /* Override any GCC internal prototype to avoid an error.
13811 Use char because int might match the return type of a GCC
13812 builtin and then its argument prototype would still apply. */
13813 #ifdef __cplusplus
13814 extern "C"
13815 #endif
13816 char SDL_Init ();
13818 main ()
13820 return SDL_Init ();
13822 return 0;
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 case "$LIBEXT" in
13827 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13828 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'` ;;
13829 *) 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'`
13830 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13831 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13832 fi ;;
13833 esac
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LIBS=$ac_check_soname_save_LIBS
13839 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13841 $as_echo "not found" >&6; }
13843 else
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13845 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13847 cat >>confdefs.h <<_ACEOF
13848 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13849 _ACEOF
13855 done
13857 CPPFLAGS=$ac_save_CPPFLAGS
13858 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13859 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13862 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13863 case "x$with_sdl" in
13864 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13865 xno) ;;
13866 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13867 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13868 esac
13872 if test "x$with_capi" != "xno"
13873 then
13874 if ${CAPI20_CFLAGS:+false} :; then :
13875 if ${PKG_CONFIG+:} false; then :
13876 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13880 if ${CAPI20_LIBS:+false} :; then :
13881 if ${PKG_CONFIG+:} false; then :
13882 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13887 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13888 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13889 ac_save_CPPFLAGS=$CPPFLAGS
13890 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13891 for ac_header in capi20.h linux/capi.h
13892 do :
13893 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13894 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13896 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13897 cat >>confdefs.h <<_ACEOF
13898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13899 _ACEOF
13903 done
13905 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13906 then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13908 $as_echo_n "checking for -lcapi20... " >&6; }
13909 if ${ac_cv_lib_soname_capi20+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 ac_check_soname_save_LIBS=$LIBS
13913 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char capi20_register ();
13925 main ()
13927 return capi20_register ();
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 case "$LIBEXT" in
13934 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13935 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'` ;;
13936 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13937 if ${ac_cv_lib_soname_capi20:+false} :; then :
13938 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13939 fi ;;
13940 esac
13942 rm -f core conftest.err conftest.$ac_objext \
13943 conftest$ac_exeext conftest.$ac_ext
13944 LIBS=$ac_check_soname_save_LIBS
13946 if ${ac_cv_lib_soname_capi20:+false} :; then :
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13948 $as_echo "not found" >&6; }
13950 else
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13952 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13954 cat >>confdefs.h <<_ACEOF
13955 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13956 _ACEOF
13961 CPPFLAGS=$ac_save_CPPFLAGS
13962 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13963 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13966 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13967 case "x$with_capi" in
13968 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13969 xno) ;;
13970 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13971 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13972 esac
13976 if test "x$with_cups" != "xno"
13977 then
13978 if ${CUPS_CFLAGS:+false} :; then :
13979 if ${PKG_CONFIG+:} false; then :
13980 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13983 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13984 if ${CUPS_LIBS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13989 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13990 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13991 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13992 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13993 ac_save_CPPFLAGS=$CPPFLAGS
13994 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13995 for ac_header in cups/cups.h cups/ppd.h
13996 do :
13997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13998 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14000 cat >>confdefs.h <<_ACEOF
14001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14002 _ACEOF
14006 done
14008 if test "$ac_cv_header_cups_cups_h" = "yes"
14009 then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14011 $as_echo_n "checking for -lcups... " >&6; }
14012 if ${ac_cv_lib_soname_cups+:} false; then :
14013 $as_echo_n "(cached) " >&6
14014 else
14015 ac_check_soname_save_LIBS=$LIBS
14016 LIBS="-lcups $CUPS_LIBS $LIBS"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14020 /* Override any GCC internal prototype to avoid an error.
14021 Use char because int might match the return type of a GCC
14022 builtin and then its argument prototype would still apply. */
14023 #ifdef __cplusplus
14024 extern "C"
14025 #endif
14026 char cupsGetDefault ();
14028 main ()
14030 return cupsGetDefault ();
14032 return 0;
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 case "$LIBEXT" in
14037 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14038 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'` ;;
14039 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14040 if ${ac_cv_lib_soname_cups:+false} :; then :
14041 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14042 fi ;;
14043 esac
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 LIBS=$ac_check_soname_save_LIBS
14049 if ${ac_cv_lib_soname_cups:+false} :; then :
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14051 $as_echo "not found" >&6; }
14052 CUPS_LIBS=""
14053 else
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14055 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14057 cat >>confdefs.h <<_ACEOF
14058 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14059 _ACEOF
14063 else
14064 CUPS_CFLAGS=""
14065 CUPS_LIBS=""
14067 CPPFLAGS=$ac_save_CPPFLAGS
14068 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14069 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14072 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14073 case "x$with_cups" in
14074 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14075 xno) ;;
14076 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14077 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14078 esac
14082 if test "x$with_fontconfig" != "xno"
14083 then
14084 if ${FONTCONFIG_CFLAGS:+false} :; then :
14085 if ${PKG_CONFIG+:} false; then :
14086 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14089 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14090 if ${FONTCONFIG_LIBS:+false} :; then :
14091 if ${PKG_CONFIG+:} false; then :
14092 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14095 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14097 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14098 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14099 ac_save_CPPFLAGS=$CPPFLAGS
14100 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14101 for ac_header in fontconfig/fontconfig.h
14102 do :
14103 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14104 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14105 cat >>confdefs.h <<_ACEOF
14106 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14107 _ACEOF
14111 done
14113 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14114 then
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14116 $as_echo_n "checking for -lfontconfig... " >&6; }
14117 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 ac_check_soname_save_LIBS=$LIBS
14121 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14125 /* Override any GCC internal prototype to avoid an error.
14126 Use char because int might match the return type of a GCC
14127 builtin and then its argument prototype would still apply. */
14128 #ifdef __cplusplus
14129 extern "C"
14130 #endif
14131 char FcInit ();
14133 main ()
14135 return FcInit ();
14137 return 0;
14139 _ACEOF
14140 if ac_fn_c_try_link "$LINENO"; then :
14141 case "$LIBEXT" in
14142 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14143 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'` ;;
14144 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14145 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14146 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14147 fi ;;
14148 esac
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 LIBS=$ac_check_soname_save_LIBS
14154 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14156 $as_echo "not found" >&6; }
14157 FONTCONFIG_CFLAGS=""
14158 else
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14160 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14162 cat >>confdefs.h <<_ACEOF
14163 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14164 _ACEOF
14168 else
14169 FONTCONFIG_CFLAGS=""
14171 CPPFLAGS=$ac_save_CPPFLAGS
14172 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14173 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14176 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14177 case "x$with_fontconfig" in
14178 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14179 xno) ;;
14180 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14181 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14182 esac
14186 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14187 then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14189 $as_echo_n "checking for -lgsm... " >&6; }
14190 if ${ac_cv_lib_soname_gsm+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_check_soname_save_LIBS=$LIBS
14194 LIBS="-lgsm $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 #ifdef __cplusplus
14202 extern "C"
14203 #endif
14204 char gsm_create ();
14206 main ()
14208 return gsm_create ();
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 case "$LIBEXT" in
14215 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14216 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'` ;;
14217 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14218 if ${ac_cv_lib_soname_gsm:+false} :; then :
14219 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14220 fi ;;
14221 esac
14223 rm -f core conftest.err conftest.$ac_objext \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_soname_save_LIBS
14227 if ${ac_cv_lib_soname_gsm:+false} :; then :
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14229 $as_echo "not found" >&6; }
14231 else
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14233 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14235 cat >>confdefs.h <<_ACEOF
14236 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14237 _ACEOF
14242 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14243 case "x$with_gsm" in
14244 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14245 xno) ;;
14246 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14247 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14248 esac
14252 if test "x$with_krb5" != "xno"
14253 then
14254 if ${KRB5_CFLAGS:+false} :; then :
14255 if ${PKG_CONFIG+:} false; then :
14256 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14259 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14260 if ${KRB5_LIBS:+false} :; then :
14261 if ${PKG_CONFIG+:} false; then :
14262 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14265 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14267 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14268 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14269 ac_save_CPPFLAGS=$CPPFLAGS
14270 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14271 for ac_header in krb5/krb5.h
14272 do :
14273 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14274 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14275 cat >>confdefs.h <<_ACEOF
14276 #define HAVE_KRB5_KRB5_H 1
14277 _ACEOF
14281 done
14283 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14284 then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14286 $as_echo_n "checking for -lkrb5... " >&6; }
14287 if ${ac_cv_lib_soname_krb5+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 ac_check_soname_save_LIBS=$LIBS
14291 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply. */
14298 #ifdef __cplusplus
14299 extern "C"
14300 #endif
14301 char krb5_is_config_principal ();
14303 main ()
14305 return krb5_is_config_principal ();
14307 return 0;
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"; then :
14311 case "$LIBEXT" in
14312 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14313 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'` ;;
14314 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14315 if ${ac_cv_lib_soname_krb5:+false} :; then :
14316 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14317 fi ;;
14318 esac
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_soname_save_LIBS
14324 if ${ac_cv_lib_soname_krb5:+false} :; then :
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14326 $as_echo "not found" >&6; }
14327 KRB5_CFLAGS=""
14328 else
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14330 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14332 cat >>confdefs.h <<_ACEOF
14333 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14334 _ACEOF
14338 else
14339 KRB5_CFLAGS=""
14341 CPPFLAGS=$ac_save_CPPFLAGS
14342 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14343 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14345 else
14346 with_gssapi=${with_gssapi:-no}
14348 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14349 case "x$with_krb5" in
14350 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14351 xno) ;;
14352 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14353 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14354 esac
14358 if test "x$with_gssapi" != "xno"
14359 then
14360 if ${GSSAPI_CFLAGS:+false} :; then :
14361 if ${PKG_CONFIG+:} false; then :
14362 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14365 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14366 if ${GSSAPI_LIBS:+false} :; then :
14367 if ${PKG_CONFIG+:} false; then :
14368 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14371 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14373 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14374 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14375 ac_save_CPPFLAGS=$CPPFLAGS
14376 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14377 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14378 do :
14379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14382 cat >>confdefs.h <<_ACEOF
14383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14384 _ACEOF
14388 done
14390 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14391 then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14393 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14394 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_check_soname_save_LIBS=$LIBS
14398 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 /* Override any GCC internal prototype to avoid an error.
14403 Use char because int might match the return type of a GCC
14404 builtin and then its argument prototype would still apply. */
14405 #ifdef __cplusplus
14406 extern "C"
14407 #endif
14408 char gss_init_sec_context ();
14410 main ()
14412 return gss_init_sec_context ();
14414 return 0;
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 case "$LIBEXT" in
14419 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14420 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'` ;;
14421 *) 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'`
14422 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14423 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14424 fi ;;
14425 esac
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 LIBS=$ac_check_soname_save_LIBS
14431 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14433 $as_echo "not found" >&6; }
14434 GSSAPI_CFLAGS=""
14435 else
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14437 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14439 cat >>confdefs.h <<_ACEOF
14440 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14441 _ACEOF
14445 else
14446 GSSAPI_CFLAGS=""
14448 CPPFLAGS=$ac_save_CPPFLAGS
14449 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14450 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14453 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14454 case "x$with_gssapi" in
14455 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14456 xno) ;;
14457 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14458 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14459 esac
14463 if test "x$with_jpeg" != "xno"
14464 then
14465 if ${JPEG_CFLAGS:+false} :; then :
14466 if ${PKG_CONFIG+:} false; then :
14467 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14471 if ${JPEG_LIBS:+false} :; then :
14472 if ${PKG_CONFIG+:} false; then :
14473 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14478 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14479 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14480 ac_save_CPPFLAGS=$CPPFLAGS
14481 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14482 for ac_header in jpeglib.h
14483 do :
14484 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14485 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14486 cat >>confdefs.h <<_ACEOF
14487 #define HAVE_JPEGLIB_H 1
14488 _ACEOF
14492 done
14494 if test "$ac_cv_header_jpeglib_h" = "yes"
14495 then
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14497 $as_echo_n "checking for -ljpeg... " >&6; }
14498 if ${ac_cv_lib_soname_jpeg+:} false; then :
14499 $as_echo_n "(cached) " >&6
14500 else
14501 ac_check_soname_save_LIBS=$LIBS
14502 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14506 /* Override any GCC internal prototype to avoid an error.
14507 Use char because int might match the return type of a GCC
14508 builtin and then its argument prototype would still apply. */
14509 #ifdef __cplusplus
14510 extern "C"
14511 #endif
14512 char jpeg_start_decompress ();
14514 main ()
14516 return jpeg_start_decompress ();
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_link "$LINENO"; then :
14522 case "$LIBEXT" in
14523 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14524 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'` ;;
14525 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14526 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14527 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14528 fi ;;
14529 esac
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LIBS=$ac_check_soname_save_LIBS
14535 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14537 $as_echo "not found" >&6; }
14538 JPEG_CFLAGS=""
14539 else
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14541 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14543 cat >>confdefs.h <<_ACEOF
14544 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14545 _ACEOF
14549 else
14550 JPEG_CFLAGS=""
14552 CPPFLAGS=$ac_save_CPPFLAGS
14553 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14554 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14557 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14558 case "x$with_jpeg" in
14559 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14560 xno) ;;
14561 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14562 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14563 esac
14567 if test "x$with_png" != "xno"
14568 then
14569 if ${PNG_CFLAGS:+false} :; then :
14570 if ${PKG_CONFIG+:} false; then :
14571 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14574 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14575 if ${PNG_LIBS:+false} :; then :
14576 if ${PKG_CONFIG+:} false; then :
14577 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14580 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14582 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14583 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14584 ac_save_CPPFLAGS=$CPPFLAGS
14585 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14586 for ac_header in png.h
14587 do :
14588 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14589 if test "x$ac_cv_header_png_h" = xyes; then :
14590 cat >>confdefs.h <<_ACEOF
14591 #define HAVE_PNG_H 1
14592 _ACEOF
14596 done
14598 if test "$ac_cv_header_png_h" = "yes"
14599 then
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14601 $as_echo_n "checking for -lpng... " >&6; }
14602 if ${ac_cv_lib_soname_png+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 ac_check_soname_save_LIBS=$LIBS
14606 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14610 /* Override any GCC internal prototype to avoid an error.
14611 Use char because int might match the return type of a GCC
14612 builtin and then its argument prototype would still apply. */
14613 #ifdef __cplusplus
14614 extern "C"
14615 #endif
14616 char png_create_read_struct ();
14618 main ()
14620 return png_create_read_struct ();
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 case "$LIBEXT" in
14627 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14628 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'` ;;
14629 *) 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'`
14630 if ${ac_cv_lib_soname_png:+false} :; then :
14631 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14632 fi ;;
14633 esac
14635 rm -f core conftest.err conftest.$ac_objext \
14636 conftest$ac_exeext conftest.$ac_ext
14637 LIBS=$ac_check_soname_save_LIBS
14639 if ${ac_cv_lib_soname_png:+false} :; then :
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14641 $as_echo "not found" >&6; }
14642 PNG_CFLAGS=""
14643 else
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14645 $as_echo "$ac_cv_lib_soname_png" >&6; }
14647 cat >>confdefs.h <<_ACEOF
14648 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14649 _ACEOF
14653 else
14654 PNG_CFLAGS=""
14656 CPPFLAGS=$ac_save_CPPFLAGS
14657 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14658 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14661 if test "x$ac_cv_lib_soname_png" = "x"; then :
14662 case "x$with_png" in
14663 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14664 xno) ;;
14665 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14666 This is an error since --with-png was requested." "$LINENO" 5 ;;
14667 esac
14671 if test "x$with_tiff" != "xno"
14672 then
14673 if ${TIFF_CFLAGS:+false} :; then :
14674 if ${PKG_CONFIG+:} false; then :
14675 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14679 if ${TIFF_LIBS:+false} :; then :
14680 if ${PKG_CONFIG+:} false; then :
14681 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14686 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14688 ac_save_CPPFLAGS=$CPPFLAGS
14689 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14690 for ac_header in tiffio.h
14691 do :
14692 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14693 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14694 cat >>confdefs.h <<_ACEOF
14695 #define HAVE_TIFFIO_H 1
14696 _ACEOF
14700 done
14702 if test "$ac_cv_header_tiffio_h" = "yes"
14703 then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14705 $as_echo_n "checking for -ltiff... " >&6; }
14706 if ${ac_cv_lib_soname_tiff+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 ac_check_soname_save_LIBS=$LIBS
14710 LIBS="-ltiff $TIFF_LIBS $LIBS"
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14717 #ifdef __cplusplus
14718 extern "C"
14719 #endif
14720 char TIFFClientOpen ();
14722 main ()
14724 return TIFFClientOpen ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 case "$LIBEXT" in
14731 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14732 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'` ;;
14733 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14734 if ${ac_cv_lib_soname_tiff:+false} :; then :
14735 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14736 fi ;;
14737 esac
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_soname_save_LIBS
14743 if ${ac_cv_lib_soname_tiff:+false} :; then :
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14745 $as_echo "not found" >&6; }
14747 else
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14749 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14751 cat >>confdefs.h <<_ACEOF
14752 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14753 _ACEOF
14758 CPPFLAGS=$ac_save_CPPFLAGS
14759 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14760 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14763 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14764 case "x$with_tiff" in
14765 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14766 xno) ;;
14767 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14768 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14769 esac
14773 if test "x$with_mpg123" != "xno"
14774 then
14775 if ${MPG123_CFLAGS:+false} :; then :
14776 if ${PKG_CONFIG+:} false; then :
14777 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14781 if ${MPG123_LIBS:+false} :; then :
14782 if ${PKG_CONFIG+:} false; then :
14783 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14787 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14788 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14790 ac_save_CPPFLAGS=$CPPFLAGS
14791 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14792 for ac_header in mpg123.h
14793 do :
14794 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14795 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define HAVE_MPG123_H 1
14798 _ACEOF
14802 done
14804 if test "$ac_cv_header_mpg123_h" = "yes"
14805 then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14807 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14808 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_check_lib_save_LIBS=$LIBS
14812 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char mpg123_feed ();
14824 main ()
14826 return mpg123_feed ();
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_lib_mpg123_mpg123_feed=yes
14833 else
14834 ac_cv_lib_mpg123_mpg123_feed=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 LIBS=$ac_check_lib_save_LIBS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14841 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14842 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14844 else
14845 MPG123_LIBS=""
14848 else
14849 MPG123_CFLAGS=""
14850 MPG123_LIBS=""
14852 CPPFLAGS=$ac_save_CPPFLAGS
14853 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14854 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14857 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14858 case "x$with_mpg123" in
14859 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14860 xno) ;;
14861 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14862 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14863 esac
14864 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14866 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14868 if test "$ac_cv_header_AL_al_h" = "yes"
14869 then
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14871 $as_echo_n "checking for -lopenal... " >&6; }
14872 if ${ac_cv_lib_soname_openal+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_check_soname_save_LIBS=$LIBS
14876 LIBS="-lopenal $LIBS"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 #ifdef __cplusplus
14884 extern "C"
14885 #endif
14886 char alGetSource3i ();
14888 main ()
14890 return alGetSource3i ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 case "$LIBEXT" in
14897 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14898 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'` ;;
14899 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14900 if ${ac_cv_lib_soname_openal:+false} :; then :
14901 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14902 fi ;;
14903 esac
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_soname_save_LIBS
14909 if ${ac_cv_lib_soname_openal:+false} :; then :
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14911 $as_echo "not found" >&6; }
14913 else
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14915 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14917 cat >>confdefs.h <<_ACEOF
14918 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14919 _ACEOF
14921 OPENAL_LIBS="-lopenal"
14923 ac_cv_lib_openal=yes
14925 cat >>confdefs.h <<_ACEOF
14926 #define HAVE_OPENAL 1
14927 _ACEOF
14931 if test "x$ac_cv_lib_openal" != xyes; then :
14932 case "x$with_openal" in
14933 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14934 xno) ;;
14935 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14936 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14937 esac
14938 enable_openal32=${enable_openal32:-no}
14941 if test "x$ac_cv_lib_openal" = xyes
14942 then
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14944 $as_echo_n "checking for openal-soft... " >&6; }
14945 if ${ac_cv_have_openalsoft+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #include <AL/al.h>
14951 #include <AL/alc.h>
14952 #include <AL/alext.h>
14953 LPALCRENDERSAMPLESSOFT x;
14955 main ()
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_compile "$LINENO"; then :
14963 ac_cv_have_openalsoft=yes
14964 else
14965 ac_cv_have_openalsoft=no
14967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14970 $as_echo "$ac_cv_have_openalsoft" >&6; }
14972 if test "x$ac_cv_have_openalsoft" != xyes
14973 then
14974 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14975 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14976 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14977 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14978 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14979 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14980 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14981 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14982 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14983 enable_xapofx1_1=${enable_xapofx1_1:-no}
14984 enable_xapofx1_2=${enable_xapofx1_2:-no}
14985 enable_xapofx1_3=${enable_xapofx1_3:-no}
14986 enable_xapofx1_4=${enable_xapofx1_4:-no}
14987 enable_xapofx1_5=${enable_xapofx1_5:-no}
14988 enable_xaudio2_0=${enable_xaudio2_0:-no}
14989 enable_xaudio2_1=${enable_xaudio2_1:-no}
14990 enable_xaudio2_2=${enable_xaudio2_2:-no}
14991 enable_xaudio2_3=${enable_xaudio2_3:-no}
14992 enable_xaudio2_4=${enable_xaudio2_4:-no}
14993 enable_xaudio2_5=${enable_xaudio2_5:-no}
14994 enable_xaudio2_6=${enable_xaudio2_6:-no}
14995 enable_xaudio2_7=${enable_xaudio2_7:-no}
14996 enable_xaudio2_8=${enable_xaudio2_8:-no}
14997 enable_xaudio2_9=${enable_xaudio2_9:-no}
15000 if test "$ac_cv_header_kstat_h" = "yes"
15001 then
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15003 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15004 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 ac_check_lib_save_LIBS=$LIBS
15008 LIBS="-lkstat $LIBS"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15015 #ifdef __cplusplus
15016 extern "C"
15017 #endif
15018 char kstat_open ();
15020 main ()
15022 return kstat_open ();
15024 return 0;
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"; then :
15028 ac_cv_lib_kstat_kstat_open=yes
15029 else
15030 ac_cv_lib_kstat_kstat_open=no
15032 rm -f core conftest.err conftest.$ac_objext \
15033 conftest$ac_exeext conftest.$ac_ext
15034 LIBS=$ac_check_lib_save_LIBS
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15037 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15038 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15040 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15042 KSTAT_LIBS="-lkstat"
15048 if test "$ac_cv_header_libprocstat_h" = "yes"
15049 then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15051 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15052 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15053 $as_echo_n "(cached) " >&6
15054 else
15055 ac_check_lib_save_LIBS=$LIBS
15056 LIBS="-lprocstat $LIBS"
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15060 /* Override any GCC internal prototype to avoid an error.
15061 Use char because int might match the return type of a GCC
15062 builtin and then its argument prototype would still apply. */
15063 #ifdef __cplusplus
15064 extern "C"
15065 #endif
15066 char procstat_open_sysctl ();
15068 main ()
15070 return procstat_open_sysctl ();
15072 return 0;
15074 _ACEOF
15075 if ac_fn_c_try_link "$LINENO"; then :
15076 ac_cv_lib_procstat_procstat_open_sysctl=yes
15077 else
15078 ac_cv_lib_procstat_procstat_open_sysctl=no
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_lib_save_LIBS
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15085 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15086 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15088 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15090 PROCSTAT_LIBS="-lprocstat"
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15097 $as_echo_n "checking for -lodbc... " >&6; }
15098 if ${ac_cv_lib_soname_odbc+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 ac_check_soname_save_LIBS=$LIBS
15102 LIBS="-lodbc $LIBS"
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15106 /* Override any GCC internal prototype to avoid an error.
15107 Use char because int might match the return type of a GCC
15108 builtin and then its argument prototype would still apply. */
15109 #ifdef __cplusplus
15110 extern "C"
15111 #endif
15112 char SQLConnect ();
15114 main ()
15116 return SQLConnect ();
15118 return 0;
15120 _ACEOF
15121 if ac_fn_c_try_link "$LINENO"; then :
15122 case "$LIBEXT" in
15123 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15124 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'` ;;
15125 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15126 if ${ac_cv_lib_soname_odbc:+false} :; then :
15127 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15128 fi ;;
15129 esac
15131 rm -f core conftest.err conftest.$ac_objext \
15132 conftest$ac_exeext conftest.$ac_ext
15133 LIBS=$ac_check_soname_save_LIBS
15135 if ${ac_cv_lib_soname_odbc:+false} :; then :
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15137 $as_echo "not found" >&6; }
15138 cat >>confdefs.h <<_ACEOF
15139 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15140 _ACEOF
15142 else
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15144 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15146 cat >>confdefs.h <<_ACEOF
15147 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15148 _ACEOF
15153 if test "x$with_netapi" != "xno"
15154 then
15155 if ${NETAPI_CFLAGS:+false} :; then :
15156 if ${PKG_CONFIG+:} false; then :
15157 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15161 if ${NETAPI_LIBS:+false} :; then :
15162 if ${PKG_CONFIG+:} false; then :
15163 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15168 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15169 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15170 ac_save_CPPFLAGS=$CPPFLAGS
15171 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15173 $as_echo_n "checking for -lnetapi... " >&6; }
15174 if ${ac_cv_lib_soname_netapi+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 ac_check_soname_save_LIBS=$LIBS
15178 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 #ifdef __cplusplus
15186 extern "C"
15187 #endif
15188 char libnetapi_init ();
15190 main ()
15192 return libnetapi_init ();
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 case "$LIBEXT" in
15199 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15200 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'` ;;
15201 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15202 if ${ac_cv_lib_soname_netapi:+false} :; then :
15203 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15204 fi ;;
15205 esac
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext conftest.$ac_ext
15209 LIBS=$ac_check_soname_save_LIBS
15211 if ${ac_cv_lib_soname_netapi:+false} :; then :
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15213 $as_echo "not found" >&6; }
15214 cat >>confdefs.h <<_ACEOF
15215 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15216 _ACEOF
15218 else
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15220 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15222 cat >>confdefs.h <<_ACEOF
15223 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15224 _ACEOF
15228 CPPFLAGS=$ac_save_CPPFLAGS
15229 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15230 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15234 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15235 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15236 then
15237 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15240 if test "x$with_vulkan" != "xno"
15241 then
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15243 $as_echo_n "checking for -lvulkan... " >&6; }
15244 if ${ac_cv_lib_soname_vulkan+:} false; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15247 ac_check_soname_save_LIBS=$LIBS
15248 LIBS="-lvulkan $LIBS"
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15252 /* Override any GCC internal prototype to avoid an error.
15253 Use char because int might match the return type of a GCC
15254 builtin and then its argument prototype would still apply. */
15255 #ifdef __cplusplus
15256 extern "C"
15257 #endif
15258 char vkGetInstanceProcAddr ();
15260 main ()
15262 return vkGetInstanceProcAddr ();
15264 return 0;
15266 _ACEOF
15267 if ac_fn_c_try_link "$LINENO"; then :
15268 case "$LIBEXT" in
15269 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15270 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'` ;;
15271 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15272 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15273 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15274 fi ;;
15275 esac
15277 rm -f core conftest.err conftest.$ac_objext \
15278 conftest$ac_exeext conftest.$ac_ext
15279 LIBS=$ac_check_soname_save_LIBS
15281 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15283 $as_echo "not found" >&6; }
15285 else
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15287 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15289 cat >>confdefs.h <<_ACEOF
15290 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15291 _ACEOF
15295 if test "x$ac_cv_lib_soname_vulkan" = "x"
15296 then
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15298 $as_echo_n "checking for -lMoltenVK... " >&6; }
15299 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lMoltenVK $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 #ifdef __cplusplus
15311 extern "C"
15312 #endif
15313 char vkGetInstanceProcAddr ();
15315 main ()
15317 return vkGetInstanceProcAddr ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 case "$LIBEXT" in
15324 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15325 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'` ;;
15326 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15327 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15328 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15329 fi ;;
15330 esac
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15334 LIBS=$ac_check_soname_save_LIBS
15336 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15338 $as_echo "not found" >&6; }
15340 else
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15342 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15344 cat >>confdefs.h <<_ACEOF
15345 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15346 _ACEOF
15352 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15353 case "x$with_vulkan" in
15354 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15357 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15358 esac
15362 if test "x$with_vkd3d" != "xno"
15363 then
15364 if ${VKD3D_CFLAGS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15370 if ${VKD3D_LIBS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15377 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15378 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15379 ac_save_CPPFLAGS=$CPPFLAGS
15380 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15382 $as_echo_n "checking for -lvkd3d... " >&6; }
15383 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15384 $as_echo_n "(cached) " >&6
15385 else
15386 ac_check_soname_save_LIBS=$LIBS
15387 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15391 /* Override any GCC internal prototype to avoid an error.
15392 Use char because int might match the return type of a GCC
15393 builtin and then its argument prototype would still apply. */
15394 #ifdef __cplusplus
15395 extern "C"
15396 #endif
15397 char vkd3d_create_device ();
15399 main ()
15401 return vkd3d_create_device ();
15403 return 0;
15405 _ACEOF
15406 if ac_fn_c_try_link "$LINENO"; then :
15407 case "$LIBEXT" in
15408 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15409 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'` ;;
15410 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15411 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15412 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15413 fi ;;
15414 esac
15416 rm -f core conftest.err conftest.$ac_objext \
15417 conftest$ac_exeext conftest.$ac_ext
15418 LIBS=$ac_check_soname_save_LIBS
15420 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15422 $as_echo "not found" >&6; }
15424 else
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15426 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15428 cat >>confdefs.h <<_ACEOF
15429 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15430 _ACEOF
15434 CPPFLAGS=$ac_save_CPPFLAGS
15435 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15436 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15439 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15440 case "x$with_vkd3d" in
15441 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15442 xno) ;;
15443 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15444 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15445 esac
15448 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15451 EXTRACFLAGS=""
15453 if test "x${GCC}" = "xyes"
15454 then
15455 EXTRACFLAGS="-Wall -pipe"
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15458 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15459 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 if test "$cross_compiling" = yes; then :
15463 ac_cv_c_gcc_strength_bug="no"
15464 else
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15467 int L[4] = {0,1,2,3};
15469 main ()
15471 static int Array[3];
15472 unsigned int B = 3;
15473 int i;
15474 for(i=0; i<B; i++) Array[i] = i - 3;
15475 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15476 L[i] = 4;
15477 return (Array[1] != -2 || L[2] != 3)
15479 return 0;
15481 _ACEOF
15482 if ac_fn_c_try_run "$LINENO"; then :
15483 ac_cv_c_gcc_strength_bug="no"
15484 else
15485 ac_cv_c_gcc_strength_bug="yes"
15487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15488 conftest.$ac_objext conftest.beam conftest.$ac_ext
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15493 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15494 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15495 then
15496 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15500 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15501 if ${ac_cv_cflags__fno_builtin+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_wine_try_cflags_saved=$CFLAGS
15505 CFLAGS="$CFLAGS -fno-builtin"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15508 int main(int argc, char **argv) { return 0; }
15509 _ACEOF
15510 if ac_fn_c_try_link "$LINENO"; then :
15511 ac_cv_cflags__fno_builtin=yes
15512 else
15513 ac_cv_cflags__fno_builtin=no
15515 rm -f core conftest.err conftest.$ac_objext \
15516 conftest$ac_exeext conftest.$ac_ext
15517 CFLAGS=$ac_wine_try_cflags_saved
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15520 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15521 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15522 BUILTINFLAG="-fno-builtin"
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15526 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15527 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15528 $as_echo_n "(cached) " >&6
15529 else
15530 ac_wine_try_cflags_saved=$CFLAGS
15531 CFLAGS="$CFLAGS -fno-strict-aliasing"
15532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15534 int main(int argc, char **argv) { return 0; }
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_cflags__fno_strict_aliasing=yes
15538 else
15539 ac_cv_cflags__fno_strict_aliasing=no
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext conftest.$ac_ext
15543 CFLAGS=$ac_wine_try_cflags_saved
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15546 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15547 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15548 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15551 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15552 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15553 $as_echo_n "(cached) " >&6
15554 else
15555 ac_wine_try_cflags_saved=$CFLAGS
15556 CFLAGS="$CFLAGS -fexcess-precision=standard"
15557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15558 /* end confdefs.h. */
15559 int main(int argc, char **argv) { return 0; }
15560 _ACEOF
15561 if ac_fn_c_try_link "$LINENO"; then :
15562 ac_cv_cflags__fexcess_precision_standard=yes
15563 else
15564 ac_cv_cflags__fexcess_precision_standard=no
15566 rm -f core conftest.err conftest.$ac_objext \
15567 conftest$ac_exeext conftest.$ac_ext
15568 CFLAGS=$ac_wine_try_cflags_saved
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15571 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15572 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15573 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15576 saved_CFLAGS=$CFLAGS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15578 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15579 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15580 $as_echo_n "(cached) " >&6
15581 else
15582 ac_wine_try_cflags_saved=$CFLAGS
15583 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15585 /* end confdefs.h. */
15586 int main(int argc, char **argv) { return 0; }
15587 _ACEOF
15588 if ac_fn_c_try_link "$LINENO"; then :
15589 ac_cv_cflags__Werror_unknown_warning_option=yes
15590 else
15591 ac_cv_cflags__Werror_unknown_warning_option=no
15593 rm -f core conftest.err conftest.$ac_objext \
15594 conftest$ac_exeext conftest.$ac_ext
15595 CFLAGS=$ac_wine_try_cflags_saved
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15598 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15599 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15600 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15603 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15604 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15605 $as_echo_n "(cached) " >&6
15606 else
15607 ac_wine_try_cflags_saved=$CFLAGS
15608 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15611 int main(int argc, char **argv) { return 0; }
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 ac_cv_cflags__Wdeclaration_after_statement=yes
15615 else
15616 ac_cv_cflags__Wdeclaration_after_statement=no
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext conftest.$ac_ext
15620 CFLAGS=$ac_wine_try_cflags_saved
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15623 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15624 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15625 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15628 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15629 if ${ac_cv_cflags__Wempty_body+:} false; then :
15630 $as_echo_n "(cached) " >&6
15631 else
15632 ac_wine_try_cflags_saved=$CFLAGS
15633 CFLAGS="$CFLAGS -Wempty-body"
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 int main(int argc, char **argv) { return 0; }
15637 _ACEOF
15638 if ac_fn_c_try_link "$LINENO"; then :
15639 ac_cv_cflags__Wempty_body=yes
15640 else
15641 ac_cv_cflags__Wempty_body=no
15643 rm -f core conftest.err conftest.$ac_objext \
15644 conftest$ac_exeext conftest.$ac_ext
15645 CFLAGS=$ac_wine_try_cflags_saved
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15648 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15649 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15650 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15653 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15654 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15655 $as_echo_n "(cached) " >&6
15656 else
15657 ac_wine_try_cflags_saved=$CFLAGS
15658 CFLAGS="$CFLAGS -Wignored-qualifiers"
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15661 int main(int argc, char **argv) { return 0; }
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 ac_cv_cflags__Wignored_qualifiers=yes
15665 else
15666 ac_cv_cflags__Wignored_qualifiers=no
15668 rm -f core conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext conftest.$ac_ext
15670 CFLAGS=$ac_wine_try_cflags_saved
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15673 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15674 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15675 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15678 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15679 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15680 $as_echo_n "(cached) " >&6
15681 else
15682 ac_wine_try_cflags_saved=$CFLAGS
15683 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15685 /* end confdefs.h. */
15686 int main(int argc, char **argv) { return 0; }
15687 _ACEOF
15688 if ac_fn_c_try_link "$LINENO"; then :
15689 ac_cv_cflags__Wpacked_not_aligned=yes
15690 else
15691 ac_cv_cflags__Wpacked_not_aligned=no
15693 rm -f core conftest.err conftest.$ac_objext \
15694 conftest$ac_exeext conftest.$ac_ext
15695 CFLAGS=$ac_wine_try_cflags_saved
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15698 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15699 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15700 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15703 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15704 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15705 $as_echo_n "(cached) " >&6
15706 else
15707 ac_wine_try_cflags_saved=$CFLAGS
15708 CFLAGS="$CFLAGS -Wpragma-pack"
15709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15711 int main(int argc, char **argv) { return 0; }
15712 _ACEOF
15713 if ac_fn_c_try_link "$LINENO"; then :
15714 ac_cv_cflags__Wpragma_pack=yes
15715 else
15716 ac_cv_cflags__Wpragma_pack=no
15718 rm -f core conftest.err conftest.$ac_objext \
15719 conftest$ac_exeext conftest.$ac_ext
15720 CFLAGS=$ac_wine_try_cflags_saved
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15723 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15724 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15725 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15728 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15729 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15730 $as_echo_n "(cached) " >&6
15731 else
15732 ac_wine_try_cflags_saved=$CFLAGS
15733 CFLAGS="$CFLAGS -Wshift-overflow=2"
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15736 int main(int argc, char **argv) { return 0; }
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"; then :
15739 ac_cv_cflags__Wshift_overflow_2=yes
15740 else
15741 ac_cv_cflags__Wshift_overflow_2=no
15743 rm -f core conftest.err conftest.$ac_objext \
15744 conftest$ac_exeext conftest.$ac_ext
15745 CFLAGS=$ac_wine_try_cflags_saved
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15748 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15749 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15750 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15753 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15754 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15755 $as_echo_n "(cached) " >&6
15756 else
15757 ac_wine_try_cflags_saved=$CFLAGS
15758 CFLAGS="$CFLAGS -Wstrict-prototypes"
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15761 int main(int argc, char **argv) { return 0; }
15762 _ACEOF
15763 if ac_fn_c_try_link "$LINENO"; then :
15764 ac_cv_cflags__Wstrict_prototypes=yes
15765 else
15766 ac_cv_cflags__Wstrict_prototypes=no
15768 rm -f core conftest.err conftest.$ac_objext \
15769 conftest$ac_exeext conftest.$ac_ext
15770 CFLAGS=$ac_wine_try_cflags_saved
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15773 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15774 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15775 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15778 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15779 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_wine_try_cflags_saved=$CFLAGS
15783 CFLAGS="$CFLAGS -Wtype-limits"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15786 int main(int argc, char **argv) { return 0; }
15787 _ACEOF
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 ac_cv_cflags__Wtype_limits=yes
15790 else
15791 ac_cv_cflags__Wtype_limits=no
15793 rm -f core conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext conftest.$ac_ext
15795 CFLAGS=$ac_wine_try_cflags_saved
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15798 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15799 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15800 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15803 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15804 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 ac_wine_try_cflags_saved=$CFLAGS
15808 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15811 int main(int argc, char **argv) { return 0; }
15812 _ACEOF
15813 if ac_fn_c_try_link "$LINENO"; then :
15814 ac_cv_cflags__Wunused_but_set_parameter=yes
15815 else
15816 ac_cv_cflags__Wunused_but_set_parameter=no
15818 rm -f core conftest.err conftest.$ac_objext \
15819 conftest$ac_exeext conftest.$ac_ext
15820 CFLAGS=$ac_wine_try_cflags_saved
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15823 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15824 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15825 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15828 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15829 if ${ac_cv_cflags__Wvla+:} false; then :
15830 $as_echo_n "(cached) " >&6
15831 else
15832 ac_wine_try_cflags_saved=$CFLAGS
15833 CFLAGS="$CFLAGS -Wvla"
15834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15835 /* end confdefs.h. */
15836 int main(int argc, char **argv) { return 0; }
15837 _ACEOF
15838 if ac_fn_c_try_link "$LINENO"; then :
15839 ac_cv_cflags__Wvla=yes
15840 else
15841 ac_cv_cflags__Wvla=no
15843 rm -f core conftest.err conftest.$ac_objext \
15844 conftest$ac_exeext conftest.$ac_ext
15845 CFLAGS=$ac_wine_try_cflags_saved
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15848 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15849 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15850 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15853 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15854 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15855 $as_echo_n "(cached) " >&6
15856 else
15857 ac_wine_try_cflags_saved=$CFLAGS
15858 CFLAGS="$CFLAGS -Wwrite-strings"
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15861 int main(int argc, char **argv) { return 0; }
15862 _ACEOF
15863 if ac_fn_c_try_link "$LINENO"; then :
15864 ac_cv_cflags__Wwrite_strings=yes
15865 else
15866 ac_cv_cflags__Wwrite_strings=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 CFLAGS=$ac_wine_try_cflags_saved
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15873 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15874 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15875 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15879 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15880 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15881 $as_echo_n "(cached) " >&6
15882 else
15883 ac_wine_try_cflags_saved=$CFLAGS
15884 CFLAGS="$CFLAGS -Wpointer-arith"
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15887 int main(int argc, char **argv) { return 0; }
15888 _ACEOF
15889 if ac_fn_c_try_link "$LINENO"; then :
15890 ac_cv_cflags__Wpointer_arith=yes
15891 else
15892 ac_cv_cflags__Wpointer_arith=no
15894 rm -f core conftest.err conftest.$ac_objext \
15895 conftest$ac_exeext conftest.$ac_ext
15896 CFLAGS=$ac_wine_try_cflags_saved
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15899 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15900 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15901 saved_string_h_CFLAGS=$CFLAGS
15902 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15904 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15905 if ${ac_cv_c_string_h_warnings+:} false; then :
15906 $as_echo_n "(cached) " >&6
15907 else
15908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #include <string.h>
15912 main ()
15916 return 0;
15918 _ACEOF
15919 if ac_fn_c_try_compile "$LINENO"; then :
15920 ac_cv_c_string_h_warnings=no
15921 else
15922 ac_cv_c_string_h_warnings=yes
15924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15927 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15928 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15929 CFLAGS=$saved_string_h_CFLAGS
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15933 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15934 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15935 $as_echo_n "(cached) " >&6
15936 else
15937 ac_wine_try_cflags_saved=$CFLAGS
15938 CFLAGS="$CFLAGS -Wlogical-op"
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941 int main(int argc, char **argv) { return 0; }
15942 _ACEOF
15943 if ac_fn_c_try_link "$LINENO"; then :
15944 ac_cv_cflags__Wlogical_op=yes
15945 else
15946 ac_cv_cflags__Wlogical_op=no
15948 rm -f core conftest.err conftest.$ac_objext \
15949 conftest$ac_exeext conftest.$ac_ext
15950 CFLAGS=$ac_wine_try_cflags_saved
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15953 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15954 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15955 saved_string_h_CFLAGS=$CFLAGS
15956 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15958 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15959 if ${ac_cv_c_logicalop_noisy+:} false; then :
15960 $as_echo_n "(cached) " >&6
15961 else
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15964 #include <string.h>
15965 char*f(const char *h,char n) {return strchr(h,n);}
15967 main ()
15971 return 0;
15973 _ACEOF
15974 if ac_fn_c_try_compile "$LINENO"; then :
15975 ac_cv_c_logicalop_noisy=no
15976 else
15977 ac_cv_c_logicalop_noisy=yes
15979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15982 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15983 CFLAGS=$saved_string_h_CFLAGS
15984 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15987 CFLAGS=$saved_CFLAGS
15989 for ac_flag in $CFLAGS; do
15990 case $ac_flag in
15991 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15992 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15993 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15994 $as_echo_n "(cached) " >&6
15995 else
15996 ac_wine_try_cflags_saved=$CFLAGS
15997 CFLAGS="$CFLAGS -gdwarf-2"
15998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15999 /* end confdefs.h. */
16000 int main(int argc, char **argv) { return 0; }
16001 _ACEOF
16002 if ac_fn_c_try_link "$LINENO"; then :
16003 ac_cv_cflags__gdwarf_2=yes
16004 else
16005 ac_cv_cflags__gdwarf_2=no
16007 rm -f core conftest.err conftest.$ac_objext \
16008 conftest$ac_exeext conftest.$ac_ext
16009 CFLAGS=$ac_wine_try_cflags_saved
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16012 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16013 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16014 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16017 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16018 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16019 $as_echo_n "(cached) " >&6
16020 else
16021 ac_wine_try_cflags_saved=$CFLAGS
16022 CFLAGS="$CFLAGS -gstrict-dwarf"
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16025 int main(int argc, char **argv) { return 0; }
16026 _ACEOF
16027 if ac_fn_c_try_link "$LINENO"; then :
16028 ac_cv_cflags__gstrict_dwarf=yes
16029 else
16030 ac_cv_cflags__gstrict_dwarf=no
16032 rm -f core conftest.err conftest.$ac_objext \
16033 conftest$ac_exeext conftest.$ac_ext
16034 CFLAGS=$ac_wine_try_cflags_saved
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16037 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16038 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16039 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16040 fi ;;
16041 esac
16042 done
16044 case $host_cpu in
16045 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16046 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16047 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16048 $as_echo_n "(cached) " >&6
16049 else
16050 ac_wine_try_cflags_saved=$CFLAGS
16051 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16054 int main(int argc, char **argv) { return 0; }
16055 _ACEOF
16056 if ac_fn_c_try_link "$LINENO"; then :
16057 ac_cv_cflags__fno_omit_frame_pointer=yes
16058 else
16059 ac_cv_cflags__fno_omit_frame_pointer=no
16061 rm -f core conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext conftest.$ac_ext
16063 CFLAGS=$ac_wine_try_cflags_saved
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16066 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16067 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16068 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16069 fi ;;
16070 esac
16072 case $host in
16073 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16074 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16075 if ${ac_cv_cflags__Wno_format+:} false; then :
16076 $as_echo_n "(cached) " >&6
16077 else
16078 ac_wine_try_cflags_saved=$CFLAGS
16079 CFLAGS="$CFLAGS -Wno-format"
16080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h. */
16082 int main(int argc, char **argv) { return 0; }
16083 _ACEOF
16084 if ac_fn_c_try_link "$LINENO"; then :
16085 ac_cv_cflags__Wno_format=yes
16086 else
16087 ac_cv_cflags__Wno_format=no
16089 rm -f core conftest.err conftest.$ac_objext \
16090 conftest$ac_exeext conftest.$ac_ext
16091 CFLAGS=$ac_wine_try_cflags_saved
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16094 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16095 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16096 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16097 fi ;;
16098 esac
16100 if test "x$enable_maintainer_mode" = "xyes"
16101 then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16103 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16104 if ${ac_cv_cflags__Werror+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_wine_try_cflags_saved=$CFLAGS
16108 CFLAGS="$CFLAGS -Werror"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16111 int main(int argc, char **argv) { return 0; }
16112 _ACEOF
16113 if ac_fn_c_try_link "$LINENO"; then :
16114 ac_cv_cflags__Werror=yes
16115 else
16116 ac_cv_cflags__Werror=no
16118 rm -f core conftest.err conftest.$ac_objext \
16119 conftest$ac_exeext conftest.$ac_ext
16120 CFLAGS=$ac_wine_try_cflags_saved
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16123 $as_echo "$ac_cv_cflags__Werror" >&6; }
16124 if test "x$ac_cv_cflags__Werror" = xyes; then :
16125 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16129 saved_CFLAGS="$CFLAGS"
16130 CFLAGS="$CFLAGS -Werror"
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16132 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16133 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16134 $as_echo_n "(cached) " >&6
16135 else
16136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16137 /* end confdefs.h. */
16138 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16140 main ()
16144 return 0;
16146 _ACEOF
16147 if ac_fn_c_try_compile "$LINENO"; then :
16148 ac_cv_have_ms_hook_prologue="yes"
16149 else
16150 ac_cv_have_ms_hook_prologue="no"
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16155 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16156 CFLAGS="$saved_CFLAGS"
16157 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16158 then
16160 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16162 else
16163 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16170 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16171 if ${ac_cv_c_fortify_enabled+:} false; then :
16172 $as_echo_n "(cached) " >&6
16173 else
16174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16175 /* end confdefs.h. */
16176 #include <string.h>
16178 main ()
16180 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16181 #error Fortify enabled
16182 #endif
16184 return 0;
16186 _ACEOF
16187 if ac_fn_c_try_compile "$LINENO"; then :
16188 ac_cv_c_fortify_enabled=no
16189 else
16190 ac_cv_c_fortify_enabled=yes
16192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16195 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16196 if test "$ac_cv_c_fortify_enabled" = yes
16197 then
16198 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16203 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16204 if ${ac_cv_c_extern_prefix+:} false; then :
16205 $as_echo_n "(cached) " >&6
16206 else
16207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16209 extern int ac_test;
16211 main ()
16213 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16215 return 0;
16217 _ACEOF
16218 if ac_fn_c_try_link "$LINENO"; then :
16219 ac_cv_c_extern_prefix="yes"
16220 else
16221 ac_cv_c_extern_prefix="no"
16223 rm -f core conftest.err conftest.$ac_objext \
16224 conftest$ac_exeext conftest.$ac_ext
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16227 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16229 case $host_cpu in
16230 *i[3456789]86*)
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16232 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16233 if ${ac_cv_c_stdcall_suffix+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #ifndef _MSC_VER
16239 #define __stdcall __attribute__((__stdcall__))
16240 #endif
16241 int __stdcall ac_test(int i) { return i; }
16243 main ()
16245 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16247 return 0;
16249 _ACEOF
16250 if ac_fn_c_try_link "$LINENO"; then :
16251 ac_cv_c_stdcall_suffix="yes"
16252 else
16253 ac_cv_c_stdcall_suffix="no"
16255 rm -f core conftest.err conftest.$ac_objext \
16256 conftest$ac_exeext conftest.$ac_ext
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16259 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16260 *) ac_cv_c_stdcall_suffix="no" ;;
16261 esac
16264 if test "$ac_cv_c_extern_prefix" = "yes"
16265 then
16266 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16268 asm_name_prefix="_"
16269 else
16270 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16272 asm_name_prefix=""
16276 if test "$ac_cv_c_stdcall_suffix" = "yes"
16277 then
16278 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16280 else
16281 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16287 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16288 if ${ac_cv_asm_func_def+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16295 main ()
16297 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\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=".def"
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,@function\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 @function"
16318 else
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16323 main ()
16325 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"; then :
16331 ac_cv_asm_func_def=".type 2"
16332 else
16333 ac_cv_asm_func_def="unknown"
16335 rm -f core conftest.err conftest.$ac_objext \
16336 conftest$ac_exeext conftest.$ac_ext
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16341 rm -f core conftest.err conftest.$ac_objext \
16342 conftest$ac_exeext conftest.$ac_ext
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16345 $as_echo "$ac_cv_asm_func_def" >&6; }
16348 case "$ac_cv_asm_func_def" in
16349 ".def")
16350 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16352 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16353 ".type @function")
16354 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16356 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16357 ".type 2")
16358 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16360 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16362 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16364 asm_func_header="" ;;
16365 esac
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16368 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16369 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 asm(".text\n\t.long 0");
16376 main ()
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 ac_cv_c_asm_outside_funcs="yes"
16385 else
16386 ac_cv_c_asm_outside_funcs="no"
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16391 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16394 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16395 if ${ac_cv_c_dot_previous+:} false; then :
16396 $as_echo_n "(cached) " >&6
16397 else
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16402 main ()
16404 asm(".text\nac_test:\t.long 0\n\t.previous");
16406 return 0;
16408 _ACEOF
16409 if ac_fn_c_try_link "$LINENO"; then :
16410 ac_cv_c_dot_previous="yes"
16411 else
16412 ac_cv_c_dot_previous="no"
16414 rm -f core conftest.err conftest.$ac_objext \
16415 conftest$ac_exeext conftest.$ac_ext
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16418 $as_echo "$ac_cv_c_dot_previous" >&6; }
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16421 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16422 if ${ac_cv_c_cfi_support+:} false; then :
16423 $as_echo_n "(cached) " >&6
16424 else
16425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16427 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16429 main ()
16433 return 0;
16435 _ACEOF
16436 if ac_fn_c_try_compile "$LINENO"; then :
16437 ac_cv_c_cfi_support="yes"
16438 else
16439 ac_cv_c_cfi_support="no"
16441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16444 $as_echo "$ac_cv_c_cfi_support" >&6; }
16446 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16447 asm_func_trailer=""
16448 if test "$ac_cv_c_dot_previous" = "yes"
16449 then
16450 asm_func_trailer="\\n\\t.previous"
16452 if test "$ac_cv_c_cfi_support" = "yes"
16453 then
16454 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16455 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16457 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16459 UNWINDFLAGS=-fasynchronous-unwind-tables
16461 else
16462 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16464 if test "x$enable_win64" = "xyes"
16465 then
16466 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16470 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16473 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16474 then
16475 cat >>confdefs.h <<_ACEOF
16476 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16477 _ACEOF
16479 else
16480 cat >>confdefs.h <<_ACEOF
16481 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16482 _ACEOF
16486 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16489 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16493 case $build_os in
16494 cygwin*|mingw32*) TOOLSEXT=".exe"
16496 esac
16498 case $host_os in
16499 linux*)
16500 case $host_cpu in
16501 *i[3456789]86*|x86_64*|*aarch64*)
16502 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16503 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16505 esac
16507 esac
16510 ac_save_CFLAGS="$CFLAGS"
16511 CFLAGS="$CFLAGS $BUILTINFLAG"
16512 for ac_func in \
16513 __res_get_state \
16514 __res_getservers \
16515 _finite \
16516 _isnan \
16517 _pclose \
16518 _popen \
16519 _snprintf \
16520 _spawnvp \
16521 _strdup \
16522 _stricmp \
16523 _strnicmp \
16524 _strtoi64 \
16525 _strtoui64 \
16526 _vsnprintf \
16527 asctime_r \
16528 chsize \
16529 dlopen \
16530 epoll_create \
16531 ffs \
16532 finitef \
16533 fnmatch \
16534 fork \
16535 fpclass \
16536 fstatfs \
16537 fstatvfs \
16538 ftruncate \
16539 futimens \
16540 futimes \
16541 futimesat \
16542 getattrlist \
16543 getauxval \
16544 getifaddrs \
16545 getopt_long_only \
16546 getpwuid \
16547 gettimeofday \
16548 getuid \
16549 kqueue \
16550 lstat \
16551 memmove \
16552 mmap \
16553 pclose \
16554 pipe2 \
16555 poll \
16556 popen \
16557 port_create \
16558 prctl \
16559 pread \
16560 proc_pidinfo \
16561 pwrite \
16562 readdir \
16563 readlink \
16564 sched_yield \
16565 select \
16566 setproctitle \
16567 setprogname \
16568 setrlimit \
16569 settimeofday \
16570 sigaltstack \
16571 sigprocmask \
16572 snprintf \
16573 statfs \
16574 statvfs \
16575 strcasecmp \
16576 strdup \
16577 strerror \
16578 strncasecmp \
16579 strnlen \
16580 strtold \
16581 strtoll \
16582 strtoull \
16583 symlink \
16584 sysinfo \
16585 tcdrain \
16586 thr_kill2 \
16587 timegm \
16588 usleep \
16589 vsnprintf
16591 do :
16592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16597 _ACEOF
16600 done
16602 CFLAGS="$ac_save_CFLAGS"
16604 if test "$ac_cv_func_dlopen" = no
16605 then
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16608 if ${ac_cv_lib_dl_dlopen+:} false; then :
16609 $as_echo_n "(cached) " >&6
16610 else
16611 ac_check_lib_save_LIBS=$LIBS
16612 LIBS="-ldl $LIBS"
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16616 /* Override any GCC internal prototype to avoid an error.
16617 Use char because int might match the return type of a GCC
16618 builtin and then its argument prototype would still apply. */
16619 #ifdef __cplusplus
16620 extern "C"
16621 #endif
16622 char dlopen ();
16624 main ()
16626 return dlopen ();
16628 return 0;
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"; then :
16632 ac_cv_lib_dl_dlopen=yes
16633 else
16634 ac_cv_lib_dl_dlopen=no
16636 rm -f core conftest.err conftest.$ac_objext \
16637 conftest$ac_exeext conftest.$ac_ext
16638 LIBS=$ac_check_lib_save_LIBS
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16641 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16642 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16643 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16644 DL_LIBS="-ldl"
16649 ac_wine_check_funcs_save_LIBS="$LIBS"
16650 LIBS="$LIBS $DL_LIBS"
16651 for ac_func in dladdr
16652 do :
16653 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16654 if test "x$ac_cv_func_dladdr" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_DLADDR 1
16657 _ACEOF
16660 done
16662 LIBS="$ac_wine_check_funcs_save_LIBS"
16664 if test "$ac_cv_func_poll" = no
16665 then
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16667 $as_echo_n "checking for poll in -lpoll... " >&6; }
16668 if ${ac_cv_lib_poll_poll+:} false; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 ac_check_lib_save_LIBS=$LIBS
16672 LIBS="-lpoll $LIBS"
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16676 /* Override any GCC internal prototype to avoid an error.
16677 Use char because int might match the return type of a GCC
16678 builtin and then its argument prototype would still apply. */
16679 #ifdef __cplusplus
16680 extern "C"
16681 #endif
16682 char poll ();
16684 main ()
16686 return poll ();
16688 return 0;
16690 _ACEOF
16691 if ac_fn_c_try_link "$LINENO"; then :
16692 ac_cv_lib_poll_poll=yes
16693 else
16694 ac_cv_lib_poll_poll=no
16696 rm -f core conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16698 LIBS=$ac_check_lib_save_LIBS
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16701 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16702 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16703 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16704 POLL_LIBS="-lpoll"
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16711 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16712 if ${ac_cv_search_gethostbyname+:} false; then :
16713 $as_echo_n "(cached) " >&6
16714 else
16715 ac_func_search_save_LIBS=$LIBS
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16722 #ifdef __cplusplus
16723 extern "C"
16724 #endif
16725 char gethostbyname ();
16727 main ()
16729 return gethostbyname ();
16731 return 0;
16733 _ACEOF
16734 for ac_lib in '' nsl; do
16735 if test -z "$ac_lib"; then
16736 ac_res="none required"
16737 else
16738 ac_res=-l$ac_lib
16739 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16741 if ac_fn_c_try_link "$LINENO"; then :
16742 ac_cv_search_gethostbyname=$ac_res
16744 rm -f core conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext
16746 if ${ac_cv_search_gethostbyname+:} false; then :
16747 break
16749 done
16750 if ${ac_cv_search_gethostbyname+:} false; then :
16752 else
16753 ac_cv_search_gethostbyname=no
16755 rm conftest.$ac_ext
16756 LIBS=$ac_func_search_save_LIBS
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16759 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16760 ac_res=$ac_cv_search_gethostbyname
16761 if test "$ac_res" != no; then :
16762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16768 $as_echo_n "checking for library containing connect... " >&6; }
16769 if ${ac_cv_search_connect+:} false; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 ac_func_search_save_LIBS=$LIBS
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16776 /* Override any GCC internal prototype to avoid an error.
16777 Use char because int might match the return type of a GCC
16778 builtin and then its argument prototype would still apply. */
16779 #ifdef __cplusplus
16780 extern "C"
16781 #endif
16782 char connect ();
16784 main ()
16786 return connect ();
16788 return 0;
16790 _ACEOF
16791 for ac_lib in '' socket; do
16792 if test -z "$ac_lib"; then
16793 ac_res="none required"
16794 else
16795 ac_res=-l$ac_lib
16796 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16798 if ac_fn_c_try_link "$LINENO"; then :
16799 ac_cv_search_connect=$ac_res
16801 rm -f core conftest.err conftest.$ac_objext \
16802 conftest$ac_exeext
16803 if ${ac_cv_search_connect+:} false; then :
16804 break
16806 done
16807 if ${ac_cv_search_connect+:} false; then :
16809 else
16810 ac_cv_search_connect=no
16812 rm conftest.$ac_ext
16813 LIBS=$ac_func_search_save_LIBS
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16816 $as_echo "$ac_cv_search_connect" >&6; }
16817 ac_res=$ac_cv_search_connect
16818 if test "$ac_res" != no; then :
16819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16825 $as_echo_n "checking for library containing inet_aton... " >&6; }
16826 if ${ac_cv_search_inet_aton+:} false; then :
16827 $as_echo_n "(cached) " >&6
16828 else
16829 ac_func_search_save_LIBS=$LIBS
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16833 /* Override any GCC internal prototype to avoid an error.
16834 Use char because int might match the return type of a GCC
16835 builtin and then its argument prototype would still apply. */
16836 #ifdef __cplusplus
16837 extern "C"
16838 #endif
16839 char inet_aton ();
16841 main ()
16843 return inet_aton ();
16845 return 0;
16847 _ACEOF
16848 for ac_lib in '' resolv; do
16849 if test -z "$ac_lib"; then
16850 ac_res="none required"
16851 else
16852 ac_res=-l$ac_lib
16853 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16855 if ac_fn_c_try_link "$LINENO"; then :
16856 ac_cv_search_inet_aton=$ac_res
16858 rm -f core conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext
16860 if ${ac_cv_search_inet_aton+:} false; then :
16861 break
16863 done
16864 if ${ac_cv_search_inet_aton+:} false; then :
16866 else
16867 ac_cv_search_inet_aton=no
16869 rm conftest.$ac_ext
16870 LIBS=$ac_func_search_save_LIBS
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16873 $as_echo "$ac_cv_search_inet_aton" >&6; }
16874 ac_res=$ac_cv_search_inet_aton
16875 if test "$ac_res" != no; then :
16876 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16881 for ac_func in \
16882 getaddrinfo \
16883 getnameinfo \
16884 getnetbyname \
16885 getprotobyname \
16886 getprotobynumber \
16887 getservbyport \
16888 inet_addr \
16889 inet_network \
16890 inet_ntop \
16891 inet_pton \
16892 sendmsg \
16893 socketpair \
16895 do :
16896 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16898 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16899 cat >>confdefs.h <<_ACEOF
16900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16901 _ACEOF
16904 done
16907 ac_save_LIBS=$LIBS
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16909 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16910 if ${ac_cv_search_clock_gettime+:} false; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16913 ac_func_search_save_LIBS=$LIBS
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16917 /* Override any GCC internal prototype to avoid an error.
16918 Use char because int might match the return type of a GCC
16919 builtin and then its argument prototype would still apply. */
16920 #ifdef __cplusplus
16921 extern "C"
16922 #endif
16923 char clock_gettime ();
16925 main ()
16927 return clock_gettime ();
16929 return 0;
16931 _ACEOF
16932 for ac_lib in '' rt; do
16933 if test -z "$ac_lib"; then
16934 ac_res="none required"
16935 else
16936 ac_res=-l$ac_lib
16937 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16939 if ac_fn_c_try_link "$LINENO"; then :
16940 ac_cv_search_clock_gettime=$ac_res
16942 rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext
16944 if ${ac_cv_search_clock_gettime+:} false; then :
16945 break
16947 done
16948 if ${ac_cv_search_clock_gettime+:} false; then :
16950 else
16951 ac_cv_search_clock_gettime=no
16953 rm conftest.$ac_ext
16954 LIBS=$ac_func_search_save_LIBS
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16957 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16958 ac_res=$ac_cv_search_clock_gettime
16959 if test "$ac_res" != no; then :
16960 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16962 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16964 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16968 LIBS=$ac_save_LIBS
16970 if test "x$with_ldap" != "xno"
16971 then
16972 if ${LDAP_CFLAGS:+false} :; then :
16973 if ${PKG_CONFIG+:} false; then :
16974 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16978 if ${LDAP_LIBS:+false} :; then :
16979 if ${PKG_CONFIG+:} false; then :
16980 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16984 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16985 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16986 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16987 ac_save_CPPFLAGS=$CPPFLAGS
16988 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16989 for ac_header in ldap.h lber.h
16990 do :
16991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16992 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16994 cat >>confdefs.h <<_ACEOF
16995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16996 _ACEOF
17000 done
17002 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17003 then
17004 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17006 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17008 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17009 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_check_lib_save_LIBS=$LIBS
17013 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17017 /* Override any GCC internal prototype to avoid an error.
17018 Use char because int might match the return type of a GCC
17019 builtin and then its argument prototype would still apply. */
17020 #ifdef __cplusplus
17021 extern "C"
17022 #endif
17023 char ldap_initialize ();
17025 main ()
17027 return ldap_initialize ();
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_lib_ldap_r_ldap_initialize=yes
17034 else
17035 ac_cv_lib_ldap_r_ldap_initialize=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 LIBS=$ac_check_lib_save_LIBS
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17042 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17043 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17045 $as_echo_n "checking for ber_init in -llber... " >&6; }
17046 if ${ac_cv_lib_lber_ber_init+:} false; then :
17047 $as_echo_n "(cached) " >&6
17048 else
17049 ac_check_lib_save_LIBS=$LIBS
17050 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17054 /* Override any GCC internal prototype to avoid an error.
17055 Use char because int might match the return type of a GCC
17056 builtin and then its argument prototype would still apply. */
17057 #ifdef __cplusplus
17058 extern "C"
17059 #endif
17060 char ber_init ();
17062 main ()
17064 return ber_init ();
17066 return 0;
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"; then :
17070 ac_cv_lib_lber_ber_init=yes
17071 else
17072 ac_cv_lib_lber_ber_init=no
17074 rm -f core conftest.err conftest.$ac_objext \
17075 conftest$ac_exeext conftest.$ac_ext
17076 LIBS=$ac_check_lib_save_LIBS
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17079 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17080 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17082 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17084 else
17085 LDAP_LIBS=""
17088 else
17089 LDAP_LIBS=""
17092 else
17093 LDAP_LIBS=""
17096 ac_wine_check_funcs_save_LIBS="$LIBS"
17097 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17098 for ac_func in \
17099 ldap_count_references \
17100 ldap_first_reference \
17101 ldap_next_reference \
17102 ldap_parse_reference \
17103 ldap_parse_sort_control \
17104 ldap_parse_sortresponse_control \
17105 ldap_parse_vlv_control \
17106 ldap_parse_vlvresponse_control
17107 do :
17108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17111 cat >>confdefs.h <<_ACEOF
17112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17113 _ACEOF
17116 done
17118 LIBS="$ac_wine_check_funcs_save_LIBS"
17119 else
17120 LDAP_LIBS=""
17122 CPPFLAGS=$ac_save_CPPFLAGS
17123 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17124 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17127 if test "x$LDAP_LIBS" = "x"; then :
17128 case "x$with_ldap" in
17129 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17130 xno) ;;
17131 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17132 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17133 esac
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17138 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17139 if ${wine_cv_one_arg_mkdir+:} false; then :
17140 $as_echo_n "(cached) " >&6
17141 else
17142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17144 #include <sys/stat.h>
17146 main ()
17148 mkdir("foo");
17150 return 0;
17152 _ACEOF
17153 if ac_fn_c_try_compile "$LINENO"; then :
17154 wine_cv_one_arg_mkdir=yes
17155 else
17156 wine_cv_one_arg_mkdir=no
17158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17161 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17162 if test "$wine_cv_one_arg_mkdir" = "yes"
17163 then
17165 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17170 $as_echo_n "checking for sched_setaffinity... " >&6; }
17171 if ${wine_cv_have_sched_setaffinity+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17176 #define _GNU_SOURCE
17177 #include <sched.h>
17179 main ()
17181 sched_setaffinity(0, 0, 0);
17183 return 0;
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 wine_cv_have_sched_setaffinity=yes
17188 else
17189 wine_cv_have_sched_setaffinity=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17195 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17196 if test "$wine_cv_have_sched_setaffinity" = "yes"
17197 then
17199 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17204 $as_echo_n "checking for fallocate... " >&6; }
17205 if ${wine_cv_have_fallocate+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 #define _GNU_SOURCE
17211 #include <fcntl.h>
17213 main ()
17215 fallocate(-1, 0, 0, 0);
17217 return 0;
17219 _ACEOF
17220 if ac_fn_c_try_link "$LINENO"; then :
17221 wine_cv_have_fallocate=yes
17222 else
17223 wine_cv_have_fallocate=no
17225 rm -f core conftest.err conftest.$ac_objext \
17226 conftest$ac_exeext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17229 $as_echo "$wine_cv_have_fallocate" >&6; }
17230 if test "$wine_cv_have_fallocate" = "yes"
17231 then
17233 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17239 $as_echo_n "checking for inline... " >&6; }
17240 if ${ac_cv_c_inline+:} false; then :
17241 $as_echo_n "(cached) " >&6
17242 else
17243 ac_cv_c_inline=no
17244 for ac_kw in inline __inline__ __inline; do
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17247 #ifndef __cplusplus
17248 typedef int foo_t;
17249 static $ac_kw foo_t static_foo () {return 0; }
17250 $ac_kw foo_t foo () {return 0; }
17251 #endif
17253 _ACEOF
17254 if ac_fn_c_try_compile "$LINENO"; then :
17255 ac_cv_c_inline=$ac_kw
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258 test "$ac_cv_c_inline" != no && break
17259 done
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17263 $as_echo "$ac_cv_c_inline" >&6; }
17265 case $ac_cv_c_inline in
17266 inline | yes) ;;
17268 case $ac_cv_c_inline in
17269 no) ac_val=;;
17270 *) ac_val=$ac_cv_c_inline;;
17271 esac
17272 cat >>confdefs.h <<_ACEOF
17273 #ifndef __cplusplus
17274 #define inline $ac_val
17275 #endif
17276 _ACEOF
17278 esac
17280 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17281 if test "x$ac_cv_type_mode_t" = xyes; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define HAVE_MODE_T 1
17285 _ACEOF
17289 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17290 if test "x$ac_cv_type_off_t" = xyes; then :
17292 cat >>confdefs.h <<_ACEOF
17293 #define HAVE_OFF_T 1
17294 _ACEOF
17298 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17299 if test "x$ac_cv_type_pid_t" = xyes; then :
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_PID_T 1
17303 _ACEOF
17307 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17308 if test "x$ac_cv_type_size_t" = xyes; then :
17310 cat >>confdefs.h <<_ACEOF
17311 #define HAVE_SIZE_T 1
17312 _ACEOF
17316 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17317 if test "x$ac_cv_type_ssize_t" = xyes; then :
17319 cat >>confdefs.h <<_ACEOF
17320 #define HAVE_SSIZE_T 1
17321 _ACEOF
17325 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17326 if test "x$ac_cv_type_long_long" = xyes; then :
17328 cat >>confdefs.h <<_ACEOF
17329 #define HAVE_LONG_LONG 1
17330 _ACEOF
17334 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17335 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_FSBLKCNT_T 1
17339 _ACEOF
17343 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17344 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17346 cat >>confdefs.h <<_ACEOF
17347 #define HAVE_FSFILCNT_T 1
17348 _ACEOF
17353 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17354 #include <signal.h>
17356 if test "x$ac_cv_type_sigset_t" = xyes; then :
17358 cat >>confdefs.h <<_ACEOF
17359 #define HAVE_SIGSET_T 1
17360 _ACEOF
17365 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17367 if test "x$ac_cv_type_request_sense" = xyes; then :
17369 cat >>confdefs.h <<_ACEOF
17370 #define HAVE_REQUEST_SENSE 1
17371 _ACEOF
17377 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17378 #ifdef HAVE_SYS_SOCKET_H
17379 #include <sys/socket.h>
17380 #endif
17381 #ifdef HAVE_SYS_SOCKETVAR_H
17382 #include <sys/socketvar.h>
17383 #endif
17384 #ifdef HAVE_NET_ROUTE_H
17385 #include <net/route.h>
17386 #endif
17387 #ifdef HAVE_NETINET_IN_H
17388 #include <netinet/in.h>
17389 #endif
17390 #ifdef HAVE_NETINET_IN_SYSTM_H
17391 #include <netinet/in_systm.h>
17392 #endif
17393 #ifdef HAVE_NETINET_IP_H
17394 #include <netinet/ip.h>
17395 #endif
17396 #ifdef HAVE_NETINET_IN_PCB_H
17397 #include <netinet/in_pcb.h>
17398 #endif
17400 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17402 cat >>confdefs.h <<_ACEOF
17403 #define HAVE_STRUCT_XINPGEN 1
17404 _ACEOF
17410 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17411 #include <link.h>
17412 #endif
17413 #ifdef HAVE_SYS_LINK_H
17414 #include <sys/link.h>
17415 #endif
17417 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17419 cat >>confdefs.h <<_ACEOF
17420 #define HAVE_STRUCT_R_DEBUG 1
17421 _ACEOF
17425 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17426 #include <link.h>
17427 #endif
17428 #ifdef HAVE_SYS_LINK_H
17429 #include <sys/link.h>
17430 #endif
17432 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_STRUCT_LINK_MAP 1
17436 _ACEOF
17442 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17443 #include <linux/input.h>
17444 #endif
17446 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17450 _ACEOF
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17457 $as_echo_n "checking for if_nameindex... " >&6; }
17458 if ${wine_cv_have_if_nameindex+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 #ifdef HAVE_SYS_TYPES_H
17464 #include <sys/types.h>
17465 #endif
17466 #ifdef HAVE_SYS_SOCKET_H
17467 #include <sys/socket.h>
17468 #endif
17469 #ifdef HAVE_NET_IF_H
17470 # include <net/if.h>
17471 #endif
17473 main ()
17475 struct if_nameindex *p = if_nameindex(); return p->if_index;
17477 return 0;
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"; then :
17481 wine_cv_have_if_nameindex=yes
17482 else
17483 wine_cv_have_if_nameindex=no
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17489 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17490 if test "$wine_cv_have_if_nameindex" = "yes"
17491 then
17493 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17498 $as_echo_n "checking for sigaddset... " >&6; }
17499 if ${wine_cv_have_sigaddset+:} false; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 #include <signal.h>
17506 main ()
17508 sigset_t set; sigaddset(&set,SIGTERM);
17510 return 0;
17512 _ACEOF
17513 if ac_fn_c_try_link "$LINENO"; then :
17514 wine_cv_have_sigaddset=yes
17515 else
17516 wine_cv_have_sigaddset=no
17518 rm -f core conftest.err conftest.$ac_objext \
17519 conftest$ac_exeext conftest.$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17522 $as_echo "$wine_cv_have_sigaddset" >&6; }
17523 if test "$wine_cv_have_sigaddset" = "yes"
17524 then
17526 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17532 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17533 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #include <netdb.h>
17540 main ()
17543 char *name=0;
17544 struct hostent he;
17545 struct hostent *result;
17546 char *buf=0;
17547 int bufsize=0;
17548 int errnr;
17549 char *addr=0;
17550 int addrlen=0;
17551 int addrtype=0;
17552 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17553 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_link "$LINENO"; then :
17560 wine_cv_linux_gethostbyname_r_6=yes
17561 else
17562 wine_cv_linux_gethostbyname_r_6=no
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17570 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17571 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17572 then
17574 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17578 if test "$ac_cv_header_linux_joystick_h" = "yes"
17579 then
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17581 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17582 if ${wine_cv_linux_joystick_22_api+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17588 #include <sys/ioctl.h>
17589 #include <sys/types.h>
17590 #include <linux/joystick.h>
17592 struct js_event blub;
17593 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17594 #error "no 2.2 header"
17595 #endif
17598 main ()
17600 /*empty*/
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_compile "$LINENO"; then :
17606 wine_cv_linux_joystick_22_api=yes
17607 else
17608 wine_cv_linux_joystick_22_api=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17614 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17615 if test "$wine_cv_linux_joystick_22_api" = "yes"
17616 then
17618 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17624 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17625 #ifdef HAVE_SYS_PARAM_H
17626 # include <sys/param.h>
17627 #endif
17628 #ifdef HAVE_SYS_MOUNT_H
17629 # include <sys/mount.h>
17630 #endif
17631 #ifdef HAVE_SYS_VFS_H
17632 # include <sys/vfs.h>
17633 #endif
17634 #ifdef HAVE_SYS_STATFS_H
17635 # include <sys/statfs.h>
17636 #endif
17638 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17640 cat >>confdefs.h <<_ACEOF
17641 #define HAVE_STRUCT_STATFS_F_BFREE 1
17642 _ACEOF
17646 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17647 #ifdef HAVE_SYS_PARAM_H
17648 # include <sys/param.h>
17649 #endif
17650 #ifdef HAVE_SYS_MOUNT_H
17651 # include <sys/mount.h>
17652 #endif
17653 #ifdef HAVE_SYS_VFS_H
17654 # include <sys/vfs.h>
17655 #endif
17656 #ifdef HAVE_SYS_STATFS_H
17657 # include <sys/statfs.h>
17658 #endif
17660 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17662 cat >>confdefs.h <<_ACEOF
17663 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17664 _ACEOF
17668 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17669 #ifdef HAVE_SYS_PARAM_H
17670 # include <sys/param.h>
17671 #endif
17672 #ifdef HAVE_SYS_MOUNT_H
17673 # include <sys/mount.h>
17674 #endif
17675 #ifdef HAVE_SYS_VFS_H
17676 # include <sys/vfs.h>
17677 #endif
17678 #ifdef HAVE_SYS_STATFS_H
17679 # include <sys/statfs.h>
17680 #endif
17682 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17684 cat >>confdefs.h <<_ACEOF
17685 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17686 _ACEOF
17690 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17691 #ifdef HAVE_SYS_PARAM_H
17692 # include <sys/param.h>
17693 #endif
17694 #ifdef HAVE_SYS_MOUNT_H
17695 # include <sys/mount.h>
17696 #endif
17697 #ifdef HAVE_SYS_VFS_H
17698 # include <sys/vfs.h>
17699 #endif
17700 #ifdef HAVE_SYS_STATFS_H
17701 # include <sys/statfs.h>
17702 #endif
17704 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17706 cat >>confdefs.h <<_ACEOF
17707 #define HAVE_STRUCT_STATFS_F_FFREE 1
17708 _ACEOF
17712 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17713 #ifdef HAVE_SYS_PARAM_H
17714 # include <sys/param.h>
17715 #endif
17716 #ifdef HAVE_SYS_MOUNT_H
17717 # include <sys/mount.h>
17718 #endif
17719 #ifdef HAVE_SYS_VFS_H
17720 # include <sys/vfs.h>
17721 #endif
17722 #ifdef HAVE_SYS_STATFS_H
17723 # include <sys/statfs.h>
17724 #endif
17726 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17730 _ACEOF
17734 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17735 #ifdef HAVE_SYS_PARAM_H
17736 # include <sys/param.h>
17737 #endif
17738 #ifdef HAVE_SYS_MOUNT_H
17739 # include <sys/mount.h>
17740 #endif
17741 #ifdef HAVE_SYS_VFS_H
17742 # include <sys/vfs.h>
17743 #endif
17744 #ifdef HAVE_SYS_STATFS_H
17745 # include <sys/statfs.h>
17746 #endif
17748 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17750 cat >>confdefs.h <<_ACEOF
17751 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17752 _ACEOF
17758 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17759 #include <sys/statvfs.h>
17760 #endif
17762 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17766 _ACEOF
17772 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17773 #include <dirent.h>
17774 #endif
17776 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17778 cat >>confdefs.h <<_ACEOF
17779 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17780 _ACEOF
17786 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17787 #ifdef HAVE_SYS_SOCKET_H
17788 # include <sys/socket.h>
17789 #endif
17790 #ifdef HAVE_SYS_UN_H
17791 # include <sys/un.h>
17792 #endif
17794 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17796 cat >>confdefs.h <<_ACEOF
17797 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17798 _ACEOF
17802 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17803 #ifdef HAVE_SYS_SOCKET_H
17804 # include <sys/socket.h>
17805 #endif
17806 #ifdef HAVE_SYS_UN_H
17807 # include <sys/un.h>
17808 #endif
17810 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17812 cat >>confdefs.h <<_ACEOF
17813 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17814 _ACEOF
17818 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17819 #ifdef HAVE_SYS_SOCKET_H
17820 # include <sys/socket.h>
17821 #endif
17822 #ifdef HAVE_SYS_UN_H
17823 # include <sys/un.h>
17824 #endif
17826 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17828 cat >>confdefs.h <<_ACEOF
17829 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17830 _ACEOF
17836 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17837 #ifdef HAVE_SCSI_SG_H
17838 #include <scsi/sg.h>
17839 #endif
17841 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17843 cat >>confdefs.h <<_ACEOF
17844 #define HAVE_SCSIREQ_T_CMD 1
17845 _ACEOF
17849 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>
17850 #ifdef HAVE_SCSI_SG_H
17851 #include <scsi/sg.h>
17852 #endif
17854 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17856 cat >>confdefs.h <<_ACEOF
17857 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17858 _ACEOF
17864 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17866 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17868 cat >>confdefs.h <<_ACEOF
17869 #define HAVE_SIGINFO_T_SI_FD 1
17870 _ACEOF
17876 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes; then :
17883 cat >>confdefs.h <<_ACEOF
17884 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17885 _ACEOF
17889 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes; then :
17896 cat >>confdefs.h <<_ACEOF
17897 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17898 _ACEOF
17902 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17903 #ifdef HAVE_SYS_MTIO_H
17904 #include <sys/mtio.h>
17905 #endif
17907 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17909 cat >>confdefs.h <<_ACEOF
17910 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17911 _ACEOF
17917 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17918 #include <getopt.h>
17919 #endif
17921 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17923 cat >>confdefs.h <<_ACEOF
17924 #define HAVE_STRUCT_OPTION_NAME 1
17925 _ACEOF
17931 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17932 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17934 cat >>confdefs.h <<_ACEOF
17935 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17936 _ACEOF
17940 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17941 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_STRUCT_STAT_ST_MTIM 1
17945 _ACEOF
17949 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17950 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17952 cat >>confdefs.h <<_ACEOF
17953 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17954 _ACEOF
17958 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17959 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_STRUCT_STAT_ST_CTIM 1
17963 _ACEOF
17967 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17968 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17970 cat >>confdefs.h <<_ACEOF
17971 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17972 _ACEOF
17976 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17977 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17979 cat >>confdefs.h <<_ACEOF
17980 #define HAVE_STRUCT_STAT_ST_ATIM 1
17981 _ACEOF
17985 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17986 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17988 cat >>confdefs.h <<_ACEOF
17989 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17990 _ACEOF
17994 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17995 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17997 cat >>confdefs.h <<_ACEOF
17998 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17999 _ACEOF
18003 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18004 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18006 cat >>confdefs.h <<_ACEOF
18007 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18008 _ACEOF
18012 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18013 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18015 cat >>confdefs.h <<_ACEOF
18016 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18017 _ACEOF
18021 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18022 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18024 cat >>confdefs.h <<_ACEOF
18025 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18026 _ACEOF
18030 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18031 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18033 cat >>confdefs.h <<_ACEOF
18034 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18035 _ACEOF
18041 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
18042 #include <sys/types.h>
18043 #endif
18044 #ifdef HAVE_NETINET_IN_H
18045 #include <netinet/in.h>
18046 #endif
18048 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18050 cat >>confdefs.h <<_ACEOF
18051 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18052 _ACEOF
18058 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18059 #include <sys/types.h>
18060 #endif
18061 #ifdef HAVE_NETINET_IN_H
18062 #include <netinet/in.h>
18063 #endif
18064 #ifdef HAVE_RESOLV_H
18065 #include <resolv.h>
18066 #endif
18068 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18070 cat >>confdefs.h <<_ACEOF
18071 #define HAVE_STRUCT___RES_STATE 1
18072 _ACEOF
18078 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
18079 #include <resolv.h>
18080 #endif
18082 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18084 cat >>confdefs.h <<_ACEOF
18085 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18086 _ACEOF
18092 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18093 #include <sys/types.h>
18094 #endif
18095 #ifdef HAVE_NETINET_IN_H
18096 # include <netinet/in.h>
18097 #endif
18098 #ifdef HAVE_ARPA_NAMESER_H
18099 # include <arpa/nameser.h>
18100 #endif
18102 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18104 cat >>confdefs.h <<_ACEOF
18105 #define HAVE_NS_MSG__MSG_PTR 1
18106 _ACEOF
18112 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18113 #include <sys/types.h>
18114 #endif
18115 #ifdef HAVE_NETINET_IN_H
18116 #include <netinet/in.h>
18117 #endif
18118 #ifdef HAVE_NETINET_IP_H
18119 #include <netinet/ip.h>
18120 #endif
18121 #ifdef HAVE_NETINET_IP_ICMP_H
18122 #include <netinet/ip_icmp.h>
18123 #endif
18124 #ifdef HAVE_NETINET_ICMP_VAR_H
18125 #include <netinet/icmp_var.h>
18126 #endif
18128 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18130 cat >>confdefs.h <<_ACEOF
18131 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18132 _ACEOF
18138 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18139 #include <sys/types.h>
18140 #endif
18141 #ifdef HAVE_ALIAS_H
18142 #include <alias.h>
18143 #endif
18144 #ifdef HAVE_SYS_SOCKET_H
18145 #include <sys/socket.h>
18146 #endif
18147 #ifdef HAVE_SYS_SOCKETVAR_H
18148 #include <sys/socketvar.h>
18149 #endif
18150 #ifdef HAVE_SYS_TIMEOUT_H
18151 #include <sys/timeout.h>
18152 #endif
18153 #ifdef HAVE_NETINET_IN_H
18154 #include <netinet/in.h>
18155 #endif
18156 #ifdef HAVE_NETINET_IN_SYSTM_H
18157 #include <netinet/in_systm.h>
18158 #endif
18159 #ifdef HAVE_NETINET_IP_H
18160 #include <netinet/ip.h>
18161 #endif
18162 #ifdef HAVE_NETINET_IP_VAR_H
18163 #include <netinet/ip_var.h>
18164 #endif
18165 #ifdef HAVE_NETINET_IP_ICMP_H
18166 #include <netinet/ip_icmp.h>
18167 #endif
18168 #ifdef HAVE_NETINET_ICMP_VAR_H
18169 #include <netinet/icmp_var.h>
18170 #endif
18172 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18174 cat >>confdefs.h <<_ACEOF
18175 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18176 _ACEOF
18182 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18183 #include <sys/types.h>
18184 #endif
18185 #ifdef HAVE_SYS_SOCKETVAR_H
18186 #include <sys/socketvar.h>
18187 #endif
18188 #ifdef HAVE_NETINET_IN_H
18189 #include <netinet/in.h>
18190 #endif
18191 #ifdef HAVE_NETINET_IP_VAR_H
18192 #include <netinet/ip_var.h>
18193 #endif
18195 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18197 cat >>confdefs.h <<_ACEOF
18198 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18199 _ACEOF
18205 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
18206 #include <netinet/ip_var.h>
18207 #endif
18209 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18211 cat >>confdefs.h <<_ACEOF
18212 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18213 _ACEOF
18219 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18220 #include <sys/types.h>
18221 #endif
18222 #ifdef HAVE_SYS_SOCKETVAR_H
18223 #include <sys/socketvar.h>
18224 #endif
18225 #ifdef HAVE_NETINET_IN_H
18226 #include <netinet/in.h>
18227 #endif
18228 #ifdef HAVE_NETINET_TCP_H
18229 #include <netinet/tcp.h>
18230 #endif
18231 #ifdef HAVE_NETINET_TCP_VAR_H
18232 #include <netinet/tcp_var.h>
18233 #endif
18235 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18237 cat >>confdefs.h <<_ACEOF
18238 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18239 _ACEOF
18245 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
18246 #include <netinet/tcp_var.h>
18247 #endif
18249 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18251 cat >>confdefs.h <<_ACEOF
18252 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18253 _ACEOF
18259 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18260 #include <sys/types.h>
18261 #endif
18262 #ifdef HAVE_NETINET_IN_H
18263 #include <netinet/in.h>
18264 #endif
18265 #ifdef HAVE_NETINET_IP_VAR_H
18266 #include <netinet/ip_var.h>
18267 #endif
18268 #ifdef HAVE_NETINET_UDP_H
18269 #include <netinet/udp.h>
18270 #endif
18271 #ifdef HAVE_NETINET_UDP_VAR_H
18272 #include <netinet/udp_var.h>
18273 #endif
18275 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18277 cat >>confdefs.h <<_ACEOF
18278 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18279 _ACEOF
18285 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18286 #include <sys/types.h>
18287 #endif
18288 #ifdef HAVE_NET_IF_H
18289 # include <net/if.h>
18290 #endif
18292 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18294 cat >>confdefs.h <<_ACEOF
18295 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18296 _ACEOF
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18303 $as_echo_n "checking for timezone variable... " >&6; }
18304 if ${ac_cv_have_timezone+:} false; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18309 #include <time.h>
18311 main ()
18313 timezone = 1
18315 return 0;
18317 _ACEOF
18318 if ac_fn_c_try_link "$LINENO"; then :
18319 ac_cv_have_timezone="yes"
18320 else
18321 ac_cv_have_timezone="no"
18323 rm -f core conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18327 $as_echo "$ac_cv_have_timezone" >&6; }
18328 if test "$ac_cv_have_timezone" = "yes"
18329 then
18331 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18335 $as_echo_n "checking for daylight variable... " >&6; }
18336 if ${ac_cv_have_daylight+:} false; then :
18337 $as_echo_n "(cached) " >&6
18338 else
18339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h. */
18341 #include <time.h>
18343 main ()
18345 daylight = 1
18347 return 0;
18349 _ACEOF
18350 if ac_fn_c_try_link "$LINENO"; then :
18351 ac_cv_have_daylight="yes"
18352 else
18353 ac_cv_have_daylight="no"
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18359 $as_echo "$ac_cv_have_daylight" >&6; }
18360 if test "$ac_cv_have_daylight" = "yes"
18361 then
18363 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18367 ac_save_LIBS="$LIBS"
18368 LIBS="$LIBS -lm"
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18370 $as_echo_n "checking for isfinite... " >&6; }
18371 if ${ac_cv_have_isfinite+:} false; then :
18372 $as_echo_n "(cached) " >&6
18373 else
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 #define _GNU_SOURCE
18377 #include <math.h>
18379 main ()
18381 float f = 0.0; return isfinite(f)
18383 return 0;
18385 _ACEOF
18386 if ac_fn_c_try_link "$LINENO"; then :
18387 ac_cv_have_isfinite="yes"
18388 else
18389 ac_cv_have_isfinite="no"
18391 rm -f core conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18395 $as_echo "$ac_cv_have_isfinite" >&6; }
18396 if test "$ac_cv_have_isfinite" = "yes"
18397 then
18399 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18404 $as_echo_n "checking for isinf... " >&6; }
18405 if ${ac_cv_have_isinf+:} false; then :
18406 $as_echo_n "(cached) " >&6
18407 else
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 #include <math.h>
18412 main ()
18414 float f = 0.0; return isinf(f)
18416 return 0;
18418 _ACEOF
18419 if ac_fn_c_try_link "$LINENO"; then :
18420 ac_cv_have_isinf="yes"
18421 else
18422 ac_cv_have_isinf="no"
18424 rm -f core conftest.err conftest.$ac_objext \
18425 conftest$ac_exeext conftest.$ac_ext
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18428 $as_echo "$ac_cv_have_isinf" >&6; }
18429 if test "$ac_cv_have_isinf" = "yes"
18430 then
18432 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18437 $as_echo_n "checking for isnan... " >&6; }
18438 if ${ac_cv_have_isnan+:} false; then :
18439 $as_echo_n "(cached) " >&6
18440 else
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <math.h>
18445 main ()
18447 float f = 0.0; return isnan(f)
18449 return 0;
18451 _ACEOF
18452 if ac_fn_c_try_link "$LINENO"; then :
18453 ac_cv_have_isnan="yes"
18454 else
18455 ac_cv_have_isnan="no"
18457 rm -f core conftest.err conftest.$ac_objext \
18458 conftest$ac_exeext conftest.$ac_ext
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18461 $as_echo "$ac_cv_have_isnan" >&6; }
18462 if test "$ac_cv_have_isnan" = "yes"
18463 then
18465 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18469 for ac_func in \
18470 acosh \
18471 acoshf \
18472 asinh \
18473 asinhf \
18474 atanh \
18475 atanhf \
18476 cbrt \
18477 cbrtf \
18478 erf \
18479 erfc \
18480 erfcf \
18481 erff \
18482 exp2 \
18483 exp2f \
18484 expm1 \
18485 expm1f \
18486 j0 \
18487 j1 \
18488 jn \
18489 lgamma \
18490 lgammaf \
18491 llrint \
18492 llrintf \
18493 llround \
18494 llroundf \
18495 log1p \
18496 log1pf \
18497 log2 \
18498 log2f \
18499 lrint \
18500 lrintf \
18501 lround \
18502 lroundf \
18503 nearbyint \
18504 nearbyintf \
18505 powl \
18506 remainder \
18507 remainderf \
18508 rint \
18509 rintf \
18510 round \
18511 roundf \
18512 trunc \
18513 truncf \
18514 y0 \
18515 y1 \
18518 do :
18519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18522 cat >>confdefs.h <<_ACEOF
18523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18524 _ACEOF
18527 done
18529 LIBS="$ac_save_LIBS"
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18532 $as_echo_n "checking for __builtin_clz... " >&6; }
18533 if ${ac_cv_have___builtin_clz+:} false; then :
18534 $as_echo_n "(cached) " >&6
18535 else
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18540 main ()
18542 return __builtin_clz(1)
18544 return 0;
18546 _ACEOF
18547 if ac_fn_c_try_link "$LINENO"; then :
18548 ac_cv_have___builtin_clz="yes"
18549 else
18550 ac_cv_have___builtin_clz="no"
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18556 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18557 if test "$ac_cv_have___builtin_clz" = "yes"
18558 then
18560 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18565 $as_echo_n "checking for __builtin_popcount... " >&6; }
18566 if ${ac_cv_have___builtin_popcount+:} false; then :
18567 $as_echo_n "(cached) " >&6
18568 else
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18573 main ()
18575 return __builtin_popcount(1)
18577 return 0;
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"; then :
18581 ac_cv_have___builtin_popcount="yes"
18582 else
18583 ac_cv_have___builtin_popcount="no"
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18589 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18590 if test "$ac_cv_have___builtin_popcount" = "yes"
18591 then
18593 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18598 $as_echo_n "checking for __clear_cache... " >&6; }
18599 if ${ac_cv_have___clear_cache+:} false; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18606 main ()
18608 __clear_cache((void*)0, (void*)0); return 0;
18610 return 0;
18612 _ACEOF
18613 if ac_fn_c_try_link "$LINENO"; then :
18614 ac_cv_have___clear_cache="yes"
18615 else
18616 ac_cv_have___clear_cache="no"
18618 rm -f core conftest.err conftest.$ac_objext \
18619 conftest$ac_exeext conftest.$ac_ext
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18622 $as_echo "$ac_cv_have___clear_cache" >&6; }
18623 if test "$ac_cv_have___clear_cache" = "yes"
18624 then
18626 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18631 case $host_cpu in
18632 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18633 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18634 if ${ac_cv_cpp_def___i386__+:} false; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639 #ifndef __i386__
18641 #endif
18642 _ACEOF
18643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18644 $EGREP "yes" >/dev/null 2>&1; then :
18645 ac_cv_cpp_def___i386__=yes
18646 else
18647 ac_cv_cpp_def___i386__=no
18649 rm -f conftest*
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18653 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18654 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18655 CFLAGS="$CFLAGS -D__i386__"
18656 LINTFLAGS="$LINTFLAGS -D__i386__"
18657 fi ;;
18658 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18659 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18660 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #ifndef __x86_64__
18667 #endif
18668 _ACEOF
18669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18670 $EGREP "yes" >/dev/null 2>&1; then :
18671 ac_cv_cpp_def___x86_64__=yes
18672 else
18673 ac_cv_cpp_def___x86_64__=no
18675 rm -f conftest*
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18679 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18680 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18681 CFLAGS="$CFLAGS -D__x86_64__"
18682 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18683 fi ;;
18684 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18685 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18686 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18687 $as_echo_n "(cached) " >&6
18688 else
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 #ifndef __sparc64__
18693 #endif
18694 _ACEOF
18695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18696 $EGREP "yes" >/dev/null 2>&1; then :
18697 ac_cv_cpp_def___sparc64__=yes
18698 else
18699 ac_cv_cpp_def___sparc64__=no
18701 rm -f conftest*
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18705 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18706 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18707 CFLAGS="$CFLAGS -D__sparc64__"
18708 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18709 fi ;;
18710 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18711 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18712 if ${ac_cv_cpp_def___sparc__+:} false; then :
18713 $as_echo_n "(cached) " >&6
18714 else
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #ifndef __sparc__
18719 #endif
18720 _ACEOF
18721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18722 $EGREP "yes" >/dev/null 2>&1; then :
18723 ac_cv_cpp_def___sparc__=yes
18724 else
18725 ac_cv_cpp_def___sparc__=no
18727 rm -f conftest*
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18731 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18732 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18733 CFLAGS="$CFLAGS -D__sparc__"
18734 LINTFLAGS="$LINTFLAGS -D__sparc__"
18735 fi ;;
18736 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18737 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18738 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18739 $as_echo_n "(cached) " >&6
18740 else
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 #ifndef __powerpc64__
18745 #endif
18746 _ACEOF
18747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18748 $EGREP "yes" >/dev/null 2>&1; then :
18749 ac_cv_cpp_def___powerpc64__=yes
18750 else
18751 ac_cv_cpp_def___powerpc64__=no
18753 rm -f conftest*
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18757 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18758 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18759 CFLAGS="$CFLAGS -D__powerpc64__"
18760 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18761 fi ;;
18762 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18763 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18764 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18765 $as_echo_n "(cached) " >&6
18766 else
18767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18769 #ifndef __powerpc__
18771 #endif
18772 _ACEOF
18773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18774 $EGREP "yes" >/dev/null 2>&1; then :
18775 ac_cv_cpp_def___powerpc__=yes
18776 else
18777 ac_cv_cpp_def___powerpc__=no
18779 rm -f conftest*
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18783 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18784 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18785 CFLAGS="$CFLAGS -D__powerpc__"
18786 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18787 fi ;;
18788 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18789 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18790 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 #ifndef __aarch64__
18797 #endif
18798 _ACEOF
18799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18800 $EGREP "yes" >/dev/null 2>&1; then :
18801 ac_cv_cpp_def___aarch64__=yes
18802 else
18803 ac_cv_cpp_def___aarch64__=no
18805 rm -f conftest*
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18809 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18810 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18811 CFLAGS="$CFLAGS -D__aarch64__"
18812 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18813 fi ;;
18814 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18815 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18816 if ${ac_cv_cpp_def___arm__+:} false; then :
18817 $as_echo_n "(cached) " >&6
18818 else
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18821 #ifndef __arm__
18823 #endif
18824 _ACEOF
18825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18826 $EGREP "yes" >/dev/null 2>&1; then :
18827 ac_cv_cpp_def___arm__=yes
18828 else
18829 ac_cv_cpp_def___arm__=no
18831 rm -f conftest*
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18835 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18836 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18837 CFLAGS="$CFLAGS -D__arm__"
18838 LINTFLAGS="$LINTFLAGS -D__arm__"
18839 fi ;;
18840 esac
18842 case $host_vendor in
18843 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18844 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18845 if ${ac_cv_cpp_def___sun__+:} false; then :
18846 $as_echo_n "(cached) " >&6
18847 else
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18850 #ifndef __sun__
18852 #endif
18853 _ACEOF
18854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18855 $EGREP "yes" >/dev/null 2>&1; then :
18856 ac_cv_cpp_def___sun__=yes
18857 else
18858 ac_cv_cpp_def___sun__=no
18860 rm -f conftest*
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18864 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18865 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18866 CFLAGS="$CFLAGS -D__sun__"
18867 LINTFLAGS="$LINTFLAGS -D__sun__"
18868 fi ;;
18869 esac
18875 ac_config_commands="$ac_config_commands include/stamp-h"
18877 $as_echo_n "creating Makefile rules..." >&6
18879 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18880 SOCKET_LIBS = $SOCKET_LIBS
18881 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18882 IOKIT_LIBS = $IOKIT_LIBS
18883 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18884 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18885 CORESERVICES_LIBS = $CORESERVICES_LIBS
18886 APPKIT_LIBS = $APPKIT_LIBS
18887 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18888 SECURITY_LIBS = $SECURITY_LIBS
18889 COREAUDIO_LIBS = $COREAUDIO_LIBS
18890 OPENAL_LIBS = $OPENAL_LIBS
18891 OPENCL_LIBS = $OPENCL_LIBS
18892 QUICKTIME_LIBS = $QUICKTIME_LIBS
18893 CARBON_LIBS = $CARBON_LIBS
18894 METAL_LIBS = $METAL_LIBS
18895 PTHREAD_LIBS = $PTHREAD_LIBS
18896 X_CFLAGS = $X_CFLAGS
18897 X_PRE_LIBS = $X_PRE_LIBS
18898 X_LIBS = $X_LIBS
18899 X_EXTRA_LIBS = $X_EXTRA_LIBS
18900 PCAP_LIBS = $PCAP_LIBS
18901 XML2_CFLAGS = $XML2_CFLAGS
18902 XML2_LIBS = $XML2_LIBS
18903 XSLT_CFLAGS = $XSLT_CFLAGS
18904 XSLT_LIBS = $XSLT_LIBS
18905 DBUS_CFLAGS = $DBUS_CFLAGS
18906 DBUS_LIBS = $DBUS_LIBS
18907 HAL_CFLAGS = $HAL_CFLAGS
18908 HAL_LIBS = $HAL_LIBS
18909 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18910 GNUTLS_LIBS = $GNUTLS_LIBS
18911 SANE_CFLAGS = $SANE_CFLAGS
18912 SANE_LIBS = $SANE_LIBS
18913 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18914 GPHOTO2_LIBS = $GPHOTO2_LIBS
18915 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18916 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18917 RESOLV_LIBS = $RESOLV_LIBS
18918 LCMS2_CFLAGS = $LCMS2_CFLAGS
18919 LCMS2_LIBS = $LCMS2_LIBS
18920 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18921 FREETYPE_LIBS = $FREETYPE_LIBS
18922 Z_LIBS = $Z_LIBS
18923 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18924 PULSE_CFLAGS = $PULSE_CFLAGS
18925 PULSE_LIBS = $PULSE_LIBS
18926 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18927 GSTREAMER_LIBS = $GSTREAMER_LIBS
18928 ALSA_LIBS = $ALSA_LIBS
18929 OSS4_CFLAGS = $OSS4_CFLAGS
18930 UDEV_CFLAGS = $UDEV_CFLAGS
18931 UDEV_LIBS = $UDEV_LIBS
18932 SDL2_CFLAGS = $SDL2_CFLAGS
18933 SDL2_LIBS = $SDL2_LIBS
18934 CAPI20_CFLAGS = $CAPI20_CFLAGS
18935 CAPI20_LIBS = $CAPI20_LIBS
18936 CUPS_CFLAGS = $CUPS_CFLAGS
18937 CUPS_LIBS = $CUPS_LIBS
18938 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18939 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18940 KRB5_CFLAGS = $KRB5_CFLAGS
18941 KRB5_LIBS = $KRB5_LIBS
18942 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18943 GSSAPI_LIBS = $GSSAPI_LIBS
18944 JPEG_CFLAGS = $JPEG_CFLAGS
18945 JPEG_LIBS = $JPEG_LIBS
18946 PNG_CFLAGS = $PNG_CFLAGS
18947 PNG_LIBS = $PNG_LIBS
18948 TIFF_CFLAGS = $TIFF_CFLAGS
18949 TIFF_LIBS = $TIFF_LIBS
18950 MPG123_CFLAGS = $MPG123_CFLAGS
18951 MPG123_LIBS = $MPG123_LIBS
18952 KSTAT_LIBS = $KSTAT_LIBS
18953 PROCSTAT_LIBS = $PROCSTAT_LIBS
18954 NETAPI_CFLAGS = $NETAPI_CFLAGS
18955 NETAPI_LIBS = $NETAPI_LIBS
18956 VKD3D_CFLAGS = $VKD3D_CFLAGS
18957 VKD3D_LIBS = $VKD3D_LIBS
18958 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18959 DL_LIBS = $DL_LIBS
18960 POLL_LIBS = $POLL_LIBS
18961 RT_LIBS = $RT_LIBS
18962 LDAP_CFLAGS = $LDAP_CFLAGS
18963 LDAP_LIBS = $LDAP_LIBS
18968 wine_fn_append_rule "
18969 # Rules automatically generated by configure
18971 .INIT: Makefile
18972 .MAKEFILEDEPS:
18973 all: Makefile
18974 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18975 @./config.status Make.tmp Makefile
18976 depend: \$(MAKEDEP) dummy
18977 \$(MAKEDEP)"
18979 if test "x$enable_fonts" != xno; then
18980 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18981 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18982 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18983 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18984 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18985 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18987 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18988 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18989 ac_config_links="$ac_config_links wine:tools/winewrapper"
18990 wine_fn_config_symlink wine
18991 if test "x$enable_win64" != xno; then
18992 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18993 wine_fn_config_symlink wine64
18996 wine_fn_config_makefile dlls/acledit enable_acledit
18997 wine_fn_config_makefile dlls/aclui enable_aclui
18998 wine_fn_config_makefile dlls/activeds enable_activeds
18999 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19000 wine_fn_config_makefile dlls/adsiid enable_adsiid
19001 wine_fn_config_makefile dlls/adsldp enable_adsldp
19002 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19003 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19004 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19005 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19006 wine_fn_config_makefile dlls/advpack enable_advpack
19007 wine_fn_config_makefile dlls/advpack/tests enable_tests
19008 wine_fn_config_makefile dlls/amstream enable_amstream
19009 wine_fn_config_makefile dlls/amstream/tests enable_tests
19010 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19012 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19013 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19015 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19018 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19020 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19024 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19026 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19028 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19030 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19032 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19034 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19035 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19036 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19038 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19041 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19042 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19044 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19045 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19058 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19059 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19062 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19064 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19065 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19068 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19076 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19077 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19084 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19088 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19089 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19111 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19115 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19118 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19128 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19133 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19134 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19140 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19159 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19160 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19179 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19189 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19193 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19195 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19197 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19198 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19203 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19205 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19208 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19211 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19214 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19216 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19218 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19221 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19222 wine_fn_config_makefile dlls/apphelp enable_apphelp
19223 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19224 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19225 wine_fn_config_makefile dlls/atl enable_atl
19226 wine_fn_config_makefile dlls/atl/tests enable_tests
19227 wine_fn_config_makefile dlls/atl100 enable_atl100
19228 wine_fn_config_makefile dlls/atl100/tests enable_tests
19229 wine_fn_config_makefile dlls/atl110 enable_atl110
19230 wine_fn_config_makefile dlls/atl80 enable_atl80
19231 wine_fn_config_makefile dlls/atl80/tests enable_tests
19232 wine_fn_config_makefile dlls/atl90 enable_atl90
19233 wine_fn_config_makefile dlls/atmlib enable_atmlib
19234 wine_fn_config_makefile dlls/authz enable_authz
19235 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19236 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19237 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19238 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19239 wine_fn_config_makefile dlls/avrt enable_avrt
19240 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19241 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19242 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19243 wine_fn_config_makefile dlls/browseui enable_browseui
19244 wine_fn_config_makefile dlls/browseui/tests enable_tests
19245 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19246 wine_fn_config_makefile dlls/cabinet enable_cabinet
19247 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19248 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19249 wine_fn_config_makefile dlls/cards enable_cards
19250 wine_fn_config_makefile dlls/cdosys enable_cdosys
19251 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19252 wine_fn_config_makefile dlls/clusapi enable_clusapi
19253 wine_fn_config_makefile dlls/combase enable_combase
19254 wine_fn_config_makefile dlls/combase/tests enable_tests
19255 wine_fn_config_makefile dlls/comcat enable_comcat
19256 wine_fn_config_makefile dlls/comcat/tests enable_tests
19257 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19258 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19259 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19260 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19261 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19262 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19263 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19264 wine_fn_config_makefile dlls/compstui enable_compstui
19265 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19266 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19267 wine_fn_config_makefile dlls/connect enable_connect
19268 wine_fn_config_makefile dlls/credui enable_credui
19269 wine_fn_config_makefile dlls/credui/tests enable_tests
19270 wine_fn_config_makefile dlls/crtdll enable_crtdll
19271 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19272 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19273 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19274 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19275 wine_fn_config_makefile dlls/cryptext enable_cryptext
19276 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19277 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19278 wine_fn_config_makefile dlls/cryptui enable_cryptui
19279 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19280 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19281 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19282 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19283 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19284 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19285 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19286 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19287 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19288 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19289 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19290 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19291 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19292 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19293 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19294 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19295 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19296 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19297 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19298 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19299 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19300 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19301 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19302 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19303 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19304 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19305 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19306 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19307 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19308 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19309 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19310 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19311 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19312 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19313 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19314 wine_fn_config_makefile dlls/d3dim enable_d3dim
19315 wine_fn_config_makefile dlls/d3drm enable_d3drm
19316 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19317 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19318 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19319 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19320 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19321 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19322 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19323 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19324 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19325 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19326 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19327 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19328 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19329 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19330 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19331 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19332 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19333 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19334 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19335 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19336 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19337 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19338 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19339 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19340 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19341 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19342 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19343 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19344 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19345 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19346 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19347 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19348 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19349 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19350 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19351 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19352 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19353 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19354 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19355 wine_fn_config_makefile dlls/davclnt enable_davclnt
19356 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19357 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19358 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19359 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19360 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19361 wine_fn_config_makefile dlls/ddraw enable_ddraw
19362 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19363 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19364 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19365 wine_fn_config_makefile dlls/devenum enable_devenum
19366 wine_fn_config_makefile dlls/devenum/tests enable_tests
19367 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19368 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19369 wine_fn_config_makefile dlls/difxapi enable_difxapi
19370 wine_fn_config_makefile dlls/dinput enable_dinput
19371 wine_fn_config_makefile dlls/dinput/tests enable_tests
19372 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19373 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19374 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19375 wine_fn_config_makefile dlls/dispex enable_dispex
19376 wine_fn_config_makefile dlls/dispex/tests enable_tests
19377 wine_fn_config_makefile dlls/display.drv16 enable_win16
19378 wine_fn_config_makefile dlls/dmband enable_dmband
19379 wine_fn_config_makefile dlls/dmband/tests enable_tests
19380 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19381 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19382 wine_fn_config_makefile dlls/dmime enable_dmime
19383 wine_fn_config_makefile dlls/dmime/tests enable_tests
19384 wine_fn_config_makefile dlls/dmloader enable_dmloader
19385 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19386 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19387 wine_fn_config_makefile dlls/dmscript enable_dmscript
19388 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19389 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19390 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19391 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19392 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19393 wine_fn_config_makefile dlls/dmusic enable_dmusic
19394 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19395 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19396 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19397 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19398 wine_fn_config_makefile dlls/dplay enable_dplay
19399 wine_fn_config_makefile dlls/dplayx enable_dplayx
19400 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19401 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19402 wine_fn_config_makefile dlls/dpnet enable_dpnet
19403 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19404 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19405 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19406 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19407 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19408 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19409 wine_fn_config_makefile dlls/drmclien enable_drmclien
19410 wine_fn_config_makefile dlls/dsound enable_dsound
19411 wine_fn_config_makefile dlls/dsound/tests enable_tests
19412 wine_fn_config_makefile dlls/dsquery enable_dsquery
19413 wine_fn_config_makefile dlls/dssenh enable_dssenh
19414 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19415 wine_fn_config_makefile dlls/dswave enable_dswave
19416 wine_fn_config_makefile dlls/dswave/tests enable_tests
19417 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19418 wine_fn_config_makefile dlls/dwrite enable_dwrite
19419 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19420 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19421 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19422 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19423 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19424 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19425 wine_fn_config_makefile dlls/dxgi enable_dxgi
19426 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19427 wine_fn_config_makefile dlls/dxguid enable_dxguid
19428 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19429 wine_fn_config_makefile dlls/esent enable_esent
19430 wine_fn_config_makefile dlls/evr enable_evr
19431 wine_fn_config_makefile dlls/evr/tests enable_tests
19432 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19433 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19434 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19435 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19436 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19437 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19438 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19439 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19440 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19441 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19457 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19458 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19459 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19463 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
19464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19469 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19470 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19471 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19472 wine_fn_config_makefile dlls/faultrep enable_faultrep
19473 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19474 wine_fn_config_makefile dlls/feclient enable_feclient
19475 wine_fn_config_makefile dlls/fltlib enable_fltlib
19476 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19477 wine_fn_config_makefile dlls/fntcache enable_fntcache
19478 wine_fn_config_makefile dlls/fontsub enable_fontsub
19479 wine_fn_config_makefile dlls/fusion enable_fusion
19480 wine_fn_config_makefile dlls/fusion/tests enable_tests
19481 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19482 wine_fn_config_makefile dlls/gameux enable_gameux
19483 wine_fn_config_makefile dlls/gameux/tests enable_tests
19484 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19485 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19486 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19487 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19488 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19489 wine_fn_config_makefile dlls/glu32 enable_glu32
19490 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19491 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19492 wine_fn_config_makefile dlls/hal enable_hal
19493 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19494 wine_fn_config_makefile dlls/hid enable_hid
19495 wine_fn_config_makefile dlls/hid/tests enable_tests
19496 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19497 wine_fn_config_makefile dlls/hlink enable_hlink
19498 wine_fn_config_makefile dlls/hlink/tests enable_tests
19499 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19500 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19501 wine_fn_config_makefile dlls/httpapi enable_httpapi
19502 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19503 wine_fn_config_makefile dlls/iccvid enable_iccvid
19504 wine_fn_config_makefile dlls/icmp enable_icmp
19505 wine_fn_config_makefile dlls/ieframe enable_ieframe
19506 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19507 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19508 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19509 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19510 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19511 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19512 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19513 wine_fn_config_makefile dlls/imm32 enable_imm32
19514 wine_fn_config_makefile dlls/imm32/tests enable_tests
19515 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19516 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19517 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19518 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19519 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19520 wine_fn_config_makefile dlls/infosoft enable_infosoft
19521 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19522 wine_fn_config_makefile dlls/initpki enable_initpki
19523 wine_fn_config_makefile dlls/inkobj enable_inkobj
19524 wine_fn_config_makefile dlls/inseng enable_inseng
19525 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19526 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19527 wine_fn_config_makefile dlls/iprop enable_iprop
19528 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19529 wine_fn_config_makefile dlls/itircl enable_itircl
19530 wine_fn_config_makefile dlls/itss enable_itss
19531 wine_fn_config_makefile dlls/itss/tests enable_tests
19532 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19533 wine_fn_config_makefile dlls/jscript enable_jscript
19534 wine_fn_config_makefile dlls/jscript/tests enable_tests
19535 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19536 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19537 wine_fn_config_makefile dlls/kerberos enable_kerberos
19538 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19539 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19540 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19541 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19542 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19543 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19544 wine_fn_config_makefile dlls/ksuser enable_ksuser
19545 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19546 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19547 wine_fn_config_makefile dlls/loadperf enable_loadperf
19548 wine_fn_config_makefile dlls/localspl enable_localspl
19549 wine_fn_config_makefile dlls/localspl/tests enable_tests
19550 wine_fn_config_makefile dlls/localui enable_localui
19551 wine_fn_config_makefile dlls/localui/tests enable_tests
19552 wine_fn_config_makefile dlls/lz32 enable_lz32
19553 wine_fn_config_makefile dlls/lz32/tests enable_tests
19554 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19555 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19556 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19557 wine_fn_config_makefile dlls/mapistub enable_mapistub
19558 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19559 wine_fn_config_makefile dlls/mcicda enable_mcicda
19560 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19561 wine_fn_config_makefile dlls/mciseq enable_mciseq
19562 wine_fn_config_makefile dlls/mciwave enable_mciwave
19563 wine_fn_config_makefile dlls/mf enable_mf
19564 wine_fn_config_makefile dlls/mf/tests enable_tests
19565 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19566 wine_fn_config_makefile dlls/mfplat enable_mfplat
19567 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19568 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19569 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19570 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19571 wine_fn_config_makefile dlls/midimap enable_midimap
19572 wine_fn_config_makefile dlls/mlang enable_mlang
19573 wine_fn_config_makefile dlls/mlang/tests enable_tests
19574 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19575 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19576 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19577 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19578 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19579 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19580 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19581 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19582 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19583 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19584 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19585 wine_fn_config_makefile dlls/mpr enable_mpr
19586 wine_fn_config_makefile dlls/mpr/tests enable_tests
19587 wine_fn_config_makefile dlls/mprapi enable_mprapi
19588 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19589 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19590 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19591 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19592 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19593 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19594 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19595 wine_fn_config_makefile dlls/mscms enable_mscms
19596 wine_fn_config_makefile dlls/mscms/tests enable_tests
19597 wine_fn_config_makefile dlls/mscoree enable_mscoree
19598 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19599 wine_fn_config_makefile dlls/msctf enable_msctf
19600 wine_fn_config_makefile dlls/msctf/tests enable_tests
19601 wine_fn_config_makefile dlls/msctfp enable_msctfp
19602 wine_fn_config_makefile dlls/msdaps enable_msdaps
19603 wine_fn_config_makefile dlls/msdelta enable_msdelta
19604 wine_fn_config_makefile dlls/msdmo enable_msdmo
19605 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19606 wine_fn_config_makefile dlls/msdrm enable_msdrm
19607 wine_fn_config_makefile dlls/msftedit enable_msftedit
19608 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19609 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19610 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19611 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19612 wine_fn_config_makefile dlls/mshtml enable_mshtml
19613 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19614 wine_fn_config_makefile dlls/msi enable_msi
19615 wine_fn_config_makefile dlls/msi/tests enable_tests
19616 wine_fn_config_makefile dlls/msident enable_msident
19617 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19618 wine_fn_config_makefile dlls/msimsg enable_msimsg
19619 wine_fn_config_makefile dlls/msimtf enable_msimtf
19620 wine_fn_config_makefile dlls/msisip enable_msisip
19621 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19622 wine_fn_config_makefile dlls/msls31 enable_msls31
19623 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19624 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19625 wine_fn_config_makefile dlls/msports enable_msports
19626 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19627 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19628 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19629 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19630 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19631 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19632 wine_fn_config_makefile dlls/mstask enable_mstask
19633 wine_fn_config_makefile dlls/mstask/tests enable_tests
19634 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19635 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19636 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19637 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19638 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19639 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19640 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19641 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19642 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19643 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19644 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19645 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19646 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19647 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19648 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19649 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19650 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19651 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19652 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19653 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19654 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19655 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19656 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19657 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19658 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19659 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19660 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19661 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19662 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19663 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19664 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19665 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19666 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19667 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19668 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19669 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19670 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19671 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19672 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19673 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19674 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19675 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19676 wine_fn_config_makefile dlls/mswsock enable_mswsock
19677 wine_fn_config_makefile dlls/msxml enable_msxml
19678 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19679 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19680 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19681 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19682 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19683 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19684 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19685 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19686 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19687 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19688 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19689 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19690 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19691 wine_fn_config_makefile dlls/netprofm enable_netprofm
19692 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19693 wine_fn_config_makefile dlls/newdev enable_newdev
19694 wine_fn_config_makefile dlls/ninput enable_ninput
19695 wine_fn_config_makefile dlls/ninput/tests enable_tests
19696 wine_fn_config_makefile dlls/normaliz enable_normaliz
19697 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19698 wine_fn_config_makefile dlls/npptools enable_npptools
19699 wine_fn_config_makefile dlls/ntdll enable_ntdll
19700 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19701 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19702 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19703 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19704 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19705 wine_fn_config_makefile dlls/ntprint enable_ntprint
19706 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19707 wine_fn_config_makefile dlls/objsel enable_objsel
19708 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19709 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19710 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19711 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19712 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19713 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19714 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19715 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19716 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19717 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19718 wine_fn_config_makefile dlls/ole32 enable_ole32
19719 wine_fn_config_makefile dlls/ole32/tests enable_tests
19720 wine_fn_config_makefile dlls/oleacc enable_oleacc
19721 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19722 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19723 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19724 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19725 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19726 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19727 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19728 wine_fn_config_makefile dlls/oledlg enable_oledlg
19729 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19730 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19731 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19732 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19733 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19734 wine_fn_config_makefile dlls/opcservices enable_opcservices
19735 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19736 wine_fn_config_makefile dlls/openal32 enable_openal32
19737 wine_fn_config_makefile dlls/opencl enable_opencl
19738 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19739 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19740 wine_fn_config_makefile dlls/packager enable_packager
19741 wine_fn_config_makefile dlls/packager/tests enable_tests
19742 wine_fn_config_makefile dlls/pdh enable_pdh
19743 wine_fn_config_makefile dlls/pdh/tests enable_tests
19744 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19745 wine_fn_config_makefile dlls/pidgen enable_pidgen
19746 wine_fn_config_makefile dlls/powrprof enable_powrprof
19747 wine_fn_config_makefile dlls/printui enable_printui
19748 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19749 wine_fn_config_makefile dlls/propsys enable_propsys
19750 wine_fn_config_makefile dlls/propsys/tests enable_tests
19751 wine_fn_config_makefile dlls/psapi enable_psapi
19752 wine_fn_config_makefile dlls/psapi/tests enable_tests
19753 wine_fn_config_makefile dlls/pstorec enable_pstorec
19754 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19755 wine_fn_config_makefile dlls/qcap enable_qcap
19756 wine_fn_config_makefile dlls/qcap/tests enable_tests
19757 wine_fn_config_makefile dlls/qedit enable_qedit
19758 wine_fn_config_makefile dlls/qedit/tests enable_tests
19759 wine_fn_config_makefile dlls/qmgr enable_qmgr
19760 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19761 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19762 wine_fn_config_makefile dlls/quartz enable_quartz
19763 wine_fn_config_makefile dlls/quartz/tests enable_tests
19764 wine_fn_config_makefile dlls/query enable_query
19765 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19766 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19767 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19768 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19769 wine_fn_config_makefile dlls/regapi enable_regapi
19770 wine_fn_config_makefile dlls/resutils enable_resutils
19771 wine_fn_config_makefile dlls/riched20 enable_riched20
19772 wine_fn_config_makefile dlls/riched20/tests enable_tests
19773 wine_fn_config_makefile dlls/riched32 enable_riched32
19774 wine_fn_config_makefile dlls/riched32/tests enable_tests
19775 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19776 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19777 wine_fn_config_makefile dlls/rsabase enable_rsabase
19778 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19779 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19780 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19781 wine_fn_config_makefile dlls/rtutils enable_rtutils
19782 wine_fn_config_makefile dlls/samlib enable_samlib
19783 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19784 wine_fn_config_makefile dlls/sapi enable_sapi
19785 wine_fn_config_makefile dlls/sapi/tests enable_tests
19786 wine_fn_config_makefile dlls/sas enable_sas
19787 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19788 wine_fn_config_makefile dlls/sccbase enable_sccbase
19789 wine_fn_config_makefile dlls/schannel enable_schannel
19790 wine_fn_config_makefile dlls/schannel/tests enable_tests
19791 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19792 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19793 wine_fn_config_makefile dlls/scrobj enable_scrobj
19794 wine_fn_config_makefile dlls/scrrun enable_scrrun
19795 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19796 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19797 wine_fn_config_makefile dlls/secur32 enable_secur32
19798 wine_fn_config_makefile dlls/secur32/tests enable_tests
19799 wine_fn_config_makefile dlls/security enable_security
19800 wine_fn_config_makefile dlls/sensapi enable_sensapi
19801 wine_fn_config_makefile dlls/serialui enable_serialui
19802 wine_fn_config_makefile dlls/serialui/tests enable_tests
19803 wine_fn_config_makefile dlls/setupapi enable_setupapi
19804 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19805 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19806 wine_fn_config_makefile dlls/sfc enable_sfc
19807 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19808 wine_fn_config_makefile dlls/shcore enable_shcore
19809 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19810 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19811 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19812 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19813 wine_fn_config_makefile dlls/shell32 enable_shell32
19814 wine_fn_config_makefile dlls/shell32/tests enable_tests
19815 wine_fn_config_makefile dlls/shfolder enable_shfolder
19816 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19817 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19818 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19819 wine_fn_config_makefile dlls/slc enable_slc
19820 wine_fn_config_makefile dlls/slc/tests enable_tests
19821 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19822 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19823 wine_fn_config_makefile dlls/softpub enable_softpub
19824 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19825 wine_fn_config_makefile dlls/spoolss enable_spoolss
19826 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19827 wine_fn_config_makefile dlls/srclient enable_srclient
19828 wine_fn_config_makefile dlls/sspicli enable_sspicli
19829 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19830 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19831 wine_fn_config_makefile dlls/sti enable_sti
19832 wine_fn_config_makefile dlls/sti/tests enable_tests
19833 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19834 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19835 wine_fn_config_makefile dlls/strmbase enable_strmbase
19836 wine_fn_config_makefile dlls/strmdll enable_strmdll
19837 wine_fn_config_makefile dlls/strmiids enable_strmiids
19838 wine_fn_config_makefile dlls/svrapi enable_svrapi
19839 wine_fn_config_makefile dlls/sxs enable_sxs
19840 wine_fn_config_makefile dlls/sxs/tests enable_tests
19841 wine_fn_config_makefile dlls/system.drv16 enable_win16
19842 wine_fn_config_makefile dlls/t2embed enable_t2embed
19843 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19844 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19845 wine_fn_config_makefile dlls/taskschd enable_taskschd
19846 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19847 wine_fn_config_makefile dlls/tdh enable_tdh
19848 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19849 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19850 wine_fn_config_makefile dlls/traffic enable_traffic
19851 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19852 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19853 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19854 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19855 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19856 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19857 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19858 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19859 wine_fn_config_makefile dlls/unicows enable_unicows
19860 wine_fn_config_makefile dlls/updspapi enable_updspapi
19861 wine_fn_config_makefile dlls/url enable_url
19862 wine_fn_config_makefile dlls/urlmon enable_urlmon
19863 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19864 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19865 wine_fn_config_makefile dlls/user.exe16 enable_win16
19866 wine_fn_config_makefile dlls/user32 enable_user32
19867 wine_fn_config_makefile dlls/user32/tests enable_tests
19868 wine_fn_config_makefile dlls/userenv enable_userenv
19869 wine_fn_config_makefile dlls/userenv/tests enable_tests
19870 wine_fn_config_makefile dlls/usp10 enable_usp10
19871 wine_fn_config_makefile dlls/usp10/tests enable_tests
19872 wine_fn_config_makefile dlls/uuid enable_uuid
19873 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19874 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19875 wine_fn_config_makefile dlls/vbscript enable_vbscript
19876 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19877 wine_fn_config_makefile dlls/vcomp enable_vcomp
19878 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19879 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19880 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19881 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19882 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19883 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19884 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19885 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19886 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19887 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19888 wine_fn_config_makefile dlls/version enable_version
19889 wine_fn_config_makefile dlls/version/tests enable_tests
19890 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19891 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19892 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19893 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19894 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19895 wine_fn_config_makefile dlls/vssapi enable_vssapi
19896 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19897 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19898 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19899 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19900 wine_fn_config_makefile dlls/w32skrnl enable_win16
19901 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19902 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19903 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19904 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19905 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19906 wine_fn_config_makefile dlls/wdscore enable_wdscore
19907 wine_fn_config_makefile dlls/webservices enable_webservices
19908 wine_fn_config_makefile dlls/webservices/tests enable_tests
19909 wine_fn_config_makefile dlls/wer enable_wer
19910 wine_fn_config_makefile dlls/wer/tests enable_tests
19911 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19912 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19913 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19914 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19915 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19916 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19917 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19918 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19919 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19920 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19921 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19922 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19923 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19924 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19925 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19926 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19927 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19928 wine_fn_config_makefile dlls/wined3d enable_wined3d
19929 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19930 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19931 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19932 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19933 wine_fn_config_makefile dlls/winemapi enable_winemapi
19934 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19935 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19936 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19937 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19938 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19939 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19940 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19941 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19942 wine_fn_config_makefile dlls/wing32 enable_wing32
19943 wine_fn_config_makefile dlls/winhttp enable_winhttp
19944 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19945 wine_fn_config_makefile dlls/wininet enable_wininet
19946 wine_fn_config_makefile dlls/wininet/tests enable_tests
19947 wine_fn_config_makefile dlls/winmm enable_winmm
19948 wine_fn_config_makefile dlls/winmm/tests enable_tests
19949 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19950 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19951 wine_fn_config_makefile dlls/winscard enable_winscard
19952 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19953 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19954 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19955 wine_fn_config_makefile dlls/winsta enable_winsta
19956 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19957 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19958 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19959 wine_fn_config_makefile dlls/wintrust enable_wintrust
19960 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19961 wine_fn_config_makefile dlls/winusb enable_winusb
19962 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19963 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19964 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19965 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19966 wine_fn_config_makefile dlls/wmasf enable_wmasf
19967 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19968 wine_fn_config_makefile dlls/wmi enable_wmi
19969 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19970 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19971 wine_fn_config_makefile dlls/wmp enable_wmp
19972 wine_fn_config_makefile dlls/wmp/tests enable_tests
19973 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19974 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19975 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19976 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19977 wine_fn_config_makefile dlls/wow32 enable_win16
19978 wine_fn_config_makefile dlls/wpc enable_wpc
19979 wine_fn_config_makefile dlls/wpc/tests enable_tests
19980 wine_fn_config_makefile dlls/wpcap enable_wpcap
19981 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19982 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19983 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19984 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19985 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19986 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19987 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19988 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19989 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19990 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19991 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19992 wine_fn_config_makefile dlls/wuapi enable_wuapi
19993 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19994 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19995 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19996 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19997 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19998 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19999 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20000 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20001 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20002 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20003 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20004 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20005 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20006 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20007 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20008 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20009 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20010 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20011 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20012 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20013 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20014 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20015 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20016 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20017 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20018 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20019 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20020 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20021 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20022 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20023 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20024 wine_fn_config_makefile dlls/xmllite enable_xmllite
20025 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20026 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20027 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20028 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20029 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20030 wine_fn_config_makefile include enable_include
20031 wine_fn_config_makefile libs/port enable_port
20032 wine_fn_config_makefile libs/wine enable_wine
20033 wine_fn_config_makefile libs/wpp enable_wpp
20034 wine_fn_config_makefile loader enable_loader
20035 wine_fn_config_makefile po enable_po
20036 wine_fn_config_makefile programs/arp enable_arp
20037 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20038 wine_fn_config_makefile programs/attrib enable_attrib
20039 wine_fn_config_makefile programs/cabarc enable_cabarc
20040 wine_fn_config_makefile programs/cacls enable_cacls
20041 wine_fn_config_makefile programs/clock enable_clock
20042 wine_fn_config_makefile programs/cmd enable_cmd
20043 wine_fn_config_makefile programs/cmd/tests enable_tests
20044 wine_fn_config_makefile programs/conhost enable_conhost
20045 wine_fn_config_makefile programs/control enable_control
20046 wine_fn_config_makefile programs/cscript enable_cscript
20047 wine_fn_config_makefile programs/dism enable_dism
20048 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20049 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20050 wine_fn_config_makefile programs/eject enable_eject
20051 wine_fn_config_makefile programs/expand enable_expand
20052 wine_fn_config_makefile programs/explorer enable_explorer
20053 wine_fn_config_makefile programs/extrac32 enable_extrac32
20054 wine_fn_config_makefile programs/fc enable_fc
20055 wine_fn_config_makefile programs/find enable_find
20056 wine_fn_config_makefile programs/findstr enable_findstr
20057 wine_fn_config_makefile programs/fsutil enable_fsutil
20058 wine_fn_config_makefile programs/hh enable_hh
20059 wine_fn_config_makefile programs/hostname enable_hostname
20060 wine_fn_config_makefile programs/icacls enable_icacls
20061 wine_fn_config_makefile programs/icinfo enable_icinfo
20062 wine_fn_config_makefile programs/iexplore enable_iexplore
20063 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20064 wine_fn_config_makefile programs/lodctr enable_lodctr
20065 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20066 wine_fn_config_makefile programs/mshta enable_mshta
20067 wine_fn_config_makefile programs/msiexec enable_msiexec
20068 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20069 wine_fn_config_makefile programs/net enable_net
20070 wine_fn_config_makefile programs/netsh enable_netsh
20071 wine_fn_config_makefile programs/netstat enable_netstat
20072 wine_fn_config_makefile programs/ngen enable_ngen
20073 wine_fn_config_makefile programs/notepad enable_notepad
20074 wine_fn_config_makefile programs/oleview enable_oleview
20075 wine_fn_config_makefile programs/ping enable_ping
20076 wine_fn_config_makefile programs/plugplay enable_plugplay
20077 wine_fn_config_makefile programs/powershell enable_powershell
20078 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20079 wine_fn_config_makefile programs/progman enable_progman
20080 wine_fn_config_makefile programs/reg enable_reg
20081 wine_fn_config_makefile programs/reg/tests enable_tests
20082 wine_fn_config_makefile programs/regasm enable_regasm
20083 wine_fn_config_makefile programs/regedit enable_regedit
20084 wine_fn_config_makefile programs/regedit/tests enable_tests
20085 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20086 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20087 wine_fn_config_makefile programs/rpcss enable_rpcss
20088 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20089 wine_fn_config_makefile programs/rundll32 enable_rundll32
20090 wine_fn_config_makefile programs/sc enable_sc
20091 wine_fn_config_makefile programs/schtasks enable_schtasks
20092 wine_fn_config_makefile programs/schtasks/tests enable_tests
20093 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20094 wine_fn_config_makefile programs/secedit enable_secedit
20095 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20096 wine_fn_config_makefile programs/services enable_services
20097 wine_fn_config_makefile programs/services/tests enable_tests
20098 wine_fn_config_makefile programs/shutdown enable_shutdown
20099 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20100 wine_fn_config_makefile programs/start enable_start
20101 wine_fn_config_makefile programs/subst enable_subst
20102 wine_fn_config_makefile programs/svchost enable_svchost
20103 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20104 wine_fn_config_makefile programs/taskkill enable_taskkill
20105 wine_fn_config_makefile programs/tasklist enable_tasklist
20106 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20107 wine_fn_config_makefile programs/termsv enable_termsv
20108 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20109 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20110 wine_fn_config_makefile programs/view enable_view
20111 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20112 wine_fn_config_makefile programs/wineboot enable_wineboot
20113 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20114 wine_fn_config_makefile programs/winecfg enable_winecfg
20115 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20116 wine_fn_config_makefile programs/winedbg enable_winedbg
20117 wine_fn_config_makefile programs/winedevice enable_winedevice
20118 wine_fn_config_makefile programs/winefile enable_winefile
20119 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20120 wine_fn_config_makefile programs/winemine enable_winemine
20121 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20122 wine_fn_config_makefile programs/winepath enable_winepath
20123 wine_fn_config_makefile programs/winetest enable_winetest
20124 wine_fn_config_makefile programs/winevdm enable_win16
20125 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20126 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20127 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20128 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20129 wine_fn_config_makefile programs/winver enable_winver
20130 wine_fn_config_makefile programs/wmic enable_wmic
20131 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20132 wine_fn_config_makefile programs/wordpad enable_wordpad
20133 wine_fn_config_makefile programs/write enable_write
20134 wine_fn_config_makefile programs/wscript enable_wscript
20135 wine_fn_config_makefile programs/wscript/tests enable_tests
20136 wine_fn_config_makefile programs/wusa enable_wusa
20137 wine_fn_config_makefile programs/xcopy enable_xcopy
20138 wine_fn_config_makefile programs/xcopy/tests enable_tests
20139 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20140 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20142 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20143 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20144 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20145 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20146 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20147 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20148 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20151 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20152 wine_fn_append_file CONFIGURE_TARGETS "tags"
20153 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20154 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20155 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20156 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20157 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20158 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20160 if test "x$enable_tools" != xno
20161 then
20162 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20163 ac_config_commands="$ac_config_commands tools/makedep"
20167 ac_config_commands="$ac_config_commands Makefile"
20170 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20174 if test "x$enable_maintainer_mode" = xyes
20175 then
20176 wine_fn_append_rule "configure: configure.ac aclocal.m4
20177 autoconf --warnings=all
20178 include/config.h.in: include/stamp-h.in
20179 include/stamp-h.in: configure.ac aclocal.m4
20180 autoheader --warnings=all
20181 @echo timestamp > \$@"
20184 if test "x$enable_tools" != xno
20185 then
20186 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20187 @./config.status tools/makedep
20188 Makefile: tools/makedep$ac_exeext
20189 fonts: tools/sfnt2fon
20190 include: tools tools/widl"
20191 else
20192 wine_fn_append_rule "\$(MAKEDEP):
20193 @echo \"You need to run make in $TOOLSDIR first\" && false"
20196 if test -n "$with_wine64"
20197 then
20198 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20199 fonts server:
20200 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20201 $with_wine64/loader/wine:
20202 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20203 $with_wine64/loader/wine-preloader:
20204 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20205 clean::
20206 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20207 else
20208 WINELOADER_INSTALL="wine.inf l_intl.nls"
20210 case $host_os in
20211 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20212 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20213 esac
20216 $as_echo " done" >&6
20217 cat >confcache <<\_ACEOF
20218 # This file is a shell script that caches the results of configure
20219 # tests run on this system so they can be shared between configure
20220 # scripts and configure runs, see configure's option --config-cache.
20221 # It is not useful on other systems. If it contains results you don't
20222 # want to keep, you may remove or edit it.
20224 # config.status only pays attention to the cache file if you give it
20225 # the --recheck option to rerun configure.
20227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20229 # following values.
20231 _ACEOF
20233 # The following way of writing the cache mishandles newlines in values,
20234 # but we know of no workaround that is simple, portable, and efficient.
20235 # So, we kill variables containing newlines.
20236 # Ultrix sh set writes to stderr and can't be redirected directly,
20237 # and sets the high bit in the cache file unless we assign to the vars.
20239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20240 eval ac_val=\$$ac_var
20241 case $ac_val in #(
20242 *${as_nl}*)
20243 case $ac_var in #(
20244 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20245 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20246 esac
20247 case $ac_var in #(
20248 _ | IFS | as_nl) ;; #(
20249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20250 *) { eval $ac_var=; unset $ac_var;} ;;
20251 esac ;;
20252 esac
20253 done
20255 (set) 2>&1 |
20256 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20257 *${as_nl}ac_space=\ *)
20258 # `set' does not quote correctly, so add quotes: double-quote
20259 # substitution turns \\\\ into \\, and sed turns \\ into \.
20260 sed -n \
20261 "s/'/'\\\\''/g;
20262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20263 ;; #(
20265 # `set' quotes correctly as required by POSIX, so do not add quotes.
20266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20268 esac |
20269 sort
20271 sed '
20272 /^ac_cv_env_/b end
20273 t clear
20274 :clear
20275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20276 t end
20277 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20278 :end' >>confcache
20279 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20280 if test -w "$cache_file"; then
20281 if test "x$cache_file" != "x/dev/null"; then
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20283 $as_echo "$as_me: updating cache $cache_file" >&6;}
20284 if test ! -f "$cache_file" || test -h "$cache_file"; then
20285 cat confcache >"$cache_file"
20286 else
20287 case $cache_file in #(
20288 */* | ?:*)
20289 mv -f confcache "$cache_file"$$ &&
20290 mv -f "$cache_file"$$ "$cache_file" ;; #(
20292 mv -f confcache "$cache_file" ;;
20293 esac
20296 else
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20298 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20301 rm -f confcache
20303 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20304 # Let make expand exec_prefix.
20305 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20307 DEFS=-DHAVE_CONFIG_H
20309 ac_libobjs=
20310 ac_ltlibobjs=
20312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20313 # 1. Remove the extension, and $U if already installed.
20314 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20315 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20316 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20317 # will be set to the directory where LIBOBJS objects are built.
20318 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20319 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20320 done
20321 LIBOBJS=$ac_libobjs
20323 LTLIBOBJS=$ac_ltlibobjs
20327 : "${CONFIG_STATUS=./config.status}"
20328 ac_write_fail=0
20329 ac_clean_files_save=$ac_clean_files
20330 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20332 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20333 as_write_fail=0
20334 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20335 #! $SHELL
20336 # Generated by $as_me.
20337 # Run this file to recreate the current configuration.
20338 # Compiler output produced by configure, useful for debugging
20339 # configure, is in config.log if it exists.
20341 debug=false
20342 ac_cs_recheck=false
20343 ac_cs_silent=false
20345 SHELL=\${CONFIG_SHELL-$SHELL}
20346 export SHELL
20347 _ASEOF
20348 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20349 ## -------------------- ##
20350 ## M4sh Initialization. ##
20351 ## -------------------- ##
20353 # Be more Bourne compatible
20354 DUALCASE=1; export DUALCASE # for MKS sh
20355 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20356 emulate sh
20357 NULLCMD=:
20358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20359 # is contrary to our usage. Disable this feature.
20360 alias -g '${1+"$@"}'='"$@"'
20361 setopt NO_GLOB_SUBST
20362 else
20363 case `(set -o) 2>/dev/null` in #(
20364 *posix*) :
20365 set -o posix ;; #(
20366 *) :
20368 esac
20372 as_nl='
20374 export as_nl
20375 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20376 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20379 # Prefer a ksh shell builtin over an external printf program on Solaris,
20380 # but without wasting forks for bash or zsh.
20381 if test -z "$BASH_VERSION$ZSH_VERSION" \
20382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20383 as_echo='print -r --'
20384 as_echo_n='print -rn --'
20385 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20386 as_echo='printf %s\n'
20387 as_echo_n='printf %s'
20388 else
20389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20390 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20391 as_echo_n='/usr/ucb/echo -n'
20392 else
20393 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20394 as_echo_n_body='eval
20395 arg=$1;
20396 case $arg in #(
20397 *"$as_nl"*)
20398 expr "X$arg" : "X\\(.*\\)$as_nl";
20399 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20400 esac;
20401 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20403 export as_echo_n_body
20404 as_echo_n='sh -c $as_echo_n_body as_echo'
20406 export as_echo_body
20407 as_echo='sh -c $as_echo_body as_echo'
20410 # The user is always right.
20411 if test "${PATH_SEPARATOR+set}" != set; then
20412 PATH_SEPARATOR=:
20413 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20414 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20415 PATH_SEPARATOR=';'
20420 # IFS
20421 # We need space, tab and new line, in precisely that order. Quoting is
20422 # there to prevent editors from complaining about space-tab.
20423 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20424 # splitting by setting IFS to empty value.)
20425 IFS=" "" $as_nl"
20427 # Find who we are. Look in the path if we contain no directory separator.
20428 as_myself=
20429 case $0 in #((
20430 *[\\/]* ) as_myself=$0 ;;
20431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20432 for as_dir in $PATH
20434 IFS=$as_save_IFS
20435 test -z "$as_dir" && as_dir=.
20436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20437 done
20438 IFS=$as_save_IFS
20441 esac
20442 # We did not find ourselves, most probably we were run as `sh COMMAND'
20443 # in which case we are not to be found in the path.
20444 if test "x$as_myself" = x; then
20445 as_myself=$0
20447 if test ! -f "$as_myself"; then
20448 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20449 exit 1
20452 # Unset variables that we do not need and which cause bugs (e.g. in
20453 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20454 # suppresses any "Segmentation fault" message there. '((' could
20455 # trigger a bug in pdksh 5.2.14.
20456 for as_var in BASH_ENV ENV MAIL MAILPATH
20457 do eval test x\${$as_var+set} = xset \
20458 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20459 done
20460 PS1='$ '
20461 PS2='> '
20462 PS4='+ '
20464 # NLS nuisances.
20465 LC_ALL=C
20466 export LC_ALL
20467 LANGUAGE=C
20468 export LANGUAGE
20470 # CDPATH.
20471 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20474 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20475 # ----------------------------------------
20476 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20477 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20478 # script with STATUS, using 1 if that was 0.
20479 as_fn_error ()
20481 as_status=$1; test $as_status -eq 0 && as_status=1
20482 if test "$4"; then
20483 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20484 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20486 $as_echo "$as_me: error: $2" >&2
20487 as_fn_exit $as_status
20488 } # as_fn_error
20491 # as_fn_set_status STATUS
20492 # -----------------------
20493 # Set $? to STATUS, without forking.
20494 as_fn_set_status ()
20496 return $1
20497 } # as_fn_set_status
20499 # as_fn_exit STATUS
20500 # -----------------
20501 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20502 as_fn_exit ()
20504 set +e
20505 as_fn_set_status $1
20506 exit $1
20507 } # as_fn_exit
20509 # as_fn_unset VAR
20510 # ---------------
20511 # Portably unset VAR.
20512 as_fn_unset ()
20514 { eval $1=; unset $1;}
20516 as_unset=as_fn_unset
20517 # as_fn_append VAR VALUE
20518 # ----------------------
20519 # Append the text in VALUE to the end of the definition contained in VAR. Take
20520 # advantage of any shell optimizations that allow amortized linear growth over
20521 # repeated appends, instead of the typical quadratic growth present in naive
20522 # implementations.
20523 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20524 eval 'as_fn_append ()
20526 eval $1+=\$2
20528 else
20529 as_fn_append ()
20531 eval $1=\$$1\$2
20533 fi # as_fn_append
20535 # as_fn_arith ARG...
20536 # ------------------
20537 # Perform arithmetic evaluation on the ARGs, and store the result in the
20538 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20539 # must be portable across $(()) and expr.
20540 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20541 eval 'as_fn_arith ()
20543 as_val=$(( $* ))
20545 else
20546 as_fn_arith ()
20548 as_val=`expr "$@" || test $? -eq 1`
20550 fi # as_fn_arith
20553 if expr a : '\(a\)' >/dev/null 2>&1 &&
20554 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20555 as_expr=expr
20556 else
20557 as_expr=false
20560 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20561 as_basename=basename
20562 else
20563 as_basename=false
20566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20567 as_dirname=dirname
20568 else
20569 as_dirname=false
20572 as_me=`$as_basename -- "$0" ||
20573 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20574 X"$0" : 'X\(//\)$' \| \
20575 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20576 $as_echo X/"$0" |
20577 sed '/^.*\/\([^/][^/]*\)\/*$/{
20578 s//\1/
20581 /^X\/\(\/\/\)$/{
20582 s//\1/
20585 /^X\/\(\/\).*/{
20586 s//\1/
20589 s/.*/./; q'`
20591 # Avoid depending upon Character Ranges.
20592 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20593 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20594 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20595 as_cr_digits='0123456789'
20596 as_cr_alnum=$as_cr_Letters$as_cr_digits
20598 ECHO_C= ECHO_N= ECHO_T=
20599 case `echo -n x` in #(((((
20600 -n*)
20601 case `echo 'xy\c'` in
20602 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20603 xy) ECHO_C='\c';;
20604 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20605 ECHO_T=' ';;
20606 esac;;
20608 ECHO_N='-n';;
20609 esac
20611 rm -f conf$$ conf$$.exe conf$$.file
20612 if test -d conf$$.dir; then
20613 rm -f conf$$.dir/conf$$.file
20614 else
20615 rm -f conf$$.dir
20616 mkdir conf$$.dir 2>/dev/null
20618 if (echo >conf$$.file) 2>/dev/null; then
20619 if ln -s conf$$.file conf$$ 2>/dev/null; then
20620 as_ln_s='ln -s'
20621 # ... but there are two gotchas:
20622 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20623 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20624 # In both cases, we have to default to `cp -pR'.
20625 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20626 as_ln_s='cp -pR'
20627 elif ln conf$$.file conf$$ 2>/dev/null; then
20628 as_ln_s=ln
20629 else
20630 as_ln_s='cp -pR'
20632 else
20633 as_ln_s='cp -pR'
20635 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20636 rmdir conf$$.dir 2>/dev/null
20639 # as_fn_mkdir_p
20640 # -------------
20641 # Create "$as_dir" as a directory, including parents if necessary.
20642 as_fn_mkdir_p ()
20645 case $as_dir in #(
20646 -*) as_dir=./$as_dir;;
20647 esac
20648 test -d "$as_dir" || eval $as_mkdir_p || {
20649 as_dirs=
20650 while :; do
20651 case $as_dir in #(
20652 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20653 *) as_qdir=$as_dir;;
20654 esac
20655 as_dirs="'$as_qdir' $as_dirs"
20656 as_dir=`$as_dirname -- "$as_dir" ||
20657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20658 X"$as_dir" : 'X\(//\)[^/]' \| \
20659 X"$as_dir" : 'X\(//\)$' \| \
20660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20661 $as_echo X"$as_dir" |
20662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20663 s//\1/
20666 /^X\(\/\/\)[^/].*/{
20667 s//\1/
20670 /^X\(\/\/\)$/{
20671 s//\1/
20674 /^X\(\/\).*/{
20675 s//\1/
20678 s/.*/./; q'`
20679 test -d "$as_dir" && break
20680 done
20681 test -z "$as_dirs" || eval "mkdir $as_dirs"
20682 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20685 } # as_fn_mkdir_p
20686 if mkdir -p . 2>/dev/null; then
20687 as_mkdir_p='mkdir -p "$as_dir"'
20688 else
20689 test -d ./-p && rmdir ./-p
20690 as_mkdir_p=false
20694 # as_fn_executable_p FILE
20695 # -----------------------
20696 # Test if FILE is an executable regular file.
20697 as_fn_executable_p ()
20699 test -f "$1" && test -x "$1"
20700 } # as_fn_executable_p
20701 as_test_x='test -x'
20702 as_executable_p=as_fn_executable_p
20704 # Sed expression to map a string onto a valid CPP name.
20705 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20707 # Sed expression to map a string onto a valid variable name.
20708 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20711 exec 6>&1
20712 ## ----------------------------------- ##
20713 ## Main body of $CONFIG_STATUS script. ##
20714 ## ----------------------------------- ##
20715 _ASEOF
20716 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20719 # Save the log message, to keep $0 and so on meaningful, and to
20720 # report actual input values of CONFIG_FILES etc. instead of their
20721 # values after options handling.
20722 ac_log="
20723 This file was extended by Wine $as_me 3.17, which was
20724 generated by GNU Autoconf 2.69. Invocation command line was
20726 CONFIG_FILES = $CONFIG_FILES
20727 CONFIG_HEADERS = $CONFIG_HEADERS
20728 CONFIG_LINKS = $CONFIG_LINKS
20729 CONFIG_COMMANDS = $CONFIG_COMMANDS
20730 $ $0 $@
20732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20735 _ACEOF
20737 case $ac_config_files in *"
20738 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20739 esac
20741 case $ac_config_headers in *"
20742 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20743 esac
20746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20747 # Files that config.status was made for.
20748 config_files="$ac_config_files"
20749 config_headers="$ac_config_headers"
20750 config_links="$ac_config_links"
20751 config_commands="$ac_config_commands"
20753 _ACEOF
20755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20756 ac_cs_usage="\
20757 \`$as_me' instantiates files and other configuration actions
20758 from templates according to the current configuration. Unless the files
20759 and actions are specified as TAGs, all are instantiated by default.
20761 Usage: $0 [OPTION]... [TAG]...
20763 -h, --help print this help, then exit
20764 -V, --version print version number and configuration settings, then exit
20765 --config print configuration, then exit
20766 -q, --quiet, --silent
20767 do not print progress messages
20768 -d, --debug don't remove temporary files
20769 --recheck update $as_me by reconfiguring in the same conditions
20770 --file=FILE[:TEMPLATE]
20771 instantiate the configuration file FILE
20772 --header=FILE[:TEMPLATE]
20773 instantiate the configuration header FILE
20775 Configuration files:
20776 $config_files
20778 Configuration headers:
20779 $config_headers
20781 Configuration links:
20782 $config_links
20784 Configuration commands:
20785 $config_commands
20787 Report bugs to <wine-devel@winehq.org>.
20788 Wine home page: <https://www.winehq.org>."
20790 _ACEOF
20791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20792 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20793 ac_cs_version="\\
20794 Wine config.status 3.17
20795 configured by $0, generated by GNU Autoconf 2.69,
20796 with options \\"\$ac_cs_config\\"
20798 Copyright (C) 2012 Free Software Foundation, Inc.
20799 This config.status script is free software; the Free Software Foundation
20800 gives unlimited permission to copy, distribute and modify it."
20802 ac_pwd='$ac_pwd'
20803 srcdir='$srcdir'
20804 test -n "\$AWK" || AWK=awk
20805 _ACEOF
20807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20808 # The default lists apply if the user does not specify any file.
20809 ac_need_defaults=:
20810 while test $# != 0
20812 case $1 in
20813 --*=?*)
20814 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20815 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20816 ac_shift=:
20818 --*=)
20819 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20820 ac_optarg=
20821 ac_shift=:
20824 ac_option=$1
20825 ac_optarg=$2
20826 ac_shift=shift
20828 esac
20830 case $ac_option in
20831 # Handling of the options.
20832 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20833 ac_cs_recheck=: ;;
20834 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20835 $as_echo "$ac_cs_version"; exit ;;
20836 --config | --confi | --conf | --con | --co | --c )
20837 $as_echo "$ac_cs_config"; exit ;;
20838 --debug | --debu | --deb | --de | --d | -d )
20839 debug=: ;;
20840 --file | --fil | --fi | --f )
20841 $ac_shift
20842 case $ac_optarg in
20843 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20844 '') as_fn_error $? "missing file argument" ;;
20845 esac
20846 as_fn_append CONFIG_FILES " '$ac_optarg'"
20847 ac_need_defaults=false;;
20848 --header | --heade | --head | --hea )
20849 $ac_shift
20850 case $ac_optarg in
20851 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20852 esac
20853 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20854 ac_need_defaults=false;;
20855 --he | --h)
20856 # Conflict between --help and --header
20857 as_fn_error $? "ambiguous option: \`$1'
20858 Try \`$0 --help' for more information.";;
20859 --help | --hel | -h )
20860 $as_echo "$ac_cs_usage"; exit ;;
20861 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20862 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20863 ac_cs_silent=: ;;
20865 # This is an error.
20866 -*) as_fn_error $? "unrecognized option: \`$1'
20867 Try \`$0 --help' for more information." ;;
20869 *) as_fn_append ac_config_targets " $1"
20870 ac_need_defaults=false ;;
20872 esac
20873 shift
20874 done
20876 ac_configure_extra_args=
20878 if $ac_cs_silent; then
20879 exec 6>/dev/null
20880 ac_configure_extra_args="$ac_configure_extra_args --silent"
20883 _ACEOF
20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 if \$ac_cs_recheck; then
20886 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20887 shift
20888 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20889 CONFIG_SHELL='$SHELL'
20890 export CONFIG_SHELL
20891 exec "\$@"
20894 _ACEOF
20895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20896 exec 5>>config.log
20898 echo
20899 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20900 ## Running $as_me. ##
20901 _ASBOX
20902 $as_echo "$ac_log"
20903 } >&5
20905 _ACEOF
20906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20908 # INIT-COMMANDS
20910 wine_fn_output_makedep ()
20912 as_dir=tools; as_fn_mkdir_p
20913 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20915 wine_fn_output_makefile ()
20917 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20918 `cat $wine_rules_file`
20919 _WINE_EOF
20920 as_fn_error $? "could not create Makefile" "$LINENO" 5
20923 _ACEOF
20925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20927 # Handling of arguments.
20928 for ac_config_target in $ac_config_targets
20930 case $ac_config_target in
20931 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20932 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20933 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20934 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20935 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20936 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20937 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20938 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20939 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20940 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20941 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20942 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20943 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20945 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20946 esac
20947 done
20950 # If the user did not use the arguments to specify the items to instantiate,
20951 # then the envvar interface is used. Set only those that are not.
20952 # We use the long form for the default assignment because of an extremely
20953 # bizarre bug on SunOS 4.1.3.
20954 if $ac_need_defaults; then
20955 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20956 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20957 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20958 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20961 # Have a temporary directory for convenience. Make it in the build tree
20962 # simply because there is no reason against having it here, and in addition,
20963 # creating and moving files from /tmp can sometimes cause problems.
20964 # Hook for its removal unless debugging.
20965 # Note that there is a small window in which the directory will not be cleaned:
20966 # after its creation but before its name has been assigned to `$tmp'.
20967 $debug ||
20969 tmp= ac_tmp=
20970 trap 'exit_status=$?
20971 : "${ac_tmp:=$tmp}"
20972 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20974 trap 'as_fn_exit 1' 1 2 13 15
20976 # Create a (secure) tmp directory for tmp files.
20979 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20980 test -d "$tmp"
20981 } ||
20983 tmp=./conf$$-$RANDOM
20984 (umask 077 && mkdir "$tmp")
20985 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20986 ac_tmp=$tmp
20988 # Set up the scripts for CONFIG_FILES section.
20989 # No need to generate them if there are no CONFIG_FILES.
20990 # This happens for instance with `./config.status config.h'.
20991 if test -n "$CONFIG_FILES"; then
20994 ac_cr=`echo X | tr X '\015'`
20995 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20996 # But we know of no other shell where ac_cr would be empty at this
20997 # point, so we can use a bashism as a fallback.
20998 if test "x$ac_cr" = x; then
20999 eval ac_cr=\$\'\\r\'
21001 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21002 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21003 ac_cs_awk_cr='\\r'
21004 else
21005 ac_cs_awk_cr=$ac_cr
21008 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21009 _ACEOF
21013 echo "cat >conf$$subs.awk <<_ACEOF" &&
21014 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21015 echo "_ACEOF"
21016 } >conf$$subs.sh ||
21017 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21018 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21019 ac_delim='%!_!# '
21020 for ac_last_try in false false false false false :; do
21021 . ./conf$$subs.sh ||
21022 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21024 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21025 if test $ac_delim_n = $ac_delim_num; then
21026 break
21027 elif $ac_last_try; then
21028 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21029 else
21030 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21032 done
21033 rm -f conf$$subs.sh
21035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21036 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21037 _ACEOF
21038 sed -n '
21040 s/^/S["/; s/!.*/"]=/
21043 s/^[^!]*!//
21044 :repl
21045 t repl
21046 s/'"$ac_delim"'$//
21047 t delim
21050 s/\(.\{148\}\)..*/\1/
21051 t more1
21052 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21055 b repl
21056 :more1
21057 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21060 s/.\{148\}//
21061 t nl
21062 :delim
21064 s/\(.\{148\}\)..*/\1/
21065 t more2
21066 s/["\\]/\\&/g; s/^/"/; s/$/"/
21069 :more2
21070 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21073 s/.\{148\}//
21074 t delim
21075 ' <conf$$subs.awk | sed '
21076 /^[^""]/{
21078 s/\n//
21080 ' >>$CONFIG_STATUS || ac_write_fail=1
21081 rm -f conf$$subs.awk
21082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21083 _ACAWK
21084 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21085 for (key in S) S_is_set[key] = 1
21086 FS = "\a"
21090 line = $ 0
21091 nfields = split(line, field, "@")
21092 substed = 0
21093 len = length(field[1])
21094 for (i = 2; i < nfields; i++) {
21095 key = field[i]
21096 keylen = length(key)
21097 if (S_is_set[key]) {
21098 value = S[key]
21099 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21100 len += length(value) + length(field[++i])
21101 substed = 1
21102 } else
21103 len += 1 + keylen
21106 print line
21109 _ACAWK
21110 _ACEOF
21111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21112 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21113 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21114 else
21116 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21117 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21118 _ACEOF
21120 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21121 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21122 # trailing colons and then remove the whole line if VPATH becomes empty
21123 # (actually we leave an empty line to preserve line numbers).
21124 if test "x$srcdir" = x.; then
21125 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21127 s///
21128 s/^/:/
21129 s/[ ]*$/:/
21130 s/:\$(srcdir):/:/g
21131 s/:\${srcdir}:/:/g
21132 s/:@srcdir@:/:/g
21133 s/^:*//
21134 s/:*$//
21136 s/\(=[ ]*\).*/\1/
21138 s/\n//
21139 s/^[^=]*=[ ]*$//
21143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21144 fi # test -n "$CONFIG_FILES"
21146 # Set up the scripts for CONFIG_HEADERS section.
21147 # No need to generate them if there are no CONFIG_HEADERS.
21148 # This happens for instance with `./config.status Makefile'.
21149 if test -n "$CONFIG_HEADERS"; then
21150 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21151 BEGIN {
21152 _ACEOF
21154 # Transform confdefs.h into an awk script `defines.awk', embedded as
21155 # here-document in config.status, that substitutes the proper values into
21156 # config.h.in to produce config.h.
21158 # Create a delimiter string that does not exist in confdefs.h, to ease
21159 # handling of long lines.
21160 ac_delim='%!_!# '
21161 for ac_last_try in false false :; do
21162 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21163 if test -z "$ac_tt"; then
21164 break
21165 elif $ac_last_try; then
21166 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21167 else
21168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21170 done
21172 # For the awk script, D is an array of macro values keyed by name,
21173 # likewise P contains macro parameters if any. Preserve backslash
21174 # newline sequences.
21176 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21177 sed -n '
21178 s/.\{148\}/&'"$ac_delim"'/g
21179 t rset
21180 :rset
21181 s/^[ ]*#[ ]*define[ ][ ]*/ /
21182 t def
21184 :def
21185 s/\\$//
21186 t bsnl
21187 s/["\\]/\\&/g
21188 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21189 D["\1"]=" \3"/p
21190 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21192 :bsnl
21193 s/["\\]/\\&/g
21194 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21195 D["\1"]=" \3\\\\\\n"\\/p
21196 t cont
21197 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21198 t cont
21200 :cont
21202 s/.\{148\}/&'"$ac_delim"'/g
21203 t clear
21204 :clear
21205 s/\\$//
21206 t bsnlc
21207 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21209 :bsnlc
21210 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21211 b cont
21212 ' <confdefs.h | sed '
21213 s/'"$ac_delim"'/"\\\
21214 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21217 for (key in D) D_is_set[key] = 1
21218 FS = "\a"
21220 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21221 line = \$ 0
21222 split(line, arg, " ")
21223 if (arg[1] == "#") {
21224 defundef = arg[2]
21225 mac1 = arg[3]
21226 } else {
21227 defundef = substr(arg[1], 2)
21228 mac1 = arg[2]
21230 split(mac1, mac2, "(") #)
21231 macro = mac2[1]
21232 prefix = substr(line, 1, index(line, defundef) - 1)
21233 if (D_is_set[macro]) {
21234 # Preserve the white space surrounding the "#".
21235 print prefix "define", macro P[macro] D[macro]
21236 next
21237 } else {
21238 # Replace #undef with comments. This is necessary, for example,
21239 # in the case of _POSIX_SOURCE, which is predefined and required
21240 # on some systems where configure will not decide to define it.
21241 if (defundef == "undef") {
21242 print "/*", prefix defundef, macro, "*/"
21243 next
21247 { print }
21248 _ACAWK
21249 _ACEOF
21250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21251 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21252 fi # test -n "$CONFIG_HEADERS"
21255 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21256 shift
21257 for ac_tag
21259 case $ac_tag in
21260 :[FHLC]) ac_mode=$ac_tag; continue;;
21261 esac
21262 case $ac_mode$ac_tag in
21263 :[FHL]*:*);;
21264 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21265 :[FH]-) ac_tag=-:-;;
21266 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21267 esac
21268 ac_save_IFS=$IFS
21269 IFS=:
21270 set x $ac_tag
21271 IFS=$ac_save_IFS
21272 shift
21273 ac_file=$1
21274 shift
21276 case $ac_mode in
21277 :L) ac_source=$1;;
21278 :[FH])
21279 ac_file_inputs=
21280 for ac_f
21282 case $ac_f in
21283 -) ac_f="$ac_tmp/stdin";;
21284 *) # Look for the file first in the build tree, then in the source tree
21285 # (if the path is not absolute). The absolute path cannot be DOS-style,
21286 # because $ac_f cannot contain `:'.
21287 test -f "$ac_f" ||
21288 case $ac_f in
21289 [\\/$]*) false;;
21290 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21291 esac ||
21292 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21293 esac
21294 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21295 as_fn_append ac_file_inputs " '$ac_f'"
21296 done
21298 # Let's still pretend it is `configure' which instantiates (i.e., don't
21299 # use $as_me), people would be surprised to read:
21300 # /* config.h. Generated by config.status. */
21301 configure_input='Generated from '`
21302 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21303 `' by configure.'
21304 if test x"$ac_file" != x-; then
21305 configure_input="$ac_file. $configure_input"
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21307 $as_echo "$as_me: creating $ac_file" >&6;}
21309 # Neutralize special characters interpreted by sed in replacement strings.
21310 case $configure_input in #(
21311 *\&* | *\|* | *\\* )
21312 ac_sed_conf_input=`$as_echo "$configure_input" |
21313 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21314 *) ac_sed_conf_input=$configure_input;;
21315 esac
21317 case $ac_tag in
21318 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21320 esac
21322 esac
21324 ac_dir=`$as_dirname -- "$ac_file" ||
21325 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21326 X"$ac_file" : 'X\(//\)[^/]' \| \
21327 X"$ac_file" : 'X\(//\)$' \| \
21328 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21329 $as_echo X"$ac_file" |
21330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21331 s//\1/
21334 /^X\(\/\/\)[^/].*/{
21335 s//\1/
21338 /^X\(\/\/\)$/{
21339 s//\1/
21342 /^X\(\/\).*/{
21343 s//\1/
21346 s/.*/./; q'`
21347 as_dir="$ac_dir"; as_fn_mkdir_p
21348 ac_builddir=.
21350 case "$ac_dir" in
21351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21353 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21354 # A ".." for each directory in $ac_dir_suffix.
21355 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21356 case $ac_top_builddir_sub in
21357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21359 esac ;;
21360 esac
21361 ac_abs_top_builddir=$ac_pwd
21362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21363 # for backward compatibility:
21364 ac_top_builddir=$ac_top_build_prefix
21366 case $srcdir in
21367 .) # We are building in place.
21368 ac_srcdir=.
21369 ac_top_srcdir=$ac_top_builddir_sub
21370 ac_abs_top_srcdir=$ac_pwd ;;
21371 [\\/]* | ?:[\\/]* ) # Absolute name.
21372 ac_srcdir=$srcdir$ac_dir_suffix;
21373 ac_top_srcdir=$srcdir
21374 ac_abs_top_srcdir=$srcdir ;;
21375 *) # Relative name.
21376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21377 ac_top_srcdir=$ac_top_build_prefix$srcdir
21378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21379 esac
21380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21383 case $ac_mode in
21386 # CONFIG_FILE
21389 _ACEOF
21391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21392 # If the template does not know about datarootdir, expand it.
21393 # FIXME: This hack should be removed a few years after 2.60.
21394 ac_datarootdir_hack=; ac_datarootdir_seen=
21395 ac_sed_dataroot='
21396 /datarootdir/ {
21400 /@datadir@/p
21401 /@docdir@/p
21402 /@infodir@/p
21403 /@localedir@/p
21404 /@mandir@/p'
21405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21406 *datarootdir*) ac_datarootdir_seen=yes;;
21407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21409 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21410 _ACEOF
21411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21412 ac_datarootdir_hack='
21413 s&@datadir@&$datadir&g
21414 s&@docdir@&$docdir&g
21415 s&@infodir@&$infodir&g
21416 s&@localedir@&$localedir&g
21417 s&@mandir@&$mandir&g
21418 s&\\\${datarootdir}&$datarootdir&g' ;;
21419 esac
21420 _ACEOF
21422 # Neutralize VPATH when `$srcdir' = `.'.
21423 # Shell code in configure.ac might set extrasub.
21424 # FIXME: do we really want to maintain this feature?
21425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21426 ac_sed_extra="$ac_vpsub
21427 $extrasub
21428 _ACEOF
21429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21432 s|@configure_input@|$ac_sed_conf_input|;t t
21433 s&@top_builddir@&$ac_top_builddir_sub&;t t
21434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21435 s&@srcdir@&$ac_srcdir&;t t
21436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21437 s&@top_srcdir@&$ac_top_srcdir&;t t
21438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21439 s&@builddir@&$ac_builddir&;t t
21440 s&@abs_builddir@&$ac_abs_builddir&;t t
21441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21442 $ac_datarootdir_hack
21444 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21445 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21447 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21448 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21449 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21450 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21452 which seems to be undefined. Please make sure it is defined" >&5
21453 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21454 which seems to be undefined. Please make sure it is defined" >&2;}
21456 rm -f "$ac_tmp/stdin"
21457 case $ac_file in
21458 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21459 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21460 esac \
21461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21465 # CONFIG_HEADER
21467 if test x"$ac_file" != x-; then
21469 $as_echo "/* $configure_input */" \
21470 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21471 } >"$ac_tmp/config.h" \
21472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21473 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21475 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21476 else
21477 rm -f "$ac_file"
21478 mv "$ac_tmp/config.h" "$ac_file" \
21479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21481 else
21482 $as_echo "/* $configure_input */" \
21483 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21484 || as_fn_error $? "could not create -" "$LINENO" 5
21489 # CONFIG_LINK
21492 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21494 else
21495 # Prefer the file from the source tree if names are identical.
21496 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21497 ac_source=$srcdir/$ac_source
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21501 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21503 if test ! -r "$ac_source"; then
21504 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21506 rm -f "$ac_file"
21508 # Try a relative symlink, then a hard link, then a copy.
21509 case $ac_source in
21510 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21511 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21512 esac
21513 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21514 ln "$ac_source" "$ac_file" 2>/dev/null ||
21515 cp -p "$ac_source" "$ac_file" ||
21516 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21519 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21520 $as_echo "$as_me: executing $ac_file commands" >&6;}
21522 esac
21525 case $ac_file$ac_mode in
21526 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21527 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21528 "Makefile":C) wine_fn_output_makefile Makefile ;;
21530 esac
21531 done # for ac_tag
21534 as_fn_exit 0
21535 _ACEOF
21536 ac_clean_files=$ac_clean_files_save
21538 test $ac_write_fail = 0 ||
21539 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21542 # configure is writing to config.log, and then calls config.status.
21543 # config.status does its own redirection, appending to config.log.
21544 # Unfortunately, on DOS this fails, as config.log is still kept open
21545 # by configure, so config.status won't be able to write to it; its
21546 # output is simply discarded. So we exec the FD to /dev/null,
21547 # effectively closing config.log, so it can be properly (re)opened and
21548 # appended to by config.status. When coming back to configure, we
21549 # need to make the FD available again.
21550 if test "$no_create" != yes; then
21551 ac_cs_success=:
21552 ac_config_status_args=
21553 test "$silent" = yes &&
21554 ac_config_status_args="$ac_config_status_args --quiet"
21555 exec 5>/dev/null
21556 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21557 exec 5>>config.log
21558 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21559 # would make configure fail if this is the last instruction.
21560 $ac_cs_success || as_fn_exit 1
21562 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21564 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21568 if test "$no_create" = "yes"
21569 then
21570 exit 0
21573 ac_save_IFS="$IFS"
21574 if test "x$wine_notices" != x; then
21575 echo >&6
21576 IFS="|"
21577 for msg in $wine_notices; do
21578 IFS="$ac_save_IFS"
21579 if ${msg:+false} :; then :
21581 else
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21583 $as_echo "$as_me: $msg" >&6;}
21585 done
21587 IFS="|"
21588 for msg in $wine_warnings; do
21589 IFS="$ac_save_IFS"
21590 if ${msg:+false} :; then :
21592 else
21593 echo >&2
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21595 $as_echo "$as_me: WARNING: $msg" >&2;}
21597 done
21598 IFS="$ac_save_IFS"
21600 $as_echo "
21601 $as_me: Finished. Do '${ac_make}' to compile Wine.
21602 " >&6