ntdll: Add stub for ApiSetQueryApiSetPresence.
[wine.git] / configure
blob3a607280e2e9ba48eff1eb1b9bc1215ed1439bab
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.15.
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.15'
584 PACKAGE_STRING='Wine 3.15'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 VKD3D_LIBS
640 VKD3D_CFLAGS
641 NETAPI_LIBS
642 NETAPI_CFLAGS
643 PROCSTAT_LIBS
644 KSTAT_LIBS
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 XSLT_LIBS
693 XSLT_CFLAGS
694 XML2_LIBS
695 XML2_CFLAGS
696 PCAP_LIBS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 PTHREAD_LIBS
703 CROSSCFLAGS
704 CROSSCC
705 CROSSTARGET
706 PRELINK
707 WINELOADER_DEPENDS
708 METAL_LIBS
709 CARBON_LIBS
710 QUICKTIME_LIBS
711 OPENCL_LIBS
712 OPENAL_LIBS
713 COREAUDIO_LIBS
714 SECURITY_LIBS
715 DISKARBITRATION_LIBS
716 APPKIT_LIBS
717 CORESERVICES_LIBS
718 APPLICATIONSERVICES_LIBS
719 FORCEFEEDBACK_LIBS
720 IOKIT_LIBS
721 COREFOUNDATION_LIBS
722 OBJCPP
723 ac_ct_OBJC
724 OBJCFLAGS
725 OBJC
726 LIBWINE_DEPENDS
727 LIBWINE_LDFLAGS
728 LIBWINE_INSTALL_DEV
729 LIBWINE_INSTALL_LIB
730 LIBWINE_IMPORTLIB
731 LIBWINE_SHAREDLIB
732 SOCKET_LIBS
733 DLLTOOL
734 WINELOADER_PROGRAMS
735 CONFIGURE_TARGETS
736 DISABLED_SUBDIRS
737 SUBDIRS
738 READELF
739 OTOOL
741 WINELOADER_LDFLAGS
742 LDEXECFLAGS
743 LDRPATH_LOCAL
744 LDRPATH_INSTALL
745 DLLFLAGS
747 OPENGL_LIBS
748 ICOTOOL
749 CONVERT
750 RSVG
751 FONTFORGE
752 PKG_CONFIG
753 MSGFMT
754 LDCONFIG
755 EGREP
756 GREP
757 LN_S
758 RANLIB
759 ARFLAGS
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 wine64_disable
767 TARGETFLAGS
769 CPPBIN
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 SET_MAKE
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 runstatedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_win16
832 enable_win64
833 enable_tests
834 enable_maintainer_mode
835 with_alsa
836 with_capi
837 with_cms
838 with_coreaudio
839 with_cups
840 with_curses
841 with_dbus
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amstream
903 enable_api_ms_win_appmodel_identity_l1_1_0
904 enable_api_ms_win_appmodel_runtime_l1_1_1
905 enable_api_ms_win_appmodel_runtime_l1_1_2
906 enable_api_ms_win_core_apiquery_l1_1_0
907 enable_api_ms_win_core_appcompat_l1_1_1
908 enable_api_ms_win_core_appinit_l1_1_0
909 enable_api_ms_win_core_atoms_l1_1_0
910 enable_api_ms_win_core_bem_l1_1_0
911 enable_api_ms_win_core_com_l1_1_0
912 enable_api_ms_win_core_com_l1_1_1
913 enable_api_ms_win_core_com_private_l1_1_0
914 enable_api_ms_win_core_comm_l1_1_0
915 enable_api_ms_win_core_console_l1_1_0
916 enable_api_ms_win_core_console_l2_1_0
917 enable_api_ms_win_core_crt_l1_1_0
918 enable_api_ms_win_core_crt_l2_1_0
919 enable_api_ms_win_core_datetime_l1_1_0
920 enable_api_ms_win_core_datetime_l1_1_1
921 enable_api_ms_win_core_debug_l1_1_0
922 enable_api_ms_win_core_debug_l1_1_1
923 enable_api_ms_win_core_delayload_l1_1_0
924 enable_api_ms_win_core_delayload_l1_1_1
925 enable_api_ms_win_core_errorhandling_l1_1_0
926 enable_api_ms_win_core_errorhandling_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_2
928 enable_api_ms_win_core_errorhandling_l1_1_3
929 enable_api_ms_win_core_fibers_l1_1_0
930 enable_api_ms_win_core_fibers_l1_1_1
931 enable_api_ms_win_core_file_l1_1_0
932 enable_api_ms_win_core_file_l1_2_0
933 enable_api_ms_win_core_file_l1_2_1
934 enable_api_ms_win_core_file_l1_2_2
935 enable_api_ms_win_core_file_l2_1_0
936 enable_api_ms_win_core_file_l2_1_1
937 enable_api_ms_win_core_file_l2_1_2
938 enable_api_ms_win_core_handle_l1_1_0
939 enable_api_ms_win_core_heap_l1_1_0
940 enable_api_ms_win_core_heap_l1_2_0
941 enable_api_ms_win_core_heap_l2_1_0
942 enable_api_ms_win_core_heap_obsolete_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_2_0
945 enable_api_ms_win_core_io_l1_1_0
946 enable_api_ms_win_core_io_l1_1_1
947 enable_api_ms_win_core_job_l1_1_0
948 enable_api_ms_win_core_job_l2_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_1
951 enable_api_ms_win_core_kernel32_private_l1_1_1
952 enable_api_ms_win_core_largeinteger_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_1
955 enable_api_ms_win_core_libraryloader_l1_2_0
956 enable_api_ms_win_core_libraryloader_l1_2_1
957 enable_api_ms_win_core_libraryloader_l1_2_2
958 enable_api_ms_win_core_localization_l1_1_0
959 enable_api_ms_win_core_localization_l1_2_0
960 enable_api_ms_win_core_localization_l1_2_1
961 enable_api_ms_win_core_localization_l2_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_2_0
964 enable_api_ms_win_core_localization_obsolete_l1_3_0
965 enable_api_ms_win_core_localization_private_l1_1_0
966 enable_api_ms_win_core_localregistry_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_1
969 enable_api_ms_win_core_memory_l1_1_2
970 enable_api_ms_win_core_misc_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_2_0
973 enable_api_ms_win_core_namespace_l1_1_0
974 enable_api_ms_win_core_normalization_l1_1_0
975 enable_api_ms_win_core_path_l1_1_0
976 enable_api_ms_win_core_privateprofile_l1_1_1
977 enable_api_ms_win_core_processenvironment_l1_1_0
978 enable_api_ms_win_core_processenvironment_l1_2_0
979 enable_api_ms_win_core_processthreads_l1_1_0
980 enable_api_ms_win_core_processthreads_l1_1_1
981 enable_api_ms_win_core_processthreads_l1_1_2
982 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
983 enable_api_ms_win_core_profile_l1_1_0
984 enable_api_ms_win_core_psapi_ansi_l1_1_0
985 enable_api_ms_win_core_psapi_l1_1_0
986 enable_api_ms_win_core_psapi_obsolete_l1_1_0
987 enable_api_ms_win_core_quirks_l1_1_0
988 enable_api_ms_win_core_realtime_l1_1_0
989 enable_api_ms_win_core_registry_l1_1_0
990 enable_api_ms_win_core_registry_l2_1_0
991 enable_api_ms_win_core_registryuserspecific_l1_1_0
992 enable_api_ms_win_core_rtlsupport_l1_1_0
993 enable_api_ms_win_core_rtlsupport_l1_2_0
994 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
995 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
996 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
997 enable_api_ms_win_core_shutdown_l1_1_0
998 enable_api_ms_win_core_sidebyside_l1_1_0
999 enable_api_ms_win_core_string_l1_1_0
1000 enable_api_ms_win_core_string_l2_1_0
1001 enable_api_ms_win_core_string_obsolete_l1_1_0
1002 enable_api_ms_win_core_stringansi_l1_1_0
1003 enable_api_ms_win_core_stringloader_l1_1_1
1004 enable_api_ms_win_core_synch_ansi_l1_1_0
1005 enable_api_ms_win_core_synch_l1_1_0
1006 enable_api_ms_win_core_synch_l1_2_0
1007 enable_api_ms_win_core_synch_l1_2_1
1008 enable_api_ms_win_core_sysinfo_l1_1_0
1009 enable_api_ms_win_core_sysinfo_l1_2_0
1010 enable_api_ms_win_core_sysinfo_l1_2_1
1011 enable_api_ms_win_core_threadpool_l1_1_0
1012 enable_api_ms_win_core_threadpool_l1_2_0
1013 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1014 enable_api_ms_win_core_threadpool_private_l1_1_0
1015 enable_api_ms_win_core_timezone_l1_1_0
1016 enable_api_ms_win_core_toolhelp_l1_1_0
1017 enable_api_ms_win_core_url_l1_1_0
1018 enable_api_ms_win_core_util_l1_1_0
1019 enable_api_ms_win_core_version_l1_1_0
1020 enable_api_ms_win_core_version_l1_1_1
1021 enable_api_ms_win_core_version_private_l1_1_0
1022 enable_api_ms_win_core_versionansi_l1_1_0
1023 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1024 enable_api_ms_win_core_winrt_error_l1_1_0
1025 enable_api_ms_win_core_winrt_error_l1_1_1
1026 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1027 enable_api_ms_win_core_winrt_l1_1_0
1028 enable_api_ms_win_core_winrt_registration_l1_1_0
1029 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1030 enable_api_ms_win_core_winrt_string_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_0
1032 enable_api_ms_win_core_wow64_l1_1_1
1033 enable_api_ms_win_core_xstate_l1_1_0
1034 enable_api_ms_win_core_xstate_l2_1_0
1035 enable_api_ms_win_crt_conio_l1_1_0
1036 enable_api_ms_win_crt_convert_l1_1_0
1037 enable_api_ms_win_crt_environment_l1_1_0
1038 enable_api_ms_win_crt_filesystem_l1_1_0
1039 enable_api_ms_win_crt_heap_l1_1_0
1040 enable_api_ms_win_crt_locale_l1_1_0
1041 enable_api_ms_win_crt_math_l1_1_0
1042 enable_api_ms_win_crt_multibyte_l1_1_0
1043 enable_api_ms_win_crt_private_l1_1_0
1044 enable_api_ms_win_crt_process_l1_1_0
1045 enable_api_ms_win_crt_runtime_l1_1_0
1046 enable_api_ms_win_crt_stdio_l1_1_0
1047 enable_api_ms_win_crt_string_l1_1_0
1048 enable_api_ms_win_crt_time_l1_1_0
1049 enable_api_ms_win_crt_utility_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_0
1051 enable_api_ms_win_devices_config_l1_1_1
1052 enable_api_ms_win_devices_query_l1_1_1
1053 enable_api_ms_win_downlevel_advapi32_l1_1_0
1054 enable_api_ms_win_downlevel_advapi32_l2_1_0
1055 enable_api_ms_win_downlevel_normaliz_l1_1_0
1056 enable_api_ms_win_downlevel_ole32_l1_1_0
1057 enable_api_ms_win_downlevel_shell32_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1059 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1060 enable_api_ms_win_downlevel_user32_l1_1_0
1061 enable_api_ms_win_downlevel_version_l1_1_0
1062 enable_api_ms_win_dx_d3dkmt_l1_1_0
1063 enable_api_ms_win_eventing_classicprovider_l1_1_0
1064 enable_api_ms_win_eventing_consumer_l1_1_0
1065 enable_api_ms_win_eventing_controller_l1_1_0
1066 enable_api_ms_win_eventing_legacy_l1_1_0
1067 enable_api_ms_win_eventing_provider_l1_1_0
1068 enable_api_ms_win_eventlog_legacy_l1_1_0
1069 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1070 enable_api_ms_win_mm_joystick_l1_1_0
1071 enable_api_ms_win_mm_misc_l1_1_1
1072 enable_api_ms_win_mm_mme_l1_1_0
1073 enable_api_ms_win_mm_time_l1_1_0
1074 enable_api_ms_win_ntuser_dc_access_l1_1_0
1075 enable_api_ms_win_ntuser_rectangle_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atmlib
1123 enable_authz
1124 enable_avicap32
1125 enable_avifil32
1126 enable_avrt
1127 enable_bcrypt
1128 enable_bluetoothapis
1129 enable_browseui
1130 enable_bthprops_cpl
1131 enable_cabinet
1132 enable_capi2032
1133 enable_cards
1134 enable_cdosys
1135 enable_cfgmgr32
1136 enable_clusapi
1137 enable_combase
1138 enable_comcat
1139 enable_comctl32
1140 enable_comdlg32
1141 enable_compstui
1142 enable_comsvcs
1143 enable_concrt140
1144 enable_connect
1145 enable_credui
1146 enable_crtdll
1147 enable_crypt32
1148 enable_cryptdlg
1149 enable_cryptdll
1150 enable_cryptext
1151 enable_cryptnet
1152 enable_cryptui
1153 enable_ctapi32
1154 enable_ctl3d32
1155 enable_d2d1
1156 enable_d3d10
1157 enable_d3d10_1
1158 enable_d3d10core
1159 enable_d3d11
1160 enable_d3d12
1161 enable_d3d8
1162 enable_d3d9
1163 enable_d3dcompiler_33
1164 enable_d3dcompiler_34
1165 enable_d3dcompiler_35
1166 enable_d3dcompiler_36
1167 enable_d3dcompiler_37
1168 enable_d3dcompiler_38
1169 enable_d3dcompiler_39
1170 enable_d3dcompiler_40
1171 enable_d3dcompiler_41
1172 enable_d3dcompiler_42
1173 enable_d3dcompiler_43
1174 enable_d3dcompiler_46
1175 enable_d3dcompiler_47
1176 enable_d3dim
1177 enable_d3drm
1178 enable_d3dx10_33
1179 enable_d3dx10_34
1180 enable_d3dx10_35
1181 enable_d3dx10_36
1182 enable_d3dx10_37
1183 enable_d3dx10_38
1184 enable_d3dx10_39
1185 enable_d3dx10_40
1186 enable_d3dx10_41
1187 enable_d3dx10_42
1188 enable_d3dx10_43
1189 enable_d3dx11_42
1190 enable_d3dx11_43
1191 enable_d3dx9_24
1192 enable_d3dx9_25
1193 enable_d3dx9_26
1194 enable_d3dx9_27
1195 enable_d3dx9_28
1196 enable_d3dx9_29
1197 enable_d3dx9_30
1198 enable_d3dx9_31
1199 enable_d3dx9_32
1200 enable_d3dx9_33
1201 enable_d3dx9_34
1202 enable_d3dx9_35
1203 enable_d3dx9_36
1204 enable_d3dx9_37
1205 enable_d3dx9_38
1206 enable_d3dx9_39
1207 enable_d3dx9_40
1208 enable_d3dx9_41
1209 enable_d3dx9_42
1210 enable_d3dx9_43
1211 enable_d3dxof
1212 enable_davclnt
1213 enable_dbgeng
1214 enable_dbghelp
1215 enable_dciman32
1216 enable_ddraw
1217 enable_ddrawex
1218 enable_devenum
1219 enable_dhcpcsvc
1220 enable_dhtmled_ocx
1221 enable_difxapi
1222 enable_dinput
1223 enable_dinput8
1224 enable_dispex
1225 enable_dmband
1226 enable_dmcompos
1227 enable_dmime
1228 enable_dmloader
1229 enable_dmoguids
1230 enable_dmscript
1231 enable_dmstyle
1232 enable_dmsynth
1233 enable_dmusic
1234 enable_dmusic32
1235 enable_dnsapi
1236 enable_dplay
1237 enable_dplayx
1238 enable_dpnaddr
1239 enable_dpnet
1240 enable_dpnhpast
1241 enable_dpnlobby
1242 enable_dpvoice
1243 enable_dpwsockx
1244 enable_drmclien
1245 enable_dsound
1246 enable_dsquery
1247 enable_dssenh
1248 enable_dswave
1249 enable_dwmapi
1250 enable_dwrite
1251 enable_dx8vb
1252 enable_dxdiagn
1253 enable_dxerr8
1254 enable_dxerr9
1255 enable_dxgi
1256 enable_dxguid
1257 enable_dxva2
1258 enable_esent
1259 enable_evr
1260 enable_explorerframe
1261 enable_ext_ms_win_authz_context_l1_1_0
1262 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1263 enable_ext_ms_win_dwmapi_ext_l1_1_0
1264 enable_ext_ms_win_gdi_dc_create_l1_1_1
1265 enable_ext_ms_win_gdi_dc_l1_2_0
1266 enable_ext_ms_win_gdi_devcaps_l1_1_0
1267 enable_ext_ms_win_gdi_draw_l1_1_1
1268 enable_ext_ms_win_gdi_render_l1_1_0
1269 enable_ext_ms_win_kernel32_package_current_l1_1_0
1270 enable_ext_ms_win_kernel32_package_l1_1_1
1271 enable_ext_ms_win_ntuser_draw_l1_1_0
1272 enable_ext_ms_win_ntuser_gui_l1_3_0
1273 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1274 enable_ext_ms_win_ntuser_message_l1_1_1
1275 enable_ext_ms_win_ntuser_misc_l1_5_1
1276 enable_ext_ms_win_ntuser_mouse_l1_1_0
1277 enable_ext_ms_win_ntuser_private_l1_1_1
1278 enable_ext_ms_win_ntuser_private_l1_3_1
1279 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1280 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_window_l1_1_1
1282 enable_ext_ms_win_ntuser_window_l1_1_4
1283 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1284 enable_ext_ms_win_oleacc_l1_1_0
1285 enable_ext_ms_win_ras_rasapi32_l1_1_0
1286 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1293 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1296 enable_ext_ms_win_security_credui_l1_1_0
1297 enable_ext_ms_win_security_cryptui_l1_1_0
1298 enable_ext_ms_win_uxtheme_themes_l1_1_0
1299 enable_faultrep
1300 enable_feclient
1301 enable_fltlib
1302 enable_fltmgr_sys
1303 enable_fntcache
1304 enable_fontsub
1305 enable_fusion
1306 enable_fwpuclnt
1307 enable_gameux
1308 enable_gdi32
1309 enable_gdiplus
1310 enable_glu32
1311 enable_gphoto2_ds
1312 enable_gpkcsp
1313 enable_hal
1314 enable_hhctrl_ocx
1315 enable_hid
1316 enable_hidclass_sys
1317 enable_hlink
1318 enable_hnetcfg
1319 enable_httpapi
1320 enable_iccvid
1321 enable_icmp
1322 enable_ieframe
1323 enable_ieproxy
1324 enable_imaadp32_acm
1325 enable_imagehlp
1326 enable_imm32
1327 enable_inetcomm
1328 enable_inetcpl_cpl
1329 enable_inetmib1
1330 enable_infosoft
1331 enable_initpki
1332 enable_inkobj
1333 enable_inseng
1334 enable_iphlpapi
1335 enable_iprop
1336 enable_irprops_cpl
1337 enable_itircl
1338 enable_itss
1339 enable_joy_cpl
1340 enable_jscript
1341 enable_jsproxy
1342 enable_kerberos
1343 enable_kernel32
1344 enable_kernelbase
1345 enable_ksuser
1346 enable_ktmw32
1347 enable_l3codeca_acm
1348 enable_loadperf
1349 enable_localspl
1350 enable_localui
1351 enable_lz32
1352 enable_mapi32
1353 enable_mapistub
1354 enable_mciavi32
1355 enable_mcicda
1356 enable_mciqtz32
1357 enable_mciseq
1358 enable_mciwave
1359 enable_mf
1360 enable_mf3216
1361 enable_mfplat
1362 enable_mfreadwrite
1363 enable_mfuuid
1364 enable_mgmtapi
1365 enable_midimap
1366 enable_mlang
1367 enable_mmcndmgr
1368 enable_mmdevapi
1369 enable_mountmgr_sys
1370 enable_mp3dmod
1371 enable_mpr
1372 enable_mprapi
1373 enable_msacm32_drv
1374 enable_msacm32
1375 enable_msadp32_acm
1376 enable_msasn1
1377 enable_mscat32
1378 enable_mscms
1379 enable_mscoree
1380 enable_msctf
1381 enable_msctfp
1382 enable_msdaps
1383 enable_msdelta
1384 enable_msdmo
1385 enable_msdrm
1386 enable_msftedit
1387 enable_msg711_acm
1388 enable_msgsm32_acm
1389 enable_mshtml_tlb
1390 enable_mshtml
1391 enable_msi
1392 enable_msident
1393 enable_msimg32
1394 enable_msimsg
1395 enable_msimtf
1396 enable_msisip
1397 enable_msisys_ocx
1398 enable_msls31
1399 enable_msnet32
1400 enable_mspatcha
1401 enable_msports
1402 enable_msrle32
1403 enable_msscript_ocx
1404 enable_mssign32
1405 enable_mssip32
1406 enable_mstask
1407 enable_msvcirt
1408 enable_msvcm80
1409 enable_msvcm90
1410 enable_msvcp100
1411 enable_msvcp110
1412 enable_msvcp120
1413 enable_msvcp120_app
1414 enable_msvcp140
1415 enable_msvcp60
1416 enable_msvcp70
1417 enable_msvcp71
1418 enable_msvcp80
1419 enable_msvcp90
1420 enable_msvcr100
1421 enable_msvcr110
1422 enable_msvcr120
1423 enable_msvcr120_app
1424 enable_msvcr70
1425 enable_msvcr71
1426 enable_msvcr80
1427 enable_msvcr90
1428 enable_msvcrt
1429 enable_msvcrt20
1430 enable_msvcrt40
1431 enable_msvcrtd
1432 enable_msvfw32
1433 enable_msvidc32
1434 enable_mswsock
1435 enable_msxml
1436 enable_msxml2
1437 enable_msxml3
1438 enable_msxml4
1439 enable_msxml6
1440 enable_mtxdm
1441 enable_ncrypt
1442 enable_nddeapi
1443 enable_ndis_sys
1444 enable_netapi32
1445 enable_netcfgx
1446 enable_netprofm
1447 enable_newdev
1448 enable_ninput
1449 enable_normaliz
1450 enable_npmshtml
1451 enable_npptools
1452 enable_ntdll
1453 enable_ntdsapi
1454 enable_ntoskrnl_exe
1455 enable_ntprint
1456 enable_objsel
1457 enable_odbc32
1458 enable_odbccp32
1459 enable_odbccu32
1460 enable_ole32
1461 enable_oleacc
1462 enable_oleaut32
1463 enable_olecli32
1464 enable_oledb32
1465 enable_oledlg
1466 enable_olepro32
1467 enable_olesvr32
1468 enable_olethk32
1469 enable_opcservices
1470 enable_openal32
1471 enable_opencl
1472 enable_opengl32
1473 enable_packager
1474 enable_pdh
1475 enable_photometadatahandler
1476 enable_pidgen
1477 enable_powrprof
1478 enable_printui
1479 enable_prntvpt
1480 enable_propsys
1481 enable_psapi
1482 enable_pstorec
1483 enable_qcap
1484 enable_qedit
1485 enable_qmgr
1486 enable_qmgrprxy
1487 enable_quartz
1488 enable_query
1489 enable_rasapi32
1490 enable_rasdlg
1491 enable_regapi
1492 enable_resutils
1493 enable_riched20
1494 enable_riched32
1495 enable_rpcrt4
1496 enable_rsabase
1497 enable_rsaenh
1498 enable_rstrtmgr
1499 enable_rtutils
1500 enable_samlib
1501 enable_sane_ds
1502 enable_sapi
1503 enable_sas
1504 enable_scarddlg
1505 enable_sccbase
1506 enable_schannel
1507 enable_schedsvc
1508 enable_scrobj
1509 enable_scrrun
1510 enable_scsiport_sys
1511 enable_secur32
1512 enable_security
1513 enable_sensapi
1514 enable_serialui
1515 enable_setupapi
1516 enable_sfc
1517 enable_sfc_os
1518 enable_shcore
1519 enable_shdoclc
1520 enable_shdocvw
1521 enable_shell32
1522 enable_shfolder
1523 enable_shlwapi
1524 enable_slbcsp
1525 enable_slc
1526 enable_snmpapi
1527 enable_softpub
1528 enable_spoolss
1529 enable_srclient
1530 enable_sspicli
1531 enable_stdole2_tlb
1532 enable_stdole32_tlb
1533 enable_sti
1534 enable_strmbase
1535 enable_strmdll
1536 enable_strmiids
1537 enable_svrapi
1538 enable_sxs
1539 enable_t2embed
1540 enable_tapi32
1541 enable_taskschd
1542 enable_tdh
1543 enable_tdi_sys
1544 enable_traffic
1545 enable_twain_32
1546 enable_ucrtbase
1547 enable_uiautomationcore
1548 enable_uiribbon
1549 enable_unicows
1550 enable_updspapi
1551 enable_url
1552 enable_urlmon
1553 enable_usbd_sys
1554 enable_user32
1555 enable_userenv
1556 enable_usp10
1557 enable_uuid
1558 enable_uxtheme
1559 enable_vbscript
1560 enable_vcomp
1561 enable_vcomp100
1562 enable_vcomp110
1563 enable_vcomp120
1564 enable_vcomp140
1565 enable_vcomp90
1566 enable_vcruntime140
1567 enable_vdmdbg
1568 enable_version
1569 enable_virtdisk
1570 enable_vssapi
1571 enable_vulkan_1
1572 enable_wbemdisp
1573 enable_wbemprox
1574 enable_wdscore
1575 enable_webservices
1576 enable_wer
1577 enable_wevtapi
1578 enable_wiaservc
1579 enable_wimgapi
1580 enable_windowscodecs
1581 enable_windowscodecsext
1582 enable_winealsa_drv
1583 enable_wineandroid_drv
1584 enable_winebus_sys
1585 enable_winecoreaudio_drv
1586 enable_winecrt0
1587 enable_wined3d
1588 enable_winegstreamer
1589 enable_winehid_sys
1590 enable_winejoystick_drv
1591 enable_winemac_drv
1592 enable_winemapi
1593 enable_wineoss_drv
1594 enable_wineps_drv
1595 enable_winepulse_drv
1596 enable_wineqtdecoder
1597 enable_winevulkan
1598 enable_winex11_drv
1599 enable_wing32
1600 enable_winhttp
1601 enable_wininet
1602 enable_winmm
1603 enable_winnls32
1604 enable_winscard
1605 enable_winspool_drv
1606 enable_winsta
1607 enable_wintab32
1608 enable_wintrust
1609 enable_winusb
1610 enable_wlanapi
1611 enable_wldap32
1612 enable_wmasf
1613 enable_wmcodecdspuuid
1614 enable_wmi
1615 enable_wmiutils
1616 enable_wmp
1617 enable_wmphoto
1618 enable_wmvcore
1619 enable_wnaspi32
1620 enable_wpc
1621 enable_wpcap
1622 enable_ws2_32
1623 enable_wsdapi
1624 enable_wshom_ocx
1625 enable_wsnmp32
1626 enable_wsock32
1627 enable_wtsapi32
1628 enable_wuapi
1629 enable_wuaueng
1630 enable_x3daudio1_0
1631 enable_x3daudio1_1
1632 enable_x3daudio1_2
1633 enable_x3daudio1_3
1634 enable_x3daudio1_4
1635 enable_x3daudio1_5
1636 enable_x3daudio1_6
1637 enable_x3daudio1_7
1638 enable_xapofx1_1
1639 enable_xapofx1_2
1640 enable_xapofx1_3
1641 enable_xapofx1_4
1642 enable_xapofx1_5
1643 enable_xaudio2_0
1644 enable_xaudio2_1
1645 enable_xaudio2_2
1646 enable_xaudio2_3
1647 enable_xaudio2_4
1648 enable_xaudio2_5
1649 enable_xaudio2_6
1650 enable_xaudio2_7
1651 enable_xaudio2_8
1652 enable_xaudio2_9
1653 enable_xinput1_1
1654 enable_xinput1_2
1655 enable_xinput1_3
1656 enable_xinput1_4
1657 enable_xinput9_1_0
1658 enable_xmllite
1659 enable_xolehlp
1660 enable_xpsprint
1661 enable_xpssvcs
1662 enable_fonts
1663 enable_include
1664 enable_port
1665 enable_wine
1666 enable_wpp
1667 enable_loader
1668 enable_po
1669 enable_arp
1670 enable_aspnet_regiis
1671 enable_attrib
1672 enable_cabarc
1673 enable_cacls
1674 enable_clock
1675 enable_cmd
1676 enable_conhost
1677 enable_control
1678 enable_cscript
1679 enable_dism
1680 enable_dpnsvr
1681 enable_dxdiag
1682 enable_eject
1683 enable_expand
1684 enable_explorer
1685 enable_extrac32
1686 enable_fc
1687 enable_find
1688 enable_findstr
1689 enable_fsutil
1690 enable_hh
1691 enable_hostname
1692 enable_icacls
1693 enable_icinfo
1694 enable_iexplore
1695 enable_ipconfig
1696 enable_lodctr
1697 enable_mofcomp
1698 enable_mshta
1699 enable_msiexec
1700 enable_msinfo32
1701 enable_net
1702 enable_netsh
1703 enable_netstat
1704 enable_ngen
1705 enable_notepad
1706 enable_oleview
1707 enable_ping
1708 enable_plugplay
1709 enable_powershell
1710 enable_presentationfontcache
1711 enable_progman
1712 enable_reg
1713 enable_regasm
1714 enable_regedit
1715 enable_regsvcs
1716 enable_regsvr32
1717 enable_rpcss
1718 enable_rundll32
1719 enable_sc
1720 enable_schtasks
1721 enable_sdbinst
1722 enable_secedit
1723 enable_servicemodelreg
1724 enable_services
1725 enable_shutdown
1726 enable_spoolsv
1727 enable_start
1728 enable_subst
1729 enable_svchost
1730 enable_systeminfo
1731 enable_taskkill
1732 enable_tasklist
1733 enable_taskmgr
1734 enable_termsv
1735 enable_uninstaller
1736 enable_unlodctr
1737 enable_view
1738 enable_wevtutil
1739 enable_wineboot
1740 enable_winebrowser
1741 enable_winecfg
1742 enable_wineconsole
1743 enable_winedbg
1744 enable_winedevice
1745 enable_winefile
1746 enable_winemenubuilder
1747 enable_winemine
1748 enable_winemsibuilder
1749 enable_winepath
1750 enable_winetest
1751 enable_winhlp32
1752 enable_winmgmt
1753 enable_winver
1754 enable_wmic
1755 enable_wmplayer
1756 enable_wordpad
1757 enable_write
1758 enable_wscript
1759 enable_wusa
1760 enable_xcopy
1761 enable_server
1762 enable_tools
1763 enable_sfnt2fon
1764 enable_widl
1765 enable_winebuild
1766 enable_winedump
1767 enable_winegcc
1768 enable_winemaker
1769 enable_wmc
1770 enable_wrc
1772 ac_precious_vars='build_alias
1773 host_alias
1774 target_alias
1776 CFLAGS
1777 LDFLAGS
1778 LIBS
1779 CPPFLAGS
1781 CXXFLAGS
1784 OBJC
1785 OBJCFLAGS
1786 OBJCPP
1787 XMKMF
1788 XML2_CFLAGS
1789 XML2_LIBS
1790 XSLT_CFLAGS
1791 XSLT_LIBS
1792 DBUS_CFLAGS
1793 DBUS_LIBS
1794 HAL_CFLAGS
1795 HAL_LIBS
1796 GNUTLS_CFLAGS
1797 GNUTLS_LIBS
1798 SANE_CFLAGS
1799 SANE_LIBS
1800 GPHOTO2_CFLAGS
1801 GPHOTO2_LIBS
1802 GPHOTO2_PORT_CFLAGS
1803 GPHOTO2_PORT_LIBS
1804 LCMS2_CFLAGS
1805 LCMS2_LIBS
1806 FREETYPE_CFLAGS
1807 FREETYPE_LIBS
1808 PULSE_CFLAGS
1809 PULSE_LIBS
1810 GSTREAMER_CFLAGS
1811 GSTREAMER_LIBS
1812 UDEV_CFLAGS
1813 UDEV_LIBS
1814 SDL2_CFLAGS
1815 SDL2_LIBS
1816 CAPI20_CFLAGS
1817 CAPI20_LIBS
1818 CUPS_CFLAGS
1819 CUPS_LIBS
1820 FONTCONFIG_CFLAGS
1821 FONTCONFIG_LIBS
1822 KRB5_CFLAGS
1823 KRB5_LIBS
1824 GSSAPI_CFLAGS
1825 GSSAPI_LIBS
1826 JPEG_CFLAGS
1827 JPEG_LIBS
1828 PNG_CFLAGS
1829 PNG_LIBS
1830 TIFF_CFLAGS
1831 TIFF_LIBS
1832 MPG123_CFLAGS
1833 MPG123_LIBS
1834 NETAPI_CFLAGS
1835 NETAPI_LIBS
1836 VKD3D_CFLAGS
1837 VKD3D_LIBS
1838 LDAP_CFLAGS
1839 LDAP_LIBS'
1842 # Initialize some variables set by options.
1843 ac_init_help=
1844 ac_init_version=false
1845 ac_unrecognized_opts=
1846 ac_unrecognized_sep=
1847 # The variables have the same names as the options, with
1848 # dashes changed to underlines.
1849 cache_file=/dev/null
1850 exec_prefix=NONE
1851 no_create=
1852 no_recursion=
1853 prefix=NONE
1854 program_prefix=NONE
1855 program_suffix=NONE
1856 program_transform_name=s,x,x,
1857 silent=
1858 site=
1859 srcdir=
1860 verbose=
1861 x_includes=NONE
1862 x_libraries=NONE
1864 # Installation directory options.
1865 # These are left unexpanded so users can "make install exec_prefix=/foo"
1866 # and all the variables that are supposed to be based on exec_prefix
1867 # by default will actually change.
1868 # Use braces instead of parens because sh, perl, etc. also accept them.
1869 # (The list follows the same order as the GNU Coding Standards.)
1870 bindir='${exec_prefix}/bin'
1871 sbindir='${exec_prefix}/sbin'
1872 libexecdir='${exec_prefix}/libexec'
1873 datarootdir='${prefix}/share'
1874 datadir='${datarootdir}'
1875 sysconfdir='${prefix}/etc'
1876 sharedstatedir='${prefix}/com'
1877 localstatedir='${prefix}/var'
1878 runstatedir='${localstatedir}/run'
1879 includedir='${prefix}/include'
1880 oldincludedir='/usr/include'
1881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1882 infodir='${datarootdir}/info'
1883 htmldir='${docdir}'
1884 dvidir='${docdir}'
1885 pdfdir='${docdir}'
1886 psdir='${docdir}'
1887 libdir='${exec_prefix}/lib'
1888 localedir='${datarootdir}/locale'
1889 mandir='${datarootdir}/man'
1891 ac_prev=
1892 ac_dashdash=
1893 for ac_option
1895 # If the previous option needs an argument, assign it.
1896 if test -n "$ac_prev"; then
1897 eval $ac_prev=\$ac_option
1898 ac_prev=
1899 continue
1902 case $ac_option in
1903 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1904 *=) ac_optarg= ;;
1905 *) ac_optarg=yes ;;
1906 esac
1908 # Accept the important Cygnus configure options, so we can diagnose typos.
1910 case $ac_dashdash$ac_option in
1912 ac_dashdash=yes ;;
1914 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1915 ac_prev=bindir ;;
1916 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1917 bindir=$ac_optarg ;;
1919 -build | --build | --buil | --bui | --bu)
1920 ac_prev=build_alias ;;
1921 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1922 build_alias=$ac_optarg ;;
1924 -cache-file | --cache-file | --cache-fil | --cache-fi \
1925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1926 ac_prev=cache_file ;;
1927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1929 cache_file=$ac_optarg ;;
1931 --config-cache | -C)
1932 cache_file=config.cache ;;
1934 -datadir | --datadir | --datadi | --datad)
1935 ac_prev=datadir ;;
1936 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1937 datadir=$ac_optarg ;;
1939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1940 | --dataroo | --dataro | --datar)
1941 ac_prev=datarootdir ;;
1942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1944 datarootdir=$ac_optarg ;;
1946 -disable-* | --disable-*)
1947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1948 # Reject names that are not valid shell variable names.
1949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1950 as_fn_error $? "invalid feature name: $ac_useropt"
1951 ac_useropt_orig=$ac_useropt
1952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1953 case $ac_user_opts in
1955 "enable_$ac_useropt"
1956 "*) ;;
1957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1958 ac_unrecognized_sep=', ';;
1959 esac
1960 eval enable_$ac_useropt=no ;;
1962 -docdir | --docdir | --docdi | --doc | --do)
1963 ac_prev=docdir ;;
1964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1965 docdir=$ac_optarg ;;
1967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1968 ac_prev=dvidir ;;
1969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1970 dvidir=$ac_optarg ;;
1972 -enable-* | --enable-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid feature name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "enable_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval enable_$ac_useropt=\$ac_optarg ;;
1988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1990 | --exec | --exe | --ex)
1991 ac_prev=exec_prefix ;;
1992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1994 | --exec=* | --exe=* | --ex=*)
1995 exec_prefix=$ac_optarg ;;
1997 -gas | --gas | --ga | --g)
1998 # Obsolete; use --with-gas.
1999 with_gas=yes ;;
2001 -help | --help | --hel | --he | -h)
2002 ac_init_help=long ;;
2003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2004 ac_init_help=recursive ;;
2005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2006 ac_init_help=short ;;
2008 -host | --host | --hos | --ho)
2009 ac_prev=host_alias ;;
2010 -host=* | --host=* | --hos=* | --ho=*)
2011 host_alias=$ac_optarg ;;
2013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2014 ac_prev=htmldir ;;
2015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2016 | --ht=*)
2017 htmldir=$ac_optarg ;;
2019 -includedir | --includedir | --includedi | --included | --include \
2020 | --includ | --inclu | --incl | --inc)
2021 ac_prev=includedir ;;
2022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2023 | --includ=* | --inclu=* | --incl=* | --inc=*)
2024 includedir=$ac_optarg ;;
2026 -infodir | --infodir | --infodi | --infod | --info | --inf)
2027 ac_prev=infodir ;;
2028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2029 infodir=$ac_optarg ;;
2031 -libdir | --libdir | --libdi | --libd)
2032 ac_prev=libdir ;;
2033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2034 libdir=$ac_optarg ;;
2036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2037 | --libexe | --libex | --libe)
2038 ac_prev=libexecdir ;;
2039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2040 | --libexe=* | --libex=* | --libe=*)
2041 libexecdir=$ac_optarg ;;
2043 -localedir | --localedir | --localedi | --localed | --locale)
2044 ac_prev=localedir ;;
2045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2046 localedir=$ac_optarg ;;
2048 -localstatedir | --localstatedir | --localstatedi | --localstated \
2049 | --localstate | --localstat | --localsta | --localst | --locals)
2050 ac_prev=localstatedir ;;
2051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2053 localstatedir=$ac_optarg ;;
2055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2056 ac_prev=mandir ;;
2057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2058 mandir=$ac_optarg ;;
2060 -nfp | --nfp | --nf)
2061 # Obsolete; use --without-fp.
2062 with_fp=no ;;
2064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2065 | --no-cr | --no-c | -n)
2066 no_create=yes ;;
2068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2070 no_recursion=yes ;;
2072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2074 | --oldin | --oldi | --old | --ol | --o)
2075 ac_prev=oldincludedir ;;
2076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2079 oldincludedir=$ac_optarg ;;
2081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2082 ac_prev=prefix ;;
2083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2084 prefix=$ac_optarg ;;
2086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2087 | --program-pre | --program-pr | --program-p)
2088 ac_prev=program_prefix ;;
2089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2091 program_prefix=$ac_optarg ;;
2093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2094 | --program-suf | --program-su | --program-s)
2095 ac_prev=program_suffix ;;
2096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2098 program_suffix=$ac_optarg ;;
2100 -program-transform-name | --program-transform-name \
2101 | --program-transform-nam | --program-transform-na \
2102 | --program-transform-n | --program-transform- \
2103 | --program-transform | --program-transfor \
2104 | --program-transfo | --program-transf \
2105 | --program-trans | --program-tran \
2106 | --progr-tra | --program-tr | --program-t)
2107 ac_prev=program_transform_name ;;
2108 -program-transform-name=* | --program-transform-name=* \
2109 | --program-transform-nam=* | --program-transform-na=* \
2110 | --program-transform-n=* | --program-transform-=* \
2111 | --program-transform=* | --program-transfor=* \
2112 | --program-transfo=* | --program-transf=* \
2113 | --program-trans=* | --program-tran=* \
2114 | --progr-tra=* | --program-tr=* | --program-t=*)
2115 program_transform_name=$ac_optarg ;;
2117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2118 ac_prev=pdfdir ;;
2119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2120 pdfdir=$ac_optarg ;;
2122 -psdir | --psdir | --psdi | --psd | --ps)
2123 ac_prev=psdir ;;
2124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2125 psdir=$ac_optarg ;;
2127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2128 | -silent | --silent | --silen | --sile | --sil)
2129 silent=yes ;;
2131 -runstatedir | --runstatedir | --runstatedi | --runstated \
2132 | --runstate | --runstat | --runsta | --runst | --runs \
2133 | --run | --ru | --r)
2134 ac_prev=runstatedir ;;
2135 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2136 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2137 | --run=* | --ru=* | --r=*)
2138 runstatedir=$ac_optarg ;;
2140 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2141 ac_prev=sbindir ;;
2142 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2143 | --sbi=* | --sb=*)
2144 sbindir=$ac_optarg ;;
2146 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2147 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2148 | --sharedst | --shareds | --shared | --share | --shar \
2149 | --sha | --sh)
2150 ac_prev=sharedstatedir ;;
2151 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2152 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2153 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2154 | --sha=* | --sh=*)
2155 sharedstatedir=$ac_optarg ;;
2157 -site | --site | --sit)
2158 ac_prev=site ;;
2159 -site=* | --site=* | --sit=*)
2160 site=$ac_optarg ;;
2162 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2163 ac_prev=srcdir ;;
2164 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2165 srcdir=$ac_optarg ;;
2167 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2168 | --syscon | --sysco | --sysc | --sys | --sy)
2169 ac_prev=sysconfdir ;;
2170 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2171 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2172 sysconfdir=$ac_optarg ;;
2174 -target | --target | --targe | --targ | --tar | --ta | --t)
2175 ac_prev=target_alias ;;
2176 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2177 target_alias=$ac_optarg ;;
2179 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2180 verbose=yes ;;
2182 -version | --version | --versio | --versi | --vers | -V)
2183 ac_init_version=: ;;
2185 -with-* | --with-*)
2186 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2187 # Reject names that are not valid shell variable names.
2188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2189 as_fn_error $? "invalid package name: $ac_useropt"
2190 ac_useropt_orig=$ac_useropt
2191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2192 case $ac_user_opts in
2194 "with_$ac_useropt"
2195 "*) ;;
2196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2197 ac_unrecognized_sep=', ';;
2198 esac
2199 eval with_$ac_useropt=\$ac_optarg ;;
2201 -without-* | --without-*)
2202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2203 # Reject names that are not valid shell variable names.
2204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2205 as_fn_error $? "invalid package name: $ac_useropt"
2206 ac_useropt_orig=$ac_useropt
2207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2208 case $ac_user_opts in
2210 "with_$ac_useropt"
2211 "*) ;;
2212 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2213 ac_unrecognized_sep=', ';;
2214 esac
2215 eval with_$ac_useropt=no ;;
2217 --x)
2218 # Obsolete; use --with-x.
2219 with_x=yes ;;
2221 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2222 | --x-incl | --x-inc | --x-in | --x-i)
2223 ac_prev=x_includes ;;
2224 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2225 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2226 x_includes=$ac_optarg ;;
2228 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2229 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2230 ac_prev=x_libraries ;;
2231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2233 x_libraries=$ac_optarg ;;
2235 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2236 Try \`$0 --help' for more information"
2239 *=*)
2240 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2241 # Reject names that are not valid shell variable names.
2242 case $ac_envvar in #(
2243 '' | [0-9]* | *[!_$as_cr_alnum]* )
2244 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2245 esac
2246 eval $ac_envvar=\$ac_optarg
2247 export $ac_envvar ;;
2250 # FIXME: should be removed in autoconf 3.0.
2251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2257 esac
2258 done
2260 if test -n "$ac_prev"; then
2261 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2262 as_fn_error $? "missing argument to $ac_option"
2265 if test -n "$ac_unrecognized_opts"; then
2266 case $enable_option_checking in
2267 no) ;;
2268 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2270 esac
2273 # Check all directory arguments for consistency.
2274 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2275 datadir sysconfdir sharedstatedir localstatedir includedir \
2276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2277 libdir localedir mandir runstatedir
2279 eval ac_val=\$$ac_var
2280 # Remove trailing slashes.
2281 case $ac_val in
2282 */ )
2283 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2284 eval $ac_var=\$ac_val;;
2285 esac
2286 # Be sure to have absolute directory names.
2287 case $ac_val in
2288 [\\/$]* | ?:[\\/]* ) continue;;
2289 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2290 esac
2291 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2292 done
2294 # There might be people who depend on the old broken behavior: `$host'
2295 # used to hold the argument of --host etc.
2296 # FIXME: To remove some day.
2297 build=$build_alias
2298 host=$host_alias
2299 target=$target_alias
2301 # FIXME: To remove some day.
2302 if test "x$host_alias" != x; then
2303 if test "x$build_alias" = x; then
2304 cross_compiling=maybe
2305 elif test "x$build_alias" != "x$host_alias"; then
2306 cross_compiling=yes
2310 ac_tool_prefix=
2311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2313 test "$silent" = yes && exec 6>/dev/null
2316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2317 ac_ls_di=`ls -di .` &&
2318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2319 as_fn_error $? "working directory cannot be determined"
2320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2321 as_fn_error $? "pwd does not report name of working directory"
2324 # Find the source files, if location was not specified.
2325 if test -z "$srcdir"; then
2326 ac_srcdir_defaulted=yes
2327 # Try the directory containing this script, then the parent directory.
2328 ac_confdir=`$as_dirname -- "$as_myself" ||
2329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2330 X"$as_myself" : 'X\(//\)[^/]' \| \
2331 X"$as_myself" : 'X\(//\)$' \| \
2332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2333 $as_echo X"$as_myself" |
2334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2335 s//\1/
2338 /^X\(\/\/\)[^/].*/{
2339 s//\1/
2342 /^X\(\/\/\)$/{
2343 s//\1/
2346 /^X\(\/\).*/{
2347 s//\1/
2350 s/.*/./; q'`
2351 srcdir=$ac_confdir
2352 if test ! -r "$srcdir/$ac_unique_file"; then
2353 srcdir=..
2355 else
2356 ac_srcdir_defaulted=no
2358 if test ! -r "$srcdir/$ac_unique_file"; then
2359 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2360 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2363 ac_abs_confdir=`(
2364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2365 pwd)`
2366 # When building in place, set srcdir=.
2367 if test "$ac_abs_confdir" = "$ac_pwd"; then
2368 srcdir=.
2370 # Remove unnecessary trailing slashes from srcdir.
2371 # Double slashes in file names in object file debugging info
2372 # mess up M-x gdb in Emacs.
2373 case $srcdir in
2374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2375 esac
2376 for ac_var in $ac_precious_vars; do
2377 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2378 eval ac_env_${ac_var}_value=\$${ac_var}
2379 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2380 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2381 done
2384 # Report the --help message.
2386 if test "$ac_init_help" = "long"; then
2387 # Omit some internal or obsolete options to make the list less imposing.
2388 # This message is too long to be a string in the A/UX 3.1 sh.
2389 cat <<_ACEOF
2390 \`configure' configures Wine 3.15 to adapt to many kinds of systems.
2392 Usage: $0 [OPTION]... [VAR=VALUE]...
2394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2395 VAR=VALUE. See below for descriptions of some of the useful variables.
2397 Defaults for the options are specified in brackets.
2399 Configuration:
2400 -h, --help display this help and exit
2401 --help=short display options specific to this package
2402 --help=recursive display the short help of all the included packages
2403 -V, --version display version information and exit
2404 -q, --quiet, --silent do not print \`checking ...' messages
2405 --cache-file=FILE cache test results in FILE [disabled]
2406 -C, --config-cache alias for \`--cache-file=config.cache'
2407 -n, --no-create do not create output files
2408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2410 Installation directories:
2411 --prefix=PREFIX install architecture-independent files in PREFIX
2412 [$ac_default_prefix]
2413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2414 [PREFIX]
2416 By default, \`make install' will install all the files in
2417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2419 for instance \`--prefix=\$HOME'.
2421 For better control, use the options below.
2423 Fine tuning of the installation directories:
2424 --bindir=DIR user executables [EPREFIX/bin]
2425 --sbindir=DIR system admin executables [EPREFIX/sbin]
2426 --libexecdir=DIR program executables [EPREFIX/libexec]
2427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2430 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2431 --libdir=DIR object code libraries [EPREFIX/lib]
2432 --includedir=DIR C header files [PREFIX/include]
2433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2436 --infodir=DIR info documentation [DATAROOTDIR/info]
2437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2438 --mandir=DIR man documentation [DATAROOTDIR/man]
2439 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2440 --htmldir=DIR html documentation [DOCDIR]
2441 --dvidir=DIR dvi documentation [DOCDIR]
2442 --pdfdir=DIR pdf documentation [DOCDIR]
2443 --psdir=DIR ps documentation [DOCDIR]
2444 _ACEOF
2446 cat <<\_ACEOF
2448 X features:
2449 --x-includes=DIR X include files are in DIR
2450 --x-libraries=DIR X library files are in DIR
2452 System types:
2453 --build=BUILD configure for building on BUILD [guessed]
2454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2455 _ACEOF
2458 if test -n "$ac_init_help"; then
2459 case $ac_init_help in
2460 short | recursive ) echo "Configuration of Wine 3.15:";;
2461 esac
2462 cat <<\_ACEOF
2464 Optional Features:
2465 --disable-option-checking ignore unrecognized --enable/--with options
2466 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2467 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2468 --disable-win16 do not include Win16 support
2469 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2470 binaries)
2471 --disable-tests do not build the regression tests
2472 --enable-maintainer-mode
2473 enable maintainer-specific build rules
2474 --disable-largefile omit support for large files
2476 Optional Packages:
2477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2479 --without-alsa do not use the Alsa sound support
2480 --without-capi do not use CAPI (ISDN support)
2481 --without-cms do not use CMS (color management support)
2482 --without-coreaudio do not use the CoreAudio sound support
2483 --without-cups do not use CUPS
2484 --without-curses do not use (n)curses
2485 --without-dbus do not use DBus (dynamic device support)
2486 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2487 --without-fontconfig do not use fontconfig
2488 --without-freetype do not use the FreeType library
2489 --without-gettext do not use gettext
2490 --with-gettextpo use the GetTextPO library to rebuild po files
2491 --without-gphoto do not use gphoto (Digital Camera support)
2492 --without-glu do not use the GLU library
2493 --without-gnutls do not use GnuTLS (schannel support)
2494 --without-gsm do not use libgsm (GSM 06.10 codec support)
2495 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2496 --without-gstreamer do not use GStreamer (codecs support)
2497 --without-hal do not use HAL (dynamic device support)
2498 --without-jpeg do not use JPEG
2499 --without-krb5 do not use krb5 (Kerberos)
2500 --without-ldap do not use LDAP
2501 --without-mpg123 do not use the mpg123 library
2502 --without-netapi do not use the Samba NetAPI library
2503 --without-openal do not use OpenAL
2504 --without-opencl do not use OpenCL
2505 --without-opengl do not use OpenGL
2506 --without-osmesa do not use the OSMesa library
2507 --without-oss do not use the OSS sound support
2508 --without-pcap do not use the Packet Capture library
2509 --without-png do not use PNG
2510 --without-pthread do not use the pthread library
2511 --without-pulse do not use PulseAudio sound support
2512 --without-sane do not use SANE (scanner support)
2513 --without-sdl do not use SDL
2514 --without-tiff do not use TIFF
2515 --without-udev do not use udev (plug and play support)
2516 --without-v4l do not use v4l1 (v4l support)
2517 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2518 --without-vulkan do not use Vulkan
2519 --without-xcomposite do not use the Xcomposite extension
2520 --without-xcursor do not use the Xcursor extension
2521 --without-xfixes do not use Xfixes for clipboard change notifications
2522 --without-xinerama do not use Xinerama (multi-monitor support)
2523 --without-xinput do not use the Xinput extension
2524 --without-xinput2 do not use the Xinput 2 extension
2525 --without-xml do not use XML
2526 --without-xrandr do not use Xrandr (resolution changes)
2527 --without-xrender do not use the Xrender extension
2528 --without-xshape do not use the Xshape extension
2529 --without-xshm do not use XShm (shared memory extension)
2530 --without-xslt do not use XSLT
2531 --without-xxf86vm do not use XFree video mode extension
2532 --without-zlib do not use Zlib (data compression)
2533 --with-wine-tools=DIR use Wine tools from directory DIR
2534 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2535 --with-x use the X Window System
2537 Some influential environment variables:
2538 CC C compiler command
2539 CFLAGS C compiler flags
2540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2541 nonstandard directory <lib dir>
2542 LIBS libraries to pass to the linker, e.g. -l<library>
2543 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2544 you have headers in a nonstandard directory <include dir>
2545 CXX C++ compiler command
2546 CXXFLAGS C++ compiler flags
2547 CPP C preprocessor
2548 OBJC Objective C compiler command
2549 OBJCFLAGS Objective C compiler flags
2550 OBJCPP Objective C preprocessor
2551 XMKMF Path to xmkmf, Makefile generator for X Window System
2552 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2553 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2554 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2555 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2556 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2557 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2558 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2559 HAL_LIBS Linker flags for hal, overriding pkg-config
2560 GNUTLS_CFLAGS
2561 C compiler flags for gnutls, overriding pkg-config
2562 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2563 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2564 SANE_LIBS Linker flags for libsane, overriding pkg-config
2565 GPHOTO2_CFLAGS
2566 C compiler flags for libgphoto2, overriding pkg-config
2567 GPHOTO2_LIBS
2568 Linker flags for libgphoto2, overriding pkg-config
2569 GPHOTO2_PORT_CFLAGS
2570 C compiler flags for libgphoto2_port, overriding pkg-config
2571 GPHOTO2_PORT_LIBS
2572 Linker flags for libgphoto2_port, overriding pkg-config
2573 LCMS2_CFLAGS
2574 C compiler flags for lcms2, overriding pkg-config
2575 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2576 FREETYPE_CFLAGS
2577 C compiler flags for freetype2, overriding pkg-config
2578 FREETYPE_LIBS
2579 Linker flags for freetype2, overriding pkg-config
2580 PULSE_CFLAGS
2581 C compiler flags for libpulse, overriding pkg-config
2582 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2583 GSTREAMER_CFLAGS
2584 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2585 gstreamer-audio-1.0, overriding pkg-config
2586 GSTREAMER_LIBS
2587 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2588 gstreamer-audio-1.0, overriding pkg-config
2589 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2590 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2591 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2592 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2593 CAPI20_CFLAGS
2594 C compiler flags for capi20, overriding pkg-config
2595 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2596 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2597 CUPS_LIBS Linker flags for cups, overriding pkg-config
2598 FONTCONFIG_CFLAGS
2599 C compiler flags for fontconfig, overriding pkg-config
2600 FONTCONFIG_LIBS
2601 Linker flags for fontconfig, overriding pkg-config
2602 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2603 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2604 GSSAPI_CFLAGS
2605 C compiler flags for krb5-gssapi, overriding pkg-config
2606 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2607 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2608 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2609 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2610 PNG_LIBS Linker flags for libpng, overriding pkg-config
2611 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2612 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2613 MPG123_CFLAGS
2614 C compiler flags for libmpg123, overriding pkg-config
2615 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2616 NETAPI_CFLAGS
2617 C compiler flags for netapi, overriding pkg-config
2618 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2619 VKD3D_CFLAGS
2620 C compiler flags for libvkd3d, overriding pkg-config
2621 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2622 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2623 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2625 Use these variables to override the choices made by `configure' or to help
2626 it to find libraries and programs with nonstandard names/locations.
2628 Report bugs to <wine-devel@winehq.org>.
2629 Wine home page: <https://www.winehq.org>.
2630 _ACEOF
2631 ac_status=$?
2634 if test "$ac_init_help" = "recursive"; then
2635 # If there are subdirs, report their specific --help.
2636 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2637 test -d "$ac_dir" ||
2638 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2639 continue
2640 ac_builddir=.
2642 case "$ac_dir" in
2643 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2645 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2646 # A ".." for each directory in $ac_dir_suffix.
2647 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2648 case $ac_top_builddir_sub in
2649 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2650 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2651 esac ;;
2652 esac
2653 ac_abs_top_builddir=$ac_pwd
2654 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2655 # for backward compatibility:
2656 ac_top_builddir=$ac_top_build_prefix
2658 case $srcdir in
2659 .) # We are building in place.
2660 ac_srcdir=.
2661 ac_top_srcdir=$ac_top_builddir_sub
2662 ac_abs_top_srcdir=$ac_pwd ;;
2663 [\\/]* | ?:[\\/]* ) # Absolute name.
2664 ac_srcdir=$srcdir$ac_dir_suffix;
2665 ac_top_srcdir=$srcdir
2666 ac_abs_top_srcdir=$srcdir ;;
2667 *) # Relative name.
2668 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2669 ac_top_srcdir=$ac_top_build_prefix$srcdir
2670 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2671 esac
2672 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2674 cd "$ac_dir" || { ac_status=$?; continue; }
2675 # Check for guested configure.
2676 if test -f "$ac_srcdir/configure.gnu"; then
2677 echo &&
2678 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2679 elif test -f "$ac_srcdir/configure"; then
2680 echo &&
2681 $SHELL "$ac_srcdir/configure" --help=recursive
2682 else
2683 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2684 fi || ac_status=$?
2685 cd "$ac_pwd" || { ac_status=$?; break; }
2686 done
2689 test -n "$ac_init_help" && exit $ac_status
2690 if $ac_init_version; then
2691 cat <<\_ACEOF
2692 Wine configure 3.15
2693 generated by GNU Autoconf 2.69
2695 Copyright (C) 2012 Free Software Foundation, Inc.
2696 This configure script is free software; the Free Software Foundation
2697 gives unlimited permission to copy, distribute and modify it.
2698 _ACEOF
2699 exit
2702 ## ------------------------ ##
2703 ## Autoconf initialization. ##
2704 ## ------------------------ ##
2706 # ac_fn_c_try_compile LINENO
2707 # --------------------------
2708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2709 ac_fn_c_try_compile ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 rm -f conftest.$ac_objext
2713 if { { ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719 $as_echo "$ac_try_echo"; } >&5
2720 (eval "$ac_compile") 2>conftest.err
2721 ac_status=$?
2722 if test -s conftest.err; then
2723 grep -v '^ *+' conftest.err >conftest.er1
2724 cat conftest.er1 >&5
2725 mv -f conftest.er1 conftest.err
2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728 test $ac_status = 0; } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then :
2732 ac_retval=0
2733 else
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 ac_retval=1
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 as_fn_set_status $ac_retval
2742 } # ac_fn_c_try_compile
2744 # ac_fn_cxx_try_compile LINENO
2745 # ----------------------------
2746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_cxx_try_compile ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 rm -f conftest.$ac_objext
2751 if { { ac_try="$ac_compile"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 $as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_compile") 2>conftest.err
2759 ac_status=$?
2760 if test -s conftest.err; then
2761 grep -v '^ *+' conftest.err >conftest.er1
2762 cat conftest.er1 >&5
2763 mv -f conftest.er1 conftest.err
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; } && {
2767 test -z "$ac_cxx_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest.$ac_objext; then :
2770 ac_retval=0
2771 else
2772 $as_echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2775 ac_retval=1
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 as_fn_set_status $ac_retval
2780 } # ac_fn_cxx_try_compile
2782 # ac_fn_c_try_link LINENO
2783 # -----------------------
2784 # Try to link conftest.$ac_ext, and return whether this succeeded.
2785 ac_fn_c_try_link ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 rm -f conftest.$ac_objext conftest$ac_exeext
2789 if { { ac_try="$ac_link"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>conftest.err
2797 ac_status=$?
2798 if test -s conftest.err; then
2799 grep -v '^ *+' conftest.err >conftest.er1
2800 cat conftest.er1 >&5
2801 mv -f conftest.er1 conftest.err
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest$ac_exeext && {
2808 test "$cross_compiling" = yes ||
2809 test -x conftest$ac_exeext
2810 }; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2819 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2820 # interfere with the next link command; also delete a directory that is
2821 # left behind by Apple's compiler. We do this before executing the actions.
2822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 as_fn_set_status $ac_retval
2826 } # ac_fn_c_try_link
2828 # ac_fn_c_try_cpp LINENO
2829 # ----------------------
2830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2831 ac_fn_c_try_cpp ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 if { { ac_try="$ac_cpp conftest.$ac_ext"
2835 case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838 esac
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2842 ac_status=$?
2843 if test -s conftest.err; then
2844 grep -v '^ *+' conftest.err >conftest.er1
2845 cat conftest.er1 >&5
2846 mv -f conftest.er1 conftest.err
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 test $ac_status = 0; } > conftest.i && {
2850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2851 test ! -s conftest.err
2852 }; then :
2853 ac_retval=0
2854 else
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=1
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status $ac_retval
2863 } # ac_fn_c_try_cpp
2865 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2866 # -------------------------------------------------------
2867 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2868 # the include files in INCLUDES and setting the cache variable VAR
2869 # accordingly.
2870 ac_fn_c_check_header_mongrel ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 if eval \${$3+:} false; then :
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2875 $as_echo_n "checking for $2... " >&6; }
2876 if eval \${$3+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 eval ac_res=\$$3
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2881 $as_echo "$ac_res" >&6; }
2882 else
2883 # Is the header compilable?
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2885 $as_echo_n "checking $2 usability... " >&6; }
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 ac_header_compiler=yes
2893 else
2894 ac_header_compiler=no
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2898 $as_echo "$ac_header_compiler" >&6; }
2900 # Is the header present?
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2902 $as_echo_n "checking $2 presence... " >&6; }
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905 #include <$2>
2906 _ACEOF
2907 if ac_fn_c_try_cpp "$LINENO"; then :
2908 ac_header_preproc=yes
2909 else
2910 ac_header_preproc=no
2912 rm -f conftest.err conftest.i conftest.$ac_ext
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2914 $as_echo "$ac_header_preproc" >&6; }
2916 # So? What about this header?
2917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2918 yes:no: )
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2920 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2924 no:yes:* )
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2926 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2928 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2930 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2932 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2935 ( $as_echo "## ------------------------------------ ##
2936 ## Report this to wine-devel@winehq.org ##
2937 ## ------------------------------------ ##"
2938 ) | sed "s/^/$as_me: WARNING: /" >&2
2940 esac
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \${$3+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 eval "$3=\$ac_header_compiler"
2948 eval ac_res=\$$3
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2950 $as_echo "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_header_mongrel
2956 # ac_fn_c_try_run LINENO
2957 # ----------------------
2958 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2959 # that executables *can* be run.
2960 ac_fn_c_try_run ()
2962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2963 if { { ac_try="$ac_link"
2964 case "(($ac_try" in
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2967 esac
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2971 ac_status=$?
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2974 { { case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2977 esac
2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979 $as_echo "$ac_try_echo"; } >&5
2980 (eval "$ac_try") 2>&5
2981 ac_status=$?
2982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983 test $ac_status = 0; }; }; then :
2984 ac_retval=0
2985 else
2986 $as_echo "$as_me: program exited with status $ac_status" >&5
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 ac_retval=$ac_status
2992 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2994 as_fn_set_status $ac_retval
2996 } # ac_fn_c_try_run
2998 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2999 # -------------------------------------------------------
3000 # Tests whether HEADER exists and can be compiled using the include files in
3001 # INCLUDES, setting the cache variable VAR accordingly.
3002 ac_fn_c_check_header_compile ()
3004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3006 $as_echo_n "checking for $2... " >&6; }
3007 if eval \${$3+:} false; then :
3008 $as_echo_n "(cached) " >&6
3009 else
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3013 #include <$2>
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 eval "$3=yes"
3017 else
3018 eval "$3=no"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 eval ac_res=\$$3
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 $as_echo "$ac_res" >&6; }
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 } # ac_fn_c_check_header_compile
3029 # ac_fn_objc_try_compile LINENO
3030 # -----------------------------
3031 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3032 ac_fn_objc_try_compile ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 rm -f conftest.$ac_objext
3036 if { { ac_try="$ac_compile"
3037 case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3040 esac
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_compile") 2>conftest.err
3044 ac_status=$?
3045 if test -s conftest.err; then
3046 grep -v '^ *+' conftest.err >conftest.er1
3047 cat conftest.er1 >&5
3048 mv -f conftest.er1 conftest.err
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; } && {
3052 test -z "$ac_objc_werror_flag" ||
3053 test ! -s conftest.err
3054 } && test -s conftest.$ac_objext; then :
3055 ac_retval=0
3056 else
3057 $as_echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 ac_retval=1
3062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3063 as_fn_set_status $ac_retval
3065 } # ac_fn_objc_try_compile
3067 # ac_fn_objc_try_cpp LINENO
3068 # -------------------------
3069 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3070 ac_fn_objc_try_cpp ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 if { { ac_try="$ac_cpp conftest.$ac_ext"
3074 case "(($ac_try" in
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3077 esac
3078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3079 $as_echo "$ac_try_echo"; } >&5
3080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3081 ac_status=$?
3082 if test -s conftest.err; then
3083 grep -v '^ *+' conftest.err >conftest.er1
3084 cat conftest.er1 >&5
3085 mv -f conftest.er1 conftest.err
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; } > conftest.i && {
3089 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3090 test ! -s conftest.err
3091 }; then :
3092 ac_retval=0
3093 else
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 ac_retval=1
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100 as_fn_set_status $ac_retval
3102 } # ac_fn_objc_try_cpp
3104 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3105 # ----------------------------------------------------------
3106 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3107 # the include files in INCLUDES and setting the cache variable VAR
3108 # accordingly.
3109 ac_fn_objc_check_header_mongrel ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 if eval \${$3+:} false; then :
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3114 $as_echo_n "checking for $2... " >&6; }
3115 if eval \${$3+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 eval ac_res=\$$3
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 else
3122 # Is the header compilable?
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3124 $as_echo_n "checking $2 usability... " >&6; }
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3128 #include <$2>
3129 _ACEOF
3130 if ac_fn_objc_try_compile "$LINENO"; then :
3131 ac_header_compiler=yes
3132 else
3133 ac_header_compiler=no
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3137 $as_echo "$ac_header_compiler" >&6; }
3139 # Is the header present?
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3141 $as_echo_n "checking $2 presence... " >&6; }
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3144 #include <$2>
3145 _ACEOF
3146 if ac_fn_objc_try_cpp "$LINENO"; then :
3147 ac_header_preproc=yes
3148 else
3149 ac_header_preproc=no
3151 rm -f conftest.err conftest.i conftest.$ac_ext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3153 $as_echo "$ac_header_preproc" >&6; }
3155 # So? What about this header?
3156 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3157 yes:no: )
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3159 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3163 no:yes:* )
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3165 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3167 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3169 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3171 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3174 ( $as_echo "## ------------------------------------ ##
3175 ## Report this to wine-devel@winehq.org ##
3176 ## ------------------------------------ ##"
3177 ) | sed "s/^/$as_me: WARNING: /" >&2
3179 esac
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3181 $as_echo_n "checking for $2... " >&6; }
3182 if eval \${$3+:} false; then :
3183 $as_echo_n "(cached) " >&6
3184 else
3185 eval "$3=\$ac_header_compiler"
3187 eval ac_res=\$$3
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189 $as_echo "$ac_res" >&6; }
3191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193 } # ac_fn_objc_check_header_mongrel
3195 # ac_fn_c_check_func LINENO FUNC VAR
3196 # ----------------------------------
3197 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3198 ac_fn_c_check_func ()
3200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3202 $as_echo_n "checking for $2... " >&6; }
3203 if eval \${$3+:} false; then :
3204 $as_echo_n "(cached) " >&6
3205 else
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3208 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3210 #define $2 innocuous_$2
3212 /* System header to define __stub macros and hopefully few prototypes,
3213 which can conflict with char $2 (); below.
3214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 <limits.h> exists even on freestanding compilers. */
3217 #ifdef __STDC__
3218 # include <limits.h>
3219 #else
3220 # include <assert.h>
3221 #endif
3223 #undef $2
3225 /* Override any GCC internal prototype to avoid an error.
3226 Use char because int might match the return type of a GCC
3227 builtin and then its argument prototype would still apply. */
3228 #ifdef __cplusplus
3229 extern "C"
3230 #endif
3231 char $2 ();
3232 /* The GNU C library defines this for functions which it implements
3233 to always fail with ENOSYS. Some functions are actually named
3234 something starting with __ and the normal name is an alias. */
3235 #if defined __stub_$2 || defined __stub___$2
3236 choke me
3237 #endif
3240 main ()
3242 return $2 ();
3244 return 0;
3246 _ACEOF
3247 if ac_fn_c_try_link "$LINENO"; then :
3248 eval "$3=yes"
3249 else
3250 eval "$3=no"
3252 rm -f core conftest.err conftest.$ac_objext \
3253 conftest$ac_exeext conftest.$ac_ext
3255 eval ac_res=\$$3
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260 } # ac_fn_c_check_func
3262 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3263 # ----------------------------------------------------
3264 # Tries to find if the field MEMBER exists in type AGGR, after including
3265 # INCLUDES, setting cache variable VAR accordingly.
3266 ac_fn_c_check_member ()
3268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3270 $as_echo_n "checking for $2.$3... " >&6; }
3271 if eval \${$4+:} false; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3278 main ()
3280 static $2 ac_aggr;
3281 if (ac_aggr.$3)
3282 return 0;
3284 return 0;
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"; then :
3288 eval "$4=yes"
3289 else
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3294 main ()
3296 static $2 ac_aggr;
3297 if (sizeof ac_aggr.$3)
3298 return 0;
3300 return 0;
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"; then :
3304 eval "$4=yes"
3305 else
3306 eval "$4=no"
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 eval ac_res=\$$4
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3314 $as_echo "$ac_res" >&6; }
3315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3317 } # ac_fn_c_check_member
3319 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3320 # -------------------------------------------
3321 # Tests whether TYPE exists after having included INCLUDES, setting cache
3322 # variable VAR accordingly.
3323 ac_fn_c_check_type ()
3325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3327 $as_echo_n "checking for $2... " >&6; }
3328 if eval \${$3+:} false; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 eval "$3=no"
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3336 main ()
3338 if (sizeof ($2))
3339 return 0;
3341 return 0;
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3349 main ()
3351 if (sizeof (($2)))
3352 return 0;
3354 return 0;
3356 _ACEOF
3357 if ac_fn_c_try_compile "$LINENO"; then :
3359 else
3360 eval "$3=yes"
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 eval ac_res=\$$3
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3368 $as_echo "$ac_res" >&6; }
3369 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3371 } # ac_fn_c_check_type
3372 cat >config.log <<_ACEOF
3373 This file contains any messages produced by compilers while
3374 running configure, to aid debugging if configure makes a mistake.
3376 It was created by Wine $as_me 3.15, which was
3377 generated by GNU Autoconf 2.69. Invocation command line was
3379 $ $0 $@
3381 _ACEOF
3382 exec 5>>config.log
3384 cat <<_ASUNAME
3385 ## --------- ##
3386 ## Platform. ##
3387 ## --------- ##
3389 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3390 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3391 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3392 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3393 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3395 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3396 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3398 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3399 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3400 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3401 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3402 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3403 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3404 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3406 _ASUNAME
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 for as_dir in $PATH
3411 IFS=$as_save_IFS
3412 test -z "$as_dir" && as_dir=.
3413 $as_echo "PATH: $as_dir"
3414 done
3415 IFS=$as_save_IFS
3417 } >&5
3419 cat >&5 <<_ACEOF
3422 ## ----------- ##
3423 ## Core tests. ##
3424 ## ----------- ##
3426 _ACEOF
3429 # Keep a trace of the command line.
3430 # Strip out --no-create and --no-recursion so they do not pile up.
3431 # Strip out --silent because we don't want to record it for future runs.
3432 # Also quote any args containing shell meta-characters.
3433 # Make two passes to allow for proper duplicate-argument suppression.
3434 ac_configure_args=
3435 ac_configure_args0=
3436 ac_configure_args1=
3437 ac_must_keep_next=false
3438 for ac_pass in 1 2
3440 for ac_arg
3442 case $ac_arg in
3443 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3444 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3445 | -silent | --silent | --silen | --sile | --sil)
3446 continue ;;
3447 *\'*)
3448 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3449 esac
3450 case $ac_pass in
3451 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3453 as_fn_append ac_configure_args1 " '$ac_arg'"
3454 if test $ac_must_keep_next = true; then
3455 ac_must_keep_next=false # Got value, back to normal.
3456 else
3457 case $ac_arg in
3458 *=* | --config-cache | -C | -disable-* | --disable-* \
3459 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3460 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3461 | -with-* | --with-* | -without-* | --without-* | --x)
3462 case "$ac_configure_args0 " in
3463 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3464 esac
3466 -* ) ac_must_keep_next=true ;;
3467 esac
3469 as_fn_append ac_configure_args " '$ac_arg'"
3471 esac
3472 done
3473 done
3474 { ac_configure_args0=; unset ac_configure_args0;}
3475 { ac_configure_args1=; unset ac_configure_args1;}
3477 # When interrupted or exit'd, cleanup temporary files, and complete
3478 # config.log. We remove comments because anyway the quotes in there
3479 # would cause problems or look ugly.
3480 # WARNING: Use '\'' to represent an apostrophe within the trap.
3481 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3482 trap 'exit_status=$?
3483 # Save into config.log some information that might help in debugging.
3485 echo
3487 $as_echo "## ---------------- ##
3488 ## Cache variables. ##
3489 ## ---------------- ##"
3490 echo
3491 # The following way of writing the cache mishandles newlines in values,
3493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3494 eval ac_val=\$$ac_var
3495 case $ac_val in #(
3496 *${as_nl}*)
3497 case $ac_var in #(
3498 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3500 esac
3501 case $ac_var in #(
3502 _ | IFS | as_nl) ;; #(
3503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3504 *) { eval $ac_var=; unset $ac_var;} ;;
3505 esac ;;
3506 esac
3507 done
3508 (set) 2>&1 |
3509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3510 *${as_nl}ac_space=\ *)
3511 sed -n \
3512 "s/'\''/'\''\\\\'\'''\''/g;
3513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3514 ;; #(
3516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3518 esac |
3519 sort
3521 echo
3523 $as_echo "## ----------------- ##
3524 ## Output variables. ##
3525 ## ----------------- ##"
3526 echo
3527 for ac_var in $ac_subst_vars
3529 eval ac_val=\$$ac_var
3530 case $ac_val in
3531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3532 esac
3533 $as_echo "$ac_var='\''$ac_val'\''"
3534 done | sort
3535 echo
3537 if test -n "$ac_subst_files"; then
3538 $as_echo "## ------------------- ##
3539 ## File substitutions. ##
3540 ## ------------------- ##"
3541 echo
3542 for ac_var in $ac_subst_files
3544 eval ac_val=\$$ac_var
3545 case $ac_val in
3546 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3547 esac
3548 $as_echo "$ac_var='\''$ac_val'\''"
3549 done | sort
3550 echo
3553 if test -s confdefs.h; then
3554 $as_echo "## ----------- ##
3555 ## confdefs.h. ##
3556 ## ----------- ##"
3557 echo
3558 cat confdefs.h
3559 echo
3561 test "$ac_signal" != 0 &&
3562 $as_echo "$as_me: caught signal $ac_signal"
3563 $as_echo "$as_me: exit $exit_status"
3564 } >&5
3565 rm -f core *.core core.conftest.* &&
3566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3567 exit $exit_status
3569 for ac_signal in 1 2 13 15; do
3570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3571 done
3572 ac_signal=0
3574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3575 rm -f -r conftest* confdefs.h
3577 $as_echo "/* confdefs.h */" > confdefs.h
3579 # Predefined preprocessor variables.
3581 cat >>confdefs.h <<_ACEOF
3582 #define PACKAGE_NAME "$PACKAGE_NAME"
3583 _ACEOF
3585 cat >>confdefs.h <<_ACEOF
3586 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3587 _ACEOF
3589 cat >>confdefs.h <<_ACEOF
3590 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3591 _ACEOF
3593 cat >>confdefs.h <<_ACEOF
3594 #define PACKAGE_STRING "$PACKAGE_STRING"
3595 _ACEOF
3597 cat >>confdefs.h <<_ACEOF
3598 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3599 _ACEOF
3601 cat >>confdefs.h <<_ACEOF
3602 #define PACKAGE_URL "$PACKAGE_URL"
3603 _ACEOF
3606 # Let the site file select an alternate cache file if it wants to.
3607 # Prefer an explicitly selected file to automatically selected ones.
3608 ac_site_file1=NONE
3609 ac_site_file2=NONE
3610 if test -n "$CONFIG_SITE"; then
3611 # We do not want a PATH search for config.site.
3612 case $CONFIG_SITE in #((
3613 -*) ac_site_file1=./$CONFIG_SITE;;
3614 */*) ac_site_file1=$CONFIG_SITE;;
3615 *) ac_site_file1=./$CONFIG_SITE;;
3616 esac
3617 elif test "x$prefix" != xNONE; then
3618 ac_site_file1=$prefix/share/config.site
3619 ac_site_file2=$prefix/etc/config.site
3620 else
3621 ac_site_file1=$ac_default_prefix/share/config.site
3622 ac_site_file2=$ac_default_prefix/etc/config.site
3624 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3626 test "x$ac_site_file" = xNONE && continue
3627 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3629 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3630 sed 's/^/| /' "$ac_site_file" >&5
3631 . "$ac_site_file" \
3632 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "failed to load site script $ac_site_file
3635 See \`config.log' for more details" "$LINENO" 5; }
3637 done
3639 if test -r "$cache_file"; then
3640 # Some versions of bash will fail to source /dev/null (special files
3641 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3642 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3644 $as_echo "$as_me: loading cache $cache_file" >&6;}
3645 case $cache_file in
3646 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3647 *) . "./$cache_file";;
3648 esac
3650 else
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3652 $as_echo "$as_me: creating cache $cache_file" >&6;}
3653 >$cache_file
3656 # Check that the precious variables saved in the cache have kept the same
3657 # value.
3658 ac_cache_corrupted=false
3659 for ac_var in $ac_precious_vars; do
3660 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3661 eval ac_new_set=\$ac_env_${ac_var}_set
3662 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3663 eval ac_new_val=\$ac_env_${ac_var}_value
3664 case $ac_old_set,$ac_new_set in
3665 set,)
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3667 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3668 ac_cache_corrupted=: ;;
3669 ,set)
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3671 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3672 ac_cache_corrupted=: ;;
3673 ,);;
3675 if test "x$ac_old_val" != "x$ac_new_val"; then
3676 # differences in whitespace do not lead to failure.
3677 ac_old_val_w=`echo x $ac_old_val`
3678 ac_new_val_w=`echo x $ac_new_val`
3679 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3681 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3682 ac_cache_corrupted=:
3683 else
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3685 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3686 eval $ac_var=\$ac_old_val
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3689 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3691 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3692 fi;;
3693 esac
3694 # Pass precious variables to config.status.
3695 if test "$ac_new_set" = set; then
3696 case $ac_new_val in
3697 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3698 *) ac_arg=$ac_var=$ac_new_val ;;
3699 esac
3700 case " $ac_configure_args " in
3701 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3702 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3703 esac
3705 done
3706 if $ac_cache_corrupted; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3710 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3711 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3713 ## -------------------- ##
3714 ## Main body of script. ##
3715 ## -------------------- ##
3717 ac_ext=c
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 ac_config_headers="$ac_config_headers include/config.h"
3727 ac_aux_dir=
3728 for ac_dir in tools "$srcdir"/tools; do
3729 if test -f "$ac_dir/install-sh"; then
3730 ac_aux_dir=$ac_dir
3731 ac_install_sh="$ac_aux_dir/install-sh -c"
3732 break
3733 elif test -f "$ac_dir/install.sh"; then
3734 ac_aux_dir=$ac_dir
3735 ac_install_sh="$ac_aux_dir/install.sh -c"
3736 break
3737 elif test -f "$ac_dir/shtool"; then
3738 ac_aux_dir=$ac_dir
3739 ac_install_sh="$ac_aux_dir/shtool install -c"
3740 break
3742 done
3743 if test -z "$ac_aux_dir"; then
3744 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3747 # These three variables are undocumented and unsupported,
3748 # and are intended to be withdrawn in a future Autoconf release.
3749 # They can cause serious problems if a builder's source tree is in a directory
3750 # whose full name contains unusual characters.
3751 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3752 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3753 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3757 libwine_version="1.0"
3761 # Check whether --enable-win16 was given.
3762 if test "${enable_win16+set}" = set; then :
3763 enableval=$enable_win16;
3766 # Check whether --enable-win64 was given.
3767 if test "${enable_win64+set}" = set; then :
3768 enableval=$enable_win64;
3771 # Check whether --enable-tests was given.
3772 if test "${enable_tests+set}" = set; then :
3773 enableval=$enable_tests;
3776 # Check whether --enable-maintainer-mode was given.
3777 if test "${enable_maintainer_mode+set}" = set; then :
3778 enableval=$enable_maintainer_mode;
3783 # Check whether --with-alsa was given.
3784 if test "${with_alsa+set}" = set; then :
3785 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3789 # Check whether --with-capi was given.
3790 if test "${with_capi+set}" = set; then :
3791 withval=$with_capi;
3795 # Check whether --with-cms was given.
3796 if test "${with_cms+set}" = set; then :
3797 withval=$with_cms;
3801 # Check whether --with-coreaudio was given.
3802 if test "${with_coreaudio+set}" = set; then :
3803 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3807 # Check whether --with-cups was given.
3808 if test "${with_cups+set}" = set; then :
3809 withval=$with_cups;
3813 # Check whether --with-curses was given.
3814 if test "${with_curses+set}" = set; then :
3815 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3819 # Check whether --with-dbus was given.
3820 if test "${with_dbus+set}" = set; then :
3821 withval=$with_dbus;
3825 # Check whether --with-float-abi was given.
3826 if test "${with_float_abi+set}" = set; then :
3827 withval=$with_float_abi;
3831 # Check whether --with-fontconfig was given.
3832 if test "${with_fontconfig+set}" = set; then :
3833 withval=$with_fontconfig;
3837 # Check whether --with-freetype was given.
3838 if test "${with_freetype+set}" = set; then :
3839 withval=$with_freetype;
3843 # Check whether --with-gettext was given.
3844 if test "${with_gettext+set}" = set; then :
3845 withval=$with_gettext;
3849 # Check whether --with-gettextpo was given.
3850 if test "${with_gettextpo+set}" = set; then :
3851 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3855 # Check whether --with-gphoto was given.
3856 if test "${with_gphoto+set}" = set; then :
3857 withval=$with_gphoto;
3861 # Check whether --with-glu was given.
3862 if test "${with_glu+set}" = set; then :
3863 withval=$with_glu;
3867 # Check whether --with-gnutls was given.
3868 if test "${with_gnutls+set}" = set; then :
3869 withval=$with_gnutls;
3873 # Check whether --with-gsm was given.
3874 if test "${with_gsm+set}" = set; then :
3875 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3879 # Check whether --with-gssapi was given.
3880 if test "${with_gssapi+set}" = set; then :
3881 withval=$with_gssapi;
3885 # Check whether --with-gstreamer was given.
3886 if test "${with_gstreamer+set}" = set; then :
3887 withval=$with_gstreamer;
3891 # Check whether --with-hal was given.
3892 if test "${with_hal+set}" = set; then :
3893 withval=$with_hal;
3897 # Check whether --with-jpeg was given.
3898 if test "${with_jpeg+set}" = set; then :
3899 withval=$with_jpeg;
3903 # Check whether --with-krb5 was given.
3904 if test "${with_krb5+set}" = set; then :
3905 withval=$with_krb5;
3909 # Check whether --with-ldap was given.
3910 if test "${with_ldap+set}" = set; then :
3911 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3915 # Check whether --with-mpg123 was given.
3916 if test "${with_mpg123+set}" = set; then :
3917 withval=$with_mpg123;
3921 # Check whether --with-netapi was given.
3922 if test "${with_netapi+set}" = set; then :
3923 withval=$with_netapi;
3927 # Check whether --with-openal was given.
3928 if test "${with_openal+set}" = set; then :
3929 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3933 # Check whether --with-opencl was given.
3934 if test "${with_opencl+set}" = set; then :
3935 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3939 # Check whether --with-opengl was given.
3940 if test "${with_opengl+set}" = set; then :
3941 withval=$with_opengl;
3945 # Check whether --with-osmesa was given.
3946 if test "${with_osmesa+set}" = set; then :
3947 withval=$with_osmesa;
3951 # Check whether --with-oss was given.
3952 if test "${with_oss+set}" = set; then :
3953 withval=$with_oss;
3957 # Check whether --with-pcap was given.
3958 if test "${with_pcap+set}" = set; then :
3959 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3963 # Check whether --with-png was given.
3964 if test "${with_png+set}" = set; then :
3965 withval=$with_png;
3969 # Check whether --with-pthread was given.
3970 if test "${with_pthread+set}" = set; then :
3971 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3975 # Check whether --with-pulse was given.
3976 if test "${with_pulse+set}" = set; then :
3977 withval=$with_pulse;
3981 # Check whether --with-sane was given.
3982 if test "${with_sane+set}" = set; then :
3983 withval=$with_sane;
3987 # Check whether --with-sdl was given.
3988 if test "${with_sdl+set}" = set; then :
3989 withval=$with_sdl;
3993 # Check whether --with-tiff was given.
3994 if test "${with_tiff+set}" = set; then :
3995 withval=$with_tiff;
3999 # Check whether --with-udev was given.
4000 if test "${with_udev+set}" = set; then :
4001 withval=$with_udev;
4005 # Check whether --with-v4l was given.
4006 if test "${with_v4l+set}" = set; then :
4007 withval=$with_v4l;
4011 # Check whether --with-vkd3d was given.
4012 if test "${with_vkd3d+set}" = set; then :
4013 withval=$with_vkd3d;
4017 # Check whether --with-vulkan was given.
4018 if test "${with_vulkan+set}" = set; then :
4019 withval=$with_vulkan;
4023 # Check whether --with-xcomposite was given.
4024 if test "${with_xcomposite+set}" = set; then :
4025 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4029 # Check whether --with-xcursor was given.
4030 if test "${with_xcursor+set}" = set; then :
4031 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4035 # Check whether --with-xfixes was given.
4036 if test "${with_xfixes+set}" = set; then :
4037 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4041 # Check whether --with-xinerama was given.
4042 if test "${with_xinerama+set}" = set; then :
4043 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4047 # Check whether --with-xinput was given.
4048 if test "${with_xinput+set}" = set; then :
4049 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4053 # Check whether --with-xinput2 was given.
4054 if test "${with_xinput2+set}" = set; then :
4055 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4059 # Check whether --with-xml was given.
4060 if test "${with_xml+set}" = set; then :
4061 withval=$with_xml;
4065 # Check whether --with-xrandr was given.
4066 if test "${with_xrandr+set}" = set; then :
4067 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4071 # Check whether --with-xrender was given.
4072 if test "${with_xrender+set}" = set; then :
4073 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4077 # Check whether --with-xshape was given.
4078 if test "${with_xshape+set}" = set; then :
4079 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4083 # Check whether --with-xshm was given.
4084 if test "${with_xshm+set}" = set; then :
4085 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4089 # Check whether --with-xslt was given.
4090 if test "${with_xslt+set}" = set; then :
4091 withval=$with_xslt;
4095 # Check whether --with-xxf86vm was given.
4096 if test "${with_xxf86vm+set}" = set; then :
4097 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
4101 # Check whether --with-zlib was given.
4102 if test "${with_zlib+set}" = set; then :
4103 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4108 # Check whether --with-wine-tools was given.
4109 if test "${with_wine_tools+set}" = set; then :
4110 withval=$with_wine_tools;
4114 # Check whether --with-wine64 was given.
4115 if test "${with_wine64+set}" = set; then :
4116 withval=$with_wine64;
4120 # Make sure we can run config.sub.
4121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4122 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4125 $as_echo_n "checking build system type... " >&6; }
4126 if ${ac_cv_build+:} false; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 ac_build_alias=$build_alias
4130 test "x$ac_build_alias" = x &&
4131 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4132 test "x$ac_build_alias" = x &&
4133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4139 $as_echo "$ac_cv_build" >&6; }
4140 case $ac_cv_build in
4141 *-*-*) ;;
4142 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4143 esac
4144 build=$ac_cv_build
4145 ac_save_IFS=$IFS; IFS='-'
4146 set x $ac_cv_build
4147 shift
4148 build_cpu=$1
4149 build_vendor=$2
4150 shift; shift
4151 # Remember, the first character of IFS is used to create $*,
4152 # except with old shells:
4153 build_os=$*
4154 IFS=$ac_save_IFS
4155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4159 $as_echo_n "checking host system type... " >&6; }
4160 if ${ac_cv_host+:} false; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 if test "x$host_alias" = x; then
4164 ac_cv_host=$ac_cv_build
4165 else
4166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4172 $as_echo "$ac_cv_host" >&6; }
4173 case $ac_cv_host in
4174 *-*-*) ;;
4175 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4176 esac
4177 host=$ac_cv_host
4178 ac_save_IFS=$IFS; IFS='-'
4179 set x $ac_cv_host
4180 shift
4181 host_cpu=$1
4182 host_vendor=$2
4183 shift; shift
4184 # Remember, the first character of IFS is used to create $*,
4185 # except with old shells:
4186 host_os=$*
4187 IFS=$ac_save_IFS
4188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4192 case "$srcdir" in
4193 .) ;;
4194 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4195 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4196 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4197 fi ;;
4198 esac
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4202 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4203 set x ${MAKE-make}
4204 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4205 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4206 $as_echo_n "(cached) " >&6
4207 else
4208 cat >conftest.make <<\_ACEOF
4209 SHELL = /bin/sh
4210 all:
4211 @echo '@@@%%%=$(MAKE)=@@@%%%'
4212 _ACEOF
4213 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4214 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4215 *@@@%%%=?*=@@@%%%*)
4216 eval ac_cv_prog_make_${ac_make}_set=yes;;
4218 eval ac_cv_prog_make_${ac_make}_set=no;;
4219 esac
4220 rm -f conftest.make
4222 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4225 SET_MAKE=
4226 else
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4229 SET_MAKE="MAKE=${MAKE-make}"
4232 ac_ext=c
4233 ac_cpp='$CPP $CPPFLAGS'
4234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237 if test -n "$ac_tool_prefix"; then
4238 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4239 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_CC+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 if test -n "$CC"; then
4246 ac_cv_prog_CC="$CC" # Let the user override the test.
4247 else
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH
4251 IFS=$as_save_IFS
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 break 2
4259 done
4260 done
4261 IFS=$as_save_IFS
4265 CC=$ac_cv_prog_CC
4266 if test -n "$CC"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4268 $as_echo "$CC" >&6; }
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4276 if test -z "$ac_cv_prog_CC"; then
4277 ac_ct_CC=$CC
4278 # Extract the first word of "gcc", so it can be a program name with args.
4279 set dummy gcc; ac_word=$2
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281 $as_echo_n "checking for $ac_word... " >&6; }
4282 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 if test -n "$ac_ct_CC"; then
4286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4287 else
4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4289 for as_dir in $PATH
4291 IFS=$as_save_IFS
4292 test -z "$as_dir" && as_dir=.
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_ac_ct_CC="gcc"
4296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 break 2
4299 done
4300 done
4301 IFS=$as_save_IFS
4305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4306 if test -n "$ac_ct_CC"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4308 $as_echo "$ac_ct_CC" >&6; }
4309 else
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4314 if test "x$ac_ct_CC" = x; then
4315 CC=""
4316 else
4317 case $cross_compiling:$ac_tool_warned in
4318 yes:)
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4321 ac_tool_warned=yes ;;
4322 esac
4323 CC=$ac_ct_CC
4325 else
4326 CC="$ac_cv_prog_CC"
4329 if test -z "$CC"; then
4330 if test -n "$ac_tool_prefix"; then
4331 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4332 set dummy ${ac_tool_prefix}cc; ac_word=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if ${ac_cv_prog_CC+:} false; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 if test -n "$CC"; then
4339 ac_cv_prog_CC="$CC" # Let the user override the test.
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_prog_CC="${ac_tool_prefix}cc"
4349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 break 2
4352 done
4353 done
4354 IFS=$as_save_IFS
4358 CC=$ac_cv_prog_CC
4359 if test -n "$CC"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361 $as_echo "$CC" >&6; }
4362 else
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4370 if test -z "$CC"; then
4371 # Extract the first word of "cc", so it can be a program name with args.
4372 set dummy cc; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_CC+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377 else
4378 if test -n "$CC"; then
4379 ac_cv_prog_CC="$CC" # Let the user override the test.
4380 else
4381 ac_prog_rejected=no
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4390 ac_prog_rejected=yes
4391 continue
4393 ac_cv_prog_CC="cc"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 break 2
4397 done
4398 done
4399 IFS=$as_save_IFS
4401 if test $ac_prog_rejected = yes; then
4402 # We found a bogon in the path, so make sure we never use it.
4403 set dummy $ac_cv_prog_CC
4404 shift
4405 if test $# != 0; then
4406 # We chose a different compiler from the bogus one.
4407 # However, it has the same basename, so the bogon will be chosen
4408 # first if we set CC to just the basename; use the full file name.
4409 shift
4410 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4415 CC=$ac_cv_prog_CC
4416 if test -n "$CC"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4418 $as_echo "$CC" >&6; }
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4426 if test -z "$CC"; then
4427 if test -n "$ac_tool_prefix"; then
4428 for ac_prog in cl.exe
4430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 CC=$ac_cv_prog_CC
4458 if test -n "$CC"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4460 $as_echo "$CC" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4467 test -n "$CC" && break
4468 done
4470 if test -z "$CC"; then
4471 ac_ct_CC=$CC
4472 for ac_prog in cl.exe
4474 # Extract the first word of "$ac_prog", so it can be a program name with args.
4475 set dummy $ac_prog; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 if test -n "$ac_ct_CC"; then
4482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4483 else
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4487 IFS=$as_save_IFS
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_ac_ct_CC="$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4502 if test -n "$ac_ct_CC"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4504 $as_echo "$ac_ct_CC" >&6; }
4505 else
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$ac_ct_CC" && break
4512 done
4514 if test "x$ac_ct_CC" = x; then
4515 CC=""
4516 else
4517 case $cross_compiling:$ac_tool_warned in
4518 yes:)
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4521 ac_tool_warned=yes ;;
4522 esac
4523 CC=$ac_ct_CC
4530 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4532 as_fn_error $? "no acceptable C compiler found in \$PATH
4533 See \`config.log' for more details" "$LINENO" 5; }
4535 # Provide some information about the compiler.
4536 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4537 set X $ac_compile
4538 ac_compiler=$2
4539 for ac_option in --version -v -V -qversion; do
4540 { { ac_try="$ac_compiler $ac_option >&5"
4541 case "(($ac_try" in
4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4544 esac
4545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4546 $as_echo "$ac_try_echo"; } >&5
4547 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4548 ac_status=$?
4549 if test -s conftest.err; then
4550 sed '10a\
4551 ... rest of stderr output deleted ...
4552 10q' conftest.err >conftest.er1
4553 cat conftest.er1 >&5
4555 rm -f conftest.er1 conftest.err
4556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557 test $ac_status = 0; }
4558 done
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 ac_clean_files_save=$ac_clean_files
4572 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4573 # Try to create an executable without -o first, disregard a.out.
4574 # It will help us diagnose broken compilers, and finding out an intuition
4575 # of exeext.
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4577 $as_echo_n "checking whether the C compiler works... " >&6; }
4578 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4580 # The possible output files:
4581 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4583 ac_rmfiles=
4584 for ac_file in $ac_files
4586 case $ac_file in
4587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4588 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4589 esac
4590 done
4591 rm -f $ac_rmfiles
4593 if { { ac_try="$ac_link_default"
4594 case "(($ac_try" in
4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 *) ac_try_echo=$ac_try;;
4597 esac
4598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4599 $as_echo "$ac_try_echo"; } >&5
4600 (eval "$ac_link_default") 2>&5
4601 ac_status=$?
4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4603 test $ac_status = 0; }; then :
4604 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4605 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4606 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4607 # so that the user can short-circuit this test for compilers unknown to
4608 # Autoconf.
4609 for ac_file in $ac_files ''
4611 test -f "$ac_file" || continue
4612 case $ac_file in
4613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4615 [ab].out )
4616 # We found the default executable, but exeext='' is most
4617 # certainly right.
4618 break;;
4619 *.* )
4620 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4621 then :; else
4622 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4624 # We set ac_cv_exeext here because the later test for it is not
4625 # safe: cross compilers may not add the suffix if given an `-o'
4626 # argument, so we may need to know it at that point already.
4627 # Even if this section looks crufty: it has the advantage of
4628 # actually working.
4629 break;;
4631 break;;
4632 esac
4633 done
4634 test "$ac_cv_exeext" = no && ac_cv_exeext=
4636 else
4637 ac_file=''
4639 if test -z "$ac_file"; then :
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4642 $as_echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.$ac_ext >&5
4645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4647 as_fn_error 77 "C compiler cannot create executables
4648 See \`config.log' for more details" "$LINENO" 5; }
4649 else
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4651 $as_echo "yes" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4654 $as_echo_n "checking for C compiler default output file name... " >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4656 $as_echo "$ac_file" >&6; }
4657 ac_exeext=$ac_cv_exeext
4659 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4660 ac_clean_files=$ac_clean_files_save
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4662 $as_echo_n "checking for suffix of executables... " >&6; }
4663 if { { ac_try="$ac_link"
4664 case "(($ac_try" in
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4667 esac
4668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4669 $as_echo "$ac_try_echo"; } >&5
4670 (eval "$ac_link") 2>&5
4671 ac_status=$?
4672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4673 test $ac_status = 0; }; then :
4674 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4675 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4676 # work properly (i.e., refer to `conftest.exe'), while it won't with
4677 # `rm'.
4678 for ac_file in conftest.exe conftest conftest.*; do
4679 test -f "$ac_file" || continue
4680 case $ac_file in
4681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4682 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4683 break;;
4684 * ) break;;
4685 esac
4686 done
4687 else
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4691 See \`config.log' for more details" "$LINENO" 5; }
4693 rm -f conftest conftest$ac_cv_exeext
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4695 $as_echo "$ac_cv_exeext" >&6; }
4697 rm -f conftest.$ac_ext
4698 EXEEXT=$ac_cv_exeext
4699 ac_exeext=$EXEEXT
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #include <stdio.h>
4704 main ()
4706 FILE *f = fopen ("conftest.out", "w");
4707 return ferror (f) || fclose (f) != 0;
4710 return 0;
4712 _ACEOF
4713 ac_clean_files="$ac_clean_files conftest.out"
4714 # Check that the compiler produces executables we can run. If not, either
4715 # the compiler is broken, or we cross compile.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4717 $as_echo_n "checking whether we are cross compiling... " >&6; }
4718 if test "$cross_compiling" != yes; then
4719 { { ac_try="$ac_link"
4720 case "(($ac_try" in
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4723 esac
4724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4725 $as_echo "$ac_try_echo"; } >&5
4726 (eval "$ac_link") 2>&5
4727 ac_status=$?
4728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4729 test $ac_status = 0; }
4730 if { ac_try='./conftest$ac_cv_exeext'
4731 { { case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4736 $as_echo "$ac_try_echo"; } >&5
4737 (eval "$ac_try") 2>&5
4738 ac_status=$?
4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4740 test $ac_status = 0; }; }; then
4741 cross_compiling=no
4742 else
4743 if test "$cross_compiling" = maybe; then
4744 cross_compiling=yes
4745 else
4746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748 as_fn_error $? "cannot run C compiled programs.
4749 If you meant to cross compile, use \`--host'.
4750 See \`config.log' for more details" "$LINENO" 5; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4755 $as_echo "$cross_compiling" >&6; }
4757 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4758 ac_clean_files=$ac_clean_files_save
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4760 $as_echo_n "checking for suffix of object files... " >&6; }
4761 if ${ac_cv_objext+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4772 return 0;
4774 _ACEOF
4775 rm -f conftest.o conftest.obj
4776 if { { ac_try="$ac_compile"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782 $as_echo "$ac_try_echo"; } >&5
4783 (eval "$ac_compile") 2>&5
4784 ac_status=$?
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }; then :
4787 for ac_file in conftest.o conftest.obj conftest.*; do
4788 test -f "$ac_file" || continue;
4789 case $ac_file in
4790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4791 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4792 break;;
4793 esac
4794 done
4795 else
4796 $as_echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4801 as_fn_error $? "cannot compute suffix of object files: cannot compile
4802 See \`config.log' for more details" "$LINENO" 5; }
4804 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4807 $as_echo "$ac_cv_objext" >&6; }
4808 OBJEXT=$ac_cv_objext
4809 ac_objext=$OBJEXT
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4812 if ${ac_cv_c_compiler_gnu+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4819 main ()
4821 #ifndef __GNUC__
4822 choke me
4823 #endif
4826 return 0;
4828 _ACEOF
4829 if ac_fn_c_try_compile "$LINENO"; then :
4830 ac_compiler_gnu=yes
4831 else
4832 ac_compiler_gnu=no
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4839 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4841 GCC=yes
4842 else
4843 GCC=
4845 ac_test_CFLAGS=${CFLAGS+set}
4846 ac_save_CFLAGS=$CFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4848 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4849 if ${ac_cv_prog_cc_g+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 ac_save_c_werror_flag=$ac_c_werror_flag
4853 ac_c_werror_flag=yes
4854 ac_cv_prog_cc_g=no
4855 CFLAGS="-g"
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 if ac_fn_c_try_compile "$LINENO"; then :
4868 ac_cv_prog_cc_g=yes
4869 else
4870 CFLAGS=""
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_c_try_compile "$LINENO"; then :
4884 else
4885 ac_c_werror_flag=$ac_save_c_werror_flag
4886 CFLAGS="-g"
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 ac_cv_prog_cc_g=yes
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_c_werror_flag=$ac_save_c_werror_flag
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4909 $as_echo "$ac_cv_prog_cc_g" >&6; }
4910 if test "$ac_test_CFLAGS" = set; then
4911 CFLAGS=$ac_save_CFLAGS
4912 elif test $ac_cv_prog_cc_g = yes; then
4913 if test "$GCC" = yes; then
4914 CFLAGS="-g -O2"
4915 else
4916 CFLAGS="-g"
4918 else
4919 if test "$GCC" = yes; then
4920 CFLAGS="-O2"
4921 else
4922 CFLAGS=
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4926 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4927 if ${ac_cv_prog_cc_c89+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 ac_cv_prog_cc_c89=no
4931 ac_save_CC=$CC
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4934 #include <stdarg.h>
4935 #include <stdio.h>
4936 struct stat;
4937 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4938 struct buf { int x; };
4939 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4940 static char *e (p, i)
4941 char **p;
4942 int i;
4944 return p[i];
4946 static char *f (char * (*g) (char **, int), char **p, ...)
4948 char *s;
4949 va_list v;
4950 va_start (v,p);
4951 s = g (p, va_arg (v,int));
4952 va_end (v);
4953 return s;
4956 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4957 function prototypes and stuff, but not '\xHH' hex character constants.
4958 These don't provoke an error unfortunately, instead are silently treated
4959 as 'x'. The following induces an error, until -std is added to get
4960 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4961 array size at least. It's necessary to write '\x00'==0 to get something
4962 that's true only with -std. */
4963 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4965 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4966 inside strings and character constants. */
4967 #define FOO(x) 'x'
4968 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4970 int test (int i, double x);
4971 struct s1 {int (*f) (int a);};
4972 struct s2 {int (*f) (double a);};
4973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4974 int argc;
4975 char **argv;
4977 main ()
4979 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4981 return 0;
4983 _ACEOF
4984 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4985 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4987 CC="$ac_save_CC $ac_arg"
4988 if ac_fn_c_try_compile "$LINENO"; then :
4989 ac_cv_prog_cc_c89=$ac_arg
4991 rm -f core conftest.err conftest.$ac_objext
4992 test "x$ac_cv_prog_cc_c89" != "xno" && break
4993 done
4994 rm -f conftest.$ac_ext
4995 CC=$ac_save_CC
4998 # AC_CACHE_VAL
4999 case "x$ac_cv_prog_cc_c89" in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5002 $as_echo "none needed" >&6; } ;;
5003 xno)
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5005 $as_echo "unsupported" >&6; } ;;
5007 CC="$CC $ac_cv_prog_cc_c89"
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5010 esac
5011 if test "x$ac_cv_prog_cc_c89" != xno; then :
5015 ac_ext=c
5016 ac_cpp='$CPP $CPPFLAGS'
5017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5021 ac_ext=cpp
5022 ac_cpp='$CXXCPP $CPPFLAGS'
5023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5026 if test -z "$CXX"; then
5027 if test -n "$CCC"; then
5028 CXX=$CCC
5029 else
5030 if test -n "$ac_tool_prefix"; then
5031 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_CXX+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$CXX"; then
5041 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 CXX=$ac_cv_prog_CXX
5061 if test -n "$CXX"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5063 $as_echo "$CXX" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$CXX" && break
5071 done
5073 if test -z "$CXX"; then
5074 ac_ct_CXX=$CXX
5075 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy $ac_prog; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5082 $as_echo_n "(cached) " >&6
5083 else
5084 if test -n "$ac_ct_CXX"; then
5085 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_CXX="$ac_prog"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 break 2
5098 done
5099 done
5100 IFS=$as_save_IFS
5104 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5105 if test -n "$ac_ct_CXX"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5107 $as_echo "$ac_ct_CXX" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5114 test -n "$ac_ct_CXX" && break
5115 done
5117 if test "x$ac_ct_CXX" = x; then
5118 CXX="g++"
5119 else
5120 case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126 CXX=$ac_ct_CXX
5132 # Provide some information about the compiler.
5133 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5134 set X $ac_compile
5135 ac_compiler=$2
5136 for ac_option in --version -v -V -qversion; do
5137 { { ac_try="$ac_compiler $ac_option >&5"
5138 case "(($ac_try" in
5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5141 esac
5142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5143 $as_echo "$ac_try_echo"; } >&5
5144 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5145 ac_status=$?
5146 if test -s conftest.err; then
5147 sed '10a\
5148 ... rest of stderr output deleted ...
5149 10q' conftest.err >conftest.er1
5150 cat conftest.er1 >&5
5152 rm -f conftest.er1 conftest.err
5153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5154 test $ac_status = 0; }
5155 done
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5158 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5159 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5163 /* end confdefs.h. */
5166 main ()
5168 #ifndef __GNUC__
5169 choke me
5170 #endif
5173 return 0;
5175 _ACEOF
5176 if ac_fn_cxx_try_compile "$LINENO"; then :
5177 ac_compiler_gnu=yes
5178 else
5179 ac_compiler_gnu=no
5181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5182 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5186 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5187 if test $ac_compiler_gnu = yes; then
5188 GXX=yes
5189 else
5190 GXX=
5192 ac_test_CXXFLAGS=${CXXFLAGS+set}
5193 ac_save_CXXFLAGS=$CXXFLAGS
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5195 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5196 if ${ac_cv_prog_cxx_g+:} false; then :
5197 $as_echo_n "(cached) " >&6
5198 else
5199 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5200 ac_cxx_werror_flag=yes
5201 ac_cv_prog_cxx_g=no
5202 CXXFLAGS="-g"
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5207 main ()
5211 return 0;
5213 _ACEOF
5214 if ac_fn_cxx_try_compile "$LINENO"; then :
5215 ac_cv_prog_cxx_g=yes
5216 else
5217 CXXFLAGS=""
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5222 main ()
5226 return 0;
5228 _ACEOF
5229 if ac_fn_cxx_try_compile "$LINENO"; then :
5231 else
5232 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5233 CXXFLAGS="-g"
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5238 main ()
5242 return 0;
5244 _ACEOF
5245 if ac_fn_cxx_try_compile "$LINENO"; then :
5246 ac_cv_prog_cxx_g=yes
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5256 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5257 if test "$ac_test_CXXFLAGS" = set; then
5258 CXXFLAGS=$ac_save_CXXFLAGS
5259 elif test $ac_cv_prog_cxx_g = yes; then
5260 if test "$GXX" = yes; then
5261 CXXFLAGS="-g -O2"
5262 else
5263 CXXFLAGS="-g"
5265 else
5266 if test "$GXX" = yes; then
5267 CXXFLAGS="-O2"
5268 else
5269 CXXFLAGS=
5272 ac_ext=c
5273 ac_cpp='$CPP $CPPFLAGS'
5274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_CPPBIN+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$CPPBIN"; then
5287 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 CPPBIN=$ac_cv_prog_CPPBIN
5307 if test -n "$CPPBIN"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5309 $as_echo "$CPPBIN" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5317 if test -z "$ac_cv_prog_CPPBIN"; then
5318 ac_ct_CPPBIN=$CPPBIN
5319 # Extract the first word of "cpp", so it can be a program name with args.
5320 set dummy cpp; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 if test -n "$ac_ct_CPPBIN"; then
5327 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_ac_ct_CPPBIN="cpp"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5342 IFS=$as_save_IFS
5346 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5347 if test -n "$ac_ct_CPPBIN"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5349 $as_echo "$ac_ct_CPPBIN" >&6; }
5350 else
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5355 if test "x$ac_ct_CPPBIN" = x; then
5356 CPPBIN="cpp"
5357 else
5358 case $cross_compiling:$ac_tool_warned in
5359 yes:)
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5362 ac_tool_warned=yes ;;
5363 esac
5364 CPPBIN=$ac_ct_CPPBIN
5366 else
5367 CPPBIN="$ac_cv_prog_CPPBIN"
5371 cat >>confdefs.h <<_ACEOF
5372 #define EXEEXT "$ac_exeext"
5373 _ACEOF
5375 if test -n "$ac_tool_prefix"; then
5376 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5377 set dummy ${ac_tool_prefix}ld; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_LD+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 if test -n "$LD"; then
5384 ac_cv_prog_LD="$LD" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_LD="${ac_tool_prefix}ld"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 break 2
5397 done
5398 done
5399 IFS=$as_save_IFS
5403 LD=$ac_cv_prog_LD
5404 if test -n "$LD"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5406 $as_echo "$LD" >&6; }
5407 else
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5414 if test -z "$ac_cv_prog_LD"; then
5415 ac_ct_LD=$LD
5416 # Extract the first word of "ld", so it can be a program name with args.
5417 set dummy ld; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$ac_ct_LD"; then
5424 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_ac_ct_LD="ld"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5444 if test -n "$ac_ct_LD"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5446 $as_echo "$ac_ct_LD" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5452 if test "x$ac_ct_LD" = x; then
5453 LD=""
5454 else
5455 case $cross_compiling:$ac_tool_warned in
5456 yes:)
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5459 ac_tool_warned=yes ;;
5460 esac
5461 LD=$ac_ct_LD
5463 else
5464 LD="$ac_cv_prog_LD"
5468 case $host in
5469 *-darwin*)
5470 with_fontconfig=${with_fontconfig:-no}
5472 *-mingw32*|*-cygwin*)
5473 enable_win16=${enable_win16:-no}
5474 CFLAGS="$CFLAGS -D_WIN32"
5476 esac
5478 case $host in
5479 x86_64*|amd64*)
5480 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5481 then
5482 CC="$CC -m32"
5483 CXX="$CXX -m32"
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5485 $as_echo_n "checking whether $CC works... " >&6; }
5487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5491 main ()
5495 return 0;
5497 _ACEOF
5498 if ac_fn_c_try_link "$LINENO"; then :
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5500 $as_echo "yes" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5504 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5506 rm -f core conftest.err conftest.$ac_objext \
5507 conftest$ac_exeext conftest.$ac_ext
5508 host_cpu="i386"
5509 notice_platform="32-bit "
5510 TARGETFLAGS="-m32"
5512 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5513 export PKG_CONFIG_PATH
5514 enable_win16=${enable_win16:-yes}
5515 else
5516 if test "x${GCC}" = "xyes"
5517 then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5519 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 #include <stdarg.h>
5524 main ()
5526 void func(__builtin_ms_va_list *args);
5528 return 0;
5530 _ACEOF
5531 if ac_fn_c_try_compile "$LINENO"; then :
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5533 $as_echo "yes" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5537 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5541 CC="$CC -m64"
5542 CXX="$CXX -m64"
5543 host_cpu="x86_64"
5544 notice_platform="64-bit "
5545 TARGETFLAGS="-m64"
5549 arm*)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5551 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5554 int ac_test(int i) { return i; }
5556 main ()
5558 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5560 return 0;
5562 _ACEOF
5563 if ac_fn_c_try_link "$LINENO"; then :
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5565 $as_echo "yes" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5569 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5571 rm -f core conftest.err conftest.$ac_objext \
5572 conftest$ac_exeext conftest.$ac_ext
5573 case $with_float_abi in
5574 soft|softfp|hard)
5575 float_abi=$with_float_abi ;;
5577 case $host_os in
5578 *eabihf)
5579 float_abi=hard ;;
5581 float_abi=softfp
5582 saved_CFLAGS=$CFLAGS
5583 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5585 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5590 main ()
5592 asm("vmrs r2,fpscr");
5594 return 0;
5596 _ACEOF
5597 if ac_fn_c_try_link "$LINENO"; then :
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5599 $as_echo "yes" >&6; }
5600 else
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5603 float_abi=soft
5604 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5606 rm -f core conftest.err conftest.$ac_objext \
5607 conftest$ac_exeext conftest.$ac_ext
5608 CFLAGS=$saved_CFLAGS
5609 esac
5611 esac
5612 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5613 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5616 aarch64*)
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5618 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5621 #include <stdarg.h>
5623 main ()
5625 void func(__builtin_ms_va_list *args);
5627 return 0;
5629 _ACEOF
5630 if ac_fn_c_try_compile "$LINENO"; then :
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5632 $as_echo "yes" >&6; }
5633 else
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5636 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640 i[3456789]86*)
5641 enable_win16=${enable_win16:-yes}
5643 esac
5645 enable_win16=${enable_win16:-no}
5646 enable_win64=${enable_win64:-no}
5648 enable_winetest=${enable_winetest:-$enable_tests}
5650 if test -n "$with_wine64"
5651 then
5652 if test "x$enable_win64" = "xyes"
5653 then
5654 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5655 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5657 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5658 You should create a separate build directory and run configure from there." "$LINENO" 5
5659 enable_fonts=${enable_fonts:-no}
5660 enable_server=${enable_server:-no}
5661 wine64_disable=\#
5663 elif test "x$enable_win64" = "xyes"
5664 then
5665 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5669 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5670 if ${wine_cv_toolsdir+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 wine_cv_toolsdir="$with_wine_tools"
5674 if test -z "$with_wine_tools"; then
5675 if test "$cross_compiling" = "yes"; then
5676 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5677 elif test -n "$with_wine64"; then
5678 wine_cv_toolsdir="$with_wine64"
5681 if test -z "$wine_cv_toolsdir"; then
5682 wine_makedep=tools/makedep
5683 wine_cv_toolsdir="\$(top_builddir)"
5684 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5685 wine_makedep=$wine_cv_toolsdir/tools/makedep
5686 case "$wine_cv_toolsdir" in
5687 /*) ;;
5688 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5689 esac
5690 enable_tools=${enable_tools:-no}
5691 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5692 else
5693 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5697 $as_echo "$wine_cv_toolsdir" >&6; }
5698 TOOLSDIR=$wine_cv_toolsdir
5700 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5701 then
5702 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5706 for ac_prog in flex
5708 # Extract the first word of "$ac_prog", so it can be a program name with args.
5709 set dummy $ac_prog; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_FLEX+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if test -n "$FLEX"; then
5716 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_FLEX="$ac_prog"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 break 2
5729 done
5730 done
5731 IFS=$as_save_IFS
5735 FLEX=$ac_cv_prog_FLEX
5736 if test -n "$FLEX"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5738 $as_echo "$FLEX" >&6; }
5739 else
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5745 test -n "$FLEX" && break
5746 done
5747 test -n "$FLEX" || FLEX="none"
5749 if test "$FLEX" = "none"
5750 then
5751 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5754 $as_echo_n "checking whether flex is recent enough... " >&6; }
5755 cat >conftest.l <<EOF
5756 %top{
5757 #include "prediluvian.h"
5761 if $FLEX -t conftest.l >/dev/null 2>&5
5762 then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5764 $as_echo "yes" >&6; }
5765 else
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5768 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5771 for ac_prog in bison
5773 # Extract the first word of "$ac_prog", so it can be a program name with args.
5774 set dummy $ac_prog; ac_word=$2
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5776 $as_echo_n "checking for $ac_word... " >&6; }
5777 if ${ac_cv_prog_BISON+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 if test -n "$BISON"; then
5781 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5782 else
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 for as_dir in $PATH
5786 IFS=$as_save_IFS
5787 test -z "$as_dir" && as_dir=.
5788 for ac_exec_ext in '' $ac_executable_extensions; do
5789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5790 ac_cv_prog_BISON="$ac_prog"
5791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 break 2
5794 done
5795 done
5796 IFS=$as_save_IFS
5800 BISON=$ac_cv_prog_BISON
5801 if test -n "$BISON"; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5803 $as_echo "$BISON" >&6; }
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5810 test -n "$BISON" && break
5811 done
5812 test -n "$BISON" || BISON="none"
5814 if test "$BISON" = "none"
5815 then
5816 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5819 if test -n "$ac_tool_prefix"; then
5820 for ac_prog in ar gar
5822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_AR+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$AR"; then
5830 ac_cv_prog_AR="$AR" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 AR=$ac_cv_prog_AR
5850 if test -n "$AR"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5852 $as_echo "$AR" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$AR" && break
5860 done
5862 if test -z "$AR"; then
5863 ac_ct_AR=$AR
5864 for ac_prog in ar gar
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$ac_ct_AR"; then
5874 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_ac_ct_AR="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5894 if test -n "$ac_ct_AR"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5896 $as_echo "$ac_ct_AR" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$ac_ct_AR" && break
5904 done
5906 if test "x$ac_ct_AR" = x; then
5907 AR="ar"
5908 else
5909 case $cross_compiling:$ac_tool_warned in
5910 yes:)
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915 AR=$ac_ct_AR
5919 if test -n "$ac_tool_prefix"; then
5920 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}strip; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_STRIP+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 if test -n "$STRIP"; then
5928 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 break 2
5941 done
5942 done
5943 IFS=$as_save_IFS
5947 STRIP=$ac_cv_prog_STRIP
5948 if test -n "$STRIP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5950 $as_echo "$STRIP" >&6; }
5951 else
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5958 if test -z "$ac_cv_prog_STRIP"; then
5959 ac_ct_STRIP=$STRIP
5960 # Extract the first word of "strip", so it can be a program name with args.
5961 set dummy strip; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 if test -n "$ac_ct_STRIP"; then
5968 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_ac_ct_STRIP="strip"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5988 if test -n "$ac_ct_STRIP"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5990 $as_echo "$ac_ct_STRIP" >&6; }
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5996 if test "x$ac_ct_STRIP" = x; then
5997 STRIP="strip"
5998 else
5999 case $cross_compiling:$ac_tool_warned in
6000 yes:)
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 ac_tool_warned=yes ;;
6004 esac
6005 STRIP=$ac_ct_STRIP
6007 else
6008 STRIP="$ac_cv_prog_STRIP"
6011 ARFLAGS=rc
6013 if test -n "$ac_tool_prefix"; then
6014 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6015 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_RANLIB+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 if test -n "$RANLIB"; then
6022 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6027 IFS=$as_save_IFS
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6041 RANLIB=$ac_cv_prog_RANLIB
6042 if test -n "$RANLIB"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6044 $as_echo "$RANLIB" >&6; }
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6052 if test -z "$ac_cv_prog_RANLIB"; then
6053 ac_ct_RANLIB=$RANLIB
6054 # Extract the first word of "ranlib", so it can be a program name with args.
6055 set dummy ranlib; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$ac_ct_RANLIB"; then
6062 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_ac_ct_RANLIB="ranlib"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6082 if test -n "$ac_ct_RANLIB"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6084 $as_echo "$ac_ct_RANLIB" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6090 if test "x$ac_ct_RANLIB" = x; then
6091 RANLIB=":"
6092 else
6093 case $cross_compiling:$ac_tool_warned in
6094 yes:)
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6097 ac_tool_warned=yes ;;
6098 esac
6099 RANLIB=$ac_ct_RANLIB
6101 else
6102 RANLIB="$ac_cv_prog_RANLIB"
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6106 $as_echo_n "checking whether ln -s works... " >&6; }
6107 LN_S=$as_ln_s
6108 if test "$LN_S" = "ln -s"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6110 $as_echo "yes" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6113 $as_echo "no, using $LN_S" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6117 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6118 if ${ac_cv_path_GREP+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -z "$GREP"; then
6122 ac_path_GREP_found=false
6123 # Loop through the user's path and test for each of PROGNAME-LIST
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6127 IFS=$as_save_IFS
6128 test -z "$as_dir" && as_dir=.
6129 for ac_prog in grep ggrep; do
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6132 as_fn_executable_p "$ac_path_GREP" || continue
6133 # Check for GNU ac_path_GREP and select it if it is found.
6134 # Check for GNU $ac_path_GREP
6135 case `"$ac_path_GREP" --version 2>&1` in
6136 *GNU*)
6137 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6139 ac_count=0
6140 $as_echo_n 0123456789 >"conftest.in"
6141 while :
6143 cat "conftest.in" "conftest.in" >"conftest.tmp"
6144 mv "conftest.tmp" "conftest.in"
6145 cp "conftest.in" "conftest.nl"
6146 $as_echo 'GREP' >> "conftest.nl"
6147 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6148 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6149 as_fn_arith $ac_count + 1 && ac_count=$as_val
6150 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6151 # Best one so far, save it but keep looking for a better one
6152 ac_cv_path_GREP="$ac_path_GREP"
6153 ac_path_GREP_max=$ac_count
6155 # 10*(2^10) chars as input seems more than enough
6156 test $ac_count -gt 10 && break
6157 done
6158 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6159 esac
6161 $ac_path_GREP_found && break 3
6162 done
6163 done
6164 done
6165 IFS=$as_save_IFS
6166 if test -z "$ac_cv_path_GREP"; then
6167 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6169 else
6170 ac_cv_path_GREP=$GREP
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6175 $as_echo "$ac_cv_path_GREP" >&6; }
6176 GREP="$ac_cv_path_GREP"
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6180 $as_echo_n "checking for egrep... " >&6; }
6181 if ${ac_cv_path_EGREP+:} false; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6185 then ac_cv_path_EGREP="$GREP -E"
6186 else
6187 if test -z "$EGREP"; then
6188 ac_path_EGREP_found=false
6189 # Loop through the user's path and test for each of PROGNAME-LIST
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_prog in egrep; do
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6198 as_fn_executable_p "$ac_path_EGREP" || continue
6199 # Check for GNU ac_path_EGREP and select it if it is found.
6200 # Check for GNU $ac_path_EGREP
6201 case `"$ac_path_EGREP" --version 2>&1` in
6202 *GNU*)
6203 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6205 ac_count=0
6206 $as_echo_n 0123456789 >"conftest.in"
6207 while :
6209 cat "conftest.in" "conftest.in" >"conftest.tmp"
6210 mv "conftest.tmp" "conftest.in"
6211 cp "conftest.in" "conftest.nl"
6212 $as_echo 'EGREP' >> "conftest.nl"
6213 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6214 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6215 as_fn_arith $ac_count + 1 && ac_count=$as_val
6216 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6217 # Best one so far, save it but keep looking for a better one
6218 ac_cv_path_EGREP="$ac_path_EGREP"
6219 ac_path_EGREP_max=$ac_count
6221 # 10*(2^10) chars as input seems more than enough
6222 test $ac_count -gt 10 && break
6223 done
6224 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6225 esac
6227 $ac_path_EGREP_found && break 3
6228 done
6229 done
6230 done
6231 IFS=$as_save_IFS
6232 if test -z "$ac_cv_path_EGREP"; then
6233 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6235 else
6236 ac_cv_path_EGREP=$EGREP
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6242 $as_echo "$ac_cv_path_EGREP" >&6; }
6243 EGREP="$ac_cv_path_EGREP"
6246 # Extract the first word of "ldconfig", so it can be a program name with args.
6247 set dummy ldconfig; ac_word=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_path_LDCONFIG+:} false; then :
6251 $as_echo_n "(cached) " >&6
6252 else
6253 case $LDCONFIG in
6254 [\\/]* | ?:[\\/]*)
6255 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 for as_dir in /sbin /usr/sbin $PATH
6261 IFS=$as_save_IFS
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6265 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 break 2
6269 done
6270 done
6271 IFS=$as_save_IFS
6273 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6275 esac
6277 LDCONFIG=$ac_cv_path_LDCONFIG
6278 if test -n "$LDCONFIG"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6280 $as_echo "$LDCONFIG" >&6; }
6281 else
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6287 for ac_prog in msgfmt
6289 # Extract the first word of "$ac_prog", so it can be a program name with args.
6290 set dummy $ac_prog; ac_word=$2
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292 $as_echo_n "checking for $ac_word... " >&6; }
6293 if ${ac_cv_prog_MSGFMT+:} false; then :
6294 $as_echo_n "(cached) " >&6
6295 else
6296 if test -n "$MSGFMT"; then
6297 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6298 else
6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 for as_dir in $PATH
6302 IFS=$as_save_IFS
6303 test -z "$as_dir" && as_dir=.
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6306 ac_cv_prog_MSGFMT="$ac_prog"
6307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 break 2
6310 done
6311 done
6312 IFS=$as_save_IFS
6316 MSGFMT=$ac_cv_prog_MSGFMT
6317 if test -n "$MSGFMT"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6319 $as_echo "$MSGFMT" >&6; }
6320 else
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322 $as_echo "no" >&6; }
6326 test -n "$MSGFMT" && break
6327 done
6328 test -n "$MSGFMT" || MSGFMT="false"
6330 if ${ac_tool_prefix+:} false; then :
6331 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6332 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 if test -n "$PKG_CONFIG"; then
6339 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6340 else
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 break 2
6352 done
6353 done
6354 IFS=$as_save_IFS
6358 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6359 if test -n "$PKG_CONFIG"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6361 $as_echo "$PKG_CONFIG" >&6; }
6362 else
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6369 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6370 if test "x$cross_compiling" = xyes; then :
6372 else
6373 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6374 # Extract the first word of "pkg-config", so it can be a program name with args.
6375 set dummy pkg-config; ac_word=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 $as_echo_n "checking for $ac_word... " >&6; }
6378 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6379 $as_echo_n "(cached) " >&6
6380 else
6381 if test -n "$PKG_CONFIG"; then
6382 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6383 else
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6391 ac_cv_prog_PKG_CONFIG="pkg-config"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 break 2
6395 done
6396 done
6397 IFS=$as_save_IFS
6401 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6402 if test -n "$PKG_CONFIG"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6404 $as_echo "$PKG_CONFIG" >&6; }
6405 else
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407 $as_echo "no" >&6; }
6412 else
6413 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6416 if test "x$enable_maintainer_mode" != "xyes"
6417 then
6418 FONTFORGE=""
6419 RSVG=""
6420 CONVERT=""
6421 ICOTOOL=""
6422 else
6423 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6424 for ac_prog in fontforge
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy $ac_prog; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_FONTFORGE+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$FONTFORGE"; then
6434 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_FONTFORGE="$ac_prog"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 FONTFORGE=$ac_cv_prog_FONTFORGE
6454 if test -n "$FONTFORGE"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6456 $as_echo "$FONTFORGE" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6463 test -n "$FONTFORGE" && break
6464 done
6465 test -n "$FONTFORGE" || FONTFORGE="false"
6467 for ac_prog in rsvg-convert rsvg
6469 # Extract the first word of "$ac_prog", so it can be a program name with args.
6470 set dummy $ac_prog; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_prog_RSVG+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 if test -n "$RSVG"; then
6477 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6478 else
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_RSVG="$ac_prog"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6496 RSVG=$ac_cv_prog_RSVG
6497 if test -n "$RSVG"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6499 $as_echo "$RSVG" >&6; }
6500 else
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6506 test -n "$RSVG" && break
6507 done
6508 test -n "$RSVG" || RSVG="false"
6510 for ac_prog in convert
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy $ac_prog; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_CONVERT+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$CONVERT"; then
6520 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_CONVERT="$ac_prog"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 CONVERT=$ac_cv_prog_CONVERT
6540 if test -n "$CONVERT"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6542 $as_echo "$CONVERT" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6549 test -n "$CONVERT" && break
6550 done
6551 test -n "$CONVERT" || CONVERT="false"
6553 for ac_prog in icotool
6555 # Extract the first word of "$ac_prog", so it can be a program name with args.
6556 set dummy $ac_prog; ac_word=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if ${ac_cv_prog_ICOTOOL+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 if test -n "$ICOTOOL"; then
6563 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6564 else
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 for as_dir in $PATH
6568 IFS=$as_save_IFS
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_ICOTOOL="$ac_prog"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 ICOTOOL=$ac_cv_prog_ICOTOOL
6583 if test -n "$ICOTOOL"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6585 $as_echo "$ICOTOOL" >&6; }
6586 else
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6592 test -n "$ICOTOOL" && break
6593 done
6594 test -n "$ICOTOOL" || ICOTOOL="false"
6596 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6597 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6599 if test "$CONVERT" = false
6600 then
6601 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6604 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6605 convert_version=`convert --version | head -n1`
6606 if test "x$convert_version" != "x"
6607 then
6608 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6609 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6610 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6611 then
6612 CONVERT=false
6615 if test "$CONVERT" = false
6616 then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6618 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6619 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6620 else
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6622 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6626 if test "$ICOTOOL" = false
6627 then
6628 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6629 else
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6631 $as_echo_n "checking for recent enough icotool... " >&6; }
6632 icotool_version=`icotool --version | head -n1`
6633 if test "x$icotool_version" != "x"
6634 then
6635 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6636 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6637 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6638 then
6639 ICOTOOL=false
6640 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6643 if test "$ICOTOOL" = false
6644 then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6646 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6647 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6648 else
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6650 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6654 with_gettext=yes
6655 with_gettextpo=yes
6656 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6659 test "x$with_gettext" != xno || MSGFMT=false
6660 if test "$MSGFMT" != "false"
6661 then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6663 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6664 cat >conftest.po <<EOF
6665 # comment
6666 msgctxt "ctxt"
6667 msgid "id"
6668 msgstr "str"
6670 if $MSGFMT -o /dev/null conftest.po 2>&5
6671 then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6673 $as_echo "yes" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6677 MSGFMT=false
6680 if test "$MSGFMT" = false; then :
6681 case "x$with_gettext" in
6682 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6683 xno) ;;
6684 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6685 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6686 esac
6687 enable_po=${enable_po:-no}
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6692 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6693 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 ac_check_lib_save_LIBS=$LIBS
6697 LIBS="-li386 $LIBS"
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6701 /* Override any GCC internal prototype to avoid an error.
6702 Use char because int might match the return type of a GCC
6703 builtin and then its argument prototype would still apply. */
6704 #ifdef __cplusplus
6705 extern "C"
6706 #endif
6707 char i386_set_ldt ();
6709 main ()
6711 return i386_set_ldt ();
6713 return 0;
6715 _ACEOF
6716 if ac_fn_c_try_link "$LINENO"; then :
6717 ac_cv_lib_i386_i386_set_ldt=yes
6718 else
6719 ac_cv_lib_i386_i386_set_ldt=no
6721 rm -f core conftest.err conftest.$ac_objext \
6722 conftest$ac_exeext conftest.$ac_ext
6723 LIBS=$ac_check_lib_save_LIBS
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6726 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6727 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6728 cat >>confdefs.h <<_ACEOF
6729 #define HAVE_LIBI386 1
6730 _ACEOF
6732 LIBS="-li386 $LIBS"
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6737 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6738 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 ac_check_lib_save_LIBS=$LIBS
6742 LIBS="-lossaudio $LIBS"
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6746 /* Override any GCC internal prototype to avoid an error.
6747 Use char because int might match the return type of a GCC
6748 builtin and then its argument prototype would still apply. */
6749 #ifdef __cplusplus
6750 extern "C"
6751 #endif
6752 char _oss_ioctl ();
6754 main ()
6756 return _oss_ioctl ();
6758 return 0;
6760 _ACEOF
6761 if ac_fn_c_try_link "$LINENO"; then :
6762 ac_cv_lib_ossaudio__oss_ioctl=yes
6763 else
6764 ac_cv_lib_ossaudio__oss_ioctl=no
6766 rm -f core conftest.err conftest.$ac_objext \
6767 conftest$ac_exeext conftest.$ac_ext
6768 LIBS=$ac_check_lib_save_LIBS
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6771 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6772 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6773 cat >>confdefs.h <<_ACEOF
6774 #define HAVE_LIBOSSAUDIO 1
6775 _ACEOF
6777 LIBS="-lossaudio $LIBS"
6782 OPENGL_LIBS=""
6786 # Check whether --enable-largefile was given.
6787 if test "${enable_largefile+set}" = set; then :
6788 enableval=$enable_largefile;
6791 if test "$enable_largefile" != no; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6794 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6795 if ${ac_cv_sys_largefile_CC+:} false; then :
6796 $as_echo_n "(cached) " >&6
6797 else
6798 ac_cv_sys_largefile_CC=no
6799 if test "$GCC" != yes; then
6800 ac_save_CC=$CC
6801 while :; do
6802 # IRIX 6.2 and later do not support large files by default,
6803 # so use the C compiler's -n32 option if that helps.
6804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 #include <sys/types.h>
6807 /* Check that off_t can represent 2**63 - 1 correctly.
6808 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6809 since some C++ compilers masquerading as C compilers
6810 incorrectly reject 9223372036854775807. */
6811 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6812 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6813 && LARGE_OFF_T % 2147483647 == 1)
6814 ? 1 : -1];
6816 main ()
6820 return 0;
6822 _ACEOF
6823 if ac_fn_c_try_compile "$LINENO"; then :
6824 break
6826 rm -f core conftest.err conftest.$ac_objext
6827 CC="$CC -n32"
6828 if ac_fn_c_try_compile "$LINENO"; then :
6829 ac_cv_sys_largefile_CC=' -n32'; break
6831 rm -f core conftest.err conftest.$ac_objext
6832 break
6833 done
6834 CC=$ac_save_CC
6835 rm -f conftest.$ac_ext
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6839 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6840 if test "$ac_cv_sys_largefile_CC" != no; then
6841 CC=$CC$ac_cv_sys_largefile_CC
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6845 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6846 if ${ac_cv_sys_file_offset_bits+:} false; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 while :; do
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 #include <sys/types.h>
6853 /* Check that off_t can represent 2**63 - 1 correctly.
6854 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6855 since some C++ compilers masquerading as C compilers
6856 incorrectly reject 9223372036854775807. */
6857 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6858 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6859 && LARGE_OFF_T % 2147483647 == 1)
6860 ? 1 : -1];
6862 main ()
6866 return 0;
6868 _ACEOF
6869 if ac_fn_c_try_compile "$LINENO"; then :
6870 ac_cv_sys_file_offset_bits=no; break
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6875 #define _FILE_OFFSET_BITS 64
6876 #include <sys/types.h>
6877 /* Check that off_t can represent 2**63 - 1 correctly.
6878 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6879 since some C++ compilers masquerading as C compilers
6880 incorrectly reject 9223372036854775807. */
6881 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6882 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6883 && LARGE_OFF_T % 2147483647 == 1)
6884 ? 1 : -1];
6886 main ()
6890 return 0;
6892 _ACEOF
6893 if ac_fn_c_try_compile "$LINENO"; then :
6894 ac_cv_sys_file_offset_bits=64; break
6896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6897 ac_cv_sys_file_offset_bits=unknown
6898 break
6899 done
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6902 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6903 case $ac_cv_sys_file_offset_bits in #(
6904 no | unknown) ;;
6906 cat >>confdefs.h <<_ACEOF
6907 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6908 _ACEOF
6910 esac
6911 rm -rf conftest*
6912 if test $ac_cv_sys_file_offset_bits = unknown; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6914 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6915 if ${ac_cv_sys_large_files+:} false; then :
6916 $as_echo_n "(cached) " >&6
6917 else
6918 while :; do
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6921 #include <sys/types.h>
6922 /* Check that off_t can represent 2**63 - 1 correctly.
6923 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6924 since some C++ compilers masquerading as C compilers
6925 incorrectly reject 9223372036854775807. */
6926 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6927 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6928 && LARGE_OFF_T % 2147483647 == 1)
6929 ? 1 : -1];
6931 main ()
6935 return 0;
6937 _ACEOF
6938 if ac_fn_c_try_compile "$LINENO"; then :
6939 ac_cv_sys_large_files=no; break
6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943 /* end confdefs.h. */
6944 #define _LARGE_FILES 1
6945 #include <sys/types.h>
6946 /* Check that off_t can represent 2**63 - 1 correctly.
6947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6948 since some C++ compilers masquerading as C compilers
6949 incorrectly reject 9223372036854775807. */
6950 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6952 && LARGE_OFF_T % 2147483647 == 1)
6953 ? 1 : -1];
6955 main ()
6959 return 0;
6961 _ACEOF
6962 if ac_fn_c_try_compile "$LINENO"; then :
6963 ac_cv_sys_large_files=1; break
6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6966 ac_cv_sys_large_files=unknown
6967 break
6968 done
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6971 $as_echo "$ac_cv_sys_large_files" >&6; }
6972 case $ac_cv_sys_large_files in #(
6973 no | unknown) ;;
6975 cat >>confdefs.h <<_ACEOF
6976 #define _LARGE_FILES $ac_cv_sys_large_files
6977 _ACEOF
6979 esac
6980 rm -rf conftest*
6987 ac_ext=c
6988 ac_cpp='$CPP $CPPFLAGS'
6989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6993 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6994 # On Suns, sometimes $CPP names a directory.
6995 if test -n "$CPP" && test -d "$CPP"; then
6996 CPP=
6998 if test -z "$CPP"; then
6999 if ${ac_cv_prog_CPP+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 # Double quotes because CPP needs to be expanded
7003 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7005 ac_preproc_ok=false
7006 for ac_c_preproc_warn_flag in '' yes
7008 # Use a header file that comes with gcc, so configuring glibc
7009 # with a fresh cross-compiler works.
7010 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7011 # <limits.h> exists even on freestanding compilers.
7012 # On the NeXT, cc -E runs the code through the compiler's parser,
7013 # not just through cpp. "Syntax error" is here to catch this case.
7014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7015 /* end confdefs.h. */
7016 #ifdef __STDC__
7017 # include <limits.h>
7018 #else
7019 # include <assert.h>
7020 #endif
7021 Syntax error
7022 _ACEOF
7023 if ac_fn_c_try_cpp "$LINENO"; then :
7025 else
7026 # Broken: fails on valid input.
7027 continue
7029 rm -f conftest.err conftest.i conftest.$ac_ext
7031 # OK, works on sane cases. Now check whether nonexistent headers
7032 # can be detected and how.
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7035 #include <ac_nonexistent.h>
7036 _ACEOF
7037 if ac_fn_c_try_cpp "$LINENO"; then :
7038 # Broken: success on invalid input.
7039 continue
7040 else
7041 # Passes both tests.
7042 ac_preproc_ok=:
7043 break
7045 rm -f conftest.err conftest.i conftest.$ac_ext
7047 done
7048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7049 rm -f conftest.i conftest.err conftest.$ac_ext
7050 if $ac_preproc_ok; then :
7051 break
7054 done
7055 ac_cv_prog_CPP=$CPP
7058 CPP=$ac_cv_prog_CPP
7059 else
7060 ac_cv_prog_CPP=$CPP
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7063 $as_echo "$CPP" >&6; }
7064 ac_preproc_ok=false
7065 for ac_c_preproc_warn_flag in '' yes
7067 # Use a header file that comes with gcc, so configuring glibc
7068 # with a fresh cross-compiler works.
7069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7070 # <limits.h> exists even on freestanding compilers.
7071 # On the NeXT, cc -E runs the code through the compiler's parser,
7072 # not just through cpp. "Syntax error" is here to catch this case.
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7075 #ifdef __STDC__
7076 # include <limits.h>
7077 #else
7078 # include <assert.h>
7079 #endif
7080 Syntax error
7081 _ACEOF
7082 if ac_fn_c_try_cpp "$LINENO"; then :
7084 else
7085 # Broken: fails on valid input.
7086 continue
7088 rm -f conftest.err conftest.i conftest.$ac_ext
7090 # OK, works on sane cases. Now check whether nonexistent headers
7091 # can be detected and how.
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7094 #include <ac_nonexistent.h>
7095 _ACEOF
7096 if ac_fn_c_try_cpp "$LINENO"; then :
7097 # Broken: success on invalid input.
7098 continue
7099 else
7100 # Passes both tests.
7101 ac_preproc_ok=:
7102 break
7104 rm -f conftest.err conftest.i conftest.$ac_ext
7106 done
7107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7108 rm -f conftest.i conftest.err conftest.$ac_ext
7109 if $ac_preproc_ok; then :
7111 else
7112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7114 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7115 See \`config.log' for more details" "$LINENO" 5; }
7118 ac_ext=c
7119 ac_cpp='$CPP $CPPFLAGS'
7120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7126 $as_echo_n "checking for ANSI C header files... " >&6; }
7127 if ${ac_cv_header_stdc+:} false; then :
7128 $as_echo_n "(cached) " >&6
7129 else
7130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7132 #include <stdlib.h>
7133 #include <stdarg.h>
7134 #include <string.h>
7135 #include <float.h>
7138 main ()
7142 return 0;
7144 _ACEOF
7145 if ac_fn_c_try_compile "$LINENO"; then :
7146 ac_cv_header_stdc=yes
7147 else
7148 ac_cv_header_stdc=no
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7152 if test $ac_cv_header_stdc = yes; then
7153 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7156 #include <string.h>
7158 _ACEOF
7159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7160 $EGREP "memchr" >/dev/null 2>&1; then :
7162 else
7163 ac_cv_header_stdc=no
7165 rm -f conftest*
7169 if test $ac_cv_header_stdc = yes; then
7170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #include <stdlib.h>
7175 _ACEOF
7176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7177 $EGREP "free" >/dev/null 2>&1; then :
7179 else
7180 ac_cv_header_stdc=no
7182 rm -f conftest*
7186 if test $ac_cv_header_stdc = yes; then
7187 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7188 if test "$cross_compiling" = yes; then :
7190 else
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 #include <ctype.h>
7194 #include <stdlib.h>
7195 #if ((' ' & 0x0FF) == 0x020)
7196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7198 #else
7199 # define ISLOWER(c) \
7200 (('a' <= (c) && (c) <= 'i') \
7201 || ('j' <= (c) && (c) <= 'r') \
7202 || ('s' <= (c) && (c) <= 'z'))
7203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7204 #endif
7206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7208 main ()
7210 int i;
7211 for (i = 0; i < 256; i++)
7212 if (XOR (islower (i), ISLOWER (i))
7213 || toupper (i) != TOUPPER (i))
7214 return 2;
7215 return 0;
7217 _ACEOF
7218 if ac_fn_c_try_run "$LINENO"; then :
7220 else
7221 ac_cv_header_stdc=no
7223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7224 conftest.$ac_objext conftest.beam conftest.$ac_ext
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7230 $as_echo "$ac_cv_header_stdc" >&6; }
7231 if test $ac_cv_header_stdc = yes; then
7233 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7237 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7238 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7239 inttypes.h stdint.h unistd.h
7240 do :
7241 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7244 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7247 _ACEOF
7251 done
7254 for ac_header in \
7255 AL/al.h \
7256 ApplicationServices/ApplicationServices.h \
7257 AudioToolbox/AudioConverter.h \
7258 AudioUnit/AudioUnit.h \
7259 AudioUnit/AudioComponent.h \
7260 CL/cl.h \
7261 Carbon/Carbon.h \
7262 CommonCrypto/CommonCryptor.h \
7263 CoreAudio/CoreAudio.h \
7264 CoreServices/CoreServices.h \
7265 DiskArbitration/DiskArbitration.h \
7266 EGL/egl.h \
7267 IOKit/IOKitLib.h \
7268 IOKit/hid/IOHIDLib.h \
7269 OpenAL/al.h \
7270 OpenCL/opencl.h \
7271 QuickTime/ImageCompression.h \
7272 Security/Security.h \
7273 alias.h \
7274 alsa/asoundlib.h \
7275 arpa/inet.h \
7276 arpa/nameser.h \
7277 asm/types.h \
7278 asm/user.h \
7279 curses.h \
7280 direct.h \
7281 dirent.h \
7282 dlfcn.h \
7283 elf.h \
7284 float.h \
7285 fnmatch.h \
7286 getopt.h \
7287 gettext-po.h \
7288 grp.h \
7289 gsm.h \
7290 gsm/gsm.h \
7291 ieeefp.h \
7292 inet/mib2.h \
7293 io.h \
7294 kstat.h \
7295 libproc.h \
7296 link.h \
7297 linux/cdrom.h \
7298 linux/compiler.h \
7299 linux/filter.h \
7300 linux/hdreg.h \
7301 linux/hidraw.h \
7302 linux/input.h \
7303 linux/ioctl.h \
7304 linux/joystick.h \
7305 linux/major.h \
7306 linux/param.h \
7307 linux/serial.h \
7308 linux/types.h \
7309 linux/ucdrom.h \
7310 lwp.h \
7311 mach-o/nlist.h \
7312 mach-o/loader.h \
7313 mach/mach.h \
7314 mach/machine.h \
7315 machine/cpu.h \
7316 machine/limits.h \
7317 machine/sysarch.h \
7318 mntent.h \
7319 ncurses.h \
7320 netdb.h \
7321 netinet/in.h \
7322 netinet/in_systm.h \
7323 netinet/tcp.h \
7324 netinet/tcp_fsm.h \
7325 pcap/pcap.h \
7326 poll.h \
7327 port.h \
7328 process.h \
7329 pthread.h \
7330 pwd.h \
7331 sched.h \
7332 scsi/scsi.h \
7333 scsi/scsi_ioctl.h \
7334 scsi/sg.h \
7335 stdbool.h \
7336 stdint.h \
7337 stropts.h \
7338 sys/asoundlib.h \
7339 sys/attr.h \
7340 sys/auxv.h \
7341 sys/cdio.h \
7342 sys/elf32.h \
7343 sys/epoll.h \
7344 sys/event.h \
7345 sys/exec_elf.h \
7346 sys/filio.h \
7347 sys/inotify.h \
7348 sys/ioctl.h \
7349 sys/ipc.h \
7350 sys/limits.h \
7351 sys/link.h \
7352 sys/mman.h \
7353 sys/modem.h \
7354 sys/msg.h \
7355 sys/mtio.h \
7356 sys/param.h \
7357 sys/poll.h \
7358 sys/prctl.h \
7359 sys/protosw.h \
7360 sys/ptrace.h \
7361 sys/queue.h \
7362 sys/resource.h \
7363 sys/scsiio.h \
7364 sys/shm.h \
7365 sys/signal.h \
7366 sys/socket.h \
7367 sys/socketvar.h \
7368 sys/sockio.h \
7369 sys/statvfs.h \
7370 sys/strtio.h \
7371 sys/syscall.h \
7372 sys/sysinfo.h \
7373 sys/tihdr.h \
7374 sys/time.h \
7375 sys/timeout.h \
7376 sys/times.h \
7377 sys/uio.h \
7378 sys/user.h \
7379 sys/utsname.h \
7380 sys/vnode.h \
7381 sys/wait.h \
7382 syscall.h \
7383 termios.h \
7384 unistd.h \
7385 utime.h \
7386 valgrind/memcheck.h \
7387 valgrind/valgrind.h \
7388 zlib.h
7390 do :
7391 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7392 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7394 cat >>confdefs.h <<_ACEOF
7395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7396 _ACEOF
7400 done
7402 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7403 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7405 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7410 if test $ac_cv_header_sys_mkdev_h = no; then
7411 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7412 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7414 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7421 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7422 if ${ac_cv_header_stat_broken+:} false; then :
7423 $as_echo_n "(cached) " >&6
7424 else
7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7427 #include <sys/types.h>
7428 #include <sys/stat.h>
7430 #if defined S_ISBLK && defined S_IFDIR
7431 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7432 #endif
7434 #if defined S_ISBLK && defined S_IFCHR
7435 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7436 #endif
7438 #if defined S_ISLNK && defined S_IFREG
7439 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7440 #endif
7442 #if defined S_ISSOCK && defined S_IFREG
7443 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7444 #endif
7446 _ACEOF
7447 if ac_fn_c_try_compile "$LINENO"; then :
7448 ac_cv_header_stat_broken=no
7449 else
7450 ac_cv_header_stat_broken=yes
7452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7455 $as_echo "$ac_cv_header_stat_broken" >&6; }
7456 if test $ac_cv_header_stat_broken = yes; then
7458 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7464 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7465 do :
7466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7467 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7468 #ifdef HAVE_SYS_PARAM_H
7469 # include <sys/param.h>
7470 #endif
7472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7473 cat >>confdefs.h <<_ACEOF
7474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 _ACEOF
7479 done
7482 for ac_header in \
7483 netinet/ip.h \
7484 net/if.h \
7485 net/if_arp.h \
7486 net/if_dl.h \
7487 net/if_types.h \
7488 net/route.h \
7489 netinet/if_ether.h \
7490 netinet/if_inarp.h \
7491 netinet/in_pcb.h \
7492 netinet/ip_icmp.h \
7493 netinet/ip_var.h \
7494 netinet/udp.h \
7495 netipx/ipx.h \
7496 sys/un.h \
7498 do :
7499 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7500 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7501 #ifdef HAVE_SYS_SOCKET_H
7502 # include <sys/socket.h>
7503 #endif
7504 #ifdef HAVE_SYS_SOCKETVAR_H
7505 # include <sys/socketvar.h>
7506 #endif
7507 #ifdef HAVE_NET_ROUTE_H
7508 # include <net/route.h>
7509 #endif
7510 #ifdef HAVE_NETINET_IN_H
7511 # include <netinet/in.h>
7512 #endif
7513 #ifdef HAVE_NETINET_IN_SYSTM_H
7514 # include <netinet/in_systm.h>
7515 #endif
7516 #ifdef HAVE_NET_IF_H
7517 # include <net/if.h>
7518 #endif
7519 #ifdef HAVE_NETINET_IP_H
7520 # include <netinet/ip.h>
7521 #endif
7523 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7524 cat >>confdefs.h <<_ACEOF
7525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7526 _ACEOF
7530 done
7533 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7534 do :
7535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7537 #ifdef HAVE_ALIAS_H
7538 # include <alias.h>
7539 #endif
7540 #ifdef HAVE_SYS_SOCKET_H
7541 # include <sys/socket.h>
7542 #endif
7543 #ifdef HAVE_SYS_SOCKETVAR_H
7544 # include <sys/socketvar.h>
7545 #endif
7546 #ifdef HAVE_SYS_TIMEOUT_H
7547 # include <sys/timeout.h>
7548 #endif
7549 #ifdef HAVE_NETINET_IN_H
7550 # include <netinet/in.h>
7551 #endif
7552 #ifdef HAVE_NETINET_IN_SYSTM_H
7553 # include <netinet/in_systm.h>
7554 #endif
7555 #ifdef HAVE_NETINET_IP_H
7556 # include <netinet/ip.h>
7557 #endif
7558 #ifdef HAVE_NETINET_IP_VAR_H
7559 # include <netinet/ip_var.h>
7560 #endif
7561 #ifdef HAVE_NETINET_IP_ICMP_H
7562 # include <netinet/ip_icmp.h>
7563 #endif
7564 #ifdef HAVE_NETINET_UDP_H
7565 # include <netinet/udp.h>
7566 #endif
7567 #ifdef HAVE_NETINET_TCP_H
7568 # include <netinet/tcp.h>
7569 #endif
7570 #ifdef HAVE_NETINET_TCP_TIMER_H
7571 #include <netinet/tcp_timer.h>
7572 #endif
7574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7575 cat >>confdefs.h <<_ACEOF
7576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7577 _ACEOF
7581 done
7584 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7585 do :
7586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7587 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7588 #ifdef HAVE_ASM_TYPES_H
7589 # include <asm/types.h>
7590 #endif
7591 #ifdef HAVE_SYS_SOCKET_H
7592 # include <sys/socket.h>
7593 #endif
7594 #ifdef HAVE_LINUX_TYPES_H
7595 # include <linux/types.h>
7596 #endif
7598 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7599 cat >>confdefs.h <<_ACEOF
7600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7601 _ACEOF
7605 done
7608 for ac_header in mach-o/dyld_images.h
7609 do :
7610 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7611 # include <stdbool.h>
7612 #endif
7613 #ifdef HAVE_STDINT_H
7614 # include <stdint.h>
7615 #endif
7617 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7618 cat >>confdefs.h <<_ACEOF
7619 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7620 _ACEOF
7624 done
7627 for ac_header in resolv.h
7628 do :
7629 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7630 #ifdef HAVE_SYS_SOCKET_H
7631 # include <sys/socket.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_H
7634 # include <netinet/in.h>
7635 #endif
7636 #ifdef HAVE_ARPA_NAMESER_H
7637 # include <arpa/nameser.h>
7638 #endif
7640 if test "x$ac_cv_header_resolv_h" = xyes; then :
7641 cat >>confdefs.h <<_ACEOF
7642 #define HAVE_RESOLV_H 1
7643 _ACEOF
7647 done
7650 for ac_header in ifaddrs.h
7651 do :
7652 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7654 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7655 cat >>confdefs.h <<_ACEOF
7656 #define HAVE_IFADDRS_H 1
7657 _ACEOF
7661 done
7664 for ac_header in sys/ucontext.h
7665 do :
7666 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7668 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7669 cat >>confdefs.h <<_ACEOF
7670 #define HAVE_SYS_UCONTEXT_H 1
7671 _ACEOF
7675 done
7678 for ac_header in sys/thr.h
7679 do :
7680 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7681 #ifdef HAVE_SYS_UCONTEXT_H
7682 #include <sys/ucontext.h>
7683 #endif
7685 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7686 cat >>confdefs.h <<_ACEOF
7687 #define HAVE_SYS_THR_H 1
7688 _ACEOF
7692 done
7695 for ac_header in pthread_np.h
7696 do :
7697 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7698 #include <pthread.h>
7699 #endif
7701 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define HAVE_PTHREAD_NP_H 1
7704 _ACEOF
7708 done
7711 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7712 do :
7713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7715 #include <sys/time.h>
7716 #endif
7717 #include <sys/types.h>
7718 #ifdef HAVE_ASM_TYPES_H
7719 #include <asm/types.h>
7720 #endif
7722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 _ACEOF
7729 done
7732 for ac_header in libprocstat.h
7733 do :
7734 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7735 #include <sys/param.h>
7736 #endif
7737 #ifdef HAVE_SYS_QUEUE_H
7738 #include <sys/queue.h>
7739 #endif
7740 #ifdef HAVE_SYS_SOCKET_H
7741 #include <sys/socket.h>
7742 #endif
7744 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_LIBPROCSTAT_H 1
7747 _ACEOF
7751 done
7755 DLLFLAGS="-D_REENTRANT"
7757 LDRPATH_INSTALL=""
7759 LDRPATH_LOCAL=""
7761 LDEXECFLAGS=""
7763 WINELOADER_LDFLAGS=""
7765 LIBEXT="so"
7766 DLLEXT=".so"
7767 IMPLIBEXT="def"
7768 # Extract the first word of "ldd", so it can be a program name with args.
7769 set dummy ldd; ac_word=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771 $as_echo_n "checking for $ac_word... " >&6; }
7772 if ${ac_cv_path_LDD+:} false; then :
7773 $as_echo_n "(cached) " >&6
7774 else
7775 case $LDD in
7776 [\\/]* | ?:[\\/]*)
7777 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7781 as_dummy="/sbin:/usr/sbin:$PATH"
7782 for as_dir in $as_dummy
7784 IFS=$as_save_IFS
7785 test -z "$as_dir" && as_dir=.
7786 for ac_exec_ext in '' $ac_executable_extensions; do
7787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7788 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 break 2
7792 done
7793 done
7794 IFS=$as_save_IFS
7796 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7798 esac
7800 LDD=$ac_cv_path_LDD
7801 if test -n "$LDD"; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7803 $as_echo "$LDD" >&6; }
7804 else
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7806 $as_echo "no" >&6; }
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}otool; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814 $as_echo_n "checking for $ac_word... " >&6; }
7815 if ${ac_cv_prog_OTOOL+:} false; then :
7816 $as_echo_n "(cached) " >&6
7817 else
7818 if test -n "$OTOOL"; then
7819 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7824 IFS=$as_save_IFS
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 break 2
7832 done
7833 done
7834 IFS=$as_save_IFS
7838 OTOOL=$ac_cv_prog_OTOOL
7839 if test -n "$OTOOL"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7841 $as_echo "$OTOOL" >&6; }
7842 else
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7849 if test -z "$ac_cv_prog_OTOOL"; then
7850 ac_ct_OTOOL=$OTOOL
7851 # Extract the first word of "otool", so it can be a program name with args.
7852 set dummy otool; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7854 $as_echo_n "checking for $ac_word... " >&6; }
7855 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 if test -n "$ac_ct_OTOOL"; then
7859 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7860 else
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 for as_dir in $PATH
7864 IFS=$as_save_IFS
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 ac_cv_prog_ac_ct_OTOOL="otool"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 break 2
7872 done
7873 done
7874 IFS=$as_save_IFS
7878 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7879 if test -n "$ac_ct_OTOOL"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7881 $as_echo "$ac_ct_OTOOL" >&6; }
7882 else
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7884 $as_echo "no" >&6; }
7887 if test "x$ac_ct_OTOOL" = x; then
7888 OTOOL="otool"
7889 else
7890 case $cross_compiling:$ac_tool_warned in
7891 yes:)
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7894 ac_tool_warned=yes ;;
7895 esac
7896 OTOOL=$ac_ct_OTOOL
7898 else
7899 OTOOL="$ac_cv_prog_OTOOL"
7902 if test -n "$ac_tool_prefix"; then
7903 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7904 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_prog_READELF+:} false; then :
7908 $as_echo_n "(cached) " >&6
7909 else
7910 if test -n "$READELF"; then
7911 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7912 else
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 for as_dir in $PATH
7916 IFS=$as_save_IFS
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7920 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 break 2
7924 done
7925 done
7926 IFS=$as_save_IFS
7930 READELF=$ac_cv_prog_READELF
7931 if test -n "$READELF"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7933 $as_echo "$READELF" >&6; }
7934 else
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936 $as_echo "no" >&6; }
7941 if test -z "$ac_cv_prog_READELF"; then
7942 ac_ct_READELF=$READELF
7943 # Extract the first word of "readelf", so it can be a program name with args.
7944 set dummy readelf; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7946 $as_echo_n "checking for $ac_word... " >&6; }
7947 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7948 $as_echo_n "(cached) " >&6
7949 else
7950 if test -n "$ac_ct_READELF"; then
7951 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7952 else
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 for as_dir in $PATH
7956 IFS=$as_save_IFS
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_prog_ac_ct_READELF="readelf"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 break 2
7964 done
7965 done
7966 IFS=$as_save_IFS
7970 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7971 if test -n "$ac_ct_READELF"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7973 $as_echo "$ac_ct_READELF" >&6; }
7974 else
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7976 $as_echo "no" >&6; }
7979 if test "x$ac_ct_READELF" = x; then
7980 READELF="true"
7981 else
7982 case $cross_compiling:$ac_tool_warned in
7983 yes:)
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7986 ac_tool_warned=yes ;;
7987 esac
7988 READELF=$ac_ct_READELF
7990 else
7991 READELF="$ac_cv_prog_READELF"
7994 wine_rules_file=conf$$rules.make
7995 rm -f $wine_rules_file
7996 SUBDIRS=""
7998 DISABLED_SUBDIRS=""
8000 CONFIGURE_TARGETS=""
8003 wine_fn_append_file ()
8005 as_fn_append $1 " \\$as_nl $2"
8008 wine_fn_append_rule ()
8010 $as_echo "$1" >>$wine_rules_file
8013 wine_fn_config_makefile ()
8015 wine_fn_append_file SUBDIRS $1
8016 if eval test \"x\$"$2"\" = x"no"; then :
8017 wine_fn_append_file DISABLED_SUBDIRS $1
8021 wine_fn_config_symlink ()
8023 ac_links=$@
8024 wine_fn_append_rule \
8025 "$ac_links:
8026 @./config.status \$@"
8027 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8030 wine_binary="wine"
8031 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8032 WINELOADER_PROGRAMS="$wine_binary"
8034 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8036 case $host_os in
8037 cygwin*|mingw32*)
8038 if test -n "$ac_tool_prefix"; then
8039 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8040 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_prog_DLLTOOL+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 if test -n "$DLLTOOL"; then
8047 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8048 else
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 for as_dir in $PATH
8052 IFS=$as_save_IFS
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 break 2
8060 done
8061 done
8062 IFS=$as_save_IFS
8066 DLLTOOL=$ac_cv_prog_DLLTOOL
8067 if test -n "$DLLTOOL"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8069 $as_echo "$DLLTOOL" >&6; }
8070 else
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 $as_echo "no" >&6; }
8077 if test -z "$ac_cv_prog_DLLTOOL"; then
8078 ac_ct_DLLTOOL=$DLLTOOL
8079 # Extract the first word of "dlltool", so it can be a program name with args.
8080 set dummy dlltool; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082 $as_echo_n "checking for $ac_word... " >&6; }
8083 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8084 $as_echo_n "(cached) " >&6
8085 else
8086 if test -n "$ac_ct_DLLTOOL"; then
8087 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8088 else
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8090 for as_dir in $PATH
8092 IFS=$as_save_IFS
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8098 break 2
8100 done
8101 done
8102 IFS=$as_save_IFS
8106 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8107 if test -n "$ac_ct_DLLTOOL"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8109 $as_echo "$ac_ct_DLLTOOL" >&6; }
8110 else
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8115 if test "x$ac_ct_DLLTOOL" = x; then
8116 DLLTOOL="false"
8117 else
8118 case $cross_compiling:$ac_tool_warned in
8119 yes:)
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8122 ac_tool_warned=yes ;;
8123 esac
8124 DLLTOOL=$ac_ct_DLLTOOL
8126 else
8127 DLLTOOL="$ac_cv_prog_DLLTOOL"
8130 LIBEXT="dll"
8131 DLLEXT=""
8132 IMPLIBEXT="a"
8133 enable_iphlpapi=${enable_iphlpapi:-no}
8134 enable_kernel32=${enable_kernel32:-no}
8135 enable_msvcrt=${enable_msvcrt:-no}
8136 enable_ntdll=${enable_ntdll:-no}
8137 enable_ws2_32=${enable_ws2_32:-no}
8138 enable_loader=${enable_loader:-no}
8139 enable_server=${enable_server:-no}
8140 with_x=${with_x:-no}
8141 with_pthread=${with_pthread:-no}
8143 crtlibs=""
8144 case $host_os in
8145 mingw32*)
8146 crtlibs="-lmsvcrt"
8147 SOCKET_LIBS="-lws2_32"
8149 esac
8151 LIBWINE_SHAREDLIB="libwine.dll"
8153 LIBWINE_IMPORTLIB="libwine.a"
8155 LIBWINE_INSTALL_LIB="libwine.dll"
8157 LIBWINE_INSTALL_DEV="libwine.a"
8159 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8161 LIBWINE_DEPENDS="wine.def"
8165 darwin*|macosx*)
8166 for ac_header in libunwind.h
8167 do :
8168 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8170 cat >>confdefs.h <<_ACEOF
8171 #define HAVE_LIBUNWIND_H 1
8172 _ACEOF
8176 done
8178 ac_ext=m
8179 ac_cpp='$OBJCPP $CPPFLAGS'
8180 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8181 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8182 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8184 ac_ext=m
8185 ac_cpp='$OBJCPP $CPPFLAGS'
8186 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8187 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8188 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8189 if test -n "$ac_tool_prefix"; then
8190 for ac_prog in gcc objcc objc cc CC
8192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195 $as_echo_n "checking for $ac_word... " >&6; }
8196 if ${ac_cv_prog_OBJC+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 if test -n "$OBJC"; then
8200 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8201 else
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 for as_dir in $PATH
8205 IFS=$as_save_IFS
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 break 2
8213 done
8214 done
8215 IFS=$as_save_IFS
8219 OBJC=$ac_cv_prog_OBJC
8220 if test -n "$OBJC"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8222 $as_echo "$OBJC" >&6; }
8223 else
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8229 test -n "$OBJC" && break
8230 done
8232 if test -z "$OBJC"; then
8233 ac_ct_OBJC=$OBJC
8234 for ac_prog in gcc objcc objc cc CC
8236 # Extract the first word of "$ac_prog", so it can be a program name with args.
8237 set dummy $ac_prog; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8239 $as_echo_n "checking for $ac_word... " >&6; }
8240 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 if test -n "$ac_ct_OBJC"; then
8244 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8245 else
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 for as_dir in $PATH
8249 IFS=$as_save_IFS
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 break 2
8257 done
8258 done
8259 IFS=$as_save_IFS
8263 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8264 if test -n "$ac_ct_OBJC"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8266 $as_echo "$ac_ct_OBJC" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8273 test -n "$ac_ct_OBJC" && break
8274 done
8276 if test "x$ac_ct_OBJC" = x; then
8277 OBJC="gcc"
8278 else
8279 case $cross_compiling:$ac_tool_warned in
8280 yes:)
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8283 ac_tool_warned=yes ;;
8284 esac
8285 OBJC=$ac_ct_OBJC
8289 # Provide some information about the compiler.
8290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8291 set X $ac_compile
8292 ac_compiler=$2
8293 for ac_option in --version -v -V -qversion; do
8294 { { ac_try="$ac_compiler $ac_option >&5"
8295 case "(($ac_try" in
8296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8297 *) ac_try_echo=$ac_try;;
8298 esac
8299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8300 $as_echo "$ac_try_echo"; } >&5
8301 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8302 ac_status=$?
8303 if test -s conftest.err; then
8304 sed '10a\
8305 ... rest of stderr output deleted ...
8306 10q' conftest.err >conftest.er1
8307 cat conftest.er1 >&5
8309 rm -f conftest.er1 conftest.err
8310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8311 test $ac_status = 0; }
8312 done
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8315 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8316 if ${ac_cv_objc_compiler_gnu+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8323 main ()
8325 #ifndef __GNUC__
8326 choke me
8327 #endif
8330 return 0;
8332 _ACEOF
8333 if ac_fn_objc_try_compile "$LINENO"; then :
8334 ac_compiler_gnu=yes
8335 else
8336 ac_compiler_gnu=no
8338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8339 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8343 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8344 if test $ac_compiler_gnu = yes; then
8345 GOBJC=yes
8346 else
8347 GOBJC=
8349 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8350 ac_save_OBJCFLAGS=$OBJCFLAGS
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8352 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8353 if ${ac_cv_prog_objc_g+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_save_objc_werror_flag=$ac_objc_werror_flag
8357 ac_objc_werror_flag=yes
8358 ac_cv_prog_objc_g=no
8359 OBJCFLAGS="-g"
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8364 main ()
8368 return 0;
8370 _ACEOF
8371 if ac_fn_objc_try_compile "$LINENO"; then :
8372 ac_cv_prog_objc_g=yes
8373 else
8374 OBJCFLAGS=""
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8379 main ()
8383 return 0;
8385 _ACEOF
8386 if ac_fn_objc_try_compile "$LINENO"; then :
8388 else
8389 ac_objc_werror_flag=$ac_save_objc_werror_flag
8390 OBJCFLAGS="-g"
8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8395 main ()
8399 return 0;
8401 _ACEOF
8402 if ac_fn_objc_try_compile "$LINENO"; then :
8403 ac_cv_prog_objc_g=yes
8405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8410 ac_objc_werror_flag=$ac_save_objc_werror_flag
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8413 $as_echo "$ac_cv_prog_objc_g" >&6; }
8414 if test "$ac_test_OBJCFLAGS" = set; then
8415 OBJCFLAGS=$ac_save_OBJCFLAGS
8416 elif test $ac_cv_prog_objc_g = yes; then
8417 if test "$GOBJC" = yes; then
8418 OBJCFLAGS="-g -O2"
8419 else
8420 OBJCFLAGS="-g"
8422 else
8423 if test "$GOBJC" = yes; then
8424 OBJCFLAGS="-O2"
8425 else
8426 OBJCFLAGS=
8429 ac_ext=m
8430 ac_cpp='$OBJCPP $CPPFLAGS'
8431 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8432 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8433 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8436 ac_ext=m
8437 ac_cpp='$OBJCPP $CPPFLAGS'
8438 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8439 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8440 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8442 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8443 if test -z "$OBJCPP"; then
8444 if ${ac_cv_prog_OBJCPP+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 # Double quotes because OBJCPP needs to be expanded
8448 for OBJCPP in "$OBJC -E" "/lib/cpp"
8450 ac_preproc_ok=false
8451 for ac_objc_preproc_warn_flag in '' yes
8453 # Use a header file that comes with gcc, so configuring glibc
8454 # with a fresh cross-compiler works.
8455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8456 # <limits.h> exists even on freestanding compilers.
8457 # On the NeXT, cc -E runs the code through the compiler's parser,
8458 # not just through cpp. "Syntax error" is here to catch this case.
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 #ifdef __STDC__
8462 # include <limits.h>
8463 #else
8464 # include <assert.h>
8465 #endif
8466 Syntax error
8467 _ACEOF
8468 if ac_fn_objc_try_cpp "$LINENO"; then :
8470 else
8471 # Broken: fails on valid input.
8472 continue
8474 rm -f conftest.err conftest.i conftest.$ac_ext
8476 # OK, works on sane cases. Now check whether nonexistent headers
8477 # can be detected and how.
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 #include <ac_nonexistent.h>
8481 _ACEOF
8482 if ac_fn_objc_try_cpp "$LINENO"; then :
8483 # Broken: success on invalid input.
8484 continue
8485 else
8486 # Passes both tests.
8487 ac_preproc_ok=:
8488 break
8490 rm -f conftest.err conftest.i conftest.$ac_ext
8492 done
8493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8494 rm -f conftest.i conftest.err conftest.$ac_ext
8495 if $ac_preproc_ok; then :
8496 break
8499 done
8500 ac_cv_prog_OBJCPP=$OBJCPP
8503 OBJCPP=$ac_cv_prog_OBJCPP
8504 else
8505 ac_cv_prog_OBJCPP=$OBJCPP
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8508 $as_echo "$OBJCPP" >&6; }
8509 ac_preproc_ok=false
8510 for ac_objc_preproc_warn_flag in '' yes
8512 # Use a header file that comes with gcc, so configuring glibc
8513 # with a fresh cross-compiler works.
8514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8515 # <limits.h> exists even on freestanding compilers.
8516 # On the NeXT, cc -E runs the code through the compiler's parser,
8517 # not just through cpp. "Syntax error" is here to catch this case.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 #ifdef __STDC__
8521 # include <limits.h>
8522 #else
8523 # include <assert.h>
8524 #endif
8525 Syntax error
8526 _ACEOF
8527 if ac_fn_objc_try_cpp "$LINENO"; then :
8529 else
8530 # Broken: fails on valid input.
8531 continue
8533 rm -f conftest.err conftest.i conftest.$ac_ext
8535 # OK, works on sane cases. Now check whether nonexistent headers
8536 # can be detected and how.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #include <ac_nonexistent.h>
8540 _ACEOF
8541 if ac_fn_objc_try_cpp "$LINENO"; then :
8542 # Broken: success on invalid input.
8543 continue
8544 else
8545 # Passes both tests.
8546 ac_preproc_ok=:
8547 break
8549 rm -f conftest.err conftest.i conftest.$ac_ext
8551 done
8552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8553 rm -f conftest.i conftest.err conftest.$ac_ext
8554 if $ac_preproc_ok; then :
8556 else
8557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8559 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8560 See \`config.log' for more details" "$LINENO" 5; }
8563 ac_ext=m
8564 ac_cpp='$OBJCPP $CPPFLAGS'
8565 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8566 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8567 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8570 for ac_header in Metal/Metal.h
8571 do :
8572 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8573 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8574 cat >>confdefs.h <<_ACEOF
8575 #define HAVE_METAL_METAL_H 1
8576 _ACEOF
8580 done
8582 ac_ext=c
8583 ac_cpp='$CPP $CPPFLAGS'
8584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8588 LIBEXT="dylib"
8589 DLLFLAGS="$DLLFLAGS -fPIC"
8590 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8591 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8592 COREFOUNDATION_LIBS="-framework CoreFoundation"
8594 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8596 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8598 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8600 CORESERVICES_LIBS="-framework CoreServices"
8602 APPKIT_LIBS="-framework AppKit"
8604 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8606 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8607 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -Wl,-no_pie"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__Wl__no_pie=yes
8618 else
8619 ac_cv_cflags__Wl__no_pie=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8626 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8627 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8628 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8630 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8631 then
8632 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8635 if test "$ac_cv_header_Security_Security_h" = "yes"
8636 then
8637 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8639 ac_save_LIBS="$LIBS"
8640 LIBS="$LIBS $SECURITY_LIBS"
8641 for ac_func in SSLCopyPeerCertificates
8642 do :
8643 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8644 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8645 cat >>confdefs.h <<_ACEOF
8646 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8647 _ACEOF
8650 done
8652 LIBS="$ac_save_LIBS"
8654 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8655 then
8656 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8657 then
8658 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8660 else
8661 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8664 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8665 ac_save_LIBS="$LIBS"
8666 LIBS="$LIBS $COREAUDIO_LIBS"
8667 for ac_func in AUGraphAddNode
8668 do :
8669 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8670 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8671 cat >>confdefs.h <<_ACEOF
8672 #define HAVE_AUGRAPHADDNODE 1
8673 _ACEOF
8676 done
8678 LIBS="$ac_save_LIBS"
8680 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8681 then
8682 OPENAL_LIBS="-framework OpenAL"
8685 cat >>confdefs.h <<_ACEOF
8686 #define HAVE_OPENAL 1
8687 _ACEOF
8689 ac_cv_lib_openal=yes
8691 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8692 then
8693 OPENCL_LIBS="-framework OpenCL"
8695 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8697 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8698 then
8699 ac_save_LIBS="$LIBS"
8700 LIBS="$LIBS $IOKIT_LIBS"
8701 for ac_func in IOHIDManagerCreate
8702 do :
8703 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8704 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8705 cat >>confdefs.h <<_ACEOF
8706 #define HAVE_IOHIDMANAGERCREATE 1
8707 _ACEOF
8710 done
8712 LIBS="$ac_save_LIBS"
8714 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8715 then
8716 ac_save_LIBS="$LIBS"
8717 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8719 $as_echo_n "checking for the QuickTime framework... " >&6; }
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 #include <QuickTime/ImageCompression.h>
8724 main ()
8726 CodecManagerVersion(NULL);
8728 return 0;
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8733 $as_echo "yes" >&6; }
8734 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8736 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8737 else
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8739 $as_echo "no" >&6; }
8740 ac_cv_header_QuickTime_ImageCompression_h=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 LIBS="$ac_save_LIBS"
8746 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8747 then
8748 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8750 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8751 then
8752 CARBON_LIBS="-framework Carbon"
8755 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8756 then
8757 METAL_LIBS="-framework Metal -framework QuartzCore"
8761 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8762 then
8763 ac_save_LIBS="$LIBS"
8764 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8765 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8766 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8767 enable_winemac_drv=${enable_winemac_drv:-yes}
8770 LIBS="$ac_save_LIBS"
8773 if test "x$enable_win16" = "xyes"
8774 then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8776 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8777 if test "$cross_compiling" = yes; then :
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8779 $as_echo "cross-compiling, assuming yes" >&6; }
8780 else
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 asm(".text\n"
8784 "bad:\tnop;nop\n"
8785 "good:\tnop;nop\n\t"
8786 ".globl _testfunc\n"
8787 "_testfunc:\tcallw good");
8788 extern void testfunc();
8790 main ()
8792 unsigned short *p = (unsigned short *)testfunc;
8793 return p[0] != 0xe866 || p[1] != 0xfffa
8795 return 0;
8797 _ACEOF
8798 if ac_fn_c_try_run "$LINENO"; then :
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8800 $as_echo "yes" >&6; }
8801 else
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8803 $as_echo "no" >&6; }
8804 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
8806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8807 conftest.$ac_objext conftest.beam conftest.$ac_ext
8812 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8814 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8816 LIBWINE_INSTALL_DEV="libwine.dylib"
8818 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8820 WINELOADER_DEPENDS="wine_info.plist"
8824 linux-android*)
8825 DLLFLAGS="$DLLFLAGS -fPIC"
8826 LDEXECFLAGS="-Wl,-pie"
8827 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8829 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8830 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8831 $as_echo_n "(cached) " >&6
8832 else
8833 ac_wine_try_cflags_saved=$CFLAGS
8834 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8836 /* end confdefs.h. */
8837 int main(int argc, char **argv) { return 0; }
8838 _ACEOF
8839 if ac_fn_c_try_link "$LINENO"; then :
8840 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8841 else
8842 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8844 rm -f core conftest.err conftest.$ac_objext \
8845 conftest$ac_exeext conftest.$ac_ext
8846 CFLAGS=$ac_wine_try_cflags_saved
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8849 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8850 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8851 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8853 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8855 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8856 if eval \${$as_ac_var+:} false; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 ac_wine_try_cflags_saved=$CFLAGS
8860 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8863 int main(int argc, char **argv) { return 0; }
8864 _ACEOF
8865 if ac_fn_c_try_link "$LINENO"; then :
8866 eval "$as_ac_var=yes"
8867 else
8868 eval "$as_ac_var=no"
8870 rm -f core conftest.err conftest.$ac_objext \
8871 conftest$ac_exeext conftest.$ac_ext
8872 CFLAGS=$ac_wine_try_cflags_saved
8874 eval ac_res=\$$as_ac_var
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8876 $as_echo "$ac_res" >&6; }
8877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8878 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8879 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8880 else
8881 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8883 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8884 if eval \${$as_ac_var+:} false; then :
8885 $as_echo_n "(cached) " >&6
8886 else
8887 ac_wine_try_cflags_saved=$CFLAGS
8888 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8891 int main(int argc, char **argv) { return 0; }
8892 _ACEOF
8893 if ac_fn_c_try_link "$LINENO"; then :
8894 eval "$as_ac_var=yes"
8895 else
8896 eval "$as_ac_var=no"
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8900 CFLAGS=$ac_wine_try_cflags_saved
8902 eval ac_res=\$$as_ac_var
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8904 $as_echo "$ac_res" >&6; }
8905 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8906 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8907 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8911 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8912 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 ac_wine_try_cflags_saved=$CFLAGS
8916 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 int main(int argc, char **argv) { return 0; }
8920 _ACEOF
8921 if ac_fn_c_try_link "$LINENO"; then :
8922 ac_cv_cflags__Wl___enable_new_dtags=yes
8923 else
8924 ac_cv_cflags__Wl___enable_new_dtags=no
8926 rm -f core conftest.err conftest.$ac_objext \
8927 conftest$ac_exeext conftest.$ac_ext
8928 CFLAGS=$ac_wine_try_cflags_saved
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8931 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8932 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8933 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8936 LIBWINE_SHAREDLIB="libwine.so"
8938 LIBWINE_INSTALL_LIB="libwine.so"
8940 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8944 $as_echo_n "checking for -lEGL... " >&6; }
8945 if ${ac_cv_lib_soname_EGL+:} false; then :
8946 $as_echo_n "(cached) " >&6
8947 else
8948 ac_check_soname_save_LIBS=$LIBS
8949 LIBS="-lEGL $LIBS"
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8953 /* Override any GCC internal prototype to avoid an error.
8954 Use char because int might match the return type of a GCC
8955 builtin and then its argument prototype would still apply. */
8956 #ifdef __cplusplus
8957 extern "C"
8958 #endif
8959 char eglGetProcAddress ();
8961 main ()
8963 return eglGetProcAddress ();
8965 return 0;
8967 _ACEOF
8968 if ac_fn_c_try_link "$LINENO"; then :
8969 case "$LIBEXT" in
8970 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8971 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'` ;;
8972 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8973 if ${ac_cv_lib_soname_EGL:+false} :; then :
8974 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8975 fi ;;
8976 esac
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS=$ac_check_soname_save_LIBS
8982 if ${ac_cv_lib_soname_EGL:+false} :; then :
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8984 $as_echo "not found" >&6; }
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8988 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8990 cat >>confdefs.h <<_ACEOF
8991 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8992 _ACEOF
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8997 $as_echo_n "checking for -lGLESv2... " >&6; }
8998 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 ac_check_soname_save_LIBS=$LIBS
9002 LIBS="-lGLESv2 $LIBS"
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9009 #ifdef __cplusplus
9010 extern "C"
9011 #endif
9012 char glFlush ();
9014 main ()
9016 return glFlush ();
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_link "$LINENO"; then :
9022 case "$LIBEXT" in
9023 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9024 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'` ;;
9025 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9026 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9027 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9028 fi ;;
9029 esac
9031 rm -f core conftest.err conftest.$ac_objext \
9032 conftest$ac_exeext conftest.$ac_ext
9033 LIBS=$ac_check_soname_save_LIBS
9035 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9037 $as_echo "not found" >&6; }
9039 else
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9041 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9043 cat >>confdefs.h <<_ACEOF
9044 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9045 _ACEOF
9050 if test "x$exec_prefix" = xNONE
9051 then
9052 case $host_cpu in
9053 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9054 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9055 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9056 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9057 esac
9062 DLLFLAGS="$DLLFLAGS -fPIC"
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9064 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9065 if ${ac_cv_c_dll_gnuelf+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 void myfunc() {}
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_c_dll_gnuelf="yes"
9076 else
9077 ac_cv_c_dll_gnuelf="no"
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9084 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9085 if test "$ac_cv_c_dll_gnuelf" = "yes"
9086 then
9087 LIBWINE_LDFLAGS="-shared"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9089 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9090 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9091 $as_echo_n "(cached) " >&6
9092 else
9093 ac_wine_try_cflags_saved=$CFLAGS
9094 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 int main(int argc, char **argv) { return 0; }
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9101 else
9102 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9104 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext
9106 CFLAGS=$ac_wine_try_cflags_saved
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9109 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9110 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9111 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9114 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9115 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9122 int main(int argc, char **argv) { return 0; }
9123 _ACEOF
9124 if ac_fn_c_try_link "$LINENO"; then :
9125 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9126 else
9127 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 CFLAGS=$ac_wine_try_cflags_saved
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9134 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9135 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9136 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9140 echo '{ global: *; };' >conftest.map
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9142 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9143 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_wine_try_cflags_saved=$CFLAGS
9147 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9150 int main(int argc, char **argv) { return 0; }
9151 _ACEOF
9152 if ac_fn_c_try_link "$LINENO"; then :
9153 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9154 else
9155 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9157 rm -f core conftest.err conftest.$ac_objext \
9158 conftest$ac_exeext conftest.$ac_ext
9159 CFLAGS=$ac_wine_try_cflags_saved
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9162 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9163 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9164 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9166 rm -f conftest.map
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9169 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9170 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9177 int main(int argc, char **argv) { return 0; }
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9181 else
9182 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 CFLAGS=$ac_wine_try_cflags_saved
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9189 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9190 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9191 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9194 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9196 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9197 if eval \${$as_ac_var+:} false; then :
9198 $as_echo_n "(cached) " >&6
9199 else
9200 ac_wine_try_cflags_saved=$CFLAGS
9201 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9204 int main(int argc, char **argv) { return 0; }
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 eval "$as_ac_var=yes"
9208 else
9209 eval "$as_ac_var=no"
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 CFLAGS=$ac_wine_try_cflags_saved
9215 eval ac_res=\$$as_ac_var
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9217 $as_echo "$ac_res" >&6; }
9218 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9219 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9220 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9221 else
9222 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9224 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9225 if eval \${$as_ac_var+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_wine_try_cflags_saved=$CFLAGS
9229 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9232 int main(int argc, char **argv) { return 0; }
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 eval "$as_ac_var=yes"
9236 else
9237 eval "$as_ac_var=no"
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 CFLAGS=$ac_wine_try_cflags_saved
9243 eval ac_res=\$$as_ac_var
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9245 $as_echo "$ac_res" >&6; }
9246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9247 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9248 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9253 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9254 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9255 $as_echo_n "(cached) " >&6
9256 else
9257 ac_wine_try_cflags_saved=$CFLAGS
9258 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9261 int main(int argc, char **argv) { return 0; }
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 ac_cv_cflags__Wl___enable_new_dtags=yes
9265 else
9266 ac_cv_cflags__Wl___enable_new_dtags=no
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 CFLAGS=$ac_wine_try_cflags_saved
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9273 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9274 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9275 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9278 case $host_cpu in
9279 *i[3456789]86* | x86_64 | *aarch64*)
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9281 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9282 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9283 $as_echo_n "(cached) " >&6
9284 else
9285 ac_wine_try_cflags_saved=$CFLAGS
9286 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9289 int main(int argc, char **argv) { return 0; }
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9293 else
9294 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 CFLAGS=$ac_wine_try_cflags_saved
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9301 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9302 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9303 case $host_os in
9304 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9305 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9306 esac
9307 else
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9309 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9310 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 int main(int argc, char **argv) { return 0; }
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9321 else
9322 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 CFLAGS=$ac_wine_try_cflags_saved
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9329 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9330 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9331 case $host_os in
9332 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9333 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9334 esac
9336 # Extract the first word of "prelink", so it can be a program name with args.
9337 set dummy prelink; ac_word=$2
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9339 $as_echo_n "checking for $ac_word... " >&6; }
9340 if ${ac_cv_path_PRELINK+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 case $PRELINK in
9344 [\\/]* | ?:[\\/]*)
9345 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9349 for as_dir in /sbin /usr/sbin $PATH
9351 IFS=$as_save_IFS
9352 test -z "$as_dir" && as_dir=.
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9355 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9357 break 2
9359 done
9360 done
9361 IFS=$as_save_IFS
9363 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9365 esac
9367 PRELINK=$ac_cv_path_PRELINK
9368 if test -n "$PRELINK"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9370 $as_echo "$PRELINK" >&6; }
9371 else
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 $as_echo "no" >&6; }
9377 if test "x$PRELINK" = xfalse
9378 then
9379 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9383 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9384 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9385 $as_echo_n "(cached) " >&6
9386 else
9387 ac_wine_try_cflags_saved=$CFLAGS
9388 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391 int main(int argc, char **argv) { return 0; }
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9395 else
9396 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 CFLAGS=$ac_wine_try_cflags_saved
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9403 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9404 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9405 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9408 esac
9410 else
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9412 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9413 if ${ac_cv_c_dll_unixware+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 void myfunc() {}
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_c_dll_unixware="yes"
9424 else
9425 ac_cv_c_dll_unixware="no"
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 CFLAGS=$ac_wine_try_cflags_saved
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9432 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9433 if test "$ac_cv_c_dll_unixware" = "yes"
9434 then
9435 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9438 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9440 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9442 LIBWINE_INSTALL_DEV="libwine.so"
9444 LIBWINE_DEPENDS="wine.map"
9447 esac
9449 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9450 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9451 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9452 enable_winemac_drv=${enable_winemac_drv:-no}
9453 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9455 CROSSTARGET=""
9457 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9458 then
9459 case "$host_cpu" in
9460 aarch64*)
9461 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9462 arm*)
9463 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9464 i[3456789]86*)
9465 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
9466 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9467 mingw32-gcc" ;;
9468 x86_64)
9469 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
9470 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9472 ac_prefix_list="" ;;
9473 esac
9474 for ac_prog in $ac_prefix_list
9476 # Extract the first word of "$ac_prog", so it can be a program name with args.
9477 set dummy $ac_prog; ac_word=$2
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9479 $as_echo_n "checking for $ac_word... " >&6; }
9480 if ${ac_cv_prog_CROSSCC+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 if test -n "$CROSSCC"; then
9484 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9485 else
9486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9487 for as_dir in $PATH
9489 IFS=$as_save_IFS
9490 test -z "$as_dir" && as_dir=.
9491 for ac_exec_ext in '' $ac_executable_extensions; do
9492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9493 ac_cv_prog_CROSSCC="$ac_prog"
9494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9495 break 2
9497 done
9498 done
9499 IFS=$as_save_IFS
9503 CROSSCC=$ac_cv_prog_CROSSCC
9504 if test -n "$CROSSCC"; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9506 $as_echo "$CROSSCC" >&6; }
9507 else
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 $as_echo "no" >&6; }
9513 test -n "$CROSSCC" && break
9514 done
9515 test -n "$CROSSCC" || CROSSCC="false"
9517 if test "$CROSSCC" != "false"
9518 then
9519 ac_save_CC="$CC"
9520 CC="$CROSSCC"
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9522 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9527 main ()
9531 return 0;
9533 _ACEOF
9534 if ac_fn_c_try_compile "$LINENO"; then :
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9536 $as_echo "yes" >&6; }
9537 set x $CROSSCC
9538 shift
9539 while test $# -ge 1
9541 case "$1" in
9542 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9543 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9544 esac
9545 shift
9546 done
9547 else
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9549 $as_echo "no" >&6; }
9551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9552 CC="$ac_save_CC"
9553 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9559 if test "$ac_cv_header_pthread_h" = "yes"
9560 then
9561 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9562 if test "x$ac_cv_func_pthread_create" = xyes; then :
9564 else
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9566 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9567 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_check_lib_save_LIBS=$LIBS
9571 LIBS="-lpthread $LIBS"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9575 /* Override any GCC internal prototype to avoid an error.
9576 Use char because int might match the return type of a GCC
9577 builtin and then its argument prototype would still apply. */
9578 #ifdef __cplusplus
9579 extern "C"
9580 #endif
9581 char pthread_create ();
9583 main ()
9585 return pthread_create ();
9587 return 0;
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_lib_pthread_pthread_create=yes
9592 else
9593 ac_cv_lib_pthread_pthread_create=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_lib_save_LIBS
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9600 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9601 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9602 PTHREAD_LIBS="-lpthread"
9609 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9610 case "x$with_pthread" in
9611 xno) ;;
9612 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9613 Wine cannot support threads without libpthread.
9614 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9615 esac
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9621 $as_echo_n "checking for X... " >&6; }
9624 # Check whether --with-x was given.
9625 if test "${with_x+set}" = set; then :
9626 withval=$with_x;
9629 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9630 if test "x$with_x" = xno; then
9631 # The user explicitly disabled X.
9632 have_x=disabled
9633 else
9634 case $x_includes,$x_libraries in #(
9635 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9636 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 # One or both of the vars are not set, and there is no cached value.
9640 ac_x_includes=no ac_x_libraries=no
9641 rm -f -r conftest.dir
9642 if mkdir conftest.dir; then
9643 cd conftest.dir
9644 cat >Imakefile <<'_ACEOF'
9645 incroot:
9646 @echo incroot='${INCROOT}'
9647 usrlibdir:
9648 @echo usrlibdir='${USRLIBDIR}'
9649 libdir:
9650 @echo libdir='${LIBDIR}'
9651 _ACEOF
9652 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9653 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9654 for ac_var in incroot usrlibdir libdir; do
9655 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9656 done
9657 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9658 for ac_extension in a so sl dylib la dll; do
9659 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9660 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9661 ac_im_usrlibdir=$ac_im_libdir; break
9663 done
9664 # Screen out bogus values from the imake configuration. They are
9665 # bogus both because they are the default anyway, and because
9666 # using them would break gcc on systems where it needs fixed includes.
9667 case $ac_im_incroot in
9668 /usr/include) ac_x_includes= ;;
9669 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9670 esac
9671 case $ac_im_usrlibdir in
9672 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9673 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9674 esac
9676 cd ..
9677 rm -f -r conftest.dir
9680 # Standard set of common directories for X headers.
9681 # Check X11 before X11Rn because it is often a symlink to the current release.
9682 ac_x_header_dirs='
9683 /usr/X11/include
9684 /usr/X11R7/include
9685 /usr/X11R6/include
9686 /usr/X11R5/include
9687 /usr/X11R4/include
9689 /usr/include/X11
9690 /usr/include/X11R7
9691 /usr/include/X11R6
9692 /usr/include/X11R5
9693 /usr/include/X11R4
9695 /usr/local/X11/include
9696 /usr/local/X11R7/include
9697 /usr/local/X11R6/include
9698 /usr/local/X11R5/include
9699 /usr/local/X11R4/include
9701 /usr/local/include/X11
9702 /usr/local/include/X11R7
9703 /usr/local/include/X11R6
9704 /usr/local/include/X11R5
9705 /usr/local/include/X11R4
9707 /usr/X386/include
9708 /usr/x386/include
9709 /usr/XFree86/include/X11
9711 /usr/include
9712 /usr/local/include
9713 /usr/unsupported/include
9714 /usr/athena/include
9715 /usr/local/x11r5/include
9716 /usr/lpp/Xamples/include
9718 /usr/openwin/include
9719 /usr/openwin/share/include'
9721 if test "$ac_x_includes" = no; then
9722 # Guess where to find include files, by looking for Xlib.h.
9723 # First, try using that file with no special directory specified.
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9726 #include <X11/Xlib.h>
9727 _ACEOF
9728 if ac_fn_c_try_cpp "$LINENO"; then :
9729 # We can compile using X headers with no special include directory.
9730 ac_x_includes=
9731 else
9732 for ac_dir in $ac_x_header_dirs; do
9733 if test -r "$ac_dir/X11/Xlib.h"; then
9734 ac_x_includes=$ac_dir
9735 break
9737 done
9739 rm -f conftest.err conftest.i conftest.$ac_ext
9740 fi # $ac_x_includes = no
9742 if test "$ac_x_libraries" = no; then
9743 # Check for the libraries.
9744 # See if we find them without any special options.
9745 # Don't add to $LIBS permanently.
9746 ac_save_LIBS=$LIBS
9747 LIBS="-lX11 $LIBS"
9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9750 #include <X11/Xlib.h>
9752 main ()
9754 XrmInitialize ()
9756 return 0;
9758 _ACEOF
9759 if ac_fn_c_try_link "$LINENO"; then :
9760 LIBS=$ac_save_LIBS
9761 # We can link X programs with no special library path.
9762 ac_x_libraries=
9763 else
9764 LIBS=$ac_save_LIBS
9765 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9767 # Don't even attempt the hair of trying to link an X program!
9768 for ac_extension in a so sl dylib la dll; do
9769 if test -r "$ac_dir/libX11.$ac_extension"; then
9770 ac_x_libraries=$ac_dir
9771 break 2
9773 done
9774 done
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 fi # $ac_x_libraries = no
9780 case $ac_x_includes,$ac_x_libraries in #(
9781 no,* | *,no | *\'*)
9782 # Didn't find X, or a directory has "'" in its name.
9783 ac_cv_have_x="have_x=no";; #(
9785 # Record where we found X for the cache.
9786 ac_cv_have_x="have_x=yes\
9787 ac_x_includes='$ac_x_includes'\
9788 ac_x_libraries='$ac_x_libraries'"
9789 esac
9791 ;; #(
9792 *) have_x=yes;;
9793 esac
9794 eval "$ac_cv_have_x"
9795 fi # $with_x != no
9797 if test "$have_x" != yes; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9799 $as_echo "$have_x" >&6; }
9800 no_x=yes
9801 else
9802 # If each of the values was on the command line, it overrides each guess.
9803 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9804 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9805 # Update the cache value to reflect the command line values.
9806 ac_cv_have_x="have_x=yes\
9807 ac_x_includes='$x_includes'\
9808 ac_x_libraries='$x_libraries'"
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9810 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9813 if test "$no_x" = yes; then
9814 # Not all programs may use this symbol, but it does not hurt to define it.
9816 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9818 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9819 else
9820 if test -n "$x_includes"; then
9821 X_CFLAGS="$X_CFLAGS -I$x_includes"
9824 # It would also be nice to do this for all -L options, not just this one.
9825 if test -n "$x_libraries"; then
9826 X_LIBS="$X_LIBS -L$x_libraries"
9827 # For Solaris; some versions of Sun CC require a space after -R and
9828 # others require no space. Words are not sufficient . . . .
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9830 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9831 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9832 ac_xsave_c_werror_flag=$ac_c_werror_flag
9833 ac_c_werror_flag=yes
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9838 main ()
9842 return 0;
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9847 $as_echo "no" >&6; }
9848 X_LIBS="$X_LIBS -R$x_libraries"
9849 else
9850 LIBS="$ac_xsave_LIBS -R $x_libraries"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9855 main ()
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9864 $as_echo "yes" >&6; }
9865 X_LIBS="$X_LIBS -R $x_libraries"
9866 else
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9868 $as_echo "neither works" >&6; }
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9873 rm -f core conftest.err conftest.$ac_objext \
9874 conftest$ac_exeext conftest.$ac_ext
9875 ac_c_werror_flag=$ac_xsave_c_werror_flag
9876 LIBS=$ac_xsave_LIBS
9879 # Check for system-dependent libraries X programs must link with.
9880 # Do this before checking for the system-independent R6 libraries
9881 # (-lICE), since we may need -lsocket or whatever for X linking.
9883 if test "$ISC" = yes; then
9884 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9885 else
9886 # Martyn Johnson says this is needed for Ultrix, if the X
9887 # libraries were built with DECnet support. And Karl Berry says
9888 # the Alpha needs dnet_stub (dnet does not exist).
9889 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9896 #ifdef __cplusplus
9897 extern "C"
9898 #endif
9899 char XOpenDisplay ();
9901 main ()
9903 return XOpenDisplay ();
9905 return 0;
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9910 else
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9912 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9913 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_check_lib_save_LIBS=$LIBS
9917 LIBS="-ldnet $LIBS"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 char dnet_ntoa ();
9929 main ()
9931 return dnet_ntoa ();
9933 return 0;
9935 _ACEOF
9936 if ac_fn_c_try_link "$LINENO"; then :
9937 ac_cv_lib_dnet_dnet_ntoa=yes
9938 else
9939 ac_cv_lib_dnet_dnet_ntoa=no
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_lib_save_LIBS
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9946 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9947 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9948 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9951 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9953 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9954 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9955 $as_echo_n "(cached) " >&6
9956 else
9957 ac_check_lib_save_LIBS=$LIBS
9958 LIBS="-ldnet_stub $LIBS"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9965 #ifdef __cplusplus
9966 extern "C"
9967 #endif
9968 char dnet_ntoa ();
9970 main ()
9972 return dnet_ntoa ();
9974 return 0;
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9979 else
9980 ac_cv_lib_dnet_stub_dnet_ntoa=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_lib_save_LIBS
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9987 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9988 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9989 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS="$ac_xsave_LIBS"
9998 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9999 # to get the SysV transport functions.
10000 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10001 # needs -lnsl.
10002 # The nsl library prevents programs from opening the X display
10003 # on Irix 5.2, according to T.E. Dickey.
10004 # The functions gethostbyname, getservbyname, and inet_addr are
10005 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10006 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10007 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10011 if test $ac_cv_func_gethostbyname = no; then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10013 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10014 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10015 $as_echo_n "(cached) " >&6
10016 else
10017 ac_check_lib_save_LIBS=$LIBS
10018 LIBS="-lnsl $LIBS"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 #ifdef __cplusplus
10026 extern "C"
10027 #endif
10028 char gethostbyname ();
10030 main ()
10032 return gethostbyname ();
10034 return 0;
10036 _ACEOF
10037 if ac_fn_c_try_link "$LINENO"; then :
10038 ac_cv_lib_nsl_gethostbyname=yes
10039 else
10040 ac_cv_lib_nsl_gethostbyname=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 LIBS=$ac_check_lib_save_LIBS
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10047 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10048 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10052 if test $ac_cv_lib_nsl_gethostbyname = no; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10054 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10055 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_check_lib_save_LIBS=$LIBS
10059 LIBS="-lbsd $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 #ifdef __cplusplus
10067 extern "C"
10068 #endif
10069 char gethostbyname ();
10071 main ()
10073 return gethostbyname ();
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_lib_bsd_gethostbyname=yes
10080 else
10081 ac_cv_lib_bsd_gethostbyname=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10088 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10089 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10090 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10096 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10097 # socket/setsockopt and other routines are undefined under SCO ODT
10098 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10099 # on later versions), says Simon Leinen: it contains gethostby*
10100 # variants that don't use the name server (or something). -lsocket
10101 # must be given before -lnsl if both are needed. We assume that
10102 # if connect needs -lnsl, so does gethostbyname.
10103 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10104 if test "x$ac_cv_func_connect" = xyes; then :
10108 if test $ac_cv_func_connect = no; then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10110 $as_echo_n "checking for connect in -lsocket... " >&6; }
10111 if ${ac_cv_lib_socket_connect+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_lib_save_LIBS=$LIBS
10115 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char connect ();
10127 main ()
10129 return connect ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_lib_socket_connect=yes
10136 else
10137 ac_cv_lib_socket_connect=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10144 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10145 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10146 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10151 # Guillermo Gomez says -lposix is necessary on A/UX.
10152 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10153 if test "x$ac_cv_func_remove" = xyes; then :
10157 if test $ac_cv_func_remove = no; then
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10159 $as_echo_n "checking for remove in -lposix... " >&6; }
10160 if ${ac_cv_lib_posix_remove+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_lib_save_LIBS=$LIBS
10164 LIBS="-lposix $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char remove ();
10176 main ()
10178 return remove ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 ac_cv_lib_posix_remove=yes
10185 else
10186 ac_cv_lib_posix_remove=no
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10193 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10194 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10195 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10200 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10201 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10202 if test "x$ac_cv_func_shmat" = xyes; then :
10206 if test $ac_cv_func_shmat = no; then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10208 $as_echo_n "checking for shmat in -lipc... " >&6; }
10209 if ${ac_cv_lib_ipc_shmat+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_check_lib_save_LIBS=$LIBS
10213 LIBS="-lipc $LIBS"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10220 #ifdef __cplusplus
10221 extern "C"
10222 #endif
10223 char shmat ();
10225 main ()
10227 return shmat ();
10229 return 0;
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_lib_ipc_shmat=yes
10234 else
10235 ac_cv_lib_ipc_shmat=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10242 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10243 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10250 # Check for libraries that X11R6 Xt/Xaw programs need.
10251 ac_save_LDFLAGS=$LDFLAGS
10252 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10253 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10254 # check for ICE first), but we must link in the order -lSM -lICE or
10255 # we get undefined symbols. So assume we have SM if we have ICE.
10256 # These have to be linked with before -lX11, unlike the other
10257 # libraries we check for below, so use a different variable.
10258 # John Interrante, Karl Berry
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10260 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10261 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_check_lib_save_LIBS=$LIBS
10265 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 char IceConnectionNumber ();
10277 main ()
10279 return IceConnectionNumber ();
10281 return 0;
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_lib_ICE_IceConnectionNumber=yes
10286 else
10287 ac_cv_lib_ICE_IceConnectionNumber=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_lib_save_LIBS
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10294 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10295 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10296 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10299 LDFLAGS=$ac_save_LDFLAGS
10304 if test "$have_x" = "yes"
10305 then
10306 ac_save_CPPFLAGS="$CPPFLAGS"
10307 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10310 $as_echo_n "checking for -lX11... " >&6; }
10311 if ${ac_cv_lib_soname_X11+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_soname_save_LIBS=$LIBS
10315 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char XCreateWindow ();
10327 main ()
10329 return XCreateWindow ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 case "$LIBEXT" in
10336 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10337 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'` ;;
10338 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10339 if ${ac_cv_lib_soname_X11:+false} :; then :
10340 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10341 fi ;;
10342 esac
10344 rm -f core conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_soname_save_LIBS
10348 if ${ac_cv_lib_soname_X11:+false} :; then :
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10350 $as_echo "not found" >&6; }
10352 else
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10354 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10356 cat >>confdefs.h <<_ACEOF
10357 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10358 _ACEOF
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10363 $as_echo_n "checking for -lXext... " >&6; }
10364 if ${ac_cv_lib_soname_Xext+:} false; then :
10365 $as_echo_n "(cached) " >&6
10366 else
10367 ac_check_soname_save_LIBS=$LIBS
10368 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10375 #ifdef __cplusplus
10376 extern "C"
10377 #endif
10378 char XextCreateExtension ();
10380 main ()
10382 return XextCreateExtension ();
10384 return 0;
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 case "$LIBEXT" in
10389 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10390 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'` ;;
10391 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10392 if ${ac_cv_lib_soname_Xext:+false} :; then :
10393 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10394 fi ;;
10395 esac
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_soname_save_LIBS
10401 if ${ac_cv_lib_soname_Xext:+false} :; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10403 $as_echo "not found" >&6; }
10405 else
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10407 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10409 cat >>confdefs.h <<_ACEOF
10410 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10411 _ACEOF
10413 X_LIBS="$X_LIBS -lXext"
10415 X_LIBS="$X_LIBS -lX11"
10417 for ac_header in X11/Xlib.h \
10418 X11/XKBlib.h \
10419 X11/Xutil.h \
10420 X11/Xcursor/Xcursor.h \
10421 X11/extensions/shape.h \
10422 X11/extensions/XInput.h \
10423 X11/extensions/XInput2.h \
10424 X11/extensions/XShm.h \
10425 X11/extensions/Xcomposite.h \
10426 X11/extensions/Xfixes.h \
10427 X11/extensions/Xinerama.h \
10428 X11/extensions/Xrandr.h \
10429 X11/extensions/Xrender.h \
10430 X11/extensions/xf86vmode.h \
10431 X11/extensions/xf86vmproto.h
10432 do :
10433 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10434 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10435 # include <X11/Xlib.h>
10436 #endif
10437 #ifdef HAVE_X11_XUTIL_H
10438 # include <X11/Xutil.h>
10439 #endif
10441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10442 cat >>confdefs.h <<_ACEOF
10443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10444 _ACEOF
10448 done
10451 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10452 then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10454 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10455 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_lib_save_LIBS=$LIBS
10459 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char XkbQueryExtension ();
10471 main ()
10473 return XkbQueryExtension ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_lib_X11_XkbQueryExtension=yes
10480 else
10481 ac_cv_lib_X11_XkbQueryExtension=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10488 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10489 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10491 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10497 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10498 then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10500 $as_echo_n "checking for -lXcursor... " >&6; }
10501 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10502 $as_echo_n "(cached) " >&6
10503 else
10504 ac_check_soname_save_LIBS=$LIBS
10505 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char XcursorImageLoadCursor ();
10517 main ()
10519 return XcursorImageLoadCursor ();
10521 return 0;
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 case "$LIBEXT" in
10526 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10527 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'` ;;
10528 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10529 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10530 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10531 fi ;;
10532 esac
10534 rm -f core conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10536 LIBS=$ac_check_soname_save_LIBS
10538 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10540 $as_echo "not found" >&6; }
10542 else
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10544 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10546 cat >>confdefs.h <<_ACEOF
10547 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10548 _ACEOF
10553 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10554 case "x$with_xcursor" in
10555 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10556 xno) ;;
10557 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10558 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10559 esac
10563 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10564 then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10566 $as_echo_n "checking for -lXi... " >&6; }
10567 if ${ac_cv_lib_soname_Xi+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char XOpenDevice ();
10583 main ()
10585 return XOpenDevice ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_Xi:+false} :; then :
10596 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_Xi:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10608 else
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10610 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10612 cat >>confdefs.h <<_ACEOF
10613 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10614 _ACEOF
10619 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10620 case "x$with_xinput" in
10621 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10624 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10625 esac
10629 if test "x$ac_cv_lib_soname_Xi" != x
10630 then
10631 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10632 case "x$with_xinput2" in
10633 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10634 xno) ;;
10635 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10636 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10637 esac
10642 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10643 then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10645 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10646 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10647 $as_echo_n "(cached) " >&6
10648 else
10649 ac_check_lib_save_LIBS=$LIBS
10650 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 char XShmQueryExtension ();
10662 main ()
10664 return XShmQueryExtension ();
10666 return 0;
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 ac_cv_lib_Xext_XShmQueryExtension=yes
10671 else
10672 ac_cv_lib_Xext_XShmQueryExtension=no
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_lib_save_LIBS
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10679 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10680 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10682 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10687 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10688 case "x$with_xshm" in
10689 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10690 xno) ;;
10691 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10692 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10693 esac
10697 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10698 then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10700 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10701 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10702 $as_echo_n "(cached) " >&6
10703 else
10704 ac_check_lib_save_LIBS=$LIBS
10705 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10712 #ifdef __cplusplus
10713 extern "C"
10714 #endif
10715 char XShapeQueryExtension ();
10717 main ()
10719 return XShapeQueryExtension ();
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 ac_cv_lib_Xext_XShapeQueryExtension=yes
10726 else
10727 ac_cv_lib_Xext_XShapeQueryExtension=no
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 LIBS=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10734 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10735 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10737 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10742 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10743 case "x$with_xshape" in
10744 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10745 xno) ;;
10746 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10747 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10748 esac
10752 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10753 then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10755 $as_echo_n "checking for -lXxf86vm... " >&6; }
10756 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10757 $as_echo_n "(cached) " >&6
10758 else
10759 ac_check_soname_save_LIBS=$LIBS
10760 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10767 #ifdef __cplusplus
10768 extern "C"
10769 #endif
10770 char XF86VidModeQueryExtension ();
10772 main ()
10774 return XF86VidModeQueryExtension ();
10776 return 0;
10778 _ACEOF
10779 if ac_fn_c_try_link "$LINENO"; then :
10780 case "$LIBEXT" in
10781 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10782 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'` ;;
10783 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10784 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10785 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10786 fi ;;
10787 esac
10789 rm -f core conftest.err conftest.$ac_objext \
10790 conftest$ac_exeext conftest.$ac_ext
10791 LIBS=$ac_check_soname_save_LIBS
10793 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10795 $as_echo "not found" >&6; }
10797 else
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10799 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10801 cat >>confdefs.h <<_ACEOF
10802 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10803 _ACEOF
10808 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10809 case "x$with_xxf86vm" in
10810 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10811 xno) ;;
10812 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10813 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10814 esac
10818 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10819 then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10821 $as_echo_n "checking for -lXrender... " >&6; }
10822 if ${ac_cv_lib_soname_Xrender+:} false; then :
10823 $as_echo_n "(cached) " >&6
10824 else
10825 ac_check_soname_save_LIBS=$LIBS
10826 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 char XRenderQueryExtension ();
10838 main ()
10840 return XRenderQueryExtension ();
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_link "$LINENO"; then :
10846 case "$LIBEXT" in
10847 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10848 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'` ;;
10849 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10850 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10851 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10852 fi ;;
10853 esac
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_soname_save_LIBS
10859 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10861 $as_echo "not found" >&6; }
10863 else
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10865 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10867 cat >>confdefs.h <<_ACEOF
10868 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10869 _ACEOF
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10872 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10873 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char XRenderSetPictureTransform ();
10889 main ()
10891 return XRenderSetPictureTransform ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10898 else
10899 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10906 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10907 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10909 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10914 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10915 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char XRenderCreateLinearGradient ();
10931 main ()
10933 return XRenderCreateLinearGradient ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10940 else
10941 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10948 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10949 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10951 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10958 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10959 case "x$with_xrender" in
10960 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10961 xno) ;;
10962 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10963 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10964 esac
10968 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10969 then
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972 #include <X11/Xlib.h>
10973 #include <X11/extensions/Xrandr.h>
10975 main ()
10977 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10979 return 0;
10981 _ACEOF
10982 if ac_fn_c_try_compile "$LINENO"; then :
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10984 $as_echo_n "checking for -lXrandr... " >&6; }
10985 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_soname_save_LIBS=$LIBS
10989 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char XRRQueryExtension ();
11001 main ()
11003 return XRRQueryExtension ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 case "$LIBEXT" in
11010 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11011 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'` ;;
11012 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11013 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11014 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11015 fi ;;
11016 esac
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_soname_save_LIBS
11022 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11024 $as_echo "not found" >&6; }
11026 else
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11028 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11030 cat >>confdefs.h <<_ACEOF
11031 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11032 _ACEOF
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11036 #include <X11/Xlib.h>
11037 #include <X11/extensions/Xrandr.h>
11039 main ()
11041 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11043 return 0;
11045 _ACEOF
11046 if ac_fn_c_try_compile "$LINENO"; then :
11048 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11056 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11057 case "x$with_xrandr" in
11058 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11059 xno) ;;
11060 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11061 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11062 esac
11066 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11067 then
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070 #include <X11/Xlib.h>
11071 #include <X11/extensions/Xfixes.h>
11073 main ()
11075 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_compile "$LINENO"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11082 $as_echo_n "checking for -lXfixes... " >&6; }
11083 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11084 $as_echo_n "(cached) " >&6
11085 else
11086 ac_check_soname_save_LIBS=$LIBS
11087 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11091 /* Override any GCC internal prototype to avoid an error.
11092 Use char because int might match the return type of a GCC
11093 builtin and then its argument prototype would still apply. */
11094 #ifdef __cplusplus
11095 extern "C"
11096 #endif
11097 char XFixesQueryVersion ();
11099 main ()
11101 return XFixesQueryVersion ();
11103 return 0;
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"; then :
11107 case "$LIBEXT" in
11108 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11109 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'` ;;
11110 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11111 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11112 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11113 fi ;;
11114 esac
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_soname_save_LIBS
11120 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11122 $as_echo "not found" >&6; }
11124 else
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11126 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11128 cat >>confdefs.h <<_ACEOF
11129 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11130 _ACEOF
11135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11137 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11138 case "x$with_xfixes" in
11139 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11140 xno) ;;
11141 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11142 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11143 esac
11147 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11148 then
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11151 #include <X11/Xlib.h>
11152 #include <X11/extensions/Xinerama.h>
11154 main ()
11156 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_compile "$LINENO"; then :
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11163 $as_echo_n "checking for -lXinerama... " >&6; }
11164 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_soname_save_LIBS=$LIBS
11168 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char XineramaQueryScreens ();
11180 main ()
11182 return XineramaQueryScreens ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 case "$LIBEXT" in
11189 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11190 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'` ;;
11191 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11192 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11193 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11194 fi ;;
11195 esac
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_soname_save_LIBS
11201 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11203 $as_echo "not found" >&6; }
11205 else
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11207 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11209 cat >>confdefs.h <<_ACEOF
11210 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11211 _ACEOF
11216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11218 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11219 case "x$with_xinerama" in
11220 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11221 xno) ;;
11222 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11223 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11224 esac
11228 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11229 then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11231 $as_echo_n "checking for -lXcomposite... " >&6; }
11232 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_soname_save_LIBS=$LIBS
11236 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char XCompositeRedirectWindow ();
11248 main ()
11250 return XCompositeRedirectWindow ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 case "$LIBEXT" in
11257 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11258 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'` ;;
11259 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11260 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11261 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11262 fi ;;
11263 esac
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_soname_save_LIBS
11269 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11271 $as_echo "not found" >&6; }
11273 else
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11275 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11277 cat >>confdefs.h <<_ACEOF
11278 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11279 _ACEOF
11284 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11285 case "x$with_xcomposite" in
11286 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11287 xno) ;;
11288 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11289 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11290 esac
11294 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11295 #include <X11/Xlib.h>
11296 #endif
11298 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11300 cat >>confdefs.h <<_ACEOF
11301 #define HAVE_XICCALLBACK_CALLBACK 1
11302 _ACEOF
11306 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11307 #include <X11/Xlib.h>
11308 #endif
11310 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11312 cat >>confdefs.h <<_ACEOF
11313 #define HAVE_XEVENT_XCOOKIE 1
11314 _ACEOF
11321 opengl_msg=""
11322 if test "x$with_opengl" != "xno"
11323 then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11325 $as_echo_n "checking for -lGL... " >&6; }
11326 if ${ac_cv_lib_soname_GL+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_soname_save_LIBS=$LIBS
11330 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char glXCreateContext ();
11342 main ()
11344 return glXCreateContext ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 case "$LIBEXT" in
11351 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11352 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'` ;;
11353 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11354 if ${ac_cv_lib_soname_GL:+false} :; then :
11355 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11356 fi ;;
11357 esac
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_soname_save_LIBS
11363 if ${ac_cv_lib_soname_GL:+false} :; then :
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11365 $as_echo "not found" >&6; }
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11367 $as_echo_n "checking for -lGL... " >&6; }
11368 if ${ac_cv_lib_soname_GL+:} false; then :
11369 $as_echo_n "(cached) " >&6
11370 else
11371 ac_check_soname_save_LIBS=$LIBS
11372 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"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11379 #ifdef __cplusplus
11380 extern "C"
11381 #endif
11382 char glXCreateContext ();
11384 main ()
11386 return glXCreateContext ();
11388 return 0;
11390 _ACEOF
11391 if ac_fn_c_try_link "$LINENO"; then :
11392 case "$LIBEXT" in
11393 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11394 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'` ;;
11395 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11396 if ${ac_cv_lib_soname_GL:+false} :; then :
11397 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11398 fi ;;
11399 esac
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_soname_save_LIBS
11405 if ${ac_cv_lib_soname_GL:+false} :; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11407 $as_echo "not found" >&6; }
11408 if test -f /usr/X11R6/lib/libGL.a
11409 then
11410 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11411 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11412 else
11413 opengl_msg="No OpenGL library found on this system."
11415 else
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11417 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11419 cat >>confdefs.h <<_ACEOF
11420 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11421 _ACEOF
11423 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"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11427 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11431 _ACEOF
11433 OPENGL_LIBS="-lGL"
11435 if test "x$with_glu" != "xno"
11436 then
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11438 $as_echo_n "checking for -lGLU... " >&6; }
11439 if ${ac_cv_lib_soname_GLU+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_soname_save_LIBS=$LIBS
11443 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char gluLookAt ();
11455 main ()
11457 return gluLookAt ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 case "$LIBEXT" in
11464 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11465 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'` ;;
11466 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11467 if ${ac_cv_lib_soname_GLU:+false} :; then :
11468 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11469 fi ;;
11470 esac
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_soname_save_LIBS
11476 if ${ac_cv_lib_soname_GLU:+false} :; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11478 $as_echo "not found" >&6; }
11480 else
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11482 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11484 cat >>confdefs.h <<_ACEOF
11485 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11486 _ACEOF
11490 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11491 case "x$with_glu" in
11492 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11493 xno) ;;
11494 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11495 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11496 esac
11501 if test "x$with_osmesa" != "xno"
11502 then
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11504 $as_echo_n "checking for -lOSMesa... " >&6; }
11505 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_soname_save_LIBS=$LIBS
11509 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char OSMesaGetProcAddress ();
11521 main ()
11523 return OSMesaGetProcAddress ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 case "$LIBEXT" in
11530 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 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'` ;;
11532 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11533 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11534 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 fi ;;
11536 esac
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11548 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11552 _ACEOF
11556 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11557 case "x$with_osmesa" in
11558 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11559 xno) ;;
11560 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11561 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11562 esac
11567 if test -n "$opengl_msg"; then :
11568 case "x$with_opengl" in
11569 x) as_fn_append wine_warnings "|$opengl_msg
11570 OpenGL and Direct3D won't be supported." ;;
11571 xno) ;;
11572 *) as_fn_error $? "$opengl_msg
11573 OpenGL and Direct3D won't be supported.
11574 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11575 esac
11579 CPPFLAGS="$ac_save_CPPFLAGS"
11580 else
11581 X_CFLAGS=""
11582 X_LIBS=""
11585 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11586 then
11587 if test "x$X_LIBS" = "x"; then :
11588 case "x$with_x" in
11589 xno) ;;
11590 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11591 without X support, which probably isn't what you want. You will need
11592 to install ${notice_platform}development packages of Xlib at the very least.
11593 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11594 esac
11595 enable_winex11_drv=${enable_winex11_drv:-no}
11597 else
11598 if test "x$X_LIBS" = "x"; then :
11599 case "x$with_x" in
11600 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11601 xno) ;;
11602 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11603 This is an error since --with-x was requested." "$LINENO" 5 ;;
11604 esac
11605 enable_winex11_drv=${enable_winex11_drv:-no}
11609 if test "$ac_cv_header_CL_cl_h" = "yes"
11610 then
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11612 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11613 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_lib_save_LIBS=$LIBS
11617 LIBS="-lOpenCL $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char clGetPlatformInfo ();
11629 main ()
11631 return clGetPlatformInfo ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11638 else
11639 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11646 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11647 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11648 OPENCL_LIBS="-lOpenCL"
11653 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11654 case "x$with_opencl" in
11655 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11656 xno) ;;
11657 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11658 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11659 esac
11660 enable_opencl=${enable_opencl:-no}
11663 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11664 then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11666 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11667 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11668 $as_echo_n "(cached) " >&6
11669 else
11670 ac_check_lib_save_LIBS=$LIBS
11671 LIBS="-lpcap $LIBS"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11678 #ifdef __cplusplus
11679 extern "C"
11680 #endif
11681 char pcap_create ();
11683 main ()
11685 return pcap_create ();
11687 return 0;
11689 _ACEOF
11690 if ac_fn_c_try_link "$LINENO"; then :
11691 ac_cv_lib_pcap_pcap_create=yes
11692 else
11693 ac_cv_lib_pcap_pcap_create=no
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_lib_save_LIBS
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11700 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11701 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11702 PCAP_LIBS="-lpcap"
11707 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11708 case "x$with_pcap" in
11709 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11710 xno) ;;
11711 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11712 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11713 esac
11714 enable_wpcap=${enable_wpcap:-no}
11718 if test "x$with_xml" != "xno"
11719 then
11720 if ${XML2_CFLAGS:+false} :; then :
11721 if ${PKG_CONFIG+:} false; then :
11722 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11725 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11726 if ${XML2_LIBS:+false} :; then :
11727 if ${PKG_CONFIG+:} false; then :
11728 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11731 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11732 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11733 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11734 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11735 ac_save_CPPFLAGS=$CPPFLAGS
11736 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11737 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11738 do :
11739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11740 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11741 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11742 cat >>confdefs.h <<_ACEOF
11743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11744 _ACEOF
11748 done
11750 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"
11751 then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11753 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11754 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11755 $as_echo_n "(cached) " >&6
11756 else
11757 ac_check_lib_save_LIBS=$LIBS
11758 LIBS="-lxml2 $XML2_LIBS $LIBS"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char xmlParseMemory ();
11770 main ()
11772 return xmlParseMemory ();
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"; then :
11778 ac_cv_lib_xml2_xmlParseMemory=yes
11779 else
11780 ac_cv_lib_xml2_xmlParseMemory=no
11782 rm -f core conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_lib_save_LIBS
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11787 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11788 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11790 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11792 else
11793 XML2_LIBS=""
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11797 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11798 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lxml2 $XML2_LIBS $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char xmlReadMemory ();
11814 main ()
11816 return xmlReadMemory ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 ac_cv_lib_xml2_xmlReadMemory=yes
11823 else
11824 ac_cv_lib_xml2_xmlReadMemory=no
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11831 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11832 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11834 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11839 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11840 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_lib_save_LIBS=$LIBS
11844 LIBS="-lxml2 $XML2_LIBS $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char xmlNewDocPI ();
11856 main ()
11858 return xmlNewDocPI ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 ac_cv_lib_xml2_xmlNewDocPI=yes
11865 else
11866 ac_cv_lib_xml2_xmlNewDocPI=no
11868 rm -f core conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_lib_save_LIBS
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11873 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11874 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11876 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11881 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11882 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11883 $as_echo_n "(cached) " >&6
11884 else
11885 ac_check_lib_save_LIBS=$LIBS
11886 LIBS="-lxml2 $XML2_LIBS $LIBS"
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11893 #ifdef __cplusplus
11894 extern "C"
11895 #endif
11896 char xmlSchemaSetParserStructuredErrors ();
11898 main ()
11900 return xmlSchemaSetParserStructuredErrors ();
11902 return 0;
11904 _ACEOF
11905 if ac_fn_c_try_link "$LINENO"; then :
11906 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11907 else
11908 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11910 rm -f core conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext
11912 LIBS=$ac_check_lib_save_LIBS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11915 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11916 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11918 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11923 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11924 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lxml2 $XML2_LIBS $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char xmlSchemaSetValidStructuredErrors ();
11940 main ()
11942 return xmlSchemaSetValidStructuredErrors ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11949 else
11950 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11957 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11958 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11960 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11965 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11966 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11967 $as_echo_n "(cached) " >&6
11968 else
11969 ac_check_lib_save_LIBS=$LIBS
11970 LIBS="-lxml2 $XML2_LIBS $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 #ifdef __cplusplus
11978 extern "C"
11979 #endif
11980 char xmlFirstElementChild ();
11982 main ()
11984 return xmlFirstElementChild ();
11986 return 0;
11988 _ACEOF
11989 if ac_fn_c_try_link "$LINENO"; then :
11990 ac_cv_lib_xml2_xmlFirstElementChild=yes
11991 else
11992 ac_cv_lib_xml2_xmlFirstElementChild=no
11994 rm -f core conftest.err conftest.$ac_objext \
11995 conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_lib_save_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11999 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12000 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12002 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12006 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12008 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12010 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12014 else
12015 XML2_CFLAGS=""
12016 XML2_LIBS=""
12018 CPPFLAGS=$ac_save_CPPFLAGS
12019 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12020 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12023 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12024 case "x$with_xml" in
12025 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12026 xno) ;;
12027 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12028 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12029 esac
12033 if test "x$with_xslt" != "xno"
12034 then
12035 if ${XSLT_CFLAGS:+false} :; then :
12036 if ${PKG_CONFIG+:} false; then :
12037 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12040 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12041 if ${XSLT_LIBS:+false} :; then :
12042 if ${PKG_CONFIG+:} false; then :
12043 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12046 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12047 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12048 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12049 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12050 ac_save_CPPFLAGS=$CPPFLAGS
12051 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12052 for ac_header in libxslt/pattern.h libxslt/transform.h
12053 do :
12054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12055 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12056 # include <libxslt/pattern.h>
12057 #endif
12059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12060 cat >>confdefs.h <<_ACEOF
12061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12062 _ACEOF
12066 done
12068 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12069 then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12071 $as_echo_n "checking for -lxslt... " >&6; }
12072 if ${ac_cv_lib_soname_xslt+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 ac_check_soname_save_LIBS=$LIBS
12076 LIBS="-lxslt $XSLT_LIBS $LIBS"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12083 #ifdef __cplusplus
12084 extern "C"
12085 #endif
12086 char xsltCompilePattern ();
12088 main ()
12090 return xsltCompilePattern ();
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"; then :
12096 case "$LIBEXT" in
12097 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12098 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'` ;;
12099 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12100 if ${ac_cv_lib_soname_xslt:+false} :; then :
12101 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12102 fi ;;
12103 esac
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_xslt:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12115 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12117 cat >>confdefs.h <<_ACEOF
12118 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12119 _ACEOF
12123 else
12124 XSLT_CFLAGS=""
12126 CPPFLAGS=$ac_save_CPPFLAGS
12127 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12128 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12131 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12132 case "x$with_xslt" in
12133 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12134 xno) ;;
12135 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12136 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12137 esac
12141 if test "x$with_dbus" != "xno"
12142 then
12143 if ${DBUS_CFLAGS:+false} :; then :
12144 if ${PKG_CONFIG+:} false; then :
12145 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12149 if ${DBUS_LIBS:+false} :; then :
12150 if ${PKG_CONFIG+:} false; then :
12151 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12156 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12157 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12158 ac_save_CPPFLAGS=$CPPFLAGS
12159 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12160 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12161 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12163 $as_echo_n "checking for -ldbus-1... " >&6; }
12164 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_soname_save_LIBS=$LIBS
12168 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char dbus_connection_close ();
12180 main ()
12182 return dbus_connection_close ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 case "$LIBEXT" in
12189 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12190 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'` ;;
12191 *) 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'`
12192 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12193 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12194 fi ;;
12195 esac
12197 rm -f core conftest.err conftest.$ac_objext \
12198 conftest$ac_exeext conftest.$ac_ext
12199 LIBS=$ac_check_soname_save_LIBS
12201 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12203 $as_echo "not found" >&6; }
12204 DBUS_CFLAGS=""
12205 else
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12207 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12209 cat >>confdefs.h <<_ACEOF
12210 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12211 _ACEOF
12215 else
12216 DBUS_CFLAGS=""
12220 CPPFLAGS=$ac_save_CPPFLAGS
12221 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12222 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12225 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12226 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12227 case "x$with_dbus" in
12228 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12229 xno) ;;
12230 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12231 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12232 esac
12236 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12237 then
12238 if ${HAL_CFLAGS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12244 if ${HAL_LIBS:+false} :; then :
12245 if ${PKG_CONFIG+:} false; then :
12246 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12250 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12251 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12253 ac_save_CPPFLAGS=$CPPFLAGS
12254 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12255 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12258 $as_echo_n "checking for -lhal... " >&6; }
12259 if ${ac_cv_lib_soname_hal+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261 else
12262 ac_check_soname_save_LIBS=$LIBS
12263 LIBS="-lhal $HAL_LIBS $LIBS"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12270 #ifdef __cplusplus
12271 extern "C"
12272 #endif
12273 char libhal_ctx_new ();
12275 main ()
12277 return libhal_ctx_new ();
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_link "$LINENO"; then :
12283 case "$LIBEXT" in
12284 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12285 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'` ;;
12286 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12287 if ${ac_cv_lib_soname_hal:+false} :; then :
12288 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12289 fi ;;
12290 esac
12292 rm -f core conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_soname_save_LIBS
12296 if ${ac_cv_lib_soname_hal:+false} :; then :
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12298 $as_echo "not found" >&6; }
12299 HAL_CFLAGS=""
12300 else
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12302 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12304 cat >>confdefs.h <<_ACEOF
12305 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12306 _ACEOF
12310 else
12311 HAL_CFLAGS=""
12315 CPPFLAGS=$ac_save_CPPFLAGS
12316 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12317 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12319 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12320 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12321 case "x$with_hal" in
12322 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12323 xno) ;;
12324 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12325 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12326 esac
12331 if test "x$with_gnutls" != "xno"
12332 then
12333 if ${GNUTLS_CFLAGS:+false} :; then :
12334 if ${PKG_CONFIG+:} false; then :
12335 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12339 if ${GNUTLS_LIBS:+false} :; then :
12340 if ${PKG_CONFIG+:} false; then :
12341 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12346 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12347 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12348 ac_save_CPPFLAGS=$CPPFLAGS
12349 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12350 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12351 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12354 #include <gnutls/gnutls.h>
12355 #include <gnutls/crypto.h>
12357 main ()
12359 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12361 return 0;
12363 _ACEOF
12364 if ac_fn_c_try_compile "$LINENO"; then :
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12366 $as_echo_n "checking for -lgnutls... " >&6; }
12367 if ${ac_cv_lib_soname_gnutls+:} false; then :
12368 $as_echo_n "(cached) " >&6
12369 else
12370 ac_check_soname_save_LIBS=$LIBS
12371 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12378 #ifdef __cplusplus
12379 extern "C"
12380 #endif
12381 char gnutls_global_init ();
12383 main ()
12385 return gnutls_global_init ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"; then :
12391 case "$LIBEXT" in
12392 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12393 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'` ;;
12394 *) 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'`
12395 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12396 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'`
12397 fi ;;
12398 esac
12400 rm -f core conftest.err conftest.$ac_objext \
12401 conftest$ac_exeext conftest.$ac_ext
12402 LIBS=$ac_check_soname_save_LIBS
12404 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12406 $as_echo "not found" >&6; }
12407 GNUTLS_CFLAGS=""
12408 else
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12410 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12412 cat >>confdefs.h <<_ACEOF
12413 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12414 _ACEOF
12418 ac_wine_check_funcs_save_LIBS="$LIBS"
12419 LIBS="$LIBS $GNUTLS_LIBS"
12420 for ac_func in gnutls_cipher_init
12421 do :
12422 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12423 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_GNUTLS_CIPHER_INIT 1
12426 _ACEOF
12428 else
12429 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12431 done
12433 LIBS="$ac_wine_check_funcs_save_LIBS"
12435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12436 else
12437 GNUTLS_CFLAGS=""
12441 CPPFLAGS=$ac_save_CPPFLAGS
12442 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12447 case "x$with_gnutls" in
12448 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12449 xno) ;;
12450 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12451 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12452 esac
12456 CURSES_LIBS=""
12457 if test "$ac_cv_header_ncurses_h" = "yes"
12458 then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12460 $as_echo_n "checking for -lncurses... " >&6; }
12461 if ${ac_cv_lib_soname_ncurses+:} false; then :
12462 $as_echo_n "(cached) " >&6
12463 else
12464 ac_check_soname_save_LIBS=$LIBS
12465 LIBS="-lncurses $LIBS"
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12472 #ifdef __cplusplus
12473 extern "C"
12474 #endif
12475 char waddch ();
12477 main ()
12479 return waddch ();
12481 return 0;
12483 _ACEOF
12484 if ac_fn_c_try_link "$LINENO"; then :
12485 case "$LIBEXT" in
12486 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12487 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'` ;;
12488 *) 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'`
12489 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12490 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12491 fi ;;
12492 esac
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_soname_save_LIBS
12498 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12500 $as_echo "not found" >&6; }
12502 else
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12504 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12506 cat >>confdefs.h <<_ACEOF
12507 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12508 _ACEOF
12510 CURSES_LIBS="-lncurses"
12512 elif test "$ac_cv_header_curses_h" = "yes"
12513 then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12515 $as_echo_n "checking for -lcurses... " >&6; }
12516 if ${ac_cv_lib_soname_curses+:} false; then :
12517 $as_echo_n "(cached) " >&6
12518 else
12519 ac_check_soname_save_LIBS=$LIBS
12520 LIBS="-lcurses $LIBS"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12527 #ifdef __cplusplus
12528 extern "C"
12529 #endif
12530 char waddch ();
12532 main ()
12534 return waddch ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"; then :
12540 case "$LIBEXT" in
12541 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12542 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'` ;;
12543 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12544 if ${ac_cv_lib_soname_curses:+false} :; then :
12545 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12546 fi ;;
12547 esac
12549 rm -f core conftest.err conftest.$ac_objext \
12550 conftest$ac_exeext conftest.$ac_ext
12551 LIBS=$ac_check_soname_save_LIBS
12553 if ${ac_cv_lib_soname_curses:+false} :; then :
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12555 $as_echo "not found" >&6; }
12557 else
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12559 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12561 cat >>confdefs.h <<_ACEOF
12562 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12563 _ACEOF
12565 CURSES_LIBS="-lcurses"
12568 ac_save_LIBS="$LIBS"
12569 LIBS="$LIBS $CURSES_LIBS"
12570 for ac_func in mousemask
12571 do :
12572 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12573 if test "x$ac_cv_func_mousemask" = xyes; then :
12574 cat >>confdefs.h <<_ACEOF
12575 #define HAVE_MOUSEMASK 1
12576 _ACEOF
12579 done
12581 LIBS="$ac_save_LIBS"
12582 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12583 case "x$with_curses" in
12584 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12585 xno) ;;
12586 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12587 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12588 esac
12592 if test "x$with_sane" != "xno"
12593 then
12594 if ${SANE_CFLAGS:+false} :; then :
12595 if ${PKG_CONFIG+:} false; then :
12596 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12599 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12600 if ${SANE_LIBS:+false} :; then :
12601 if ${PKG_CONFIG+:} false; then :
12602 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12605 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12607 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12608 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12609 ac_save_CPPFLAGS=$CPPFLAGS
12610 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12611 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12612 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12614 $as_echo_n "checking for -lsane... " >&6; }
12615 if ${ac_cv_lib_soname_sane+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 ac_check_soname_save_LIBS=$LIBS
12619 LIBS="-lsane $SANE_LIBS $LIBS"
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12626 #ifdef __cplusplus
12627 extern "C"
12628 #endif
12629 char sane_init ();
12631 main ()
12633 return sane_init ();
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_link "$LINENO"; then :
12639 case "$LIBEXT" in
12640 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12641 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'` ;;
12642 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12643 if ${ac_cv_lib_soname_sane:+false} :; then :
12644 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12645 fi ;;
12646 esac
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_soname_save_LIBS
12652 if ${ac_cv_lib_soname_sane:+false} :; then :
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12654 $as_echo "not found" >&6; }
12655 SANE_CFLAGS=""
12656 else
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12658 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12660 cat >>confdefs.h <<_ACEOF
12661 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12662 _ACEOF
12666 else
12667 SANE_CFLAGS=""
12671 CPPFLAGS=$ac_save_CPPFLAGS
12672 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12673 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12676 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12677 case "x$with_sane" in
12678 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12679 xno) ;;
12680 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12681 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12682 esac
12686 if test "x$with_v4l" != "xno"
12687 then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12689 $as_echo_n "checking for -lv4l1... " >&6; }
12690 if ${ac_cv_lib_soname_v4l1+:} false; then :
12691 $as_echo_n "(cached) " >&6
12692 else
12693 ac_check_soname_save_LIBS=$LIBS
12694 LIBS="-lv4l1 $LIBS"
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12701 #ifdef __cplusplus
12702 extern "C"
12703 #endif
12704 char v4l1_open ();
12706 main ()
12708 return v4l1_open ();
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_link "$LINENO"; then :
12714 case "$LIBEXT" in
12715 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12716 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'` ;;
12717 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12718 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12719 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12720 fi ;;
12721 esac
12723 rm -f core conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12725 LIBS=$ac_check_soname_save_LIBS
12727 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12729 $as_echo "not found" >&6; }
12731 else
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12733 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12735 cat >>confdefs.h <<_ACEOF
12736 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12737 _ACEOF
12742 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12743 case "x$with_v4l" in
12744 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12745 xno) ;;
12746 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12747 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12748 esac
12752 if test "x$with_gphoto" != "xno"
12753 then
12754 if ${GPHOTO2_CFLAGS:+false} :; then :
12755 if ${PKG_CONFIG+:} false; then :
12756 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12759 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12760 if ${GPHOTO2_LIBS:+false} :; then :
12761 if ${PKG_CONFIG+:} false; then :
12762 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12765 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12766 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12767 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12768 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12769 ac_save_CPPFLAGS=$CPPFLAGS
12770 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12771 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12772 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12774 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12775 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12776 $as_echo_n "(cached) " >&6
12777 else
12778 ac_check_lib_save_LIBS=$LIBS
12779 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12786 #ifdef __cplusplus
12787 extern "C"
12788 #endif
12789 char gp_camera_new ();
12791 main ()
12793 return gp_camera_new ();
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_link "$LINENO"; then :
12799 ac_cv_lib_gphoto2_gp_camera_new=yes
12800 else
12801 ac_cv_lib_gphoto2_gp_camera_new=no
12803 rm -f core conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 LIBS=$ac_check_lib_save_LIBS
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12808 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12809 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12811 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12813 else
12814 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12817 else
12818 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12822 CPPFLAGS=$ac_save_CPPFLAGS
12823 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12824 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12826 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12827 if ${PKG_CONFIG+:} false; then :
12828 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12831 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12832 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12833 if ${PKG_CONFIG+:} false; then :
12834 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12837 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12838 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12839 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12840 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12841 ac_save_CPPFLAGS=$CPPFLAGS
12842 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12843 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12844 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12846 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12847 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_lib_save_LIBS=$LIBS
12851 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char gp_port_info_list_new ();
12863 main ()
12865 return gp_port_info_list_new ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12872 else
12873 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 LIBS=$ac_check_lib_save_LIBS
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12880 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12881 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12883 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12885 else
12886 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12889 else
12890 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12894 CPPFLAGS=$ac_save_CPPFLAGS
12895 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12896 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12899 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12900 case "x$with_gphoto" in
12901 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12902 xno) ;;
12903 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12904 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12905 esac
12908 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12909 case "x$with_gphoto" in
12910 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12911 xno) ;;
12912 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12913 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12914 esac
12919 if test "$ac_cv_header_resolv_h" = "yes"
12920 then
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12922 $as_echo_n "checking for resolver library... " >&6; }
12923 if ${ac_cv_have_resolv+:} false; then :
12924 $as_echo_n "(cached) " >&6
12925 else
12926 ac_save_LIBS="$LIBS"
12927 for lib in '' -lresolv
12929 LIBS="$lib $ac_save_LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12932 #ifdef HAVE_NETINET_IN_H
12933 #include <netinet/in.h>
12934 #endif
12935 #include <resolv.h>
12937 main ()
12939 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12941 return 0;
12943 _ACEOF
12944 if ac_fn_c_try_link "$LINENO"; then :
12945 ac_cv_have_resolv=${lib:-"none required"}
12946 else
12947 ac_cv_have_resolv="not found"
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12951 test "x$ac_cv_have_resolv" = "xnot found" || break
12952 done
12953 LIBS="$ac_save_LIBS"
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12956 $as_echo "$ac_cv_have_resolv" >&6; }
12958 case "$ac_cv_have_resolv" in
12959 "not found") ;;
12960 "none required")
12962 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12965 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12967 RESOLV_LIBS=$ac_cv_have_resolv
12969 esac
12972 if test "x$with_cms" != "xno"
12973 then
12974 if ${LCMS2_CFLAGS:+false} :; then :
12975 if ${PKG_CONFIG+:} false; then :
12976 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12980 if ${LCMS2_LIBS:+false} :; then :
12981 if ${PKG_CONFIG+:} false; then :
12982 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12986 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12987 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12988 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12989 ac_save_CPPFLAGS=$CPPFLAGS
12990 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12991 for ac_header in lcms2.h
12992 do :
12993 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12994 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12995 cat >>confdefs.h <<_ACEOF
12996 #define HAVE_LCMS2_H 1
12997 _ACEOF
13001 done
13003 if test "$ac_cv_header_lcms2_h" = "yes"
13004 then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13006 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13007 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13008 $as_echo_n "(cached) " >&6
13009 else
13010 ac_check_lib_save_LIBS=$LIBS
13011 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char cmsOpenProfileFromFile ();
13023 main ()
13025 return cmsOpenProfileFromFile ();
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_link "$LINENO"; then :
13031 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13032 else
13033 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13035 rm -f core conftest.err conftest.$ac_objext \
13036 conftest$ac_exeext conftest.$ac_ext
13037 LIBS=$ac_check_lib_save_LIBS
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13040 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13041 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13043 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13045 else
13046 LCMS2_LIBS=""
13049 else
13050 LCMS2_CFLAGS=""
13051 LCMS2_LIBS=""
13053 CPPFLAGS=$ac_save_CPPFLAGS
13054 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13055 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13058 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13059 case "x$with_cms" in
13060 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13061 xno) ;;
13062 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13063 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13064 esac
13068 if test "x$with_freetype" != "xno"
13069 then
13070 if ${FREETYPE_CFLAGS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13075 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13076 if ${FREETYPE_LIBS:+false} :; then :
13077 if ${PKG_CONFIG+:} false; then :
13078 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13081 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13082 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13083 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13084 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13085 ac_save_CPPFLAGS=$CPPFLAGS
13086 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13087 for ac_header in ft2build.h
13088 do :
13089 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13090 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13091 cat >>confdefs.h <<_ACEOF
13092 #define HAVE_FT2BUILD_H 1
13093 _ACEOF
13097 done
13099 if test "$ac_cv_header_ft2build_h" = "yes"
13100 then
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13102 $as_echo_n "checking for -lfreetype... " >&6; }
13103 if ${ac_cv_lib_soname_freetype+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_soname_save_LIBS=$LIBS
13107 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char FT_Init_FreeType ();
13119 main ()
13121 return FT_Init_FreeType ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 case "$LIBEXT" in
13128 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13129 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'` ;;
13130 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13131 if ${ac_cv_lib_soname_freetype:+false} :; then :
13132 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13133 fi ;;
13134 esac
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_soname_save_LIBS
13140 if ${ac_cv_lib_soname_freetype:+false} :; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13142 $as_echo "not found" >&6; }
13143 FREETYPE_LIBS=""
13144 else
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13146 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13148 cat >>confdefs.h <<_ACEOF
13149 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13150 _ACEOF
13153 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13155 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13156 #include FT_MODULE_H
13158 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13160 cat >>confdefs.h <<_ACEOF
13161 #define HAVE_FT_TRUETYPEENGINETYPE 1
13162 _ACEOF
13168 else
13169 FREETYPE_CFLAGS=""
13170 FREETYPE_LIBS=""
13172 CPPFLAGS=$ac_save_CPPFLAGS
13173 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13174 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13177 if test "x$ac_cv_lib_soname_freetype" = x; then :
13178 case "x$with_freetype" in
13179 xno) ;;
13180 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13181 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13182 esac
13183 enable_fonts=${enable_fonts:-no}
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13187 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13188 if ${ac_cv_c_ppdev+:} false; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13193 #ifdef HAVE_SYS_IOCTL_H
13194 # include <sys/ioctl.h>
13195 #endif
13196 #include <linux/ppdev.h>
13198 main ()
13200 ioctl (1,PPCLAIM,0)
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_compile "$LINENO"; then :
13206 ac_cv_c_ppdev="yes"
13207 else
13208 ac_cv_c_ppdev="no"
13210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13213 $as_echo "$ac_cv_c_ppdev" >&6; }
13214 if test "$ac_cv_c_ppdev" = "yes"
13215 then
13217 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13221 ac_wine_check_funcs_save_LIBS="$LIBS"
13222 LIBS="$LIBS $PTHREAD_LIBS"
13223 for ac_func in \
13224 pthread_attr_get_np \
13225 pthread_getattr_np \
13226 pthread_getthreadid_np \
13227 pthread_get_stackaddr_np \
13228 pthread_get_stacksize_np
13229 do :
13230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13233 cat >>confdefs.h <<_ACEOF
13234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13235 _ACEOF
13238 done
13240 LIBS="$ac_wine_check_funcs_save_LIBS"
13242 if test "$ac_cv_header_zlib_h" = "yes"
13243 then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13245 $as_echo_n "checking for inflate in -lz... " >&6; }
13246 if ${ac_cv_lib_z_inflate+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_lib_save_LIBS=$LIBS
13250 LIBS="-lz $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char inflate ();
13262 main ()
13264 return inflate ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 ac_cv_lib_z_inflate=yes
13271 else
13272 ac_cv_lib_z_inflate=no
13274 rm -f core conftest.err conftest.$ac_objext \
13275 conftest$ac_exeext conftest.$ac_ext
13276 LIBS=$ac_check_lib_save_LIBS
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13279 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13280 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13282 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13284 Z_LIBS="-lz"
13289 if test "x$Z_LIBS" = "x"; then :
13290 case "x$with_zlib" in
13291 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13292 xno) ;;
13293 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13294 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13295 esac
13299 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13300 then
13301 if test "$ac_cv_header_gettext_po_h" = "yes"
13302 then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13304 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13305 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_check_lib_save_LIBS=$LIBS
13309 LIBS="-lgettextpo $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 #ifdef __cplusplus
13317 extern "C"
13318 #endif
13319 char po_message_msgctxt ();
13321 main ()
13323 return po_message_msgctxt ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"; then :
13329 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13330 else
13331 ac_cv_lib_gettextpo_po_message_msgctxt=no
13333 rm -f core conftest.err conftest.$ac_objext \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_lib_save_LIBS
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13338 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13339 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13341 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13343 GETTEXTPO_LIBS="-lgettextpo"
13348 if test "x$GETTEXTPO_LIBS" = "x"; then :
13349 case "x$with_gettextpo" in
13350 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13351 xno) ;;
13352 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13353 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13354 esac
13357 if test "$srcdir" != .; then :
13358 case "x$with_gettextpo" in
13359 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13360 xno) ;;
13361 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13362 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13363 esac
13368 if test "x$with_pulse" != "xno";
13369 then
13370 if ${PULSE_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13376 if ${PULSE_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13383 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13385 ac_save_CPPFLAGS=$CPPFLAGS
13386 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13387 for ac_header in pulse/pulseaudio.h
13388 do :
13389 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13390 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13391 cat >>confdefs.h <<_ACEOF
13392 #define HAVE_PULSE_PULSEAUDIO_H 1
13393 _ACEOF
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13395 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13396 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13397 $as_echo_n "(cached) " >&6
13398 else
13399 ac_check_lib_save_LIBS=$LIBS
13400 LIBS="-lpulse $PULSE_LIBS $LIBS"
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13407 #ifdef __cplusplus
13408 extern "C"
13409 #endif
13410 char pa_stream_is_corked ();
13412 main ()
13414 return pa_stream_is_corked ();
13416 return 0;
13418 _ACEOF
13419 if ac_fn_c_try_link "$LINENO"; then :
13420 ac_cv_lib_pulse_pa_stream_is_corked=yes
13421 else
13422 ac_cv_lib_pulse_pa_stream_is_corked=no
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 LIBS=$ac_check_lib_save_LIBS
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13429 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13430 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13432 else
13433 PULSE_LIBS=""
13436 else
13437 PULSE_LIBS=""
13440 done
13442 CPPFLAGS=$ac_save_CPPFLAGS
13443 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13444 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13447 if test -z "$PULSE_LIBS"; then :
13448 case "x$with_pulse" in
13449 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13450 xno) ;;
13451 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13452 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13453 esac
13454 enable_winepulse_drv=${enable_winepulse_drv:-no}
13457 if test "x$with_gstreamer" != "xno"
13458 then
13459 if ${GSTREAMER_CFLAGS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13465 if ${GSTREAMER_LIBS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13472 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13474 ac_save_CPPFLAGS=$CPPFLAGS
13475 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13476 ac_gst_incl=""
13477 for i in $GSTREAMER_CFLAGS
13479 case "$i" in
13480 -I*) ac_gst_incl="$ac_gst_incl $i";;
13481 esac
13482 done
13483 GSTREAMER_CFLAGS=$ac_gst_incl
13484 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13485 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13486 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13488 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13491 #include <gst/gst.h>
13493 main ()
13495 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13497 return 0;
13499 _ACEOF
13500 if ac_fn_c_try_compile "$LINENO"; then :
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13502 $as_echo "yes" >&6; }
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13504 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13505 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13506 $as_echo_n "(cached) " >&6
13507 else
13508 ac_check_lib_save_LIBS=$LIBS
13509 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13513 /* Override any GCC internal prototype to avoid an error.
13514 Use char because int might match the return type of a GCC
13515 builtin and then its argument prototype would still apply. */
13516 #ifdef __cplusplus
13517 extern "C"
13518 #endif
13519 char gst_pad_new ();
13521 main ()
13523 return gst_pad_new ();
13525 return 0;
13527 _ACEOF
13528 if ac_fn_c_try_link "$LINENO"; then :
13529 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13530 else
13531 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_lib_save_LIBS
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13538 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13539 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13543 else
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13546 ac_glib2_broken=yes
13547 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13553 CPPFLAGS=$ac_save_CPPFLAGS
13554 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13555 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13558 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 :
13559 case "x$with_gstreamer" in
13560 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13561 xno) ;;
13562 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13563 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13564 esac
13567 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13569 ALSA_LIBS=""
13571 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13572 then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13574 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13575 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13576 $as_echo_n "(cached) " >&6
13577 else
13578 ac_check_lib_save_LIBS=$LIBS
13579 LIBS="-lasound $LIBS"
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13583 /* Override any GCC internal prototype to avoid an error.
13584 Use char because int might match the return type of a GCC
13585 builtin and then its argument prototype would still apply. */
13586 #ifdef __cplusplus
13587 extern "C"
13588 #endif
13589 char snd_pcm_hw_params_get_access_mask ();
13591 main ()
13593 return snd_pcm_hw_params_get_access_mask ();
13595 return 0;
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13600 else
13601 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_lib_save_LIBS
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13608 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13609 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13612 #ifdef HAVE_ALSA_ASOUNDLIB_H
13613 #include <alsa/asoundlib.h>
13614 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13615 #include <sys/asoundlib.h>
13616 #endif
13618 main ()
13620 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13622 return 0;
13624 _ACEOF
13625 if ac_fn_c_try_compile "$LINENO"; then :
13626 ALSA_LIBS="-lasound"
13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13632 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13634 if test "x$with_oss" != xno
13635 then
13636 ac_save_CPPFLAGS="$CPPFLAGS"
13637 if test -f /etc/oss.conf
13638 then
13639 . /etc/oss.conf
13641 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13642 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13643 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13644 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13645 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13647 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13649 cat >>confdefs.h <<_ACEOF
13650 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13651 _ACEOF
13653 OSS4_CFLAGS="$ac_oss_incl"
13660 CPPFLAGS="$ac_save_CPPFLAGS"
13662 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13663 case "x$with_oss" in
13664 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13665 xno) ;;
13666 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13667 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13668 esac
13669 enable_wineoss_drv=${enable_wineoss_drv:-no}
13672 if test "x$with_udev" != "xno"
13673 then
13674 if ${UDEV_CFLAGS:+false} :; then :
13675 if ${PKG_CONFIG+:} false; then :
13676 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13680 if ${UDEV_LIBS:+false} :; then :
13681 if ${PKG_CONFIG+:} false; then :
13682 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13686 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13688 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13689 ac_save_CPPFLAGS=$CPPFLAGS
13690 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13691 for ac_header in libudev.h
13692 do :
13693 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13694 if test "x$ac_cv_header_libudev_h" = xyes; then :
13695 cat >>confdefs.h <<_ACEOF
13696 #define HAVE_LIBUDEV_H 1
13697 _ACEOF
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13699 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13700 if ${ac_cv_lib_udev_udev_new+:} false; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 ac_check_lib_save_LIBS=$LIBS
13704 LIBS="-ludev $UDEV_LIBS $LIBS"
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13708 /* Override any GCC internal prototype to avoid an error.
13709 Use char because int might match the return type of a GCC
13710 builtin and then its argument prototype would still apply. */
13711 #ifdef __cplusplus
13712 extern "C"
13713 #endif
13714 char udev_new ();
13716 main ()
13718 return udev_new ();
13720 return 0;
13722 _ACEOF
13723 if ac_fn_c_try_link "$LINENO"; then :
13724 ac_cv_lib_udev_udev_new=yes
13725 else
13726 ac_cv_lib_udev_udev_new=no
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 LIBS=$ac_check_lib_save_LIBS
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13733 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13734 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13736 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13738 else
13739 UDEV_LIBS=""
13742 else
13743 UDEV_LIBS=""
13746 done
13748 CPPFLAGS=$ac_save_CPPFLAGS
13749 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13750 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13753 if test "x$UDEV_LIBS" = "x"; then :
13754 case "x$with_udev" in
13755 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13756 xno) ;;
13757 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13758 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13759 esac
13763 if test "x$with_sdl" != "xno"
13764 then
13765 if ${SDL2_CFLAGS:+false} :; then :
13766 if ${PKG_CONFIG+:} false; then :
13767 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13771 if ${SDL2_LIBS:+false} :; then :
13772 if ${PKG_CONFIG+:} false; then :
13773 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13777 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13778 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13779 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13780 ac_save_CPPFLAGS=$CPPFLAGS
13781 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13782 for ac_header in SDL2/SDL.h
13783 do :
13784 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13785 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13786 cat >>confdefs.h <<_ACEOF
13787 #define HAVE_SDL2_SDL_H 1
13788 _ACEOF
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13790 $as_echo_n "checking for -lSDL2... " >&6; }
13791 if ${ac_cv_lib_soname_SDL2+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_check_soname_save_LIBS=$LIBS
13795 LIBS="-lSDL2 $LIBS"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13799 /* Override any GCC internal prototype to avoid an error.
13800 Use char because int might match the return type of a GCC
13801 builtin and then its argument prototype would still apply. */
13802 #ifdef __cplusplus
13803 extern "C"
13804 #endif
13805 char SDL_Init ();
13807 main ()
13809 return SDL_Init ();
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"; then :
13815 case "$LIBEXT" in
13816 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13817 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'` ;;
13818 *) 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'`
13819 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13820 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13821 fi ;;
13822 esac
13824 rm -f core conftest.err conftest.$ac_objext \
13825 conftest$ac_exeext conftest.$ac_ext
13826 LIBS=$ac_check_soname_save_LIBS
13828 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13830 $as_echo "not found" >&6; }
13832 else
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13834 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13836 cat >>confdefs.h <<_ACEOF
13837 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13838 _ACEOF
13844 done
13846 CPPFLAGS=$ac_save_CPPFLAGS
13847 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13848 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13851 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13852 case "x$with_sdl" in
13853 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13854 xno) ;;
13855 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13856 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13857 esac
13861 if test "x$with_capi" != "xno"
13862 then
13863 if ${CAPI20_CFLAGS:+false} :; then :
13864 if ${PKG_CONFIG+:} false; then :
13865 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13869 if ${CAPI20_LIBS:+false} :; then :
13870 if ${PKG_CONFIG+:} false; then :
13871 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13876 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13877 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13878 ac_save_CPPFLAGS=$CPPFLAGS
13879 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13880 for ac_header in capi20.h linux/capi.h
13881 do :
13882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13883 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13886 cat >>confdefs.h <<_ACEOF
13887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13888 _ACEOF
13892 done
13894 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13895 then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13897 $as_echo_n "checking for -lcapi20... " >&6; }
13898 if ${ac_cv_lib_soname_capi20+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 ac_check_soname_save_LIBS=$LIBS
13902 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13909 #ifdef __cplusplus
13910 extern "C"
13911 #endif
13912 char capi20_register ();
13914 main ()
13916 return capi20_register ();
13918 return 0;
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 case "$LIBEXT" in
13923 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13924 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'` ;;
13925 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13926 if ${ac_cv_lib_soname_capi20:+false} :; then :
13927 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13928 fi ;;
13929 esac
13931 rm -f core conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 LIBS=$ac_check_soname_save_LIBS
13935 if ${ac_cv_lib_soname_capi20:+false} :; then :
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13937 $as_echo "not found" >&6; }
13939 else
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13941 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13943 cat >>confdefs.h <<_ACEOF
13944 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13945 _ACEOF
13950 CPPFLAGS=$ac_save_CPPFLAGS
13951 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13952 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13955 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13956 case "x$with_capi" in
13957 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13958 xno) ;;
13959 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13960 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13961 esac
13965 if test "x$with_cups" != "xno"
13966 then
13967 if ${CUPS_CFLAGS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13972 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13973 if ${CUPS_LIBS:+false} :; then :
13974 if ${PKG_CONFIG+:} false; then :
13975 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13978 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13979 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13980 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13981 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13982 ac_save_CPPFLAGS=$CPPFLAGS
13983 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13984 for ac_header in cups/cups.h cups/ppd.h
13985 do :
13986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13987 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13988 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13989 cat >>confdefs.h <<_ACEOF
13990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13991 _ACEOF
13995 done
13997 if test "$ac_cv_header_cups_cups_h" = "yes"
13998 then
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14000 $as_echo_n "checking for -lcups... " >&6; }
14001 if ${ac_cv_lib_soname_cups+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_check_soname_save_LIBS=$LIBS
14005 LIBS="-lcups $CUPS_LIBS $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 #ifdef __cplusplus
14013 extern "C"
14014 #endif
14015 char cupsGetDefault ();
14017 main ()
14019 return cupsGetDefault ();
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"; then :
14025 case "$LIBEXT" in
14026 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14027 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'` ;;
14028 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14029 if ${ac_cv_lib_soname_cups:+false} :; then :
14030 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14031 fi ;;
14032 esac
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 LIBS=$ac_check_soname_save_LIBS
14038 if ${ac_cv_lib_soname_cups:+false} :; then :
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14040 $as_echo "not found" >&6; }
14041 CUPS_LIBS=""
14042 else
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14044 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14046 cat >>confdefs.h <<_ACEOF
14047 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14048 _ACEOF
14052 else
14053 CUPS_CFLAGS=""
14054 CUPS_LIBS=""
14056 CPPFLAGS=$ac_save_CPPFLAGS
14057 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14058 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14061 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14062 case "x$with_cups" in
14063 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14064 xno) ;;
14065 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14066 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14067 esac
14071 if test "x$with_fontconfig" != "xno"
14072 then
14073 if ${FONTCONFIG_CFLAGS:+false} :; then :
14074 if ${PKG_CONFIG+:} false; then :
14075 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14078 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14079 if ${FONTCONFIG_LIBS:+false} :; then :
14080 if ${PKG_CONFIG+:} false; then :
14081 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14084 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14086 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14087 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14088 ac_save_CPPFLAGS=$CPPFLAGS
14089 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14090 for ac_header in fontconfig/fontconfig.h
14091 do :
14092 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14093 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14094 cat >>confdefs.h <<_ACEOF
14095 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14096 _ACEOF
14100 done
14102 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14103 then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14105 $as_echo_n "checking for -lfontconfig... " >&6; }
14106 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 ac_check_soname_save_LIBS=$LIBS
14110 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14114 /* Override any GCC internal prototype to avoid an error.
14115 Use char because int might match the return type of a GCC
14116 builtin and then its argument prototype would still apply. */
14117 #ifdef __cplusplus
14118 extern "C"
14119 #endif
14120 char FcInit ();
14122 main ()
14124 return FcInit ();
14126 return 0;
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 case "$LIBEXT" in
14131 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14132 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'` ;;
14133 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14134 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14135 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14136 fi ;;
14137 esac
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14141 LIBS=$ac_check_soname_save_LIBS
14143 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14145 $as_echo "not found" >&6; }
14146 FONTCONFIG_CFLAGS=""
14147 else
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14149 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14151 cat >>confdefs.h <<_ACEOF
14152 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14153 _ACEOF
14157 else
14158 FONTCONFIG_CFLAGS=""
14160 CPPFLAGS=$ac_save_CPPFLAGS
14161 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14162 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14165 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14166 case "x$with_fontconfig" in
14167 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14168 xno) ;;
14169 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14170 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14171 esac
14175 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14176 then
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14178 $as_echo_n "checking for -lgsm... " >&6; }
14179 if ${ac_cv_lib_soname_gsm+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 ac_check_soname_save_LIBS=$LIBS
14183 LIBS="-lgsm $LIBS"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14190 #ifdef __cplusplus
14191 extern "C"
14192 #endif
14193 char gsm_create ();
14195 main ()
14197 return gsm_create ();
14199 return 0;
14201 _ACEOF
14202 if ac_fn_c_try_link "$LINENO"; then :
14203 case "$LIBEXT" in
14204 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14205 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'` ;;
14206 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14207 if ${ac_cv_lib_soname_gsm:+false} :; then :
14208 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14209 fi ;;
14210 esac
14212 rm -f core conftest.err conftest.$ac_objext \
14213 conftest$ac_exeext conftest.$ac_ext
14214 LIBS=$ac_check_soname_save_LIBS
14216 if ${ac_cv_lib_soname_gsm:+false} :; then :
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14218 $as_echo "not found" >&6; }
14220 else
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14222 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14224 cat >>confdefs.h <<_ACEOF
14225 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14226 _ACEOF
14231 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14232 case "x$with_gsm" in
14233 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14234 xno) ;;
14235 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14236 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14237 esac
14241 if test "x$with_krb5" != "xno"
14242 then
14243 if ${KRB5_CFLAGS:+false} :; then :
14244 if ${PKG_CONFIG+:} false; then :
14245 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14248 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14249 if ${KRB5_LIBS:+false} :; then :
14250 if ${PKG_CONFIG+:} false; then :
14251 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14254 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14256 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14257 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14258 ac_save_CPPFLAGS=$CPPFLAGS
14259 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14260 for ac_header in krb5/krb5.h
14261 do :
14262 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14263 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14264 cat >>confdefs.h <<_ACEOF
14265 #define HAVE_KRB5_KRB5_H 1
14266 _ACEOF
14270 done
14272 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14273 then
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14275 $as_echo_n "checking for -lkrb5... " >&6; }
14276 if ${ac_cv_lib_soname_krb5+:} false; then :
14277 $as_echo_n "(cached) " >&6
14278 else
14279 ac_check_soname_save_LIBS=$LIBS
14280 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14284 /* Override any GCC internal prototype to avoid an error.
14285 Use char because int might match the return type of a GCC
14286 builtin and then its argument prototype would still apply. */
14287 #ifdef __cplusplus
14288 extern "C"
14289 #endif
14290 char krb5_is_config_principal ();
14292 main ()
14294 return krb5_is_config_principal ();
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"; then :
14300 case "$LIBEXT" in
14301 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14302 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'` ;;
14303 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14304 if ${ac_cv_lib_soname_krb5:+false} :; then :
14305 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14306 fi ;;
14307 esac
14309 rm -f core conftest.err conftest.$ac_objext \
14310 conftest$ac_exeext conftest.$ac_ext
14311 LIBS=$ac_check_soname_save_LIBS
14313 if ${ac_cv_lib_soname_krb5:+false} :; then :
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14315 $as_echo "not found" >&6; }
14316 KRB5_CFLAGS=""
14317 else
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14319 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14321 cat >>confdefs.h <<_ACEOF
14322 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14323 _ACEOF
14327 else
14328 KRB5_CFLAGS=""
14330 CPPFLAGS=$ac_save_CPPFLAGS
14331 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14332 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14334 else
14335 with_gssapi=${with_gssapi:-no}
14337 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14338 case "x$with_krb5" in
14339 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14340 xno) ;;
14341 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14342 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14343 esac
14347 if test "x$with_gssapi" != "xno"
14348 then
14349 if ${GSSAPI_CFLAGS:+false} :; then :
14350 if ${PKG_CONFIG+:} false; then :
14351 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14354 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14355 if ${GSSAPI_LIBS:+false} :; then :
14356 if ${PKG_CONFIG+:} false; then :
14357 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14360 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14362 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14363 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14364 ac_save_CPPFLAGS=$CPPFLAGS
14365 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14366 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14367 do :
14368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14369 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14371 cat >>confdefs.h <<_ACEOF
14372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14373 _ACEOF
14377 done
14379 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14380 then
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14382 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14383 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_check_soname_save_LIBS=$LIBS
14387 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14391 /* Override any GCC internal prototype to avoid an error.
14392 Use char because int might match the return type of a GCC
14393 builtin and then its argument prototype would still apply. */
14394 #ifdef __cplusplus
14395 extern "C"
14396 #endif
14397 char gss_init_sec_context ();
14399 main ()
14401 return gss_init_sec_context ();
14403 return 0;
14405 _ACEOF
14406 if ac_fn_c_try_link "$LINENO"; then :
14407 case "$LIBEXT" in
14408 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14409 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'` ;;
14410 *) 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'`
14411 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14412 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14413 fi ;;
14414 esac
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14418 LIBS=$ac_check_soname_save_LIBS
14420 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14422 $as_echo "not found" >&6; }
14423 GSSAPI_CFLAGS=""
14424 else
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14426 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14428 cat >>confdefs.h <<_ACEOF
14429 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14430 _ACEOF
14434 else
14435 GSSAPI_CFLAGS=""
14437 CPPFLAGS=$ac_save_CPPFLAGS
14438 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14439 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14442 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14443 case "x$with_gssapi" in
14444 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14445 xno) ;;
14446 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14447 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14448 esac
14452 if test "x$with_jpeg" != "xno"
14453 then
14454 if ${JPEG_CFLAGS:+false} :; then :
14455 if ${PKG_CONFIG+:} false; then :
14456 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14460 if ${JPEG_LIBS:+false} :; then :
14461 if ${PKG_CONFIG+:} false; then :
14462 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14467 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14468 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14469 ac_save_CPPFLAGS=$CPPFLAGS
14470 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14471 for ac_header in jpeglib.h
14472 do :
14473 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14474 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14475 cat >>confdefs.h <<_ACEOF
14476 #define HAVE_JPEGLIB_H 1
14477 _ACEOF
14481 done
14483 if test "$ac_cv_header_jpeglib_h" = "yes"
14484 then
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14486 $as_echo_n "checking for -ljpeg... " >&6; }
14487 if ${ac_cv_lib_soname_jpeg+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 ac_check_soname_save_LIBS=$LIBS
14491 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14495 /* Override any GCC internal prototype to avoid an error.
14496 Use char because int might match the return type of a GCC
14497 builtin and then its argument prototype would still apply. */
14498 #ifdef __cplusplus
14499 extern "C"
14500 #endif
14501 char jpeg_start_decompress ();
14503 main ()
14505 return jpeg_start_decompress ();
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"; then :
14511 case "$LIBEXT" in
14512 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14513 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'` ;;
14514 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14515 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14516 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14517 fi ;;
14518 esac
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_soname_save_LIBS
14524 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14526 $as_echo "not found" >&6; }
14527 JPEG_CFLAGS=""
14528 else
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14530 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14532 cat >>confdefs.h <<_ACEOF
14533 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14534 _ACEOF
14538 else
14539 JPEG_CFLAGS=""
14541 CPPFLAGS=$ac_save_CPPFLAGS
14542 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14543 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14546 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14547 case "x$with_jpeg" in
14548 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14549 xno) ;;
14550 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14551 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14552 esac
14556 if test "x$with_png" != "xno"
14557 then
14558 if ${PNG_CFLAGS:+false} :; then :
14559 if ${PKG_CONFIG+:} false; then :
14560 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14563 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14564 if ${PNG_LIBS:+false} :; then :
14565 if ${PKG_CONFIG+:} false; then :
14566 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14569 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14571 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14572 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14573 ac_save_CPPFLAGS=$CPPFLAGS
14574 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14575 for ac_header in png.h
14576 do :
14577 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14578 if test "x$ac_cv_header_png_h" = xyes; then :
14579 cat >>confdefs.h <<_ACEOF
14580 #define HAVE_PNG_H 1
14581 _ACEOF
14585 done
14587 if test "$ac_cv_header_png_h" = "yes"
14588 then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14590 $as_echo_n "checking for -lpng... " >&6; }
14591 if ${ac_cv_lib_soname_png+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_check_soname_save_LIBS=$LIBS
14595 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14599 /* Override any GCC internal prototype to avoid an error.
14600 Use char because int might match the return type of a GCC
14601 builtin and then its argument prototype would still apply. */
14602 #ifdef __cplusplus
14603 extern "C"
14604 #endif
14605 char png_create_read_struct ();
14607 main ()
14609 return png_create_read_struct ();
14611 return 0;
14613 _ACEOF
14614 if ac_fn_c_try_link "$LINENO"; then :
14615 case "$LIBEXT" in
14616 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14617 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'` ;;
14618 *) 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'`
14619 if ${ac_cv_lib_soname_png:+false} :; then :
14620 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14621 fi ;;
14622 esac
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_check_soname_save_LIBS
14628 if ${ac_cv_lib_soname_png:+false} :; then :
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14630 $as_echo "not found" >&6; }
14631 PNG_CFLAGS=""
14632 else
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14634 $as_echo "$ac_cv_lib_soname_png" >&6; }
14636 cat >>confdefs.h <<_ACEOF
14637 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14638 _ACEOF
14642 else
14643 PNG_CFLAGS=""
14645 CPPFLAGS=$ac_save_CPPFLAGS
14646 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14647 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14650 if test "x$ac_cv_lib_soname_png" = "x"; then :
14651 case "x$with_png" in
14652 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14653 xno) ;;
14654 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14655 This is an error since --with-png was requested." "$LINENO" 5 ;;
14656 esac
14660 if test "x$with_tiff" != "xno"
14661 then
14662 if ${TIFF_CFLAGS:+false} :; then :
14663 if ${PKG_CONFIG+:} false; then :
14664 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14668 if ${TIFF_LIBS:+false} :; then :
14669 if ${PKG_CONFIG+:} false; then :
14670 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14675 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14676 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14677 ac_save_CPPFLAGS=$CPPFLAGS
14678 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14679 for ac_header in tiffio.h
14680 do :
14681 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14682 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14683 cat >>confdefs.h <<_ACEOF
14684 #define HAVE_TIFFIO_H 1
14685 _ACEOF
14689 done
14691 if test "$ac_cv_header_tiffio_h" = "yes"
14692 then
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14694 $as_echo_n "checking for -ltiff... " >&6; }
14695 if ${ac_cv_lib_soname_tiff+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_check_soname_save_LIBS=$LIBS
14699 LIBS="-ltiff $TIFF_LIBS $LIBS"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 #ifdef __cplusplus
14707 extern "C"
14708 #endif
14709 char TIFFClientOpen ();
14711 main ()
14713 return TIFFClientOpen ();
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_link "$LINENO"; then :
14719 case "$LIBEXT" in
14720 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14721 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'` ;;
14722 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14723 if ${ac_cv_lib_soname_tiff:+false} :; then :
14724 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14725 fi ;;
14726 esac
14728 rm -f core conftest.err conftest.$ac_objext \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_soname_save_LIBS
14732 if ${ac_cv_lib_soname_tiff:+false} :; then :
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14734 $as_echo "not found" >&6; }
14736 else
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14738 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14740 cat >>confdefs.h <<_ACEOF
14741 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14742 _ACEOF
14747 CPPFLAGS=$ac_save_CPPFLAGS
14748 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14749 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14752 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14753 case "x$with_tiff" in
14754 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14755 xno) ;;
14756 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14757 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14758 esac
14762 if test "x$with_mpg123" != "xno"
14763 then
14764 if ${MPG123_CFLAGS:+false} :; then :
14765 if ${PKG_CONFIG+:} false; then :
14766 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14770 if ${MPG123_LIBS:+false} :; then :
14771 if ${PKG_CONFIG+:} false; then :
14772 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14776 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14777 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14778 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14779 ac_save_CPPFLAGS=$CPPFLAGS
14780 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14781 for ac_header in mpg123.h
14782 do :
14783 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14784 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14785 cat >>confdefs.h <<_ACEOF
14786 #define HAVE_MPG123_H 1
14787 _ACEOF
14791 done
14793 if test "$ac_cv_header_mpg123_h" = "yes"
14794 then
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14796 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14797 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 #ifdef __cplusplus
14809 extern "C"
14810 #endif
14811 char mpg123_feed ();
14813 main ()
14815 return mpg123_feed ();
14817 return 0;
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_lib_mpg123_mpg123_feed=yes
14822 else
14823 ac_cv_lib_mpg123_mpg123_feed=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14830 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14831 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14833 else
14834 MPG123_LIBS=""
14837 else
14838 MPG123_CFLAGS=""
14839 MPG123_LIBS=""
14841 CPPFLAGS=$ac_save_CPPFLAGS
14842 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14843 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14846 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14847 case "x$with_mpg123" in
14848 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14849 xno) ;;
14850 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14851 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14852 esac
14853 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14855 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14857 if test "$ac_cv_header_AL_al_h" = "yes"
14858 then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14860 $as_echo_n "checking for -lopenal... " >&6; }
14861 if ${ac_cv_lib_soname_openal+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 ac_check_soname_save_LIBS=$LIBS
14865 LIBS="-lopenal $LIBS"
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14872 #ifdef __cplusplus
14873 extern "C"
14874 #endif
14875 char alGetSource3i ();
14877 main ()
14879 return alGetSource3i ();
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 case "$LIBEXT" in
14886 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14887 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'` ;;
14888 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14889 if ${ac_cv_lib_soname_openal:+false} :; then :
14890 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14891 fi ;;
14892 esac
14894 rm -f core conftest.err conftest.$ac_objext \
14895 conftest$ac_exeext conftest.$ac_ext
14896 LIBS=$ac_check_soname_save_LIBS
14898 if ${ac_cv_lib_soname_openal:+false} :; then :
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14900 $as_echo "not found" >&6; }
14902 else
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14904 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14906 cat >>confdefs.h <<_ACEOF
14907 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14908 _ACEOF
14910 OPENAL_LIBS="-lopenal"
14912 ac_cv_lib_openal=yes
14914 cat >>confdefs.h <<_ACEOF
14915 #define HAVE_OPENAL 1
14916 _ACEOF
14920 if test "x$ac_cv_lib_openal" != xyes; then :
14921 case "x$with_openal" in
14922 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14923 xno) ;;
14924 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14925 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14926 esac
14927 enable_openal32=${enable_openal32:-no}
14930 if test "x$ac_cv_lib_openal" = xyes
14931 then
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14933 $as_echo_n "checking for openal-soft... " >&6; }
14934 if ${ac_cv_have_openalsoft+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 #include <AL/al.h>
14940 #include <AL/alc.h>
14941 #include <AL/alext.h>
14942 LPALCRENDERSAMPLESSOFT x;
14944 main ()
14948 return 0;
14950 _ACEOF
14951 if ac_fn_c_try_compile "$LINENO"; then :
14952 ac_cv_have_openalsoft=yes
14953 else
14954 ac_cv_have_openalsoft=no
14956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14959 $as_echo "$ac_cv_have_openalsoft" >&6; }
14961 if test "x$ac_cv_have_openalsoft" != xyes
14962 then
14963 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14964 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14965 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14966 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14967 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14968 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14969 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14970 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14971 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14972 enable_xapofx1_1=${enable_xapofx1_1:-no}
14973 enable_xapofx1_2=${enable_xapofx1_2:-no}
14974 enable_xapofx1_3=${enable_xapofx1_3:-no}
14975 enable_xapofx1_4=${enable_xapofx1_4:-no}
14976 enable_xapofx1_5=${enable_xapofx1_5:-no}
14977 enable_xaudio2_0=${enable_xaudio2_0:-no}
14978 enable_xaudio2_1=${enable_xaudio2_1:-no}
14979 enable_xaudio2_2=${enable_xaudio2_2:-no}
14980 enable_xaudio2_3=${enable_xaudio2_3:-no}
14981 enable_xaudio2_4=${enable_xaudio2_4:-no}
14982 enable_xaudio2_5=${enable_xaudio2_5:-no}
14983 enable_xaudio2_6=${enable_xaudio2_6:-no}
14984 enable_xaudio2_7=${enable_xaudio2_7:-no}
14985 enable_xaudio2_8=${enable_xaudio2_8:-no}
14986 enable_xaudio2_9=${enable_xaudio2_9:-no}
14989 if test "$ac_cv_header_kstat_h" = "yes"
14990 then
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14992 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14993 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 ac_check_lib_save_LIBS=$LIBS
14997 LIBS="-lkstat $LIBS"
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15001 /* Override any GCC internal prototype to avoid an error.
15002 Use char because int might match the return type of a GCC
15003 builtin and then its argument prototype would still apply. */
15004 #ifdef __cplusplus
15005 extern "C"
15006 #endif
15007 char kstat_open ();
15009 main ()
15011 return kstat_open ();
15013 return 0;
15015 _ACEOF
15016 if ac_fn_c_try_link "$LINENO"; then :
15017 ac_cv_lib_kstat_kstat_open=yes
15018 else
15019 ac_cv_lib_kstat_kstat_open=no
15021 rm -f core conftest.err conftest.$ac_objext \
15022 conftest$ac_exeext conftest.$ac_ext
15023 LIBS=$ac_check_lib_save_LIBS
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15026 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15027 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15029 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15031 KSTAT_LIBS="-lkstat"
15037 if test "$ac_cv_header_libprocstat_h" = "yes"
15038 then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15040 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15041 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15042 $as_echo_n "(cached) " >&6
15043 else
15044 ac_check_lib_save_LIBS=$LIBS
15045 LIBS="-lprocstat $LIBS"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 #ifdef __cplusplus
15053 extern "C"
15054 #endif
15055 char procstat_open_sysctl ();
15057 main ()
15059 return procstat_open_sysctl ();
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_link "$LINENO"; then :
15065 ac_cv_lib_procstat_procstat_open_sysctl=yes
15066 else
15067 ac_cv_lib_procstat_procstat_open_sysctl=no
15069 rm -f core conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_lib_save_LIBS
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15074 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15075 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15077 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15079 PROCSTAT_LIBS="-lprocstat"
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15086 $as_echo_n "checking for -lodbc... " >&6; }
15087 if ${ac_cv_lib_soname_odbc+:} false; then :
15088 $as_echo_n "(cached) " >&6
15089 else
15090 ac_check_soname_save_LIBS=$LIBS
15091 LIBS="-lodbc $LIBS"
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15095 /* Override any GCC internal prototype to avoid an error.
15096 Use char because int might match the return type of a GCC
15097 builtin and then its argument prototype would still apply. */
15098 #ifdef __cplusplus
15099 extern "C"
15100 #endif
15101 char SQLConnect ();
15103 main ()
15105 return SQLConnect ();
15107 return 0;
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"; then :
15111 case "$LIBEXT" in
15112 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15115 if ${ac_cv_lib_soname_odbc:+false} :; then :
15116 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15117 fi ;;
15118 esac
15120 rm -f core conftest.err conftest.$ac_objext \
15121 conftest$ac_exeext conftest.$ac_ext
15122 LIBS=$ac_check_soname_save_LIBS
15124 if ${ac_cv_lib_soname_odbc:+false} :; then :
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15126 $as_echo "not found" >&6; }
15127 cat >>confdefs.h <<_ACEOF
15128 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15129 _ACEOF
15131 else
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15133 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15135 cat >>confdefs.h <<_ACEOF
15136 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15137 _ACEOF
15142 if test "x$with_netapi" != "xno"
15143 then
15144 if ${NETAPI_CFLAGS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15150 if ${NETAPI_LIBS:+false} :; then :
15151 if ${PKG_CONFIG+:} false; then :
15152 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15157 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15158 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15159 ac_save_CPPFLAGS=$CPPFLAGS
15160 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15162 $as_echo_n "checking for -lnetapi... " >&6; }
15163 if ${ac_cv_lib_soname_netapi+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_check_soname_save_LIBS=$LIBS
15167 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15174 #ifdef __cplusplus
15175 extern "C"
15176 #endif
15177 char libnetapi_init ();
15179 main ()
15181 return libnetapi_init ();
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 case "$LIBEXT" in
15188 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15189 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'` ;;
15190 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15191 if ${ac_cv_lib_soname_netapi:+false} :; then :
15192 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15193 fi ;;
15194 esac
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15198 LIBS=$ac_check_soname_save_LIBS
15200 if ${ac_cv_lib_soname_netapi:+false} :; then :
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15202 $as_echo "not found" >&6; }
15203 cat >>confdefs.h <<_ACEOF
15204 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15205 _ACEOF
15207 else
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15209 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15213 _ACEOF
15217 CPPFLAGS=$ac_save_CPPFLAGS
15218 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15219 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15223 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15224 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15225 then
15226 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15229 if test "x$with_vulkan" != "xno"
15230 then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15232 $as_echo_n "checking for -lvulkan... " >&6; }
15233 if ${ac_cv_lib_soname_vulkan+:} false; then :
15234 $as_echo_n "(cached) " >&6
15235 else
15236 ac_check_soname_save_LIBS=$LIBS
15237 LIBS="-lvulkan $LIBS"
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15241 /* Override any GCC internal prototype to avoid an error.
15242 Use char because int might match the return type of a GCC
15243 builtin and then its argument prototype would still apply. */
15244 #ifdef __cplusplus
15245 extern "C"
15246 #endif
15247 char vkGetInstanceProcAddr ();
15249 main ()
15251 return vkGetInstanceProcAddr ();
15253 return 0;
15255 _ACEOF
15256 if ac_fn_c_try_link "$LINENO"; then :
15257 case "$LIBEXT" in
15258 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15262 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15263 fi ;;
15264 esac
15266 rm -f core conftest.err conftest.$ac_objext \
15267 conftest$ac_exeext conftest.$ac_ext
15268 LIBS=$ac_check_soname_save_LIBS
15270 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15272 $as_echo "not found" >&6; }
15274 else
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15276 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15278 cat >>confdefs.h <<_ACEOF
15279 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15280 _ACEOF
15284 if test "x$ac_cv_lib_soname_vulkan" = "x"
15285 then
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15287 $as_echo_n "checking for -lMoltenVK... " >&6; }
15288 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 ac_check_soname_save_LIBS=$LIBS
15292 LIBS="-lMoltenVK $LIBS"
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char vkGetInstanceProcAddr ();
15304 main ()
15306 return vkGetInstanceProcAddr ();
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 case "$LIBEXT" in
15313 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15316 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15317 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15318 fi ;;
15319 esac
15321 rm -f core conftest.err conftest.$ac_objext \
15322 conftest$ac_exeext conftest.$ac_ext
15323 LIBS=$ac_check_soname_save_LIBS
15325 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15327 $as_echo "not found" >&6; }
15329 else
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15331 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15333 cat >>confdefs.h <<_ACEOF
15334 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15335 _ACEOF
15341 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15342 case "x$with_vulkan" in
15343 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15344 xno) ;;
15345 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15346 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15347 esac
15351 if test "x$with_vkd3d" != "xno"
15352 then
15353 if ${VKD3D_CFLAGS:+false} :; then :
15354 if ${PKG_CONFIG+:} false; then :
15355 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15359 if ${VKD3D_LIBS:+false} :; then :
15360 if ${PKG_CONFIG+:} false; then :
15361 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15366 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15367 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15368 ac_save_CPPFLAGS=$CPPFLAGS
15369 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15371 $as_echo_n "checking for -lvkd3d... " >&6; }
15372 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15373 $as_echo_n "(cached) " >&6
15374 else
15375 ac_check_soname_save_LIBS=$LIBS
15376 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 #ifdef __cplusplus
15384 extern "C"
15385 #endif
15386 char vkd3d_create_device ();
15388 main ()
15390 return vkd3d_create_device ();
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_link "$LINENO"; then :
15396 case "$LIBEXT" in
15397 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15398 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'` ;;
15399 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15400 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15401 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15402 fi ;;
15403 esac
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_soname_save_LIBS
15409 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15411 $as_echo "not found" >&6; }
15413 else
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15415 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15417 cat >>confdefs.h <<_ACEOF
15418 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15419 _ACEOF
15423 CPPFLAGS=$ac_save_CPPFLAGS
15424 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15425 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15428 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15429 case "x$with_vkd3d" in
15430 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15431 xno) ;;
15432 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15433 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15434 esac
15437 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15440 EXTRACFLAGS=""
15442 if test "x${GCC}" = "xyes"
15443 then
15444 EXTRACFLAGS="-Wall -pipe"
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15447 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15448 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 if test "$cross_compiling" = yes; then :
15452 ac_cv_c_gcc_strength_bug="no"
15453 else
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15456 int L[4] = {0,1,2,3};
15458 main ()
15460 static int Array[3];
15461 unsigned int B = 3;
15462 int i;
15463 for(i=0; i<B; i++) Array[i] = i - 3;
15464 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15465 L[i] = 4;
15466 return (Array[1] != -2 || L[2] != 3)
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_run "$LINENO"; then :
15472 ac_cv_c_gcc_strength_bug="no"
15473 else
15474 ac_cv_c_gcc_strength_bug="yes"
15476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15477 conftest.$ac_objext conftest.beam conftest.$ac_ext
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15482 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15483 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15484 then
15485 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15489 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15490 if ${ac_cv_cflags__fno_builtin+:} false; then :
15491 $as_echo_n "(cached) " >&6
15492 else
15493 ac_wine_try_cflags_saved=$CFLAGS
15494 CFLAGS="$CFLAGS -fno-builtin"
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15497 int main(int argc, char **argv) { return 0; }
15498 _ACEOF
15499 if ac_fn_c_try_link "$LINENO"; then :
15500 ac_cv_cflags__fno_builtin=yes
15501 else
15502 ac_cv_cflags__fno_builtin=no
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext conftest.$ac_ext
15506 CFLAGS=$ac_wine_try_cflags_saved
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15509 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15510 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15511 BUILTINFLAG="-fno-builtin"
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15515 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15516 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15517 $as_echo_n "(cached) " >&6
15518 else
15519 ac_wine_try_cflags_saved=$CFLAGS
15520 CFLAGS="$CFLAGS -fno-strict-aliasing"
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15523 int main(int argc, char **argv) { return 0; }
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 ac_cv_cflags__fno_strict_aliasing=yes
15527 else
15528 ac_cv_cflags__fno_strict_aliasing=no
15530 rm -f core conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15532 CFLAGS=$ac_wine_try_cflags_saved
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15535 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15536 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15537 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15540 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15541 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 ac_wine_try_cflags_saved=$CFLAGS
15545 CFLAGS="$CFLAGS -fexcess-precision=standard"
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15548 int main(int argc, char **argv) { return 0; }
15549 _ACEOF
15550 if ac_fn_c_try_link "$LINENO"; then :
15551 ac_cv_cflags__fexcess_precision_standard=yes
15552 else
15553 ac_cv_cflags__fexcess_precision_standard=no
15555 rm -f core conftest.err conftest.$ac_objext \
15556 conftest$ac_exeext conftest.$ac_ext
15557 CFLAGS=$ac_wine_try_cflags_saved
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15560 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15561 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15562 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15565 saved_CFLAGS=$CFLAGS
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15567 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15568 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15569 $as_echo_n "(cached) " >&6
15570 else
15571 ac_wine_try_cflags_saved=$CFLAGS
15572 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574 /* end confdefs.h. */
15575 int main(int argc, char **argv) { return 0; }
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"; then :
15578 ac_cv_cflags__Werror_unknown_warning_option=yes
15579 else
15580 ac_cv_cflags__Werror_unknown_warning_option=no
15582 rm -f core conftest.err conftest.$ac_objext \
15583 conftest$ac_exeext conftest.$ac_ext
15584 CFLAGS=$ac_wine_try_cflags_saved
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15587 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15588 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15589 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15592 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15593 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15594 $as_echo_n "(cached) " >&6
15595 else
15596 ac_wine_try_cflags_saved=$CFLAGS
15597 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15600 int main(int argc, char **argv) { return 0; }
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"; then :
15603 ac_cv_cflags__Wdeclaration_after_statement=yes
15604 else
15605 ac_cv_cflags__Wdeclaration_after_statement=no
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext conftest.$ac_ext
15609 CFLAGS=$ac_wine_try_cflags_saved
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15612 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15613 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15614 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15617 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15618 if ${ac_cv_cflags__Wempty_body+:} false; then :
15619 $as_echo_n "(cached) " >&6
15620 else
15621 ac_wine_try_cflags_saved=$CFLAGS
15622 CFLAGS="$CFLAGS -Wempty-body"
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15625 int main(int argc, char **argv) { return 0; }
15626 _ACEOF
15627 if ac_fn_c_try_link "$LINENO"; then :
15628 ac_cv_cflags__Wempty_body=yes
15629 else
15630 ac_cv_cflags__Wempty_body=no
15632 rm -f core conftest.err conftest.$ac_objext \
15633 conftest$ac_exeext conftest.$ac_ext
15634 CFLAGS=$ac_wine_try_cflags_saved
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15637 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15638 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15639 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15642 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15643 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15644 $as_echo_n "(cached) " >&6
15645 else
15646 ac_wine_try_cflags_saved=$CFLAGS
15647 CFLAGS="$CFLAGS -Wignored-qualifiers"
15648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15649 /* end confdefs.h. */
15650 int main(int argc, char **argv) { return 0; }
15651 _ACEOF
15652 if ac_fn_c_try_link "$LINENO"; then :
15653 ac_cv_cflags__Wignored_qualifiers=yes
15654 else
15655 ac_cv_cflags__Wignored_qualifiers=no
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15659 CFLAGS=$ac_wine_try_cflags_saved
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15662 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15663 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15664 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15667 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15668 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15669 $as_echo_n "(cached) " >&6
15670 else
15671 ac_wine_try_cflags_saved=$CFLAGS
15672 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15675 int main(int argc, char **argv) { return 0; }
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"; then :
15678 ac_cv_cflags__Wpacked_not_aligned=yes
15679 else
15680 ac_cv_cflags__Wpacked_not_aligned=no
15682 rm -f core conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext conftest.$ac_ext
15684 CFLAGS=$ac_wine_try_cflags_saved
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15687 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15688 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15689 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15692 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15693 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15694 $as_echo_n "(cached) " >&6
15695 else
15696 ac_wine_try_cflags_saved=$CFLAGS
15697 CFLAGS="$CFLAGS -Wpragma-pack"
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15700 int main(int argc, char **argv) { return 0; }
15701 _ACEOF
15702 if ac_fn_c_try_link "$LINENO"; then :
15703 ac_cv_cflags__Wpragma_pack=yes
15704 else
15705 ac_cv_cflags__Wpragma_pack=no
15707 rm -f core conftest.err conftest.$ac_objext \
15708 conftest$ac_exeext conftest.$ac_ext
15709 CFLAGS=$ac_wine_try_cflags_saved
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15712 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15713 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15714 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15717 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15718 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15719 $as_echo_n "(cached) " >&6
15720 else
15721 ac_wine_try_cflags_saved=$CFLAGS
15722 CFLAGS="$CFLAGS -Wshift-overflow=2"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15725 int main(int argc, char **argv) { return 0; }
15726 _ACEOF
15727 if ac_fn_c_try_link "$LINENO"; then :
15728 ac_cv_cflags__Wshift_overflow_2=yes
15729 else
15730 ac_cv_cflags__Wshift_overflow_2=no
15732 rm -f core conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15734 CFLAGS=$ac_wine_try_cflags_saved
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15737 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15738 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15739 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15742 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15743 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15744 $as_echo_n "(cached) " >&6
15745 else
15746 ac_wine_try_cflags_saved=$CFLAGS
15747 CFLAGS="$CFLAGS -Wstrict-prototypes"
15748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15749 /* end confdefs.h. */
15750 int main(int argc, char **argv) { return 0; }
15751 _ACEOF
15752 if ac_fn_c_try_link "$LINENO"; then :
15753 ac_cv_cflags__Wstrict_prototypes=yes
15754 else
15755 ac_cv_cflags__Wstrict_prototypes=no
15757 rm -f core conftest.err conftest.$ac_objext \
15758 conftest$ac_exeext conftest.$ac_ext
15759 CFLAGS=$ac_wine_try_cflags_saved
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15762 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15763 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15764 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15767 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15768 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15769 $as_echo_n "(cached) " >&6
15770 else
15771 ac_wine_try_cflags_saved=$CFLAGS
15772 CFLAGS="$CFLAGS -Wtype-limits"
15773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15775 int main(int argc, char **argv) { return 0; }
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"; then :
15778 ac_cv_cflags__Wtype_limits=yes
15779 else
15780 ac_cv_cflags__Wtype_limits=no
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 CFLAGS=$ac_wine_try_cflags_saved
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15787 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15788 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15789 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15792 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15793 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15794 $as_echo_n "(cached) " >&6
15795 else
15796 ac_wine_try_cflags_saved=$CFLAGS
15797 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15800 int main(int argc, char **argv) { return 0; }
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 ac_cv_cflags__Wunused_but_set_parameter=yes
15804 else
15805 ac_cv_cflags__Wunused_but_set_parameter=no
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15809 CFLAGS=$ac_wine_try_cflags_saved
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15812 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15813 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15814 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15817 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15818 if ${ac_cv_cflags__Wvla+:} false; then :
15819 $as_echo_n "(cached) " >&6
15820 else
15821 ac_wine_try_cflags_saved=$CFLAGS
15822 CFLAGS="$CFLAGS -Wvla"
15823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15825 int main(int argc, char **argv) { return 0; }
15826 _ACEOF
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 ac_cv_cflags__Wvla=yes
15829 else
15830 ac_cv_cflags__Wvla=no
15832 rm -f core conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15834 CFLAGS=$ac_wine_try_cflags_saved
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15837 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15838 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15839 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15842 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15843 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15844 $as_echo_n "(cached) " >&6
15845 else
15846 ac_wine_try_cflags_saved=$CFLAGS
15847 CFLAGS="$CFLAGS -Wwrite-strings"
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15850 int main(int argc, char **argv) { return 0; }
15851 _ACEOF
15852 if ac_fn_c_try_link "$LINENO"; then :
15853 ac_cv_cflags__Wwrite_strings=yes
15854 else
15855 ac_cv_cflags__Wwrite_strings=no
15857 rm -f core conftest.err conftest.$ac_objext \
15858 conftest$ac_exeext conftest.$ac_ext
15859 CFLAGS=$ac_wine_try_cflags_saved
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15862 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15863 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15864 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15868 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15869 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_wine_try_cflags_saved=$CFLAGS
15873 CFLAGS="$CFLAGS -Wpointer-arith"
15874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15876 int main(int argc, char **argv) { return 0; }
15877 _ACEOF
15878 if ac_fn_c_try_link "$LINENO"; then :
15879 ac_cv_cflags__Wpointer_arith=yes
15880 else
15881 ac_cv_cflags__Wpointer_arith=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 CFLAGS=$ac_wine_try_cflags_saved
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15888 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15889 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15890 saved_string_h_CFLAGS=$CFLAGS
15891 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15893 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15894 if ${ac_cv_c_string_h_warnings+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #include <string.h>
15901 main ()
15905 return 0;
15907 _ACEOF
15908 if ac_fn_c_try_compile "$LINENO"; then :
15909 ac_cv_c_string_h_warnings=no
15910 else
15911 ac_cv_c_string_h_warnings=yes
15913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15916 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15917 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15918 CFLAGS=$saved_string_h_CFLAGS
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15922 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15923 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15924 $as_echo_n "(cached) " >&6
15925 else
15926 ac_wine_try_cflags_saved=$CFLAGS
15927 CFLAGS="$CFLAGS -Wlogical-op"
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15930 int main(int argc, char **argv) { return 0; }
15931 _ACEOF
15932 if ac_fn_c_try_link "$LINENO"; then :
15933 ac_cv_cflags__Wlogical_op=yes
15934 else
15935 ac_cv_cflags__Wlogical_op=no
15937 rm -f core conftest.err conftest.$ac_objext \
15938 conftest$ac_exeext conftest.$ac_ext
15939 CFLAGS=$ac_wine_try_cflags_saved
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15942 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15943 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15944 saved_string_h_CFLAGS=$CFLAGS
15945 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15947 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15948 if ${ac_cv_c_logicalop_noisy+:} false; then :
15949 $as_echo_n "(cached) " >&6
15950 else
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15953 #include <string.h>
15954 char*f(const char *h,char n) {return strchr(h,n);}
15956 main ()
15960 return 0;
15962 _ACEOF
15963 if ac_fn_c_try_compile "$LINENO"; then :
15964 ac_cv_c_logicalop_noisy=no
15965 else
15966 ac_cv_c_logicalop_noisy=yes
15968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15971 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15972 CFLAGS=$saved_string_h_CFLAGS
15973 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15976 CFLAGS=$saved_CFLAGS
15978 for ac_flag in $CFLAGS; do
15979 case $ac_flag in
15980 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15981 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15982 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15983 $as_echo_n "(cached) " >&6
15984 else
15985 ac_wine_try_cflags_saved=$CFLAGS
15986 CFLAGS="$CFLAGS -gdwarf-2"
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15989 int main(int argc, char **argv) { return 0; }
15990 _ACEOF
15991 if ac_fn_c_try_link "$LINENO"; then :
15992 ac_cv_cflags__gdwarf_2=yes
15993 else
15994 ac_cv_cflags__gdwarf_2=no
15996 rm -f core conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext conftest.$ac_ext
15998 CFLAGS=$ac_wine_try_cflags_saved
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16001 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16002 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16003 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16006 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16007 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16008 $as_echo_n "(cached) " >&6
16009 else
16010 ac_wine_try_cflags_saved=$CFLAGS
16011 CFLAGS="$CFLAGS -gstrict-dwarf"
16012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16014 int main(int argc, char **argv) { return 0; }
16015 _ACEOF
16016 if ac_fn_c_try_link "$LINENO"; then :
16017 ac_cv_cflags__gstrict_dwarf=yes
16018 else
16019 ac_cv_cflags__gstrict_dwarf=no
16021 rm -f core conftest.err conftest.$ac_objext \
16022 conftest$ac_exeext conftest.$ac_ext
16023 CFLAGS=$ac_wine_try_cflags_saved
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16026 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16027 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16028 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16029 fi ;;
16030 esac
16031 done
16033 case $host_cpu in
16034 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16035 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16036 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16037 $as_echo_n "(cached) " >&6
16038 else
16039 ac_wine_try_cflags_saved=$CFLAGS
16040 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16043 int main(int argc, char **argv) { return 0; }
16044 _ACEOF
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_cflags__fno_omit_frame_pointer=yes
16047 else
16048 ac_cv_cflags__fno_omit_frame_pointer=no
16050 rm -f core conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 CFLAGS=$ac_wine_try_cflags_saved
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16055 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16056 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16057 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16058 fi ;;
16059 esac
16061 case $host in
16062 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16063 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16064 if ${ac_cv_cflags__Wno_format+:} false; then :
16065 $as_echo_n "(cached) " >&6
16066 else
16067 ac_wine_try_cflags_saved=$CFLAGS
16068 CFLAGS="$CFLAGS -Wno-format"
16069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16071 int main(int argc, char **argv) { return 0; }
16072 _ACEOF
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 ac_cv_cflags__Wno_format=yes
16075 else
16076 ac_cv_cflags__Wno_format=no
16078 rm -f core conftest.err conftest.$ac_objext \
16079 conftest$ac_exeext conftest.$ac_ext
16080 CFLAGS=$ac_wine_try_cflags_saved
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16083 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16084 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16085 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16086 fi ;;
16087 esac
16089 if test "x$enable_maintainer_mode" = "xyes"
16090 then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16092 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16093 if ${ac_cv_cflags__Werror+:} false; then :
16094 $as_echo_n "(cached) " >&6
16095 else
16096 ac_wine_try_cflags_saved=$CFLAGS
16097 CFLAGS="$CFLAGS -Werror"
16098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16100 int main(int argc, char **argv) { return 0; }
16101 _ACEOF
16102 if ac_fn_c_try_link "$LINENO"; then :
16103 ac_cv_cflags__Werror=yes
16104 else
16105 ac_cv_cflags__Werror=no
16107 rm -f core conftest.err conftest.$ac_objext \
16108 conftest$ac_exeext conftest.$ac_ext
16109 CFLAGS=$ac_wine_try_cflags_saved
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16112 $as_echo "$ac_cv_cflags__Werror" >&6; }
16113 if test "x$ac_cv_cflags__Werror" = xyes; then :
16114 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16118 saved_CFLAGS="$CFLAGS"
16119 CFLAGS="$CFLAGS -Werror"
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16121 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16122 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16123 $as_echo_n "(cached) " >&6
16124 else
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16129 main ()
16133 return 0;
16135 _ACEOF
16136 if ac_fn_c_try_compile "$LINENO"; then :
16137 ac_cv_have_ms_hook_prologue="yes"
16138 else
16139 ac_cv_have_ms_hook_prologue="no"
16141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16144 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16145 CFLAGS="$saved_CFLAGS"
16146 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16147 then
16149 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16151 else
16152 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16159 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16160 if ${ac_cv_c_fortify_enabled+:} false; then :
16161 $as_echo_n "(cached) " >&6
16162 else
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16165 #include <string.h>
16167 main ()
16169 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16170 #error Fortify enabled
16171 #endif
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_compile "$LINENO"; then :
16177 ac_cv_c_fortify_enabled=no
16178 else
16179 ac_cv_c_fortify_enabled=yes
16181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16184 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16185 if test "$ac_cv_c_fortify_enabled" = yes
16186 then
16187 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16192 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16193 if ${ac_cv_c_extern_prefix+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 extern int ac_test;
16200 main ()
16202 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_link "$LINENO"; then :
16208 ac_cv_c_extern_prefix="yes"
16209 else
16210 ac_cv_c_extern_prefix="no"
16212 rm -f core conftest.err conftest.$ac_objext \
16213 conftest$ac_exeext conftest.$ac_ext
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16216 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16218 case $host_cpu in
16219 *i[3456789]86*)
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16221 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16222 if ${ac_cv_c_stdcall_suffix+:} false; then :
16223 $as_echo_n "(cached) " >&6
16224 else
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16227 #ifndef _MSC_VER
16228 #define __stdcall __attribute__((__stdcall__))
16229 #endif
16230 int __stdcall ac_test(int i) { return i; }
16232 main ()
16234 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16236 return 0;
16238 _ACEOF
16239 if ac_fn_c_try_link "$LINENO"; then :
16240 ac_cv_c_stdcall_suffix="yes"
16241 else
16242 ac_cv_c_stdcall_suffix="no"
16244 rm -f core conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16248 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16249 *) ac_cv_c_stdcall_suffix="no" ;;
16250 esac
16253 if test "$ac_cv_c_extern_prefix" = "yes"
16254 then
16255 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16257 asm_name_prefix="_"
16258 else
16259 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16261 asm_name_prefix=""
16265 if test "$ac_cv_c_stdcall_suffix" = "yes"
16266 then
16267 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16269 else
16270 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16276 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16277 if ${ac_cv_asm_func_def+:} false; then :
16278 $as_echo_n "(cached) " >&6
16279 else
16280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281 /* end confdefs.h. */
16284 main ()
16286 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16288 return 0;
16290 _ACEOF
16291 if ac_fn_c_try_link "$LINENO"; then :
16292 ac_cv_asm_func_def=".def"
16293 else
16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16298 main ()
16300 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16302 return 0;
16304 _ACEOF
16305 if ac_fn_c_try_link "$LINENO"; then :
16306 ac_cv_asm_func_def=".type @function"
16307 else
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16312 main ()
16314 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16316 return 0;
16318 _ACEOF
16319 if ac_fn_c_try_link "$LINENO"; then :
16320 ac_cv_asm_func_def=".type 2"
16321 else
16322 ac_cv_asm_func_def="unknown"
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16330 rm -f core conftest.err conftest.$ac_objext \
16331 conftest$ac_exeext conftest.$ac_ext
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16334 $as_echo "$ac_cv_asm_func_def" >&6; }
16337 case "$ac_cv_asm_func_def" in
16338 ".def")
16339 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16341 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16342 ".type @function")
16343 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16345 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16346 ".type 2")
16347 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16349 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16351 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16353 asm_func_header="" ;;
16354 esac
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16357 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16358 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16359 $as_echo_n "(cached) " >&6
16360 else
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16363 asm(".text\n\t.long 0");
16365 main ()
16369 return 0;
16371 _ACEOF
16372 if ac_fn_c_try_compile "$LINENO"; then :
16373 ac_cv_c_asm_outside_funcs="yes"
16374 else
16375 ac_cv_c_asm_outside_funcs="no"
16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16380 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16383 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16384 if ${ac_cv_c_dot_previous+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16391 main ()
16393 asm(".text\nac_test:\t.long 0\n\t.previous");
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 ac_cv_c_dot_previous="yes"
16400 else
16401 ac_cv_c_dot_previous="no"
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16407 $as_echo "$ac_cv_c_dot_previous" >&6; }
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16410 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16411 if ${ac_cv_c_cfi_support+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16418 main ()
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_compile "$LINENO"; then :
16426 ac_cv_c_cfi_support="yes"
16427 else
16428 ac_cv_c_cfi_support="no"
16430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16433 $as_echo "$ac_cv_c_cfi_support" >&6; }
16435 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16436 asm_func_trailer=""
16437 if test "$ac_cv_c_dot_previous" = "yes"
16438 then
16439 asm_func_trailer="\\n\\t.previous"
16441 if test "$ac_cv_c_cfi_support" = "yes"
16442 then
16443 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16444 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16446 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16448 UNWINDFLAGS=-fasynchronous-unwind-tables
16450 else
16451 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16453 if test "x$enable_win64" = "xyes"
16454 then
16455 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16459 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16462 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16463 then
16464 cat >>confdefs.h <<_ACEOF
16465 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16466 _ACEOF
16468 else
16469 cat >>confdefs.h <<_ACEOF
16470 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16471 _ACEOF
16475 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16478 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16482 case $build_os in
16483 cygwin*|mingw32*) TOOLSEXT=".exe"
16485 esac
16487 case $host_os in
16488 linux*)
16489 case $host_cpu in
16490 *i[3456789]86*|x86_64*|*aarch64*)
16491 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16492 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16494 esac
16496 esac
16499 ac_save_CFLAGS="$CFLAGS"
16500 CFLAGS="$CFLAGS $BUILTINFLAG"
16501 for ac_func in \
16502 __res_get_state \
16503 __res_getservers \
16504 _finite \
16505 _isnan \
16506 _pclose \
16507 _popen \
16508 _snprintf \
16509 _spawnvp \
16510 _strdup \
16511 _stricmp \
16512 _strnicmp \
16513 _strtoi64 \
16514 _strtoui64 \
16515 _vsnprintf \
16516 asctime_r \
16517 chsize \
16518 dlopen \
16519 epoll_create \
16520 ffs \
16521 finitef \
16522 fnmatch \
16523 fork \
16524 fpclass \
16525 fstatfs \
16526 fstatvfs \
16527 ftruncate \
16528 futimens \
16529 futimes \
16530 futimesat \
16531 getattrlist \
16532 getauxval \
16533 getifaddrs \
16534 getopt_long_only \
16535 getpwuid \
16536 gettimeofday \
16537 getuid \
16538 isnanf \
16539 kqueue \
16540 lstat \
16541 memmove \
16542 mmap \
16543 pclose \
16544 pipe2 \
16545 poll \
16546 popen \
16547 port_create \
16548 prctl \
16549 pread \
16550 proc_pidinfo \
16551 pwrite \
16552 readdir \
16553 readlink \
16554 sched_yield \
16555 select \
16556 setproctitle \
16557 setprogname \
16558 setrlimit \
16559 settimeofday \
16560 sigaltstack \
16561 sigprocmask \
16562 snprintf \
16563 statfs \
16564 statvfs \
16565 strcasecmp \
16566 strdup \
16567 strerror \
16568 strncasecmp \
16569 strnlen \
16570 strtold \
16571 strtoll \
16572 strtoull \
16573 symlink \
16574 sysinfo \
16575 tcdrain \
16576 thr_kill2 \
16577 timegm \
16578 usleep \
16579 vsnprintf
16581 do :
16582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16587 _ACEOF
16590 done
16592 CFLAGS="$ac_save_CFLAGS"
16594 if test "$ac_cv_func_dlopen" = no
16595 then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16598 if ${ac_cv_lib_dl_dlopen+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_check_lib_save_LIBS=$LIBS
16602 LIBS="-ldl $LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char dlopen ();
16614 main ()
16616 return dlopen ();
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622 ac_cv_lib_dl_dlopen=yes
16623 else
16624 ac_cv_lib_dl_dlopen=no
16626 rm -f core conftest.err conftest.$ac_objext \
16627 conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_lib_save_LIBS
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16632 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16633 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16634 DL_LIBS="-ldl"
16639 ac_wine_check_funcs_save_LIBS="$LIBS"
16640 LIBS="$LIBS $DL_LIBS"
16641 for ac_func in dladdr
16642 do :
16643 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16644 if test "x$ac_cv_func_dladdr" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_DLADDR 1
16647 _ACEOF
16650 done
16652 LIBS="$ac_wine_check_funcs_save_LIBS"
16654 if test "$ac_cv_func_poll" = no
16655 then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16657 $as_echo_n "checking for poll in -lpoll... " >&6; }
16658 if ${ac_cv_lib_poll_poll+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 ac_check_lib_save_LIBS=$LIBS
16662 LIBS="-lpoll $LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 /* Override any GCC internal prototype to avoid an error.
16667 Use char because int might match the return type of a GCC
16668 builtin and then its argument prototype would still apply. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char poll ();
16674 main ()
16676 return poll ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 ac_cv_lib_poll_poll=yes
16683 else
16684 ac_cv_lib_poll_poll=no
16686 rm -f core conftest.err conftest.$ac_objext \
16687 conftest$ac_exeext conftest.$ac_ext
16688 LIBS=$ac_check_lib_save_LIBS
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16691 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16692 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16693 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16694 POLL_LIBS="-lpoll"
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16701 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16702 if ${ac_cv_search_gethostbyname+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_func_search_save_LIBS=$LIBS
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16709 /* Override any GCC internal prototype to avoid an error.
16710 Use char because int might match the return type of a GCC
16711 builtin and then its argument prototype would still apply. */
16712 #ifdef __cplusplus
16713 extern "C"
16714 #endif
16715 char gethostbyname ();
16717 main ()
16719 return gethostbyname ();
16721 return 0;
16723 _ACEOF
16724 for ac_lib in '' nsl; do
16725 if test -z "$ac_lib"; then
16726 ac_res="none required"
16727 else
16728 ac_res=-l$ac_lib
16729 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 ac_cv_search_gethostbyname=$ac_res
16734 rm -f core conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext
16736 if ${ac_cv_search_gethostbyname+:} false; then :
16737 break
16739 done
16740 if ${ac_cv_search_gethostbyname+:} false; then :
16742 else
16743 ac_cv_search_gethostbyname=no
16745 rm conftest.$ac_ext
16746 LIBS=$ac_func_search_save_LIBS
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16749 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16750 ac_res=$ac_cv_search_gethostbyname
16751 if test "$ac_res" != no; then :
16752 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16758 $as_echo_n "checking for library containing connect... " >&6; }
16759 if ${ac_cv_search_connect+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 ac_func_search_save_LIBS=$LIBS
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 /* Override any GCC internal prototype to avoid an error.
16767 Use char because int might match the return type of a GCC
16768 builtin and then its argument prototype would still apply. */
16769 #ifdef __cplusplus
16770 extern "C"
16771 #endif
16772 char connect ();
16774 main ()
16776 return connect ();
16778 return 0;
16780 _ACEOF
16781 for ac_lib in '' socket; do
16782 if test -z "$ac_lib"; then
16783 ac_res="none required"
16784 else
16785 ac_res=-l$ac_lib
16786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16788 if ac_fn_c_try_link "$LINENO"; then :
16789 ac_cv_search_connect=$ac_res
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext
16793 if ${ac_cv_search_connect+:} false; then :
16794 break
16796 done
16797 if ${ac_cv_search_connect+:} false; then :
16799 else
16800 ac_cv_search_connect=no
16802 rm conftest.$ac_ext
16803 LIBS=$ac_func_search_save_LIBS
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16806 $as_echo "$ac_cv_search_connect" >&6; }
16807 ac_res=$ac_cv_search_connect
16808 if test "$ac_res" != no; then :
16809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16815 $as_echo_n "checking for library containing inet_aton... " >&6; }
16816 if ${ac_cv_search_inet_aton+:} false; then :
16817 $as_echo_n "(cached) " >&6
16818 else
16819 ac_func_search_save_LIBS=$LIBS
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16826 #ifdef __cplusplus
16827 extern "C"
16828 #endif
16829 char inet_aton ();
16831 main ()
16833 return inet_aton ();
16835 return 0;
16837 _ACEOF
16838 for ac_lib in '' resolv; do
16839 if test -z "$ac_lib"; then
16840 ac_res="none required"
16841 else
16842 ac_res=-l$ac_lib
16843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16845 if ac_fn_c_try_link "$LINENO"; then :
16846 ac_cv_search_inet_aton=$ac_res
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext
16850 if ${ac_cv_search_inet_aton+:} false; then :
16851 break
16853 done
16854 if ${ac_cv_search_inet_aton+:} false; then :
16856 else
16857 ac_cv_search_inet_aton=no
16859 rm conftest.$ac_ext
16860 LIBS=$ac_func_search_save_LIBS
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16863 $as_echo "$ac_cv_search_inet_aton" >&6; }
16864 ac_res=$ac_cv_search_inet_aton
16865 if test "$ac_res" != no; then :
16866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16871 for ac_func in \
16872 getaddrinfo \
16873 getnameinfo \
16874 getnetbyname \
16875 getprotobyname \
16876 getprotobynumber \
16877 getservbyport \
16878 inet_addr \
16879 inet_network \
16880 inet_ntop \
16881 inet_pton \
16882 sendmsg \
16883 socketpair \
16885 do :
16886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16891 _ACEOF
16894 done
16897 ac_save_LIBS=$LIBS
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16899 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16900 if ${ac_cv_search_clock_gettime+:} false; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903 ac_func_search_save_LIBS=$LIBS
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16910 #ifdef __cplusplus
16911 extern "C"
16912 #endif
16913 char clock_gettime ();
16915 main ()
16917 return clock_gettime ();
16919 return 0;
16921 _ACEOF
16922 for ac_lib in '' rt; do
16923 if test -z "$ac_lib"; then
16924 ac_res="none required"
16925 else
16926 ac_res=-l$ac_lib
16927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16929 if ac_fn_c_try_link "$LINENO"; then :
16930 ac_cv_search_clock_gettime=$ac_res
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext
16934 if ${ac_cv_search_clock_gettime+:} false; then :
16935 break
16937 done
16938 if ${ac_cv_search_clock_gettime+:} false; then :
16940 else
16941 ac_cv_search_clock_gettime=no
16943 rm conftest.$ac_ext
16944 LIBS=$ac_func_search_save_LIBS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16947 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16948 ac_res=$ac_cv_search_clock_gettime
16949 if test "$ac_res" != no; then :
16950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16952 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16954 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16958 LIBS=$ac_save_LIBS
16960 if test "x$with_ldap" != "xno"
16961 then
16962 if ${LDAP_CFLAGS:+false} :; then :
16963 if ${PKG_CONFIG+:} false; then :
16964 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16968 if ${LDAP_LIBS:+false} :; then :
16969 if ${PKG_CONFIG+:} false; then :
16970 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16974 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16975 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16977 ac_save_CPPFLAGS=$CPPFLAGS
16978 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16979 for ac_header in ldap.h lber.h
16980 do :
16981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16984 cat >>confdefs.h <<_ACEOF
16985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16986 _ACEOF
16990 done
16992 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16993 then
16994 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16996 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16998 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16999 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 ac_check_lib_save_LIBS=$LIBS
17003 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17007 /* Override any GCC internal prototype to avoid an error.
17008 Use char because int might match the return type of a GCC
17009 builtin and then its argument prototype would still apply. */
17010 #ifdef __cplusplus
17011 extern "C"
17012 #endif
17013 char ldap_initialize ();
17015 main ()
17017 return ldap_initialize ();
17019 return 0;
17021 _ACEOF
17022 if ac_fn_c_try_link "$LINENO"; then :
17023 ac_cv_lib_ldap_r_ldap_initialize=yes
17024 else
17025 ac_cv_lib_ldap_r_ldap_initialize=no
17027 rm -f core conftest.err conftest.$ac_objext \
17028 conftest$ac_exeext conftest.$ac_ext
17029 LIBS=$ac_check_lib_save_LIBS
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17032 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17033 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17035 $as_echo_n "checking for ber_init in -llber... " >&6; }
17036 if ${ac_cv_lib_lber_ber_init+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 ac_check_lib_save_LIBS=$LIBS
17040 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17044 /* Override any GCC internal prototype to avoid an error.
17045 Use char because int might match the return type of a GCC
17046 builtin and then its argument prototype would still apply. */
17047 #ifdef __cplusplus
17048 extern "C"
17049 #endif
17050 char ber_init ();
17052 main ()
17054 return ber_init ();
17056 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_lib_lber_ber_init=yes
17061 else
17062 ac_cv_lib_lber_ber_init=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 LIBS=$ac_check_lib_save_LIBS
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17069 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17070 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17072 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17074 else
17075 LDAP_LIBS=""
17078 else
17079 LDAP_LIBS=""
17082 else
17083 LDAP_LIBS=""
17086 ac_wine_check_funcs_save_LIBS="$LIBS"
17087 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17088 for ac_func in \
17089 ldap_count_references \
17090 ldap_first_reference \
17091 ldap_next_reference \
17092 ldap_parse_reference \
17093 ldap_parse_sort_control \
17094 ldap_parse_sortresponse_control \
17095 ldap_parse_vlv_control \
17096 ldap_parse_vlvresponse_control
17097 do :
17098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17103 _ACEOF
17106 done
17108 LIBS="$ac_wine_check_funcs_save_LIBS"
17109 else
17110 LDAP_LIBS=""
17112 CPPFLAGS=$ac_save_CPPFLAGS
17113 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17114 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17117 if test "x$LDAP_LIBS" = "x"; then :
17118 case "x$with_ldap" in
17119 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17120 xno) ;;
17121 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17122 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17123 esac
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17128 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17129 if ${wine_cv_one_arg_mkdir+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <sys/stat.h>
17136 main ()
17138 mkdir("foo");
17140 return 0;
17142 _ACEOF
17143 if ac_fn_c_try_compile "$LINENO"; then :
17144 wine_cv_one_arg_mkdir=yes
17145 else
17146 wine_cv_one_arg_mkdir=no
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17151 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17152 if test "$wine_cv_one_arg_mkdir" = "yes"
17153 then
17155 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17160 $as_echo_n "checking for sched_setaffinity... " >&6; }
17161 if ${wine_cv_have_sched_setaffinity+:} false; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 #define _GNU_SOURCE
17167 #include <sched.h>
17169 main ()
17171 sched_setaffinity(0, 0, 0);
17173 return 0;
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 wine_cv_have_sched_setaffinity=yes
17178 else
17179 wine_cv_have_sched_setaffinity=no
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17185 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17186 if test "$wine_cv_have_sched_setaffinity" = "yes"
17187 then
17189 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17194 $as_echo_n "checking for fallocate... " >&6; }
17195 if ${wine_cv_have_fallocate+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #define _GNU_SOURCE
17201 #include <fcntl.h>
17203 main ()
17205 fallocate(-1, 0, 0, 0);
17207 return 0;
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 wine_cv_have_fallocate=yes
17212 else
17213 wine_cv_have_fallocate=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17219 $as_echo "$wine_cv_have_fallocate" >&6; }
17220 if test "$wine_cv_have_fallocate" = "yes"
17221 then
17223 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17229 $as_echo_n "checking for inline... " >&6; }
17230 if ${ac_cv_c_inline+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_cv_c_inline=no
17234 for ac_kw in inline __inline__ __inline; do
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #ifndef __cplusplus
17238 typedef int foo_t;
17239 static $ac_kw foo_t static_foo () {return 0; }
17240 $ac_kw foo_t foo () {return 0; }
17241 #endif
17243 _ACEOF
17244 if ac_fn_c_try_compile "$LINENO"; then :
17245 ac_cv_c_inline=$ac_kw
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17248 test "$ac_cv_c_inline" != no && break
17249 done
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17253 $as_echo "$ac_cv_c_inline" >&6; }
17255 case $ac_cv_c_inline in
17256 inline | yes) ;;
17258 case $ac_cv_c_inline in
17259 no) ac_val=;;
17260 *) ac_val=$ac_cv_c_inline;;
17261 esac
17262 cat >>confdefs.h <<_ACEOF
17263 #ifndef __cplusplus
17264 #define inline $ac_val
17265 #endif
17266 _ACEOF
17268 esac
17270 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17271 if test "x$ac_cv_type_mode_t" = xyes; then :
17273 cat >>confdefs.h <<_ACEOF
17274 #define HAVE_MODE_T 1
17275 _ACEOF
17279 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17280 if test "x$ac_cv_type_off_t" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_OFF_T 1
17284 _ACEOF
17288 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17289 if test "x$ac_cv_type_pid_t" = xyes; then :
17291 cat >>confdefs.h <<_ACEOF
17292 #define HAVE_PID_T 1
17293 _ACEOF
17297 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17298 if test "x$ac_cv_type_size_t" = xyes; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_SIZE_T 1
17302 _ACEOF
17306 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17307 if test "x$ac_cv_type_ssize_t" = xyes; then :
17309 cat >>confdefs.h <<_ACEOF
17310 #define HAVE_SSIZE_T 1
17311 _ACEOF
17315 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17316 if test "x$ac_cv_type_long_long" = xyes; then :
17318 cat >>confdefs.h <<_ACEOF
17319 #define HAVE_LONG_LONG 1
17320 _ACEOF
17324 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17325 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17327 cat >>confdefs.h <<_ACEOF
17328 #define HAVE_FSBLKCNT_T 1
17329 _ACEOF
17333 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17334 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17336 cat >>confdefs.h <<_ACEOF
17337 #define HAVE_FSFILCNT_T 1
17338 _ACEOF
17343 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17344 #include <signal.h>
17346 if test "x$ac_cv_type_sigset_t" = xyes; then :
17348 cat >>confdefs.h <<_ACEOF
17349 #define HAVE_SIGSET_T 1
17350 _ACEOF
17355 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17357 if test "x$ac_cv_type_request_sense" = xyes; then :
17359 cat >>confdefs.h <<_ACEOF
17360 #define HAVE_REQUEST_SENSE 1
17361 _ACEOF
17367 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17368 #ifdef HAVE_SYS_SOCKET_H
17369 #include <sys/socket.h>
17370 #endif
17371 #ifdef HAVE_SYS_SOCKETVAR_H
17372 #include <sys/socketvar.h>
17373 #endif
17374 #ifdef HAVE_NET_ROUTE_H
17375 #include <net/route.h>
17376 #endif
17377 #ifdef HAVE_NETINET_IN_H
17378 #include <netinet/in.h>
17379 #endif
17380 #ifdef HAVE_NETINET_IN_SYSTM_H
17381 #include <netinet/in_systm.h>
17382 #endif
17383 #ifdef HAVE_NETINET_IP_H
17384 #include <netinet/ip.h>
17385 #endif
17386 #ifdef HAVE_NETINET_IN_PCB_H
17387 #include <netinet/in_pcb.h>
17388 #endif
17390 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_STRUCT_XINPGEN 1
17394 _ACEOF
17400 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17401 #include <link.h>
17402 #endif
17403 #ifdef HAVE_SYS_LINK_H
17404 #include <sys/link.h>
17405 #endif
17407 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_STRUCT_R_DEBUG 1
17411 _ACEOF
17415 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17416 #include <link.h>
17417 #endif
17418 #ifdef HAVE_SYS_LINK_H
17419 #include <sys/link.h>
17420 #endif
17422 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17424 cat >>confdefs.h <<_ACEOF
17425 #define HAVE_STRUCT_LINK_MAP 1
17426 _ACEOF
17432 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17433 #include <linux/input.h>
17434 #endif
17436 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17438 cat >>confdefs.h <<_ACEOF
17439 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17440 _ACEOF
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17447 $as_echo_n "checking for if_nameindex... " >&6; }
17448 if ${wine_cv_have_if_nameindex+:} false; then :
17449 $as_echo_n "(cached) " >&6
17450 else
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #ifdef HAVE_SYS_TYPES_H
17454 #include <sys/types.h>
17455 #endif
17456 #ifdef HAVE_SYS_SOCKET_H
17457 #include <sys/socket.h>
17458 #endif
17459 #ifdef HAVE_NET_IF_H
17460 # include <net/if.h>
17461 #endif
17463 main ()
17465 struct if_nameindex *p = if_nameindex(); return p->if_index;
17467 return 0;
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"; then :
17471 wine_cv_have_if_nameindex=yes
17472 else
17473 wine_cv_have_if_nameindex=no
17475 rm -f core conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17479 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17480 if test "$wine_cv_have_if_nameindex" = "yes"
17481 then
17483 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17488 $as_echo_n "checking for sigaddset... " >&6; }
17489 if ${wine_cv_have_sigaddset+:} false; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #include <signal.h>
17496 main ()
17498 sigset_t set; sigaddset(&set,SIGTERM);
17500 return 0;
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 wine_cv_have_sigaddset=yes
17505 else
17506 wine_cv_have_sigaddset=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17512 $as_echo "$wine_cv_have_sigaddset" >&6; }
17513 if test "$wine_cv_have_sigaddset" = "yes"
17514 then
17516 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17522 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17523 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 #include <netdb.h>
17530 main ()
17533 char *name=0;
17534 struct hostent he;
17535 struct hostent *result;
17536 char *buf=0;
17537 int bufsize=0;
17538 int errnr;
17539 char *addr=0;
17540 int addrlen=0;
17541 int addrtype=0;
17542 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17543 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 wine_cv_linux_gethostbyname_r_6=yes
17551 else
17552 wine_cv_linux_gethostbyname_r_6=no
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17560 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17561 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17562 then
17564 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17568 if test "$ac_cv_header_linux_joystick_h" = "yes"
17569 then
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17571 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17572 if ${wine_cv_linux_joystick_22_api+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17578 #include <sys/ioctl.h>
17579 #include <sys/types.h>
17580 #include <linux/joystick.h>
17582 struct js_event blub;
17583 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17584 #error "no 2.2 header"
17585 #endif
17588 main ()
17590 /*empty*/
17592 return 0;
17594 _ACEOF
17595 if ac_fn_c_try_compile "$LINENO"; then :
17596 wine_cv_linux_joystick_22_api=yes
17597 else
17598 wine_cv_linux_joystick_22_api=no
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17604 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17605 if test "$wine_cv_linux_joystick_22_api" = "yes"
17606 then
17608 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17614 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17615 #ifdef HAVE_SYS_PARAM_H
17616 # include <sys/param.h>
17617 #endif
17618 #ifdef HAVE_SYS_MOUNT_H
17619 # include <sys/mount.h>
17620 #endif
17621 #ifdef HAVE_SYS_VFS_H
17622 # include <sys/vfs.h>
17623 #endif
17624 #ifdef HAVE_SYS_STATFS_H
17625 # include <sys/statfs.h>
17626 #endif
17628 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17630 cat >>confdefs.h <<_ACEOF
17631 #define HAVE_STRUCT_STATFS_F_BFREE 1
17632 _ACEOF
17636 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17637 #ifdef HAVE_SYS_PARAM_H
17638 # include <sys/param.h>
17639 #endif
17640 #ifdef HAVE_SYS_MOUNT_H
17641 # include <sys/mount.h>
17642 #endif
17643 #ifdef HAVE_SYS_VFS_H
17644 # include <sys/vfs.h>
17645 #endif
17646 #ifdef HAVE_SYS_STATFS_H
17647 # include <sys/statfs.h>
17648 #endif
17650 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17652 cat >>confdefs.h <<_ACEOF
17653 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17654 _ACEOF
17658 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17659 #ifdef HAVE_SYS_PARAM_H
17660 # include <sys/param.h>
17661 #endif
17662 #ifdef HAVE_SYS_MOUNT_H
17663 # include <sys/mount.h>
17664 #endif
17665 #ifdef HAVE_SYS_VFS_H
17666 # include <sys/vfs.h>
17667 #endif
17668 #ifdef HAVE_SYS_STATFS_H
17669 # include <sys/statfs.h>
17670 #endif
17672 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17674 cat >>confdefs.h <<_ACEOF
17675 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17676 _ACEOF
17680 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17681 #ifdef HAVE_SYS_PARAM_H
17682 # include <sys/param.h>
17683 #endif
17684 #ifdef HAVE_SYS_MOUNT_H
17685 # include <sys/mount.h>
17686 #endif
17687 #ifdef HAVE_SYS_VFS_H
17688 # include <sys/vfs.h>
17689 #endif
17690 #ifdef HAVE_SYS_STATFS_H
17691 # include <sys/statfs.h>
17692 #endif
17694 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17696 cat >>confdefs.h <<_ACEOF
17697 #define HAVE_STRUCT_STATFS_F_FFREE 1
17698 _ACEOF
17702 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17703 #ifdef HAVE_SYS_PARAM_H
17704 # include <sys/param.h>
17705 #endif
17706 #ifdef HAVE_SYS_MOUNT_H
17707 # include <sys/mount.h>
17708 #endif
17709 #ifdef HAVE_SYS_VFS_H
17710 # include <sys/vfs.h>
17711 #endif
17712 #ifdef HAVE_SYS_STATFS_H
17713 # include <sys/statfs.h>
17714 #endif
17716 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17718 cat >>confdefs.h <<_ACEOF
17719 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17720 _ACEOF
17724 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17725 #ifdef HAVE_SYS_PARAM_H
17726 # include <sys/param.h>
17727 #endif
17728 #ifdef HAVE_SYS_MOUNT_H
17729 # include <sys/mount.h>
17730 #endif
17731 #ifdef HAVE_SYS_VFS_H
17732 # include <sys/vfs.h>
17733 #endif
17734 #ifdef HAVE_SYS_STATFS_H
17735 # include <sys/statfs.h>
17736 #endif
17738 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17740 cat >>confdefs.h <<_ACEOF
17741 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17742 _ACEOF
17748 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17749 #include <sys/statvfs.h>
17750 #endif
17752 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17754 cat >>confdefs.h <<_ACEOF
17755 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17756 _ACEOF
17762 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17763 #include <dirent.h>
17764 #endif
17766 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17768 cat >>confdefs.h <<_ACEOF
17769 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17770 _ACEOF
17776 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17777 #ifdef HAVE_SYS_SOCKET_H
17778 # include <sys/socket.h>
17779 #endif
17780 #ifdef HAVE_SYS_UN_H
17781 # include <sys/un.h>
17782 #endif
17784 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17786 cat >>confdefs.h <<_ACEOF
17787 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17788 _ACEOF
17792 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17793 #ifdef HAVE_SYS_SOCKET_H
17794 # include <sys/socket.h>
17795 #endif
17796 #ifdef HAVE_SYS_UN_H
17797 # include <sys/un.h>
17798 #endif
17800 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17802 cat >>confdefs.h <<_ACEOF
17803 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17804 _ACEOF
17808 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17809 #ifdef HAVE_SYS_SOCKET_H
17810 # include <sys/socket.h>
17811 #endif
17812 #ifdef HAVE_SYS_UN_H
17813 # include <sys/un.h>
17814 #endif
17816 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17818 cat >>confdefs.h <<_ACEOF
17819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17820 _ACEOF
17826 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17827 #ifdef HAVE_SCSI_SG_H
17828 #include <scsi/sg.h>
17829 #endif
17831 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17833 cat >>confdefs.h <<_ACEOF
17834 #define HAVE_SCSIREQ_T_CMD 1
17835 _ACEOF
17839 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>
17840 #ifdef HAVE_SCSI_SG_H
17841 #include <scsi/sg.h>
17842 #endif
17844 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17846 cat >>confdefs.h <<_ACEOF
17847 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17848 _ACEOF
17854 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17856 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17858 cat >>confdefs.h <<_ACEOF
17859 #define HAVE_SIGINFO_T_SI_FD 1
17860 _ACEOF
17866 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17867 #ifdef HAVE_SYS_MTIO_H
17868 #include <sys/mtio.h>
17869 #endif
17871 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17873 cat >>confdefs.h <<_ACEOF
17874 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17875 _ACEOF
17879 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17880 #ifdef HAVE_SYS_MTIO_H
17881 #include <sys/mtio.h>
17882 #endif
17884 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17886 cat >>confdefs.h <<_ACEOF
17887 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17888 _ACEOF
17892 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17893 #ifdef HAVE_SYS_MTIO_H
17894 #include <sys/mtio.h>
17895 #endif
17897 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17899 cat >>confdefs.h <<_ACEOF
17900 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17901 _ACEOF
17907 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17908 #include <getopt.h>
17909 #endif
17911 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17913 cat >>confdefs.h <<_ACEOF
17914 #define HAVE_STRUCT_OPTION_NAME 1
17915 _ACEOF
17921 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17922 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17924 cat >>confdefs.h <<_ACEOF
17925 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17926 _ACEOF
17930 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17931 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17933 cat >>confdefs.h <<_ACEOF
17934 #define HAVE_STRUCT_STAT_ST_MTIM 1
17935 _ACEOF
17939 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17940 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17942 cat >>confdefs.h <<_ACEOF
17943 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17944 _ACEOF
17948 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17949 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17951 cat >>confdefs.h <<_ACEOF
17952 #define HAVE_STRUCT_STAT_ST_CTIM 1
17953 _ACEOF
17957 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17958 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17960 cat >>confdefs.h <<_ACEOF
17961 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17962 _ACEOF
17966 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17967 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_STAT_ST_ATIM 1
17971 _ACEOF
17975 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17976 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17980 _ACEOF
17984 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17985 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17987 cat >>confdefs.h <<_ACEOF
17988 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17989 _ACEOF
17993 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17994 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17996 cat >>confdefs.h <<_ACEOF
17997 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17998 _ACEOF
18002 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18003 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18005 cat >>confdefs.h <<_ACEOF
18006 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18007 _ACEOF
18011 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18012 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18014 cat >>confdefs.h <<_ACEOF
18015 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18016 _ACEOF
18020 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18021 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18023 cat >>confdefs.h <<_ACEOF
18024 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18025 _ACEOF
18031 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
18032 #include <sys/types.h>
18033 #endif
18034 #ifdef HAVE_NETINET_IN_H
18035 #include <netinet/in.h>
18036 #endif
18038 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18040 cat >>confdefs.h <<_ACEOF
18041 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18042 _ACEOF
18048 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18049 #include <sys/types.h>
18050 #endif
18051 #ifdef HAVE_NETINET_IN_H
18052 #include <netinet/in.h>
18053 #endif
18054 #ifdef HAVE_RESOLV_H
18055 #include <resolv.h>
18056 #endif
18058 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18060 cat >>confdefs.h <<_ACEOF
18061 #define HAVE_STRUCT___RES_STATE 1
18062 _ACEOF
18068 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
18069 #include <resolv.h>
18070 #endif
18072 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18076 _ACEOF
18082 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18083 #include <sys/types.h>
18084 #endif
18085 #ifdef HAVE_NETINET_IN_H
18086 # include <netinet/in.h>
18087 #endif
18088 #ifdef HAVE_ARPA_NAMESER_H
18089 # include <arpa/nameser.h>
18090 #endif
18092 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_NS_MSG__MSG_PTR 1
18096 _ACEOF
18102 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18103 #include <sys/types.h>
18104 #endif
18105 #ifdef HAVE_NETINET_IN_H
18106 #include <netinet/in.h>
18107 #endif
18108 #ifdef HAVE_NETINET_IP_H
18109 #include <netinet/ip.h>
18110 #endif
18111 #ifdef HAVE_NETINET_IP_ICMP_H
18112 #include <netinet/ip_icmp.h>
18113 #endif
18114 #ifdef HAVE_NETINET_ICMP_VAR_H
18115 #include <netinet/icmp_var.h>
18116 #endif
18118 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18120 cat >>confdefs.h <<_ACEOF
18121 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18122 _ACEOF
18128 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18129 #include <sys/types.h>
18130 #endif
18131 #ifdef HAVE_ALIAS_H
18132 #include <alias.h>
18133 #endif
18134 #ifdef HAVE_SYS_SOCKET_H
18135 #include <sys/socket.h>
18136 #endif
18137 #ifdef HAVE_SYS_SOCKETVAR_H
18138 #include <sys/socketvar.h>
18139 #endif
18140 #ifdef HAVE_SYS_TIMEOUT_H
18141 #include <sys/timeout.h>
18142 #endif
18143 #ifdef HAVE_NETINET_IN_H
18144 #include <netinet/in.h>
18145 #endif
18146 #ifdef HAVE_NETINET_IN_SYSTM_H
18147 #include <netinet/in_systm.h>
18148 #endif
18149 #ifdef HAVE_NETINET_IP_H
18150 #include <netinet/ip.h>
18151 #endif
18152 #ifdef HAVE_NETINET_IP_VAR_H
18153 #include <netinet/ip_var.h>
18154 #endif
18155 #ifdef HAVE_NETINET_IP_ICMP_H
18156 #include <netinet/ip_icmp.h>
18157 #endif
18158 #ifdef HAVE_NETINET_ICMP_VAR_H
18159 #include <netinet/icmp_var.h>
18160 #endif
18162 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18166 _ACEOF
18172 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18173 #include <sys/types.h>
18174 #endif
18175 #ifdef HAVE_SYS_SOCKETVAR_H
18176 #include <sys/socketvar.h>
18177 #endif
18178 #ifdef HAVE_NETINET_IN_H
18179 #include <netinet/in.h>
18180 #endif
18181 #ifdef HAVE_NETINET_IP_VAR_H
18182 #include <netinet/ip_var.h>
18183 #endif
18185 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18187 cat >>confdefs.h <<_ACEOF
18188 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18189 _ACEOF
18195 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
18196 #include <netinet/ip_var.h>
18197 #endif
18199 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18203 _ACEOF
18209 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18210 #include <sys/types.h>
18211 #endif
18212 #ifdef HAVE_SYS_SOCKETVAR_H
18213 #include <sys/socketvar.h>
18214 #endif
18215 #ifdef HAVE_NETINET_IN_H
18216 #include <netinet/in.h>
18217 #endif
18218 #ifdef HAVE_NETINET_TCP_H
18219 #include <netinet/tcp.h>
18220 #endif
18221 #ifdef HAVE_NETINET_TCP_VAR_H
18222 #include <netinet/tcp_var.h>
18223 #endif
18225 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18227 cat >>confdefs.h <<_ACEOF
18228 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18229 _ACEOF
18235 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
18236 #include <netinet/tcp_var.h>
18237 #endif
18239 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18241 cat >>confdefs.h <<_ACEOF
18242 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18243 _ACEOF
18249 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18250 #include <sys/types.h>
18251 #endif
18252 #ifdef HAVE_NETINET_IN_H
18253 #include <netinet/in.h>
18254 #endif
18255 #ifdef HAVE_NETINET_IP_VAR_H
18256 #include <netinet/ip_var.h>
18257 #endif
18258 #ifdef HAVE_NETINET_UDP_H
18259 #include <netinet/udp.h>
18260 #endif
18261 #ifdef HAVE_NETINET_UDP_VAR_H
18262 #include <netinet/udp_var.h>
18263 #endif
18265 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18267 cat >>confdefs.h <<_ACEOF
18268 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18269 _ACEOF
18275 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18276 #include <sys/types.h>
18277 #endif
18278 #ifdef HAVE_NET_IF_H
18279 # include <net/if.h>
18280 #endif
18282 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18284 cat >>confdefs.h <<_ACEOF
18285 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18286 _ACEOF
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18293 $as_echo_n "checking for timezone variable... " >&6; }
18294 if ${ac_cv_have_timezone+:} false; then :
18295 $as_echo_n "(cached) " >&6
18296 else
18297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18298 /* end confdefs.h. */
18299 #include <time.h>
18301 main ()
18303 timezone = 1
18305 return 0;
18307 _ACEOF
18308 if ac_fn_c_try_link "$LINENO"; then :
18309 ac_cv_have_timezone="yes"
18310 else
18311 ac_cv_have_timezone="no"
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18317 $as_echo "$ac_cv_have_timezone" >&6; }
18318 if test "$ac_cv_have_timezone" = "yes"
18319 then
18321 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18325 $as_echo_n "checking for daylight variable... " >&6; }
18326 if ${ac_cv_have_daylight+:} false; then :
18327 $as_echo_n "(cached) " >&6
18328 else
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18331 #include <time.h>
18333 main ()
18335 daylight = 1
18337 return 0;
18339 _ACEOF
18340 if ac_fn_c_try_link "$LINENO"; then :
18341 ac_cv_have_daylight="yes"
18342 else
18343 ac_cv_have_daylight="no"
18345 rm -f core conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18349 $as_echo "$ac_cv_have_daylight" >&6; }
18350 if test "$ac_cv_have_daylight" = "yes"
18351 then
18353 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18357 ac_save_LIBS="$LIBS"
18358 LIBS="$LIBS -lm"
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18360 $as_echo_n "checking for isfinite... " >&6; }
18361 if ${ac_cv_have_isfinite+:} false; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18366 #define _GNU_SOURCE
18367 #include <math.h>
18369 main ()
18371 float f = 0.0; return isfinite(f)
18373 return 0;
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"; then :
18377 ac_cv_have_isfinite="yes"
18378 else
18379 ac_cv_have_isfinite="no"
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18385 $as_echo "$ac_cv_have_isfinite" >&6; }
18386 if test "$ac_cv_have_isfinite" = "yes"
18387 then
18389 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18394 $as_echo_n "checking for isinf... " >&6; }
18395 if ${ac_cv_have_isinf+:} false; then :
18396 $as_echo_n "(cached) " >&6
18397 else
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400 #include <math.h>
18402 main ()
18404 float f = 0.0; return isinf(f)
18406 return 0;
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"; then :
18410 ac_cv_have_isinf="yes"
18411 else
18412 ac_cv_have_isinf="no"
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18418 $as_echo "$ac_cv_have_isinf" >&6; }
18419 if test "$ac_cv_have_isinf" = "yes"
18420 then
18422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18427 $as_echo_n "checking for isnan... " >&6; }
18428 if ${ac_cv_have_isnan+:} false; then :
18429 $as_echo_n "(cached) " >&6
18430 else
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #include <math.h>
18435 main ()
18437 float f = 0.0; return isnan(f)
18439 return 0;
18441 _ACEOF
18442 if ac_fn_c_try_link "$LINENO"; then :
18443 ac_cv_have_isnan="yes"
18444 else
18445 ac_cv_have_isnan="no"
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18451 $as_echo "$ac_cv_have_isnan" >&6; }
18452 if test "$ac_cv_have_isnan" = "yes"
18453 then
18455 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18459 for ac_func in \
18460 acosh \
18461 acoshf \
18462 asinh \
18463 asinhf \
18464 atanh \
18465 atanhf \
18466 cbrt \
18467 cbrtf \
18468 erf \
18469 erfc \
18470 erfcf \
18471 erff \
18472 exp2 \
18473 exp2f \
18474 expm1 \
18475 expm1f \
18476 j0 \
18477 j1 \
18478 jn \
18479 lgamma \
18480 lgammaf \
18481 llrint \
18482 llrintf \
18483 llround \
18484 llroundf \
18485 log1p \
18486 log1pf \
18487 log2 \
18488 log2f \
18489 lrint \
18490 lrintf \
18491 lround \
18492 lroundf \
18493 nearbyint \
18494 nearbyintf \
18495 powl \
18496 remainder \
18497 remainderf \
18498 rint \
18499 rintf \
18500 round \
18501 roundf \
18502 trunc \
18503 truncf \
18504 y0 \
18505 y1 \
18508 do :
18509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18514 _ACEOF
18517 done
18519 LIBS="$ac_save_LIBS"
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18522 $as_echo_n "checking for __builtin_clz... " >&6; }
18523 if ${ac_cv_have___builtin_clz+:} false; then :
18524 $as_echo_n "(cached) " >&6
18525 else
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18530 main ()
18532 return __builtin_clz(1)
18534 return 0;
18536 _ACEOF
18537 if ac_fn_c_try_link "$LINENO"; then :
18538 ac_cv_have___builtin_clz="yes"
18539 else
18540 ac_cv_have___builtin_clz="no"
18542 rm -f core conftest.err conftest.$ac_objext \
18543 conftest$ac_exeext conftest.$ac_ext
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18546 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18547 if test "$ac_cv_have___builtin_clz" = "yes"
18548 then
18550 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18555 $as_echo_n "checking for __builtin_popcount... " >&6; }
18556 if ${ac_cv_have___builtin_popcount+:} false; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18563 main ()
18565 return __builtin_popcount(1)
18567 return 0;
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"; then :
18571 ac_cv_have___builtin_popcount="yes"
18572 else
18573 ac_cv_have___builtin_popcount="no"
18575 rm -f core conftest.err conftest.$ac_objext \
18576 conftest$ac_exeext conftest.$ac_ext
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18579 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18580 if test "$ac_cv_have___builtin_popcount" = "yes"
18581 then
18583 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18588 $as_echo_n "checking for __clear_cache... " >&6; }
18589 if ${ac_cv_have___clear_cache+:} false; then :
18590 $as_echo_n "(cached) " >&6
18591 else
18592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18593 /* end confdefs.h. */
18596 main ()
18598 __clear_cache((void*)0, (void*)0); return 0;
18600 return 0;
18602 _ACEOF
18603 if ac_fn_c_try_link "$LINENO"; then :
18604 ac_cv_have___clear_cache="yes"
18605 else
18606 ac_cv_have___clear_cache="no"
18608 rm -f core conftest.err conftest.$ac_objext \
18609 conftest$ac_exeext conftest.$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18612 $as_echo "$ac_cv_have___clear_cache" >&6; }
18613 if test "$ac_cv_have___clear_cache" = "yes"
18614 then
18616 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18621 case $host_cpu in
18622 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18623 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18624 if ${ac_cv_cpp_def___i386__+:} false; then :
18625 $as_echo_n "(cached) " >&6
18626 else
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 #ifndef __i386__
18631 #endif
18632 _ACEOF
18633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18634 $EGREP "yes" >/dev/null 2>&1; then :
18635 ac_cv_cpp_def___i386__=yes
18636 else
18637 ac_cv_cpp_def___i386__=no
18639 rm -f conftest*
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18643 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18644 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18645 CFLAGS="$CFLAGS -D__i386__"
18646 LINTFLAGS="$LINTFLAGS -D__i386__"
18647 fi ;;
18648 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18649 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18650 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 #ifndef __x86_64__
18657 #endif
18658 _ACEOF
18659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18660 $EGREP "yes" >/dev/null 2>&1; then :
18661 ac_cv_cpp_def___x86_64__=yes
18662 else
18663 ac_cv_cpp_def___x86_64__=no
18665 rm -f conftest*
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18669 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18670 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18671 CFLAGS="$CFLAGS -D__x86_64__"
18672 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18673 fi ;;
18674 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18675 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18676 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #ifndef __sparc64__
18683 #endif
18684 _ACEOF
18685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18686 $EGREP "yes" >/dev/null 2>&1; then :
18687 ac_cv_cpp_def___sparc64__=yes
18688 else
18689 ac_cv_cpp_def___sparc64__=no
18691 rm -f conftest*
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18695 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18696 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18697 CFLAGS="$CFLAGS -D__sparc64__"
18698 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18699 fi ;;
18700 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18701 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18702 if ${ac_cv_cpp_def___sparc__+:} false; then :
18703 $as_echo_n "(cached) " >&6
18704 else
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 #ifndef __sparc__
18709 #endif
18710 _ACEOF
18711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18712 $EGREP "yes" >/dev/null 2>&1; then :
18713 ac_cv_cpp_def___sparc__=yes
18714 else
18715 ac_cv_cpp_def___sparc__=no
18717 rm -f conftest*
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18721 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18722 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18723 CFLAGS="$CFLAGS -D__sparc__"
18724 LINTFLAGS="$LINTFLAGS -D__sparc__"
18725 fi ;;
18726 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18727 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18728 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 #ifndef __powerpc64__
18735 #endif
18736 _ACEOF
18737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18738 $EGREP "yes" >/dev/null 2>&1; then :
18739 ac_cv_cpp_def___powerpc64__=yes
18740 else
18741 ac_cv_cpp_def___powerpc64__=no
18743 rm -f conftest*
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18747 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18748 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18749 CFLAGS="$CFLAGS -D__powerpc64__"
18750 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18751 fi ;;
18752 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18753 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18754 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18755 $as_echo_n "(cached) " >&6
18756 else
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 #ifndef __powerpc__
18761 #endif
18762 _ACEOF
18763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18764 $EGREP "yes" >/dev/null 2>&1; then :
18765 ac_cv_cpp_def___powerpc__=yes
18766 else
18767 ac_cv_cpp_def___powerpc__=no
18769 rm -f conftest*
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18773 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18774 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18775 CFLAGS="$CFLAGS -D__powerpc__"
18776 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18777 fi ;;
18778 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18779 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18780 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18781 $as_echo_n "(cached) " >&6
18782 else
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 #ifndef __aarch64__
18787 #endif
18788 _ACEOF
18789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18790 $EGREP "yes" >/dev/null 2>&1; then :
18791 ac_cv_cpp_def___aarch64__=yes
18792 else
18793 ac_cv_cpp_def___aarch64__=no
18795 rm -f conftest*
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18799 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18800 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18801 CFLAGS="$CFLAGS -D__aarch64__"
18802 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18803 fi ;;
18804 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18805 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18806 if ${ac_cv_cpp_def___arm__+:} false; then :
18807 $as_echo_n "(cached) " >&6
18808 else
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 #ifndef __arm__
18813 #endif
18814 _ACEOF
18815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18816 $EGREP "yes" >/dev/null 2>&1; then :
18817 ac_cv_cpp_def___arm__=yes
18818 else
18819 ac_cv_cpp_def___arm__=no
18821 rm -f conftest*
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18825 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18826 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18827 CFLAGS="$CFLAGS -D__arm__"
18828 LINTFLAGS="$LINTFLAGS -D__arm__"
18829 fi ;;
18830 esac
18832 case $host_vendor in
18833 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18834 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18835 if ${ac_cv_cpp_def___sun__+:} false; then :
18836 $as_echo_n "(cached) " >&6
18837 else
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18840 #ifndef __sun__
18842 #endif
18843 _ACEOF
18844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18845 $EGREP "yes" >/dev/null 2>&1; then :
18846 ac_cv_cpp_def___sun__=yes
18847 else
18848 ac_cv_cpp_def___sun__=no
18850 rm -f conftest*
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18854 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18855 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18856 CFLAGS="$CFLAGS -D__sun__"
18857 LINTFLAGS="$LINTFLAGS -D__sun__"
18858 fi ;;
18859 esac
18865 ac_config_commands="$ac_config_commands include/stamp-h"
18867 $as_echo_n "creating Makefile rules..." >&6
18869 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18870 SOCKET_LIBS = $SOCKET_LIBS
18871 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18872 IOKIT_LIBS = $IOKIT_LIBS
18873 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18874 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18875 CORESERVICES_LIBS = $CORESERVICES_LIBS
18876 APPKIT_LIBS = $APPKIT_LIBS
18877 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18878 SECURITY_LIBS = $SECURITY_LIBS
18879 COREAUDIO_LIBS = $COREAUDIO_LIBS
18880 OPENAL_LIBS = $OPENAL_LIBS
18881 OPENCL_LIBS = $OPENCL_LIBS
18882 QUICKTIME_LIBS = $QUICKTIME_LIBS
18883 CARBON_LIBS = $CARBON_LIBS
18884 METAL_LIBS = $METAL_LIBS
18885 PTHREAD_LIBS = $PTHREAD_LIBS
18886 X_CFLAGS = $X_CFLAGS
18887 X_PRE_LIBS = $X_PRE_LIBS
18888 X_LIBS = $X_LIBS
18889 X_EXTRA_LIBS = $X_EXTRA_LIBS
18890 PCAP_LIBS = $PCAP_LIBS
18891 XML2_CFLAGS = $XML2_CFLAGS
18892 XML2_LIBS = $XML2_LIBS
18893 XSLT_CFLAGS = $XSLT_CFLAGS
18894 XSLT_LIBS = $XSLT_LIBS
18895 DBUS_CFLAGS = $DBUS_CFLAGS
18896 DBUS_LIBS = $DBUS_LIBS
18897 HAL_CFLAGS = $HAL_CFLAGS
18898 HAL_LIBS = $HAL_LIBS
18899 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18900 GNUTLS_LIBS = $GNUTLS_LIBS
18901 SANE_CFLAGS = $SANE_CFLAGS
18902 SANE_LIBS = $SANE_LIBS
18903 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18904 GPHOTO2_LIBS = $GPHOTO2_LIBS
18905 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18906 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18907 RESOLV_LIBS = $RESOLV_LIBS
18908 LCMS2_CFLAGS = $LCMS2_CFLAGS
18909 LCMS2_LIBS = $LCMS2_LIBS
18910 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18911 FREETYPE_LIBS = $FREETYPE_LIBS
18912 Z_LIBS = $Z_LIBS
18913 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18914 PULSE_CFLAGS = $PULSE_CFLAGS
18915 PULSE_LIBS = $PULSE_LIBS
18916 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18917 GSTREAMER_LIBS = $GSTREAMER_LIBS
18918 ALSA_LIBS = $ALSA_LIBS
18919 OSS4_CFLAGS = $OSS4_CFLAGS
18920 UDEV_CFLAGS = $UDEV_CFLAGS
18921 UDEV_LIBS = $UDEV_LIBS
18922 SDL2_CFLAGS = $SDL2_CFLAGS
18923 SDL2_LIBS = $SDL2_LIBS
18924 CAPI20_CFLAGS = $CAPI20_CFLAGS
18925 CAPI20_LIBS = $CAPI20_LIBS
18926 CUPS_CFLAGS = $CUPS_CFLAGS
18927 CUPS_LIBS = $CUPS_LIBS
18928 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18929 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18930 KRB5_CFLAGS = $KRB5_CFLAGS
18931 KRB5_LIBS = $KRB5_LIBS
18932 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18933 GSSAPI_LIBS = $GSSAPI_LIBS
18934 JPEG_CFLAGS = $JPEG_CFLAGS
18935 JPEG_LIBS = $JPEG_LIBS
18936 PNG_CFLAGS = $PNG_CFLAGS
18937 PNG_LIBS = $PNG_LIBS
18938 TIFF_CFLAGS = $TIFF_CFLAGS
18939 TIFF_LIBS = $TIFF_LIBS
18940 MPG123_CFLAGS = $MPG123_CFLAGS
18941 MPG123_LIBS = $MPG123_LIBS
18942 KSTAT_LIBS = $KSTAT_LIBS
18943 PROCSTAT_LIBS = $PROCSTAT_LIBS
18944 NETAPI_CFLAGS = $NETAPI_CFLAGS
18945 NETAPI_LIBS = $NETAPI_LIBS
18946 VKD3D_CFLAGS = $VKD3D_CFLAGS
18947 VKD3D_LIBS = $VKD3D_LIBS
18948 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18949 DL_LIBS = $DL_LIBS
18950 POLL_LIBS = $POLL_LIBS
18951 RT_LIBS = $RT_LIBS
18952 LDAP_CFLAGS = $LDAP_CFLAGS
18953 LDAP_LIBS = $LDAP_LIBS
18958 wine_fn_append_rule "
18959 # Rules automatically generated by configure
18961 .INIT: Makefile
18962 .MAKEFILEDEPS:
18963 all: Makefile
18964 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18965 @./config.status Make.tmp Makefile
18966 depend: \$(MAKEDEP) dummy
18967 \$(MAKEDEP)"
18969 if test "x$enable_fonts" != xno; then
18970 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18971 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18972 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18973 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18974 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18975 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18977 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18978 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18979 ac_config_links="$ac_config_links wine:tools/winewrapper"
18980 wine_fn_config_symlink wine
18981 if test "x$enable_win64" != xno; then
18982 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18983 wine_fn_config_symlink wine64
18986 wine_fn_config_makefile dlls/acledit enable_acledit
18987 wine_fn_config_makefile dlls/aclui enable_aclui
18988 wine_fn_config_makefile dlls/activeds enable_activeds
18989 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18990 wine_fn_config_makefile dlls/adsiid enable_adsiid
18991 wine_fn_config_makefile dlls/adsldp enable_adsldp
18992 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18993 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18994 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18995 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18996 wine_fn_config_makefile dlls/advpack enable_advpack
18997 wine_fn_config_makefile dlls/advpack/tests enable_tests
18998 wine_fn_config_makefile dlls/amstream enable_amstream
18999 wine_fn_config_makefile dlls/amstream/tests enable_tests
19000 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19001 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19002 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19003 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19005 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19009 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19010 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19018 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19020 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19022 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19024 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19025 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19026 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19028 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19030 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19031 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19032 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19034 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19035 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19044 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19048 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19049 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19052 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19055 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19058 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19066 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19067 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19074 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19078 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19079 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19101 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19105 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19108 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19118 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19130 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19149 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19150 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19169 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19183 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19185 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19187 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19188 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19193 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19195 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19201 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19204 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19206 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19208 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19212 wine_fn_config_makefile dlls/apphelp enable_apphelp
19213 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19214 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19215 wine_fn_config_makefile dlls/atl enable_atl
19216 wine_fn_config_makefile dlls/atl/tests enable_tests
19217 wine_fn_config_makefile dlls/atl100 enable_atl100
19218 wine_fn_config_makefile dlls/atl100/tests enable_tests
19219 wine_fn_config_makefile dlls/atl110 enable_atl110
19220 wine_fn_config_makefile dlls/atl80 enable_atl80
19221 wine_fn_config_makefile dlls/atl80/tests enable_tests
19222 wine_fn_config_makefile dlls/atl90 enable_atl90
19223 wine_fn_config_makefile dlls/atmlib enable_atmlib
19224 wine_fn_config_makefile dlls/authz enable_authz
19225 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19226 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19227 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19228 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19229 wine_fn_config_makefile dlls/avrt enable_avrt
19230 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19231 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19232 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19233 wine_fn_config_makefile dlls/browseui enable_browseui
19234 wine_fn_config_makefile dlls/browseui/tests enable_tests
19235 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19236 wine_fn_config_makefile dlls/cabinet enable_cabinet
19237 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19238 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19239 wine_fn_config_makefile dlls/cards enable_cards
19240 wine_fn_config_makefile dlls/cdosys enable_cdosys
19241 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19242 wine_fn_config_makefile dlls/clusapi enable_clusapi
19243 wine_fn_config_makefile dlls/combase enable_combase
19244 wine_fn_config_makefile dlls/combase/tests enable_tests
19245 wine_fn_config_makefile dlls/comcat enable_comcat
19246 wine_fn_config_makefile dlls/comcat/tests enable_tests
19247 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19248 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19249 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19250 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19251 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19252 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19253 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19254 wine_fn_config_makefile dlls/compstui enable_compstui
19255 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19256 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19257 wine_fn_config_makefile dlls/connect enable_connect
19258 wine_fn_config_makefile dlls/credui enable_credui
19259 wine_fn_config_makefile dlls/credui/tests enable_tests
19260 wine_fn_config_makefile dlls/crtdll enable_crtdll
19261 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19262 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19263 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19264 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19265 wine_fn_config_makefile dlls/cryptext enable_cryptext
19266 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19267 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19268 wine_fn_config_makefile dlls/cryptui enable_cryptui
19269 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19270 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19271 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19272 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19273 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19274 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19275 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19276 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19277 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19278 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19279 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19280 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19281 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19282 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19283 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19284 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19285 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19286 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19287 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19288 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19289 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19290 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19291 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19292 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19293 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19294 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19295 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19296 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19297 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19298 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19299 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19300 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19301 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19302 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19303 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19304 wine_fn_config_makefile dlls/d3dim enable_d3dim
19305 wine_fn_config_makefile dlls/d3drm enable_d3drm
19306 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19307 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19308 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19309 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19310 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19311 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19312 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19313 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19314 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19315 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19316 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19317 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19318 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19319 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19320 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19321 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19322 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19323 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19324 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19325 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19326 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19327 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19328 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19329 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19330 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19331 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19332 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19333 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19334 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19335 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19336 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19337 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19338 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19339 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19340 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19341 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19342 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19343 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19344 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19345 wine_fn_config_makefile dlls/davclnt enable_davclnt
19346 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19347 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19348 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19349 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19350 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19351 wine_fn_config_makefile dlls/ddraw enable_ddraw
19352 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19353 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19354 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19355 wine_fn_config_makefile dlls/devenum enable_devenum
19356 wine_fn_config_makefile dlls/devenum/tests enable_tests
19357 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19358 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19359 wine_fn_config_makefile dlls/difxapi enable_difxapi
19360 wine_fn_config_makefile dlls/dinput enable_dinput
19361 wine_fn_config_makefile dlls/dinput/tests enable_tests
19362 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19363 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19364 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19365 wine_fn_config_makefile dlls/dispex enable_dispex
19366 wine_fn_config_makefile dlls/dispex/tests enable_tests
19367 wine_fn_config_makefile dlls/display.drv16 enable_win16
19368 wine_fn_config_makefile dlls/dmband enable_dmband
19369 wine_fn_config_makefile dlls/dmband/tests enable_tests
19370 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19371 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19372 wine_fn_config_makefile dlls/dmime enable_dmime
19373 wine_fn_config_makefile dlls/dmime/tests enable_tests
19374 wine_fn_config_makefile dlls/dmloader enable_dmloader
19375 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19376 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19377 wine_fn_config_makefile dlls/dmscript enable_dmscript
19378 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19379 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19380 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19381 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19382 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19383 wine_fn_config_makefile dlls/dmusic enable_dmusic
19384 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19385 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19386 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19387 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19388 wine_fn_config_makefile dlls/dplay enable_dplay
19389 wine_fn_config_makefile dlls/dplayx enable_dplayx
19390 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19391 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19392 wine_fn_config_makefile dlls/dpnet enable_dpnet
19393 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19394 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19395 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19396 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19397 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19398 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19399 wine_fn_config_makefile dlls/drmclien enable_drmclien
19400 wine_fn_config_makefile dlls/dsound enable_dsound
19401 wine_fn_config_makefile dlls/dsound/tests enable_tests
19402 wine_fn_config_makefile dlls/dsquery enable_dsquery
19403 wine_fn_config_makefile dlls/dssenh enable_dssenh
19404 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19405 wine_fn_config_makefile dlls/dswave enable_dswave
19406 wine_fn_config_makefile dlls/dswave/tests enable_tests
19407 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19408 wine_fn_config_makefile dlls/dwrite enable_dwrite
19409 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19410 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19411 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19412 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19413 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19414 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19415 wine_fn_config_makefile dlls/dxgi enable_dxgi
19416 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19417 wine_fn_config_makefile dlls/dxguid enable_dxguid
19418 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19419 wine_fn_config_makefile dlls/esent enable_esent
19420 wine_fn_config_makefile dlls/evr enable_evr
19421 wine_fn_config_makefile dlls/evr/tests enable_tests
19422 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19423 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19424 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19425 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19426 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19427 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19428 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19429 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19430 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19431 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19432 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19433 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19447 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19448 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19453 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
19454 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19455 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19456 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19458 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19459 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19460 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19461 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19462 wine_fn_config_makefile dlls/faultrep enable_faultrep
19463 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19464 wine_fn_config_makefile dlls/feclient enable_feclient
19465 wine_fn_config_makefile dlls/fltlib enable_fltlib
19466 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19467 wine_fn_config_makefile dlls/fntcache enable_fntcache
19468 wine_fn_config_makefile dlls/fontsub enable_fontsub
19469 wine_fn_config_makefile dlls/fusion enable_fusion
19470 wine_fn_config_makefile dlls/fusion/tests enable_tests
19471 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19472 wine_fn_config_makefile dlls/gameux enable_gameux
19473 wine_fn_config_makefile dlls/gameux/tests enable_tests
19474 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19475 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19476 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19477 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19478 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19479 wine_fn_config_makefile dlls/glu32 enable_glu32
19480 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19481 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19482 wine_fn_config_makefile dlls/hal enable_hal
19483 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19484 wine_fn_config_makefile dlls/hid enable_hid
19485 wine_fn_config_makefile dlls/hid/tests enable_tests
19486 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19487 wine_fn_config_makefile dlls/hlink enable_hlink
19488 wine_fn_config_makefile dlls/hlink/tests enable_tests
19489 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19490 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19491 wine_fn_config_makefile dlls/httpapi enable_httpapi
19492 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19493 wine_fn_config_makefile dlls/iccvid enable_iccvid
19494 wine_fn_config_makefile dlls/icmp enable_icmp
19495 wine_fn_config_makefile dlls/ieframe enable_ieframe
19496 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19497 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19498 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19499 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19500 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19501 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19502 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19503 wine_fn_config_makefile dlls/imm32 enable_imm32
19504 wine_fn_config_makefile dlls/imm32/tests enable_tests
19505 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19506 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19507 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19508 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19509 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19510 wine_fn_config_makefile dlls/infosoft enable_infosoft
19511 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19512 wine_fn_config_makefile dlls/initpki enable_initpki
19513 wine_fn_config_makefile dlls/inkobj enable_inkobj
19514 wine_fn_config_makefile dlls/inseng enable_inseng
19515 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19516 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19517 wine_fn_config_makefile dlls/iprop enable_iprop
19518 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19519 wine_fn_config_makefile dlls/itircl enable_itircl
19520 wine_fn_config_makefile dlls/itss enable_itss
19521 wine_fn_config_makefile dlls/itss/tests enable_tests
19522 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19523 wine_fn_config_makefile dlls/jscript enable_jscript
19524 wine_fn_config_makefile dlls/jscript/tests enable_tests
19525 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19526 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19527 wine_fn_config_makefile dlls/kerberos enable_kerberos
19528 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19529 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19530 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19531 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19532 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19533 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19534 wine_fn_config_makefile dlls/ksuser enable_ksuser
19535 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19536 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19537 wine_fn_config_makefile dlls/loadperf enable_loadperf
19538 wine_fn_config_makefile dlls/localspl enable_localspl
19539 wine_fn_config_makefile dlls/localspl/tests enable_tests
19540 wine_fn_config_makefile dlls/localui enable_localui
19541 wine_fn_config_makefile dlls/localui/tests enable_tests
19542 wine_fn_config_makefile dlls/lz32 enable_lz32
19543 wine_fn_config_makefile dlls/lz32/tests enable_tests
19544 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19545 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19546 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19547 wine_fn_config_makefile dlls/mapistub enable_mapistub
19548 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19549 wine_fn_config_makefile dlls/mcicda enable_mcicda
19550 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19551 wine_fn_config_makefile dlls/mciseq enable_mciseq
19552 wine_fn_config_makefile dlls/mciwave enable_mciwave
19553 wine_fn_config_makefile dlls/mf enable_mf
19554 wine_fn_config_makefile dlls/mf/tests enable_tests
19555 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19556 wine_fn_config_makefile dlls/mfplat enable_mfplat
19557 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19558 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19559 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19560 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19561 wine_fn_config_makefile dlls/midimap enable_midimap
19562 wine_fn_config_makefile dlls/mlang enable_mlang
19563 wine_fn_config_makefile dlls/mlang/tests enable_tests
19564 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19565 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19566 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19567 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19568 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19569 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19570 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19571 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19572 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19573 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19574 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19575 wine_fn_config_makefile dlls/mpr enable_mpr
19576 wine_fn_config_makefile dlls/mpr/tests enable_tests
19577 wine_fn_config_makefile dlls/mprapi enable_mprapi
19578 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19579 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19580 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19581 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19582 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19583 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19584 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19585 wine_fn_config_makefile dlls/mscms enable_mscms
19586 wine_fn_config_makefile dlls/mscms/tests enable_tests
19587 wine_fn_config_makefile dlls/mscoree enable_mscoree
19588 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19589 wine_fn_config_makefile dlls/msctf enable_msctf
19590 wine_fn_config_makefile dlls/msctf/tests enable_tests
19591 wine_fn_config_makefile dlls/msctfp enable_msctfp
19592 wine_fn_config_makefile dlls/msdaps enable_msdaps
19593 wine_fn_config_makefile dlls/msdelta enable_msdelta
19594 wine_fn_config_makefile dlls/msdmo enable_msdmo
19595 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19596 wine_fn_config_makefile dlls/msdrm enable_msdrm
19597 wine_fn_config_makefile dlls/msftedit enable_msftedit
19598 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19599 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19600 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19601 wine_fn_config_makefile dlls/mshtml enable_mshtml
19602 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19603 wine_fn_config_makefile dlls/msi enable_msi
19604 wine_fn_config_makefile dlls/msi/tests enable_tests
19605 wine_fn_config_makefile dlls/msident enable_msident
19606 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19607 wine_fn_config_makefile dlls/msimsg enable_msimsg
19608 wine_fn_config_makefile dlls/msimtf enable_msimtf
19609 wine_fn_config_makefile dlls/msisip enable_msisip
19610 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19611 wine_fn_config_makefile dlls/msls31 enable_msls31
19612 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19613 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19614 wine_fn_config_makefile dlls/msports enable_msports
19615 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19616 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19617 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19618 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19619 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19620 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19621 wine_fn_config_makefile dlls/mstask enable_mstask
19622 wine_fn_config_makefile dlls/mstask/tests enable_tests
19623 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19624 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19625 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19626 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19627 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19628 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19629 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19630 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19631 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19632 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19633 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19634 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19635 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19636 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19637 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19638 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19639 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19640 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19641 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19642 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19644 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19645 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19646 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19647 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19648 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19649 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19650 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19651 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19652 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19653 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19654 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19655 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19656 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19657 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19658 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19659 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19660 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19661 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19662 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19663 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19664 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19665 wine_fn_config_makefile dlls/mswsock enable_mswsock
19666 wine_fn_config_makefile dlls/msxml enable_msxml
19667 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19668 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19669 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19670 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19671 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19672 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19673 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19674 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19675 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19676 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19677 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19678 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19679 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19680 wine_fn_config_makefile dlls/netprofm enable_netprofm
19681 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19682 wine_fn_config_makefile dlls/newdev enable_newdev
19683 wine_fn_config_makefile dlls/ninput enable_ninput
19684 wine_fn_config_makefile dlls/ninput/tests enable_tests
19685 wine_fn_config_makefile dlls/normaliz enable_normaliz
19686 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19687 wine_fn_config_makefile dlls/npptools enable_npptools
19688 wine_fn_config_makefile dlls/ntdll enable_ntdll
19689 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19690 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19691 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19692 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19693 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19694 wine_fn_config_makefile dlls/ntprint enable_ntprint
19695 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19696 wine_fn_config_makefile dlls/objsel enable_objsel
19697 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19698 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19699 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19700 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19701 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19702 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19703 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19704 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19705 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19706 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19707 wine_fn_config_makefile dlls/ole32 enable_ole32
19708 wine_fn_config_makefile dlls/ole32/tests enable_tests
19709 wine_fn_config_makefile dlls/oleacc enable_oleacc
19710 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19711 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19712 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19713 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19714 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19715 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19716 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19717 wine_fn_config_makefile dlls/oledlg enable_oledlg
19718 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19719 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19720 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19721 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19722 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19723 wine_fn_config_makefile dlls/opcservices enable_opcservices
19724 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19725 wine_fn_config_makefile dlls/openal32 enable_openal32
19726 wine_fn_config_makefile dlls/opencl enable_opencl
19727 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19728 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19729 wine_fn_config_makefile dlls/packager enable_packager
19730 wine_fn_config_makefile dlls/packager/tests enable_tests
19731 wine_fn_config_makefile dlls/pdh enable_pdh
19732 wine_fn_config_makefile dlls/pdh/tests enable_tests
19733 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19734 wine_fn_config_makefile dlls/pidgen enable_pidgen
19735 wine_fn_config_makefile dlls/powrprof enable_powrprof
19736 wine_fn_config_makefile dlls/printui enable_printui
19737 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19738 wine_fn_config_makefile dlls/propsys enable_propsys
19739 wine_fn_config_makefile dlls/propsys/tests enable_tests
19740 wine_fn_config_makefile dlls/psapi enable_psapi
19741 wine_fn_config_makefile dlls/psapi/tests enable_tests
19742 wine_fn_config_makefile dlls/pstorec enable_pstorec
19743 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19744 wine_fn_config_makefile dlls/qcap enable_qcap
19745 wine_fn_config_makefile dlls/qcap/tests enable_tests
19746 wine_fn_config_makefile dlls/qedit enable_qedit
19747 wine_fn_config_makefile dlls/qedit/tests enable_tests
19748 wine_fn_config_makefile dlls/qmgr enable_qmgr
19749 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19750 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19751 wine_fn_config_makefile dlls/quartz enable_quartz
19752 wine_fn_config_makefile dlls/quartz/tests enable_tests
19753 wine_fn_config_makefile dlls/query enable_query
19754 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19755 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19756 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19757 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19758 wine_fn_config_makefile dlls/regapi enable_regapi
19759 wine_fn_config_makefile dlls/resutils enable_resutils
19760 wine_fn_config_makefile dlls/riched20 enable_riched20
19761 wine_fn_config_makefile dlls/riched20/tests enable_tests
19762 wine_fn_config_makefile dlls/riched32 enable_riched32
19763 wine_fn_config_makefile dlls/riched32/tests enable_tests
19764 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19765 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19766 wine_fn_config_makefile dlls/rsabase enable_rsabase
19767 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19768 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19769 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19770 wine_fn_config_makefile dlls/rtutils enable_rtutils
19771 wine_fn_config_makefile dlls/samlib enable_samlib
19772 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19773 wine_fn_config_makefile dlls/sapi enable_sapi
19774 wine_fn_config_makefile dlls/sapi/tests enable_tests
19775 wine_fn_config_makefile dlls/sas enable_sas
19776 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19777 wine_fn_config_makefile dlls/sccbase enable_sccbase
19778 wine_fn_config_makefile dlls/schannel enable_schannel
19779 wine_fn_config_makefile dlls/schannel/tests enable_tests
19780 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19781 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19782 wine_fn_config_makefile dlls/scrobj enable_scrobj
19783 wine_fn_config_makefile dlls/scrrun enable_scrrun
19784 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19785 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19786 wine_fn_config_makefile dlls/secur32 enable_secur32
19787 wine_fn_config_makefile dlls/secur32/tests enable_tests
19788 wine_fn_config_makefile dlls/security enable_security
19789 wine_fn_config_makefile dlls/sensapi enable_sensapi
19790 wine_fn_config_makefile dlls/serialui enable_serialui
19791 wine_fn_config_makefile dlls/serialui/tests enable_tests
19792 wine_fn_config_makefile dlls/setupapi enable_setupapi
19793 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19794 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19795 wine_fn_config_makefile dlls/sfc enable_sfc
19796 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19797 wine_fn_config_makefile dlls/shcore enable_shcore
19798 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19799 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19800 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19801 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19802 wine_fn_config_makefile dlls/shell32 enable_shell32
19803 wine_fn_config_makefile dlls/shell32/tests enable_tests
19804 wine_fn_config_makefile dlls/shfolder enable_shfolder
19805 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19806 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19807 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19808 wine_fn_config_makefile dlls/slc enable_slc
19809 wine_fn_config_makefile dlls/slc/tests enable_tests
19810 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19811 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19812 wine_fn_config_makefile dlls/softpub enable_softpub
19813 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19814 wine_fn_config_makefile dlls/spoolss enable_spoolss
19815 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19816 wine_fn_config_makefile dlls/srclient enable_srclient
19817 wine_fn_config_makefile dlls/sspicli enable_sspicli
19818 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19819 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19820 wine_fn_config_makefile dlls/sti enable_sti
19821 wine_fn_config_makefile dlls/sti/tests enable_tests
19822 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19823 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19824 wine_fn_config_makefile dlls/strmbase enable_strmbase
19825 wine_fn_config_makefile dlls/strmdll enable_strmdll
19826 wine_fn_config_makefile dlls/strmiids enable_strmiids
19827 wine_fn_config_makefile dlls/svrapi enable_svrapi
19828 wine_fn_config_makefile dlls/sxs enable_sxs
19829 wine_fn_config_makefile dlls/sxs/tests enable_tests
19830 wine_fn_config_makefile dlls/system.drv16 enable_win16
19831 wine_fn_config_makefile dlls/t2embed enable_t2embed
19832 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19833 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19834 wine_fn_config_makefile dlls/taskschd enable_taskschd
19835 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19836 wine_fn_config_makefile dlls/tdh enable_tdh
19837 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19838 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19839 wine_fn_config_makefile dlls/traffic enable_traffic
19840 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19841 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19842 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19843 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19844 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19845 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19846 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19847 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19848 wine_fn_config_makefile dlls/unicows enable_unicows
19849 wine_fn_config_makefile dlls/updspapi enable_updspapi
19850 wine_fn_config_makefile dlls/url enable_url
19851 wine_fn_config_makefile dlls/urlmon enable_urlmon
19852 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19853 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19854 wine_fn_config_makefile dlls/user.exe16 enable_win16
19855 wine_fn_config_makefile dlls/user32 enable_user32
19856 wine_fn_config_makefile dlls/user32/tests enable_tests
19857 wine_fn_config_makefile dlls/userenv enable_userenv
19858 wine_fn_config_makefile dlls/userenv/tests enable_tests
19859 wine_fn_config_makefile dlls/usp10 enable_usp10
19860 wine_fn_config_makefile dlls/usp10/tests enable_tests
19861 wine_fn_config_makefile dlls/uuid enable_uuid
19862 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19863 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19864 wine_fn_config_makefile dlls/vbscript enable_vbscript
19865 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19866 wine_fn_config_makefile dlls/vcomp enable_vcomp
19867 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19868 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19869 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19870 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19871 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19872 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19873 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19874 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19875 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19876 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19877 wine_fn_config_makefile dlls/version enable_version
19878 wine_fn_config_makefile dlls/version/tests enable_tests
19879 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19880 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19881 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19882 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19883 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19884 wine_fn_config_makefile dlls/vssapi enable_vssapi
19885 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19886 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19887 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19888 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19889 wine_fn_config_makefile dlls/w32skrnl enable_win16
19890 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19891 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19892 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19893 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19894 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19895 wine_fn_config_makefile dlls/wdscore enable_wdscore
19896 wine_fn_config_makefile dlls/webservices enable_webservices
19897 wine_fn_config_makefile dlls/webservices/tests enable_tests
19898 wine_fn_config_makefile dlls/wer enable_wer
19899 wine_fn_config_makefile dlls/wer/tests enable_tests
19900 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19901 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19902 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19903 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19904 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19905 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19906 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19907 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19908 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19909 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19910 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19911 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19912 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19913 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19914 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19915 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19916 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19917 wine_fn_config_makefile dlls/wined3d enable_wined3d
19918 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19919 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19920 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19921 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19922 wine_fn_config_makefile dlls/winemapi enable_winemapi
19923 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19924 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19925 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19926 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19927 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19928 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19929 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19930 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19931 wine_fn_config_makefile dlls/wing32 enable_wing32
19932 wine_fn_config_makefile dlls/winhttp enable_winhttp
19933 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19934 wine_fn_config_makefile dlls/wininet enable_wininet
19935 wine_fn_config_makefile dlls/wininet/tests enable_tests
19936 wine_fn_config_makefile dlls/winmm enable_winmm
19937 wine_fn_config_makefile dlls/winmm/tests enable_tests
19938 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19939 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19940 wine_fn_config_makefile dlls/winscard enable_winscard
19941 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19942 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19943 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19944 wine_fn_config_makefile dlls/winsta enable_winsta
19945 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19946 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19947 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19948 wine_fn_config_makefile dlls/wintrust enable_wintrust
19949 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19950 wine_fn_config_makefile dlls/winusb enable_winusb
19951 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19952 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19953 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19954 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19955 wine_fn_config_makefile dlls/wmasf enable_wmasf
19956 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19957 wine_fn_config_makefile dlls/wmi enable_wmi
19958 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19959 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19960 wine_fn_config_makefile dlls/wmp enable_wmp
19961 wine_fn_config_makefile dlls/wmp/tests enable_tests
19962 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19963 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19964 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19965 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19966 wine_fn_config_makefile dlls/wow32 enable_win16
19967 wine_fn_config_makefile dlls/wpc enable_wpc
19968 wine_fn_config_makefile dlls/wpc/tests enable_tests
19969 wine_fn_config_makefile dlls/wpcap enable_wpcap
19970 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19971 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19972 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19973 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19974 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19975 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19976 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19977 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19978 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19979 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19980 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19981 wine_fn_config_makefile dlls/wuapi enable_wuapi
19982 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19983 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19984 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19985 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19986 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19987 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19988 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19989 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19990 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19991 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19992 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19993 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19994 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19995 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19996 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19997 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19998 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19999 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20000 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20001 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20002 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20003 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20004 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20005 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20006 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20007 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20008 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20009 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20010 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20011 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20012 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20013 wine_fn_config_makefile dlls/xmllite enable_xmllite
20014 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20015 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20016 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20017 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20018 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20019 wine_fn_config_makefile include enable_include
20020 wine_fn_config_makefile libs/port enable_port
20021 wine_fn_config_makefile libs/wine enable_wine
20022 wine_fn_config_makefile libs/wpp enable_wpp
20023 wine_fn_config_makefile loader enable_loader
20024 wine_fn_config_makefile po enable_po
20025 wine_fn_config_makefile programs/arp enable_arp
20026 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20027 wine_fn_config_makefile programs/attrib enable_attrib
20028 wine_fn_config_makefile programs/cabarc enable_cabarc
20029 wine_fn_config_makefile programs/cacls enable_cacls
20030 wine_fn_config_makefile programs/clock enable_clock
20031 wine_fn_config_makefile programs/cmd enable_cmd
20032 wine_fn_config_makefile programs/cmd/tests enable_tests
20033 wine_fn_config_makefile programs/conhost enable_conhost
20034 wine_fn_config_makefile programs/control enable_control
20035 wine_fn_config_makefile programs/cscript enable_cscript
20036 wine_fn_config_makefile programs/dism enable_dism
20037 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20038 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20039 wine_fn_config_makefile programs/eject enable_eject
20040 wine_fn_config_makefile programs/expand enable_expand
20041 wine_fn_config_makefile programs/explorer enable_explorer
20042 wine_fn_config_makefile programs/extrac32 enable_extrac32
20043 wine_fn_config_makefile programs/fc enable_fc
20044 wine_fn_config_makefile programs/find enable_find
20045 wine_fn_config_makefile programs/findstr enable_findstr
20046 wine_fn_config_makefile programs/fsutil enable_fsutil
20047 wine_fn_config_makefile programs/hh enable_hh
20048 wine_fn_config_makefile programs/hostname enable_hostname
20049 wine_fn_config_makefile programs/icacls enable_icacls
20050 wine_fn_config_makefile programs/icinfo enable_icinfo
20051 wine_fn_config_makefile programs/iexplore enable_iexplore
20052 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20053 wine_fn_config_makefile programs/lodctr enable_lodctr
20054 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20055 wine_fn_config_makefile programs/mshta enable_mshta
20056 wine_fn_config_makefile programs/msiexec enable_msiexec
20057 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20058 wine_fn_config_makefile programs/net enable_net
20059 wine_fn_config_makefile programs/netsh enable_netsh
20060 wine_fn_config_makefile programs/netstat enable_netstat
20061 wine_fn_config_makefile programs/ngen enable_ngen
20062 wine_fn_config_makefile programs/notepad enable_notepad
20063 wine_fn_config_makefile programs/oleview enable_oleview
20064 wine_fn_config_makefile programs/ping enable_ping
20065 wine_fn_config_makefile programs/plugplay enable_plugplay
20066 wine_fn_config_makefile programs/powershell enable_powershell
20067 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20068 wine_fn_config_makefile programs/progman enable_progman
20069 wine_fn_config_makefile programs/reg enable_reg
20070 wine_fn_config_makefile programs/reg/tests enable_tests
20071 wine_fn_config_makefile programs/regasm enable_regasm
20072 wine_fn_config_makefile programs/regedit enable_regedit
20073 wine_fn_config_makefile programs/regedit/tests enable_tests
20074 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20075 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20076 wine_fn_config_makefile programs/rpcss enable_rpcss
20077 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20078 wine_fn_config_makefile programs/rundll32 enable_rundll32
20079 wine_fn_config_makefile programs/sc enable_sc
20080 wine_fn_config_makefile programs/schtasks enable_schtasks
20081 wine_fn_config_makefile programs/schtasks/tests enable_tests
20082 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20083 wine_fn_config_makefile programs/secedit enable_secedit
20084 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20085 wine_fn_config_makefile programs/services enable_services
20086 wine_fn_config_makefile programs/services/tests enable_tests
20087 wine_fn_config_makefile programs/shutdown enable_shutdown
20088 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20089 wine_fn_config_makefile programs/start enable_start
20090 wine_fn_config_makefile programs/subst enable_subst
20091 wine_fn_config_makefile programs/svchost enable_svchost
20092 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20093 wine_fn_config_makefile programs/taskkill enable_taskkill
20094 wine_fn_config_makefile programs/tasklist enable_tasklist
20095 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20096 wine_fn_config_makefile programs/termsv enable_termsv
20097 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20098 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20099 wine_fn_config_makefile programs/view enable_view
20100 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20101 wine_fn_config_makefile programs/wineboot enable_wineboot
20102 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20103 wine_fn_config_makefile programs/winecfg enable_winecfg
20104 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20105 wine_fn_config_makefile programs/winedbg enable_winedbg
20106 wine_fn_config_makefile programs/winedevice enable_winedevice
20107 wine_fn_config_makefile programs/winefile enable_winefile
20108 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20109 wine_fn_config_makefile programs/winemine enable_winemine
20110 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20111 wine_fn_config_makefile programs/winepath enable_winepath
20112 wine_fn_config_makefile programs/winetest enable_winetest
20113 wine_fn_config_makefile programs/winevdm enable_win16
20114 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20115 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20116 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20117 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20118 wine_fn_config_makefile programs/winver enable_winver
20119 wine_fn_config_makefile programs/wmic enable_wmic
20120 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20121 wine_fn_config_makefile programs/wordpad enable_wordpad
20122 wine_fn_config_makefile programs/write enable_write
20123 wine_fn_config_makefile programs/wscript enable_wscript
20124 wine_fn_config_makefile programs/wscript/tests enable_tests
20125 wine_fn_config_makefile programs/wusa enable_wusa
20126 wine_fn_config_makefile programs/xcopy enable_xcopy
20127 wine_fn_config_makefile programs/xcopy/tests enable_tests
20128 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20129 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20131 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20132 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20133 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20135 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20136 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20137 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20140 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20141 wine_fn_append_file CONFIGURE_TARGETS "tags"
20142 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20143 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20144 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20145 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20146 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20147 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20149 if test "x$enable_tools" != xno
20150 then
20151 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20152 ac_config_commands="$ac_config_commands tools/makedep"
20156 ac_config_commands="$ac_config_commands Makefile"
20159 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20163 if test "x$enable_maintainer_mode" = xyes
20164 then
20165 wine_fn_append_rule "configure: configure.ac aclocal.m4
20166 autoconf --warnings=all
20167 include/config.h.in: include/stamp-h.in
20168 include/stamp-h.in: configure.ac aclocal.m4
20169 autoheader --warnings=all
20170 @echo timestamp > \$@"
20173 if test "x$enable_tools" != xno
20174 then
20175 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20176 @./config.status tools/makedep
20177 Makefile: tools/makedep$ac_exeext
20178 fonts: tools/sfnt2fon
20179 include: tools tools/widl"
20180 else
20181 wine_fn_append_rule "\$(MAKEDEP):
20182 @echo \"You need to run make in $TOOLSDIR first\" && false"
20185 if test -n "$with_wine64"
20186 then
20187 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20188 fonts server:
20189 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20190 $with_wine64/loader/wine:
20191 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20192 $with_wine64/loader/wine-preloader:
20193 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20194 clean::
20195 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20196 else
20197 WINELOADER_INSTALL="wine.inf l_intl.nls"
20199 case $host_os in
20200 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20201 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20202 esac
20205 $as_echo " done" >&6
20206 cat >confcache <<\_ACEOF
20207 # This file is a shell script that caches the results of configure
20208 # tests run on this system so they can be shared between configure
20209 # scripts and configure runs, see configure's option --config-cache.
20210 # It is not useful on other systems. If it contains results you don't
20211 # want to keep, you may remove or edit it.
20213 # config.status only pays attention to the cache file if you give it
20214 # the --recheck option to rerun configure.
20216 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20217 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20218 # following values.
20220 _ACEOF
20222 # The following way of writing the cache mishandles newlines in values,
20223 # but we know of no workaround that is simple, portable, and efficient.
20224 # So, we kill variables containing newlines.
20225 # Ultrix sh set writes to stderr and can't be redirected directly,
20226 # and sets the high bit in the cache file unless we assign to the vars.
20228 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20229 eval ac_val=\$$ac_var
20230 case $ac_val in #(
20231 *${as_nl}*)
20232 case $ac_var in #(
20233 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20234 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20235 esac
20236 case $ac_var in #(
20237 _ | IFS | as_nl) ;; #(
20238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20239 *) { eval $ac_var=; unset $ac_var;} ;;
20240 esac ;;
20241 esac
20242 done
20244 (set) 2>&1 |
20245 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20246 *${as_nl}ac_space=\ *)
20247 # `set' does not quote correctly, so add quotes: double-quote
20248 # substitution turns \\\\ into \\, and sed turns \\ into \.
20249 sed -n \
20250 "s/'/'\\\\''/g;
20251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20252 ;; #(
20254 # `set' quotes correctly as required by POSIX, so do not add quotes.
20255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20257 esac |
20258 sort
20260 sed '
20261 /^ac_cv_env_/b end
20262 t clear
20263 :clear
20264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20265 t end
20266 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20267 :end' >>confcache
20268 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20269 if test -w "$cache_file"; then
20270 if test "x$cache_file" != "x/dev/null"; then
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20272 $as_echo "$as_me: updating cache $cache_file" >&6;}
20273 if test ! -f "$cache_file" || test -h "$cache_file"; then
20274 cat confcache >"$cache_file"
20275 else
20276 case $cache_file in #(
20277 */* | ?:*)
20278 mv -f confcache "$cache_file"$$ &&
20279 mv -f "$cache_file"$$ "$cache_file" ;; #(
20281 mv -f confcache "$cache_file" ;;
20282 esac
20285 else
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20287 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20290 rm -f confcache
20292 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20293 # Let make expand exec_prefix.
20294 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20296 DEFS=-DHAVE_CONFIG_H
20298 ac_libobjs=
20299 ac_ltlibobjs=
20301 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20302 # 1. Remove the extension, and $U if already installed.
20303 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20304 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20305 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20306 # will be set to the directory where LIBOBJS objects are built.
20307 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20308 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20309 done
20310 LIBOBJS=$ac_libobjs
20312 LTLIBOBJS=$ac_ltlibobjs
20316 : "${CONFIG_STATUS=./config.status}"
20317 ac_write_fail=0
20318 ac_clean_files_save=$ac_clean_files
20319 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20321 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20322 as_write_fail=0
20323 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20324 #! $SHELL
20325 # Generated by $as_me.
20326 # Run this file to recreate the current configuration.
20327 # Compiler output produced by configure, useful for debugging
20328 # configure, is in config.log if it exists.
20330 debug=false
20331 ac_cs_recheck=false
20332 ac_cs_silent=false
20334 SHELL=\${CONFIG_SHELL-$SHELL}
20335 export SHELL
20336 _ASEOF
20337 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20338 ## -------------------- ##
20339 ## M4sh Initialization. ##
20340 ## -------------------- ##
20342 # Be more Bourne compatible
20343 DUALCASE=1; export DUALCASE # for MKS sh
20344 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20345 emulate sh
20346 NULLCMD=:
20347 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20348 # is contrary to our usage. Disable this feature.
20349 alias -g '${1+"$@"}'='"$@"'
20350 setopt NO_GLOB_SUBST
20351 else
20352 case `(set -o) 2>/dev/null` in #(
20353 *posix*) :
20354 set -o posix ;; #(
20355 *) :
20357 esac
20361 as_nl='
20363 export as_nl
20364 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20365 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20366 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20367 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20368 # Prefer a ksh shell builtin over an external printf program on Solaris,
20369 # but without wasting forks for bash or zsh.
20370 if test -z "$BASH_VERSION$ZSH_VERSION" \
20371 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20372 as_echo='print -r --'
20373 as_echo_n='print -rn --'
20374 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20375 as_echo='printf %s\n'
20376 as_echo_n='printf %s'
20377 else
20378 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20379 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20380 as_echo_n='/usr/ucb/echo -n'
20381 else
20382 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20383 as_echo_n_body='eval
20384 arg=$1;
20385 case $arg in #(
20386 *"$as_nl"*)
20387 expr "X$arg" : "X\\(.*\\)$as_nl";
20388 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20389 esac;
20390 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20392 export as_echo_n_body
20393 as_echo_n='sh -c $as_echo_n_body as_echo'
20395 export as_echo_body
20396 as_echo='sh -c $as_echo_body as_echo'
20399 # The user is always right.
20400 if test "${PATH_SEPARATOR+set}" != set; then
20401 PATH_SEPARATOR=:
20402 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20403 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20404 PATH_SEPARATOR=';'
20409 # IFS
20410 # We need space, tab and new line, in precisely that order. Quoting is
20411 # there to prevent editors from complaining about space-tab.
20412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20413 # splitting by setting IFS to empty value.)
20414 IFS=" "" $as_nl"
20416 # Find who we are. Look in the path if we contain no directory separator.
20417 as_myself=
20418 case $0 in #((
20419 *[\\/]* ) as_myself=$0 ;;
20420 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20421 for as_dir in $PATH
20423 IFS=$as_save_IFS
20424 test -z "$as_dir" && as_dir=.
20425 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20426 done
20427 IFS=$as_save_IFS
20430 esac
20431 # We did not find ourselves, most probably we were run as `sh COMMAND'
20432 # in which case we are not to be found in the path.
20433 if test "x$as_myself" = x; then
20434 as_myself=$0
20436 if test ! -f "$as_myself"; then
20437 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20438 exit 1
20441 # Unset variables that we do not need and which cause bugs (e.g. in
20442 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20443 # suppresses any "Segmentation fault" message there. '((' could
20444 # trigger a bug in pdksh 5.2.14.
20445 for as_var in BASH_ENV ENV MAIL MAILPATH
20446 do eval test x\${$as_var+set} = xset \
20447 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20448 done
20449 PS1='$ '
20450 PS2='> '
20451 PS4='+ '
20453 # NLS nuisances.
20454 LC_ALL=C
20455 export LC_ALL
20456 LANGUAGE=C
20457 export LANGUAGE
20459 # CDPATH.
20460 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20463 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20464 # ----------------------------------------
20465 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20466 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20467 # script with STATUS, using 1 if that was 0.
20468 as_fn_error ()
20470 as_status=$1; test $as_status -eq 0 && as_status=1
20471 if test "$4"; then
20472 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20473 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20475 $as_echo "$as_me: error: $2" >&2
20476 as_fn_exit $as_status
20477 } # as_fn_error
20480 # as_fn_set_status STATUS
20481 # -----------------------
20482 # Set $? to STATUS, without forking.
20483 as_fn_set_status ()
20485 return $1
20486 } # as_fn_set_status
20488 # as_fn_exit STATUS
20489 # -----------------
20490 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20491 as_fn_exit ()
20493 set +e
20494 as_fn_set_status $1
20495 exit $1
20496 } # as_fn_exit
20498 # as_fn_unset VAR
20499 # ---------------
20500 # Portably unset VAR.
20501 as_fn_unset ()
20503 { eval $1=; unset $1;}
20505 as_unset=as_fn_unset
20506 # as_fn_append VAR VALUE
20507 # ----------------------
20508 # Append the text in VALUE to the end of the definition contained in VAR. Take
20509 # advantage of any shell optimizations that allow amortized linear growth over
20510 # repeated appends, instead of the typical quadratic growth present in naive
20511 # implementations.
20512 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20513 eval 'as_fn_append ()
20515 eval $1+=\$2
20517 else
20518 as_fn_append ()
20520 eval $1=\$$1\$2
20522 fi # as_fn_append
20524 # as_fn_arith ARG...
20525 # ------------------
20526 # Perform arithmetic evaluation on the ARGs, and store the result in the
20527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20528 # must be portable across $(()) and expr.
20529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20530 eval 'as_fn_arith ()
20532 as_val=$(( $* ))
20534 else
20535 as_fn_arith ()
20537 as_val=`expr "$@" || test $? -eq 1`
20539 fi # as_fn_arith
20542 if expr a : '\(a\)' >/dev/null 2>&1 &&
20543 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20544 as_expr=expr
20545 else
20546 as_expr=false
20549 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20550 as_basename=basename
20551 else
20552 as_basename=false
20555 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20556 as_dirname=dirname
20557 else
20558 as_dirname=false
20561 as_me=`$as_basename -- "$0" ||
20562 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20563 X"$0" : 'X\(//\)$' \| \
20564 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20565 $as_echo X/"$0" |
20566 sed '/^.*\/\([^/][^/]*\)\/*$/{
20567 s//\1/
20570 /^X\/\(\/\/\)$/{
20571 s//\1/
20574 /^X\/\(\/\).*/{
20575 s//\1/
20578 s/.*/./; q'`
20580 # Avoid depending upon Character Ranges.
20581 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20582 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20583 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20584 as_cr_digits='0123456789'
20585 as_cr_alnum=$as_cr_Letters$as_cr_digits
20587 ECHO_C= ECHO_N= ECHO_T=
20588 case `echo -n x` in #(((((
20589 -n*)
20590 case `echo 'xy\c'` in
20591 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20592 xy) ECHO_C='\c';;
20593 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20594 ECHO_T=' ';;
20595 esac;;
20597 ECHO_N='-n';;
20598 esac
20600 rm -f conf$$ conf$$.exe conf$$.file
20601 if test -d conf$$.dir; then
20602 rm -f conf$$.dir/conf$$.file
20603 else
20604 rm -f conf$$.dir
20605 mkdir conf$$.dir 2>/dev/null
20607 if (echo >conf$$.file) 2>/dev/null; then
20608 if ln -s conf$$.file conf$$ 2>/dev/null; then
20609 as_ln_s='ln -s'
20610 # ... but there are two gotchas:
20611 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20612 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20613 # In both cases, we have to default to `cp -pR'.
20614 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20615 as_ln_s='cp -pR'
20616 elif ln conf$$.file conf$$ 2>/dev/null; then
20617 as_ln_s=ln
20618 else
20619 as_ln_s='cp -pR'
20621 else
20622 as_ln_s='cp -pR'
20624 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20625 rmdir conf$$.dir 2>/dev/null
20628 # as_fn_mkdir_p
20629 # -------------
20630 # Create "$as_dir" as a directory, including parents if necessary.
20631 as_fn_mkdir_p ()
20634 case $as_dir in #(
20635 -*) as_dir=./$as_dir;;
20636 esac
20637 test -d "$as_dir" || eval $as_mkdir_p || {
20638 as_dirs=
20639 while :; do
20640 case $as_dir in #(
20641 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20642 *) as_qdir=$as_dir;;
20643 esac
20644 as_dirs="'$as_qdir' $as_dirs"
20645 as_dir=`$as_dirname -- "$as_dir" ||
20646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20647 X"$as_dir" : 'X\(//\)[^/]' \| \
20648 X"$as_dir" : 'X\(//\)$' \| \
20649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20650 $as_echo X"$as_dir" |
20651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20652 s//\1/
20655 /^X\(\/\/\)[^/].*/{
20656 s//\1/
20659 /^X\(\/\/\)$/{
20660 s//\1/
20663 /^X\(\/\).*/{
20664 s//\1/
20667 s/.*/./; q'`
20668 test -d "$as_dir" && break
20669 done
20670 test -z "$as_dirs" || eval "mkdir $as_dirs"
20671 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20674 } # as_fn_mkdir_p
20675 if mkdir -p . 2>/dev/null; then
20676 as_mkdir_p='mkdir -p "$as_dir"'
20677 else
20678 test -d ./-p && rmdir ./-p
20679 as_mkdir_p=false
20683 # as_fn_executable_p FILE
20684 # -----------------------
20685 # Test if FILE is an executable regular file.
20686 as_fn_executable_p ()
20688 test -f "$1" && test -x "$1"
20689 } # as_fn_executable_p
20690 as_test_x='test -x'
20691 as_executable_p=as_fn_executable_p
20693 # Sed expression to map a string onto a valid CPP name.
20694 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20696 # Sed expression to map a string onto a valid variable name.
20697 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20700 exec 6>&1
20701 ## ----------------------------------- ##
20702 ## Main body of $CONFIG_STATUS script. ##
20703 ## ----------------------------------- ##
20704 _ASEOF
20705 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20708 # Save the log message, to keep $0 and so on meaningful, and to
20709 # report actual input values of CONFIG_FILES etc. instead of their
20710 # values after options handling.
20711 ac_log="
20712 This file was extended by Wine $as_me 3.15, which was
20713 generated by GNU Autoconf 2.69. Invocation command line was
20715 CONFIG_FILES = $CONFIG_FILES
20716 CONFIG_HEADERS = $CONFIG_HEADERS
20717 CONFIG_LINKS = $CONFIG_LINKS
20718 CONFIG_COMMANDS = $CONFIG_COMMANDS
20719 $ $0 $@
20721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20724 _ACEOF
20726 case $ac_config_files in *"
20727 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20728 esac
20730 case $ac_config_headers in *"
20731 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20732 esac
20735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20736 # Files that config.status was made for.
20737 config_files="$ac_config_files"
20738 config_headers="$ac_config_headers"
20739 config_links="$ac_config_links"
20740 config_commands="$ac_config_commands"
20742 _ACEOF
20744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20745 ac_cs_usage="\
20746 \`$as_me' instantiates files and other configuration actions
20747 from templates according to the current configuration. Unless the files
20748 and actions are specified as TAGs, all are instantiated by default.
20750 Usage: $0 [OPTION]... [TAG]...
20752 -h, --help print this help, then exit
20753 -V, --version print version number and configuration settings, then exit
20754 --config print configuration, then exit
20755 -q, --quiet, --silent
20756 do not print progress messages
20757 -d, --debug don't remove temporary files
20758 --recheck update $as_me by reconfiguring in the same conditions
20759 --file=FILE[:TEMPLATE]
20760 instantiate the configuration file FILE
20761 --header=FILE[:TEMPLATE]
20762 instantiate the configuration header FILE
20764 Configuration files:
20765 $config_files
20767 Configuration headers:
20768 $config_headers
20770 Configuration links:
20771 $config_links
20773 Configuration commands:
20774 $config_commands
20776 Report bugs to <wine-devel@winehq.org>.
20777 Wine home page: <https://www.winehq.org>."
20779 _ACEOF
20780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20781 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20782 ac_cs_version="\\
20783 Wine config.status 3.15
20784 configured by $0, generated by GNU Autoconf 2.69,
20785 with options \\"\$ac_cs_config\\"
20787 Copyright (C) 2012 Free Software Foundation, Inc.
20788 This config.status script is free software; the Free Software Foundation
20789 gives unlimited permission to copy, distribute and modify it."
20791 ac_pwd='$ac_pwd'
20792 srcdir='$srcdir'
20793 test -n "\$AWK" || AWK=awk
20794 _ACEOF
20796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20797 # The default lists apply if the user does not specify any file.
20798 ac_need_defaults=:
20799 while test $# != 0
20801 case $1 in
20802 --*=?*)
20803 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20804 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20805 ac_shift=:
20807 --*=)
20808 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20809 ac_optarg=
20810 ac_shift=:
20813 ac_option=$1
20814 ac_optarg=$2
20815 ac_shift=shift
20817 esac
20819 case $ac_option in
20820 # Handling of the options.
20821 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20822 ac_cs_recheck=: ;;
20823 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20824 $as_echo "$ac_cs_version"; exit ;;
20825 --config | --confi | --conf | --con | --co | --c )
20826 $as_echo "$ac_cs_config"; exit ;;
20827 --debug | --debu | --deb | --de | --d | -d )
20828 debug=: ;;
20829 --file | --fil | --fi | --f )
20830 $ac_shift
20831 case $ac_optarg in
20832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20833 '') as_fn_error $? "missing file argument" ;;
20834 esac
20835 as_fn_append CONFIG_FILES " '$ac_optarg'"
20836 ac_need_defaults=false;;
20837 --header | --heade | --head | --hea )
20838 $ac_shift
20839 case $ac_optarg in
20840 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20841 esac
20842 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20843 ac_need_defaults=false;;
20844 --he | --h)
20845 # Conflict between --help and --header
20846 as_fn_error $? "ambiguous option: \`$1'
20847 Try \`$0 --help' for more information.";;
20848 --help | --hel | -h )
20849 $as_echo "$ac_cs_usage"; exit ;;
20850 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20851 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20852 ac_cs_silent=: ;;
20854 # This is an error.
20855 -*) as_fn_error $? "unrecognized option: \`$1'
20856 Try \`$0 --help' for more information." ;;
20858 *) as_fn_append ac_config_targets " $1"
20859 ac_need_defaults=false ;;
20861 esac
20862 shift
20863 done
20865 ac_configure_extra_args=
20867 if $ac_cs_silent; then
20868 exec 6>/dev/null
20869 ac_configure_extra_args="$ac_configure_extra_args --silent"
20872 _ACEOF
20873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20874 if \$ac_cs_recheck; then
20875 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20876 shift
20877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20878 CONFIG_SHELL='$SHELL'
20879 export CONFIG_SHELL
20880 exec "\$@"
20883 _ACEOF
20884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20885 exec 5>>config.log
20887 echo
20888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20889 ## Running $as_me. ##
20890 _ASBOX
20891 $as_echo "$ac_log"
20892 } >&5
20894 _ACEOF
20895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20897 # INIT-COMMANDS
20899 wine_fn_output_makedep ()
20901 as_dir=tools; as_fn_mkdir_p
20902 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20904 wine_fn_output_makefile ()
20906 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20907 `cat $wine_rules_file`
20908 _WINE_EOF
20909 as_fn_error $? "could not create Makefile" "$LINENO" 5
20912 _ACEOF
20914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20916 # Handling of arguments.
20917 for ac_config_target in $ac_config_targets
20919 case $ac_config_target in
20920 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20921 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20922 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20923 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20924 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20925 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20926 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20927 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20928 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20929 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20930 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20931 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20932 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20934 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20935 esac
20936 done
20939 # If the user did not use the arguments to specify the items to instantiate,
20940 # then the envvar interface is used. Set only those that are not.
20941 # We use the long form for the default assignment because of an extremely
20942 # bizarre bug on SunOS 4.1.3.
20943 if $ac_need_defaults; then
20944 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20945 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20946 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20950 # Have a temporary directory for convenience. Make it in the build tree
20951 # simply because there is no reason against having it here, and in addition,
20952 # creating and moving files from /tmp can sometimes cause problems.
20953 # Hook for its removal unless debugging.
20954 # Note that there is a small window in which the directory will not be cleaned:
20955 # after its creation but before its name has been assigned to `$tmp'.
20956 $debug ||
20958 tmp= ac_tmp=
20959 trap 'exit_status=$?
20960 : "${ac_tmp:=$tmp}"
20961 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20963 trap 'as_fn_exit 1' 1 2 13 15
20965 # Create a (secure) tmp directory for tmp files.
20968 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20969 test -d "$tmp"
20970 } ||
20972 tmp=./conf$$-$RANDOM
20973 (umask 077 && mkdir "$tmp")
20974 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20975 ac_tmp=$tmp
20977 # Set up the scripts for CONFIG_FILES section.
20978 # No need to generate them if there are no CONFIG_FILES.
20979 # This happens for instance with `./config.status config.h'.
20980 if test -n "$CONFIG_FILES"; then
20983 ac_cr=`echo X | tr X '\015'`
20984 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20985 # But we know of no other shell where ac_cr would be empty at this
20986 # point, so we can use a bashism as a fallback.
20987 if test "x$ac_cr" = x; then
20988 eval ac_cr=\$\'\\r\'
20990 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20991 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20992 ac_cs_awk_cr='\\r'
20993 else
20994 ac_cs_awk_cr=$ac_cr
20997 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20998 _ACEOF
21002 echo "cat >conf$$subs.awk <<_ACEOF" &&
21003 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21004 echo "_ACEOF"
21005 } >conf$$subs.sh ||
21006 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21007 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21008 ac_delim='%!_!# '
21009 for ac_last_try in false false false false false :; do
21010 . ./conf$$subs.sh ||
21011 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21013 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21014 if test $ac_delim_n = $ac_delim_num; then
21015 break
21016 elif $ac_last_try; then
21017 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21018 else
21019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21021 done
21022 rm -f conf$$subs.sh
21024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21025 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21026 _ACEOF
21027 sed -n '
21029 s/^/S["/; s/!.*/"]=/
21032 s/^[^!]*!//
21033 :repl
21034 t repl
21035 s/'"$ac_delim"'$//
21036 t delim
21039 s/\(.\{148\}\)..*/\1/
21040 t more1
21041 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21044 b repl
21045 :more1
21046 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21049 s/.\{148\}//
21050 t nl
21051 :delim
21053 s/\(.\{148\}\)..*/\1/
21054 t more2
21055 s/["\\]/\\&/g; s/^/"/; s/$/"/
21058 :more2
21059 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21062 s/.\{148\}//
21063 t delim
21064 ' <conf$$subs.awk | sed '
21065 /^[^""]/{
21067 s/\n//
21069 ' >>$CONFIG_STATUS || ac_write_fail=1
21070 rm -f conf$$subs.awk
21071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21072 _ACAWK
21073 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21074 for (key in S) S_is_set[key] = 1
21075 FS = "\a"
21079 line = $ 0
21080 nfields = split(line, field, "@")
21081 substed = 0
21082 len = length(field[1])
21083 for (i = 2; i < nfields; i++) {
21084 key = field[i]
21085 keylen = length(key)
21086 if (S_is_set[key]) {
21087 value = S[key]
21088 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21089 len += length(value) + length(field[++i])
21090 substed = 1
21091 } else
21092 len += 1 + keylen
21095 print line
21098 _ACAWK
21099 _ACEOF
21100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21101 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21102 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21103 else
21105 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21106 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21107 _ACEOF
21109 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21110 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21111 # trailing colons and then remove the whole line if VPATH becomes empty
21112 # (actually we leave an empty line to preserve line numbers).
21113 if test "x$srcdir" = x.; then
21114 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21116 s///
21117 s/^/:/
21118 s/[ ]*$/:/
21119 s/:\$(srcdir):/:/g
21120 s/:\${srcdir}:/:/g
21121 s/:@srcdir@:/:/g
21122 s/^:*//
21123 s/:*$//
21125 s/\(=[ ]*\).*/\1/
21127 s/\n//
21128 s/^[^=]*=[ ]*$//
21132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21133 fi # test -n "$CONFIG_FILES"
21135 # Set up the scripts for CONFIG_HEADERS section.
21136 # No need to generate them if there are no CONFIG_HEADERS.
21137 # This happens for instance with `./config.status Makefile'.
21138 if test -n "$CONFIG_HEADERS"; then
21139 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21140 BEGIN {
21141 _ACEOF
21143 # Transform confdefs.h into an awk script `defines.awk', embedded as
21144 # here-document in config.status, that substitutes the proper values into
21145 # config.h.in to produce config.h.
21147 # Create a delimiter string that does not exist in confdefs.h, to ease
21148 # handling of long lines.
21149 ac_delim='%!_!# '
21150 for ac_last_try in false false :; do
21151 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21152 if test -z "$ac_tt"; then
21153 break
21154 elif $ac_last_try; then
21155 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21156 else
21157 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21159 done
21161 # For the awk script, D is an array of macro values keyed by name,
21162 # likewise P contains macro parameters if any. Preserve backslash
21163 # newline sequences.
21165 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21166 sed -n '
21167 s/.\{148\}/&'"$ac_delim"'/g
21168 t rset
21169 :rset
21170 s/^[ ]*#[ ]*define[ ][ ]*/ /
21171 t def
21173 :def
21174 s/\\$//
21175 t bsnl
21176 s/["\\]/\\&/g
21177 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21178 D["\1"]=" \3"/p
21179 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21181 :bsnl
21182 s/["\\]/\\&/g
21183 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21184 D["\1"]=" \3\\\\\\n"\\/p
21185 t cont
21186 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21187 t cont
21189 :cont
21191 s/.\{148\}/&'"$ac_delim"'/g
21192 t clear
21193 :clear
21194 s/\\$//
21195 t bsnlc
21196 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21198 :bsnlc
21199 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21200 b cont
21201 ' <confdefs.h | sed '
21202 s/'"$ac_delim"'/"\\\
21203 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21206 for (key in D) D_is_set[key] = 1
21207 FS = "\a"
21209 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21210 line = \$ 0
21211 split(line, arg, " ")
21212 if (arg[1] == "#") {
21213 defundef = arg[2]
21214 mac1 = arg[3]
21215 } else {
21216 defundef = substr(arg[1], 2)
21217 mac1 = arg[2]
21219 split(mac1, mac2, "(") #)
21220 macro = mac2[1]
21221 prefix = substr(line, 1, index(line, defundef) - 1)
21222 if (D_is_set[macro]) {
21223 # Preserve the white space surrounding the "#".
21224 print prefix "define", macro P[macro] D[macro]
21225 next
21226 } else {
21227 # Replace #undef with comments. This is necessary, for example,
21228 # in the case of _POSIX_SOURCE, which is predefined and required
21229 # on some systems where configure will not decide to define it.
21230 if (defundef == "undef") {
21231 print "/*", prefix defundef, macro, "*/"
21232 next
21236 { print }
21237 _ACAWK
21238 _ACEOF
21239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21240 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21241 fi # test -n "$CONFIG_HEADERS"
21244 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21245 shift
21246 for ac_tag
21248 case $ac_tag in
21249 :[FHLC]) ac_mode=$ac_tag; continue;;
21250 esac
21251 case $ac_mode$ac_tag in
21252 :[FHL]*:*);;
21253 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21254 :[FH]-) ac_tag=-:-;;
21255 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21256 esac
21257 ac_save_IFS=$IFS
21258 IFS=:
21259 set x $ac_tag
21260 IFS=$ac_save_IFS
21261 shift
21262 ac_file=$1
21263 shift
21265 case $ac_mode in
21266 :L) ac_source=$1;;
21267 :[FH])
21268 ac_file_inputs=
21269 for ac_f
21271 case $ac_f in
21272 -) ac_f="$ac_tmp/stdin";;
21273 *) # Look for the file first in the build tree, then in the source tree
21274 # (if the path is not absolute). The absolute path cannot be DOS-style,
21275 # because $ac_f cannot contain `:'.
21276 test -f "$ac_f" ||
21277 case $ac_f in
21278 [\\/$]*) false;;
21279 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21280 esac ||
21281 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21282 esac
21283 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21284 as_fn_append ac_file_inputs " '$ac_f'"
21285 done
21287 # Let's still pretend it is `configure' which instantiates (i.e., don't
21288 # use $as_me), people would be surprised to read:
21289 # /* config.h. Generated by config.status. */
21290 configure_input='Generated from '`
21291 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21292 `' by configure.'
21293 if test x"$ac_file" != x-; then
21294 configure_input="$ac_file. $configure_input"
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21296 $as_echo "$as_me: creating $ac_file" >&6;}
21298 # Neutralize special characters interpreted by sed in replacement strings.
21299 case $configure_input in #(
21300 *\&* | *\|* | *\\* )
21301 ac_sed_conf_input=`$as_echo "$configure_input" |
21302 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21303 *) ac_sed_conf_input=$configure_input;;
21304 esac
21306 case $ac_tag in
21307 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21308 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21309 esac
21311 esac
21313 ac_dir=`$as_dirname -- "$ac_file" ||
21314 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21315 X"$ac_file" : 'X\(//\)[^/]' \| \
21316 X"$ac_file" : 'X\(//\)$' \| \
21317 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21318 $as_echo X"$ac_file" |
21319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21320 s//\1/
21323 /^X\(\/\/\)[^/].*/{
21324 s//\1/
21327 /^X\(\/\/\)$/{
21328 s//\1/
21331 /^X\(\/\).*/{
21332 s//\1/
21335 s/.*/./; q'`
21336 as_dir="$ac_dir"; as_fn_mkdir_p
21337 ac_builddir=.
21339 case "$ac_dir" in
21340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21343 # A ".." for each directory in $ac_dir_suffix.
21344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21345 case $ac_top_builddir_sub in
21346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21348 esac ;;
21349 esac
21350 ac_abs_top_builddir=$ac_pwd
21351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21352 # for backward compatibility:
21353 ac_top_builddir=$ac_top_build_prefix
21355 case $srcdir in
21356 .) # We are building in place.
21357 ac_srcdir=.
21358 ac_top_srcdir=$ac_top_builddir_sub
21359 ac_abs_top_srcdir=$ac_pwd ;;
21360 [\\/]* | ?:[\\/]* ) # Absolute name.
21361 ac_srcdir=$srcdir$ac_dir_suffix;
21362 ac_top_srcdir=$srcdir
21363 ac_abs_top_srcdir=$srcdir ;;
21364 *) # Relative name.
21365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21366 ac_top_srcdir=$ac_top_build_prefix$srcdir
21367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21368 esac
21369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21372 case $ac_mode in
21375 # CONFIG_FILE
21378 _ACEOF
21380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21381 # If the template does not know about datarootdir, expand it.
21382 # FIXME: This hack should be removed a few years after 2.60.
21383 ac_datarootdir_hack=; ac_datarootdir_seen=
21384 ac_sed_dataroot='
21385 /datarootdir/ {
21389 /@datadir@/p
21390 /@docdir@/p
21391 /@infodir@/p
21392 /@localedir@/p
21393 /@mandir@/p'
21394 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21395 *datarootdir*) ac_datarootdir_seen=yes;;
21396 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21398 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21399 _ACEOF
21400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21401 ac_datarootdir_hack='
21402 s&@datadir@&$datadir&g
21403 s&@docdir@&$docdir&g
21404 s&@infodir@&$infodir&g
21405 s&@localedir@&$localedir&g
21406 s&@mandir@&$mandir&g
21407 s&\\\${datarootdir}&$datarootdir&g' ;;
21408 esac
21409 _ACEOF
21411 # Neutralize VPATH when `$srcdir' = `.'.
21412 # Shell code in configure.ac might set extrasub.
21413 # FIXME: do we really want to maintain this feature?
21414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21415 ac_sed_extra="$ac_vpsub
21416 $extrasub
21417 _ACEOF
21418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21420 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21421 s|@configure_input@|$ac_sed_conf_input|;t t
21422 s&@top_builddir@&$ac_top_builddir_sub&;t t
21423 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21424 s&@srcdir@&$ac_srcdir&;t t
21425 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21426 s&@top_srcdir@&$ac_top_srcdir&;t t
21427 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21428 s&@builddir@&$ac_builddir&;t t
21429 s&@abs_builddir@&$ac_abs_builddir&;t t
21430 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21431 $ac_datarootdir_hack
21433 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21434 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21436 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21437 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21438 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21439 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21441 which seems to be undefined. Please make sure it is defined" >&5
21442 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21443 which seems to be undefined. Please make sure it is defined" >&2;}
21445 rm -f "$ac_tmp/stdin"
21446 case $ac_file in
21447 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21448 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21449 esac \
21450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21454 # CONFIG_HEADER
21456 if test x"$ac_file" != x-; then
21458 $as_echo "/* $configure_input */" \
21459 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21460 } >"$ac_tmp/config.h" \
21461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21462 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21464 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21465 else
21466 rm -f "$ac_file"
21467 mv "$ac_tmp/config.h" "$ac_file" \
21468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21470 else
21471 $as_echo "/* $configure_input */" \
21472 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21473 || as_fn_error $? "could not create -" "$LINENO" 5
21478 # CONFIG_LINK
21481 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21483 else
21484 # Prefer the file from the source tree if names are identical.
21485 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21486 ac_source=$srcdir/$ac_source
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21490 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21492 if test ! -r "$ac_source"; then
21493 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21495 rm -f "$ac_file"
21497 # Try a relative symlink, then a hard link, then a copy.
21498 case $ac_source in
21499 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21500 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21501 esac
21502 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21503 ln "$ac_source" "$ac_file" 2>/dev/null ||
21504 cp -p "$ac_source" "$ac_file" ||
21505 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21508 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21509 $as_echo "$as_me: executing $ac_file commands" >&6;}
21511 esac
21514 case $ac_file$ac_mode in
21515 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21516 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21517 "Makefile":C) wine_fn_output_makefile Makefile ;;
21519 esac
21520 done # for ac_tag
21523 as_fn_exit 0
21524 _ACEOF
21525 ac_clean_files=$ac_clean_files_save
21527 test $ac_write_fail = 0 ||
21528 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21531 # configure is writing to config.log, and then calls config.status.
21532 # config.status does its own redirection, appending to config.log.
21533 # Unfortunately, on DOS this fails, as config.log is still kept open
21534 # by configure, so config.status won't be able to write to it; its
21535 # output is simply discarded. So we exec the FD to /dev/null,
21536 # effectively closing config.log, so it can be properly (re)opened and
21537 # appended to by config.status. When coming back to configure, we
21538 # need to make the FD available again.
21539 if test "$no_create" != yes; then
21540 ac_cs_success=:
21541 ac_config_status_args=
21542 test "$silent" = yes &&
21543 ac_config_status_args="$ac_config_status_args --quiet"
21544 exec 5>/dev/null
21545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21546 exec 5>>config.log
21547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21548 # would make configure fail if this is the last instruction.
21549 $ac_cs_success || as_fn_exit 1
21551 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21553 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21557 if test "$no_create" = "yes"
21558 then
21559 exit 0
21562 ac_save_IFS="$IFS"
21563 if test "x$wine_notices" != x; then
21564 echo >&6
21565 IFS="|"
21566 for msg in $wine_notices; do
21567 IFS="$ac_save_IFS"
21568 if ${msg:+false} :; then :
21570 else
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21572 $as_echo "$as_me: $msg" >&6;}
21574 done
21576 IFS="|"
21577 for msg in $wine_warnings; do
21578 IFS="$ac_save_IFS"
21579 if ${msg:+false} :; then :
21581 else
21582 echo >&2
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21584 $as_echo "$as_me: WARNING: $msg" >&2;}
21586 done
21587 IFS="$ac_save_IFS"
21589 $as_echo "
21590 $as_me: Finished. Do '${ac_make}' to compile Wine.
21591 " >&6