api-ms-win-core-comm-l1-1-0: Add dll.
[wine.git] / configure
blobc9ab5afd670f37fd5808ae85ce61afe3cb84afa2
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_synch_ansi_l1_1_0
1004 enable_api_ms_win_core_synch_l1_1_0
1005 enable_api_ms_win_core_synch_l1_2_0
1006 enable_api_ms_win_core_synch_l1_2_1
1007 enable_api_ms_win_core_sysinfo_l1_1_0
1008 enable_api_ms_win_core_sysinfo_l1_2_0
1009 enable_api_ms_win_core_sysinfo_l1_2_1
1010 enable_api_ms_win_core_threadpool_l1_1_0
1011 enable_api_ms_win_core_threadpool_l1_2_0
1012 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1013 enable_api_ms_win_core_threadpool_private_l1_1_0
1014 enable_api_ms_win_core_timezone_l1_1_0
1015 enable_api_ms_win_core_toolhelp_l1_1_0
1016 enable_api_ms_win_core_url_l1_1_0
1017 enable_api_ms_win_core_util_l1_1_0
1018 enable_api_ms_win_core_version_l1_1_0
1019 enable_api_ms_win_core_version_l1_1_1
1020 enable_api_ms_win_core_version_private_l1_1_0
1021 enable_api_ms_win_core_versionansi_l1_1_0
1022 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1023 enable_api_ms_win_core_winrt_error_l1_1_0
1024 enable_api_ms_win_core_winrt_error_l1_1_1
1025 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1026 enable_api_ms_win_core_winrt_l1_1_0
1027 enable_api_ms_win_core_winrt_registration_l1_1_0
1028 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1029 enable_api_ms_win_core_winrt_string_l1_1_0
1030 enable_api_ms_win_core_wow64_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_1
1032 enable_api_ms_win_core_xstate_l1_1_0
1033 enable_api_ms_win_core_xstate_l2_1_0
1034 enable_api_ms_win_crt_conio_l1_1_0
1035 enable_api_ms_win_crt_convert_l1_1_0
1036 enable_api_ms_win_crt_environment_l1_1_0
1037 enable_api_ms_win_crt_filesystem_l1_1_0
1038 enable_api_ms_win_crt_heap_l1_1_0
1039 enable_api_ms_win_crt_locale_l1_1_0
1040 enable_api_ms_win_crt_math_l1_1_0
1041 enable_api_ms_win_crt_multibyte_l1_1_0
1042 enable_api_ms_win_crt_private_l1_1_0
1043 enable_api_ms_win_crt_process_l1_1_0
1044 enable_api_ms_win_crt_runtime_l1_1_0
1045 enable_api_ms_win_crt_stdio_l1_1_0
1046 enable_api_ms_win_crt_string_l1_1_0
1047 enable_api_ms_win_crt_time_l1_1_0
1048 enable_api_ms_win_crt_utility_l1_1_0
1049 enable_api_ms_win_devices_config_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_1
1051 enable_api_ms_win_devices_query_l1_1_1
1052 enable_api_ms_win_downlevel_advapi32_l1_1_0
1053 enable_api_ms_win_downlevel_advapi32_l2_1_0
1054 enable_api_ms_win_downlevel_normaliz_l1_1_0
1055 enable_api_ms_win_downlevel_ole32_l1_1_0
1056 enable_api_ms_win_downlevel_shell32_l1_1_0
1057 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1059 enable_api_ms_win_downlevel_user32_l1_1_0
1060 enable_api_ms_win_downlevel_version_l1_1_0
1061 enable_api_ms_win_dx_d3dkmt_l1_1_0
1062 enable_api_ms_win_eventing_classicprovider_l1_1_0
1063 enable_api_ms_win_eventing_consumer_l1_1_0
1064 enable_api_ms_win_eventing_controller_l1_1_0
1065 enable_api_ms_win_eventing_legacy_l1_1_0
1066 enable_api_ms_win_eventing_provider_l1_1_0
1067 enable_api_ms_win_eventlog_legacy_l1_1_0
1068 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1069 enable_api_ms_win_mm_joystick_l1_1_0
1070 enable_api_ms_win_mm_misc_l1_1_1
1071 enable_api_ms_win_mm_mme_l1_1_0
1072 enable_api_ms_win_mm_time_l1_1_0
1073 enable_api_ms_win_ntuser_dc_access_l1_1_0
1074 enable_api_ms_win_ntuser_rectangle_l1_1_0
1075 enable_api_ms_win_perf_legacy_l1_1_0
1076 enable_api_ms_win_power_base_l1_1_0
1077 enable_api_ms_win_power_setting_l1_1_0
1078 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1081 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1085 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1086 enable_api_ms_win_security_audit_l1_1_1
1087 enable_api_ms_win_security_base_l1_1_0
1088 enable_api_ms_win_security_base_l1_2_0
1089 enable_api_ms_win_security_base_private_l1_1_1
1090 enable_api_ms_win_security_credentials_l1_1_0
1091 enable_api_ms_win_security_grouppolicy_l1_1_0
1092 enable_api_ms_win_security_lsalookup_l1_1_0
1093 enable_api_ms_win_security_lsalookup_l1_1_1
1094 enable_api_ms_win_security_lsalookup_l2_1_0
1095 enable_api_ms_win_security_lsalookup_l2_1_1
1096 enable_api_ms_win_security_lsapolicy_l1_1_0
1097 enable_api_ms_win_security_provider_l1_1_0
1098 enable_api_ms_win_security_sddl_l1_1_0
1099 enable_api_ms_win_security_systemfunctions_l1_1_0
1100 enable_api_ms_win_service_core_l1_1_0
1101 enable_api_ms_win_service_core_l1_1_1
1102 enable_api_ms_win_service_management_l1_1_0
1103 enable_api_ms_win_service_management_l2_1_0
1104 enable_api_ms_win_service_private_l1_1_1
1105 enable_api_ms_win_service_winsvc_l1_1_0
1106 enable_api_ms_win_service_winsvc_l1_2_0
1107 enable_api_ms_win_shcore_obsolete_l1_1_0
1108 enable_api_ms_win_shcore_scaling_l1_1_1
1109 enable_api_ms_win_shcore_stream_l1_1_0
1110 enable_api_ms_win_shcore_thread_l1_1_0
1111 enable_api_ms_win_shell_shellcom_l1_1_0
1112 enable_api_ms_win_shell_shellfolders_l1_1_0
1113 enable_apphelp
1114 enable_appwiz_cpl
1115 enable_atl
1116 enable_atl100
1117 enable_atl110
1118 enable_atl80
1119 enable_atl90
1120 enable_atmlib
1121 enable_authz
1122 enable_avicap32
1123 enable_avifil32
1124 enable_avrt
1125 enable_bcrypt
1126 enable_bluetoothapis
1127 enable_browseui
1128 enable_bthprops_cpl
1129 enable_cabinet
1130 enable_capi2032
1131 enable_cards
1132 enable_cdosys
1133 enable_cfgmgr32
1134 enable_clusapi
1135 enable_combase
1136 enable_comcat
1137 enable_comctl32
1138 enable_comdlg32
1139 enable_compstui
1140 enable_comsvcs
1141 enable_concrt140
1142 enable_connect
1143 enable_credui
1144 enable_crtdll
1145 enable_crypt32
1146 enable_cryptdlg
1147 enable_cryptdll
1148 enable_cryptext
1149 enable_cryptnet
1150 enable_cryptui
1151 enable_ctapi32
1152 enable_ctl3d32
1153 enable_d2d1
1154 enable_d3d10
1155 enable_d3d10_1
1156 enable_d3d10core
1157 enable_d3d11
1158 enable_d3d12
1159 enable_d3d8
1160 enable_d3d9
1161 enable_d3dcompiler_33
1162 enable_d3dcompiler_34
1163 enable_d3dcompiler_35
1164 enable_d3dcompiler_36
1165 enable_d3dcompiler_37
1166 enable_d3dcompiler_38
1167 enable_d3dcompiler_39
1168 enable_d3dcompiler_40
1169 enable_d3dcompiler_41
1170 enable_d3dcompiler_42
1171 enable_d3dcompiler_43
1172 enable_d3dcompiler_46
1173 enable_d3dcompiler_47
1174 enable_d3dim
1175 enable_d3drm
1176 enable_d3dx10_33
1177 enable_d3dx10_34
1178 enable_d3dx10_35
1179 enable_d3dx10_36
1180 enable_d3dx10_37
1181 enable_d3dx10_38
1182 enable_d3dx10_39
1183 enable_d3dx10_40
1184 enable_d3dx10_41
1185 enable_d3dx10_42
1186 enable_d3dx10_43
1187 enable_d3dx11_42
1188 enable_d3dx11_43
1189 enable_d3dx9_24
1190 enable_d3dx9_25
1191 enable_d3dx9_26
1192 enable_d3dx9_27
1193 enable_d3dx9_28
1194 enable_d3dx9_29
1195 enable_d3dx9_30
1196 enable_d3dx9_31
1197 enable_d3dx9_32
1198 enable_d3dx9_33
1199 enable_d3dx9_34
1200 enable_d3dx9_35
1201 enable_d3dx9_36
1202 enable_d3dx9_37
1203 enable_d3dx9_38
1204 enable_d3dx9_39
1205 enable_d3dx9_40
1206 enable_d3dx9_41
1207 enable_d3dx9_42
1208 enable_d3dx9_43
1209 enable_d3dxof
1210 enable_davclnt
1211 enable_dbgeng
1212 enable_dbghelp
1213 enable_dciman32
1214 enable_ddraw
1215 enable_ddrawex
1216 enable_devenum
1217 enable_dhcpcsvc
1218 enable_dhtmled_ocx
1219 enable_difxapi
1220 enable_dinput
1221 enable_dinput8
1222 enable_dispex
1223 enable_dmband
1224 enable_dmcompos
1225 enable_dmime
1226 enable_dmloader
1227 enable_dmoguids
1228 enable_dmscript
1229 enable_dmstyle
1230 enable_dmsynth
1231 enable_dmusic
1232 enable_dmusic32
1233 enable_dnsapi
1234 enable_dplay
1235 enable_dplayx
1236 enable_dpnaddr
1237 enable_dpnet
1238 enable_dpnhpast
1239 enable_dpnlobby
1240 enable_dpvoice
1241 enable_dpwsockx
1242 enable_drmclien
1243 enable_dsound
1244 enable_dsquery
1245 enable_dssenh
1246 enable_dswave
1247 enable_dwmapi
1248 enable_dwrite
1249 enable_dx8vb
1250 enable_dxdiagn
1251 enable_dxerr8
1252 enable_dxerr9
1253 enable_dxgi
1254 enable_dxguid
1255 enable_dxva2
1256 enable_esent
1257 enable_evr
1258 enable_explorerframe
1259 enable_ext_ms_win_authz_context_l1_1_0
1260 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1261 enable_ext_ms_win_dwmapi_ext_l1_1_0
1262 enable_ext_ms_win_gdi_dc_create_l1_1_1
1263 enable_ext_ms_win_gdi_dc_l1_2_0
1264 enable_ext_ms_win_gdi_devcaps_l1_1_0
1265 enable_ext_ms_win_gdi_draw_l1_1_1
1266 enable_ext_ms_win_gdi_render_l1_1_0
1267 enable_ext_ms_win_kernel32_package_current_l1_1_0
1268 enable_ext_ms_win_kernel32_package_l1_1_1
1269 enable_ext_ms_win_ntuser_draw_l1_1_0
1270 enable_ext_ms_win_ntuser_gui_l1_3_0
1271 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1272 enable_ext_ms_win_ntuser_message_l1_1_1
1273 enable_ext_ms_win_ntuser_misc_l1_5_1
1274 enable_ext_ms_win_ntuser_mouse_l1_1_0
1275 enable_ext_ms_win_ntuser_private_l1_1_1
1276 enable_ext_ms_win_ntuser_private_l1_3_1
1277 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1278 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1279 enable_ext_ms_win_ntuser_window_l1_1_1
1280 enable_ext_ms_win_ntuser_window_l1_1_4
1281 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1282 enable_ext_ms_win_oleacc_l1_1_0
1283 enable_ext_ms_win_ras_rasapi32_l1_1_0
1284 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1285 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1286 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1287 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1288 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1291 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1293 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1294 enable_ext_ms_win_security_credui_l1_1_0
1295 enable_ext_ms_win_security_cryptui_l1_1_0
1296 enable_ext_ms_win_uxtheme_themes_l1_1_0
1297 enable_faultrep
1298 enable_feclient
1299 enable_fltlib
1300 enable_fltmgr_sys
1301 enable_fntcache
1302 enable_fontsub
1303 enable_fusion
1304 enable_fwpuclnt
1305 enable_gameux
1306 enable_gdi32
1307 enable_gdiplus
1308 enable_glu32
1309 enable_gphoto2_ds
1310 enable_gpkcsp
1311 enable_hal
1312 enable_hhctrl_ocx
1313 enable_hid
1314 enable_hidclass_sys
1315 enable_hlink
1316 enable_hnetcfg
1317 enable_httpapi
1318 enable_iccvid
1319 enable_icmp
1320 enable_ieframe
1321 enable_ieproxy
1322 enable_imaadp32_acm
1323 enable_imagehlp
1324 enable_imm32
1325 enable_inetcomm
1326 enable_inetcpl_cpl
1327 enable_inetmib1
1328 enable_infosoft
1329 enable_initpki
1330 enable_inkobj
1331 enable_inseng
1332 enable_iphlpapi
1333 enable_iprop
1334 enable_irprops_cpl
1335 enable_itircl
1336 enable_itss
1337 enable_joy_cpl
1338 enable_jscript
1339 enable_jsproxy
1340 enable_kerberos
1341 enable_kernel32
1342 enable_kernelbase
1343 enable_ksuser
1344 enable_ktmw32
1345 enable_l3codeca_acm
1346 enable_loadperf
1347 enable_localspl
1348 enable_localui
1349 enable_lz32
1350 enable_mapi32
1351 enable_mapistub
1352 enable_mciavi32
1353 enable_mcicda
1354 enable_mciqtz32
1355 enable_mciseq
1356 enable_mciwave
1357 enable_mf
1358 enable_mf3216
1359 enable_mfplat
1360 enable_mfreadwrite
1361 enable_mfuuid
1362 enable_mgmtapi
1363 enable_midimap
1364 enable_mlang
1365 enable_mmcndmgr
1366 enable_mmdevapi
1367 enable_mountmgr_sys
1368 enable_mp3dmod
1369 enable_mpr
1370 enable_mprapi
1371 enable_msacm32_drv
1372 enable_msacm32
1373 enable_msadp32_acm
1374 enable_msasn1
1375 enable_mscat32
1376 enable_mscms
1377 enable_mscoree
1378 enable_msctf
1379 enable_msctfp
1380 enable_msdaps
1381 enable_msdelta
1382 enable_msdmo
1383 enable_msdrm
1384 enable_msftedit
1385 enable_msg711_acm
1386 enable_msgsm32_acm
1387 enable_mshtml_tlb
1388 enable_mshtml
1389 enable_msi
1390 enable_msident
1391 enable_msimg32
1392 enable_msimsg
1393 enable_msimtf
1394 enable_msisip
1395 enable_msisys_ocx
1396 enable_msls31
1397 enable_msnet32
1398 enable_mspatcha
1399 enable_msports
1400 enable_msrle32
1401 enable_msscript_ocx
1402 enable_mssign32
1403 enable_mssip32
1404 enable_mstask
1405 enable_msvcirt
1406 enable_msvcm80
1407 enable_msvcm90
1408 enable_msvcp100
1409 enable_msvcp110
1410 enable_msvcp120
1411 enable_msvcp120_app
1412 enable_msvcp140
1413 enable_msvcp60
1414 enable_msvcp70
1415 enable_msvcp71
1416 enable_msvcp80
1417 enable_msvcp90
1418 enable_msvcr100
1419 enable_msvcr110
1420 enable_msvcr120
1421 enable_msvcr120_app
1422 enable_msvcr70
1423 enable_msvcr71
1424 enable_msvcr80
1425 enable_msvcr90
1426 enable_msvcrt
1427 enable_msvcrt20
1428 enable_msvcrt40
1429 enable_msvcrtd
1430 enable_msvfw32
1431 enable_msvidc32
1432 enable_mswsock
1433 enable_msxml
1434 enable_msxml2
1435 enable_msxml3
1436 enable_msxml4
1437 enable_msxml6
1438 enable_mtxdm
1439 enable_ncrypt
1440 enable_nddeapi
1441 enable_ndis_sys
1442 enable_netapi32
1443 enable_netcfgx
1444 enable_netprofm
1445 enable_newdev
1446 enable_ninput
1447 enable_normaliz
1448 enable_npmshtml
1449 enable_npptools
1450 enable_ntdll
1451 enable_ntdsapi
1452 enable_ntoskrnl_exe
1453 enable_ntprint
1454 enable_objsel
1455 enable_odbc32
1456 enable_odbccp32
1457 enable_odbccu32
1458 enable_ole32
1459 enable_oleacc
1460 enable_oleaut32
1461 enable_olecli32
1462 enable_oledb32
1463 enable_oledlg
1464 enable_olepro32
1465 enable_olesvr32
1466 enable_olethk32
1467 enable_opcservices
1468 enable_openal32
1469 enable_opencl
1470 enable_opengl32
1471 enable_packager
1472 enable_pdh
1473 enable_photometadatahandler
1474 enable_pidgen
1475 enable_powrprof
1476 enable_printui
1477 enable_prntvpt
1478 enable_propsys
1479 enable_psapi
1480 enable_pstorec
1481 enable_qcap
1482 enable_qedit
1483 enable_qmgr
1484 enable_qmgrprxy
1485 enable_quartz
1486 enable_query
1487 enable_rasapi32
1488 enable_rasdlg
1489 enable_regapi
1490 enable_resutils
1491 enable_riched20
1492 enable_riched32
1493 enable_rpcrt4
1494 enable_rsabase
1495 enable_rsaenh
1496 enable_rstrtmgr
1497 enable_rtutils
1498 enable_samlib
1499 enable_sane_ds
1500 enable_sapi
1501 enable_sas
1502 enable_scarddlg
1503 enable_sccbase
1504 enable_schannel
1505 enable_schedsvc
1506 enable_scrobj
1507 enable_scrrun
1508 enable_scsiport_sys
1509 enable_secur32
1510 enable_security
1511 enable_sensapi
1512 enable_serialui
1513 enable_setupapi
1514 enable_sfc
1515 enable_sfc_os
1516 enable_shcore
1517 enable_shdoclc
1518 enable_shdocvw
1519 enable_shell32
1520 enable_shfolder
1521 enable_shlwapi
1522 enable_slbcsp
1523 enable_slc
1524 enable_snmpapi
1525 enable_softpub
1526 enable_spoolss
1527 enable_srclient
1528 enable_sspicli
1529 enable_stdole2_tlb
1530 enable_stdole32_tlb
1531 enable_sti
1532 enable_strmbase
1533 enable_strmdll
1534 enable_strmiids
1535 enable_svrapi
1536 enable_sxs
1537 enable_t2embed
1538 enable_tapi32
1539 enable_taskschd
1540 enable_tdh
1541 enable_tdi_sys
1542 enable_traffic
1543 enable_twain_32
1544 enable_ucrtbase
1545 enable_uiautomationcore
1546 enable_uiribbon
1547 enable_unicows
1548 enable_updspapi
1549 enable_url
1550 enable_urlmon
1551 enable_usbd_sys
1552 enable_user32
1553 enable_userenv
1554 enable_usp10
1555 enable_uuid
1556 enable_uxtheme
1557 enable_vbscript
1558 enable_vcomp
1559 enable_vcomp100
1560 enable_vcomp110
1561 enable_vcomp120
1562 enable_vcomp140
1563 enable_vcomp90
1564 enable_vcruntime140
1565 enable_vdmdbg
1566 enable_version
1567 enable_virtdisk
1568 enable_vssapi
1569 enable_vulkan_1
1570 enable_wbemdisp
1571 enable_wbemprox
1572 enable_wdscore
1573 enable_webservices
1574 enable_wer
1575 enable_wevtapi
1576 enable_wiaservc
1577 enable_wimgapi
1578 enable_windowscodecs
1579 enable_windowscodecsext
1580 enable_winealsa_drv
1581 enable_wineandroid_drv
1582 enable_winebus_sys
1583 enable_winecoreaudio_drv
1584 enable_winecrt0
1585 enable_wined3d
1586 enable_winegstreamer
1587 enable_winehid_sys
1588 enable_winejoystick_drv
1589 enable_winemac_drv
1590 enable_winemapi
1591 enable_wineoss_drv
1592 enable_wineps_drv
1593 enable_winepulse_drv
1594 enable_wineqtdecoder
1595 enable_winevulkan
1596 enable_winex11_drv
1597 enable_wing32
1598 enable_winhttp
1599 enable_wininet
1600 enable_winmm
1601 enable_winnls32
1602 enable_winscard
1603 enable_winspool_drv
1604 enable_winsta
1605 enable_wintab32
1606 enable_wintrust
1607 enable_winusb
1608 enable_wlanapi
1609 enable_wldap32
1610 enable_wmasf
1611 enable_wmcodecdspuuid
1612 enable_wmi
1613 enable_wmiutils
1614 enable_wmp
1615 enable_wmphoto
1616 enable_wmvcore
1617 enable_wnaspi32
1618 enable_wpc
1619 enable_wpcap
1620 enable_ws2_32
1621 enable_wsdapi
1622 enable_wshom_ocx
1623 enable_wsnmp32
1624 enable_wsock32
1625 enable_wtsapi32
1626 enable_wuapi
1627 enable_wuaueng
1628 enable_x3daudio1_0
1629 enable_x3daudio1_1
1630 enable_x3daudio1_2
1631 enable_x3daudio1_3
1632 enable_x3daudio1_4
1633 enable_x3daudio1_5
1634 enable_x3daudio1_6
1635 enable_x3daudio1_7
1636 enable_xapofx1_1
1637 enable_xapofx1_2
1638 enable_xapofx1_3
1639 enable_xapofx1_4
1640 enable_xapofx1_5
1641 enable_xaudio2_0
1642 enable_xaudio2_1
1643 enable_xaudio2_2
1644 enable_xaudio2_3
1645 enable_xaudio2_4
1646 enable_xaudio2_5
1647 enable_xaudio2_6
1648 enable_xaudio2_7
1649 enable_xaudio2_8
1650 enable_xaudio2_9
1651 enable_xinput1_1
1652 enable_xinput1_2
1653 enable_xinput1_3
1654 enable_xinput1_4
1655 enable_xinput9_1_0
1656 enable_xmllite
1657 enable_xolehlp
1658 enable_xpsprint
1659 enable_xpssvcs
1660 enable_fonts
1661 enable_include
1662 enable_port
1663 enable_wine
1664 enable_wpp
1665 enable_loader
1666 enable_po
1667 enable_arp
1668 enable_aspnet_regiis
1669 enable_attrib
1670 enable_cabarc
1671 enable_cacls
1672 enable_clock
1673 enable_cmd
1674 enable_conhost
1675 enable_control
1676 enable_cscript
1677 enable_dism
1678 enable_dpnsvr
1679 enable_dxdiag
1680 enable_eject
1681 enable_expand
1682 enable_explorer
1683 enable_extrac32
1684 enable_fc
1685 enable_find
1686 enable_findstr
1687 enable_fsutil
1688 enable_hh
1689 enable_hostname
1690 enable_icacls
1691 enable_icinfo
1692 enable_iexplore
1693 enable_ipconfig
1694 enable_lodctr
1695 enable_mofcomp
1696 enable_mshta
1697 enable_msiexec
1698 enable_msinfo32
1699 enable_net
1700 enable_netsh
1701 enable_netstat
1702 enable_ngen
1703 enable_notepad
1704 enable_oleview
1705 enable_ping
1706 enable_plugplay
1707 enable_powershell
1708 enable_presentationfontcache
1709 enable_progman
1710 enable_reg
1711 enable_regasm
1712 enable_regedit
1713 enable_regsvcs
1714 enable_regsvr32
1715 enable_rpcss
1716 enable_rundll32
1717 enable_sc
1718 enable_schtasks
1719 enable_sdbinst
1720 enable_secedit
1721 enable_servicemodelreg
1722 enable_services
1723 enable_shutdown
1724 enable_spoolsv
1725 enable_start
1726 enable_subst
1727 enable_svchost
1728 enable_systeminfo
1729 enable_taskkill
1730 enable_tasklist
1731 enable_taskmgr
1732 enable_termsv
1733 enable_uninstaller
1734 enable_unlodctr
1735 enable_view
1736 enable_wevtutil
1737 enable_wineboot
1738 enable_winebrowser
1739 enable_winecfg
1740 enable_wineconsole
1741 enable_winedbg
1742 enable_winedevice
1743 enable_winefile
1744 enable_winemenubuilder
1745 enable_winemine
1746 enable_winemsibuilder
1747 enable_winepath
1748 enable_winetest
1749 enable_winhlp32
1750 enable_winmgmt
1751 enable_winver
1752 enable_wmic
1753 enable_wmplayer
1754 enable_wordpad
1755 enable_write
1756 enable_wscript
1757 enable_wusa
1758 enable_xcopy
1759 enable_server
1760 enable_tools
1761 enable_sfnt2fon
1762 enable_widl
1763 enable_winebuild
1764 enable_winedump
1765 enable_winegcc
1766 enable_winemaker
1767 enable_wmc
1768 enable_wrc
1770 ac_precious_vars='build_alias
1771 host_alias
1772 target_alias
1774 CFLAGS
1775 LDFLAGS
1776 LIBS
1777 CPPFLAGS
1779 CXXFLAGS
1782 OBJC
1783 OBJCFLAGS
1784 OBJCPP
1785 XMKMF
1786 XML2_CFLAGS
1787 XML2_LIBS
1788 XSLT_CFLAGS
1789 XSLT_LIBS
1790 DBUS_CFLAGS
1791 DBUS_LIBS
1792 HAL_CFLAGS
1793 HAL_LIBS
1794 GNUTLS_CFLAGS
1795 GNUTLS_LIBS
1796 SANE_CFLAGS
1797 SANE_LIBS
1798 GPHOTO2_CFLAGS
1799 GPHOTO2_LIBS
1800 GPHOTO2_PORT_CFLAGS
1801 GPHOTO2_PORT_LIBS
1802 LCMS2_CFLAGS
1803 LCMS2_LIBS
1804 FREETYPE_CFLAGS
1805 FREETYPE_LIBS
1806 PULSE_CFLAGS
1807 PULSE_LIBS
1808 GSTREAMER_CFLAGS
1809 GSTREAMER_LIBS
1810 UDEV_CFLAGS
1811 UDEV_LIBS
1812 SDL2_CFLAGS
1813 SDL2_LIBS
1814 CAPI20_CFLAGS
1815 CAPI20_LIBS
1816 CUPS_CFLAGS
1817 CUPS_LIBS
1818 FONTCONFIG_CFLAGS
1819 FONTCONFIG_LIBS
1820 KRB5_CFLAGS
1821 KRB5_LIBS
1822 GSSAPI_CFLAGS
1823 GSSAPI_LIBS
1824 JPEG_CFLAGS
1825 JPEG_LIBS
1826 PNG_CFLAGS
1827 PNG_LIBS
1828 TIFF_CFLAGS
1829 TIFF_LIBS
1830 MPG123_CFLAGS
1831 MPG123_LIBS
1832 NETAPI_CFLAGS
1833 NETAPI_LIBS
1834 VKD3D_CFLAGS
1835 VKD3D_LIBS
1836 LDAP_CFLAGS
1837 LDAP_LIBS'
1840 # Initialize some variables set by options.
1841 ac_init_help=
1842 ac_init_version=false
1843 ac_unrecognized_opts=
1844 ac_unrecognized_sep=
1845 # The variables have the same names as the options, with
1846 # dashes changed to underlines.
1847 cache_file=/dev/null
1848 exec_prefix=NONE
1849 no_create=
1850 no_recursion=
1851 prefix=NONE
1852 program_prefix=NONE
1853 program_suffix=NONE
1854 program_transform_name=s,x,x,
1855 silent=
1856 site=
1857 srcdir=
1858 verbose=
1859 x_includes=NONE
1860 x_libraries=NONE
1862 # Installation directory options.
1863 # These are left unexpanded so users can "make install exec_prefix=/foo"
1864 # and all the variables that are supposed to be based on exec_prefix
1865 # by default will actually change.
1866 # Use braces instead of parens because sh, perl, etc. also accept them.
1867 # (The list follows the same order as the GNU Coding Standards.)
1868 bindir='${exec_prefix}/bin'
1869 sbindir='${exec_prefix}/sbin'
1870 libexecdir='${exec_prefix}/libexec'
1871 datarootdir='${prefix}/share'
1872 datadir='${datarootdir}'
1873 sysconfdir='${prefix}/etc'
1874 sharedstatedir='${prefix}/com'
1875 localstatedir='${prefix}/var'
1876 runstatedir='${localstatedir}/run'
1877 includedir='${prefix}/include'
1878 oldincludedir='/usr/include'
1879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1880 infodir='${datarootdir}/info'
1881 htmldir='${docdir}'
1882 dvidir='${docdir}'
1883 pdfdir='${docdir}'
1884 psdir='${docdir}'
1885 libdir='${exec_prefix}/lib'
1886 localedir='${datarootdir}/locale'
1887 mandir='${datarootdir}/man'
1889 ac_prev=
1890 ac_dashdash=
1891 for ac_option
1893 # If the previous option needs an argument, assign it.
1894 if test -n "$ac_prev"; then
1895 eval $ac_prev=\$ac_option
1896 ac_prev=
1897 continue
1900 case $ac_option in
1901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1902 *=) ac_optarg= ;;
1903 *) ac_optarg=yes ;;
1904 esac
1906 # Accept the important Cygnus configure options, so we can diagnose typos.
1908 case $ac_dashdash$ac_option in
1910 ac_dashdash=yes ;;
1912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1913 ac_prev=bindir ;;
1914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1915 bindir=$ac_optarg ;;
1917 -build | --build | --buil | --bui | --bu)
1918 ac_prev=build_alias ;;
1919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1920 build_alias=$ac_optarg ;;
1922 -cache-file | --cache-file | --cache-fil | --cache-fi \
1923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1924 ac_prev=cache_file ;;
1925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1927 cache_file=$ac_optarg ;;
1929 --config-cache | -C)
1930 cache_file=config.cache ;;
1932 -datadir | --datadir | --datadi | --datad)
1933 ac_prev=datadir ;;
1934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1935 datadir=$ac_optarg ;;
1937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1938 | --dataroo | --dataro | --datar)
1939 ac_prev=datarootdir ;;
1940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1942 datarootdir=$ac_optarg ;;
1944 -disable-* | --disable-*)
1945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1946 # Reject names that are not valid shell variable names.
1947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1948 as_fn_error $? "invalid feature name: $ac_useropt"
1949 ac_useropt_orig=$ac_useropt
1950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1951 case $ac_user_opts in
1953 "enable_$ac_useropt"
1954 "*) ;;
1955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1956 ac_unrecognized_sep=', ';;
1957 esac
1958 eval enable_$ac_useropt=no ;;
1960 -docdir | --docdir | --docdi | --doc | --do)
1961 ac_prev=docdir ;;
1962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1963 docdir=$ac_optarg ;;
1965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1966 ac_prev=dvidir ;;
1967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1968 dvidir=$ac_optarg ;;
1970 -enable-* | --enable-*)
1971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1972 # Reject names that are not valid shell variable names.
1973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1974 as_fn_error $? "invalid feature name: $ac_useropt"
1975 ac_useropt_orig=$ac_useropt
1976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1977 case $ac_user_opts in
1979 "enable_$ac_useropt"
1980 "*) ;;
1981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1982 ac_unrecognized_sep=', ';;
1983 esac
1984 eval enable_$ac_useropt=\$ac_optarg ;;
1986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1988 | --exec | --exe | --ex)
1989 ac_prev=exec_prefix ;;
1990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1992 | --exec=* | --exe=* | --ex=*)
1993 exec_prefix=$ac_optarg ;;
1995 -gas | --gas | --ga | --g)
1996 # Obsolete; use --with-gas.
1997 with_gas=yes ;;
1999 -help | --help | --hel | --he | -h)
2000 ac_init_help=long ;;
2001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2002 ac_init_help=recursive ;;
2003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2004 ac_init_help=short ;;
2006 -host | --host | --hos | --ho)
2007 ac_prev=host_alias ;;
2008 -host=* | --host=* | --hos=* | --ho=*)
2009 host_alias=$ac_optarg ;;
2011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2012 ac_prev=htmldir ;;
2013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2014 | --ht=*)
2015 htmldir=$ac_optarg ;;
2017 -includedir | --includedir | --includedi | --included | --include \
2018 | --includ | --inclu | --incl | --inc)
2019 ac_prev=includedir ;;
2020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2021 | --includ=* | --inclu=* | --incl=* | --inc=*)
2022 includedir=$ac_optarg ;;
2024 -infodir | --infodir | --infodi | --infod | --info | --inf)
2025 ac_prev=infodir ;;
2026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2027 infodir=$ac_optarg ;;
2029 -libdir | --libdir | --libdi | --libd)
2030 ac_prev=libdir ;;
2031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2032 libdir=$ac_optarg ;;
2034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2035 | --libexe | --libex | --libe)
2036 ac_prev=libexecdir ;;
2037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2038 | --libexe=* | --libex=* | --libe=*)
2039 libexecdir=$ac_optarg ;;
2041 -localedir | --localedir | --localedi | --localed | --locale)
2042 ac_prev=localedir ;;
2043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2044 localedir=$ac_optarg ;;
2046 -localstatedir | --localstatedir | --localstatedi | --localstated \
2047 | --localstate | --localstat | --localsta | --localst | --locals)
2048 ac_prev=localstatedir ;;
2049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2051 localstatedir=$ac_optarg ;;
2053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2054 ac_prev=mandir ;;
2055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2056 mandir=$ac_optarg ;;
2058 -nfp | --nfp | --nf)
2059 # Obsolete; use --without-fp.
2060 with_fp=no ;;
2062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2063 | --no-cr | --no-c | -n)
2064 no_create=yes ;;
2066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2068 no_recursion=yes ;;
2070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2072 | --oldin | --oldi | --old | --ol | --o)
2073 ac_prev=oldincludedir ;;
2074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2077 oldincludedir=$ac_optarg ;;
2079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2080 ac_prev=prefix ;;
2081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2082 prefix=$ac_optarg ;;
2084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2085 | --program-pre | --program-pr | --program-p)
2086 ac_prev=program_prefix ;;
2087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2089 program_prefix=$ac_optarg ;;
2091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2092 | --program-suf | --program-su | --program-s)
2093 ac_prev=program_suffix ;;
2094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2096 program_suffix=$ac_optarg ;;
2098 -program-transform-name | --program-transform-name \
2099 | --program-transform-nam | --program-transform-na \
2100 | --program-transform-n | --program-transform- \
2101 | --program-transform | --program-transfor \
2102 | --program-transfo | --program-transf \
2103 | --program-trans | --program-tran \
2104 | --progr-tra | --program-tr | --program-t)
2105 ac_prev=program_transform_name ;;
2106 -program-transform-name=* | --program-transform-name=* \
2107 | --program-transform-nam=* | --program-transform-na=* \
2108 | --program-transform-n=* | --program-transform-=* \
2109 | --program-transform=* | --program-transfor=* \
2110 | --program-transfo=* | --program-transf=* \
2111 | --program-trans=* | --program-tran=* \
2112 | --progr-tra=* | --program-tr=* | --program-t=*)
2113 program_transform_name=$ac_optarg ;;
2115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2116 ac_prev=pdfdir ;;
2117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2118 pdfdir=$ac_optarg ;;
2120 -psdir | --psdir | --psdi | --psd | --ps)
2121 ac_prev=psdir ;;
2122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2123 psdir=$ac_optarg ;;
2125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2126 | -silent | --silent | --silen | --sile | --sil)
2127 silent=yes ;;
2129 -runstatedir | --runstatedir | --runstatedi | --runstated \
2130 | --runstate | --runstat | --runsta | --runst | --runs \
2131 | --run | --ru | --r)
2132 ac_prev=runstatedir ;;
2133 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2134 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2135 | --run=* | --ru=* | --r=*)
2136 runstatedir=$ac_optarg ;;
2138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2139 ac_prev=sbindir ;;
2140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2141 | --sbi=* | --sb=*)
2142 sbindir=$ac_optarg ;;
2144 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2145 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2146 | --sharedst | --shareds | --shared | --share | --shar \
2147 | --sha | --sh)
2148 ac_prev=sharedstatedir ;;
2149 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2150 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2151 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2152 | --sha=* | --sh=*)
2153 sharedstatedir=$ac_optarg ;;
2155 -site | --site | --sit)
2156 ac_prev=site ;;
2157 -site=* | --site=* | --sit=*)
2158 site=$ac_optarg ;;
2160 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2161 ac_prev=srcdir ;;
2162 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2163 srcdir=$ac_optarg ;;
2165 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2166 | --syscon | --sysco | --sysc | --sys | --sy)
2167 ac_prev=sysconfdir ;;
2168 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2169 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2170 sysconfdir=$ac_optarg ;;
2172 -target | --target | --targe | --targ | --tar | --ta | --t)
2173 ac_prev=target_alias ;;
2174 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2175 target_alias=$ac_optarg ;;
2177 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2178 verbose=yes ;;
2180 -version | --version | --versio | --versi | --vers | -V)
2181 ac_init_version=: ;;
2183 -with-* | --with-*)
2184 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2185 # Reject names that are not valid shell variable names.
2186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2187 as_fn_error $? "invalid package name: $ac_useropt"
2188 ac_useropt_orig=$ac_useropt
2189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2190 case $ac_user_opts in
2192 "with_$ac_useropt"
2193 "*) ;;
2194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2195 ac_unrecognized_sep=', ';;
2196 esac
2197 eval with_$ac_useropt=\$ac_optarg ;;
2199 -without-* | --without-*)
2200 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2201 # Reject names that are not valid shell variable names.
2202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2203 as_fn_error $? "invalid package name: $ac_useropt"
2204 ac_useropt_orig=$ac_useropt
2205 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2206 case $ac_user_opts in
2208 "with_$ac_useropt"
2209 "*) ;;
2210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2211 ac_unrecognized_sep=', ';;
2212 esac
2213 eval with_$ac_useropt=no ;;
2215 --x)
2216 # Obsolete; use --with-x.
2217 with_x=yes ;;
2219 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2220 | --x-incl | --x-inc | --x-in | --x-i)
2221 ac_prev=x_includes ;;
2222 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2223 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2224 x_includes=$ac_optarg ;;
2226 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2227 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2228 ac_prev=x_libraries ;;
2229 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2230 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2231 x_libraries=$ac_optarg ;;
2233 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2234 Try \`$0 --help' for more information"
2237 *=*)
2238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2239 # Reject names that are not valid shell variable names.
2240 case $ac_envvar in #(
2241 '' | [0-9]* | *[!_$as_cr_alnum]* )
2242 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2243 esac
2244 eval $ac_envvar=\$ac_optarg
2245 export $ac_envvar ;;
2248 # FIXME: should be removed in autoconf 3.0.
2249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2252 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2255 esac
2256 done
2258 if test -n "$ac_prev"; then
2259 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2260 as_fn_error $? "missing argument to $ac_option"
2263 if test -n "$ac_unrecognized_opts"; then
2264 case $enable_option_checking in
2265 no) ;;
2266 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2267 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2268 esac
2271 # Check all directory arguments for consistency.
2272 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2273 datadir sysconfdir sharedstatedir localstatedir includedir \
2274 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2275 libdir localedir mandir runstatedir
2277 eval ac_val=\$$ac_var
2278 # Remove trailing slashes.
2279 case $ac_val in
2280 */ )
2281 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2282 eval $ac_var=\$ac_val;;
2283 esac
2284 # Be sure to have absolute directory names.
2285 case $ac_val in
2286 [\\/$]* | ?:[\\/]* ) continue;;
2287 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2288 esac
2289 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2290 done
2292 # There might be people who depend on the old broken behavior: `$host'
2293 # used to hold the argument of --host etc.
2294 # FIXME: To remove some day.
2295 build=$build_alias
2296 host=$host_alias
2297 target=$target_alias
2299 # FIXME: To remove some day.
2300 if test "x$host_alias" != x; then
2301 if test "x$build_alias" = x; then
2302 cross_compiling=maybe
2303 elif test "x$build_alias" != "x$host_alias"; then
2304 cross_compiling=yes
2308 ac_tool_prefix=
2309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2311 test "$silent" = yes && exec 6>/dev/null
2314 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2315 ac_ls_di=`ls -di .` &&
2316 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2317 as_fn_error $? "working directory cannot be determined"
2318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2319 as_fn_error $? "pwd does not report name of working directory"
2322 # Find the source files, if location was not specified.
2323 if test -z "$srcdir"; then
2324 ac_srcdir_defaulted=yes
2325 # Try the directory containing this script, then the parent directory.
2326 ac_confdir=`$as_dirname -- "$as_myself" ||
2327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2328 X"$as_myself" : 'X\(//\)[^/]' \| \
2329 X"$as_myself" : 'X\(//\)$' \| \
2330 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2331 $as_echo X"$as_myself" |
2332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2333 s//\1/
2336 /^X\(\/\/\)[^/].*/{
2337 s//\1/
2340 /^X\(\/\/\)$/{
2341 s//\1/
2344 /^X\(\/\).*/{
2345 s//\1/
2348 s/.*/./; q'`
2349 srcdir=$ac_confdir
2350 if test ! -r "$srcdir/$ac_unique_file"; then
2351 srcdir=..
2353 else
2354 ac_srcdir_defaulted=no
2356 if test ! -r "$srcdir/$ac_unique_file"; then
2357 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2358 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2360 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2361 ac_abs_confdir=`(
2362 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2363 pwd)`
2364 # When building in place, set srcdir=.
2365 if test "$ac_abs_confdir" = "$ac_pwd"; then
2366 srcdir=.
2368 # Remove unnecessary trailing slashes from srcdir.
2369 # Double slashes in file names in object file debugging info
2370 # mess up M-x gdb in Emacs.
2371 case $srcdir in
2372 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2373 esac
2374 for ac_var in $ac_precious_vars; do
2375 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2376 eval ac_env_${ac_var}_value=\$${ac_var}
2377 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2378 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2379 done
2382 # Report the --help message.
2384 if test "$ac_init_help" = "long"; then
2385 # Omit some internal or obsolete options to make the list less imposing.
2386 # This message is too long to be a string in the A/UX 3.1 sh.
2387 cat <<_ACEOF
2388 \`configure' configures Wine 3.15 to adapt to many kinds of systems.
2390 Usage: $0 [OPTION]... [VAR=VALUE]...
2392 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2393 VAR=VALUE. See below for descriptions of some of the useful variables.
2395 Defaults for the options are specified in brackets.
2397 Configuration:
2398 -h, --help display this help and exit
2399 --help=short display options specific to this package
2400 --help=recursive display the short help of all the included packages
2401 -V, --version display version information and exit
2402 -q, --quiet, --silent do not print \`checking ...' messages
2403 --cache-file=FILE cache test results in FILE [disabled]
2404 -C, --config-cache alias for \`--cache-file=config.cache'
2405 -n, --no-create do not create output files
2406 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2408 Installation directories:
2409 --prefix=PREFIX install architecture-independent files in PREFIX
2410 [$ac_default_prefix]
2411 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2412 [PREFIX]
2414 By default, \`make install' will install all the files in
2415 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2416 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2417 for instance \`--prefix=\$HOME'.
2419 For better control, use the options below.
2421 Fine tuning of the installation directories:
2422 --bindir=DIR user executables [EPREFIX/bin]
2423 --sbindir=DIR system admin executables [EPREFIX/sbin]
2424 --libexecdir=DIR program executables [EPREFIX/libexec]
2425 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2426 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2427 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2428 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2429 --libdir=DIR object code libraries [EPREFIX/lib]
2430 --includedir=DIR C header files [PREFIX/include]
2431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2434 --infodir=DIR info documentation [DATAROOTDIR/info]
2435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2436 --mandir=DIR man documentation [DATAROOTDIR/man]
2437 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2438 --htmldir=DIR html documentation [DOCDIR]
2439 --dvidir=DIR dvi documentation [DOCDIR]
2440 --pdfdir=DIR pdf documentation [DOCDIR]
2441 --psdir=DIR ps documentation [DOCDIR]
2442 _ACEOF
2444 cat <<\_ACEOF
2446 X features:
2447 --x-includes=DIR X include files are in DIR
2448 --x-libraries=DIR X library files are in DIR
2450 System types:
2451 --build=BUILD configure for building on BUILD [guessed]
2452 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2453 _ACEOF
2456 if test -n "$ac_init_help"; then
2457 case $ac_init_help in
2458 short | recursive ) echo "Configuration of Wine 3.15:";;
2459 esac
2460 cat <<\_ACEOF
2462 Optional Features:
2463 --disable-option-checking ignore unrecognized --enable/--with options
2464 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2465 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2466 --disable-win16 do not include Win16 support
2467 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2468 binaries)
2469 --disable-tests do not build the regression tests
2470 --enable-maintainer-mode
2471 enable maintainer-specific build rules
2472 --disable-largefile omit support for large files
2474 Optional Packages:
2475 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2476 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2477 --without-alsa do not use the Alsa sound support
2478 --without-capi do not use CAPI (ISDN support)
2479 --without-cms do not use CMS (color management support)
2480 --without-coreaudio do not use the CoreAudio sound support
2481 --without-cups do not use CUPS
2482 --without-curses do not use (n)curses
2483 --without-dbus do not use DBus (dynamic device support)
2484 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2485 --without-fontconfig do not use fontconfig
2486 --without-freetype do not use the FreeType library
2487 --without-gettext do not use gettext
2488 --with-gettextpo use the GetTextPO library to rebuild po files
2489 --without-gphoto do not use gphoto (Digital Camera support)
2490 --without-glu do not use the GLU library
2491 --without-gnutls do not use GnuTLS (schannel support)
2492 --without-gsm do not use libgsm (GSM 06.10 codec support)
2493 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2494 --without-gstreamer do not use GStreamer (codecs support)
2495 --without-hal do not use HAL (dynamic device support)
2496 --without-jpeg do not use JPEG
2497 --without-krb5 do not use krb5 (Kerberos)
2498 --without-ldap do not use LDAP
2499 --without-mpg123 do not use the mpg123 library
2500 --without-netapi do not use the Samba NetAPI library
2501 --without-openal do not use OpenAL
2502 --without-opencl do not use OpenCL
2503 --without-opengl do not use OpenGL
2504 --without-osmesa do not use the OSMesa library
2505 --without-oss do not use the OSS sound support
2506 --without-pcap do not use the Packet Capture library
2507 --without-png do not use PNG
2508 --without-pthread do not use the pthread library
2509 --without-pulse do not use PulseAudio sound support
2510 --without-sane do not use SANE (scanner support)
2511 --without-sdl do not use SDL
2512 --without-tiff do not use TIFF
2513 --without-udev do not use udev (plug and play support)
2514 --without-v4l do not use v4l1 (v4l support)
2515 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2516 --without-vulkan do not use Vulkan
2517 --without-xcomposite do not use the Xcomposite extension
2518 --without-xcursor do not use the Xcursor extension
2519 --without-xfixes do not use Xfixes for clipboard change notifications
2520 --without-xinerama do not use Xinerama (multi-monitor support)
2521 --without-xinput do not use the Xinput extension
2522 --without-xinput2 do not use the Xinput 2 extension
2523 --without-xml do not use XML
2524 --without-xrandr do not use Xrandr (resolution changes)
2525 --without-xrender do not use the Xrender extension
2526 --without-xshape do not use the Xshape extension
2527 --without-xshm do not use XShm (shared memory extension)
2528 --without-xslt do not use XSLT
2529 --without-xxf86vm do not use XFree video mode extension
2530 --without-zlib do not use Zlib (data compression)
2531 --with-wine-tools=DIR use Wine tools from directory DIR
2532 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2533 --with-x use the X Window System
2535 Some influential environment variables:
2536 CC C compiler command
2537 CFLAGS C compiler flags
2538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2539 nonstandard directory <lib dir>
2540 LIBS libraries to pass to the linker, e.g. -l<library>
2541 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2542 you have headers in a nonstandard directory <include dir>
2543 CXX C++ compiler command
2544 CXXFLAGS C++ compiler flags
2545 CPP C preprocessor
2546 OBJC Objective C compiler command
2547 OBJCFLAGS Objective C compiler flags
2548 OBJCPP Objective C preprocessor
2549 XMKMF Path to xmkmf, Makefile generator for X Window System
2550 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2551 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2552 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2553 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2554 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2555 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2556 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2557 HAL_LIBS Linker flags for hal, overriding pkg-config
2558 GNUTLS_CFLAGS
2559 C compiler flags for gnutls, overriding pkg-config
2560 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2561 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2562 SANE_LIBS Linker flags for libsane, overriding pkg-config
2563 GPHOTO2_CFLAGS
2564 C compiler flags for libgphoto2, overriding pkg-config
2565 GPHOTO2_LIBS
2566 Linker flags for libgphoto2, overriding pkg-config
2567 GPHOTO2_PORT_CFLAGS
2568 C compiler flags for libgphoto2_port, overriding pkg-config
2569 GPHOTO2_PORT_LIBS
2570 Linker flags for libgphoto2_port, overriding pkg-config
2571 LCMS2_CFLAGS
2572 C compiler flags for lcms2, overriding pkg-config
2573 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2574 FREETYPE_CFLAGS
2575 C compiler flags for freetype2, overriding pkg-config
2576 FREETYPE_LIBS
2577 Linker flags for freetype2, overriding pkg-config
2578 PULSE_CFLAGS
2579 C compiler flags for libpulse, overriding pkg-config
2580 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2581 GSTREAMER_CFLAGS
2582 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2583 gstreamer-audio-1.0, overriding pkg-config
2584 GSTREAMER_LIBS
2585 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2586 gstreamer-audio-1.0, overriding pkg-config
2587 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2588 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2589 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2590 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2591 CAPI20_CFLAGS
2592 C compiler flags for capi20, overriding pkg-config
2593 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2594 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2595 CUPS_LIBS Linker flags for cups, overriding pkg-config
2596 FONTCONFIG_CFLAGS
2597 C compiler flags for fontconfig, overriding pkg-config
2598 FONTCONFIG_LIBS
2599 Linker flags for fontconfig, overriding pkg-config
2600 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2601 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2602 GSSAPI_CFLAGS
2603 C compiler flags for krb5-gssapi, overriding pkg-config
2604 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2605 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2606 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2607 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2608 PNG_LIBS Linker flags for libpng, overriding pkg-config
2609 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2610 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2611 MPG123_CFLAGS
2612 C compiler flags for libmpg123, overriding pkg-config
2613 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2614 NETAPI_CFLAGS
2615 C compiler flags for netapi, overriding pkg-config
2616 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2617 VKD3D_CFLAGS
2618 C compiler flags for libvkd3d, overriding pkg-config
2619 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2620 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2621 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2623 Use these variables to override the choices made by `configure' or to help
2624 it to find libraries and programs with nonstandard names/locations.
2626 Report bugs to <wine-devel@winehq.org>.
2627 Wine home page: <https://www.winehq.org>.
2628 _ACEOF
2629 ac_status=$?
2632 if test "$ac_init_help" = "recursive"; then
2633 # If there are subdirs, report their specific --help.
2634 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2635 test -d "$ac_dir" ||
2636 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2637 continue
2638 ac_builddir=.
2640 case "$ac_dir" in
2641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2643 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2644 # A ".." for each directory in $ac_dir_suffix.
2645 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2646 case $ac_top_builddir_sub in
2647 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2648 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2649 esac ;;
2650 esac
2651 ac_abs_top_builddir=$ac_pwd
2652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2653 # for backward compatibility:
2654 ac_top_builddir=$ac_top_build_prefix
2656 case $srcdir in
2657 .) # We are building in place.
2658 ac_srcdir=.
2659 ac_top_srcdir=$ac_top_builddir_sub
2660 ac_abs_top_srcdir=$ac_pwd ;;
2661 [\\/]* | ?:[\\/]* ) # Absolute name.
2662 ac_srcdir=$srcdir$ac_dir_suffix;
2663 ac_top_srcdir=$srcdir
2664 ac_abs_top_srcdir=$srcdir ;;
2665 *) # Relative name.
2666 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2667 ac_top_srcdir=$ac_top_build_prefix$srcdir
2668 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2669 esac
2670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2672 cd "$ac_dir" || { ac_status=$?; continue; }
2673 # Check for guested configure.
2674 if test -f "$ac_srcdir/configure.gnu"; then
2675 echo &&
2676 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2677 elif test -f "$ac_srcdir/configure"; then
2678 echo &&
2679 $SHELL "$ac_srcdir/configure" --help=recursive
2680 else
2681 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2682 fi || ac_status=$?
2683 cd "$ac_pwd" || { ac_status=$?; break; }
2684 done
2687 test -n "$ac_init_help" && exit $ac_status
2688 if $ac_init_version; then
2689 cat <<\_ACEOF
2690 Wine configure 3.15
2691 generated by GNU Autoconf 2.69
2693 Copyright (C) 2012 Free Software Foundation, Inc.
2694 This configure script is free software; the Free Software Foundation
2695 gives unlimited permission to copy, distribute and modify it.
2696 _ACEOF
2697 exit
2700 ## ------------------------ ##
2701 ## Autoconf initialization. ##
2702 ## ------------------------ ##
2704 # ac_fn_c_try_compile LINENO
2705 # --------------------------
2706 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2707 ac_fn_c_try_compile ()
2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 rm -f conftest.$ac_objext
2711 if { { ac_try="$ac_compile"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_compile") 2>conftest.err
2719 ac_status=$?
2720 if test -s conftest.err; then
2721 grep -v '^ *+' conftest.err >conftest.er1
2722 cat conftest.er1 >&5
2723 mv -f conftest.er1 conftest.err
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; } && {
2727 test -z "$ac_c_werror_flag" ||
2728 test ! -s conftest.err
2729 } && test -s conftest.$ac_objext; then :
2730 ac_retval=0
2731 else
2732 $as_echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2735 ac_retval=1
2737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 as_fn_set_status $ac_retval
2740 } # ac_fn_c_try_compile
2742 # ac_fn_cxx_try_compile LINENO
2743 # ----------------------------
2744 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2745 ac_fn_cxx_try_compile ()
2747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748 rm -f conftest.$ac_objext
2749 if { { ac_try="$ac_compile"
2750 case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753 esac
2754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755 $as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_compile") 2>conftest.err
2757 ac_status=$?
2758 if test -s conftest.err; then
2759 grep -v '^ *+' conftest.err >conftest.er1
2760 cat conftest.er1 >&5
2761 mv -f conftest.er1 conftest.err
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; } && {
2765 test -z "$ac_cxx_werror_flag" ||
2766 test ! -s conftest.err
2767 } && test -s conftest.$ac_objext; then :
2768 ac_retval=0
2769 else
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 ac_retval=1
2775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 as_fn_set_status $ac_retval
2778 } # ac_fn_cxx_try_compile
2780 # ac_fn_c_try_link LINENO
2781 # -----------------------
2782 # Try to link conftest.$ac_ext, and return whether this succeeded.
2783 ac_fn_c_try_link ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 rm -f conftest.$ac_objext conftest$ac_exeext
2787 if { { ac_try="$ac_link"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_link") 2>conftest.err
2795 ac_status=$?
2796 if test -s conftest.err; then
2797 grep -v '^ *+' conftest.err >conftest.er1
2798 cat conftest.er1 >&5
2799 mv -f conftest.er1 conftest.err
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest$ac_exeext && {
2806 test "$cross_compiling" = yes ||
2807 test -x conftest$ac_exeext
2808 }; then :
2809 ac_retval=0
2810 else
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 ac_retval=1
2816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2818 # interfere with the next link command; also delete a directory that is
2819 # left behind by Apple's compiler. We do this before executing the actions.
2820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_link
2826 # ac_fn_c_try_cpp LINENO
2827 # ----------------------
2828 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_c_try_cpp ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 if { { ac_try="$ac_cpp conftest.$ac_ext"
2833 case "(($ac_try" in
2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2836 esac
2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838 $as_echo "$ac_try_echo"; } >&5
2839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2840 ac_status=$?
2841 if test -s conftest.err; then
2842 grep -v '^ *+' conftest.err >conftest.er1
2843 cat conftest.er1 >&5
2844 mv -f conftest.er1 conftest.err
2846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; } > conftest.i && {
2848 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2849 test ! -s conftest.err
2850 }; then :
2851 ac_retval=0
2852 else
2853 $as_echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.$ac_ext >&5
2856 ac_retval=1
2858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2859 as_fn_set_status $ac_retval
2861 } # ac_fn_c_try_cpp
2863 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2864 # -------------------------------------------------------
2865 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2866 # the include files in INCLUDES and setting the cache variable VAR
2867 # accordingly.
2868 ac_fn_c_check_header_mongrel ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 if eval \${$3+:} false; then :
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2873 $as_echo_n "checking for $2... " >&6; }
2874 if eval \${$3+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 eval ac_res=\$$3
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2879 $as_echo "$ac_res" >&6; }
2880 else
2881 # Is the header compilable?
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2883 $as_echo_n "checking $2 usability... " >&6; }
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2887 #include <$2>
2888 _ACEOF
2889 if ac_fn_c_try_compile "$LINENO"; then :
2890 ac_header_compiler=yes
2891 else
2892 ac_header_compiler=no
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2896 $as_echo "$ac_header_compiler" >&6; }
2898 # Is the header present?
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2900 $as_echo_n "checking $2 presence... " >&6; }
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2903 #include <$2>
2904 _ACEOF
2905 if ac_fn_c_try_cpp "$LINENO"; then :
2906 ac_header_preproc=yes
2907 else
2908 ac_header_preproc=no
2910 rm -f conftest.err conftest.i conftest.$ac_ext
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2912 $as_echo "$ac_header_preproc" >&6; }
2914 # So? What about this header?
2915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2916 yes:no: )
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2918 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2920 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2922 no:yes:* )
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2924 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2926 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2928 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2930 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2933 ( $as_echo "## ------------------------------------ ##
2934 ## Report this to wine-devel@winehq.org ##
2935 ## ------------------------------------ ##"
2936 ) | sed "s/^/$as_me: WARNING: /" >&2
2938 esac
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2940 $as_echo_n "checking for $2... " >&6; }
2941 if eval \${$3+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 eval "$3=\$ac_header_compiler"
2946 eval ac_res=\$$3
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2948 $as_echo "$ac_res" >&6; }
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 } # ac_fn_c_check_header_mongrel
2954 # ac_fn_c_try_run LINENO
2955 # ----------------------
2956 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2957 # that executables *can* be run.
2958 ac_fn_c_try_run ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 if { { ac_try="$ac_link"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_link") 2>&5
2969 ac_status=$?
2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2972 { { case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978 (eval "$ac_try") 2>&5
2979 ac_status=$?
2980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2981 test $ac_status = 0; }; }; then :
2982 ac_retval=0
2983 else
2984 $as_echo "$as_me: program exited with status $ac_status" >&5
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 ac_retval=$ac_status
2990 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2992 as_fn_set_status $ac_retval
2994 } # ac_fn_c_try_run
2996 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2997 # -------------------------------------------------------
2998 # Tests whether HEADER exists and can be compiled using the include files in
2999 # INCLUDES, setting the cache variable VAR accordingly.
3000 ac_fn_c_check_header_compile ()
3002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3004 $as_echo_n "checking for $2... " >&6; }
3005 if eval \${$3+:} false; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3011 #include <$2>
3012 _ACEOF
3013 if ac_fn_c_try_compile "$LINENO"; then :
3014 eval "$3=yes"
3015 else
3016 eval "$3=no"
3018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 eval ac_res=\$$3
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3022 $as_echo "$ac_res" >&6; }
3023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 } # ac_fn_c_check_header_compile
3027 # ac_fn_objc_try_compile LINENO
3028 # -----------------------------
3029 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3030 ac_fn_objc_try_compile ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 rm -f conftest.$ac_objext
3034 if { { ac_try="$ac_compile"
3035 case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3038 esac
3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040 $as_echo "$ac_try_echo"; } >&5
3041 (eval "$ac_compile") 2>conftest.err
3042 ac_status=$?
3043 if test -s conftest.err; then
3044 grep -v '^ *+' conftest.err >conftest.er1
3045 cat conftest.er1 >&5
3046 mv -f conftest.er1 conftest.err
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; } && {
3050 test -z "$ac_objc_werror_flag" ||
3051 test ! -s conftest.err
3052 } && test -s conftest.$ac_objext; then :
3053 ac_retval=0
3054 else
3055 $as_echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 ac_retval=1
3060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 as_fn_set_status $ac_retval
3063 } # ac_fn_objc_try_compile
3065 # ac_fn_objc_try_cpp LINENO
3066 # -------------------------
3067 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3068 ac_fn_objc_try_cpp ()
3070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3071 if { { ac_try="$ac_cpp conftest.$ac_ext"
3072 case "(($ac_try" in
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3075 esac
3076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3077 $as_echo "$ac_try_echo"; } >&5
3078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3079 ac_status=$?
3080 if test -s conftest.err; then
3081 grep -v '^ *+' conftest.err >conftest.er1
3082 cat conftest.er1 >&5
3083 mv -f conftest.er1 conftest.err
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; } > conftest.i && {
3087 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3088 test ! -s conftest.err
3089 }; then :
3090 ac_retval=0
3091 else
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3095 ac_retval=1
3097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3098 as_fn_set_status $ac_retval
3100 } # ac_fn_objc_try_cpp
3102 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3103 # ----------------------------------------------------------
3104 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3105 # the include files in INCLUDES and setting the cache variable VAR
3106 # accordingly.
3107 ac_fn_objc_check_header_mongrel ()
3109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3110 if eval \${$3+:} false; then :
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3112 $as_echo_n "checking for $2... " >&6; }
3113 if eval \${$3+:} false; then :
3114 $as_echo_n "(cached) " >&6
3116 eval ac_res=\$$3
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3118 $as_echo "$ac_res" >&6; }
3119 else
3120 # Is the header compilable?
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3122 $as_echo_n "checking $2 usability... " >&6; }
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3126 #include <$2>
3127 _ACEOF
3128 if ac_fn_objc_try_compile "$LINENO"; then :
3129 ac_header_compiler=yes
3130 else
3131 ac_header_compiler=no
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3135 $as_echo "$ac_header_compiler" >&6; }
3137 # Is the header present?
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3139 $as_echo_n "checking $2 presence... " >&6; }
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3142 #include <$2>
3143 _ACEOF
3144 if ac_fn_objc_try_cpp "$LINENO"; then :
3145 ac_header_preproc=yes
3146 else
3147 ac_header_preproc=no
3149 rm -f conftest.err conftest.i conftest.$ac_ext
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3151 $as_echo "$ac_header_preproc" >&6; }
3153 # So? What about this header?
3154 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3155 yes:no: )
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3157 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3159 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3161 no:yes:* )
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3163 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3165 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3167 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3169 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3171 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3172 ( $as_echo "## ------------------------------------ ##
3173 ## Report this to wine-devel@winehq.org ##
3174 ## ------------------------------------ ##"
3175 ) | sed "s/^/$as_me: WARNING: /" >&2
3177 esac
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3179 $as_echo_n "checking for $2... " >&6; }
3180 if eval \${$3+:} false; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 eval "$3=\$ac_header_compiler"
3185 eval ac_res=\$$3
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3187 $as_echo "$ac_res" >&6; }
3189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191 } # ac_fn_objc_check_header_mongrel
3193 # ac_fn_c_check_func LINENO FUNC VAR
3194 # ----------------------------------
3195 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3196 ac_fn_c_check_func ()
3198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3200 $as_echo_n "checking for $2... " >&6; }
3201 if eval \${$3+:} false; then :
3202 $as_echo_n "(cached) " >&6
3203 else
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3206 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3208 #define $2 innocuous_$2
3210 /* System header to define __stub macros and hopefully few prototypes,
3211 which can conflict with char $2 (); below.
3212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3213 <limits.h> exists even on freestanding compilers. */
3215 #ifdef __STDC__
3216 # include <limits.h>
3217 #else
3218 # include <assert.h>
3219 #endif
3221 #undef $2
3223 /* Override any GCC internal prototype to avoid an error.
3224 Use char because int might match the return type of a GCC
3225 builtin and then its argument prototype would still apply. */
3226 #ifdef __cplusplus
3227 extern "C"
3228 #endif
3229 char $2 ();
3230 /* The GNU C library defines this for functions which it implements
3231 to always fail with ENOSYS. Some functions are actually named
3232 something starting with __ and the normal name is an alias. */
3233 #if defined __stub_$2 || defined __stub___$2
3234 choke me
3235 #endif
3238 main ()
3240 return $2 ();
3242 return 0;
3244 _ACEOF
3245 if ac_fn_c_try_link "$LINENO"; then :
3246 eval "$3=yes"
3247 else
3248 eval "$3=no"
3250 rm -f core conftest.err conftest.$ac_objext \
3251 conftest$ac_exeext conftest.$ac_ext
3253 eval ac_res=\$$3
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3255 $as_echo "$ac_res" >&6; }
3256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3258 } # ac_fn_c_check_func
3260 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3261 # ----------------------------------------------------
3262 # Tries to find if the field MEMBER exists in type AGGR, after including
3263 # INCLUDES, setting cache variable VAR accordingly.
3264 ac_fn_c_check_member ()
3266 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3268 $as_echo_n "checking for $2.$3... " >&6; }
3269 if eval \${$4+:} false; then :
3270 $as_echo_n "(cached) " >&6
3271 else
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3276 main ()
3278 static $2 ac_aggr;
3279 if (ac_aggr.$3)
3280 return 0;
3282 return 0;
3284 _ACEOF
3285 if ac_fn_c_try_compile "$LINENO"; then :
3286 eval "$4=yes"
3287 else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3292 main ()
3294 static $2 ac_aggr;
3295 if (sizeof ac_aggr.$3)
3296 return 0;
3298 return 0;
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302 eval "$4=yes"
3303 else
3304 eval "$4=no"
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 eval ac_res=\$$4
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3312 $as_echo "$ac_res" >&6; }
3313 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3315 } # ac_fn_c_check_member
3317 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3318 # -------------------------------------------
3319 # Tests whether TYPE exists after having included INCLUDES, setting cache
3320 # variable VAR accordingly.
3321 ac_fn_c_check_type ()
3323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3325 $as_echo_n "checking for $2... " >&6; }
3326 if eval \${$3+:} false; then :
3327 $as_echo_n "(cached) " >&6
3328 else
3329 eval "$3=no"
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3334 main ()
3336 if (sizeof ($2))
3337 return 0;
3339 return 0;
3341 _ACEOF
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3347 main ()
3349 if (sizeof (($2)))
3350 return 0;
3352 return 0;
3354 _ACEOF
3355 if ac_fn_c_try_compile "$LINENO"; then :
3357 else
3358 eval "$3=yes"
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 eval ac_res=\$$3
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3366 $as_echo "$ac_res" >&6; }
3367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3369 } # ac_fn_c_check_type
3370 cat >config.log <<_ACEOF
3371 This file contains any messages produced by compilers while
3372 running configure, to aid debugging if configure makes a mistake.
3374 It was created by Wine $as_me 3.15, which was
3375 generated by GNU Autoconf 2.69. Invocation command line was
3377 $ $0 $@
3379 _ACEOF
3380 exec 5>>config.log
3382 cat <<_ASUNAME
3383 ## --------- ##
3384 ## Platform. ##
3385 ## --------- ##
3387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3404 _ASUNAME
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3409 IFS=$as_save_IFS
3410 test -z "$as_dir" && as_dir=.
3411 $as_echo "PATH: $as_dir"
3412 done
3413 IFS=$as_save_IFS
3415 } >&5
3417 cat >&5 <<_ACEOF
3420 ## ----------- ##
3421 ## Core tests. ##
3422 ## ----------- ##
3424 _ACEOF
3427 # Keep a trace of the command line.
3428 # Strip out --no-create and --no-recursion so they do not pile up.
3429 # Strip out --silent because we don't want to record it for future runs.
3430 # Also quote any args containing shell meta-characters.
3431 # Make two passes to allow for proper duplicate-argument suppression.
3432 ac_configure_args=
3433 ac_configure_args0=
3434 ac_configure_args1=
3435 ac_must_keep_next=false
3436 for ac_pass in 1 2
3438 for ac_arg
3440 case $ac_arg in
3441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3443 | -silent | --silent | --silen | --sile | --sil)
3444 continue ;;
3445 *\'*)
3446 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3447 esac
3448 case $ac_pass in
3449 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3451 as_fn_append ac_configure_args1 " '$ac_arg'"
3452 if test $ac_must_keep_next = true; then
3453 ac_must_keep_next=false # Got value, back to normal.
3454 else
3455 case $ac_arg in
3456 *=* | --config-cache | -C | -disable-* | --disable-* \
3457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3459 | -with-* | --with-* | -without-* | --without-* | --x)
3460 case "$ac_configure_args0 " in
3461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3462 esac
3464 -* ) ac_must_keep_next=true ;;
3465 esac
3467 as_fn_append ac_configure_args " '$ac_arg'"
3469 esac
3470 done
3471 done
3472 { ac_configure_args0=; unset ac_configure_args0;}
3473 { ac_configure_args1=; unset ac_configure_args1;}
3475 # When interrupted or exit'd, cleanup temporary files, and complete
3476 # config.log. We remove comments because anyway the quotes in there
3477 # would cause problems or look ugly.
3478 # WARNING: Use '\'' to represent an apostrophe within the trap.
3479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3480 trap 'exit_status=$?
3481 # Save into config.log some information that might help in debugging.
3483 echo
3485 $as_echo "## ---------------- ##
3486 ## Cache variables. ##
3487 ## ---------------- ##"
3488 echo
3489 # The following way of writing the cache mishandles newlines in values,
3491 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3492 eval ac_val=\$$ac_var
3493 case $ac_val in #(
3494 *${as_nl}*)
3495 case $ac_var in #(
3496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3498 esac
3499 case $ac_var in #(
3500 _ | IFS | as_nl) ;; #(
3501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3502 *) { eval $ac_var=; unset $ac_var;} ;;
3503 esac ;;
3504 esac
3505 done
3506 (set) 2>&1 |
3507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3508 *${as_nl}ac_space=\ *)
3509 sed -n \
3510 "s/'\''/'\''\\\\'\'''\''/g;
3511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3512 ;; #(
3514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3516 esac |
3517 sort
3519 echo
3521 $as_echo "## ----------------- ##
3522 ## Output variables. ##
3523 ## ----------------- ##"
3524 echo
3525 for ac_var in $ac_subst_vars
3527 eval ac_val=\$$ac_var
3528 case $ac_val in
3529 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3530 esac
3531 $as_echo "$ac_var='\''$ac_val'\''"
3532 done | sort
3533 echo
3535 if test -n "$ac_subst_files"; then
3536 $as_echo "## ------------------- ##
3537 ## File substitutions. ##
3538 ## ------------------- ##"
3539 echo
3540 for ac_var in $ac_subst_files
3542 eval ac_val=\$$ac_var
3543 case $ac_val in
3544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3545 esac
3546 $as_echo "$ac_var='\''$ac_val'\''"
3547 done | sort
3548 echo
3551 if test -s confdefs.h; then
3552 $as_echo "## ----------- ##
3553 ## confdefs.h. ##
3554 ## ----------- ##"
3555 echo
3556 cat confdefs.h
3557 echo
3559 test "$ac_signal" != 0 &&
3560 $as_echo "$as_me: caught signal $ac_signal"
3561 $as_echo "$as_me: exit $exit_status"
3562 } >&5
3563 rm -f core *.core core.conftest.* &&
3564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3565 exit $exit_status
3567 for ac_signal in 1 2 13 15; do
3568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3569 done
3570 ac_signal=0
3572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3573 rm -f -r conftest* confdefs.h
3575 $as_echo "/* confdefs.h */" > confdefs.h
3577 # Predefined preprocessor variables.
3579 cat >>confdefs.h <<_ACEOF
3580 #define PACKAGE_NAME "$PACKAGE_NAME"
3581 _ACEOF
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3585 _ACEOF
3587 cat >>confdefs.h <<_ACEOF
3588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3589 _ACEOF
3591 cat >>confdefs.h <<_ACEOF
3592 #define PACKAGE_STRING "$PACKAGE_STRING"
3593 _ACEOF
3595 cat >>confdefs.h <<_ACEOF
3596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3597 _ACEOF
3599 cat >>confdefs.h <<_ACEOF
3600 #define PACKAGE_URL "$PACKAGE_URL"
3601 _ACEOF
3604 # Let the site file select an alternate cache file if it wants to.
3605 # Prefer an explicitly selected file to automatically selected ones.
3606 ac_site_file1=NONE
3607 ac_site_file2=NONE
3608 if test -n "$CONFIG_SITE"; then
3609 # We do not want a PATH search for config.site.
3610 case $CONFIG_SITE in #((
3611 -*) ac_site_file1=./$CONFIG_SITE;;
3612 */*) ac_site_file1=$CONFIG_SITE;;
3613 *) ac_site_file1=./$CONFIG_SITE;;
3614 esac
3615 elif test "x$prefix" != xNONE; then
3616 ac_site_file1=$prefix/share/config.site
3617 ac_site_file2=$prefix/etc/config.site
3618 else
3619 ac_site_file1=$ac_default_prefix/share/config.site
3620 ac_site_file2=$ac_default_prefix/etc/config.site
3622 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3624 test "x$ac_site_file" = xNONE && continue
3625 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3628 sed 's/^/| /' "$ac_site_file" >&5
3629 . "$ac_site_file" \
3630 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $? "failed to load site script $ac_site_file
3633 See \`config.log' for more details" "$LINENO" 5; }
3635 done
3637 if test -r "$cache_file"; then
3638 # Some versions of bash will fail to source /dev/null (special files
3639 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3640 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3642 $as_echo "$as_me: loading cache $cache_file" >&6;}
3643 case $cache_file in
3644 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3645 *) . "./$cache_file";;
3646 esac
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3650 $as_echo "$as_me: creating cache $cache_file" >&6;}
3651 >$cache_file
3654 # Check that the precious variables saved in the cache have kept the same
3655 # value.
3656 ac_cache_corrupted=false
3657 for ac_var in $ac_precious_vars; do
3658 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3659 eval ac_new_set=\$ac_env_${ac_var}_set
3660 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3661 eval ac_new_val=\$ac_env_${ac_var}_value
3662 case $ac_old_set,$ac_new_set in
3663 set,)
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3666 ac_cache_corrupted=: ;;
3667 ,set)
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3670 ac_cache_corrupted=: ;;
3671 ,);;
3673 if test "x$ac_old_val" != "x$ac_new_val"; then
3674 # differences in whitespace do not lead to failure.
3675 ac_old_val_w=`echo x $ac_old_val`
3676 ac_new_val_w=`echo x $ac_new_val`
3677 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3680 ac_cache_corrupted=:
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3684 eval $ac_var=\$ac_old_val
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3687 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3689 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3690 fi;;
3691 esac
3692 # Pass precious variables to config.status.
3693 if test "$ac_new_set" = set; then
3694 case $ac_new_val in
3695 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3696 *) ac_arg=$ac_var=$ac_new_val ;;
3697 esac
3698 case " $ac_configure_args " in
3699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3700 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3701 esac
3703 done
3704 if $ac_cache_corrupted; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3709 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3711 ## -------------------- ##
3712 ## Main body of script. ##
3713 ## -------------------- ##
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723 ac_config_headers="$ac_config_headers include/config.h"
3725 ac_aux_dir=
3726 for ac_dir in tools "$srcdir"/tools; do
3727 if test -f "$ac_dir/install-sh"; then
3728 ac_aux_dir=$ac_dir
3729 ac_install_sh="$ac_aux_dir/install-sh -c"
3730 break
3731 elif test -f "$ac_dir/install.sh"; then
3732 ac_aux_dir=$ac_dir
3733 ac_install_sh="$ac_aux_dir/install.sh -c"
3734 break
3735 elif test -f "$ac_dir/shtool"; then
3736 ac_aux_dir=$ac_dir
3737 ac_install_sh="$ac_aux_dir/shtool install -c"
3738 break
3740 done
3741 if test -z "$ac_aux_dir"; then
3742 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3745 # These three variables are undocumented and unsupported,
3746 # and are intended to be withdrawn in a future Autoconf release.
3747 # They can cause serious problems if a builder's source tree is in a directory
3748 # whose full name contains unusual characters.
3749 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3750 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3751 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3755 libwine_version="1.0"
3759 # Check whether --enable-win16 was given.
3760 if test "${enable_win16+set}" = set; then :
3761 enableval=$enable_win16;
3764 # Check whether --enable-win64 was given.
3765 if test "${enable_win64+set}" = set; then :
3766 enableval=$enable_win64;
3769 # Check whether --enable-tests was given.
3770 if test "${enable_tests+set}" = set; then :
3771 enableval=$enable_tests;
3774 # Check whether --enable-maintainer-mode was given.
3775 if test "${enable_maintainer_mode+set}" = set; then :
3776 enableval=$enable_maintainer_mode;
3781 # Check whether --with-alsa was given.
3782 if test "${with_alsa+set}" = set; then :
3783 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3787 # Check whether --with-capi was given.
3788 if test "${with_capi+set}" = set; then :
3789 withval=$with_capi;
3793 # Check whether --with-cms was given.
3794 if test "${with_cms+set}" = set; then :
3795 withval=$with_cms;
3799 # Check whether --with-coreaudio was given.
3800 if test "${with_coreaudio+set}" = set; then :
3801 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3805 # Check whether --with-cups was given.
3806 if test "${with_cups+set}" = set; then :
3807 withval=$with_cups;
3811 # Check whether --with-curses was given.
3812 if test "${with_curses+set}" = set; then :
3813 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3817 # Check whether --with-dbus was given.
3818 if test "${with_dbus+set}" = set; then :
3819 withval=$with_dbus;
3823 # Check whether --with-float-abi was given.
3824 if test "${with_float_abi+set}" = set; then :
3825 withval=$with_float_abi;
3829 # Check whether --with-fontconfig was given.
3830 if test "${with_fontconfig+set}" = set; then :
3831 withval=$with_fontconfig;
3835 # Check whether --with-freetype was given.
3836 if test "${with_freetype+set}" = set; then :
3837 withval=$with_freetype;
3841 # Check whether --with-gettext was given.
3842 if test "${with_gettext+set}" = set; then :
3843 withval=$with_gettext;
3847 # Check whether --with-gettextpo was given.
3848 if test "${with_gettextpo+set}" = set; then :
3849 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3853 # Check whether --with-gphoto was given.
3854 if test "${with_gphoto+set}" = set; then :
3855 withval=$with_gphoto;
3859 # Check whether --with-glu was given.
3860 if test "${with_glu+set}" = set; then :
3861 withval=$with_glu;
3865 # Check whether --with-gnutls was given.
3866 if test "${with_gnutls+set}" = set; then :
3867 withval=$with_gnutls;
3871 # Check whether --with-gsm was given.
3872 if test "${with_gsm+set}" = set; then :
3873 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3877 # Check whether --with-gssapi was given.
3878 if test "${with_gssapi+set}" = set; then :
3879 withval=$with_gssapi;
3883 # Check whether --with-gstreamer was given.
3884 if test "${with_gstreamer+set}" = set; then :
3885 withval=$with_gstreamer;
3889 # Check whether --with-hal was given.
3890 if test "${with_hal+set}" = set; then :
3891 withval=$with_hal;
3895 # Check whether --with-jpeg was given.
3896 if test "${with_jpeg+set}" = set; then :
3897 withval=$with_jpeg;
3901 # Check whether --with-krb5 was given.
3902 if test "${with_krb5+set}" = set; then :
3903 withval=$with_krb5;
3907 # Check whether --with-ldap was given.
3908 if test "${with_ldap+set}" = set; then :
3909 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3913 # Check whether --with-mpg123 was given.
3914 if test "${with_mpg123+set}" = set; then :
3915 withval=$with_mpg123;
3919 # Check whether --with-netapi was given.
3920 if test "${with_netapi+set}" = set; then :
3921 withval=$with_netapi;
3925 # Check whether --with-openal was given.
3926 if test "${with_openal+set}" = set; then :
3927 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3931 # Check whether --with-opencl was given.
3932 if test "${with_opencl+set}" = set; then :
3933 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3937 # Check whether --with-opengl was given.
3938 if test "${with_opengl+set}" = set; then :
3939 withval=$with_opengl;
3943 # Check whether --with-osmesa was given.
3944 if test "${with_osmesa+set}" = set; then :
3945 withval=$with_osmesa;
3949 # Check whether --with-oss was given.
3950 if test "${with_oss+set}" = set; then :
3951 withval=$with_oss;
3955 # Check whether --with-pcap was given.
3956 if test "${with_pcap+set}" = set; then :
3957 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3961 # Check whether --with-png was given.
3962 if test "${with_png+set}" = set; then :
3963 withval=$with_png;
3967 # Check whether --with-pthread was given.
3968 if test "${with_pthread+set}" = set; then :
3969 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3973 # Check whether --with-pulse was given.
3974 if test "${with_pulse+set}" = set; then :
3975 withval=$with_pulse;
3979 # Check whether --with-sane was given.
3980 if test "${with_sane+set}" = set; then :
3981 withval=$with_sane;
3985 # Check whether --with-sdl was given.
3986 if test "${with_sdl+set}" = set; then :
3987 withval=$with_sdl;
3991 # Check whether --with-tiff was given.
3992 if test "${with_tiff+set}" = set; then :
3993 withval=$with_tiff;
3997 # Check whether --with-udev was given.
3998 if test "${with_udev+set}" = set; then :
3999 withval=$with_udev;
4003 # Check whether --with-v4l was given.
4004 if test "${with_v4l+set}" = set; then :
4005 withval=$with_v4l;
4009 # Check whether --with-vkd3d was given.
4010 if test "${with_vkd3d+set}" = set; then :
4011 withval=$with_vkd3d;
4015 # Check whether --with-vulkan was given.
4016 if test "${with_vulkan+set}" = set; then :
4017 withval=$with_vulkan;
4021 # Check whether --with-xcomposite was given.
4022 if test "${with_xcomposite+set}" = set; then :
4023 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4027 # Check whether --with-xcursor was given.
4028 if test "${with_xcursor+set}" = set; then :
4029 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4033 # Check whether --with-xfixes was given.
4034 if test "${with_xfixes+set}" = set; then :
4035 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4039 # Check whether --with-xinerama was given.
4040 if test "${with_xinerama+set}" = set; then :
4041 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4045 # Check whether --with-xinput was given.
4046 if test "${with_xinput+set}" = set; then :
4047 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4051 # Check whether --with-xinput2 was given.
4052 if test "${with_xinput2+set}" = set; then :
4053 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4057 # Check whether --with-xml was given.
4058 if test "${with_xml+set}" = set; then :
4059 withval=$with_xml;
4063 # Check whether --with-xrandr was given.
4064 if test "${with_xrandr+set}" = set; then :
4065 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4069 # Check whether --with-xrender was given.
4070 if test "${with_xrender+set}" = set; then :
4071 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4075 # Check whether --with-xshape was given.
4076 if test "${with_xshape+set}" = set; then :
4077 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4081 # Check whether --with-xshm was given.
4082 if test "${with_xshm+set}" = set; then :
4083 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4087 # Check whether --with-xslt was given.
4088 if test "${with_xslt+set}" = set; then :
4089 withval=$with_xslt;
4093 # Check whether --with-xxf86vm was given.
4094 if test "${with_xxf86vm+set}" = set; then :
4095 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
4099 # Check whether --with-zlib was given.
4100 if test "${with_zlib+set}" = set; then :
4101 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4106 # Check whether --with-wine-tools was given.
4107 if test "${with_wine_tools+set}" = set; then :
4108 withval=$with_wine_tools;
4112 # Check whether --with-wine64 was given.
4113 if test "${with_wine64+set}" = set; then :
4114 withval=$with_wine64;
4118 # Make sure we can run config.sub.
4119 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4120 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4123 $as_echo_n "checking build system type... " >&6; }
4124 if ${ac_cv_build+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 ac_build_alias=$build_alias
4128 test "x$ac_build_alias" = x &&
4129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4130 test "x$ac_build_alias" = x &&
4131 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4132 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4133 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4137 $as_echo "$ac_cv_build" >&6; }
4138 case $ac_cv_build in
4139 *-*-*) ;;
4140 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4141 esac
4142 build=$ac_cv_build
4143 ac_save_IFS=$IFS; IFS='-'
4144 set x $ac_cv_build
4145 shift
4146 build_cpu=$1
4147 build_vendor=$2
4148 shift; shift
4149 # Remember, the first character of IFS is used to create $*,
4150 # except with old shells:
4151 build_os=$*
4152 IFS=$ac_save_IFS
4153 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4157 $as_echo_n "checking host system type... " >&6; }
4158 if ${ac_cv_host+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 if test "x$host_alias" = x; then
4162 ac_cv_host=$ac_cv_build
4163 else
4164 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4165 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4170 $as_echo "$ac_cv_host" >&6; }
4171 case $ac_cv_host in
4172 *-*-*) ;;
4173 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4174 esac
4175 host=$ac_cv_host
4176 ac_save_IFS=$IFS; IFS='-'
4177 set x $ac_cv_host
4178 shift
4179 host_cpu=$1
4180 host_vendor=$2
4181 shift; shift
4182 # Remember, the first character of IFS is used to create $*,
4183 # except with old shells:
4184 host_os=$*
4185 IFS=$ac_save_IFS
4186 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4190 case "$srcdir" in
4191 .) ;;
4192 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4193 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4194 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4195 fi ;;
4196 esac
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4200 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4201 set x ${MAKE-make}
4202 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4203 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 cat >conftest.make <<\_ACEOF
4207 SHELL = /bin/sh
4208 all:
4209 @echo '@@@%%%=$(MAKE)=@@@%%%'
4210 _ACEOF
4211 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4212 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4213 *@@@%%%=?*=@@@%%%*)
4214 eval ac_cv_prog_make_${ac_make}_set=yes;;
4216 eval ac_cv_prog_make_${ac_make}_set=no;;
4217 esac
4218 rm -f conftest.make
4220 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4222 $as_echo "yes" >&6; }
4223 SET_MAKE=
4224 else
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4227 SET_MAKE="MAKE=${MAKE-make}"
4230 ac_ext=c
4231 ac_cpp='$CPP $CPPFLAGS'
4232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4235 if test -n "$ac_tool_prefix"; then
4236 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4237 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4239 $as_echo_n "checking for $ac_word... " >&6; }
4240 if ${ac_cv_prog_CC+:} false; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 if test -n "$CC"; then
4244 ac_cv_prog_CC="$CC" # Let the user override the test.
4245 else
4246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 for as_dir in $PATH
4249 IFS=$as_save_IFS
4250 test -z "$as_dir" && as_dir=.
4251 for ac_exec_ext in '' $ac_executable_extensions; do
4252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4253 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 break 2
4257 done
4258 done
4259 IFS=$as_save_IFS
4263 CC=$ac_cv_prog_CC
4264 if test -n "$CC"; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4266 $as_echo "$CC" >&6; }
4267 else
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4274 if test -z "$ac_cv_prog_CC"; then
4275 ac_ct_CC=$CC
4276 # Extract the first word of "gcc", so it can be a program name with args.
4277 set dummy gcc; ac_word=$2
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279 $as_echo_n "checking for $ac_word... " >&6; }
4280 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test -n "$ac_ct_CC"; then
4284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4285 else
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 for as_dir in $PATH
4289 IFS=$as_save_IFS
4290 test -z "$as_dir" && as_dir=.
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4293 ac_cv_prog_ac_ct_CC="gcc"
4294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 break 2
4297 done
4298 done
4299 IFS=$as_save_IFS
4303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4304 if test -n "$ac_ct_CC"; then
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4306 $as_echo "$ac_ct_CC" >&6; }
4307 else
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4309 $as_echo "no" >&6; }
4312 if test "x$ac_ct_CC" = x; then
4313 CC=""
4314 else
4315 case $cross_compiling:$ac_tool_warned in
4316 yes:)
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4319 ac_tool_warned=yes ;;
4320 esac
4321 CC=$ac_ct_CC
4323 else
4324 CC="$ac_cv_prog_CC"
4327 if test -z "$CC"; then
4328 if test -n "$ac_tool_prefix"; then
4329 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}cc; ac_word=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if ${ac_cv_prog_CC+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 if test -n "$CC"; then
4337 ac_cv_prog_CC="$CC" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_CC="${ac_tool_prefix}cc"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4350 done
4351 done
4352 IFS=$as_save_IFS
4356 CC=$ac_cv_prog_CC
4357 if test -n "$CC"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4359 $as_echo "$CC" >&6; }
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4368 if test -z "$CC"; then
4369 # Extract the first word of "cc", so it can be a program name with args.
4370 set dummy cc; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_CC+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CC"; then
4377 ac_cv_prog_CC="$CC" # Let the user override the test.
4378 else
4379 ac_prog_rejected=no
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4388 ac_prog_rejected=yes
4389 continue
4391 ac_cv_prog_CC="cc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4399 if test $ac_prog_rejected = yes; then
4400 # We found a bogon in the path, so make sure we never use it.
4401 set dummy $ac_cv_prog_CC
4402 shift
4403 if test $# != 0; then
4404 # We chose a different compiler from the bogus one.
4405 # However, it has the same basename, so the bogon will be chosen
4406 # first if we set CC to just the basename; use the full file name.
4407 shift
4408 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4413 CC=$ac_cv_prog_CC
4414 if test -n "$CC"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4416 $as_echo "$CC" >&6; }
4417 else
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4424 if test -z "$CC"; then
4425 if test -n "$ac_tool_prefix"; then
4426 for ac_prog in cl.exe
4428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if ${ac_cv_prog_CC+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 if test -n "$CC"; then
4436 ac_cv_prog_CC="$CC" # Let the user override the test.
4437 else
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH
4441 IFS=$as_save_IFS
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 break 2
4449 done
4450 done
4451 IFS=$as_save_IFS
4455 CC=$ac_cv_prog_CC
4456 if test -n "$CC"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4458 $as_echo "$CC" >&6; }
4459 else
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4465 test -n "$CC" && break
4466 done
4468 if test -z "$CC"; then
4469 ac_ct_CC=$CC
4470 for ac_prog in cl.exe
4472 # Extract the first word of "$ac_prog", so it can be a program name with args.
4473 set dummy $ac_prog; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 if test -n "$ac_ct_CC"; then
4480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4481 else
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 for as_dir in $PATH
4485 IFS=$as_save_IFS
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_ac_ct_CC="$ac_prog"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4493 done
4494 done
4495 IFS=$as_save_IFS
4499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4500 if test -n "$ac_ct_CC"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4502 $as_echo "$ac_ct_CC" >&6; }
4503 else
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4509 test -n "$ac_ct_CC" && break
4510 done
4512 if test "x$ac_ct_CC" = x; then
4513 CC=""
4514 else
4515 case $cross_compiling:$ac_tool_warned in
4516 yes:)
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4519 ac_tool_warned=yes ;;
4520 esac
4521 CC=$ac_ct_CC
4528 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4530 as_fn_error $? "no acceptable C compiler found in \$PATH
4531 See \`config.log' for more details" "$LINENO" 5; }
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4553 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 ac_clean_files_save=$ac_clean_files
4570 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4571 # Try to create an executable without -o first, disregard a.out.
4572 # It will help us diagnose broken compilers, and finding out an intuition
4573 # of exeext.
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4575 $as_echo_n "checking whether the C compiler works... " >&6; }
4576 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4578 # The possible output files:
4579 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4581 ac_rmfiles=
4582 for ac_file in $ac_files
4584 case $ac_file in
4585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4586 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4587 esac
4588 done
4589 rm -f $ac_rmfiles
4591 if { { ac_try="$ac_link_default"
4592 case "(($ac_try" in
4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594 *) ac_try_echo=$ac_try;;
4595 esac
4596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4597 $as_echo "$ac_try_echo"; } >&5
4598 (eval "$ac_link_default") 2>&5
4599 ac_status=$?
4600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4601 test $ac_status = 0; }; then :
4602 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4603 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4604 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4605 # so that the user can short-circuit this test for compilers unknown to
4606 # Autoconf.
4607 for ac_file in $ac_files ''
4609 test -f "$ac_file" || continue
4610 case $ac_file in
4611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4613 [ab].out )
4614 # We found the default executable, but exeext='' is most
4615 # certainly right.
4616 break;;
4617 *.* )
4618 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4619 then :; else
4620 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4622 # We set ac_cv_exeext here because the later test for it is not
4623 # safe: cross compilers may not add the suffix if given an `-o'
4624 # argument, so we may need to know it at that point already.
4625 # Even if this section looks crufty: it has the advantage of
4626 # actually working.
4627 break;;
4629 break;;
4630 esac
4631 done
4632 test "$ac_cv_exeext" = no && ac_cv_exeext=
4634 else
4635 ac_file=''
4637 if test -z "$ac_file"; then :
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4640 $as_echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.$ac_ext >&5
4643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4645 as_fn_error 77 "C compiler cannot create executables
4646 See \`config.log' for more details" "$LINENO" 5; }
4647 else
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4649 $as_echo "yes" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4652 $as_echo_n "checking for C compiler default output file name... " >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4654 $as_echo "$ac_file" >&6; }
4655 ac_exeext=$ac_cv_exeext
4657 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4658 ac_clean_files=$ac_clean_files_save
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4660 $as_echo_n "checking for suffix of executables... " >&6; }
4661 if { { ac_try="$ac_link"
4662 case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667 $as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_link") 2>&5
4669 ac_status=$?
4670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4671 test $ac_status = 0; }; then :
4672 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4673 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4674 # work properly (i.e., refer to `conftest.exe'), while it won't with
4675 # `rm'.
4676 for ac_file in conftest.exe conftest conftest.*; do
4677 test -f "$ac_file" || continue
4678 case $ac_file in
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4680 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4681 break;;
4682 * ) break;;
4683 esac
4684 done
4685 else
4686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4688 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4689 See \`config.log' for more details" "$LINENO" 5; }
4691 rm -f conftest conftest$ac_cv_exeext
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4693 $as_echo "$ac_cv_exeext" >&6; }
4695 rm -f conftest.$ac_ext
4696 EXEEXT=$ac_cv_exeext
4697 ac_exeext=$EXEEXT
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 #include <stdio.h>
4702 main ()
4704 FILE *f = fopen ("conftest.out", "w");
4705 return ferror (f) || fclose (f) != 0;
4708 return 0;
4710 _ACEOF
4711 ac_clean_files="$ac_clean_files conftest.out"
4712 # Check that the compiler produces executables we can run. If not, either
4713 # the compiler is broken, or we cross compile.
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4715 $as_echo_n "checking whether we are cross compiling... " >&6; }
4716 if test "$cross_compiling" != yes; then
4717 { { ac_try="$ac_link"
4718 case "(($ac_try" in
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4720 *) ac_try_echo=$ac_try;;
4721 esac
4722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4723 $as_echo "$ac_try_echo"; } >&5
4724 (eval "$ac_link") 2>&5
4725 ac_status=$?
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }
4728 if { ac_try='./conftest$ac_cv_exeext'
4729 { { case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732 esac
4733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735 (eval "$ac_try") 2>&5
4736 ac_status=$?
4737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4738 test $ac_status = 0; }; }; then
4739 cross_compiling=no
4740 else
4741 if test "$cross_compiling" = maybe; then
4742 cross_compiling=yes
4743 else
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error $? "cannot run C compiled programs.
4747 If you meant to cross compile, use \`--host'.
4748 See \`config.log' for more details" "$LINENO" 5; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4753 $as_echo "$cross_compiling" >&6; }
4755 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4756 ac_clean_files=$ac_clean_files_save
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4758 $as_echo_n "checking for suffix of object files... " >&6; }
4759 if ${ac_cv_objext+:} false; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4766 main ()
4770 return 0;
4772 _ACEOF
4773 rm -f conftest.o conftest.obj
4774 if { { ac_try="$ac_compile"
4775 case "(($ac_try" in
4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4778 esac
4779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4780 $as_echo "$ac_try_echo"; } >&5
4781 (eval "$ac_compile") 2>&5
4782 ac_status=$?
4783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4784 test $ac_status = 0; }; then :
4785 for ac_file in conftest.o conftest.obj conftest.*; do
4786 test -f "$ac_file" || continue;
4787 case $ac_file in
4788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4789 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4790 break;;
4791 esac
4792 done
4793 else
4794 $as_echo "$as_me: failed program was:" >&5
4795 sed 's/^/| /' conftest.$ac_ext >&5
4797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4799 as_fn_error $? "cannot compute suffix of object files: cannot compile
4800 See \`config.log' for more details" "$LINENO" 5; }
4802 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4805 $as_echo "$ac_cv_objext" >&6; }
4806 OBJEXT=$ac_cv_objext
4807 ac_objext=$OBJEXT
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4809 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4810 if ${ac_cv_c_compiler_gnu+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4817 main ()
4819 #ifndef __GNUC__
4820 choke me
4821 #endif
4824 return 0;
4826 _ACEOF
4827 if ac_fn_c_try_compile "$LINENO"; then :
4828 ac_compiler_gnu=yes
4829 else
4830 ac_compiler_gnu=no
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4837 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4838 if test $ac_compiler_gnu = yes; then
4839 GCC=yes
4840 else
4841 GCC=
4843 ac_test_CFLAGS=${CFLAGS+set}
4844 ac_save_CFLAGS=$CFLAGS
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4846 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4847 if ${ac_cv_prog_cc_g+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 ac_save_c_werror_flag=$ac_c_werror_flag
4851 ac_c_werror_flag=yes
4852 ac_cv_prog_cc_g=no
4853 CFLAGS="-g"
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4858 main ()
4862 return 0;
4864 _ACEOF
4865 if ac_fn_c_try_compile "$LINENO"; then :
4866 ac_cv_prog_cc_g=yes
4867 else
4868 CFLAGS=""
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4873 main ()
4877 return 0;
4879 _ACEOF
4880 if ac_fn_c_try_compile "$LINENO"; then :
4882 else
4883 ac_c_werror_flag=$ac_save_c_werror_flag
4884 CFLAGS="-g"
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 if ac_fn_c_try_compile "$LINENO"; then :
4897 ac_cv_prog_cc_g=yes
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_c_werror_flag=$ac_save_c_werror_flag
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4907 $as_echo "$ac_cv_prog_cc_g" >&6; }
4908 if test "$ac_test_CFLAGS" = set; then
4909 CFLAGS=$ac_save_CFLAGS
4910 elif test $ac_cv_prog_cc_g = yes; then
4911 if test "$GCC" = yes; then
4912 CFLAGS="-g -O2"
4913 else
4914 CFLAGS="-g"
4916 else
4917 if test "$GCC" = yes; then
4918 CFLAGS="-O2"
4919 else
4920 CFLAGS=
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4924 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4925 if ${ac_cv_prog_cc_c89+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 ac_cv_prog_cc_c89=no
4929 ac_save_CC=$CC
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4932 #include <stdarg.h>
4933 #include <stdio.h>
4934 struct stat;
4935 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4936 struct buf { int x; };
4937 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4938 static char *e (p, i)
4939 char **p;
4940 int i;
4942 return p[i];
4944 static char *f (char * (*g) (char **, int), char **p, ...)
4946 char *s;
4947 va_list v;
4948 va_start (v,p);
4949 s = g (p, va_arg (v,int));
4950 va_end (v);
4951 return s;
4954 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4955 function prototypes and stuff, but not '\xHH' hex character constants.
4956 These don't provoke an error unfortunately, instead are silently treated
4957 as 'x'. The following induces an error, until -std is added to get
4958 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4959 array size at least. It's necessary to write '\x00'==0 to get something
4960 that's true only with -std. */
4961 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4963 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4964 inside strings and character constants. */
4965 #define FOO(x) 'x'
4966 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4968 int test (int i, double x);
4969 struct s1 {int (*f) (int a);};
4970 struct s2 {int (*f) (double a);};
4971 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4972 int argc;
4973 char **argv;
4975 main ()
4977 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4979 return 0;
4981 _ACEOF
4982 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4983 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4985 CC="$ac_save_CC $ac_arg"
4986 if ac_fn_c_try_compile "$LINENO"; then :
4987 ac_cv_prog_cc_c89=$ac_arg
4989 rm -f core conftest.err conftest.$ac_objext
4990 test "x$ac_cv_prog_cc_c89" != "xno" && break
4991 done
4992 rm -f conftest.$ac_ext
4993 CC=$ac_save_CC
4996 # AC_CACHE_VAL
4997 case "x$ac_cv_prog_cc_c89" in
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5000 $as_echo "none needed" >&6; } ;;
5001 xno)
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5003 $as_echo "unsupported" >&6; } ;;
5005 CC="$CC $ac_cv_prog_cc_c89"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5007 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5008 esac
5009 if test "x$ac_cv_prog_cc_c89" != xno; then :
5013 ac_ext=c
5014 ac_cpp='$CPP $CPPFLAGS'
5015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5019 ac_ext=cpp
5020 ac_cpp='$CXXCPP $CPPFLAGS'
5021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5024 if test -z "$CXX"; then
5025 if test -n "$CCC"; then
5026 CXX=$CCC
5027 else
5028 if test -n "$ac_tool_prefix"; then
5029 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_CXX+:} false; then :
5036 $as_echo_n "(cached) " >&6
5037 else
5038 if test -n "$CXX"; then
5039 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5040 else
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 for as_dir in $PATH
5044 IFS=$as_save_IFS
5045 test -z "$as_dir" && as_dir=.
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 break 2
5052 done
5053 done
5054 IFS=$as_save_IFS
5058 CXX=$ac_cv_prog_CXX
5059 if test -n "$CXX"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5061 $as_echo "$CXX" >&6; }
5062 else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 test -n "$CXX" && break
5069 done
5071 if test -z "$CXX"; then
5072 ac_ct_CXX=$CXX
5073 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5075 # Extract the first word of "$ac_prog", so it can be a program name with args.
5076 set dummy $ac_prog; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_CXX"; then
5083 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_ac_ct_CXX="$ac_prog"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5103 if test -n "$ac_ct_CXX"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5105 $as_echo "$ac_ct_CXX" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5112 test -n "$ac_ct_CXX" && break
5113 done
5115 if test "x$ac_ct_CXX" = x; then
5116 CXX="g++"
5117 else
5118 case $cross_compiling:$ac_tool_warned in
5119 yes:)
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned=yes ;;
5123 esac
5124 CXX=$ac_ct_CXX
5130 # Provide some information about the compiler.
5131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5132 set X $ac_compile
5133 ac_compiler=$2
5134 for ac_option in --version -v -V -qversion; do
5135 { { ac_try="$ac_compiler $ac_option >&5"
5136 case "(($ac_try" in
5137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5138 *) ac_try_echo=$ac_try;;
5139 esac
5140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5141 $as_echo "$ac_try_echo"; } >&5
5142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5143 ac_status=$?
5144 if test -s conftest.err; then
5145 sed '10a\
5146 ... rest of stderr output deleted ...
5147 10q' conftest.err >conftest.er1
5148 cat conftest.er1 >&5
5150 rm -f conftest.er1 conftest.err
5151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 test $ac_status = 0; }
5153 done
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5156 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5157 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5164 main ()
5166 #ifndef __GNUC__
5167 choke me
5168 #endif
5171 return 0;
5173 _ACEOF
5174 if ac_fn_cxx_try_compile "$LINENO"; then :
5175 ac_compiler_gnu=yes
5176 else
5177 ac_compiler_gnu=no
5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5180 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5184 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5185 if test $ac_compiler_gnu = yes; then
5186 GXX=yes
5187 else
5188 GXX=
5190 ac_test_CXXFLAGS=${CXXFLAGS+set}
5191 ac_save_CXXFLAGS=$CXXFLAGS
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5193 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5194 if ${ac_cv_prog_cxx_g+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5198 ac_cxx_werror_flag=yes
5199 ac_cv_prog_cxx_g=no
5200 CXXFLAGS="-g"
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5205 main ()
5209 return 0;
5211 _ACEOF
5212 if ac_fn_cxx_try_compile "$LINENO"; then :
5213 ac_cv_prog_cxx_g=yes
5214 else
5215 CXXFLAGS=""
5216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5220 main ()
5224 return 0;
5226 _ACEOF
5227 if ac_fn_cxx_try_compile "$LINENO"; then :
5229 else
5230 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5231 CXXFLAGS="-g"
5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5236 main ()
5240 return 0;
5242 _ACEOF
5243 if ac_fn_cxx_try_compile "$LINENO"; then :
5244 ac_cv_prog_cxx_g=yes
5246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5254 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5255 if test "$ac_test_CXXFLAGS" = set; then
5256 CXXFLAGS=$ac_save_CXXFLAGS
5257 elif test $ac_cv_prog_cxx_g = yes; then
5258 if test "$GXX" = yes; then
5259 CXXFLAGS="-g -O2"
5260 else
5261 CXXFLAGS="-g"
5263 else
5264 if test "$GXX" = yes; then
5265 CXXFLAGS="-O2"
5266 else
5267 CXXFLAGS=
5270 ac_ext=c
5271 ac_cpp='$CPP $CPPFLAGS'
5272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5276 if test -n "$ac_tool_prefix"; then
5277 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5278 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_CPPBIN+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 if test -n "$CPPBIN"; then
5285 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5286 else
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 break 2
5298 done
5299 done
5300 IFS=$as_save_IFS
5304 CPPBIN=$ac_cv_prog_CPPBIN
5305 if test -n "$CPPBIN"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5307 $as_echo "$CPPBIN" >&6; }
5308 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5315 if test -z "$ac_cv_prog_CPPBIN"; then
5316 ac_ct_CPPBIN=$CPPBIN
5317 # Extract the first word of "cpp", so it can be a program name with args.
5318 set dummy cpp; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5322 $as_echo_n "(cached) " >&6
5323 else
5324 if test -n "$ac_ct_CPPBIN"; then
5325 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5330 IFS=$as_save_IFS
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334 ac_cv_prog_ac_ct_CPPBIN="cpp"
5335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 break 2
5338 done
5339 done
5340 IFS=$as_save_IFS
5344 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5345 if test -n "$ac_ct_CPPBIN"; then
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5347 $as_echo "$ac_ct_CPPBIN" >&6; }
5348 else
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5353 if test "x$ac_ct_CPPBIN" = x; then
5354 CPPBIN="cpp"
5355 else
5356 case $cross_compiling:$ac_tool_warned in
5357 yes:)
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5360 ac_tool_warned=yes ;;
5361 esac
5362 CPPBIN=$ac_ct_CPPBIN
5364 else
5365 CPPBIN="$ac_cv_prog_CPPBIN"
5369 cat >>confdefs.h <<_ACEOF
5370 #define EXEEXT "$ac_exeext"
5371 _ACEOF
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}ld; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_LD+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$LD"; then
5382 ac_cv_prog_LD="$LD" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_LD="${ac_tool_prefix}ld"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 LD=$ac_cv_prog_LD
5402 if test -n "$LD"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5404 $as_echo "$LD" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5412 if test -z "$ac_cv_prog_LD"; then
5413 ac_ct_LD=$LD
5414 # Extract the first word of "ld", so it can be a program name with args.
5415 set dummy ld; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 if test -n "$ac_ct_LD"; then
5422 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5427 IFS=$as_save_IFS
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_ac_ct_LD="ld"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 break 2
5435 done
5436 done
5437 IFS=$as_save_IFS
5441 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5442 if test -n "$ac_ct_LD"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5444 $as_echo "$ac_ct_LD" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5450 if test "x$ac_ct_LD" = x; then
5451 LD=""
5452 else
5453 case $cross_compiling:$ac_tool_warned in
5454 yes:)
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5457 ac_tool_warned=yes ;;
5458 esac
5459 LD=$ac_ct_LD
5461 else
5462 LD="$ac_cv_prog_LD"
5466 case $host in
5467 *-darwin*)
5468 with_fontconfig=${with_fontconfig:-no}
5470 *-mingw32*|*-cygwin*)
5471 enable_win16=${enable_win16:-no}
5472 CFLAGS="$CFLAGS -D_WIN32"
5474 esac
5476 case $host in
5477 x86_64*|amd64*)
5478 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5479 then
5480 CC="$CC -m32"
5481 CXX="$CXX -m32"
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5483 $as_echo_n "checking whether $CC works... " >&6; }
5485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5489 main ()
5493 return 0;
5495 _ACEOF
5496 if ac_fn_c_try_link "$LINENO"; then :
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5498 $as_echo "yes" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5502 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5504 rm -f core conftest.err conftest.$ac_objext \
5505 conftest$ac_exeext conftest.$ac_ext
5506 host_cpu="i386"
5507 notice_platform="32-bit "
5508 TARGETFLAGS="-m32"
5510 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5511 export PKG_CONFIG_PATH
5512 enable_win16=${enable_win16:-yes}
5513 else
5514 if test "x${GCC}" = "xyes"
5515 then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5517 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5520 #include <stdarg.h>
5522 main ()
5524 void func(__builtin_ms_va_list *args);
5526 return 0;
5528 _ACEOF
5529 if ac_fn_c_try_compile "$LINENO"; then :
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5531 $as_echo "yes" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5535 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5539 CC="$CC -m64"
5540 CXX="$CXX -m64"
5541 host_cpu="x86_64"
5542 notice_platform="64-bit "
5543 TARGETFLAGS="-m64"
5547 arm*)
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5549 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5552 int ac_test(int i) { return i; }
5554 main ()
5556 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_link "$LINENO"; then :
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5563 $as_echo "yes" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5567 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5569 rm -f core conftest.err conftest.$ac_objext \
5570 conftest$ac_exeext conftest.$ac_ext
5571 case $with_float_abi in
5572 soft|softfp|hard)
5573 float_abi=$with_float_abi ;;
5575 case $host_os in
5576 *eabihf)
5577 float_abi=hard ;;
5579 float_abi=softfp
5580 saved_CFLAGS=$CFLAGS
5581 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5583 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5588 main ()
5590 asm("vmrs r2,fpscr");
5592 return 0;
5594 _ACEOF
5595 if ac_fn_c_try_link "$LINENO"; then :
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5597 $as_echo "yes" >&6; }
5598 else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5601 float_abi=soft
5602 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5604 rm -f core conftest.err conftest.$ac_objext \
5605 conftest$ac_exeext conftest.$ac_ext
5606 CFLAGS=$saved_CFLAGS
5607 esac
5609 esac
5610 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5611 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5614 aarch64*)
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5616 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5619 #include <stdarg.h>
5621 main ()
5623 void func(__builtin_ms_va_list *args);
5625 return 0;
5627 _ACEOF
5628 if ac_fn_c_try_compile "$LINENO"; then :
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5630 $as_echo "yes" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5638 i[3456789]86*)
5639 enable_win16=${enable_win16:-yes}
5641 esac
5643 enable_win16=${enable_win16:-no}
5644 enable_win64=${enable_win64:-no}
5646 enable_winetest=${enable_winetest:-$enable_tests}
5648 if test -n "$with_wine64"
5649 then
5650 if test "x$enable_win64" = "xyes"
5651 then
5652 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5653 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5655 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5656 You should create a separate build directory and run configure from there." "$LINENO" 5
5657 enable_fonts=${enable_fonts:-no}
5658 enable_server=${enable_server:-no}
5659 wine64_disable=\#
5661 elif test "x$enable_win64" = "xyes"
5662 then
5663 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5667 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5668 if ${wine_cv_toolsdir+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 wine_cv_toolsdir="$with_wine_tools"
5672 if test -z "$with_wine_tools"; then
5673 if test "$cross_compiling" = "yes"; then
5674 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5675 elif test -n "$with_wine64"; then
5676 wine_cv_toolsdir="$with_wine64"
5679 if test -z "$wine_cv_toolsdir"; then
5680 wine_makedep=tools/makedep
5681 wine_cv_toolsdir="\$(top_builddir)"
5682 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5683 wine_makedep=$wine_cv_toolsdir/tools/makedep
5684 case "$wine_cv_toolsdir" in
5685 /*) ;;
5686 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5687 esac
5688 enable_tools=${enable_tools:-no}
5689 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5690 else
5691 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5695 $as_echo "$wine_cv_toolsdir" >&6; }
5696 TOOLSDIR=$wine_cv_toolsdir
5698 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5699 then
5700 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5704 for ac_prog in flex
5706 # Extract the first word of "$ac_prog", so it can be a program name with args.
5707 set dummy $ac_prog; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_FLEX+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if test -n "$FLEX"; then
5714 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5715 else
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_FLEX="$ac_prog"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 FLEX=$ac_cv_prog_FLEX
5734 if test -n "$FLEX"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5736 $as_echo "$FLEX" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5743 test -n "$FLEX" && break
5744 done
5745 test -n "$FLEX" || FLEX="none"
5747 if test "$FLEX" = "none"
5748 then
5749 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5752 $as_echo_n "checking whether flex is recent enough... " >&6; }
5753 cat >conftest.l <<EOF
5754 %top{
5755 #include "prediluvian.h"
5759 if $FLEX -t conftest.l >/dev/null 2>&5
5760 then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5762 $as_echo "yes" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5769 for ac_prog in bison
5771 # Extract the first word of "$ac_prog", so it can be a program name with args.
5772 set dummy $ac_prog; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_BISON+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$BISON"; then
5779 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_BISON="$ac_prog"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 BISON=$ac_cv_prog_BISON
5799 if test -n "$BISON"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5801 $as_echo "$BISON" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5808 test -n "$BISON" && break
5809 done
5810 test -n "$BISON" || BISON="none"
5812 if test "$BISON" = "none"
5813 then
5814 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5817 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in ar gar
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_AR+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$AR"; then
5828 ac_cv_prog_AR="$AR" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 AR=$ac_cv_prog_AR
5848 if test -n "$AR"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5850 $as_echo "$AR" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$AR" && break
5858 done
5860 if test -z "$AR"; then
5861 ac_ct_AR=$AR
5862 for ac_prog in ar gar
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$ac_ct_AR"; then
5872 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_ac_ct_AR="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5892 if test -n "$ac_ct_AR"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5894 $as_echo "$ac_ct_AR" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$ac_ct_AR" && break
5902 done
5904 if test "x$ac_ct_AR" = x; then
5905 AR="ar"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 AR=$ac_ct_AR
5917 if test -n "$ac_tool_prefix"; then
5918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5919 set dummy ${ac_tool_prefix}strip; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_STRIP+:} false; then :
5923 $as_echo_n "(cached) " >&6
5924 else
5925 if test -n "$STRIP"; then
5926 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 break 2
5939 done
5940 done
5941 IFS=$as_save_IFS
5945 STRIP=$ac_cv_prog_STRIP
5946 if test -n "$STRIP"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5948 $as_echo "$STRIP" >&6; }
5949 else
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5956 if test -z "$ac_cv_prog_STRIP"; then
5957 ac_ct_STRIP=$STRIP
5958 # Extract the first word of "strip", so it can be a program name with args.
5959 set dummy strip; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 if test -n "$ac_ct_STRIP"; then
5966 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_ac_ct_STRIP="strip"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5986 if test -n "$ac_ct_STRIP"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5988 $as_echo "$ac_ct_STRIP" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5994 if test "x$ac_ct_STRIP" = x; then
5995 STRIP="strip"
5996 else
5997 case $cross_compiling:$ac_tool_warned in
5998 yes:)
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6001 ac_tool_warned=yes ;;
6002 esac
6003 STRIP=$ac_ct_STRIP
6005 else
6006 STRIP="$ac_cv_prog_STRIP"
6009 ARFLAGS=rc
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_RANLIB+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if test -n "$RANLIB"; then
6020 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 RANLIB=$ac_cv_prog_RANLIB
6040 if test -n "$RANLIB"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6042 $as_echo "$RANLIB" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6050 if test -z "$ac_cv_prog_RANLIB"; then
6051 ac_ct_RANLIB=$RANLIB
6052 # Extract the first word of "ranlib", so it can be a program name with args.
6053 set dummy ranlib; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$ac_ct_RANLIB"; then
6060 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_ac_ct_RANLIB="ranlib"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6080 if test -n "$ac_ct_RANLIB"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6082 $as_echo "$ac_ct_RANLIB" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6088 if test "x$ac_ct_RANLIB" = x; then
6089 RANLIB=":"
6090 else
6091 case $cross_compiling:$ac_tool_warned in
6092 yes:)
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095 ac_tool_warned=yes ;;
6096 esac
6097 RANLIB=$ac_ct_RANLIB
6099 else
6100 RANLIB="$ac_cv_prog_RANLIB"
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6104 $as_echo_n "checking whether ln -s works... " >&6; }
6105 LN_S=$as_ln_s
6106 if test "$LN_S" = "ln -s"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6108 $as_echo "yes" >&6; }
6109 else
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6111 $as_echo "no, using $LN_S" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6115 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6116 if ${ac_cv_path_GREP+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -z "$GREP"; then
6120 ac_path_GREP_found=false
6121 # Loop through the user's path and test for each of PROGNAME-LIST
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_prog in grep ggrep; do
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6130 as_fn_executable_p "$ac_path_GREP" || continue
6131 # Check for GNU ac_path_GREP and select it if it is found.
6132 # Check for GNU $ac_path_GREP
6133 case `"$ac_path_GREP" --version 2>&1` in
6134 *GNU*)
6135 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6137 ac_count=0
6138 $as_echo_n 0123456789 >"conftest.in"
6139 while :
6141 cat "conftest.in" "conftest.in" >"conftest.tmp"
6142 mv "conftest.tmp" "conftest.in"
6143 cp "conftest.in" "conftest.nl"
6144 $as_echo 'GREP' >> "conftest.nl"
6145 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6146 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6147 as_fn_arith $ac_count + 1 && ac_count=$as_val
6148 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6149 # Best one so far, save it but keep looking for a better one
6150 ac_cv_path_GREP="$ac_path_GREP"
6151 ac_path_GREP_max=$ac_count
6153 # 10*(2^10) chars as input seems more than enough
6154 test $ac_count -gt 10 && break
6155 done
6156 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6157 esac
6159 $ac_path_GREP_found && break 3
6160 done
6161 done
6162 done
6163 IFS=$as_save_IFS
6164 if test -z "$ac_cv_path_GREP"; then
6165 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6167 else
6168 ac_cv_path_GREP=$GREP
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6173 $as_echo "$ac_cv_path_GREP" >&6; }
6174 GREP="$ac_cv_path_GREP"
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6178 $as_echo_n "checking for egrep... " >&6; }
6179 if ${ac_cv_path_EGREP+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6183 then ac_cv_path_EGREP="$GREP -E"
6184 else
6185 if test -z "$EGREP"; then
6186 ac_path_EGREP_found=false
6187 # Loop through the user's path and test for each of PROGNAME-LIST
6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6191 IFS=$as_save_IFS
6192 test -z "$as_dir" && as_dir=.
6193 for ac_prog in egrep; do
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6196 as_fn_executable_p "$ac_path_EGREP" || continue
6197 # Check for GNU ac_path_EGREP and select it if it is found.
6198 # Check for GNU $ac_path_EGREP
6199 case `"$ac_path_EGREP" --version 2>&1` in
6200 *GNU*)
6201 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6203 ac_count=0
6204 $as_echo_n 0123456789 >"conftest.in"
6205 while :
6207 cat "conftest.in" "conftest.in" >"conftest.tmp"
6208 mv "conftest.tmp" "conftest.in"
6209 cp "conftest.in" "conftest.nl"
6210 $as_echo 'EGREP' >> "conftest.nl"
6211 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6212 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6213 as_fn_arith $ac_count + 1 && ac_count=$as_val
6214 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6215 # Best one so far, save it but keep looking for a better one
6216 ac_cv_path_EGREP="$ac_path_EGREP"
6217 ac_path_EGREP_max=$ac_count
6219 # 10*(2^10) chars as input seems more than enough
6220 test $ac_count -gt 10 && break
6221 done
6222 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6223 esac
6225 $ac_path_EGREP_found && break 3
6226 done
6227 done
6228 done
6229 IFS=$as_save_IFS
6230 if test -z "$ac_cv_path_EGREP"; then
6231 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6233 else
6234 ac_cv_path_EGREP=$EGREP
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6240 $as_echo "$ac_cv_path_EGREP" >&6; }
6241 EGREP="$ac_cv_path_EGREP"
6244 # Extract the first word of "ldconfig", so it can be a program name with args.
6245 set dummy ldconfig; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if ${ac_cv_path_LDCONFIG+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 case $LDCONFIG in
6252 [\\/]* | ?:[\\/]*)
6253 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 for as_dir in /sbin /usr/sbin $PATH
6259 IFS=$as_save_IFS
6260 test -z "$as_dir" && as_dir=.
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6263 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 break 2
6267 done
6268 done
6269 IFS=$as_save_IFS
6271 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6273 esac
6275 LDCONFIG=$ac_cv_path_LDCONFIG
6276 if test -n "$LDCONFIG"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6278 $as_echo "$LDCONFIG" >&6; }
6279 else
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 $as_echo "no" >&6; }
6285 for ac_prog in msgfmt
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if ${ac_cv_prog_MSGFMT+:} false; then :
6292 $as_echo_n "(cached) " >&6
6293 else
6294 if test -n "$MSGFMT"; then
6295 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304 ac_cv_prog_MSGFMT="$ac_prog"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2
6308 done
6309 done
6310 IFS=$as_save_IFS
6314 MSGFMT=$ac_cv_prog_MSGFMT
6315 if test -n "$MSGFMT"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6317 $as_echo "$MSGFMT" >&6; }
6318 else
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6324 test -n "$MSGFMT" && break
6325 done
6326 test -n "$MSGFMT" || MSGFMT="false"
6328 if ${ac_tool_prefix+:} false; then :
6329 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6330 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 if test -n "$PKG_CONFIG"; then
6337 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6338 else
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH
6342 IFS=$as_save_IFS
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6346 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 break 2
6350 done
6351 done
6352 IFS=$as_save_IFS
6356 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6357 if test -n "$PKG_CONFIG"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6359 $as_echo "$PKG_CONFIG" >&6; }
6360 else
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6367 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6368 if test "x$cross_compiling" = xyes; then :
6370 else
6371 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6372 # Extract the first word of "pkg-config", so it can be a program name with args.
6373 set dummy pkg-config; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6377 $as_echo_n "(cached) " >&6
6378 else
6379 if test -n "$PKG_CONFIG"; then
6380 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_PKG_CONFIG="pkg-config"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6393 done
6394 done
6395 IFS=$as_save_IFS
6399 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6400 if test -n "$PKG_CONFIG"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6402 $as_echo "$PKG_CONFIG" >&6; }
6403 else
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6410 else
6411 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6414 if test "x$enable_maintainer_mode" != "xyes"
6415 then
6416 FONTFORGE=""
6417 RSVG=""
6418 CONVERT=""
6419 ICOTOOL=""
6420 else
6421 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6422 for ac_prog in fontforge
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_FONTFORGE+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$FONTFORGE"; then
6432 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_FONTFORGE="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 FONTFORGE=$ac_cv_prog_FONTFORGE
6452 if test -n "$FONTFORGE"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6454 $as_echo "$FONTFORGE" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$FONTFORGE" && break
6462 done
6463 test -n "$FONTFORGE" || FONTFORGE="false"
6465 for ac_prog in rsvg-convert rsvg
6467 # Extract the first word of "$ac_prog", so it can be a program name with args.
6468 set dummy $ac_prog; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_RSVG+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$RSVG"; then
6475 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_RSVG="$ac_prog"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 RSVG=$ac_cv_prog_RSVG
6495 if test -n "$RSVG"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6497 $as_echo "$RSVG" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6504 test -n "$RSVG" && break
6505 done
6506 test -n "$RSVG" || RSVG="false"
6508 for ac_prog in convert
6510 # Extract the first word of "$ac_prog", so it can be a program name with args.
6511 set dummy $ac_prog; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_CONVERT+:} false; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$CONVERT"; then
6518 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_CONVERT="$ac_prog"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 CONVERT=$ac_cv_prog_CONVERT
6538 if test -n "$CONVERT"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6540 $as_echo "$CONVERT" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6547 test -n "$CONVERT" && break
6548 done
6549 test -n "$CONVERT" || CONVERT="false"
6551 for ac_prog in icotool
6553 # Extract the first word of "$ac_prog", so it can be a program name with args.
6554 set dummy $ac_prog; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if ${ac_cv_prog_ICOTOOL+:} false; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ICOTOOL"; then
6561 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_ICOTOOL="$ac_prog"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ICOTOOL=$ac_cv_prog_ICOTOOL
6581 if test -n "$ICOTOOL"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6583 $as_echo "$ICOTOOL" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6590 test -n "$ICOTOOL" && break
6591 done
6592 test -n "$ICOTOOL" || ICOTOOL="false"
6594 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6595 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6597 if test "$CONVERT" = false
6598 then
6599 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6600 else
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6602 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6603 convert_version=`convert --version | head -n1`
6604 if test "x$convert_version" != "x"
6605 then
6606 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6607 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6608 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6609 then
6610 CONVERT=false
6613 if test "$CONVERT" = false
6614 then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6616 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6617 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6618 else
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6620 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6624 if test "$ICOTOOL" = false
6625 then
6626 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6627 else
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6629 $as_echo_n "checking for recent enough icotool... " >&6; }
6630 icotool_version=`icotool --version | head -n1`
6631 if test "x$icotool_version" != "x"
6632 then
6633 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6634 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6635 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6636 then
6637 ICOTOOL=false
6638 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6641 if test "$ICOTOOL" = false
6642 then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6644 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6645 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6646 else
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6648 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6652 with_gettext=yes
6653 with_gettextpo=yes
6654 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6657 test "x$with_gettext" != xno || MSGFMT=false
6658 if test "$MSGFMT" != "false"
6659 then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6661 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6662 cat >conftest.po <<EOF
6663 # comment
6664 msgctxt "ctxt"
6665 msgid "id"
6666 msgstr "str"
6668 if $MSGFMT -o /dev/null conftest.po 2>&5
6669 then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6671 $as_echo "yes" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6675 MSGFMT=false
6678 if test "$MSGFMT" = false; then :
6679 case "x$with_gettext" in
6680 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6681 xno) ;;
6682 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6683 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6684 esac
6685 enable_po=${enable_po:-no}
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6690 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6691 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 ac_check_lib_save_LIBS=$LIBS
6695 LIBS="-li386 $LIBS"
6696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6699 /* Override any GCC internal prototype to avoid an error.
6700 Use char because int might match the return type of a GCC
6701 builtin and then its argument prototype would still apply. */
6702 #ifdef __cplusplus
6703 extern "C"
6704 #endif
6705 char i386_set_ldt ();
6707 main ()
6709 return i386_set_ldt ();
6711 return 0;
6713 _ACEOF
6714 if ac_fn_c_try_link "$LINENO"; then :
6715 ac_cv_lib_i386_i386_set_ldt=yes
6716 else
6717 ac_cv_lib_i386_i386_set_ldt=no
6719 rm -f core conftest.err conftest.$ac_objext \
6720 conftest$ac_exeext conftest.$ac_ext
6721 LIBS=$ac_check_lib_save_LIBS
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6724 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6725 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6726 cat >>confdefs.h <<_ACEOF
6727 #define HAVE_LIBI386 1
6728 _ACEOF
6730 LIBS="-li386 $LIBS"
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6735 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6736 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6737 $as_echo_n "(cached) " >&6
6738 else
6739 ac_check_lib_save_LIBS=$LIBS
6740 LIBS="-lossaudio $LIBS"
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6744 /* Override any GCC internal prototype to avoid an error.
6745 Use char because int might match the return type of a GCC
6746 builtin and then its argument prototype would still apply. */
6747 #ifdef __cplusplus
6748 extern "C"
6749 #endif
6750 char _oss_ioctl ();
6752 main ()
6754 return _oss_ioctl ();
6756 return 0;
6758 _ACEOF
6759 if ac_fn_c_try_link "$LINENO"; then :
6760 ac_cv_lib_ossaudio__oss_ioctl=yes
6761 else
6762 ac_cv_lib_ossaudio__oss_ioctl=no
6764 rm -f core conftest.err conftest.$ac_objext \
6765 conftest$ac_exeext conftest.$ac_ext
6766 LIBS=$ac_check_lib_save_LIBS
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6769 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6770 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6771 cat >>confdefs.h <<_ACEOF
6772 #define HAVE_LIBOSSAUDIO 1
6773 _ACEOF
6775 LIBS="-lossaudio $LIBS"
6780 OPENGL_LIBS=""
6784 # Check whether --enable-largefile was given.
6785 if test "${enable_largefile+set}" = set; then :
6786 enableval=$enable_largefile;
6789 if test "$enable_largefile" != no; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6792 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6793 if ${ac_cv_sys_largefile_CC+:} false; then :
6794 $as_echo_n "(cached) " >&6
6795 else
6796 ac_cv_sys_largefile_CC=no
6797 if test "$GCC" != yes; then
6798 ac_save_CC=$CC
6799 while :; do
6800 # IRIX 6.2 and later do not support large files by default,
6801 # so use the C compiler's -n32 option if that helps.
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6804 #include <sys/types.h>
6805 /* Check that off_t can represent 2**63 - 1 correctly.
6806 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6807 since some C++ compilers masquerading as C compilers
6808 incorrectly reject 9223372036854775807. */
6809 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6810 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6811 && LARGE_OFF_T % 2147483647 == 1)
6812 ? 1 : -1];
6814 main ()
6818 return 0;
6820 _ACEOF
6821 if ac_fn_c_try_compile "$LINENO"; then :
6822 break
6824 rm -f core conftest.err conftest.$ac_objext
6825 CC="$CC -n32"
6826 if ac_fn_c_try_compile "$LINENO"; then :
6827 ac_cv_sys_largefile_CC=' -n32'; break
6829 rm -f core conftest.err conftest.$ac_objext
6830 break
6831 done
6832 CC=$ac_save_CC
6833 rm -f conftest.$ac_ext
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6837 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6838 if test "$ac_cv_sys_largefile_CC" != no; then
6839 CC=$CC$ac_cv_sys_largefile_CC
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6843 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6844 if ${ac_cv_sys_file_offset_bits+:} false; then :
6845 $as_echo_n "(cached) " >&6
6846 else
6847 while :; do
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6850 #include <sys/types.h>
6851 /* Check that off_t can represent 2**63 - 1 correctly.
6852 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6853 since some C++ compilers masquerading as C compilers
6854 incorrectly reject 9223372036854775807. */
6855 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6856 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6857 && LARGE_OFF_T % 2147483647 == 1)
6858 ? 1 : -1];
6860 main ()
6864 return 0;
6866 _ACEOF
6867 if ac_fn_c_try_compile "$LINENO"; then :
6868 ac_cv_sys_file_offset_bits=no; break
6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6873 #define _FILE_OFFSET_BITS 64
6874 #include <sys/types.h>
6875 /* Check that off_t can represent 2**63 - 1 correctly.
6876 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6877 since some C++ compilers masquerading as C compilers
6878 incorrectly reject 9223372036854775807. */
6879 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6880 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6881 && LARGE_OFF_T % 2147483647 == 1)
6882 ? 1 : -1];
6884 main ()
6888 return 0;
6890 _ACEOF
6891 if ac_fn_c_try_compile "$LINENO"; then :
6892 ac_cv_sys_file_offset_bits=64; break
6894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6895 ac_cv_sys_file_offset_bits=unknown
6896 break
6897 done
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6900 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6901 case $ac_cv_sys_file_offset_bits in #(
6902 no | unknown) ;;
6904 cat >>confdefs.h <<_ACEOF
6905 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6906 _ACEOF
6908 esac
6909 rm -rf conftest*
6910 if test $ac_cv_sys_file_offset_bits = unknown; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6912 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6913 if ${ac_cv_sys_large_files+:} false; then :
6914 $as_echo_n "(cached) " >&6
6915 else
6916 while :; do
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6919 #include <sys/types.h>
6920 /* Check that off_t can represent 2**63 - 1 correctly.
6921 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6922 since some C++ compilers masquerading as C compilers
6923 incorrectly reject 9223372036854775807. */
6924 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6925 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6926 && LARGE_OFF_T % 2147483647 == 1)
6927 ? 1 : -1];
6929 main ()
6933 return 0;
6935 _ACEOF
6936 if ac_fn_c_try_compile "$LINENO"; then :
6937 ac_cv_sys_large_files=no; break
6939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #define _LARGE_FILES 1
6943 #include <sys/types.h>
6944 /* Check that off_t can represent 2**63 - 1 correctly.
6945 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6946 since some C++ compilers masquerading as C compilers
6947 incorrectly reject 9223372036854775807. */
6948 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6949 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6950 && LARGE_OFF_T % 2147483647 == 1)
6951 ? 1 : -1];
6953 main ()
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_compile "$LINENO"; then :
6961 ac_cv_sys_large_files=1; break
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6964 ac_cv_sys_large_files=unknown
6965 break
6966 done
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6969 $as_echo "$ac_cv_sys_large_files" >&6; }
6970 case $ac_cv_sys_large_files in #(
6971 no | unknown) ;;
6973 cat >>confdefs.h <<_ACEOF
6974 #define _LARGE_FILES $ac_cv_sys_large_files
6975 _ACEOF
6977 esac
6978 rm -rf conftest*
6985 ac_ext=c
6986 ac_cpp='$CPP $CPPFLAGS'
6987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6992 # On Suns, sometimes $CPP names a directory.
6993 if test -n "$CPP" && test -d "$CPP"; then
6994 CPP=
6996 if test -z "$CPP"; then
6997 if ${ac_cv_prog_CPP+:} false; then :
6998 $as_echo_n "(cached) " >&6
6999 else
7000 # Double quotes because CPP needs to be expanded
7001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7003 ac_preproc_ok=false
7004 for ac_c_preproc_warn_flag in '' yes
7006 # Use a header file that comes with gcc, so configuring glibc
7007 # with a fresh cross-compiler works.
7008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7009 # <limits.h> exists even on freestanding compilers.
7010 # On the NeXT, cc -E runs the code through the compiler's parser,
7011 # not just through cpp. "Syntax error" is here to catch this case.
7012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7013 /* end confdefs.h. */
7014 #ifdef __STDC__
7015 # include <limits.h>
7016 #else
7017 # include <assert.h>
7018 #endif
7019 Syntax error
7020 _ACEOF
7021 if ac_fn_c_try_cpp "$LINENO"; then :
7023 else
7024 # Broken: fails on valid input.
7025 continue
7027 rm -f conftest.err conftest.i conftest.$ac_ext
7029 # OK, works on sane cases. Now check whether nonexistent headers
7030 # can be detected and how.
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7033 #include <ac_nonexistent.h>
7034 _ACEOF
7035 if ac_fn_c_try_cpp "$LINENO"; then :
7036 # Broken: success on invalid input.
7037 continue
7038 else
7039 # Passes both tests.
7040 ac_preproc_ok=:
7041 break
7043 rm -f conftest.err conftest.i conftest.$ac_ext
7045 done
7046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7047 rm -f conftest.i conftest.err conftest.$ac_ext
7048 if $ac_preproc_ok; then :
7049 break
7052 done
7053 ac_cv_prog_CPP=$CPP
7056 CPP=$ac_cv_prog_CPP
7057 else
7058 ac_cv_prog_CPP=$CPP
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7061 $as_echo "$CPP" >&6; }
7062 ac_preproc_ok=false
7063 for ac_c_preproc_warn_flag in '' yes
7065 # Use a header file that comes with gcc, so configuring glibc
7066 # with a fresh cross-compiler works.
7067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7068 # <limits.h> exists even on freestanding compilers.
7069 # On the NeXT, cc -E runs the code through the compiler's parser,
7070 # not just through cpp. "Syntax error" is here to catch this case.
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7073 #ifdef __STDC__
7074 # include <limits.h>
7075 #else
7076 # include <assert.h>
7077 #endif
7078 Syntax error
7079 _ACEOF
7080 if ac_fn_c_try_cpp "$LINENO"; then :
7082 else
7083 # Broken: fails on valid input.
7084 continue
7086 rm -f conftest.err conftest.i conftest.$ac_ext
7088 # OK, works on sane cases. Now check whether nonexistent headers
7089 # can be detected and how.
7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7092 #include <ac_nonexistent.h>
7093 _ACEOF
7094 if ac_fn_c_try_cpp "$LINENO"; then :
7095 # Broken: success on invalid input.
7096 continue
7097 else
7098 # Passes both tests.
7099 ac_preproc_ok=:
7100 break
7102 rm -f conftest.err conftest.i conftest.$ac_ext
7104 done
7105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7106 rm -f conftest.i conftest.err conftest.$ac_ext
7107 if $ac_preproc_ok; then :
7109 else
7110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7112 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7113 See \`config.log' for more details" "$LINENO" 5; }
7116 ac_ext=c
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7124 $as_echo_n "checking for ANSI C header files... " >&6; }
7125 if ${ac_cv_header_stdc+:} false; then :
7126 $as_echo_n "(cached) " >&6
7127 else
7128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7129 /* end confdefs.h. */
7130 #include <stdlib.h>
7131 #include <stdarg.h>
7132 #include <string.h>
7133 #include <float.h>
7136 main ()
7140 return 0;
7142 _ACEOF
7143 if ac_fn_c_try_compile "$LINENO"; then :
7144 ac_cv_header_stdc=yes
7145 else
7146 ac_cv_header_stdc=no
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 if test $ac_cv_header_stdc = yes; then
7151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7153 /* end confdefs.h. */
7154 #include <string.h>
7156 _ACEOF
7157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7158 $EGREP "memchr" >/dev/null 2>&1; then :
7160 else
7161 ac_cv_header_stdc=no
7163 rm -f conftest*
7167 if test $ac_cv_header_stdc = yes; then
7168 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h. */
7171 #include <stdlib.h>
7173 _ACEOF
7174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7175 $EGREP "free" >/dev/null 2>&1; then :
7177 else
7178 ac_cv_header_stdc=no
7180 rm -f conftest*
7184 if test $ac_cv_header_stdc = yes; then
7185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7186 if test "$cross_compiling" = yes; then :
7188 else
7189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190 /* end confdefs.h. */
7191 #include <ctype.h>
7192 #include <stdlib.h>
7193 #if ((' ' & 0x0FF) == 0x020)
7194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7196 #else
7197 # define ISLOWER(c) \
7198 (('a' <= (c) && (c) <= 'i') \
7199 || ('j' <= (c) && (c) <= 'r') \
7200 || ('s' <= (c) && (c) <= 'z'))
7201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7202 #endif
7204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7206 main ()
7208 int i;
7209 for (i = 0; i < 256; i++)
7210 if (XOR (islower (i), ISLOWER (i))
7211 || toupper (i) != TOUPPER (i))
7212 return 2;
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_run "$LINENO"; then :
7218 else
7219 ac_cv_header_stdc=no
7221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7222 conftest.$ac_objext conftest.beam conftest.$ac_ext
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7228 $as_echo "$ac_cv_header_stdc" >&6; }
7229 if test $ac_cv_header_stdc = yes; then
7231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7235 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7236 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7237 inttypes.h stdint.h unistd.h
7238 do :
7239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7243 cat >>confdefs.h <<_ACEOF
7244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7245 _ACEOF
7249 done
7252 for ac_header in \
7253 AL/al.h \
7254 ApplicationServices/ApplicationServices.h \
7255 AudioToolbox/AudioConverter.h \
7256 AudioUnit/AudioUnit.h \
7257 AudioUnit/AudioComponent.h \
7258 CL/cl.h \
7259 Carbon/Carbon.h \
7260 CommonCrypto/CommonCryptor.h \
7261 CoreAudio/CoreAudio.h \
7262 CoreServices/CoreServices.h \
7263 DiskArbitration/DiskArbitration.h \
7264 EGL/egl.h \
7265 IOKit/IOKitLib.h \
7266 IOKit/hid/IOHIDLib.h \
7267 OpenAL/al.h \
7268 OpenCL/opencl.h \
7269 QuickTime/ImageCompression.h \
7270 Security/Security.h \
7271 alias.h \
7272 alsa/asoundlib.h \
7273 arpa/inet.h \
7274 arpa/nameser.h \
7275 asm/types.h \
7276 asm/user.h \
7277 curses.h \
7278 direct.h \
7279 dirent.h \
7280 dlfcn.h \
7281 elf.h \
7282 float.h \
7283 fnmatch.h \
7284 getopt.h \
7285 gettext-po.h \
7286 grp.h \
7287 gsm.h \
7288 gsm/gsm.h \
7289 ieeefp.h \
7290 inet/mib2.h \
7291 io.h \
7292 kstat.h \
7293 libproc.h \
7294 link.h \
7295 linux/cdrom.h \
7296 linux/compiler.h \
7297 linux/filter.h \
7298 linux/hdreg.h \
7299 linux/hidraw.h \
7300 linux/input.h \
7301 linux/ioctl.h \
7302 linux/joystick.h \
7303 linux/major.h \
7304 linux/param.h \
7305 linux/serial.h \
7306 linux/types.h \
7307 linux/ucdrom.h \
7308 lwp.h \
7309 mach-o/nlist.h \
7310 mach-o/loader.h \
7311 mach/mach.h \
7312 mach/machine.h \
7313 machine/cpu.h \
7314 machine/limits.h \
7315 machine/sysarch.h \
7316 mntent.h \
7317 ncurses.h \
7318 netdb.h \
7319 netinet/in.h \
7320 netinet/in_systm.h \
7321 netinet/tcp.h \
7322 netinet/tcp_fsm.h \
7323 pcap/pcap.h \
7324 poll.h \
7325 port.h \
7326 process.h \
7327 pthread.h \
7328 pwd.h \
7329 sched.h \
7330 scsi/scsi.h \
7331 scsi/scsi_ioctl.h \
7332 scsi/sg.h \
7333 stdbool.h \
7334 stdint.h \
7335 stropts.h \
7336 sys/asoundlib.h \
7337 sys/attr.h \
7338 sys/auxv.h \
7339 sys/cdio.h \
7340 sys/elf32.h \
7341 sys/epoll.h \
7342 sys/event.h \
7343 sys/exec_elf.h \
7344 sys/filio.h \
7345 sys/inotify.h \
7346 sys/ioctl.h \
7347 sys/ipc.h \
7348 sys/limits.h \
7349 sys/link.h \
7350 sys/mman.h \
7351 sys/modem.h \
7352 sys/msg.h \
7353 sys/mtio.h \
7354 sys/param.h \
7355 sys/poll.h \
7356 sys/prctl.h \
7357 sys/protosw.h \
7358 sys/ptrace.h \
7359 sys/queue.h \
7360 sys/resource.h \
7361 sys/scsiio.h \
7362 sys/shm.h \
7363 sys/signal.h \
7364 sys/socket.h \
7365 sys/socketvar.h \
7366 sys/sockio.h \
7367 sys/statvfs.h \
7368 sys/strtio.h \
7369 sys/syscall.h \
7370 sys/sysinfo.h \
7371 sys/tihdr.h \
7372 sys/time.h \
7373 sys/timeout.h \
7374 sys/times.h \
7375 sys/uio.h \
7376 sys/user.h \
7377 sys/utsname.h \
7378 sys/vnode.h \
7379 sys/wait.h \
7380 syscall.h \
7381 termios.h \
7382 unistd.h \
7383 utime.h \
7384 valgrind/memcheck.h \
7385 valgrind/valgrind.h \
7386 zlib.h
7388 do :
7389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7390 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7392 cat >>confdefs.h <<_ACEOF
7393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7394 _ACEOF
7398 done
7400 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7401 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7403 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7408 if test $ac_cv_header_sys_mkdev_h = no; then
7409 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7410 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7412 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7419 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7420 if ${ac_cv_header_stat_broken+:} false; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7425 #include <sys/types.h>
7426 #include <sys/stat.h>
7428 #if defined S_ISBLK && defined S_IFDIR
7429 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7430 #endif
7432 #if defined S_ISBLK && defined S_IFCHR
7433 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7434 #endif
7436 #if defined S_ISLNK && defined S_IFREG
7437 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7438 #endif
7440 #if defined S_ISSOCK && defined S_IFREG
7441 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7442 #endif
7444 _ACEOF
7445 if ac_fn_c_try_compile "$LINENO"; then :
7446 ac_cv_header_stat_broken=no
7447 else
7448 ac_cv_header_stat_broken=yes
7450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7453 $as_echo "$ac_cv_header_stat_broken" >&6; }
7454 if test $ac_cv_header_stat_broken = yes; then
7456 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7462 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7463 do :
7464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7465 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7466 #ifdef HAVE_SYS_PARAM_H
7467 # include <sys/param.h>
7468 #endif
7470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7471 cat >>confdefs.h <<_ACEOF
7472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7473 _ACEOF
7477 done
7480 for ac_header in \
7481 netinet/ip.h \
7482 net/if.h \
7483 net/if_arp.h \
7484 net/if_dl.h \
7485 net/if_types.h \
7486 net/route.h \
7487 netinet/if_ether.h \
7488 netinet/if_inarp.h \
7489 netinet/in_pcb.h \
7490 netinet/ip_icmp.h \
7491 netinet/ip_var.h \
7492 netinet/udp.h \
7493 netipx/ipx.h \
7494 sys/un.h \
7496 do :
7497 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7498 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7499 #ifdef HAVE_SYS_SOCKET_H
7500 # include <sys/socket.h>
7501 #endif
7502 #ifdef HAVE_SYS_SOCKETVAR_H
7503 # include <sys/socketvar.h>
7504 #endif
7505 #ifdef HAVE_NET_ROUTE_H
7506 # include <net/route.h>
7507 #endif
7508 #ifdef HAVE_NETINET_IN_H
7509 # include <netinet/in.h>
7510 #endif
7511 #ifdef HAVE_NETINET_IN_SYSTM_H
7512 # include <netinet/in_systm.h>
7513 #endif
7514 #ifdef HAVE_NET_IF_H
7515 # include <net/if.h>
7516 #endif
7517 #ifdef HAVE_NETINET_IP_H
7518 # include <netinet/ip.h>
7519 #endif
7521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7522 cat >>confdefs.h <<_ACEOF
7523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7524 _ACEOF
7528 done
7531 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7532 do :
7533 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7534 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7535 #ifdef HAVE_ALIAS_H
7536 # include <alias.h>
7537 #endif
7538 #ifdef HAVE_SYS_SOCKET_H
7539 # include <sys/socket.h>
7540 #endif
7541 #ifdef HAVE_SYS_SOCKETVAR_H
7542 # include <sys/socketvar.h>
7543 #endif
7544 #ifdef HAVE_SYS_TIMEOUT_H
7545 # include <sys/timeout.h>
7546 #endif
7547 #ifdef HAVE_NETINET_IN_H
7548 # include <netinet/in.h>
7549 #endif
7550 #ifdef HAVE_NETINET_IN_SYSTM_H
7551 # include <netinet/in_systm.h>
7552 #endif
7553 #ifdef HAVE_NETINET_IP_H
7554 # include <netinet/ip.h>
7555 #endif
7556 #ifdef HAVE_NETINET_IP_VAR_H
7557 # include <netinet/ip_var.h>
7558 #endif
7559 #ifdef HAVE_NETINET_IP_ICMP_H
7560 # include <netinet/ip_icmp.h>
7561 #endif
7562 #ifdef HAVE_NETINET_UDP_H
7563 # include <netinet/udp.h>
7564 #endif
7565 #ifdef HAVE_NETINET_TCP_H
7566 # include <netinet/tcp.h>
7567 #endif
7568 #ifdef HAVE_NETINET_TCP_TIMER_H
7569 #include <netinet/tcp_timer.h>
7570 #endif
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7582 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7583 do :
7584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7586 #ifdef HAVE_ASM_TYPES_H
7587 # include <asm/types.h>
7588 #endif
7589 #ifdef HAVE_SYS_SOCKET_H
7590 # include <sys/socket.h>
7591 #endif
7592 #ifdef HAVE_LINUX_TYPES_H
7593 # include <linux/types.h>
7594 #endif
7596 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7597 cat >>confdefs.h <<_ACEOF
7598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7599 _ACEOF
7603 done
7606 for ac_header in mach-o/dyld_images.h
7607 do :
7608 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7609 # include <stdbool.h>
7610 #endif
7611 #ifdef HAVE_STDINT_H
7612 # include <stdint.h>
7613 #endif
7615 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7618 _ACEOF
7622 done
7625 for ac_header in resolv.h
7626 do :
7627 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7628 #ifdef HAVE_SYS_SOCKET_H
7629 # include <sys/socket.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_H
7632 # include <netinet/in.h>
7633 #endif
7634 #ifdef HAVE_ARPA_NAMESER_H
7635 # include <arpa/nameser.h>
7636 #endif
7638 if test "x$ac_cv_header_resolv_h" = xyes; then :
7639 cat >>confdefs.h <<_ACEOF
7640 #define HAVE_RESOLV_H 1
7641 _ACEOF
7645 done
7648 for ac_header in ifaddrs.h
7649 do :
7650 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7652 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7653 cat >>confdefs.h <<_ACEOF
7654 #define HAVE_IFADDRS_H 1
7655 _ACEOF
7659 done
7662 for ac_header in sys/ucontext.h
7663 do :
7664 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7666 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define HAVE_SYS_UCONTEXT_H 1
7669 _ACEOF
7673 done
7676 for ac_header in sys/thr.h
7677 do :
7678 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7679 #ifdef HAVE_SYS_UCONTEXT_H
7680 #include <sys/ucontext.h>
7681 #endif
7683 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define HAVE_SYS_THR_H 1
7686 _ACEOF
7690 done
7693 for ac_header in pthread_np.h
7694 do :
7695 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7696 #include <pthread.h>
7697 #endif
7699 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define HAVE_PTHREAD_NP_H 1
7702 _ACEOF
7706 done
7709 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7710 do :
7711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7713 #include <sys/time.h>
7714 #endif
7715 #include <sys/types.h>
7716 #ifdef HAVE_ASM_TYPES_H
7717 #include <asm/types.h>
7718 #endif
7720 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7721 cat >>confdefs.h <<_ACEOF
7722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7723 _ACEOF
7727 done
7730 for ac_header in libprocstat.h
7731 do :
7732 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7733 #include <sys/param.h>
7734 #endif
7735 #ifdef HAVE_SYS_QUEUE_H
7736 #include <sys/queue.h>
7737 #endif
7738 #ifdef HAVE_SYS_SOCKET_H
7739 #include <sys/socket.h>
7740 #endif
7742 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7743 cat >>confdefs.h <<_ACEOF
7744 #define HAVE_LIBPROCSTAT_H 1
7745 _ACEOF
7749 done
7753 DLLFLAGS="-D_REENTRANT"
7755 LDRPATH_INSTALL=""
7757 LDRPATH_LOCAL=""
7759 LDEXECFLAGS=""
7761 WINELOADER_LDFLAGS=""
7763 LIBEXT="so"
7764 DLLEXT=".so"
7765 IMPLIBEXT="def"
7766 # Extract the first word of "ldd", so it can be a program name with args.
7767 set dummy ldd; ac_word=$2
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7769 $as_echo_n "checking for $ac_word... " >&6; }
7770 if ${ac_cv_path_LDD+:} false; then :
7771 $as_echo_n "(cached) " >&6
7772 else
7773 case $LDD in
7774 [\\/]* | ?:[\\/]*)
7775 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779 as_dummy="/sbin:/usr/sbin:$PATH"
7780 for as_dir in $as_dummy
7782 IFS=$as_save_IFS
7783 test -z "$as_dir" && as_dir=.
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7786 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 break 2
7790 done
7791 done
7792 IFS=$as_save_IFS
7794 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7796 esac
7798 LDD=$ac_cv_path_LDD
7799 if test -n "$LDD"; then
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7801 $as_echo "$LDD" >&6; }
7802 else
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804 $as_echo "no" >&6; }
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}otool; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812 $as_echo_n "checking for $ac_word... " >&6; }
7813 if ${ac_cv_prog_OTOOL+:} false; then :
7814 $as_echo_n "(cached) " >&6
7815 else
7816 if test -n "$OTOOL"; then
7817 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7818 else
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 for as_dir in $PATH
7822 IFS=$as_save_IFS
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828 break 2
7830 done
7831 done
7832 IFS=$as_save_IFS
7836 OTOOL=$ac_cv_prog_OTOOL
7837 if test -n "$OTOOL"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7839 $as_echo "$OTOOL" >&6; }
7840 else
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7847 if test -z "$ac_cv_prog_OTOOL"; then
7848 ac_ct_OTOOL=$OTOOL
7849 # Extract the first word of "otool", so it can be a program name with args.
7850 set dummy otool; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7854 $as_echo_n "(cached) " >&6
7855 else
7856 if test -n "$ac_ct_OTOOL"; then
7857 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7858 else
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 for as_dir in $PATH
7862 IFS=$as_save_IFS
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_ac_ct_OTOOL="otool"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7868 break 2
7870 done
7871 done
7872 IFS=$as_save_IFS
7876 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7877 if test -n "$ac_ct_OTOOL"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7879 $as_echo "$ac_ct_OTOOL" >&6; }
7880 else
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7885 if test "x$ac_ct_OTOOL" = x; then
7886 OTOOL="otool"
7887 else
7888 case $cross_compiling:$ac_tool_warned in
7889 yes:)
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7892 ac_tool_warned=yes ;;
7893 esac
7894 OTOOL=$ac_ct_OTOOL
7896 else
7897 OTOOL="$ac_cv_prog_OTOOL"
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if ${ac_cv_prog_READELF+:} false; then :
7906 $as_echo_n "(cached) " >&6
7907 else
7908 if test -n "$READELF"; then
7909 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7910 else
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 for as_dir in $PATH
7914 IFS=$as_save_IFS
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920 break 2
7922 done
7923 done
7924 IFS=$as_save_IFS
7928 READELF=$ac_cv_prog_READELF
7929 if test -n "$READELF"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7931 $as_echo "$READELF" >&6; }
7932 else
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7939 if test -z "$ac_cv_prog_READELF"; then
7940 ac_ct_READELF=$READELF
7941 # Extract the first word of "readelf", so it can be a program name with args.
7942 set dummy readelf; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 if test -n "$ac_ct_READELF"; then
7949 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7950 else
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 for as_dir in $PATH
7954 IFS=$as_save_IFS
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_READELF="readelf"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960 break 2
7962 done
7963 done
7964 IFS=$as_save_IFS
7968 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7969 if test -n "$ac_ct_READELF"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7971 $as_echo "$ac_ct_READELF" >&6; }
7972 else
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7977 if test "x$ac_ct_READELF" = x; then
7978 READELF="true"
7979 else
7980 case $cross_compiling:$ac_tool_warned in
7981 yes:)
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984 ac_tool_warned=yes ;;
7985 esac
7986 READELF=$ac_ct_READELF
7988 else
7989 READELF="$ac_cv_prog_READELF"
7992 wine_rules_file=conf$$rules.make
7993 rm -f $wine_rules_file
7994 SUBDIRS=""
7996 DISABLED_SUBDIRS=""
7998 CONFIGURE_TARGETS=""
8001 wine_fn_append_file ()
8003 as_fn_append $1 " \\$as_nl $2"
8006 wine_fn_append_rule ()
8008 $as_echo "$1" >>$wine_rules_file
8011 wine_fn_config_makefile ()
8013 wine_fn_append_file SUBDIRS $1
8014 if eval test \"x\$"$2"\" = x"no"; then :
8015 wine_fn_append_file DISABLED_SUBDIRS $1
8019 wine_fn_config_symlink ()
8021 ac_links=$@
8022 wine_fn_append_rule \
8023 "$ac_links:
8024 @./config.status \$@"
8025 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8028 wine_binary="wine"
8029 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8030 WINELOADER_PROGRAMS="$wine_binary"
8032 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8034 case $host_os in
8035 cygwin*|mingw32*)
8036 if test -n "$ac_tool_prefix"; then
8037 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8038 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_DLLTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 if test -n "$DLLTOOL"; then
8045 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8046 else
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 for as_dir in $PATH
8050 IFS=$as_save_IFS
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 break 2
8058 done
8059 done
8060 IFS=$as_save_IFS
8064 DLLTOOL=$ac_cv_prog_DLLTOOL
8065 if test -n "$DLLTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8067 $as_echo "$DLLTOOL" >&6; }
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8075 if test -z "$ac_cv_prog_DLLTOOL"; then
8076 ac_ct_DLLTOOL=$DLLTOOL
8077 # Extract the first word of "dlltool", so it can be a program name with args.
8078 set dummy dlltool; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8082 $as_echo_n "(cached) " >&6
8083 else
8084 if test -n "$ac_ct_DLLTOOL"; then
8085 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8086 else
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 for as_dir in $PATH
8090 IFS=$as_save_IFS
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 break 2
8098 done
8099 done
8100 IFS=$as_save_IFS
8104 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8105 if test -n "$ac_ct_DLLTOOL"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8107 $as_echo "$ac_ct_DLLTOOL" >&6; }
8108 else
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8113 if test "x$ac_ct_DLLTOOL" = x; then
8114 DLLTOOL="false"
8115 else
8116 case $cross_compiling:$ac_tool_warned in
8117 yes:)
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8120 ac_tool_warned=yes ;;
8121 esac
8122 DLLTOOL=$ac_ct_DLLTOOL
8124 else
8125 DLLTOOL="$ac_cv_prog_DLLTOOL"
8128 LIBEXT="dll"
8129 DLLEXT=""
8130 IMPLIBEXT="a"
8131 enable_iphlpapi=${enable_iphlpapi:-no}
8132 enable_kernel32=${enable_kernel32:-no}
8133 enable_msvcrt=${enable_msvcrt:-no}
8134 enable_ntdll=${enable_ntdll:-no}
8135 enable_ws2_32=${enable_ws2_32:-no}
8136 enable_loader=${enable_loader:-no}
8137 enable_server=${enable_server:-no}
8138 with_x=${with_x:-no}
8139 with_pthread=${with_pthread:-no}
8141 crtlibs=""
8142 case $host_os in
8143 mingw32*)
8144 crtlibs="-lmsvcrt"
8145 SOCKET_LIBS="-lws2_32"
8147 esac
8149 LIBWINE_SHAREDLIB="libwine.dll"
8151 LIBWINE_IMPORTLIB="libwine.a"
8153 LIBWINE_INSTALL_LIB="libwine.dll"
8155 LIBWINE_INSTALL_DEV="libwine.a"
8157 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8159 LIBWINE_DEPENDS="wine.def"
8163 darwin*|macosx*)
8164 for ac_header in libunwind.h
8165 do :
8166 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8168 cat >>confdefs.h <<_ACEOF
8169 #define HAVE_LIBUNWIND_H 1
8170 _ACEOF
8174 done
8176 ac_ext=m
8177 ac_cpp='$OBJCPP $CPPFLAGS'
8178 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8179 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8180 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8182 ac_ext=m
8183 ac_cpp='$OBJCPP $CPPFLAGS'
8184 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8185 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8186 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8187 if test -n "$ac_tool_prefix"; then
8188 for ac_prog in gcc objcc objc cc CC
8190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_OBJC+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 if test -n "$OBJC"; then
8198 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8199 else
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 for as_dir in $PATH
8203 IFS=$as_save_IFS
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 break 2
8211 done
8212 done
8213 IFS=$as_save_IFS
8217 OBJC=$ac_cv_prog_OBJC
8218 if test -n "$OBJC"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8220 $as_echo "$OBJC" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8227 test -n "$OBJC" && break
8228 done
8230 if test -z "$OBJC"; then
8231 ac_ct_OBJC=$OBJC
8232 for ac_prog in gcc objcc objc cc CC
8234 # Extract the first word of "$ac_prog", so it can be a program name with args.
8235 set dummy $ac_prog; ac_word=$2
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8237 $as_echo_n "checking for $ac_word... " >&6; }
8238 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240 else
8241 if test -n "$ac_ct_OBJC"; then
8242 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8243 else
8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245 for as_dir in $PATH
8247 IFS=$as_save_IFS
8248 test -z "$as_dir" && as_dir=.
8249 for ac_exec_ext in '' $ac_executable_extensions; do
8250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8253 break 2
8255 done
8256 done
8257 IFS=$as_save_IFS
8261 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8262 if test -n "$ac_ct_OBJC"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8264 $as_echo "$ac_ct_OBJC" >&6; }
8265 else
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8267 $as_echo "no" >&6; }
8271 test -n "$ac_ct_OBJC" && break
8272 done
8274 if test "x$ac_ct_OBJC" = x; then
8275 OBJC="gcc"
8276 else
8277 case $cross_compiling:$ac_tool_warned in
8278 yes:)
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8281 ac_tool_warned=yes ;;
8282 esac
8283 OBJC=$ac_ct_OBJC
8287 # Provide some information about the compiler.
8288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8289 set X $ac_compile
8290 ac_compiler=$2
8291 for ac_option in --version -v -V -qversion; do
8292 { { ac_try="$ac_compiler $ac_option >&5"
8293 case "(($ac_try" in
8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8295 *) ac_try_echo=$ac_try;;
8296 esac
8297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8298 $as_echo "$ac_try_echo"; } >&5
8299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8300 ac_status=$?
8301 if test -s conftest.err; then
8302 sed '10a\
8303 ... rest of stderr output deleted ...
8304 10q' conftest.err >conftest.er1
8305 cat conftest.er1 >&5
8307 rm -f conftest.er1 conftest.err
8308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309 test $ac_status = 0; }
8310 done
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8313 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8314 if ${ac_cv_objc_compiler_gnu+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8321 main ()
8323 #ifndef __GNUC__
8324 choke me
8325 #endif
8328 return 0;
8330 _ACEOF
8331 if ac_fn_objc_try_compile "$LINENO"; then :
8332 ac_compiler_gnu=yes
8333 else
8334 ac_compiler_gnu=no
8336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8337 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8341 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8342 if test $ac_compiler_gnu = yes; then
8343 GOBJC=yes
8344 else
8345 GOBJC=
8347 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8348 ac_save_OBJCFLAGS=$OBJCFLAGS
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8350 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8351 if ${ac_cv_prog_objc_g+:} false; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 ac_save_objc_werror_flag=$ac_objc_werror_flag
8355 ac_objc_werror_flag=yes
8356 ac_cv_prog_objc_g=no
8357 OBJCFLAGS="-g"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8362 main ()
8366 return 0;
8368 _ACEOF
8369 if ac_fn_objc_try_compile "$LINENO"; then :
8370 ac_cv_prog_objc_g=yes
8371 else
8372 OBJCFLAGS=""
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8377 main ()
8381 return 0;
8383 _ACEOF
8384 if ac_fn_objc_try_compile "$LINENO"; then :
8386 else
8387 ac_objc_werror_flag=$ac_save_objc_werror_flag
8388 OBJCFLAGS="-g"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8393 main ()
8397 return 0;
8399 _ACEOF
8400 if ac_fn_objc_try_compile "$LINENO"; then :
8401 ac_cv_prog_objc_g=yes
8403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 ac_objc_werror_flag=$ac_save_objc_werror_flag
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8411 $as_echo "$ac_cv_prog_objc_g" >&6; }
8412 if test "$ac_test_OBJCFLAGS" = set; then
8413 OBJCFLAGS=$ac_save_OBJCFLAGS
8414 elif test $ac_cv_prog_objc_g = yes; then
8415 if test "$GOBJC" = yes; then
8416 OBJCFLAGS="-g -O2"
8417 else
8418 OBJCFLAGS="-g"
8420 else
8421 if test "$GOBJC" = yes; then
8422 OBJCFLAGS="-O2"
8423 else
8424 OBJCFLAGS=
8427 ac_ext=m
8428 ac_cpp='$OBJCPP $CPPFLAGS'
8429 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8430 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8431 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8434 ac_ext=m
8435 ac_cpp='$OBJCPP $CPPFLAGS'
8436 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8437 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8438 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8440 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8441 if test -z "$OBJCPP"; then
8442 if ${ac_cv_prog_OBJCPP+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 # Double quotes because OBJCPP needs to be expanded
8446 for OBJCPP in "$OBJC -E" "/lib/cpp"
8448 ac_preproc_ok=false
8449 for ac_objc_preproc_warn_flag in '' yes
8451 # Use a header file that comes with gcc, so configuring glibc
8452 # with a fresh cross-compiler works.
8453 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8454 # <limits.h> exists even on freestanding compilers.
8455 # On the NeXT, cc -E runs the code through the compiler's parser,
8456 # not just through cpp. "Syntax error" is here to catch this case.
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 #ifdef __STDC__
8460 # include <limits.h>
8461 #else
8462 # include <assert.h>
8463 #endif
8464 Syntax error
8465 _ACEOF
8466 if ac_fn_objc_try_cpp "$LINENO"; then :
8468 else
8469 # Broken: fails on valid input.
8470 continue
8472 rm -f conftest.err conftest.i conftest.$ac_ext
8474 # OK, works on sane cases. Now check whether nonexistent headers
8475 # can be detected and how.
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 #include <ac_nonexistent.h>
8479 _ACEOF
8480 if ac_fn_objc_try_cpp "$LINENO"; then :
8481 # Broken: success on invalid input.
8482 continue
8483 else
8484 # Passes both tests.
8485 ac_preproc_ok=:
8486 break
8488 rm -f conftest.err conftest.i conftest.$ac_ext
8490 done
8491 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8492 rm -f conftest.i conftest.err conftest.$ac_ext
8493 if $ac_preproc_ok; then :
8494 break
8497 done
8498 ac_cv_prog_OBJCPP=$OBJCPP
8501 OBJCPP=$ac_cv_prog_OBJCPP
8502 else
8503 ac_cv_prog_OBJCPP=$OBJCPP
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8506 $as_echo "$OBJCPP" >&6; }
8507 ac_preproc_ok=false
8508 for ac_objc_preproc_warn_flag in '' yes
8510 # Use a header file that comes with gcc, so configuring glibc
8511 # with a fresh cross-compiler works.
8512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8513 # <limits.h> exists even on freestanding compilers.
8514 # On the NeXT, cc -E runs the code through the compiler's parser,
8515 # not just through cpp. "Syntax error" is here to catch this case.
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 #ifdef __STDC__
8519 # include <limits.h>
8520 #else
8521 # include <assert.h>
8522 #endif
8523 Syntax error
8524 _ACEOF
8525 if ac_fn_objc_try_cpp "$LINENO"; then :
8527 else
8528 # Broken: fails on valid input.
8529 continue
8531 rm -f conftest.err conftest.i conftest.$ac_ext
8533 # OK, works on sane cases. Now check whether nonexistent headers
8534 # can be detected and how.
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 #include <ac_nonexistent.h>
8538 _ACEOF
8539 if ac_fn_objc_try_cpp "$LINENO"; then :
8540 # Broken: success on invalid input.
8541 continue
8542 else
8543 # Passes both tests.
8544 ac_preproc_ok=:
8545 break
8547 rm -f conftest.err conftest.i conftest.$ac_ext
8549 done
8550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8551 rm -f conftest.i conftest.err conftest.$ac_ext
8552 if $ac_preproc_ok; then :
8554 else
8555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8557 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8558 See \`config.log' for more details" "$LINENO" 5; }
8561 ac_ext=m
8562 ac_cpp='$OBJCPP $CPPFLAGS'
8563 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8564 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8565 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8568 for ac_header in Metal/Metal.h
8569 do :
8570 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8571 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8572 cat >>confdefs.h <<_ACEOF
8573 #define HAVE_METAL_METAL_H 1
8574 _ACEOF
8578 done
8580 ac_ext=c
8581 ac_cpp='$CPP $CPPFLAGS'
8582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8586 LIBEXT="dylib"
8587 DLLFLAGS="$DLLFLAGS -fPIC"
8588 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8589 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8590 COREFOUNDATION_LIBS="-framework CoreFoundation"
8592 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8594 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8596 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8598 CORESERVICES_LIBS="-framework CoreServices"
8600 APPKIT_LIBS="-framework AppKit"
8602 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8604 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8605 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8606 $as_echo_n "(cached) " >&6
8607 else
8608 ac_wine_try_cflags_saved=$CFLAGS
8609 CFLAGS="$CFLAGS -Wl,-no_pie"
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 int main(int argc, char **argv) { return 0; }
8613 _ACEOF
8614 if ac_fn_c_try_link "$LINENO"; then :
8615 ac_cv_cflags__Wl__no_pie=yes
8616 else
8617 ac_cv_cflags__Wl__no_pie=no
8619 rm -f core conftest.err conftest.$ac_objext \
8620 conftest$ac_exeext conftest.$ac_ext
8621 CFLAGS=$ac_wine_try_cflags_saved
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8624 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8625 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8626 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8628 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8629 then
8630 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8633 if test "$ac_cv_header_Security_Security_h" = "yes"
8634 then
8635 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8637 ac_save_LIBS="$LIBS"
8638 LIBS="$LIBS $SECURITY_LIBS"
8639 for ac_func in SSLCopyPeerCertificates
8640 do :
8641 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8642 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8643 cat >>confdefs.h <<_ACEOF
8644 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8645 _ACEOF
8648 done
8650 LIBS="$ac_save_LIBS"
8652 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8653 then
8654 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8655 then
8656 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8658 else
8659 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8662 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8663 ac_save_LIBS="$LIBS"
8664 LIBS="$LIBS $COREAUDIO_LIBS"
8665 for ac_func in AUGraphAddNode
8666 do :
8667 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8668 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8669 cat >>confdefs.h <<_ACEOF
8670 #define HAVE_AUGRAPHADDNODE 1
8671 _ACEOF
8674 done
8676 LIBS="$ac_save_LIBS"
8678 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8679 then
8680 OPENAL_LIBS="-framework OpenAL"
8683 cat >>confdefs.h <<_ACEOF
8684 #define HAVE_OPENAL 1
8685 _ACEOF
8687 ac_cv_lib_openal=yes
8689 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8690 then
8691 OPENCL_LIBS="-framework OpenCL"
8693 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8695 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8696 then
8697 ac_save_LIBS="$LIBS"
8698 LIBS="$LIBS $IOKIT_LIBS"
8699 for ac_func in IOHIDManagerCreate
8700 do :
8701 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8702 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8703 cat >>confdefs.h <<_ACEOF
8704 #define HAVE_IOHIDMANAGERCREATE 1
8705 _ACEOF
8708 done
8710 LIBS="$ac_save_LIBS"
8712 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8713 then
8714 ac_save_LIBS="$LIBS"
8715 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8717 $as_echo_n "checking for the QuickTime framework... " >&6; }
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 #include <QuickTime/ImageCompression.h>
8722 main ()
8724 CodecManagerVersion(NULL);
8726 return 0;
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8731 $as_echo "yes" >&6; }
8732 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8734 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8735 else
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8737 $as_echo "no" >&6; }
8738 ac_cv_header_QuickTime_ImageCompression_h=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 LIBS="$ac_save_LIBS"
8744 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8745 then
8746 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8748 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8749 then
8750 CARBON_LIBS="-framework Carbon"
8753 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8754 then
8755 METAL_LIBS="-framework Metal -framework QuartzCore"
8759 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8760 then
8761 ac_save_LIBS="$LIBS"
8762 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8763 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8764 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8765 enable_winemac_drv=${enable_winemac_drv:-yes}
8768 LIBS="$ac_save_LIBS"
8771 if test "x$enable_win16" = "xyes"
8772 then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8774 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8775 if test "$cross_compiling" = yes; then :
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8777 $as_echo "cross-compiling, assuming yes" >&6; }
8778 else
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 asm(".text\n"
8782 "bad:\tnop;nop\n"
8783 "good:\tnop;nop\n\t"
8784 ".globl _testfunc\n"
8785 "_testfunc:\tcallw good");
8786 extern void testfunc();
8788 main ()
8790 unsigned short *p = (unsigned short *)testfunc;
8791 return p[0] != 0xe866 || p[1] != 0xfffa
8793 return 0;
8795 _ACEOF
8796 if ac_fn_c_try_run "$LINENO"; then :
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8798 $as_echo "yes" >&6; }
8799 else
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8802 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
8804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8805 conftest.$ac_objext conftest.beam conftest.$ac_ext
8810 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8812 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8814 LIBWINE_INSTALL_DEV="libwine.dylib"
8816 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8818 WINELOADER_DEPENDS="wine_info.plist"
8822 linux-android*)
8823 DLLFLAGS="$DLLFLAGS -fPIC"
8824 LDEXECFLAGS="-Wl,-pie"
8825 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8827 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8828 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 int main(int argc, char **argv) { return 0; }
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8839 else
8840 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8847 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8848 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8849 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8851 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8853 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8854 if eval \${$as_ac_var+:} false; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 int main(int argc, char **argv) { return 0; }
8862 _ACEOF
8863 if ac_fn_c_try_link "$LINENO"; then :
8864 eval "$as_ac_var=yes"
8865 else
8866 eval "$as_ac_var=no"
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 eval ac_res=\$$as_ac_var
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8874 $as_echo "$ac_res" >&6; }
8875 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8876 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8877 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8878 else
8879 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8881 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8882 if eval \${$as_ac_var+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 ac_wine_try_cflags_saved=$CFLAGS
8886 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8889 int main(int argc, char **argv) { return 0; }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 eval "$as_ac_var=yes"
8893 else
8894 eval "$as_ac_var=no"
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 CFLAGS=$ac_wine_try_cflags_saved
8900 eval ac_res=\$$as_ac_var
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8902 $as_echo "$ac_res" >&6; }
8903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8904 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8905 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8909 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8910 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 ac_wine_try_cflags_saved=$CFLAGS
8914 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8917 int main(int argc, char **argv) { return 0; }
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 ac_cv_cflags__Wl___enable_new_dtags=yes
8921 else
8922 ac_cv_cflags__Wl___enable_new_dtags=no
8924 rm -f core conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 CFLAGS=$ac_wine_try_cflags_saved
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8929 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8930 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8931 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8934 LIBWINE_SHAREDLIB="libwine.so"
8936 LIBWINE_INSTALL_LIB="libwine.so"
8938 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8942 $as_echo_n "checking for -lEGL... " >&6; }
8943 if ${ac_cv_lib_soname_EGL+:} false; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 ac_check_soname_save_LIBS=$LIBS
8947 LIBS="-lEGL $LIBS"
8948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8949 /* end confdefs.h. */
8951 /* Override any GCC internal prototype to avoid an error.
8952 Use char because int might match the return type of a GCC
8953 builtin and then its argument prototype would still apply. */
8954 #ifdef __cplusplus
8955 extern "C"
8956 #endif
8957 char eglGetProcAddress ();
8959 main ()
8961 return eglGetProcAddress ();
8963 return 0;
8965 _ACEOF
8966 if ac_fn_c_try_link "$LINENO"; then :
8967 case "$LIBEXT" in
8968 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8969 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'` ;;
8970 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8971 if ${ac_cv_lib_soname_EGL:+false} :; then :
8972 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8973 fi ;;
8974 esac
8976 rm -f core conftest.err conftest.$ac_objext \
8977 conftest$ac_exeext conftest.$ac_ext
8978 LIBS=$ac_check_soname_save_LIBS
8980 if ${ac_cv_lib_soname_EGL:+false} :; then :
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8982 $as_echo "not found" >&6; }
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8986 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8988 cat >>confdefs.h <<_ACEOF
8989 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8990 _ACEOF
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8995 $as_echo_n "checking for -lGLESv2... " >&6; }
8996 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8997 $as_echo_n "(cached) " >&6
8998 else
8999 ac_check_soname_save_LIBS=$LIBS
9000 LIBS="-lGLESv2 $LIBS"
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9004 /* Override any GCC internal prototype to avoid an error.
9005 Use char because int might match the return type of a GCC
9006 builtin and then its argument prototype would still apply. */
9007 #ifdef __cplusplus
9008 extern "C"
9009 #endif
9010 char glFlush ();
9012 main ()
9014 return glFlush ();
9016 return 0;
9018 _ACEOF
9019 if ac_fn_c_try_link "$LINENO"; then :
9020 case "$LIBEXT" in
9021 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9022 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'` ;;
9023 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9024 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9025 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9026 fi ;;
9027 esac
9029 rm -f core conftest.err conftest.$ac_objext \
9030 conftest$ac_exeext conftest.$ac_ext
9031 LIBS=$ac_check_soname_save_LIBS
9033 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9035 $as_echo "not found" >&6; }
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9039 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9041 cat >>confdefs.h <<_ACEOF
9042 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9043 _ACEOF
9048 if test "x$exec_prefix" = xNONE
9049 then
9050 case $host_cpu in
9051 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9052 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9053 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9054 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9055 esac
9060 DLLFLAGS="$DLLFLAGS -fPIC"
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9062 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9063 if ${ac_cv_c_dll_gnuelf+:} false; then :
9064 $as_echo_n "(cached) " >&6
9065 else
9066 ac_wine_try_cflags_saved=$CFLAGS
9067 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9070 void myfunc() {}
9071 _ACEOF
9072 if ac_fn_c_try_link "$LINENO"; then :
9073 ac_cv_c_dll_gnuelf="yes"
9074 else
9075 ac_cv_c_dll_gnuelf="no"
9077 rm -f core conftest.err conftest.$ac_objext \
9078 conftest$ac_exeext conftest.$ac_ext
9079 CFLAGS=$ac_wine_try_cflags_saved
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9082 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9083 if test "$ac_cv_c_dll_gnuelf" = "yes"
9084 then
9085 LIBWINE_LDFLAGS="-shared"
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9087 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9088 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9089 $as_echo_n "(cached) " >&6
9090 else
9091 ac_wine_try_cflags_saved=$CFLAGS
9092 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 int main(int argc, char **argv) { return 0; }
9096 _ACEOF
9097 if ac_fn_c_try_link "$LINENO"; then :
9098 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9099 else
9100 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9102 rm -f core conftest.err conftest.$ac_objext \
9103 conftest$ac_exeext conftest.$ac_ext
9104 CFLAGS=$ac_wine_try_cflags_saved
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9107 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9108 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9109 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9110 else
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9112 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9113 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9114 $as_echo_n "(cached) " >&6
9115 else
9116 ac_wine_try_cflags_saved=$CFLAGS
9117 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9119 /* end confdefs.h. */
9120 int main(int argc, char **argv) { return 0; }
9121 _ACEOF
9122 if ac_fn_c_try_link "$LINENO"; then :
9123 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9124 else
9125 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 CFLAGS=$ac_wine_try_cflags_saved
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9132 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9133 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9134 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9138 echo '{ global: *; };' >conftest.map
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9140 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9141 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 ac_wine_try_cflags_saved=$CFLAGS
9145 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9148 int main(int argc, char **argv) { return 0; }
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9152 else
9153 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 CFLAGS=$ac_wine_try_cflags_saved
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9160 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9161 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9162 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9164 rm -f conftest.map
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9167 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9168 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_wine_try_cflags_saved=$CFLAGS
9172 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9175 int main(int argc, char **argv) { return 0; }
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9179 else
9180 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 CFLAGS=$ac_wine_try_cflags_saved
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9187 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9188 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9189 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9192 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9194 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9195 if eval \${$as_ac_var+:} false; then :
9196 $as_echo_n "(cached) " >&6
9197 else
9198 ac_wine_try_cflags_saved=$CFLAGS
9199 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9202 int main(int argc, char **argv) { return 0; }
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9205 eval "$as_ac_var=yes"
9206 else
9207 eval "$as_ac_var=no"
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 CFLAGS=$ac_wine_try_cflags_saved
9213 eval ac_res=\$$as_ac_var
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9215 $as_echo "$ac_res" >&6; }
9216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9217 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9218 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9219 else
9220 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9222 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9223 if eval \${$as_ac_var+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_wine_try_cflags_saved=$CFLAGS
9227 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9230 int main(int argc, char **argv) { return 0; }
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 eval "$as_ac_var=yes"
9234 else
9235 eval "$as_ac_var=no"
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 CFLAGS=$ac_wine_try_cflags_saved
9241 eval ac_res=\$$as_ac_var
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9243 $as_echo "$ac_res" >&6; }
9244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9245 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9246 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9251 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9252 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9253 $as_echo_n "(cached) " >&6
9254 else
9255 ac_wine_try_cflags_saved=$CFLAGS
9256 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9259 int main(int argc, char **argv) { return 0; }
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 ac_cv_cflags__Wl___enable_new_dtags=yes
9263 else
9264 ac_cv_cflags__Wl___enable_new_dtags=no
9266 rm -f core conftest.err conftest.$ac_objext \
9267 conftest$ac_exeext conftest.$ac_ext
9268 CFLAGS=$ac_wine_try_cflags_saved
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9271 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9272 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9273 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9276 case $host_cpu in
9277 *i[3456789]86* | x86_64 | *aarch64*)
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9279 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9280 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9281 $as_echo_n "(cached) " >&6
9282 else
9283 ac_wine_try_cflags_saved=$CFLAGS
9284 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9287 int main(int argc, char **argv) { return 0; }
9288 _ACEOF
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9291 else
9292 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 CFLAGS=$ac_wine_try_cflags_saved
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9299 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9300 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9301 case $host_os in
9302 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9303 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9304 esac
9305 else
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9307 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9308 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_wine_try_cflags_saved=$CFLAGS
9312 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9315 int main(int argc, char **argv) { return 0; }
9316 _ACEOF
9317 if ac_fn_c_try_link "$LINENO"; then :
9318 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9319 else
9320 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 CFLAGS=$ac_wine_try_cflags_saved
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9327 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9328 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9329 case $host_os in
9330 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9331 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9332 esac
9334 # Extract the first word of "prelink", so it can be a program name with args.
9335 set dummy prelink; ac_word=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if ${ac_cv_path_PRELINK+:} false; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 case $PRELINK in
9342 [\\/]* | ?:[\\/]*)
9343 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in /sbin /usr/sbin $PATH
9349 IFS=$as_save_IFS
9350 test -z "$as_dir" && as_dir=.
9351 for ac_exec_ext in '' $ac_executable_extensions; do
9352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9353 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9355 break 2
9357 done
9358 done
9359 IFS=$as_save_IFS
9361 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9363 esac
9365 PRELINK=$ac_cv_path_PRELINK
9366 if test -n "$PRELINK"; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9368 $as_echo "$PRELINK" >&6; }
9369 else
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 $as_echo "no" >&6; }
9375 if test "x$PRELINK" = xfalse
9376 then
9377 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9381 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9382 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_wine_try_cflags_saved=$CFLAGS
9386 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int main(int argc, char **argv) { return 0; }
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9393 else
9394 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 CFLAGS=$ac_wine_try_cflags_saved
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9401 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9402 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9403 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9406 esac
9408 else
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9410 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9411 if ${ac_cv_c_dll_unixware+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_wine_try_cflags_saved=$CFLAGS
9415 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9418 void myfunc() {}
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_c_dll_unixware="yes"
9422 else
9423 ac_cv_c_dll_unixware="no"
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 CFLAGS=$ac_wine_try_cflags_saved
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9430 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9431 if test "$ac_cv_c_dll_unixware" = "yes"
9432 then
9433 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9436 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9438 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9440 LIBWINE_INSTALL_DEV="libwine.so"
9442 LIBWINE_DEPENDS="wine.map"
9445 esac
9447 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9448 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9449 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9450 enable_winemac_drv=${enable_winemac_drv:-no}
9451 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9453 CROSSTARGET=""
9455 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9456 then
9457 case "$host_cpu" in
9458 aarch64*)
9459 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9460 arm*)
9461 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9462 i[3456789]86*)
9463 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
9464 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9465 mingw32-gcc" ;;
9466 x86_64)
9467 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
9468 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9470 ac_prefix_list="" ;;
9471 esac
9472 for ac_prog in $ac_prefix_list
9474 # Extract the first word of "$ac_prog", so it can be a program name with args.
9475 set dummy $ac_prog; ac_word=$2
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9477 $as_echo_n "checking for $ac_word... " >&6; }
9478 if ${ac_cv_prog_CROSSCC+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 if test -n "$CROSSCC"; then
9482 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9483 else
9484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9485 for as_dir in $PATH
9487 IFS=$as_save_IFS
9488 test -z "$as_dir" && as_dir=.
9489 for ac_exec_ext in '' $ac_executable_extensions; do
9490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9491 ac_cv_prog_CROSSCC="$ac_prog"
9492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9493 break 2
9495 done
9496 done
9497 IFS=$as_save_IFS
9501 CROSSCC=$ac_cv_prog_CROSSCC
9502 if test -n "$CROSSCC"; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9504 $as_echo "$CROSSCC" >&6; }
9505 else
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9507 $as_echo "no" >&6; }
9511 test -n "$CROSSCC" && break
9512 done
9513 test -n "$CROSSCC" || CROSSCC="false"
9515 if test "$CROSSCC" != "false"
9516 then
9517 ac_save_CC="$CC"
9518 CC="$CROSSCC"
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9520 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9525 main ()
9529 return 0;
9531 _ACEOF
9532 if ac_fn_c_try_compile "$LINENO"; then :
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9534 $as_echo "yes" >&6; }
9535 set x $CROSSCC
9536 shift
9537 while test $# -ge 1
9539 case "$1" in
9540 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9541 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9542 esac
9543 shift
9544 done
9545 else
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9547 $as_echo "no" >&6; }
9549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9550 CC="$ac_save_CC"
9551 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9557 if test "$ac_cv_header_pthread_h" = "yes"
9558 then
9559 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9560 if test "x$ac_cv_func_pthread_create" = xyes; then :
9562 else
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9564 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9565 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lpthread $LIBS"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9576 #ifdef __cplusplus
9577 extern "C"
9578 #endif
9579 char pthread_create ();
9581 main ()
9583 return pthread_create ();
9585 return 0;
9587 _ACEOF
9588 if ac_fn_c_try_link "$LINENO"; then :
9589 ac_cv_lib_pthread_pthread_create=yes
9590 else
9591 ac_cv_lib_pthread_pthread_create=no
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_lib_save_LIBS
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9598 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9599 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9600 PTHREAD_LIBS="-lpthread"
9607 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9608 case "x$with_pthread" in
9609 xno) ;;
9610 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9611 Wine cannot support threads without libpthread.
9612 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9613 esac
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9619 $as_echo_n "checking for X... " >&6; }
9622 # Check whether --with-x was given.
9623 if test "${with_x+set}" = set; then :
9624 withval=$with_x;
9627 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9628 if test "x$with_x" = xno; then
9629 # The user explicitly disabled X.
9630 have_x=disabled
9631 else
9632 case $x_includes,$x_libraries in #(
9633 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9634 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 # One or both of the vars are not set, and there is no cached value.
9638 ac_x_includes=no ac_x_libraries=no
9639 rm -f -r conftest.dir
9640 if mkdir conftest.dir; then
9641 cd conftest.dir
9642 cat >Imakefile <<'_ACEOF'
9643 incroot:
9644 @echo incroot='${INCROOT}'
9645 usrlibdir:
9646 @echo usrlibdir='${USRLIBDIR}'
9647 libdir:
9648 @echo libdir='${LIBDIR}'
9649 _ACEOF
9650 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9652 for ac_var in incroot usrlibdir libdir; do
9653 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9654 done
9655 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9656 for ac_extension in a so sl dylib la dll; do
9657 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9658 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9659 ac_im_usrlibdir=$ac_im_libdir; break
9661 done
9662 # Screen out bogus values from the imake configuration. They are
9663 # bogus both because they are the default anyway, and because
9664 # using them would break gcc on systems where it needs fixed includes.
9665 case $ac_im_incroot in
9666 /usr/include) ac_x_includes= ;;
9667 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9668 esac
9669 case $ac_im_usrlibdir in
9670 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9671 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9672 esac
9674 cd ..
9675 rm -f -r conftest.dir
9678 # Standard set of common directories for X headers.
9679 # Check X11 before X11Rn because it is often a symlink to the current release.
9680 ac_x_header_dirs='
9681 /usr/X11/include
9682 /usr/X11R7/include
9683 /usr/X11R6/include
9684 /usr/X11R5/include
9685 /usr/X11R4/include
9687 /usr/include/X11
9688 /usr/include/X11R7
9689 /usr/include/X11R6
9690 /usr/include/X11R5
9691 /usr/include/X11R4
9693 /usr/local/X11/include
9694 /usr/local/X11R7/include
9695 /usr/local/X11R6/include
9696 /usr/local/X11R5/include
9697 /usr/local/X11R4/include
9699 /usr/local/include/X11
9700 /usr/local/include/X11R7
9701 /usr/local/include/X11R6
9702 /usr/local/include/X11R5
9703 /usr/local/include/X11R4
9705 /usr/X386/include
9706 /usr/x386/include
9707 /usr/XFree86/include/X11
9709 /usr/include
9710 /usr/local/include
9711 /usr/unsupported/include
9712 /usr/athena/include
9713 /usr/local/x11r5/include
9714 /usr/lpp/Xamples/include
9716 /usr/openwin/include
9717 /usr/openwin/share/include'
9719 if test "$ac_x_includes" = no; then
9720 # Guess where to find include files, by looking for Xlib.h.
9721 # First, try using that file with no special directory specified.
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9724 #include <X11/Xlib.h>
9725 _ACEOF
9726 if ac_fn_c_try_cpp "$LINENO"; then :
9727 # We can compile using X headers with no special include directory.
9728 ac_x_includes=
9729 else
9730 for ac_dir in $ac_x_header_dirs; do
9731 if test -r "$ac_dir/X11/Xlib.h"; then
9732 ac_x_includes=$ac_dir
9733 break
9735 done
9737 rm -f conftest.err conftest.i conftest.$ac_ext
9738 fi # $ac_x_includes = no
9740 if test "$ac_x_libraries" = no; then
9741 # Check for the libraries.
9742 # See if we find them without any special options.
9743 # Don't add to $LIBS permanently.
9744 ac_save_LIBS=$LIBS
9745 LIBS="-lX11 $LIBS"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9748 #include <X11/Xlib.h>
9750 main ()
9752 XrmInitialize ()
9754 return 0;
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 LIBS=$ac_save_LIBS
9759 # We can link X programs with no special library path.
9760 ac_x_libraries=
9761 else
9762 LIBS=$ac_save_LIBS
9763 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9765 # Don't even attempt the hair of trying to link an X program!
9766 for ac_extension in a so sl dylib la dll; do
9767 if test -r "$ac_dir/libX11.$ac_extension"; then
9768 ac_x_libraries=$ac_dir
9769 break 2
9771 done
9772 done
9774 rm -f core conftest.err conftest.$ac_objext \
9775 conftest$ac_exeext conftest.$ac_ext
9776 fi # $ac_x_libraries = no
9778 case $ac_x_includes,$ac_x_libraries in #(
9779 no,* | *,no | *\'*)
9780 # Didn't find X, or a directory has "'" in its name.
9781 ac_cv_have_x="have_x=no";; #(
9783 # Record where we found X for the cache.
9784 ac_cv_have_x="have_x=yes\
9785 ac_x_includes='$ac_x_includes'\
9786 ac_x_libraries='$ac_x_libraries'"
9787 esac
9789 ;; #(
9790 *) have_x=yes;;
9791 esac
9792 eval "$ac_cv_have_x"
9793 fi # $with_x != no
9795 if test "$have_x" != yes; then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9797 $as_echo "$have_x" >&6; }
9798 no_x=yes
9799 else
9800 # If each of the values was on the command line, it overrides each guess.
9801 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9802 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9803 # Update the cache value to reflect the command line values.
9804 ac_cv_have_x="have_x=yes\
9805 ac_x_includes='$x_includes'\
9806 ac_x_libraries='$x_libraries'"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9808 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9811 if test "$no_x" = yes; then
9812 # Not all programs may use this symbol, but it does not hurt to define it.
9814 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9816 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9817 else
9818 if test -n "$x_includes"; then
9819 X_CFLAGS="$X_CFLAGS -I$x_includes"
9822 # It would also be nice to do this for all -L options, not just this one.
9823 if test -n "$x_libraries"; then
9824 X_LIBS="$X_LIBS -L$x_libraries"
9825 # For Solaris; some versions of Sun CC require a space after -R and
9826 # others require no space. Words are not sufficient . . . .
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9828 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9829 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9830 ac_xsave_c_werror_flag=$ac_c_werror_flag
9831 ac_c_werror_flag=yes
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9836 main ()
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 $as_echo "no" >&6; }
9846 X_LIBS="$X_LIBS -R$x_libraries"
9847 else
9848 LIBS="$ac_xsave_LIBS -R $x_libraries"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9853 main ()
9857 return 0;
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9862 $as_echo "yes" >&6; }
9863 X_LIBS="$X_LIBS -R $x_libraries"
9864 else
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9866 $as_echo "neither works" >&6; }
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 ac_c_werror_flag=$ac_xsave_c_werror_flag
9874 LIBS=$ac_xsave_LIBS
9877 # Check for system-dependent libraries X programs must link with.
9878 # Do this before checking for the system-independent R6 libraries
9879 # (-lICE), since we may need -lsocket or whatever for X linking.
9881 if test "$ISC" = yes; then
9882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9883 else
9884 # Martyn Johnson says this is needed for Ultrix, if the X
9885 # libraries were built with DECnet support. And Karl Berry says
9886 # the Alpha needs dnet_stub (dnet does not exist).
9887 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9894 #ifdef __cplusplus
9895 extern "C"
9896 #endif
9897 char XOpenDisplay ();
9899 main ()
9901 return XOpenDisplay ();
9903 return 0;
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9908 else
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9910 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9911 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_check_lib_save_LIBS=$LIBS
9915 LIBS="-ldnet $LIBS"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9922 #ifdef __cplusplus
9923 extern "C"
9924 #endif
9925 char dnet_ntoa ();
9927 main ()
9929 return dnet_ntoa ();
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 ac_cv_lib_dnet_dnet_ntoa=yes
9936 else
9937 ac_cv_lib_dnet_dnet_ntoa=no
9939 rm -f core conftest.err conftest.$ac_objext \
9940 conftest$ac_exeext conftest.$ac_ext
9941 LIBS=$ac_check_lib_save_LIBS
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9944 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9945 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9946 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9949 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9951 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9952 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_check_lib_save_LIBS=$LIBS
9956 LIBS="-ldnet_stub $LIBS"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9963 #ifdef __cplusplus
9964 extern "C"
9965 #endif
9966 char dnet_ntoa ();
9968 main ()
9970 return dnet_ntoa ();
9972 return 0;
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9977 else
9978 ac_cv_lib_dnet_stub_dnet_ntoa=no
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LIBS=$ac_check_lib_save_LIBS
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9985 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9986 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9987 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS="$ac_xsave_LIBS"
9996 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9997 # to get the SysV transport functions.
9998 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9999 # needs -lnsl.
10000 # The nsl library prevents programs from opening the X display
10001 # on Irix 5.2, according to T.E. Dickey.
10002 # The functions gethostbyname, getservbyname, and inet_addr are
10003 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10004 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10005 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10009 if test $ac_cv_func_gethostbyname = no; then
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10011 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10012 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_check_lib_save_LIBS=$LIBS
10016 LIBS="-lnsl $LIBS"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10023 #ifdef __cplusplus
10024 extern "C"
10025 #endif
10026 char gethostbyname ();
10028 main ()
10030 return gethostbyname ();
10032 return 0;
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_lib_nsl_gethostbyname=yes
10037 else
10038 ac_cv_lib_nsl_gethostbyname=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LIBS=$ac_check_lib_save_LIBS
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10045 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10046 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10047 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10050 if test $ac_cv_lib_nsl_gethostbyname = no; then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10052 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10053 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_check_lib_save_LIBS=$LIBS
10057 LIBS="-lbsd $LIBS"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10064 #ifdef __cplusplus
10065 extern "C"
10066 #endif
10067 char gethostbyname ();
10069 main ()
10071 return gethostbyname ();
10073 return 0;
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_lib_bsd_gethostbyname=yes
10078 else
10079 ac_cv_lib_bsd_gethostbyname=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10086 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10087 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10094 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10095 # socket/setsockopt and other routines are undefined under SCO ODT
10096 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10097 # on later versions), says Simon Leinen: it contains gethostby*
10098 # variants that don't use the name server (or something). -lsocket
10099 # must be given before -lnsl if both are needed. We assume that
10100 # if connect needs -lnsl, so does gethostbyname.
10101 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10102 if test "x$ac_cv_func_connect" = xyes; then :
10106 if test $ac_cv_func_connect = no; then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10108 $as_echo_n "checking for connect in -lsocket... " >&6; }
10109 if ${ac_cv_lib_socket_connect+:} false; then :
10110 $as_echo_n "(cached) " >&6
10111 else
10112 ac_check_lib_save_LIBS=$LIBS
10113 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10117 /* Override any GCC internal prototype to avoid an error.
10118 Use char because int might match the return type of a GCC
10119 builtin and then its argument prototype would still apply. */
10120 #ifdef __cplusplus
10121 extern "C"
10122 #endif
10123 char connect ();
10125 main ()
10127 return connect ();
10129 return 0;
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 ac_cv_lib_socket_connect=yes
10134 else
10135 ac_cv_lib_socket_connect=no
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 LIBS=$ac_check_lib_save_LIBS
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10142 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10143 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10144 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10149 # Guillermo Gomez says -lposix is necessary on A/UX.
10150 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10151 if test "x$ac_cv_func_remove" = xyes; then :
10155 if test $ac_cv_func_remove = no; then
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10157 $as_echo_n "checking for remove in -lposix... " >&6; }
10158 if ${ac_cv_lib_posix_remove+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_check_lib_save_LIBS=$LIBS
10162 LIBS="-lposix $LIBS"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10169 #ifdef __cplusplus
10170 extern "C"
10171 #endif
10172 char remove ();
10174 main ()
10176 return remove ();
10178 return 0;
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"; then :
10182 ac_cv_lib_posix_remove=yes
10183 else
10184 ac_cv_lib_posix_remove=no
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 LIBS=$ac_check_lib_save_LIBS
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10191 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10192 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10193 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10198 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10199 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10200 if test "x$ac_cv_func_shmat" = xyes; then :
10204 if test $ac_cv_func_shmat = no; then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10206 $as_echo_n "checking for shmat in -lipc... " >&6; }
10207 if ${ac_cv_lib_ipc_shmat+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_check_lib_save_LIBS=$LIBS
10211 LIBS="-lipc $LIBS"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char shmat ();
10223 main ()
10225 return shmat ();
10227 return 0;
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 ac_cv_lib_ipc_shmat=yes
10232 else
10233 ac_cv_lib_ipc_shmat=no
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 LIBS=$ac_check_lib_save_LIBS
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10240 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10241 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10248 # Check for libraries that X11R6 Xt/Xaw programs need.
10249 ac_save_LDFLAGS=$LDFLAGS
10250 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10251 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10252 # check for ICE first), but we must link in the order -lSM -lICE or
10253 # we get undefined symbols. So assume we have SM if we have ICE.
10254 # These have to be linked with before -lX11, unlike the other
10255 # libraries we check for below, so use a different variable.
10256 # John Interrante, Karl Berry
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10258 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10259 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_lib_save_LIBS=$LIBS
10263 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char IceConnectionNumber ();
10275 main ()
10277 return IceConnectionNumber ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_lib_ICE_IceConnectionNumber=yes
10284 else
10285 ac_cv_lib_ICE_IceConnectionNumber=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_lib_save_LIBS
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10292 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10293 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10294 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10297 LDFLAGS=$ac_save_LDFLAGS
10302 if test "$have_x" = "yes"
10303 then
10304 ac_save_CPPFLAGS="$CPPFLAGS"
10305 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10308 $as_echo_n "checking for -lX11... " >&6; }
10309 if ${ac_cv_lib_soname_X11+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_check_soname_save_LIBS=$LIBS
10313 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char XCreateWindow ();
10325 main ()
10327 return XCreateWindow ();
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 case "$LIBEXT" in
10334 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10337 if ${ac_cv_lib_soname_X11:+false} :; then :
10338 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10339 fi ;;
10340 esac
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_soname_save_LIBS
10346 if ${ac_cv_lib_soname_X11:+false} :; then :
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10348 $as_echo "not found" >&6; }
10350 else
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10352 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10354 cat >>confdefs.h <<_ACEOF
10355 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10356 _ACEOF
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10361 $as_echo_n "checking for -lXext... " >&6; }
10362 if ${ac_cv_lib_soname_Xext+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_check_soname_save_LIBS=$LIBS
10366 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10373 #ifdef __cplusplus
10374 extern "C"
10375 #endif
10376 char XextCreateExtension ();
10378 main ()
10380 return XextCreateExtension ();
10382 return 0;
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 case "$LIBEXT" in
10387 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10388 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'` ;;
10389 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10390 if ${ac_cv_lib_soname_Xext:+false} :; then :
10391 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10392 fi ;;
10393 esac
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 LIBS=$ac_check_soname_save_LIBS
10399 if ${ac_cv_lib_soname_Xext:+false} :; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10401 $as_echo "not found" >&6; }
10403 else
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10405 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10407 cat >>confdefs.h <<_ACEOF
10408 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10409 _ACEOF
10411 X_LIBS="$X_LIBS -lXext"
10413 X_LIBS="$X_LIBS -lX11"
10415 for ac_header in X11/Xlib.h \
10416 X11/XKBlib.h \
10417 X11/Xutil.h \
10418 X11/Xcursor/Xcursor.h \
10419 X11/extensions/shape.h \
10420 X11/extensions/XInput.h \
10421 X11/extensions/XInput2.h \
10422 X11/extensions/XShm.h \
10423 X11/extensions/Xcomposite.h \
10424 X11/extensions/Xfixes.h \
10425 X11/extensions/Xinerama.h \
10426 X11/extensions/Xrandr.h \
10427 X11/extensions/Xrender.h \
10428 X11/extensions/xf86vmode.h \
10429 X11/extensions/xf86vmproto.h
10430 do :
10431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10432 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10433 # include <X11/Xlib.h>
10434 #endif
10435 #ifdef HAVE_X11_XUTIL_H
10436 # include <X11/Xutil.h>
10437 #endif
10439 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10440 cat >>confdefs.h <<_ACEOF
10441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10442 _ACEOF
10446 done
10449 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10450 then
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10452 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10453 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_check_lib_save_LIBS=$LIBS
10457 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10464 #ifdef __cplusplus
10465 extern "C"
10466 #endif
10467 char XkbQueryExtension ();
10469 main ()
10471 return XkbQueryExtension ();
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 ac_cv_lib_X11_XkbQueryExtension=yes
10478 else
10479 ac_cv_lib_X11_XkbQueryExtension=no
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10486 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10487 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10489 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10495 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10496 then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10498 $as_echo_n "checking for -lXcursor... " >&6; }
10499 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10500 $as_echo_n "(cached) " >&6
10501 else
10502 ac_check_soname_save_LIBS=$LIBS
10503 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10507 /* Override any GCC internal prototype to avoid an error.
10508 Use char because int might match the return type of a GCC
10509 builtin and then its argument prototype would still apply. */
10510 #ifdef __cplusplus
10511 extern "C"
10512 #endif
10513 char XcursorImageLoadCursor ();
10515 main ()
10517 return XcursorImageLoadCursor ();
10519 return 0;
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 case "$LIBEXT" in
10524 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10525 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'` ;;
10526 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10527 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10528 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10529 fi ;;
10530 esac
10532 rm -f core conftest.err conftest.$ac_objext \
10533 conftest$ac_exeext conftest.$ac_ext
10534 LIBS=$ac_check_soname_save_LIBS
10536 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10538 $as_echo "not found" >&6; }
10540 else
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10542 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10544 cat >>confdefs.h <<_ACEOF
10545 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10546 _ACEOF
10551 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10552 case "x$with_xcursor" in
10553 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10554 xno) ;;
10555 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10556 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10557 esac
10561 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10562 then
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10564 $as_echo_n "checking for -lXi... " >&6; }
10565 if ${ac_cv_lib_soname_Xi+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_check_soname_save_LIBS=$LIBS
10569 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char XOpenDevice ();
10581 main ()
10583 return XOpenDevice ();
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 case "$LIBEXT" in
10590 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_Xi:+false} :; then :
10594 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10595 fi ;;
10596 esac
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_Xi:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10606 else
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10608 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10610 cat >>confdefs.h <<_ACEOF
10611 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10612 _ACEOF
10617 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10618 case "x$with_xinput" in
10619 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10620 xno) ;;
10621 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10622 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10623 esac
10627 if test "x$ac_cv_lib_soname_Xi" != x
10628 then
10629 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10630 case "x$with_xinput2" in
10631 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10632 xno) ;;
10633 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10634 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10635 esac
10640 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10641 then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10643 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10644 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10645 $as_echo_n "(cached) " >&6
10646 else
10647 ac_check_lib_save_LIBS=$LIBS
10648 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10652 /* Override any GCC internal prototype to avoid an error.
10653 Use char because int might match the return type of a GCC
10654 builtin and then its argument prototype would still apply. */
10655 #ifdef __cplusplus
10656 extern "C"
10657 #endif
10658 char XShmQueryExtension ();
10660 main ()
10662 return XShmQueryExtension ();
10664 return 0;
10666 _ACEOF
10667 if ac_fn_c_try_link "$LINENO"; then :
10668 ac_cv_lib_Xext_XShmQueryExtension=yes
10669 else
10670 ac_cv_lib_Xext_XShmQueryExtension=no
10672 rm -f core conftest.err conftest.$ac_objext \
10673 conftest$ac_exeext conftest.$ac_ext
10674 LIBS=$ac_check_lib_save_LIBS
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10677 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10678 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10680 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10685 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10686 case "x$with_xshm" in
10687 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10688 xno) ;;
10689 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10690 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10691 esac
10695 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10696 then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10698 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10699 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10700 $as_echo_n "(cached) " >&6
10701 else
10702 ac_check_lib_save_LIBS=$LIBS
10703 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10707 /* Override any GCC internal prototype to avoid an error.
10708 Use char because int might match the return type of a GCC
10709 builtin and then its argument prototype would still apply. */
10710 #ifdef __cplusplus
10711 extern "C"
10712 #endif
10713 char XShapeQueryExtension ();
10715 main ()
10717 return XShapeQueryExtension ();
10719 return 0;
10721 _ACEOF
10722 if ac_fn_c_try_link "$LINENO"; then :
10723 ac_cv_lib_Xext_XShapeQueryExtension=yes
10724 else
10725 ac_cv_lib_Xext_XShapeQueryExtension=no
10727 rm -f core conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_lib_save_LIBS
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10732 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10733 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10735 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10740 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10741 case "x$with_xshape" in
10742 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10743 xno) ;;
10744 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10745 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10746 esac
10750 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10751 then
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10753 $as_echo_n "checking for -lXxf86vm... " >&6; }
10754 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_soname_save_LIBS=$LIBS
10758 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char XF86VidModeQueryExtension ();
10770 main ()
10772 return XF86VidModeQueryExtension ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 case "$LIBEXT" in
10779 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10780 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'` ;;
10781 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10782 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10783 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10784 fi ;;
10785 esac
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 LIBS=$ac_check_soname_save_LIBS
10791 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10793 $as_echo "not found" >&6; }
10795 else
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10797 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10799 cat >>confdefs.h <<_ACEOF
10800 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10801 _ACEOF
10806 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10807 case "x$with_xxf86vm" in
10808 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10809 xno) ;;
10810 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10811 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10812 esac
10816 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10817 then
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10819 $as_echo_n "checking for -lXrender... " >&6; }
10820 if ${ac_cv_lib_soname_Xrender+:} false; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 ac_check_soname_save_LIBS=$LIBS
10824 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10831 #ifdef __cplusplus
10832 extern "C"
10833 #endif
10834 char XRenderQueryExtension ();
10836 main ()
10838 return XRenderQueryExtension ();
10840 return 0;
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 case "$LIBEXT" in
10845 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10846 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'` ;;
10847 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10848 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10849 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10850 fi ;;
10851 esac
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_soname_save_LIBS
10857 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10859 $as_echo "not found" >&6; }
10861 else
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10863 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10865 cat >>confdefs.h <<_ACEOF
10866 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10867 _ACEOF
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10870 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10871 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10872 $as_echo_n "(cached) " >&6
10873 else
10874 ac_check_lib_save_LIBS=$LIBS
10875 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10882 #ifdef __cplusplus
10883 extern "C"
10884 #endif
10885 char XRenderSetPictureTransform ();
10887 main ()
10889 return XRenderSetPictureTransform ();
10891 return 0;
10893 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"; then :
10895 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10896 else
10897 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10904 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10905 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10907 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10912 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10913 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10914 $as_echo_n "(cached) " >&6
10915 else
10916 ac_check_lib_save_LIBS=$LIBS
10917 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10924 #ifdef __cplusplus
10925 extern "C"
10926 #endif
10927 char XRenderCreateLinearGradient ();
10929 main ()
10931 return XRenderCreateLinearGradient ();
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10938 else
10939 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10946 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10947 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10949 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10956 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10957 case "x$with_xrender" in
10958 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10959 xno) ;;
10960 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10961 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10962 esac
10966 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10967 then
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10970 #include <X11/Xlib.h>
10971 #include <X11/extensions/Xrandr.h>
10973 main ()
10975 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_compile "$LINENO"; then :
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10982 $as_echo_n "checking for -lXrandr... " >&6; }
10983 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10984 $as_echo_n "(cached) " >&6
10985 else
10986 ac_check_soname_save_LIBS=$LIBS
10987 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
10994 #ifdef __cplusplus
10995 extern "C"
10996 #endif
10997 char XRRQueryExtension ();
10999 main ()
11001 return XRRQueryExtension ();
11003 return 0;
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"; then :
11007 case "$LIBEXT" in
11008 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11009 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'` ;;
11010 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11011 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11012 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11013 fi ;;
11014 esac
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_soname_save_LIBS
11020 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11022 $as_echo "not found" >&6; }
11024 else
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11026 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11028 cat >>confdefs.h <<_ACEOF
11029 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11030 _ACEOF
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11034 #include <X11/Xlib.h>
11035 #include <X11/extensions/Xrandr.h>
11037 main ()
11039 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_compile "$LINENO"; then :
11046 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11054 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11055 case "x$with_xrandr" in
11056 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11057 xno) ;;
11058 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11059 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11060 esac
11064 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11065 then
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11068 #include <X11/Xlib.h>
11069 #include <X11/extensions/Xfixes.h>
11071 main ()
11073 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_compile "$LINENO"; then :
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11080 $as_echo_n "checking for -lXfixes... " >&6; }
11081 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11082 $as_echo_n "(cached) " >&6
11083 else
11084 ac_check_soname_save_LIBS=$LIBS
11085 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11089 /* Override any GCC internal prototype to avoid an error.
11090 Use char because int might match the return type of a GCC
11091 builtin and then its argument prototype would still apply. */
11092 #ifdef __cplusplus
11093 extern "C"
11094 #endif
11095 char XFixesQueryVersion ();
11097 main ()
11099 return XFixesQueryVersion ();
11101 return 0;
11103 _ACEOF
11104 if ac_fn_c_try_link "$LINENO"; then :
11105 case "$LIBEXT" in
11106 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11107 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'` ;;
11108 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11109 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11110 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11111 fi ;;
11112 esac
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11116 LIBS=$ac_check_soname_save_LIBS
11118 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11120 $as_echo "not found" >&6; }
11122 else
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11124 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11126 cat >>confdefs.h <<_ACEOF
11127 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11128 _ACEOF
11133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11135 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11136 case "x$with_xfixes" in
11137 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11138 xno) ;;
11139 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11140 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11141 esac
11145 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11146 then
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11149 #include <X11/Xlib.h>
11150 #include <X11/extensions/Xinerama.h>
11152 main ()
11154 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_compile "$LINENO"; then :
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11161 $as_echo_n "checking for -lXinerama... " >&6; }
11162 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11163 $as_echo_n "(cached) " >&6
11164 else
11165 ac_check_soname_save_LIBS=$LIBS
11166 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11173 #ifdef __cplusplus
11174 extern "C"
11175 #endif
11176 char XineramaQueryScreens ();
11178 main ()
11180 return XineramaQueryScreens ();
11182 return 0;
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"; then :
11186 case "$LIBEXT" in
11187 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11188 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'` ;;
11189 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11190 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11191 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11192 fi ;;
11193 esac
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_soname_save_LIBS
11199 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11201 $as_echo "not found" >&6; }
11203 else
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11205 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11207 cat >>confdefs.h <<_ACEOF
11208 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11209 _ACEOF
11214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11216 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11217 case "x$with_xinerama" in
11218 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11219 xno) ;;
11220 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11221 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11222 esac
11226 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11227 then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11229 $as_echo_n "checking for -lXcomposite... " >&6; }
11230 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_soname_save_LIBS=$LIBS
11234 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char XCompositeRedirectWindow ();
11246 main ()
11248 return XCompositeRedirectWindow ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 case "$LIBEXT" in
11255 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11256 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'` ;;
11257 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11258 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11259 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11260 fi ;;
11261 esac
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_soname_save_LIBS
11267 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11269 $as_echo "not found" >&6; }
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11273 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11275 cat >>confdefs.h <<_ACEOF
11276 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11277 _ACEOF
11282 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11283 case "x$with_xcomposite" in
11284 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11285 xno) ;;
11286 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11287 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11288 esac
11292 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11293 #include <X11/Xlib.h>
11294 #endif
11296 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11298 cat >>confdefs.h <<_ACEOF
11299 #define HAVE_XICCALLBACK_CALLBACK 1
11300 _ACEOF
11304 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11305 #include <X11/Xlib.h>
11306 #endif
11308 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11310 cat >>confdefs.h <<_ACEOF
11311 #define HAVE_XEVENT_XCOOKIE 1
11312 _ACEOF
11319 opengl_msg=""
11320 if test "x$with_opengl" != "xno"
11321 then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11323 $as_echo_n "checking for -lGL... " >&6; }
11324 if ${ac_cv_lib_soname_GL+:} false; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_soname_save_LIBS=$LIBS
11328 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char glXCreateContext ();
11340 main ()
11342 return glXCreateContext ();
11344 return 0;
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 case "$LIBEXT" in
11349 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11350 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'` ;;
11351 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11352 if ${ac_cv_lib_soname_GL:+false} :; then :
11353 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11354 fi ;;
11355 esac
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_soname_save_LIBS
11361 if ${ac_cv_lib_soname_GL:+false} :; then :
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11363 $as_echo "not found" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11365 $as_echo_n "checking for -lGL... " >&6; }
11366 if ${ac_cv_lib_soname_GL+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_soname_save_LIBS=$LIBS
11370 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"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char glXCreateContext ();
11382 main ()
11384 return glXCreateContext ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 case "$LIBEXT" in
11391 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11392 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'` ;;
11393 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11394 if ${ac_cv_lib_soname_GL:+false} :; then :
11395 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11396 fi ;;
11397 esac
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_soname_save_LIBS
11403 if ${ac_cv_lib_soname_GL:+false} :; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11405 $as_echo "not found" >&6; }
11406 if test -f /usr/X11R6/lib/libGL.a
11407 then
11408 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11409 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11410 else
11411 opengl_msg="No OpenGL library found on this system."
11413 else
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11415 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11417 cat >>confdefs.h <<_ACEOF
11418 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11419 _ACEOF
11421 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"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11425 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11429 _ACEOF
11431 OPENGL_LIBS="-lGL"
11433 if test "x$with_glu" != "xno"
11434 then
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11436 $as_echo_n "checking for -lGLU... " >&6; }
11437 if ${ac_cv_lib_soname_GLU+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_soname_save_LIBS=$LIBS
11441 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11448 #ifdef __cplusplus
11449 extern "C"
11450 #endif
11451 char gluLookAt ();
11453 main ()
11455 return gluLookAt ();
11457 return 0;
11459 _ACEOF
11460 if ac_fn_c_try_link "$LINENO"; then :
11461 case "$LIBEXT" in
11462 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11463 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'` ;;
11464 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11465 if ${ac_cv_lib_soname_GLU:+false} :; then :
11466 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11467 fi ;;
11468 esac
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_soname_save_LIBS
11474 if ${ac_cv_lib_soname_GLU:+false} :; then :
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11476 $as_echo "not found" >&6; }
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11480 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11482 cat >>confdefs.h <<_ACEOF
11483 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11484 _ACEOF
11488 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11489 case "x$with_glu" in
11490 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11491 xno) ;;
11492 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11493 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11494 esac
11499 if test "x$with_osmesa" != "xno"
11500 then
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11502 $as_echo_n "checking for -lOSMesa... " >&6; }
11503 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11504 $as_echo_n "(cached) " >&6
11505 else
11506 ac_check_soname_save_LIBS=$LIBS
11507 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11514 #ifdef __cplusplus
11515 extern "C"
11516 #endif
11517 char OSMesaGetProcAddress ();
11519 main ()
11521 return OSMesaGetProcAddress ();
11523 return 0;
11525 _ACEOF
11526 if ac_fn_c_try_link "$LINENO"; then :
11527 case "$LIBEXT" in
11528 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11529 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'` ;;
11530 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11531 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11532 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11533 fi ;;
11534 esac
11536 rm -f core conftest.err conftest.$ac_objext \
11537 conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_check_soname_save_LIBS
11540 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11542 $as_echo "not found" >&6; }
11544 else
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11546 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11548 cat >>confdefs.h <<_ACEOF
11549 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11550 _ACEOF
11554 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11555 case "x$with_osmesa" in
11556 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11557 xno) ;;
11558 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11559 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11560 esac
11565 if test -n "$opengl_msg"; then :
11566 case "x$with_opengl" in
11567 x) as_fn_append wine_warnings "|$opengl_msg
11568 OpenGL and Direct3D won't be supported." ;;
11569 xno) ;;
11570 *) as_fn_error $? "$opengl_msg
11571 OpenGL and Direct3D won't be supported.
11572 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11573 esac
11577 CPPFLAGS="$ac_save_CPPFLAGS"
11578 else
11579 X_CFLAGS=""
11580 X_LIBS=""
11583 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11584 then
11585 if test "x$X_LIBS" = "x"; then :
11586 case "x$with_x" in
11587 xno) ;;
11588 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11589 without X support, which probably isn't what you want. You will need
11590 to install ${notice_platform}development packages of Xlib at the very least.
11591 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11592 esac
11593 enable_winex11_drv=${enable_winex11_drv:-no}
11595 else
11596 if test "x$X_LIBS" = "x"; then :
11597 case "x$with_x" in
11598 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11599 xno) ;;
11600 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11601 This is an error since --with-x was requested." "$LINENO" 5 ;;
11602 esac
11603 enable_winex11_drv=${enable_winex11_drv:-no}
11607 if test "$ac_cv_header_CL_cl_h" = "yes"
11608 then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11610 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11611 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_lib_save_LIBS=$LIBS
11615 LIBS="-lOpenCL $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char clGetPlatformInfo ();
11627 main ()
11629 return clGetPlatformInfo ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11636 else
11637 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11644 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11645 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11646 OPENCL_LIBS="-lOpenCL"
11651 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11652 case "x$with_opencl" in
11653 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11654 xno) ;;
11655 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11656 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11657 esac
11658 enable_opencl=${enable_opencl:-no}
11661 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11662 then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11664 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11665 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11666 $as_echo_n "(cached) " >&6
11667 else
11668 ac_check_lib_save_LIBS=$LIBS
11669 LIBS="-lpcap $LIBS"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11676 #ifdef __cplusplus
11677 extern "C"
11678 #endif
11679 char pcap_create ();
11681 main ()
11683 return pcap_create ();
11685 return 0;
11687 _ACEOF
11688 if ac_fn_c_try_link "$LINENO"; then :
11689 ac_cv_lib_pcap_pcap_create=yes
11690 else
11691 ac_cv_lib_pcap_pcap_create=no
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_lib_save_LIBS
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11698 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11699 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11700 PCAP_LIBS="-lpcap"
11705 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11706 case "x$with_pcap" in
11707 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11708 xno) ;;
11709 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11710 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11711 esac
11712 enable_wpcap=${enable_wpcap:-no}
11716 if test "x$with_xml" != "xno"
11717 then
11718 if ${XML2_CFLAGS:+false} :; then :
11719 if ${PKG_CONFIG+:} false; then :
11720 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11723 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11724 if ${XML2_LIBS:+false} :; then :
11725 if ${PKG_CONFIG+:} false; then :
11726 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11729 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11730 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11731 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11732 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11733 ac_save_CPPFLAGS=$CPPFLAGS
11734 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11735 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11736 do :
11737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11738 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11740 cat >>confdefs.h <<_ACEOF
11741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11742 _ACEOF
11746 done
11748 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"
11749 then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11751 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11752 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11753 $as_echo_n "(cached) " >&6
11754 else
11755 ac_check_lib_save_LIBS=$LIBS
11756 LIBS="-lxml2 $XML2_LIBS $LIBS"
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11763 #ifdef __cplusplus
11764 extern "C"
11765 #endif
11766 char xmlParseMemory ();
11768 main ()
11770 return xmlParseMemory ();
11772 return 0;
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"; then :
11776 ac_cv_lib_xml2_xmlParseMemory=yes
11777 else
11778 ac_cv_lib_xml2_xmlParseMemory=no
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_lib_save_LIBS
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11785 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11786 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11788 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11790 else
11791 XML2_LIBS=""
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11795 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11796 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_lib_save_LIBS=$LIBS
11800 LIBS="-lxml2 $XML2_LIBS $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char xmlReadMemory ();
11812 main ()
11814 return xmlReadMemory ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 ac_cv_lib_xml2_xmlReadMemory=yes
11821 else
11822 ac_cv_lib_xml2_xmlReadMemory=no
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11829 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11830 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11832 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11837 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11838 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11839 $as_echo_n "(cached) " >&6
11840 else
11841 ac_check_lib_save_LIBS=$LIBS
11842 LIBS="-lxml2 $XML2_LIBS $LIBS"
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char xmlNewDocPI ();
11854 main ()
11856 return xmlNewDocPI ();
11858 return 0;
11860 _ACEOF
11861 if ac_fn_c_try_link "$LINENO"; then :
11862 ac_cv_lib_xml2_xmlNewDocPI=yes
11863 else
11864 ac_cv_lib_xml2_xmlNewDocPI=no
11866 rm -f core conftest.err conftest.$ac_objext \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_lib_save_LIBS
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11871 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11872 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11874 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11879 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11880 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11881 $as_echo_n "(cached) " >&6
11882 else
11883 ac_check_lib_save_LIBS=$LIBS
11884 LIBS="-lxml2 $XML2_LIBS $LIBS"
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11891 #ifdef __cplusplus
11892 extern "C"
11893 #endif
11894 char xmlSchemaSetParserStructuredErrors ();
11896 main ()
11898 return xmlSchemaSetParserStructuredErrors ();
11900 return 0;
11902 _ACEOF
11903 if ac_fn_c_try_link "$LINENO"; then :
11904 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11905 else
11906 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11908 rm -f core conftest.err conftest.$ac_objext \
11909 conftest$ac_exeext conftest.$ac_ext
11910 LIBS=$ac_check_lib_save_LIBS
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11913 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11914 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11916 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11921 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11922 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lxml2 $XML2_LIBS $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char xmlSchemaSetValidStructuredErrors ();
11938 main ()
11940 return xmlSchemaSetValidStructuredErrors ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11947 else
11948 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11955 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11956 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11958 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11963 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11964 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_lib_save_LIBS=$LIBS
11968 LIBS="-lxml2 $XML2_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char xmlFirstElementChild ();
11980 main ()
11982 return xmlFirstElementChild ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 ac_cv_lib_xml2_xmlFirstElementChild=yes
11989 else
11990 ac_cv_lib_xml2_xmlFirstElementChild=no
11992 rm -f core conftest.err conftest.$ac_objext \
11993 conftest$ac_exeext conftest.$ac_ext
11994 LIBS=$ac_check_lib_save_LIBS
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11997 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11998 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12000 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12004 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12006 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12008 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12012 else
12013 XML2_CFLAGS=""
12014 XML2_LIBS=""
12016 CPPFLAGS=$ac_save_CPPFLAGS
12017 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12018 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12021 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12022 case "x$with_xml" in
12023 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12024 xno) ;;
12025 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12026 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12027 esac
12031 if test "x$with_xslt" != "xno"
12032 then
12033 if ${XSLT_CFLAGS:+false} :; then :
12034 if ${PKG_CONFIG+:} false; then :
12035 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12038 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12039 if ${XSLT_LIBS:+false} :; then :
12040 if ${PKG_CONFIG+:} false; then :
12041 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12044 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12045 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12047 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12048 ac_save_CPPFLAGS=$CPPFLAGS
12049 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12050 for ac_header in libxslt/pattern.h libxslt/transform.h
12051 do :
12052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12053 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12054 # include <libxslt/pattern.h>
12055 #endif
12057 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12058 cat >>confdefs.h <<_ACEOF
12059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12060 _ACEOF
12064 done
12066 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12067 then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12069 $as_echo_n "checking for -lxslt... " >&6; }
12070 if ${ac_cv_lib_soname_xslt+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lxslt $XSLT_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char xsltCompilePattern ();
12086 main ()
12088 return xsltCompilePattern ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 case "$LIBEXT" in
12095 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12096 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'` ;;
12097 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12098 if ${ac_cv_lib_soname_xslt:+false} :; then :
12099 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12100 fi ;;
12101 esac
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_soname_save_LIBS
12107 if ${ac_cv_lib_soname_xslt:+false} :; then :
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12109 $as_echo "not found" >&6; }
12111 else
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12113 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12115 cat >>confdefs.h <<_ACEOF
12116 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12117 _ACEOF
12121 else
12122 XSLT_CFLAGS=""
12124 CPPFLAGS=$ac_save_CPPFLAGS
12125 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12126 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12129 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12130 case "x$with_xslt" in
12131 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12132 xno) ;;
12133 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12134 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12135 esac
12139 if test "x$with_dbus" != "xno"
12140 then
12141 if ${DBUS_CFLAGS:+false} :; then :
12142 if ${PKG_CONFIG+:} false; then :
12143 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12147 if ${DBUS_LIBS:+false} :; then :
12148 if ${PKG_CONFIG+:} false; then :
12149 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12154 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12155 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12156 ac_save_CPPFLAGS=$CPPFLAGS
12157 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12158 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12159 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12161 $as_echo_n "checking for -ldbus-1... " >&6; }
12162 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12163 $as_echo_n "(cached) " >&6
12164 else
12165 ac_check_soname_save_LIBS=$LIBS
12166 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char dbus_connection_close ();
12178 main ()
12180 return dbus_connection_close ();
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 case "$LIBEXT" in
12187 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12188 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'` ;;
12189 *) 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'`
12190 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12191 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12192 fi ;;
12193 esac
12195 rm -f core conftest.err conftest.$ac_objext \
12196 conftest$ac_exeext conftest.$ac_ext
12197 LIBS=$ac_check_soname_save_LIBS
12199 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12201 $as_echo "not found" >&6; }
12202 DBUS_CFLAGS=""
12203 else
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12205 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12207 cat >>confdefs.h <<_ACEOF
12208 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12209 _ACEOF
12213 else
12214 DBUS_CFLAGS=""
12218 CPPFLAGS=$ac_save_CPPFLAGS
12219 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12220 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12223 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12224 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12225 case "x$with_dbus" in
12226 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12227 xno) ;;
12228 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12229 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12230 esac
12234 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12235 then
12236 if ${HAL_CFLAGS:+false} :; then :
12237 if ${PKG_CONFIG+:} false; then :
12238 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12242 if ${HAL_LIBS:+false} :; then :
12243 if ${PKG_CONFIG+:} false; then :
12244 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12248 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12249 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12251 ac_save_CPPFLAGS=$CPPFLAGS
12252 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12253 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12254 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12256 $as_echo_n "checking for -lhal... " >&6; }
12257 if ${ac_cv_lib_soname_hal+:} false; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_check_soname_save_LIBS=$LIBS
12261 LIBS="-lhal $HAL_LIBS $LIBS"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12268 #ifdef __cplusplus
12269 extern "C"
12270 #endif
12271 char libhal_ctx_new ();
12273 main ()
12275 return libhal_ctx_new ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"; then :
12281 case "$LIBEXT" in
12282 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12283 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'` ;;
12284 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12285 if ${ac_cv_lib_soname_hal:+false} :; then :
12286 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12287 fi ;;
12288 esac
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 LIBS=$ac_check_soname_save_LIBS
12294 if ${ac_cv_lib_soname_hal:+false} :; then :
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12296 $as_echo "not found" >&6; }
12297 HAL_CFLAGS=""
12298 else
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12300 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12302 cat >>confdefs.h <<_ACEOF
12303 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12304 _ACEOF
12308 else
12309 HAL_CFLAGS=""
12313 CPPFLAGS=$ac_save_CPPFLAGS
12314 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12315 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12317 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12318 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12319 case "x$with_hal" in
12320 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12321 xno) ;;
12322 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12323 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12324 esac
12329 if test "x$with_gnutls" != "xno"
12330 then
12331 if ${GNUTLS_CFLAGS:+false} :; then :
12332 if ${PKG_CONFIG+:} false; then :
12333 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12337 if ${GNUTLS_LIBS:+false} :; then :
12338 if ${PKG_CONFIG+:} false; then :
12339 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12344 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12345 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12346 ac_save_CPPFLAGS=$CPPFLAGS
12347 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12348 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12349 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h. */
12352 #include <gnutls/gnutls.h>
12353 #include <gnutls/crypto.h>
12355 main ()
12357 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12359 return 0;
12361 _ACEOF
12362 if ac_fn_c_try_compile "$LINENO"; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12364 $as_echo_n "checking for -lgnutls... " >&6; }
12365 if ${ac_cv_lib_soname_gnutls+:} false; then :
12366 $as_echo_n "(cached) " >&6
12367 else
12368 ac_check_soname_save_LIBS=$LIBS
12369 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12373 /* Override any GCC internal prototype to avoid an error.
12374 Use char because int might match the return type of a GCC
12375 builtin and then its argument prototype would still apply. */
12376 #ifdef __cplusplus
12377 extern "C"
12378 #endif
12379 char gnutls_global_init ();
12381 main ()
12383 return gnutls_global_init ();
12385 return 0;
12387 _ACEOF
12388 if ac_fn_c_try_link "$LINENO"; then :
12389 case "$LIBEXT" in
12390 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12391 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'` ;;
12392 *) 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'`
12393 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12394 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'`
12395 fi ;;
12396 esac
12398 rm -f core conftest.err conftest.$ac_objext \
12399 conftest$ac_exeext conftest.$ac_ext
12400 LIBS=$ac_check_soname_save_LIBS
12402 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12404 $as_echo "not found" >&6; }
12405 GNUTLS_CFLAGS=""
12406 else
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12408 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12410 cat >>confdefs.h <<_ACEOF
12411 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12412 _ACEOF
12416 ac_wine_check_funcs_save_LIBS="$LIBS"
12417 LIBS="$LIBS $GNUTLS_LIBS"
12418 for ac_func in gnutls_cipher_init
12419 do :
12420 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12421 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12422 cat >>confdefs.h <<_ACEOF
12423 #define HAVE_GNUTLS_CIPHER_INIT 1
12424 _ACEOF
12426 else
12427 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12429 done
12431 LIBS="$ac_wine_check_funcs_save_LIBS"
12433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434 else
12435 GNUTLS_CFLAGS=""
12439 CPPFLAGS=$ac_save_CPPFLAGS
12440 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12441 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12444 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12445 case "x$with_gnutls" in
12446 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12447 xno) ;;
12448 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12449 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12450 esac
12454 CURSES_LIBS=""
12455 if test "$ac_cv_header_ncurses_h" = "yes"
12456 then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12458 $as_echo_n "checking for -lncurses... " >&6; }
12459 if ${ac_cv_lib_soname_ncurses+:} false; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 ac_check_soname_save_LIBS=$LIBS
12463 LIBS="-lncurses $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12470 #ifdef __cplusplus
12471 extern "C"
12472 #endif
12473 char waddch ();
12475 main ()
12477 return waddch ();
12479 return 0;
12481 _ACEOF
12482 if ac_fn_c_try_link "$LINENO"; then :
12483 case "$LIBEXT" in
12484 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12485 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'` ;;
12486 *) 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'`
12487 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12488 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12489 fi ;;
12490 esac
12492 rm -f core conftest.err conftest.$ac_objext \
12493 conftest$ac_exeext conftest.$ac_ext
12494 LIBS=$ac_check_soname_save_LIBS
12496 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12498 $as_echo "not found" >&6; }
12500 else
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12502 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12504 cat >>confdefs.h <<_ACEOF
12505 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12506 _ACEOF
12508 CURSES_LIBS="-lncurses"
12510 elif test "$ac_cv_header_curses_h" = "yes"
12511 then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12513 $as_echo_n "checking for -lcurses... " >&6; }
12514 if ${ac_cv_lib_soname_curses+:} false; then :
12515 $as_echo_n "(cached) " >&6
12516 else
12517 ac_check_soname_save_LIBS=$LIBS
12518 LIBS="-lcurses $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12525 #ifdef __cplusplus
12526 extern "C"
12527 #endif
12528 char waddch ();
12530 main ()
12532 return waddch ();
12534 return 0;
12536 _ACEOF
12537 if ac_fn_c_try_link "$LINENO"; then :
12538 case "$LIBEXT" in
12539 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12540 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'` ;;
12541 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12542 if ${ac_cv_lib_soname_curses:+false} :; then :
12543 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12544 fi ;;
12545 esac
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 LIBS=$ac_check_soname_save_LIBS
12551 if ${ac_cv_lib_soname_curses:+false} :; then :
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12553 $as_echo "not found" >&6; }
12555 else
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12557 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12559 cat >>confdefs.h <<_ACEOF
12560 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12561 _ACEOF
12563 CURSES_LIBS="-lcurses"
12566 ac_save_LIBS="$LIBS"
12567 LIBS="$LIBS $CURSES_LIBS"
12568 for ac_func in mousemask
12569 do :
12570 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12571 if test "x$ac_cv_func_mousemask" = xyes; then :
12572 cat >>confdefs.h <<_ACEOF
12573 #define HAVE_MOUSEMASK 1
12574 _ACEOF
12577 done
12579 LIBS="$ac_save_LIBS"
12580 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12581 case "x$with_curses" in
12582 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12583 xno) ;;
12584 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12585 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12586 esac
12590 if test "x$with_sane" != "xno"
12591 then
12592 if ${SANE_CFLAGS:+false} :; then :
12593 if ${PKG_CONFIG+:} false; then :
12594 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12597 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12598 if ${SANE_LIBS:+false} :; then :
12599 if ${PKG_CONFIG+:} false; then :
12600 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12603 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12605 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12606 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12607 ac_save_CPPFLAGS=$CPPFLAGS
12608 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12609 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12610 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12612 $as_echo_n "checking for -lsane... " >&6; }
12613 if ${ac_cv_lib_soname_sane+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_soname_save_LIBS=$LIBS
12617 LIBS="-lsane $SANE_LIBS $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char sane_init ();
12629 main ()
12631 return sane_init ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 case "$LIBEXT" in
12638 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12639 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'` ;;
12640 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12641 if ${ac_cv_lib_soname_sane:+false} :; then :
12642 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12643 fi ;;
12644 esac
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_soname_save_LIBS
12650 if ${ac_cv_lib_soname_sane:+false} :; then :
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12652 $as_echo "not found" >&6; }
12653 SANE_CFLAGS=""
12654 else
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12656 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12658 cat >>confdefs.h <<_ACEOF
12659 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12660 _ACEOF
12664 else
12665 SANE_CFLAGS=""
12669 CPPFLAGS=$ac_save_CPPFLAGS
12670 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12671 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12674 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12675 case "x$with_sane" in
12676 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12677 xno) ;;
12678 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12679 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12680 esac
12684 if test "x$with_v4l" != "xno"
12685 then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12687 $as_echo_n "checking for -lv4l1... " >&6; }
12688 if ${ac_cv_lib_soname_v4l1+:} false; then :
12689 $as_echo_n "(cached) " >&6
12690 else
12691 ac_check_soname_save_LIBS=$LIBS
12692 LIBS="-lv4l1 $LIBS"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12696 /* Override any GCC internal prototype to avoid an error.
12697 Use char because int might match the return type of a GCC
12698 builtin and then its argument prototype would still apply. */
12699 #ifdef __cplusplus
12700 extern "C"
12701 #endif
12702 char v4l1_open ();
12704 main ()
12706 return v4l1_open ();
12708 return 0;
12710 _ACEOF
12711 if ac_fn_c_try_link "$LINENO"; then :
12712 case "$LIBEXT" in
12713 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12714 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'` ;;
12715 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12716 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12717 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12718 fi ;;
12719 esac
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 LIBS=$ac_check_soname_save_LIBS
12725 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12727 $as_echo "not found" >&6; }
12729 else
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12731 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12733 cat >>confdefs.h <<_ACEOF
12734 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12735 _ACEOF
12740 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12741 case "x$with_v4l" in
12742 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12743 xno) ;;
12744 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12745 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12746 esac
12750 if test "x$with_gphoto" != "xno"
12751 then
12752 if ${GPHOTO2_CFLAGS:+false} :; then :
12753 if ${PKG_CONFIG+:} false; then :
12754 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12757 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12758 if ${GPHOTO2_LIBS:+false} :; then :
12759 if ${PKG_CONFIG+:} false; then :
12760 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12763 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12764 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12765 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12766 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12767 ac_save_CPPFLAGS=$CPPFLAGS
12768 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12769 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12770 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12772 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12773 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12774 $as_echo_n "(cached) " >&6
12775 else
12776 ac_check_lib_save_LIBS=$LIBS
12777 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12781 /* Override any GCC internal prototype to avoid an error.
12782 Use char because int might match the return type of a GCC
12783 builtin and then its argument prototype would still apply. */
12784 #ifdef __cplusplus
12785 extern "C"
12786 #endif
12787 char gp_camera_new ();
12789 main ()
12791 return gp_camera_new ();
12793 return 0;
12795 _ACEOF
12796 if ac_fn_c_try_link "$LINENO"; then :
12797 ac_cv_lib_gphoto2_gp_camera_new=yes
12798 else
12799 ac_cv_lib_gphoto2_gp_camera_new=no
12801 rm -f core conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 LIBS=$ac_check_lib_save_LIBS
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12806 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12807 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12809 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12811 else
12812 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12815 else
12816 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12820 CPPFLAGS=$ac_save_CPPFLAGS
12821 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12822 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12824 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12825 if ${PKG_CONFIG+:} false; then :
12826 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12829 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12830 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12831 if ${PKG_CONFIG+:} false; then :
12832 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12835 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12836 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12837 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12838 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12839 ac_save_CPPFLAGS=$CPPFLAGS
12840 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12841 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12842 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12844 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12845 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_lib_save_LIBS=$LIBS
12849 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char gp_port_info_list_new ();
12861 main ()
12863 return gp_port_info_list_new ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12870 else
12871 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12878 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12879 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12881 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12883 else
12884 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12887 else
12888 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12892 CPPFLAGS=$ac_save_CPPFLAGS
12893 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12894 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12897 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12898 case "x$with_gphoto" in
12899 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12900 xno) ;;
12901 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12902 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12903 esac
12906 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12907 case "x$with_gphoto" in
12908 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12909 xno) ;;
12910 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12911 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12912 esac
12917 if test "$ac_cv_header_resolv_h" = "yes"
12918 then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12920 $as_echo_n "checking for resolver library... " >&6; }
12921 if ${ac_cv_have_resolv+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
12924 ac_save_LIBS="$LIBS"
12925 for lib in '' -lresolv
12927 LIBS="$lib $ac_save_LIBS"
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12930 #ifdef HAVE_NETINET_IN_H
12931 #include <netinet/in.h>
12932 #endif
12933 #include <resolv.h>
12935 main ()
12937 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12939 return 0;
12941 _ACEOF
12942 if ac_fn_c_try_link "$LINENO"; then :
12943 ac_cv_have_resolv=${lib:-"none required"}
12944 else
12945 ac_cv_have_resolv="not found"
12947 rm -f core conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 test "x$ac_cv_have_resolv" = "xnot found" || break
12950 done
12951 LIBS="$ac_save_LIBS"
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12954 $as_echo "$ac_cv_have_resolv" >&6; }
12956 case "$ac_cv_have_resolv" in
12957 "not found") ;;
12958 "none required")
12960 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12963 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12965 RESOLV_LIBS=$ac_cv_have_resolv
12967 esac
12970 if test "x$with_cms" != "xno"
12971 then
12972 if ${LCMS2_CFLAGS:+false} :; then :
12973 if ${PKG_CONFIG+:} false; then :
12974 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12978 if ${LCMS2_LIBS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12984 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12985 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12986 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12987 ac_save_CPPFLAGS=$CPPFLAGS
12988 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12989 for ac_header in lcms2.h
12990 do :
12991 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12992 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12993 cat >>confdefs.h <<_ACEOF
12994 #define HAVE_LCMS2_H 1
12995 _ACEOF
12999 done
13001 if test "$ac_cv_header_lcms2_h" = "yes"
13002 then
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13004 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13005 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 ac_check_lib_save_LIBS=$LIBS
13009 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13016 #ifdef __cplusplus
13017 extern "C"
13018 #endif
13019 char cmsOpenProfileFromFile ();
13021 main ()
13023 return cmsOpenProfileFromFile ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13030 else
13031 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13033 rm -f core conftest.err conftest.$ac_objext \
13034 conftest$ac_exeext conftest.$ac_ext
13035 LIBS=$ac_check_lib_save_LIBS
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13038 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13039 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13041 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13043 else
13044 LCMS2_LIBS=""
13047 else
13048 LCMS2_CFLAGS=""
13049 LCMS2_LIBS=""
13051 CPPFLAGS=$ac_save_CPPFLAGS
13052 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13053 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13056 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13057 case "x$with_cms" in
13058 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13059 xno) ;;
13060 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13061 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13062 esac
13066 if test "x$with_freetype" != "xno"
13067 then
13068 if ${FREETYPE_CFLAGS:+false} :; then :
13069 if ${PKG_CONFIG+:} false; then :
13070 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13073 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13074 if ${FREETYPE_LIBS:+false} :; then :
13075 if ${PKG_CONFIG+:} false; then :
13076 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13079 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13080 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13081 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13082 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13083 ac_save_CPPFLAGS=$CPPFLAGS
13084 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13085 for ac_header in ft2build.h
13086 do :
13087 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13088 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13089 cat >>confdefs.h <<_ACEOF
13090 #define HAVE_FT2BUILD_H 1
13091 _ACEOF
13095 done
13097 if test "$ac_cv_header_ft2build_h" = "yes"
13098 then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13100 $as_echo_n "checking for -lfreetype... " >&6; }
13101 if ${ac_cv_lib_soname_freetype+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_soname_save_LIBS=$LIBS
13105 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char FT_Init_FreeType ();
13117 main ()
13119 return FT_Init_FreeType ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 case "$LIBEXT" in
13126 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13129 if ${ac_cv_lib_soname_freetype:+false} :; then :
13130 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13131 fi ;;
13132 esac
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_soname_save_LIBS
13138 if ${ac_cv_lib_soname_freetype:+false} :; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13140 $as_echo "not found" >&6; }
13141 FREETYPE_LIBS=""
13142 else
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13144 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13146 cat >>confdefs.h <<_ACEOF
13147 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13148 _ACEOF
13151 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13153 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13154 #include FT_MODULE_H
13156 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13158 cat >>confdefs.h <<_ACEOF
13159 #define HAVE_FT_TRUETYPEENGINETYPE 1
13160 _ACEOF
13166 else
13167 FREETYPE_CFLAGS=""
13168 FREETYPE_LIBS=""
13170 CPPFLAGS=$ac_save_CPPFLAGS
13171 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13172 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13175 if test "x$ac_cv_lib_soname_freetype" = x; then :
13176 case "x$with_freetype" in
13177 xno) ;;
13178 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13179 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13180 esac
13181 enable_fonts=${enable_fonts:-no}
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13185 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13186 if ${ac_cv_c_ppdev+:} false; then :
13187 $as_echo_n "(cached) " >&6
13188 else
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13191 #ifdef HAVE_SYS_IOCTL_H
13192 # include <sys/ioctl.h>
13193 #endif
13194 #include <linux/ppdev.h>
13196 main ()
13198 ioctl (1,PPCLAIM,0)
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_compile "$LINENO"; then :
13204 ac_cv_c_ppdev="yes"
13205 else
13206 ac_cv_c_ppdev="no"
13208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13211 $as_echo "$ac_cv_c_ppdev" >&6; }
13212 if test "$ac_cv_c_ppdev" = "yes"
13213 then
13215 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13219 ac_wine_check_funcs_save_LIBS="$LIBS"
13220 LIBS="$LIBS $PTHREAD_LIBS"
13221 for ac_func in \
13222 pthread_attr_get_np \
13223 pthread_getattr_np \
13224 pthread_getthreadid_np \
13225 pthread_get_stackaddr_np \
13226 pthread_get_stacksize_np
13227 do :
13228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13231 cat >>confdefs.h <<_ACEOF
13232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13233 _ACEOF
13236 done
13238 LIBS="$ac_wine_check_funcs_save_LIBS"
13240 if test "$ac_cv_header_zlib_h" = "yes"
13241 then
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13243 $as_echo_n "checking for inflate in -lz... " >&6; }
13244 if ${ac_cv_lib_z_inflate+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-lz $LIBS"
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char inflate ();
13260 main ()
13262 return inflate ();
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 ac_cv_lib_z_inflate=yes
13269 else
13270 ac_cv_lib_z_inflate=no
13272 rm -f core conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13274 LIBS=$ac_check_lib_save_LIBS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13277 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13278 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13280 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13282 Z_LIBS="-lz"
13287 if test "x$Z_LIBS" = "x"; then :
13288 case "x$with_zlib" in
13289 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13290 xno) ;;
13291 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13292 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13293 esac
13297 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13298 then
13299 if test "$ac_cv_header_gettext_po_h" = "yes"
13300 then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13302 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13303 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13304 $as_echo_n "(cached) " >&6
13305 else
13306 ac_check_lib_save_LIBS=$LIBS
13307 LIBS="-lgettextpo $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 #ifdef __cplusplus
13315 extern "C"
13316 #endif
13317 char po_message_msgctxt ();
13319 main ()
13321 return po_message_msgctxt ();
13323 return 0;
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"; then :
13327 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13328 else
13329 ac_cv_lib_gettextpo_po_message_msgctxt=no
13331 rm -f core conftest.err conftest.$ac_objext \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_lib_save_LIBS
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13336 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13337 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13339 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13341 GETTEXTPO_LIBS="-lgettextpo"
13346 if test "x$GETTEXTPO_LIBS" = "x"; then :
13347 case "x$with_gettextpo" in
13348 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13349 xno) ;;
13350 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13351 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13352 esac
13355 if test "$srcdir" != .; then :
13356 case "x$with_gettextpo" in
13357 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13358 xno) ;;
13359 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13360 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13361 esac
13366 if test "x$with_pulse" != "xno";
13367 then
13368 if ${PULSE_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13374 if ${PULSE_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13381 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13385 for ac_header in pulse/pulseaudio.h
13386 do :
13387 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13388 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13389 cat >>confdefs.h <<_ACEOF
13390 #define HAVE_PULSE_PULSEAUDIO_H 1
13391 _ACEOF
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13393 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13394 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13395 $as_echo_n "(cached) " >&6
13396 else
13397 ac_check_lib_save_LIBS=$LIBS
13398 LIBS="-lpulse $PULSE_LIBS $LIBS"
13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 #ifdef __cplusplus
13406 extern "C"
13407 #endif
13408 char pa_stream_is_corked ();
13410 main ()
13412 return pa_stream_is_corked ();
13414 return 0;
13416 _ACEOF
13417 if ac_fn_c_try_link "$LINENO"; then :
13418 ac_cv_lib_pulse_pa_stream_is_corked=yes
13419 else
13420 ac_cv_lib_pulse_pa_stream_is_corked=no
13422 rm -f core conftest.err conftest.$ac_objext \
13423 conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_lib_save_LIBS
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13427 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13428 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13430 else
13431 PULSE_LIBS=""
13434 else
13435 PULSE_LIBS=""
13438 done
13440 CPPFLAGS=$ac_save_CPPFLAGS
13441 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13442 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13445 if test -z "$PULSE_LIBS"; then :
13446 case "x$with_pulse" in
13447 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13448 xno) ;;
13449 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13450 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13451 esac
13452 enable_winepulse_drv=${enable_winepulse_drv:-no}
13455 if test "x$with_gstreamer" != "xno"
13456 then
13457 if ${GSTREAMER_CFLAGS:+false} :; then :
13458 if ${PKG_CONFIG+:} false; then :
13459 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13463 if ${GSTREAMER_LIBS:+false} :; then :
13464 if ${PKG_CONFIG+:} false; then :
13465 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13470 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13471 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13472 ac_save_CPPFLAGS=$CPPFLAGS
13473 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13474 ac_gst_incl=""
13475 for i in $GSTREAMER_CFLAGS
13477 case "$i" in
13478 -I*) ac_gst_incl="$ac_gst_incl $i";;
13479 esac
13480 done
13481 GSTREAMER_CFLAGS=$ac_gst_incl
13482 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13483 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13486 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13489 #include <gst/gst.h>
13491 main ()
13493 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13495 return 0;
13497 _ACEOF
13498 if ac_fn_c_try_compile "$LINENO"; then :
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13500 $as_echo "yes" >&6; }
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13502 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13503 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13504 $as_echo_n "(cached) " >&6
13505 else
13506 ac_check_lib_save_LIBS=$LIBS
13507 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13511 /* Override any GCC internal prototype to avoid an error.
13512 Use char because int might match the return type of a GCC
13513 builtin and then its argument prototype would still apply. */
13514 #ifdef __cplusplus
13515 extern "C"
13516 #endif
13517 char gst_pad_new ();
13519 main ()
13521 return gst_pad_new ();
13523 return 0;
13525 _ACEOF
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13528 else
13529 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13531 rm -f core conftest.err conftest.$ac_objext \
13532 conftest$ac_exeext conftest.$ac_ext
13533 LIBS=$ac_check_lib_save_LIBS
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13536 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13537 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13541 else
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13543 $as_echo "no" >&6; }
13544 ac_glib2_broken=yes
13545 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13551 CPPFLAGS=$ac_save_CPPFLAGS
13552 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13553 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13556 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 :
13557 case "x$with_gstreamer" in
13558 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13559 xno) ;;
13560 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13561 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13562 esac
13565 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13567 ALSA_LIBS=""
13569 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13570 then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13572 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13573 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13574 $as_echo_n "(cached) " >&6
13575 else
13576 ac_check_lib_save_LIBS=$LIBS
13577 LIBS="-lasound $LIBS"
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13584 #ifdef __cplusplus
13585 extern "C"
13586 #endif
13587 char snd_pcm_hw_params_get_access_mask ();
13589 main ()
13591 return snd_pcm_hw_params_get_access_mask ();
13593 return 0;
13595 _ACEOF
13596 if ac_fn_c_try_link "$LINENO"; then :
13597 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13598 else
13599 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13601 rm -f core conftest.err conftest.$ac_objext \
13602 conftest$ac_exeext conftest.$ac_ext
13603 LIBS=$ac_check_lib_save_LIBS
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13606 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13607 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13610 #ifdef HAVE_ALSA_ASOUNDLIB_H
13611 #include <alsa/asoundlib.h>
13612 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13613 #include <sys/asoundlib.h>
13614 #endif
13616 main ()
13618 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13620 return 0;
13622 _ACEOF
13623 if ac_fn_c_try_compile "$LINENO"; then :
13624 ALSA_LIBS="-lasound"
13626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13630 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13632 if test "x$with_oss" != xno
13633 then
13634 ac_save_CPPFLAGS="$CPPFLAGS"
13635 if test -f /etc/oss.conf
13636 then
13637 . /etc/oss.conf
13639 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13640 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13641 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13642 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13643 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13645 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13647 cat >>confdefs.h <<_ACEOF
13648 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13649 _ACEOF
13651 OSS4_CFLAGS="$ac_oss_incl"
13658 CPPFLAGS="$ac_save_CPPFLAGS"
13660 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13661 case "x$with_oss" in
13662 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13663 xno) ;;
13664 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13665 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13666 esac
13667 enable_wineoss_drv=${enable_wineoss_drv:-no}
13670 if test "x$with_udev" != "xno"
13671 then
13672 if ${UDEV_CFLAGS:+false} :; then :
13673 if ${PKG_CONFIG+:} false; then :
13674 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13678 if ${UDEV_LIBS:+false} :; then :
13679 if ${PKG_CONFIG+:} false; then :
13680 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13684 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13687 ac_save_CPPFLAGS=$CPPFLAGS
13688 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13689 for ac_header in libudev.h
13690 do :
13691 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13692 if test "x$ac_cv_header_libudev_h" = xyes; then :
13693 cat >>confdefs.h <<_ACEOF
13694 #define HAVE_LIBUDEV_H 1
13695 _ACEOF
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13697 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13698 if ${ac_cv_lib_udev_udev_new+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 ac_check_lib_save_LIBS=$LIBS
13702 LIBS="-ludev $UDEV_LIBS $LIBS"
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13706 /* Override any GCC internal prototype to avoid an error.
13707 Use char because int might match the return type of a GCC
13708 builtin and then its argument prototype would still apply. */
13709 #ifdef __cplusplus
13710 extern "C"
13711 #endif
13712 char udev_new ();
13714 main ()
13716 return udev_new ();
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"; then :
13722 ac_cv_lib_udev_udev_new=yes
13723 else
13724 ac_cv_lib_udev_udev_new=no
13726 rm -f core conftest.err conftest.$ac_objext \
13727 conftest$ac_exeext conftest.$ac_ext
13728 LIBS=$ac_check_lib_save_LIBS
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13731 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13732 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13734 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13736 else
13737 UDEV_LIBS=""
13740 else
13741 UDEV_LIBS=""
13744 done
13746 CPPFLAGS=$ac_save_CPPFLAGS
13747 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13748 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13751 if test "x$UDEV_LIBS" = "x"; then :
13752 case "x$with_udev" in
13753 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13754 xno) ;;
13755 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13756 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13757 esac
13761 if test "x$with_sdl" != "xno"
13762 then
13763 if ${SDL2_CFLAGS:+false} :; then :
13764 if ${PKG_CONFIG+:} false; then :
13765 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13769 if ${SDL2_LIBS:+false} :; then :
13770 if ${PKG_CONFIG+:} false; then :
13771 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13775 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13776 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13777 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13778 ac_save_CPPFLAGS=$CPPFLAGS
13779 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13780 for ac_header in SDL2/SDL.h
13781 do :
13782 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13783 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13784 cat >>confdefs.h <<_ACEOF
13785 #define HAVE_SDL2_SDL_H 1
13786 _ACEOF
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13788 $as_echo_n "checking for -lSDL2... " >&6; }
13789 if ${ac_cv_lib_soname_SDL2+:} false; then :
13790 $as_echo_n "(cached) " >&6
13791 else
13792 ac_check_soname_save_LIBS=$LIBS
13793 LIBS="-lSDL2 $LIBS"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13797 /* Override any GCC internal prototype to avoid an error.
13798 Use char because int might match the return type of a GCC
13799 builtin and then its argument prototype would still apply. */
13800 #ifdef __cplusplus
13801 extern "C"
13802 #endif
13803 char SDL_Init ();
13805 main ()
13807 return SDL_Init ();
13809 return 0;
13811 _ACEOF
13812 if ac_fn_c_try_link "$LINENO"; then :
13813 case "$LIBEXT" in
13814 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13815 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'` ;;
13816 *) 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'`
13817 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13818 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13819 fi ;;
13820 esac
13822 rm -f core conftest.err conftest.$ac_objext \
13823 conftest$ac_exeext conftest.$ac_ext
13824 LIBS=$ac_check_soname_save_LIBS
13826 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13828 $as_echo "not found" >&6; }
13830 else
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13832 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13834 cat >>confdefs.h <<_ACEOF
13835 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13836 _ACEOF
13842 done
13844 CPPFLAGS=$ac_save_CPPFLAGS
13845 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13846 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13849 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13850 case "x$with_sdl" in
13851 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13852 xno) ;;
13853 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13854 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13855 esac
13859 if test "x$with_capi" != "xno"
13860 then
13861 if ${CAPI20_CFLAGS:+false} :; then :
13862 if ${PKG_CONFIG+:} false; then :
13863 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13867 if ${CAPI20_LIBS:+false} :; then :
13868 if ${PKG_CONFIG+:} false; then :
13869 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13874 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13875 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13876 ac_save_CPPFLAGS=$CPPFLAGS
13877 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13878 for ac_header in capi20.h linux/capi.h
13879 do :
13880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13881 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13884 cat >>confdefs.h <<_ACEOF
13885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13886 _ACEOF
13890 done
13892 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13893 then
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13895 $as_echo_n "checking for -lcapi20... " >&6; }
13896 if ${ac_cv_lib_soname_capi20+:} false; then :
13897 $as_echo_n "(cached) " >&6
13898 else
13899 ac_check_soname_save_LIBS=$LIBS
13900 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13907 #ifdef __cplusplus
13908 extern "C"
13909 #endif
13910 char capi20_register ();
13912 main ()
13914 return capi20_register ();
13916 return 0;
13918 _ACEOF
13919 if ac_fn_c_try_link "$LINENO"; then :
13920 case "$LIBEXT" in
13921 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13922 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'` ;;
13923 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13924 if ${ac_cv_lib_soname_capi20:+false} :; then :
13925 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13926 fi ;;
13927 esac
13929 rm -f core conftest.err conftest.$ac_objext \
13930 conftest$ac_exeext conftest.$ac_ext
13931 LIBS=$ac_check_soname_save_LIBS
13933 if ${ac_cv_lib_soname_capi20:+false} :; then :
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13935 $as_echo "not found" >&6; }
13937 else
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13939 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13941 cat >>confdefs.h <<_ACEOF
13942 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13943 _ACEOF
13948 CPPFLAGS=$ac_save_CPPFLAGS
13949 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13950 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13953 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13954 case "x$with_capi" in
13955 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13956 xno) ;;
13957 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13958 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13959 esac
13963 if test "x$with_cups" != "xno"
13964 then
13965 if ${CUPS_CFLAGS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13970 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13971 if ${CUPS_LIBS:+false} :; then :
13972 if ${PKG_CONFIG+:} false; then :
13973 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13976 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13977 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13978 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13979 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13980 ac_save_CPPFLAGS=$CPPFLAGS
13981 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13982 for ac_header in cups/cups.h cups/ppd.h
13983 do :
13984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13985 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13987 cat >>confdefs.h <<_ACEOF
13988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13989 _ACEOF
13993 done
13995 if test "$ac_cv_header_cups_cups_h" = "yes"
13996 then
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13998 $as_echo_n "checking for -lcups... " >&6; }
13999 if ${ac_cv_lib_soname_cups+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_soname_save_LIBS=$LIBS
14003 LIBS="-lcups $CUPS_LIBS $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char cupsGetDefault ();
14015 main ()
14017 return cupsGetDefault ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 case "$LIBEXT" in
14024 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14025 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'` ;;
14026 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14027 if ${ac_cv_lib_soname_cups:+false} :; then :
14028 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14029 fi ;;
14030 esac
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS=$ac_check_soname_save_LIBS
14036 if ${ac_cv_lib_soname_cups:+false} :; then :
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14038 $as_echo "not found" >&6; }
14039 CUPS_LIBS=""
14040 else
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14042 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14044 cat >>confdefs.h <<_ACEOF
14045 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14046 _ACEOF
14050 else
14051 CUPS_CFLAGS=""
14052 CUPS_LIBS=""
14054 CPPFLAGS=$ac_save_CPPFLAGS
14055 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14056 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14059 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14060 case "x$with_cups" in
14061 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14062 xno) ;;
14063 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14064 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14065 esac
14069 if test "x$with_fontconfig" != "xno"
14070 then
14071 if ${FONTCONFIG_CFLAGS:+false} :; then :
14072 if ${PKG_CONFIG+:} false; then :
14073 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14076 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14077 if ${FONTCONFIG_LIBS:+false} :; then :
14078 if ${PKG_CONFIG+:} false; then :
14079 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14082 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14084 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14085 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14086 ac_save_CPPFLAGS=$CPPFLAGS
14087 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14088 for ac_header in fontconfig/fontconfig.h
14089 do :
14090 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14091 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14092 cat >>confdefs.h <<_ACEOF
14093 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14094 _ACEOF
14098 done
14100 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14101 then
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14103 $as_echo_n "checking for -lfontconfig... " >&6; }
14104 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 ac_check_soname_save_LIBS=$LIBS
14108 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14112 /* Override any GCC internal prototype to avoid an error.
14113 Use char because int might match the return type of a GCC
14114 builtin and then its argument prototype would still apply. */
14115 #ifdef __cplusplus
14116 extern "C"
14117 #endif
14118 char FcInit ();
14120 main ()
14122 return FcInit ();
14124 return 0;
14126 _ACEOF
14127 if ac_fn_c_try_link "$LINENO"; then :
14128 case "$LIBEXT" in
14129 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14130 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'` ;;
14131 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14132 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14133 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14134 fi ;;
14135 esac
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 LIBS=$ac_check_soname_save_LIBS
14141 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14143 $as_echo "not found" >&6; }
14144 FONTCONFIG_CFLAGS=""
14145 else
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14147 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14149 cat >>confdefs.h <<_ACEOF
14150 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14151 _ACEOF
14155 else
14156 FONTCONFIG_CFLAGS=""
14158 CPPFLAGS=$ac_save_CPPFLAGS
14159 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14160 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14163 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14164 case "x$with_fontconfig" in
14165 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14166 xno) ;;
14167 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14168 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14169 esac
14173 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14174 then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14176 $as_echo_n "checking for -lgsm... " >&6; }
14177 if ${ac_cv_lib_soname_gsm+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_check_soname_save_LIBS=$LIBS
14181 LIBS="-lgsm $LIBS"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14188 #ifdef __cplusplus
14189 extern "C"
14190 #endif
14191 char gsm_create ();
14193 main ()
14195 return gsm_create ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 case "$LIBEXT" in
14202 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14203 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'` ;;
14204 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14205 if ${ac_cv_lib_soname_gsm:+false} :; then :
14206 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14207 fi ;;
14208 esac
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14212 LIBS=$ac_check_soname_save_LIBS
14214 if ${ac_cv_lib_soname_gsm:+false} :; then :
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14216 $as_echo "not found" >&6; }
14218 else
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14220 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14222 cat >>confdefs.h <<_ACEOF
14223 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14224 _ACEOF
14229 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14230 case "x$with_gsm" in
14231 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14232 xno) ;;
14233 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14234 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14235 esac
14239 if test "x$with_krb5" != "xno"
14240 then
14241 if ${KRB5_CFLAGS:+false} :; then :
14242 if ${PKG_CONFIG+:} false; then :
14243 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14246 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14247 if ${KRB5_LIBS:+false} :; then :
14248 if ${PKG_CONFIG+:} false; then :
14249 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14252 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14254 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14255 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14256 ac_save_CPPFLAGS=$CPPFLAGS
14257 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14258 for ac_header in krb5/krb5.h
14259 do :
14260 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14261 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14262 cat >>confdefs.h <<_ACEOF
14263 #define HAVE_KRB5_KRB5_H 1
14264 _ACEOF
14268 done
14270 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14271 then
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14273 $as_echo_n "checking for -lkrb5... " >&6; }
14274 if ${ac_cv_lib_soname_krb5+:} false; then :
14275 $as_echo_n "(cached) " >&6
14276 else
14277 ac_check_soname_save_LIBS=$LIBS
14278 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14285 #ifdef __cplusplus
14286 extern "C"
14287 #endif
14288 char krb5_is_config_principal ();
14290 main ()
14292 return krb5_is_config_principal ();
14294 return 0;
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 case "$LIBEXT" in
14299 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14300 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'` ;;
14301 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14302 if ${ac_cv_lib_soname_krb5:+false} :; then :
14303 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14304 fi ;;
14305 esac
14307 rm -f core conftest.err conftest.$ac_objext \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_soname_save_LIBS
14311 if ${ac_cv_lib_soname_krb5:+false} :; then :
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14313 $as_echo "not found" >&6; }
14314 KRB5_CFLAGS=""
14315 else
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14317 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14319 cat >>confdefs.h <<_ACEOF
14320 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14321 _ACEOF
14325 else
14326 KRB5_CFLAGS=""
14328 CPPFLAGS=$ac_save_CPPFLAGS
14329 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14330 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14332 else
14333 with_gssapi=${with_gssapi:-no}
14335 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14336 case "x$with_krb5" in
14337 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14338 xno) ;;
14339 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14340 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14341 esac
14345 if test "x$with_gssapi" != "xno"
14346 then
14347 if ${GSSAPI_CFLAGS:+false} :; then :
14348 if ${PKG_CONFIG+:} false; then :
14349 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14352 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14353 if ${GSSAPI_LIBS:+false} :; then :
14354 if ${PKG_CONFIG+:} false; then :
14355 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14358 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14360 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14361 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14362 ac_save_CPPFLAGS=$CPPFLAGS
14363 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14364 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14365 do :
14366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14367 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14369 cat >>confdefs.h <<_ACEOF
14370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14371 _ACEOF
14375 done
14377 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14378 then
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14380 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14381 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14382 $as_echo_n "(cached) " >&6
14383 else
14384 ac_check_soname_save_LIBS=$LIBS
14385 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14389 /* Override any GCC internal prototype to avoid an error.
14390 Use char because int might match the return type of a GCC
14391 builtin and then its argument prototype would still apply. */
14392 #ifdef __cplusplus
14393 extern "C"
14394 #endif
14395 char gss_init_sec_context ();
14397 main ()
14399 return gss_init_sec_context ();
14401 return 0;
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 case "$LIBEXT" in
14406 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14407 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'` ;;
14408 *) 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'`
14409 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14410 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14411 fi ;;
14412 esac
14414 rm -f core conftest.err conftest.$ac_objext \
14415 conftest$ac_exeext conftest.$ac_ext
14416 LIBS=$ac_check_soname_save_LIBS
14418 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14420 $as_echo "not found" >&6; }
14421 GSSAPI_CFLAGS=""
14422 else
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14424 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14426 cat >>confdefs.h <<_ACEOF
14427 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14428 _ACEOF
14432 else
14433 GSSAPI_CFLAGS=""
14435 CPPFLAGS=$ac_save_CPPFLAGS
14436 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14437 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14440 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14441 case "x$with_gssapi" in
14442 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14443 xno) ;;
14444 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14445 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14446 esac
14450 if test "x$with_jpeg" != "xno"
14451 then
14452 if ${JPEG_CFLAGS:+false} :; then :
14453 if ${PKG_CONFIG+:} false; then :
14454 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14458 if ${JPEG_LIBS:+false} :; then :
14459 if ${PKG_CONFIG+:} false; then :
14460 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14465 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14466 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14467 ac_save_CPPFLAGS=$CPPFLAGS
14468 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14469 for ac_header in jpeglib.h
14470 do :
14471 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14472 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14473 cat >>confdefs.h <<_ACEOF
14474 #define HAVE_JPEGLIB_H 1
14475 _ACEOF
14479 done
14481 if test "$ac_cv_header_jpeglib_h" = "yes"
14482 then
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14484 $as_echo_n "checking for -ljpeg... " >&6; }
14485 if ${ac_cv_lib_soname_jpeg+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_check_soname_save_LIBS=$LIBS
14489 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14496 #ifdef __cplusplus
14497 extern "C"
14498 #endif
14499 char jpeg_start_decompress ();
14501 main ()
14503 return jpeg_start_decompress ();
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 case "$LIBEXT" in
14510 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14511 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'` ;;
14512 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14513 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14514 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14515 fi ;;
14516 esac
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_soname_save_LIBS
14522 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14524 $as_echo "not found" >&6; }
14525 JPEG_CFLAGS=""
14526 else
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14528 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14530 cat >>confdefs.h <<_ACEOF
14531 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14532 _ACEOF
14536 else
14537 JPEG_CFLAGS=""
14539 CPPFLAGS=$ac_save_CPPFLAGS
14540 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14541 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14544 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14545 case "x$with_jpeg" in
14546 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14547 xno) ;;
14548 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14549 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14550 esac
14554 if test "x$with_png" != "xno"
14555 then
14556 if ${PNG_CFLAGS:+false} :; then :
14557 if ${PKG_CONFIG+:} false; then :
14558 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14561 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14562 if ${PNG_LIBS:+false} :; then :
14563 if ${PKG_CONFIG+:} false; then :
14564 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14567 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14569 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14570 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14571 ac_save_CPPFLAGS=$CPPFLAGS
14572 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14573 for ac_header in png.h
14574 do :
14575 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14576 if test "x$ac_cv_header_png_h" = xyes; then :
14577 cat >>confdefs.h <<_ACEOF
14578 #define HAVE_PNG_H 1
14579 _ACEOF
14583 done
14585 if test "$ac_cv_header_png_h" = "yes"
14586 then
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14588 $as_echo_n "checking for -lpng... " >&6; }
14589 if ${ac_cv_lib_soname_png+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 ac_check_soname_save_LIBS=$LIBS
14593 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14600 #ifdef __cplusplus
14601 extern "C"
14602 #endif
14603 char png_create_read_struct ();
14605 main ()
14607 return png_create_read_struct ();
14609 return 0;
14611 _ACEOF
14612 if ac_fn_c_try_link "$LINENO"; then :
14613 case "$LIBEXT" in
14614 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14615 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'` ;;
14616 *) 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'`
14617 if ${ac_cv_lib_soname_png:+false} :; then :
14618 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14619 fi ;;
14620 esac
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 LIBS=$ac_check_soname_save_LIBS
14626 if ${ac_cv_lib_soname_png:+false} :; then :
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14628 $as_echo "not found" >&6; }
14629 PNG_CFLAGS=""
14630 else
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14632 $as_echo "$ac_cv_lib_soname_png" >&6; }
14634 cat >>confdefs.h <<_ACEOF
14635 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14636 _ACEOF
14640 else
14641 PNG_CFLAGS=""
14643 CPPFLAGS=$ac_save_CPPFLAGS
14644 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14645 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14648 if test "x$ac_cv_lib_soname_png" = "x"; then :
14649 case "x$with_png" in
14650 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14651 xno) ;;
14652 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14653 This is an error since --with-png was requested." "$LINENO" 5 ;;
14654 esac
14658 if test "x$with_tiff" != "xno"
14659 then
14660 if ${TIFF_CFLAGS:+false} :; then :
14661 if ${PKG_CONFIG+:} false; then :
14662 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14666 if ${TIFF_LIBS:+false} :; then :
14667 if ${PKG_CONFIG+:} false; then :
14668 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14673 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14674 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14675 ac_save_CPPFLAGS=$CPPFLAGS
14676 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14677 for ac_header in tiffio.h
14678 do :
14679 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14680 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14681 cat >>confdefs.h <<_ACEOF
14682 #define HAVE_TIFFIO_H 1
14683 _ACEOF
14687 done
14689 if test "$ac_cv_header_tiffio_h" = "yes"
14690 then
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14692 $as_echo_n "checking for -ltiff... " >&6; }
14693 if ${ac_cv_lib_soname_tiff+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695 else
14696 ac_check_soname_save_LIBS=$LIBS
14697 LIBS="-ltiff $TIFF_LIBS $LIBS"
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 #ifdef __cplusplus
14705 extern "C"
14706 #endif
14707 char TIFFClientOpen ();
14709 main ()
14711 return TIFFClientOpen ();
14713 return 0;
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"; then :
14717 case "$LIBEXT" in
14718 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14719 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'` ;;
14720 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14721 if ${ac_cv_lib_soname_tiff:+false} :; then :
14722 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14723 fi ;;
14724 esac
14726 rm -f core conftest.err conftest.$ac_objext \
14727 conftest$ac_exeext conftest.$ac_ext
14728 LIBS=$ac_check_soname_save_LIBS
14730 if ${ac_cv_lib_soname_tiff:+false} :; then :
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14732 $as_echo "not found" >&6; }
14734 else
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14736 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14738 cat >>confdefs.h <<_ACEOF
14739 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14740 _ACEOF
14745 CPPFLAGS=$ac_save_CPPFLAGS
14746 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14747 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14750 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14751 case "x$with_tiff" in
14752 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14753 xno) ;;
14754 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14755 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14756 esac
14760 if test "x$with_mpg123" != "xno"
14761 then
14762 if ${MPG123_CFLAGS:+false} :; then :
14763 if ${PKG_CONFIG+:} false; then :
14764 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14768 if ${MPG123_LIBS:+false} :; then :
14769 if ${PKG_CONFIG+:} false; then :
14770 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14774 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14775 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14776 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14777 ac_save_CPPFLAGS=$CPPFLAGS
14778 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14779 for ac_header in mpg123.h
14780 do :
14781 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14782 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14783 cat >>confdefs.h <<_ACEOF
14784 #define HAVE_MPG123_H 1
14785 _ACEOF
14789 done
14791 if test "$ac_cv_header_mpg123_h" = "yes"
14792 then
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14794 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14795 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 ac_check_lib_save_LIBS=$LIBS
14799 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14803 /* Override any GCC internal prototype to avoid an error.
14804 Use char because int might match the return type of a GCC
14805 builtin and then its argument prototype would still apply. */
14806 #ifdef __cplusplus
14807 extern "C"
14808 #endif
14809 char mpg123_feed ();
14811 main ()
14813 return mpg123_feed ();
14815 return 0;
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_lib_mpg123_mpg123_feed=yes
14820 else
14821 ac_cv_lib_mpg123_mpg123_feed=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 LIBS=$ac_check_lib_save_LIBS
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14828 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14829 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14831 else
14832 MPG123_LIBS=""
14835 else
14836 MPG123_CFLAGS=""
14837 MPG123_LIBS=""
14839 CPPFLAGS=$ac_save_CPPFLAGS
14840 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14841 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14844 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14845 case "x$with_mpg123" in
14846 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14847 xno) ;;
14848 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14849 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14850 esac
14851 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14853 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14855 if test "$ac_cv_header_AL_al_h" = "yes"
14856 then
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14858 $as_echo_n "checking for -lopenal... " >&6; }
14859 if ${ac_cv_lib_soname_openal+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 ac_check_soname_save_LIBS=$LIBS
14863 LIBS="-lopenal $LIBS"
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14867 /* Override any GCC internal prototype to avoid an error.
14868 Use char because int might match the return type of a GCC
14869 builtin and then its argument prototype would still apply. */
14870 #ifdef __cplusplus
14871 extern "C"
14872 #endif
14873 char alGetSource3i ();
14875 main ()
14877 return alGetSource3i ();
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 case "$LIBEXT" in
14884 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14885 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'` ;;
14886 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14887 if ${ac_cv_lib_soname_openal:+false} :; then :
14888 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14889 fi ;;
14890 esac
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14894 LIBS=$ac_check_soname_save_LIBS
14896 if ${ac_cv_lib_soname_openal:+false} :; then :
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14898 $as_echo "not found" >&6; }
14900 else
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14902 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14904 cat >>confdefs.h <<_ACEOF
14905 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14906 _ACEOF
14908 OPENAL_LIBS="-lopenal"
14910 ac_cv_lib_openal=yes
14912 cat >>confdefs.h <<_ACEOF
14913 #define HAVE_OPENAL 1
14914 _ACEOF
14918 if test "x$ac_cv_lib_openal" != xyes; then :
14919 case "x$with_openal" in
14920 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14921 xno) ;;
14922 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14923 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14924 esac
14925 enable_openal32=${enable_openal32:-no}
14928 if test "x$ac_cv_lib_openal" = xyes
14929 then
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14931 $as_echo_n "checking for openal-soft... " >&6; }
14932 if ${ac_cv_have_openalsoft+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14937 #include <AL/al.h>
14938 #include <AL/alc.h>
14939 #include <AL/alext.h>
14940 LPALCRENDERSAMPLESSOFT x;
14942 main ()
14946 return 0;
14948 _ACEOF
14949 if ac_fn_c_try_compile "$LINENO"; then :
14950 ac_cv_have_openalsoft=yes
14951 else
14952 ac_cv_have_openalsoft=no
14954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14957 $as_echo "$ac_cv_have_openalsoft" >&6; }
14959 if test "x$ac_cv_have_openalsoft" != xyes
14960 then
14961 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14962 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14963 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14964 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14965 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14966 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14967 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14968 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14969 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14970 enable_xapofx1_1=${enable_xapofx1_1:-no}
14971 enable_xapofx1_2=${enable_xapofx1_2:-no}
14972 enable_xapofx1_3=${enable_xapofx1_3:-no}
14973 enable_xapofx1_4=${enable_xapofx1_4:-no}
14974 enable_xapofx1_5=${enable_xapofx1_5:-no}
14975 enable_xaudio2_0=${enable_xaudio2_0:-no}
14976 enable_xaudio2_1=${enable_xaudio2_1:-no}
14977 enable_xaudio2_2=${enable_xaudio2_2:-no}
14978 enable_xaudio2_3=${enable_xaudio2_3:-no}
14979 enable_xaudio2_4=${enable_xaudio2_4:-no}
14980 enable_xaudio2_5=${enable_xaudio2_5:-no}
14981 enable_xaudio2_6=${enable_xaudio2_6:-no}
14982 enable_xaudio2_7=${enable_xaudio2_7:-no}
14983 enable_xaudio2_8=${enable_xaudio2_8:-no}
14984 enable_xaudio2_9=${enable_xaudio2_9:-no}
14987 if test "$ac_cv_header_kstat_h" = "yes"
14988 then
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14990 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14991 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 ac_check_lib_save_LIBS=$LIBS
14995 LIBS="-lkstat $LIBS"
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14999 /* Override any GCC internal prototype to avoid an error.
15000 Use char because int might match the return type of a GCC
15001 builtin and then its argument prototype would still apply. */
15002 #ifdef __cplusplus
15003 extern "C"
15004 #endif
15005 char kstat_open ();
15007 main ()
15009 return kstat_open ();
15011 return 0;
15013 _ACEOF
15014 if ac_fn_c_try_link "$LINENO"; then :
15015 ac_cv_lib_kstat_kstat_open=yes
15016 else
15017 ac_cv_lib_kstat_kstat_open=no
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15021 LIBS=$ac_check_lib_save_LIBS
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15024 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15025 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15027 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15029 KSTAT_LIBS="-lkstat"
15035 if test "$ac_cv_header_libprocstat_h" = "yes"
15036 then
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15038 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15039 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15040 $as_echo_n "(cached) " >&6
15041 else
15042 ac_check_lib_save_LIBS=$LIBS
15043 LIBS="-lprocstat $LIBS"
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15050 #ifdef __cplusplus
15051 extern "C"
15052 #endif
15053 char procstat_open_sysctl ();
15055 main ()
15057 return procstat_open_sysctl ();
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_lib_procstat_procstat_open_sysctl=yes
15064 else
15065 ac_cv_lib_procstat_procstat_open_sysctl=no
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15069 LIBS=$ac_check_lib_save_LIBS
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15072 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15073 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15075 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15077 PROCSTAT_LIBS="-lprocstat"
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15084 $as_echo_n "checking for -lodbc... " >&6; }
15085 if ${ac_cv_lib_soname_odbc+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_check_soname_save_LIBS=$LIBS
15089 LIBS="-lodbc $LIBS"
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15093 /* Override any GCC internal prototype to avoid an error.
15094 Use char because int might match the return type of a GCC
15095 builtin and then its argument prototype would still apply. */
15096 #ifdef __cplusplus
15097 extern "C"
15098 #endif
15099 char SQLConnect ();
15101 main ()
15103 return SQLConnect ();
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"; then :
15109 case "$LIBEXT" in
15110 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15111 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'` ;;
15112 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15113 if ${ac_cv_lib_soname_odbc:+false} :; then :
15114 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15115 fi ;;
15116 esac
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15120 LIBS=$ac_check_soname_save_LIBS
15122 if ${ac_cv_lib_soname_odbc:+false} :; then :
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15124 $as_echo "not found" >&6; }
15125 cat >>confdefs.h <<_ACEOF
15126 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15127 _ACEOF
15129 else
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15131 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15133 cat >>confdefs.h <<_ACEOF
15134 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15135 _ACEOF
15140 if test "x$with_netapi" != "xno"
15141 then
15142 if ${NETAPI_CFLAGS:+false} :; then :
15143 if ${PKG_CONFIG+:} false; then :
15144 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15148 if ${NETAPI_LIBS:+false} :; then :
15149 if ${PKG_CONFIG+:} false; then :
15150 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15155 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15156 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15157 ac_save_CPPFLAGS=$CPPFLAGS
15158 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15160 $as_echo_n "checking for -lnetapi... " >&6; }
15161 if ${ac_cv_lib_soname_netapi+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 ac_check_soname_save_LIBS=$LIBS
15165 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15172 #ifdef __cplusplus
15173 extern "C"
15174 #endif
15175 char libnetapi_init ();
15177 main ()
15179 return libnetapi_init ();
15181 return 0;
15183 _ACEOF
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 case "$LIBEXT" in
15186 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15187 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'` ;;
15188 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15189 if ${ac_cv_lib_soname_netapi:+false} :; then :
15190 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15191 fi ;;
15192 esac
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15196 LIBS=$ac_check_soname_save_LIBS
15198 if ${ac_cv_lib_soname_netapi:+false} :; then :
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15200 $as_echo "not found" >&6; }
15201 cat >>confdefs.h <<_ACEOF
15202 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15203 _ACEOF
15205 else
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15207 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15209 cat >>confdefs.h <<_ACEOF
15210 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15211 _ACEOF
15215 CPPFLAGS=$ac_save_CPPFLAGS
15216 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15217 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15221 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15222 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15223 then
15224 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15227 if test "x$with_vulkan" != "xno"
15228 then
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15230 $as_echo_n "checking for -lvulkan... " >&6; }
15231 if ${ac_cv_lib_soname_vulkan+:} false; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15234 ac_check_soname_save_LIBS=$LIBS
15235 LIBS="-lvulkan $LIBS"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 #ifdef __cplusplus
15243 extern "C"
15244 #endif
15245 char vkGetInstanceProcAddr ();
15247 main ()
15249 return vkGetInstanceProcAddr ();
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 case "$LIBEXT" in
15256 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15257 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'` ;;
15258 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15259 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15260 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15261 fi ;;
15262 esac
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 $as_echo "not found" >&6; }
15272 else
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15274 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15276 cat >>confdefs.h <<_ACEOF
15277 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15278 _ACEOF
15282 if test "x$ac_cv_lib_soname_vulkan" = "x"
15283 then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15285 $as_echo_n "checking for -lMoltenVK... " >&6; }
15286 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289 ac_check_soname_save_LIBS=$LIBS
15290 LIBS="-lMoltenVK $LIBS"
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15297 #ifdef __cplusplus
15298 extern "C"
15299 #endif
15300 char vkGetInstanceProcAddr ();
15302 main ()
15304 return vkGetInstanceProcAddr ();
15306 return 0;
15308 _ACEOF
15309 if ac_fn_c_try_link "$LINENO"; then :
15310 case "$LIBEXT" in
15311 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15312 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'` ;;
15313 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15314 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15315 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15316 fi ;;
15317 esac
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15321 LIBS=$ac_check_soname_save_LIBS
15323 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15325 $as_echo "not found" >&6; }
15327 else
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15329 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15331 cat >>confdefs.h <<_ACEOF
15332 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15333 _ACEOF
15339 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15340 case "x$with_vulkan" in
15341 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15342 xno) ;;
15343 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15344 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15345 esac
15349 if test "x$with_vkd3d" != "xno"
15350 then
15351 if ${VKD3D_CFLAGS:+false} :; then :
15352 if ${PKG_CONFIG+:} false; then :
15353 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15357 if ${VKD3D_LIBS:+false} :; then :
15358 if ${PKG_CONFIG+:} false; then :
15359 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15364 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15365 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15366 ac_save_CPPFLAGS=$CPPFLAGS
15367 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15369 $as_echo_n "checking for -lvkd3d... " >&6; }
15370 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 ac_check_soname_save_LIBS=$LIBS
15374 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15378 /* Override any GCC internal prototype to avoid an error.
15379 Use char because int might match the return type of a GCC
15380 builtin and then its argument prototype would still apply. */
15381 #ifdef __cplusplus
15382 extern "C"
15383 #endif
15384 char vkd3d_create_device ();
15386 main ()
15388 return vkd3d_create_device ();
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_link "$LINENO"; then :
15394 case "$LIBEXT" in
15395 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15396 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'` ;;
15397 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15398 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15399 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15400 fi ;;
15401 esac
15403 rm -f core conftest.err conftest.$ac_objext \
15404 conftest$ac_exeext conftest.$ac_ext
15405 LIBS=$ac_check_soname_save_LIBS
15407 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15409 $as_echo "not found" >&6; }
15411 else
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15413 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15415 cat >>confdefs.h <<_ACEOF
15416 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15417 _ACEOF
15421 CPPFLAGS=$ac_save_CPPFLAGS
15422 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15423 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15426 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15427 case "x$with_vkd3d" in
15428 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15429 xno) ;;
15430 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15431 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15432 esac
15435 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15438 EXTRACFLAGS=""
15440 if test "x${GCC}" = "xyes"
15441 then
15442 EXTRACFLAGS="-Wall -pipe"
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15445 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15446 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15447 $as_echo_n "(cached) " >&6
15448 else
15449 if test "$cross_compiling" = yes; then :
15450 ac_cv_c_gcc_strength_bug="no"
15451 else
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15454 int L[4] = {0,1,2,3};
15456 main ()
15458 static int Array[3];
15459 unsigned int B = 3;
15460 int i;
15461 for(i=0; i<B; i++) Array[i] = i - 3;
15462 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15463 L[i] = 4;
15464 return (Array[1] != -2 || L[2] != 3)
15466 return 0;
15468 _ACEOF
15469 if ac_fn_c_try_run "$LINENO"; then :
15470 ac_cv_c_gcc_strength_bug="no"
15471 else
15472 ac_cv_c_gcc_strength_bug="yes"
15474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15475 conftest.$ac_objext conftest.beam conftest.$ac_ext
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15480 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15481 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15482 then
15483 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15487 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15488 if ${ac_cv_cflags__fno_builtin+:} false; then :
15489 $as_echo_n "(cached) " >&6
15490 else
15491 ac_wine_try_cflags_saved=$CFLAGS
15492 CFLAGS="$CFLAGS -fno-builtin"
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15495 int main(int argc, char **argv) { return 0; }
15496 _ACEOF
15497 if ac_fn_c_try_link "$LINENO"; then :
15498 ac_cv_cflags__fno_builtin=yes
15499 else
15500 ac_cv_cflags__fno_builtin=no
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15504 CFLAGS=$ac_wine_try_cflags_saved
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15507 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15508 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15509 BUILTINFLAG="-fno-builtin"
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15513 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15514 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15515 $as_echo_n "(cached) " >&6
15516 else
15517 ac_wine_try_cflags_saved=$CFLAGS
15518 CFLAGS="$CFLAGS -fno-strict-aliasing"
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15521 int main(int argc, char **argv) { return 0; }
15522 _ACEOF
15523 if ac_fn_c_try_link "$LINENO"; then :
15524 ac_cv_cflags__fno_strict_aliasing=yes
15525 else
15526 ac_cv_cflags__fno_strict_aliasing=no
15528 rm -f core conftest.err conftest.$ac_objext \
15529 conftest$ac_exeext conftest.$ac_ext
15530 CFLAGS=$ac_wine_try_cflags_saved
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15533 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15534 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15535 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15538 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15539 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15540 $as_echo_n "(cached) " >&6
15541 else
15542 ac_wine_try_cflags_saved=$CFLAGS
15543 CFLAGS="$CFLAGS -fexcess-precision=standard"
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15546 int main(int argc, char **argv) { return 0; }
15547 _ACEOF
15548 if ac_fn_c_try_link "$LINENO"; then :
15549 ac_cv_cflags__fexcess_precision_standard=yes
15550 else
15551 ac_cv_cflags__fexcess_precision_standard=no
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15555 CFLAGS=$ac_wine_try_cflags_saved
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15558 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15559 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15560 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15563 saved_CFLAGS=$CFLAGS
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15565 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15566 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 ac_wine_try_cflags_saved=$CFLAGS
15570 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15573 int main(int argc, char **argv) { return 0; }
15574 _ACEOF
15575 if ac_fn_c_try_link "$LINENO"; then :
15576 ac_cv_cflags__Werror_unknown_warning_option=yes
15577 else
15578 ac_cv_cflags__Werror_unknown_warning_option=no
15580 rm -f core conftest.err conftest.$ac_objext \
15581 conftest$ac_exeext conftest.$ac_ext
15582 CFLAGS=$ac_wine_try_cflags_saved
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15585 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15586 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15587 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15590 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15591 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 ac_wine_try_cflags_saved=$CFLAGS
15595 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15598 int main(int argc, char **argv) { return 0; }
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 ac_cv_cflags__Wdeclaration_after_statement=yes
15602 else
15603 ac_cv_cflags__Wdeclaration_after_statement=no
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15607 CFLAGS=$ac_wine_try_cflags_saved
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15610 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15611 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15612 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15615 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15616 if ${ac_cv_cflags__Wempty_body+:} false; then :
15617 $as_echo_n "(cached) " >&6
15618 else
15619 ac_wine_try_cflags_saved=$CFLAGS
15620 CFLAGS="$CFLAGS -Wempty-body"
15621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15623 int main(int argc, char **argv) { return 0; }
15624 _ACEOF
15625 if ac_fn_c_try_link "$LINENO"; then :
15626 ac_cv_cflags__Wempty_body=yes
15627 else
15628 ac_cv_cflags__Wempty_body=no
15630 rm -f core conftest.err conftest.$ac_objext \
15631 conftest$ac_exeext conftest.$ac_ext
15632 CFLAGS=$ac_wine_try_cflags_saved
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15635 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15636 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15637 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15640 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15641 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 ac_wine_try_cflags_saved=$CFLAGS
15645 CFLAGS="$CFLAGS -Wignored-qualifiers"
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15648 int main(int argc, char **argv) { return 0; }
15649 _ACEOF
15650 if ac_fn_c_try_link "$LINENO"; then :
15651 ac_cv_cflags__Wignored_qualifiers=yes
15652 else
15653 ac_cv_cflags__Wignored_qualifiers=no
15655 rm -f core conftest.err conftest.$ac_objext \
15656 conftest$ac_exeext conftest.$ac_ext
15657 CFLAGS=$ac_wine_try_cflags_saved
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15660 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15661 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15662 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15665 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15666 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 ac_wine_try_cflags_saved=$CFLAGS
15670 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15673 int main(int argc, char **argv) { return 0; }
15674 _ACEOF
15675 if ac_fn_c_try_link "$LINENO"; then :
15676 ac_cv_cflags__Wpacked_not_aligned=yes
15677 else
15678 ac_cv_cflags__Wpacked_not_aligned=no
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 CFLAGS=$ac_wine_try_cflags_saved
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15685 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15686 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15687 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15690 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15691 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15692 $as_echo_n "(cached) " >&6
15693 else
15694 ac_wine_try_cflags_saved=$CFLAGS
15695 CFLAGS="$CFLAGS -Wpragma-pack"
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15698 int main(int argc, char **argv) { return 0; }
15699 _ACEOF
15700 if ac_fn_c_try_link "$LINENO"; then :
15701 ac_cv_cflags__Wpragma_pack=yes
15702 else
15703 ac_cv_cflags__Wpragma_pack=no
15705 rm -f core conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 CFLAGS=$ac_wine_try_cflags_saved
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15710 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15711 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15712 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15715 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15716 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 ac_wine_try_cflags_saved=$CFLAGS
15720 CFLAGS="$CFLAGS -Wshift-overflow=2"
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15723 int main(int argc, char **argv) { return 0; }
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 ac_cv_cflags__Wshift_overflow_2=yes
15727 else
15728 ac_cv_cflags__Wshift_overflow_2=no
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15732 CFLAGS=$ac_wine_try_cflags_saved
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15735 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15736 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15737 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15740 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15741 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15742 $as_echo_n "(cached) " >&6
15743 else
15744 ac_wine_try_cflags_saved=$CFLAGS
15745 CFLAGS="$CFLAGS -Wstrict-prototypes"
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15748 int main(int argc, char **argv) { return 0; }
15749 _ACEOF
15750 if ac_fn_c_try_link "$LINENO"; then :
15751 ac_cv_cflags__Wstrict_prototypes=yes
15752 else
15753 ac_cv_cflags__Wstrict_prototypes=no
15755 rm -f core conftest.err conftest.$ac_objext \
15756 conftest$ac_exeext conftest.$ac_ext
15757 CFLAGS=$ac_wine_try_cflags_saved
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15760 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15761 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15762 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15765 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15766 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15767 $as_echo_n "(cached) " >&6
15768 else
15769 ac_wine_try_cflags_saved=$CFLAGS
15770 CFLAGS="$CFLAGS -Wtype-limits"
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15773 int main(int argc, char **argv) { return 0; }
15774 _ACEOF
15775 if ac_fn_c_try_link "$LINENO"; then :
15776 ac_cv_cflags__Wtype_limits=yes
15777 else
15778 ac_cv_cflags__Wtype_limits=no
15780 rm -f core conftest.err conftest.$ac_objext \
15781 conftest$ac_exeext conftest.$ac_ext
15782 CFLAGS=$ac_wine_try_cflags_saved
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15785 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15786 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15787 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15790 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15791 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15794 ac_wine_try_cflags_saved=$CFLAGS
15795 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15798 int main(int argc, char **argv) { return 0; }
15799 _ACEOF
15800 if ac_fn_c_try_link "$LINENO"; then :
15801 ac_cv_cflags__Wunused_but_set_parameter=yes
15802 else
15803 ac_cv_cflags__Wunused_but_set_parameter=no
15805 rm -f core conftest.err conftest.$ac_objext \
15806 conftest$ac_exeext conftest.$ac_ext
15807 CFLAGS=$ac_wine_try_cflags_saved
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15810 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15811 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15812 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15815 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15816 if ${ac_cv_cflags__Wvla+:} false; then :
15817 $as_echo_n "(cached) " >&6
15818 else
15819 ac_wine_try_cflags_saved=$CFLAGS
15820 CFLAGS="$CFLAGS -Wvla"
15821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15823 int main(int argc, char **argv) { return 0; }
15824 _ACEOF
15825 if ac_fn_c_try_link "$LINENO"; then :
15826 ac_cv_cflags__Wvla=yes
15827 else
15828 ac_cv_cflags__Wvla=no
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832 CFLAGS=$ac_wine_try_cflags_saved
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15835 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15836 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15837 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15840 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15841 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15842 $as_echo_n "(cached) " >&6
15843 else
15844 ac_wine_try_cflags_saved=$CFLAGS
15845 CFLAGS="$CFLAGS -Wwrite-strings"
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848 int main(int argc, char **argv) { return 0; }
15849 _ACEOF
15850 if ac_fn_c_try_link "$LINENO"; then :
15851 ac_cv_cflags__Wwrite_strings=yes
15852 else
15853 ac_cv_cflags__Wwrite_strings=no
15855 rm -f core conftest.err conftest.$ac_objext \
15856 conftest$ac_exeext conftest.$ac_ext
15857 CFLAGS=$ac_wine_try_cflags_saved
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15860 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15861 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15862 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15866 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15867 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 ac_wine_try_cflags_saved=$CFLAGS
15871 CFLAGS="$CFLAGS -Wpointer-arith"
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15874 int main(int argc, char **argv) { return 0; }
15875 _ACEOF
15876 if ac_fn_c_try_link "$LINENO"; then :
15877 ac_cv_cflags__Wpointer_arith=yes
15878 else
15879 ac_cv_cflags__Wpointer_arith=no
15881 rm -f core conftest.err conftest.$ac_objext \
15882 conftest$ac_exeext conftest.$ac_ext
15883 CFLAGS=$ac_wine_try_cflags_saved
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15886 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15887 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15888 saved_string_h_CFLAGS=$CFLAGS
15889 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15891 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15892 if ${ac_cv_c_string_h_warnings+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15897 #include <string.h>
15899 main ()
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15907 ac_cv_c_string_h_warnings=no
15908 else
15909 ac_cv_c_string_h_warnings=yes
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15914 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15915 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15916 CFLAGS=$saved_string_h_CFLAGS
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15920 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15921 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15922 $as_echo_n "(cached) " >&6
15923 else
15924 ac_wine_try_cflags_saved=$CFLAGS
15925 CFLAGS="$CFLAGS -Wlogical-op"
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15928 int main(int argc, char **argv) { return 0; }
15929 _ACEOF
15930 if ac_fn_c_try_link "$LINENO"; then :
15931 ac_cv_cflags__Wlogical_op=yes
15932 else
15933 ac_cv_cflags__Wlogical_op=no
15935 rm -f core conftest.err conftest.$ac_objext \
15936 conftest$ac_exeext conftest.$ac_ext
15937 CFLAGS=$ac_wine_try_cflags_saved
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15940 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15941 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15942 saved_string_h_CFLAGS=$CFLAGS
15943 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15945 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15946 if ${ac_cv_c_logicalop_noisy+:} false; then :
15947 $as_echo_n "(cached) " >&6
15948 else
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15951 #include <string.h>
15952 char*f(const char *h,char n) {return strchr(h,n);}
15954 main ()
15958 return 0;
15960 _ACEOF
15961 if ac_fn_c_try_compile "$LINENO"; then :
15962 ac_cv_c_logicalop_noisy=no
15963 else
15964 ac_cv_c_logicalop_noisy=yes
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15969 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15970 CFLAGS=$saved_string_h_CFLAGS
15971 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15974 CFLAGS=$saved_CFLAGS
15976 for ac_flag in $CFLAGS; do
15977 case $ac_flag in
15978 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15979 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15980 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15981 $as_echo_n "(cached) " >&6
15982 else
15983 ac_wine_try_cflags_saved=$CFLAGS
15984 CFLAGS="$CFLAGS -gdwarf-2"
15985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15986 /* end confdefs.h. */
15987 int main(int argc, char **argv) { return 0; }
15988 _ACEOF
15989 if ac_fn_c_try_link "$LINENO"; then :
15990 ac_cv_cflags__gdwarf_2=yes
15991 else
15992 ac_cv_cflags__gdwarf_2=no
15994 rm -f core conftest.err conftest.$ac_objext \
15995 conftest$ac_exeext conftest.$ac_ext
15996 CFLAGS=$ac_wine_try_cflags_saved
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15999 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16000 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16001 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16004 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16005 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16006 $as_echo_n "(cached) " >&6
16007 else
16008 ac_wine_try_cflags_saved=$CFLAGS
16009 CFLAGS="$CFLAGS -gstrict-dwarf"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 int main(int argc, char **argv) { return 0; }
16013 _ACEOF
16014 if ac_fn_c_try_link "$LINENO"; then :
16015 ac_cv_cflags__gstrict_dwarf=yes
16016 else
16017 ac_cv_cflags__gstrict_dwarf=no
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021 CFLAGS=$ac_wine_try_cflags_saved
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16024 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16025 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16026 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16027 fi ;;
16028 esac
16029 done
16031 case $host_cpu in
16032 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16033 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16034 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16035 $as_echo_n "(cached) " >&6
16036 else
16037 ac_wine_try_cflags_saved=$CFLAGS
16038 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16041 int main(int argc, char **argv) { return 0; }
16042 _ACEOF
16043 if ac_fn_c_try_link "$LINENO"; then :
16044 ac_cv_cflags__fno_omit_frame_pointer=yes
16045 else
16046 ac_cv_cflags__fno_omit_frame_pointer=no
16048 rm -f core conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext conftest.$ac_ext
16050 CFLAGS=$ac_wine_try_cflags_saved
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16053 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16054 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16055 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16056 fi ;;
16057 esac
16059 case $host in
16060 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16061 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16062 if ${ac_cv_cflags__Wno_format+:} false; then :
16063 $as_echo_n "(cached) " >&6
16064 else
16065 ac_wine_try_cflags_saved=$CFLAGS
16066 CFLAGS="$CFLAGS -Wno-format"
16067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16068 /* end confdefs.h. */
16069 int main(int argc, char **argv) { return 0; }
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"; then :
16072 ac_cv_cflags__Wno_format=yes
16073 else
16074 ac_cv_cflags__Wno_format=no
16076 rm -f core conftest.err conftest.$ac_objext \
16077 conftest$ac_exeext conftest.$ac_ext
16078 CFLAGS=$ac_wine_try_cflags_saved
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16081 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16082 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16083 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16084 fi ;;
16085 esac
16087 if test "x$enable_maintainer_mode" = "xyes"
16088 then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16090 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16091 if ${ac_cv_cflags__Werror+:} false; then :
16092 $as_echo_n "(cached) " >&6
16093 else
16094 ac_wine_try_cflags_saved=$CFLAGS
16095 CFLAGS="$CFLAGS -Werror"
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16098 int main(int argc, char **argv) { return 0; }
16099 _ACEOF
16100 if ac_fn_c_try_link "$LINENO"; then :
16101 ac_cv_cflags__Werror=yes
16102 else
16103 ac_cv_cflags__Werror=no
16105 rm -f core conftest.err conftest.$ac_objext \
16106 conftest$ac_exeext conftest.$ac_ext
16107 CFLAGS=$ac_wine_try_cflags_saved
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16110 $as_echo "$ac_cv_cflags__Werror" >&6; }
16111 if test "x$ac_cv_cflags__Werror" = xyes; then :
16112 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16116 saved_CFLAGS="$CFLAGS"
16117 CFLAGS="$CFLAGS -Werror"
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16119 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16120 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16127 main ()
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_compile "$LINENO"; then :
16135 ac_cv_have_ms_hook_prologue="yes"
16136 else
16137 ac_cv_have_ms_hook_prologue="no"
16139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16142 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16143 CFLAGS="$saved_CFLAGS"
16144 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16145 then
16147 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16149 else
16150 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16157 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16158 if ${ac_cv_c_fortify_enabled+:} false; then :
16159 $as_echo_n "(cached) " >&6
16160 else
16161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16162 /* end confdefs.h. */
16163 #include <string.h>
16165 main ()
16167 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16168 #error Fortify enabled
16169 #endif
16171 return 0;
16173 _ACEOF
16174 if ac_fn_c_try_compile "$LINENO"; then :
16175 ac_cv_c_fortify_enabled=no
16176 else
16177 ac_cv_c_fortify_enabled=yes
16179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16182 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16183 if test "$ac_cv_c_fortify_enabled" = yes
16184 then
16185 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16190 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16191 if ${ac_cv_c_extern_prefix+:} false; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16196 extern int ac_test;
16198 main ()
16200 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16202 return 0;
16204 _ACEOF
16205 if ac_fn_c_try_link "$LINENO"; then :
16206 ac_cv_c_extern_prefix="yes"
16207 else
16208 ac_cv_c_extern_prefix="no"
16210 rm -f core conftest.err conftest.$ac_objext \
16211 conftest$ac_exeext conftest.$ac_ext
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16214 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16216 case $host_cpu in
16217 *i[3456789]86*)
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16219 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16220 if ${ac_cv_c_stdcall_suffix+:} false; then :
16221 $as_echo_n "(cached) " >&6
16222 else
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16225 #ifndef _MSC_VER
16226 #define __stdcall __attribute__((__stdcall__))
16227 #endif
16228 int __stdcall ac_test(int i) { return i; }
16230 main ()
16232 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 ac_cv_c_stdcall_suffix="yes"
16239 else
16240 ac_cv_c_stdcall_suffix="no"
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16246 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16247 *) ac_cv_c_stdcall_suffix="no" ;;
16248 esac
16251 if test "$ac_cv_c_extern_prefix" = "yes"
16252 then
16253 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16255 asm_name_prefix="_"
16256 else
16257 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16259 asm_name_prefix=""
16263 if test "$ac_cv_c_stdcall_suffix" = "yes"
16264 then
16265 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16267 else
16268 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16274 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16275 if ${ac_cv_asm_func_def+:} false; then :
16276 $as_echo_n "(cached) " >&6
16277 else
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16282 main ()
16284 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16286 return 0;
16288 _ACEOF
16289 if ac_fn_c_try_link "$LINENO"; then :
16290 ac_cv_asm_func_def=".def"
16291 else
16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16296 main ()
16298 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16300 return 0;
16302 _ACEOF
16303 if ac_fn_c_try_link "$LINENO"; then :
16304 ac_cv_asm_func_def=".type @function"
16305 else
16306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16310 main ()
16312 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_asm_func_def=".type 2"
16319 else
16320 ac_cv_asm_func_def="unknown"
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16332 $as_echo "$ac_cv_asm_func_def" >&6; }
16335 case "$ac_cv_asm_func_def" in
16336 ".def")
16337 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16339 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16340 ".type @function")
16341 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16343 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16344 ".type 2")
16345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16347 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16349 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16351 asm_func_header="" ;;
16352 esac
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16355 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16356 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 asm(".text\n\t.long 0");
16363 main ()
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_compile "$LINENO"; then :
16371 ac_cv_c_asm_outside_funcs="yes"
16372 else
16373 ac_cv_c_asm_outside_funcs="no"
16375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16378 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16381 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16382 if ${ac_cv_c_dot_previous+:} false; then :
16383 $as_echo_n "(cached) " >&6
16384 else
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16389 main ()
16391 asm(".text\nac_test:\t.long 0\n\t.previous");
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 ac_cv_c_dot_previous="yes"
16398 else
16399 ac_cv_c_dot_previous="no"
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16405 $as_echo "$ac_cv_c_dot_previous" >&6; }
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16408 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16409 if ${ac_cv_c_cfi_support+:} false; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16414 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16416 main ()
16420 return 0;
16422 _ACEOF
16423 if ac_fn_c_try_compile "$LINENO"; then :
16424 ac_cv_c_cfi_support="yes"
16425 else
16426 ac_cv_c_cfi_support="no"
16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16431 $as_echo "$ac_cv_c_cfi_support" >&6; }
16433 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16434 asm_func_trailer=""
16435 if test "$ac_cv_c_dot_previous" = "yes"
16436 then
16437 asm_func_trailer="\\n\\t.previous"
16439 if test "$ac_cv_c_cfi_support" = "yes"
16440 then
16441 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16442 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16444 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16446 UNWINDFLAGS=-fasynchronous-unwind-tables
16448 else
16449 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16451 if test "x$enable_win64" = "xyes"
16452 then
16453 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16457 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16460 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16461 then
16462 cat >>confdefs.h <<_ACEOF
16463 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16464 _ACEOF
16466 else
16467 cat >>confdefs.h <<_ACEOF
16468 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16469 _ACEOF
16473 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16476 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16480 case $build_os in
16481 cygwin*|mingw32*) TOOLSEXT=".exe"
16483 esac
16485 case $host_os in
16486 linux*)
16487 case $host_cpu in
16488 *i[3456789]86*|x86_64*|*aarch64*)
16489 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16490 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16492 esac
16494 esac
16497 ac_save_CFLAGS="$CFLAGS"
16498 CFLAGS="$CFLAGS $BUILTINFLAG"
16499 for ac_func in \
16500 __res_get_state \
16501 __res_getservers \
16502 _finite \
16503 _isnan \
16504 _pclose \
16505 _popen \
16506 _snprintf \
16507 _spawnvp \
16508 _strdup \
16509 _stricmp \
16510 _strnicmp \
16511 _strtoi64 \
16512 _strtoui64 \
16513 _vsnprintf \
16514 asctime_r \
16515 chsize \
16516 dlopen \
16517 epoll_create \
16518 ffs \
16519 finitef \
16520 fnmatch \
16521 fork \
16522 fpclass \
16523 fstatfs \
16524 fstatvfs \
16525 ftruncate \
16526 futimens \
16527 futimes \
16528 futimesat \
16529 getattrlist \
16530 getauxval \
16531 getifaddrs \
16532 getopt_long_only \
16533 getpwuid \
16534 gettimeofday \
16535 getuid \
16536 isnanf \
16537 kqueue \
16538 lstat \
16539 memmove \
16540 mmap \
16541 pclose \
16542 pipe2 \
16543 poll \
16544 popen \
16545 port_create \
16546 prctl \
16547 pread \
16548 proc_pidinfo \
16549 pwrite \
16550 readdir \
16551 readlink \
16552 sched_yield \
16553 select \
16554 setproctitle \
16555 setprogname \
16556 setrlimit \
16557 settimeofday \
16558 sigaltstack \
16559 sigprocmask \
16560 snprintf \
16561 statfs \
16562 statvfs \
16563 strcasecmp \
16564 strdup \
16565 strerror \
16566 strncasecmp \
16567 strnlen \
16568 strtold \
16569 strtoll \
16570 strtoull \
16571 symlink \
16572 sysinfo \
16573 tcdrain \
16574 thr_kill2 \
16575 timegm \
16576 usleep \
16577 vsnprintf
16579 do :
16580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16585 _ACEOF
16588 done
16590 CFLAGS="$ac_save_CFLAGS"
16592 if test "$ac_cv_func_dlopen" = no
16593 then
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16595 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16596 if ${ac_cv_lib_dl_dlopen+:} false; then :
16597 $as_echo_n "(cached) " >&6
16598 else
16599 ac_check_lib_save_LIBS=$LIBS
16600 LIBS="-ldl $LIBS"
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16604 /* Override any GCC internal prototype to avoid an error.
16605 Use char because int might match the return type of a GCC
16606 builtin and then its argument prototype would still apply. */
16607 #ifdef __cplusplus
16608 extern "C"
16609 #endif
16610 char dlopen ();
16612 main ()
16614 return dlopen ();
16616 return 0;
16618 _ACEOF
16619 if ac_fn_c_try_link "$LINENO"; then :
16620 ac_cv_lib_dl_dlopen=yes
16621 else
16622 ac_cv_lib_dl_dlopen=no
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 LIBS=$ac_check_lib_save_LIBS
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16629 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16630 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16631 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16632 DL_LIBS="-ldl"
16637 ac_wine_check_funcs_save_LIBS="$LIBS"
16638 LIBS="$LIBS $DL_LIBS"
16639 for ac_func in dladdr
16640 do :
16641 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16642 if test "x$ac_cv_func_dladdr" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_DLADDR 1
16645 _ACEOF
16648 done
16650 LIBS="$ac_wine_check_funcs_save_LIBS"
16652 if test "$ac_cv_func_poll" = no
16653 then
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16655 $as_echo_n "checking for poll in -lpoll... " >&6; }
16656 if ${ac_cv_lib_poll_poll+:} false; then :
16657 $as_echo_n "(cached) " >&6
16658 else
16659 ac_check_lib_save_LIBS=$LIBS
16660 LIBS="-lpoll $LIBS"
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16664 /* Override any GCC internal prototype to avoid an error.
16665 Use char because int might match the return type of a GCC
16666 builtin and then its argument prototype would still apply. */
16667 #ifdef __cplusplus
16668 extern "C"
16669 #endif
16670 char poll ();
16672 main ()
16674 return poll ();
16676 return 0;
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"; then :
16680 ac_cv_lib_poll_poll=yes
16681 else
16682 ac_cv_lib_poll_poll=no
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16686 LIBS=$ac_check_lib_save_LIBS
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16689 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16690 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16691 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16692 POLL_LIBS="-lpoll"
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16699 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16700 if ${ac_cv_search_gethostbyname+:} false; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16703 ac_func_search_save_LIBS=$LIBS
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16707 /* Override any GCC internal prototype to avoid an error.
16708 Use char because int might match the return type of a GCC
16709 builtin and then its argument prototype would still apply. */
16710 #ifdef __cplusplus
16711 extern "C"
16712 #endif
16713 char gethostbyname ();
16715 main ()
16717 return gethostbyname ();
16719 return 0;
16721 _ACEOF
16722 for ac_lib in '' nsl; do
16723 if test -z "$ac_lib"; then
16724 ac_res="none required"
16725 else
16726 ac_res=-l$ac_lib
16727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16729 if ac_fn_c_try_link "$LINENO"; then :
16730 ac_cv_search_gethostbyname=$ac_res
16732 rm -f core conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext
16734 if ${ac_cv_search_gethostbyname+:} false; then :
16735 break
16737 done
16738 if ${ac_cv_search_gethostbyname+:} false; then :
16740 else
16741 ac_cv_search_gethostbyname=no
16743 rm conftest.$ac_ext
16744 LIBS=$ac_func_search_save_LIBS
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16747 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16748 ac_res=$ac_cv_search_gethostbyname
16749 if test "$ac_res" != no; then :
16750 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16756 $as_echo_n "checking for library containing connect... " >&6; }
16757 if ${ac_cv_search_connect+:} false; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16760 ac_func_search_save_LIBS=$LIBS
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16764 /* Override any GCC internal prototype to avoid an error.
16765 Use char because int might match the return type of a GCC
16766 builtin and then its argument prototype would still apply. */
16767 #ifdef __cplusplus
16768 extern "C"
16769 #endif
16770 char connect ();
16772 main ()
16774 return connect ();
16776 return 0;
16778 _ACEOF
16779 for ac_lib in '' socket; do
16780 if test -z "$ac_lib"; then
16781 ac_res="none required"
16782 else
16783 ac_res=-l$ac_lib
16784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16786 if ac_fn_c_try_link "$LINENO"; then :
16787 ac_cv_search_connect=$ac_res
16789 rm -f core conftest.err conftest.$ac_objext \
16790 conftest$ac_exeext
16791 if ${ac_cv_search_connect+:} false; then :
16792 break
16794 done
16795 if ${ac_cv_search_connect+:} false; then :
16797 else
16798 ac_cv_search_connect=no
16800 rm conftest.$ac_ext
16801 LIBS=$ac_func_search_save_LIBS
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16804 $as_echo "$ac_cv_search_connect" >&6; }
16805 ac_res=$ac_cv_search_connect
16806 if test "$ac_res" != no; then :
16807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16813 $as_echo_n "checking for library containing inet_aton... " >&6; }
16814 if ${ac_cv_search_inet_aton+:} false; then :
16815 $as_echo_n "(cached) " >&6
16816 else
16817 ac_func_search_save_LIBS=$LIBS
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16821 /* Override any GCC internal prototype to avoid an error.
16822 Use char because int might match the return type of a GCC
16823 builtin and then its argument prototype would still apply. */
16824 #ifdef __cplusplus
16825 extern "C"
16826 #endif
16827 char inet_aton ();
16829 main ()
16831 return inet_aton ();
16833 return 0;
16835 _ACEOF
16836 for ac_lib in '' resolv; do
16837 if test -z "$ac_lib"; then
16838 ac_res="none required"
16839 else
16840 ac_res=-l$ac_lib
16841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 ac_cv_search_inet_aton=$ac_res
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext
16848 if ${ac_cv_search_inet_aton+:} false; then :
16849 break
16851 done
16852 if ${ac_cv_search_inet_aton+:} false; then :
16854 else
16855 ac_cv_search_inet_aton=no
16857 rm conftest.$ac_ext
16858 LIBS=$ac_func_search_save_LIBS
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16861 $as_echo "$ac_cv_search_inet_aton" >&6; }
16862 ac_res=$ac_cv_search_inet_aton
16863 if test "$ac_res" != no; then :
16864 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16869 for ac_func in \
16870 getaddrinfo \
16871 getnameinfo \
16872 getnetbyname \
16873 getprotobyname \
16874 getprotobynumber \
16875 getservbyport \
16876 inet_addr \
16877 inet_network \
16878 inet_ntop \
16879 inet_pton \
16880 sendmsg \
16881 socketpair \
16883 do :
16884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16887 cat >>confdefs.h <<_ACEOF
16888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16889 _ACEOF
16892 done
16895 ac_save_LIBS=$LIBS
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16897 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16898 if ${ac_cv_search_clock_gettime+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 ac_func_search_save_LIBS=$LIBS
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16908 #ifdef __cplusplus
16909 extern "C"
16910 #endif
16911 char clock_gettime ();
16913 main ()
16915 return clock_gettime ();
16917 return 0;
16919 _ACEOF
16920 for ac_lib in '' rt; do
16921 if test -z "$ac_lib"; then
16922 ac_res="none required"
16923 else
16924 ac_res=-l$ac_lib
16925 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16927 if ac_fn_c_try_link "$LINENO"; then :
16928 ac_cv_search_clock_gettime=$ac_res
16930 rm -f core conftest.err conftest.$ac_objext \
16931 conftest$ac_exeext
16932 if ${ac_cv_search_clock_gettime+:} false; then :
16933 break
16935 done
16936 if ${ac_cv_search_clock_gettime+:} false; then :
16938 else
16939 ac_cv_search_clock_gettime=no
16941 rm conftest.$ac_ext
16942 LIBS=$ac_func_search_save_LIBS
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16945 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16946 ac_res=$ac_cv_search_clock_gettime
16947 if test "$ac_res" != no; then :
16948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16950 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16952 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16956 LIBS=$ac_save_LIBS
16958 if test "x$with_ldap" != "xno"
16959 then
16960 if ${LDAP_CFLAGS:+false} :; then :
16961 if ${PKG_CONFIG+:} false; then :
16962 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16966 if ${LDAP_LIBS:+false} :; then :
16967 if ${PKG_CONFIG+:} false; then :
16968 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16972 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16973 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16974 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16975 ac_save_CPPFLAGS=$CPPFLAGS
16976 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16977 for ac_header in ldap.h lber.h
16978 do :
16979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16982 cat >>confdefs.h <<_ACEOF
16983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16984 _ACEOF
16988 done
16990 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16991 then
16992 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16994 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16996 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16997 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16998 $as_echo_n "(cached) " >&6
16999 else
17000 ac_check_lib_save_LIBS=$LIBS
17001 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17005 /* Override any GCC internal prototype to avoid an error.
17006 Use char because int might match the return type of a GCC
17007 builtin and then its argument prototype would still apply. */
17008 #ifdef __cplusplus
17009 extern "C"
17010 #endif
17011 char ldap_initialize ();
17013 main ()
17015 return ldap_initialize ();
17017 return 0;
17019 _ACEOF
17020 if ac_fn_c_try_link "$LINENO"; then :
17021 ac_cv_lib_ldap_r_ldap_initialize=yes
17022 else
17023 ac_cv_lib_ldap_r_ldap_initialize=no
17025 rm -f core conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext conftest.$ac_ext
17027 LIBS=$ac_check_lib_save_LIBS
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17030 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17031 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17033 $as_echo_n "checking for ber_init in -llber... " >&6; }
17034 if ${ac_cv_lib_lber_ber_init+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_check_lib_save_LIBS=$LIBS
17038 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17042 /* Override any GCC internal prototype to avoid an error.
17043 Use char because int might match the return type of a GCC
17044 builtin and then its argument prototype would still apply. */
17045 #ifdef __cplusplus
17046 extern "C"
17047 #endif
17048 char ber_init ();
17050 main ()
17052 return ber_init ();
17054 return 0;
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_lib_lber_ber_init=yes
17059 else
17060 ac_cv_lib_lber_ber_init=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 LIBS=$ac_check_lib_save_LIBS
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17067 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17068 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17070 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17072 else
17073 LDAP_LIBS=""
17076 else
17077 LDAP_LIBS=""
17080 else
17081 LDAP_LIBS=""
17084 ac_wine_check_funcs_save_LIBS="$LIBS"
17085 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17086 for ac_func in \
17087 ldap_count_references \
17088 ldap_first_reference \
17089 ldap_next_reference \
17090 ldap_parse_reference \
17091 ldap_parse_sort_control \
17092 ldap_parse_sortresponse_control \
17093 ldap_parse_vlv_control \
17094 ldap_parse_vlvresponse_control
17095 do :
17096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17101 _ACEOF
17104 done
17106 LIBS="$ac_wine_check_funcs_save_LIBS"
17107 else
17108 LDAP_LIBS=""
17110 CPPFLAGS=$ac_save_CPPFLAGS
17111 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17112 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17115 if test "x$LDAP_LIBS" = "x"; then :
17116 case "x$with_ldap" in
17117 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17118 xno) ;;
17119 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17120 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17121 esac
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17126 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17127 if ${wine_cv_one_arg_mkdir+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <sys/stat.h>
17134 main ()
17136 mkdir("foo");
17138 return 0;
17140 _ACEOF
17141 if ac_fn_c_try_compile "$LINENO"; then :
17142 wine_cv_one_arg_mkdir=yes
17143 else
17144 wine_cv_one_arg_mkdir=no
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17149 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17150 if test "$wine_cv_one_arg_mkdir" = "yes"
17151 then
17153 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17158 $as_echo_n "checking for sched_setaffinity... " >&6; }
17159 if ${wine_cv_have_sched_setaffinity+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 #define _GNU_SOURCE
17165 #include <sched.h>
17167 main ()
17169 sched_setaffinity(0, 0, 0);
17171 return 0;
17173 _ACEOF
17174 if ac_fn_c_try_link "$LINENO"; then :
17175 wine_cv_have_sched_setaffinity=yes
17176 else
17177 wine_cv_have_sched_setaffinity=no
17179 rm -f core conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17183 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17184 if test "$wine_cv_have_sched_setaffinity" = "yes"
17185 then
17187 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17192 $as_echo_n "checking for fallocate... " >&6; }
17193 if ${wine_cv_have_fallocate+:} false; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 #define _GNU_SOURCE
17199 #include <fcntl.h>
17201 main ()
17203 fallocate(-1, 0, 0, 0);
17205 return 0;
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 wine_cv_have_fallocate=yes
17210 else
17211 wine_cv_have_fallocate=no
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17217 $as_echo "$wine_cv_have_fallocate" >&6; }
17218 if test "$wine_cv_have_fallocate" = "yes"
17219 then
17221 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17227 $as_echo_n "checking for inline... " >&6; }
17228 if ${ac_cv_c_inline+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_cv_c_inline=no
17232 for ac_kw in inline __inline__ __inline; do
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #ifndef __cplusplus
17236 typedef int foo_t;
17237 static $ac_kw foo_t static_foo () {return 0; }
17238 $ac_kw foo_t foo () {return 0; }
17239 #endif
17241 _ACEOF
17242 if ac_fn_c_try_compile "$LINENO"; then :
17243 ac_cv_c_inline=$ac_kw
17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246 test "$ac_cv_c_inline" != no && break
17247 done
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17251 $as_echo "$ac_cv_c_inline" >&6; }
17253 case $ac_cv_c_inline in
17254 inline | yes) ;;
17256 case $ac_cv_c_inline in
17257 no) ac_val=;;
17258 *) ac_val=$ac_cv_c_inline;;
17259 esac
17260 cat >>confdefs.h <<_ACEOF
17261 #ifndef __cplusplus
17262 #define inline $ac_val
17263 #endif
17264 _ACEOF
17266 esac
17268 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17269 if test "x$ac_cv_type_mode_t" = xyes; then :
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_MODE_T 1
17273 _ACEOF
17277 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17278 if test "x$ac_cv_type_off_t" = xyes; then :
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_OFF_T 1
17282 _ACEOF
17286 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17287 if test "x$ac_cv_type_pid_t" = xyes; then :
17289 cat >>confdefs.h <<_ACEOF
17290 #define HAVE_PID_T 1
17291 _ACEOF
17295 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17296 if test "x$ac_cv_type_size_t" = xyes; then :
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_SIZE_T 1
17300 _ACEOF
17304 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17305 if test "x$ac_cv_type_ssize_t" = xyes; then :
17307 cat >>confdefs.h <<_ACEOF
17308 #define HAVE_SSIZE_T 1
17309 _ACEOF
17313 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17314 if test "x$ac_cv_type_long_long" = xyes; then :
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_LONG_LONG 1
17318 _ACEOF
17322 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17323 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_FSBLKCNT_T 1
17327 _ACEOF
17331 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17332 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_FSFILCNT_T 1
17336 _ACEOF
17341 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17342 #include <signal.h>
17344 if test "x$ac_cv_type_sigset_t" = xyes; then :
17346 cat >>confdefs.h <<_ACEOF
17347 #define HAVE_SIGSET_T 1
17348 _ACEOF
17353 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17355 if test "x$ac_cv_type_request_sense" = xyes; then :
17357 cat >>confdefs.h <<_ACEOF
17358 #define HAVE_REQUEST_SENSE 1
17359 _ACEOF
17365 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17366 #ifdef HAVE_SYS_SOCKET_H
17367 #include <sys/socket.h>
17368 #endif
17369 #ifdef HAVE_SYS_SOCKETVAR_H
17370 #include <sys/socketvar.h>
17371 #endif
17372 #ifdef HAVE_NET_ROUTE_H
17373 #include <net/route.h>
17374 #endif
17375 #ifdef HAVE_NETINET_IN_H
17376 #include <netinet/in.h>
17377 #endif
17378 #ifdef HAVE_NETINET_IN_SYSTM_H
17379 #include <netinet/in_systm.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IP_H
17382 #include <netinet/ip.h>
17383 #endif
17384 #ifdef HAVE_NETINET_IN_PCB_H
17385 #include <netinet/in_pcb.h>
17386 #endif
17388 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17390 cat >>confdefs.h <<_ACEOF
17391 #define HAVE_STRUCT_XINPGEN 1
17392 _ACEOF
17398 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17399 #include <link.h>
17400 #endif
17401 #ifdef HAVE_SYS_LINK_H
17402 #include <sys/link.h>
17403 #endif
17405 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_STRUCT_R_DEBUG 1
17409 _ACEOF
17413 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17414 #include <link.h>
17415 #endif
17416 #ifdef HAVE_SYS_LINK_H
17417 #include <sys/link.h>
17418 #endif
17420 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_STRUCT_LINK_MAP 1
17424 _ACEOF
17430 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17431 #include <linux/input.h>
17432 #endif
17434 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17436 cat >>confdefs.h <<_ACEOF
17437 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17438 _ACEOF
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17445 $as_echo_n "checking for if_nameindex... " >&6; }
17446 if ${wine_cv_have_if_nameindex+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #ifdef HAVE_SYS_TYPES_H
17452 #include <sys/types.h>
17453 #endif
17454 #ifdef HAVE_SYS_SOCKET_H
17455 #include <sys/socket.h>
17456 #endif
17457 #ifdef HAVE_NET_IF_H
17458 # include <net/if.h>
17459 #endif
17461 main ()
17463 struct if_nameindex *p = if_nameindex(); return p->if_index;
17465 return 0;
17467 _ACEOF
17468 if ac_fn_c_try_link "$LINENO"; then :
17469 wine_cv_have_if_nameindex=yes
17470 else
17471 wine_cv_have_if_nameindex=no
17473 rm -f core conftest.err conftest.$ac_objext \
17474 conftest$ac_exeext conftest.$ac_ext
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17477 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17478 if test "$wine_cv_have_if_nameindex" = "yes"
17479 then
17481 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17486 $as_echo_n "checking for sigaddset... " >&6; }
17487 if ${wine_cv_have_sigaddset+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 #include <signal.h>
17494 main ()
17496 sigset_t set; sigaddset(&set,SIGTERM);
17498 return 0;
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"; then :
17502 wine_cv_have_sigaddset=yes
17503 else
17504 wine_cv_have_sigaddset=no
17506 rm -f core conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17510 $as_echo "$wine_cv_have_sigaddset" >&6; }
17511 if test "$wine_cv_have_sigaddset" = "yes"
17512 then
17514 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17520 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17521 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 #include <netdb.h>
17528 main ()
17531 char *name=0;
17532 struct hostent he;
17533 struct hostent *result;
17534 char *buf=0;
17535 int bufsize=0;
17536 int errnr;
17537 char *addr=0;
17538 int addrlen=0;
17539 int addrtype=0;
17540 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17541 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17544 return 0;
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 wine_cv_linux_gethostbyname_r_6=yes
17549 else
17550 wine_cv_linux_gethostbyname_r_6=no
17553 rm -f core conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17558 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17559 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17560 then
17562 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17566 if test "$ac_cv_header_linux_joystick_h" = "yes"
17567 then
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17569 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17570 if ${wine_cv_linux_joystick_22_api+:} false; then :
17571 $as_echo_n "(cached) " >&6
17572 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17576 #include <sys/ioctl.h>
17577 #include <sys/types.h>
17578 #include <linux/joystick.h>
17580 struct js_event blub;
17581 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17582 #error "no 2.2 header"
17583 #endif
17586 main ()
17588 /*empty*/
17590 return 0;
17592 _ACEOF
17593 if ac_fn_c_try_compile "$LINENO"; then :
17594 wine_cv_linux_joystick_22_api=yes
17595 else
17596 wine_cv_linux_joystick_22_api=no
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17602 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17603 if test "$wine_cv_linux_joystick_22_api" = "yes"
17604 then
17606 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17612 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17613 #ifdef HAVE_SYS_PARAM_H
17614 # include <sys/param.h>
17615 #endif
17616 #ifdef HAVE_SYS_MOUNT_H
17617 # include <sys/mount.h>
17618 #endif
17619 #ifdef HAVE_SYS_VFS_H
17620 # include <sys/vfs.h>
17621 #endif
17622 #ifdef HAVE_SYS_STATFS_H
17623 # include <sys/statfs.h>
17624 #endif
17626 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17628 cat >>confdefs.h <<_ACEOF
17629 #define HAVE_STRUCT_STATFS_F_BFREE 1
17630 _ACEOF
17634 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17635 #ifdef HAVE_SYS_PARAM_H
17636 # include <sys/param.h>
17637 #endif
17638 #ifdef HAVE_SYS_MOUNT_H
17639 # include <sys/mount.h>
17640 #endif
17641 #ifdef HAVE_SYS_VFS_H
17642 # include <sys/vfs.h>
17643 #endif
17644 #ifdef HAVE_SYS_STATFS_H
17645 # include <sys/statfs.h>
17646 #endif
17648 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17650 cat >>confdefs.h <<_ACEOF
17651 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17652 _ACEOF
17656 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17657 #ifdef HAVE_SYS_PARAM_H
17658 # include <sys/param.h>
17659 #endif
17660 #ifdef HAVE_SYS_MOUNT_H
17661 # include <sys/mount.h>
17662 #endif
17663 #ifdef HAVE_SYS_VFS_H
17664 # include <sys/vfs.h>
17665 #endif
17666 #ifdef HAVE_SYS_STATFS_H
17667 # include <sys/statfs.h>
17668 #endif
17670 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17672 cat >>confdefs.h <<_ACEOF
17673 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17674 _ACEOF
17678 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17679 #ifdef HAVE_SYS_PARAM_H
17680 # include <sys/param.h>
17681 #endif
17682 #ifdef HAVE_SYS_MOUNT_H
17683 # include <sys/mount.h>
17684 #endif
17685 #ifdef HAVE_SYS_VFS_H
17686 # include <sys/vfs.h>
17687 #endif
17688 #ifdef HAVE_SYS_STATFS_H
17689 # include <sys/statfs.h>
17690 #endif
17692 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17694 cat >>confdefs.h <<_ACEOF
17695 #define HAVE_STRUCT_STATFS_F_FFREE 1
17696 _ACEOF
17700 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17701 #ifdef HAVE_SYS_PARAM_H
17702 # include <sys/param.h>
17703 #endif
17704 #ifdef HAVE_SYS_MOUNT_H
17705 # include <sys/mount.h>
17706 #endif
17707 #ifdef HAVE_SYS_VFS_H
17708 # include <sys/vfs.h>
17709 #endif
17710 #ifdef HAVE_SYS_STATFS_H
17711 # include <sys/statfs.h>
17712 #endif
17714 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17716 cat >>confdefs.h <<_ACEOF
17717 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17718 _ACEOF
17722 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17723 #ifdef HAVE_SYS_PARAM_H
17724 # include <sys/param.h>
17725 #endif
17726 #ifdef HAVE_SYS_MOUNT_H
17727 # include <sys/mount.h>
17728 #endif
17729 #ifdef HAVE_SYS_VFS_H
17730 # include <sys/vfs.h>
17731 #endif
17732 #ifdef HAVE_SYS_STATFS_H
17733 # include <sys/statfs.h>
17734 #endif
17736 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17738 cat >>confdefs.h <<_ACEOF
17739 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17740 _ACEOF
17746 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17747 #include <sys/statvfs.h>
17748 #endif
17750 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17752 cat >>confdefs.h <<_ACEOF
17753 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17754 _ACEOF
17760 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17761 #include <dirent.h>
17762 #endif
17764 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17766 cat >>confdefs.h <<_ACEOF
17767 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17768 _ACEOF
17774 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17775 #ifdef HAVE_SYS_SOCKET_H
17776 # include <sys/socket.h>
17777 #endif
17778 #ifdef HAVE_SYS_UN_H
17779 # include <sys/un.h>
17780 #endif
17782 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17784 cat >>confdefs.h <<_ACEOF
17785 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17786 _ACEOF
17790 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17791 #ifdef HAVE_SYS_SOCKET_H
17792 # include <sys/socket.h>
17793 #endif
17794 #ifdef HAVE_SYS_UN_H
17795 # include <sys/un.h>
17796 #endif
17798 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17800 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17802 _ACEOF
17806 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17807 #ifdef HAVE_SYS_SOCKET_H
17808 # include <sys/socket.h>
17809 #endif
17810 #ifdef HAVE_SYS_UN_H
17811 # include <sys/un.h>
17812 #endif
17814 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17816 cat >>confdefs.h <<_ACEOF
17817 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17818 _ACEOF
17824 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17825 #ifdef HAVE_SCSI_SG_H
17826 #include <scsi/sg.h>
17827 #endif
17829 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17831 cat >>confdefs.h <<_ACEOF
17832 #define HAVE_SCSIREQ_T_CMD 1
17833 _ACEOF
17837 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>
17838 #ifdef HAVE_SCSI_SG_H
17839 #include <scsi/sg.h>
17840 #endif
17842 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17844 cat >>confdefs.h <<_ACEOF
17845 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17846 _ACEOF
17852 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17854 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17856 cat >>confdefs.h <<_ACEOF
17857 #define HAVE_SIGINFO_T_SI_FD 1
17858 _ACEOF
17864 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17865 #ifdef HAVE_SYS_MTIO_H
17866 #include <sys/mtio.h>
17867 #endif
17869 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17871 cat >>confdefs.h <<_ACEOF
17872 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17873 _ACEOF
17877 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17878 #ifdef HAVE_SYS_MTIO_H
17879 #include <sys/mtio.h>
17880 #endif
17882 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17884 cat >>confdefs.h <<_ACEOF
17885 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17886 _ACEOF
17890 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17891 #ifdef HAVE_SYS_MTIO_H
17892 #include <sys/mtio.h>
17893 #endif
17895 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17899 _ACEOF
17905 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17906 #include <getopt.h>
17907 #endif
17909 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17911 cat >>confdefs.h <<_ACEOF
17912 #define HAVE_STRUCT_OPTION_NAME 1
17913 _ACEOF
17919 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17920 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17922 cat >>confdefs.h <<_ACEOF
17923 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17924 _ACEOF
17928 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17929 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17931 cat >>confdefs.h <<_ACEOF
17932 #define HAVE_STRUCT_STAT_ST_MTIM 1
17933 _ACEOF
17937 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17938 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17940 cat >>confdefs.h <<_ACEOF
17941 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17942 _ACEOF
17946 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17947 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17949 cat >>confdefs.h <<_ACEOF
17950 #define HAVE_STRUCT_STAT_ST_CTIM 1
17951 _ACEOF
17955 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17956 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17960 _ACEOF
17964 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17965 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17967 cat >>confdefs.h <<_ACEOF
17968 #define HAVE_STRUCT_STAT_ST_ATIM 1
17969 _ACEOF
17973 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17974 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17976 cat >>confdefs.h <<_ACEOF
17977 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17978 _ACEOF
17982 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17983 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17985 cat >>confdefs.h <<_ACEOF
17986 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17987 _ACEOF
17991 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17992 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17994 cat >>confdefs.h <<_ACEOF
17995 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17996 _ACEOF
18000 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18001 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18003 cat >>confdefs.h <<_ACEOF
18004 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18005 _ACEOF
18009 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18010 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18012 cat >>confdefs.h <<_ACEOF
18013 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18014 _ACEOF
18018 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18019 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18023 _ACEOF
18029 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
18030 #include <sys/types.h>
18031 #endif
18032 #ifdef HAVE_NETINET_IN_H
18033 #include <netinet/in.h>
18034 #endif
18036 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18038 cat >>confdefs.h <<_ACEOF
18039 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18040 _ACEOF
18046 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18047 #include <sys/types.h>
18048 #endif
18049 #ifdef HAVE_NETINET_IN_H
18050 #include <netinet/in.h>
18051 #endif
18052 #ifdef HAVE_RESOLV_H
18053 #include <resolv.h>
18054 #endif
18056 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define HAVE_STRUCT___RES_STATE 1
18060 _ACEOF
18066 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
18067 #include <resolv.h>
18068 #endif
18070 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18072 cat >>confdefs.h <<_ACEOF
18073 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18074 _ACEOF
18080 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18081 #include <sys/types.h>
18082 #endif
18083 #ifdef HAVE_NETINET_IN_H
18084 # include <netinet/in.h>
18085 #endif
18086 #ifdef HAVE_ARPA_NAMESER_H
18087 # include <arpa/nameser.h>
18088 #endif
18090 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18092 cat >>confdefs.h <<_ACEOF
18093 #define HAVE_NS_MSG__MSG_PTR 1
18094 _ACEOF
18100 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18101 #include <sys/types.h>
18102 #endif
18103 #ifdef HAVE_NETINET_IN_H
18104 #include <netinet/in.h>
18105 #endif
18106 #ifdef HAVE_NETINET_IP_H
18107 #include <netinet/ip.h>
18108 #endif
18109 #ifdef HAVE_NETINET_IP_ICMP_H
18110 #include <netinet/ip_icmp.h>
18111 #endif
18112 #ifdef HAVE_NETINET_ICMP_VAR_H
18113 #include <netinet/icmp_var.h>
18114 #endif
18116 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18120 _ACEOF
18126 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18127 #include <sys/types.h>
18128 #endif
18129 #ifdef HAVE_ALIAS_H
18130 #include <alias.h>
18131 #endif
18132 #ifdef HAVE_SYS_SOCKET_H
18133 #include <sys/socket.h>
18134 #endif
18135 #ifdef HAVE_SYS_SOCKETVAR_H
18136 #include <sys/socketvar.h>
18137 #endif
18138 #ifdef HAVE_SYS_TIMEOUT_H
18139 #include <sys/timeout.h>
18140 #endif
18141 #ifdef HAVE_NETINET_IN_H
18142 #include <netinet/in.h>
18143 #endif
18144 #ifdef HAVE_NETINET_IN_SYSTM_H
18145 #include <netinet/in_systm.h>
18146 #endif
18147 #ifdef HAVE_NETINET_IP_H
18148 #include <netinet/ip.h>
18149 #endif
18150 #ifdef HAVE_NETINET_IP_VAR_H
18151 #include <netinet/ip_var.h>
18152 #endif
18153 #ifdef HAVE_NETINET_IP_ICMP_H
18154 #include <netinet/ip_icmp.h>
18155 #endif
18156 #ifdef HAVE_NETINET_ICMP_VAR_H
18157 #include <netinet/icmp_var.h>
18158 #endif
18160 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18162 cat >>confdefs.h <<_ACEOF
18163 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18164 _ACEOF
18170 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18171 #include <sys/types.h>
18172 #endif
18173 #ifdef HAVE_SYS_SOCKETVAR_H
18174 #include <sys/socketvar.h>
18175 #endif
18176 #ifdef HAVE_NETINET_IN_H
18177 #include <netinet/in.h>
18178 #endif
18179 #ifdef HAVE_NETINET_IP_VAR_H
18180 #include <netinet/ip_var.h>
18181 #endif
18183 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18185 cat >>confdefs.h <<_ACEOF
18186 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18187 _ACEOF
18193 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
18194 #include <netinet/ip_var.h>
18195 #endif
18197 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18199 cat >>confdefs.h <<_ACEOF
18200 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18201 _ACEOF
18207 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18208 #include <sys/types.h>
18209 #endif
18210 #ifdef HAVE_SYS_SOCKETVAR_H
18211 #include <sys/socketvar.h>
18212 #endif
18213 #ifdef HAVE_NETINET_IN_H
18214 #include <netinet/in.h>
18215 #endif
18216 #ifdef HAVE_NETINET_TCP_H
18217 #include <netinet/tcp.h>
18218 #endif
18219 #ifdef HAVE_NETINET_TCP_VAR_H
18220 #include <netinet/tcp_var.h>
18221 #endif
18223 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18225 cat >>confdefs.h <<_ACEOF
18226 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18227 _ACEOF
18233 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
18234 #include <netinet/tcp_var.h>
18235 #endif
18237 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18239 cat >>confdefs.h <<_ACEOF
18240 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18241 _ACEOF
18247 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18248 #include <sys/types.h>
18249 #endif
18250 #ifdef HAVE_NETINET_IN_H
18251 #include <netinet/in.h>
18252 #endif
18253 #ifdef HAVE_NETINET_IP_VAR_H
18254 #include <netinet/ip_var.h>
18255 #endif
18256 #ifdef HAVE_NETINET_UDP_H
18257 #include <netinet/udp.h>
18258 #endif
18259 #ifdef HAVE_NETINET_UDP_VAR_H
18260 #include <netinet/udp_var.h>
18261 #endif
18263 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18267 _ACEOF
18273 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18274 #include <sys/types.h>
18275 #endif
18276 #ifdef HAVE_NET_IF_H
18277 # include <net/if.h>
18278 #endif
18280 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18282 cat >>confdefs.h <<_ACEOF
18283 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18284 _ACEOF
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18291 $as_echo_n "checking for timezone variable... " >&6; }
18292 if ${ac_cv_have_timezone+:} false; then :
18293 $as_echo_n "(cached) " >&6
18294 else
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <time.h>
18299 main ()
18301 timezone = 1
18303 return 0;
18305 _ACEOF
18306 if ac_fn_c_try_link "$LINENO"; then :
18307 ac_cv_have_timezone="yes"
18308 else
18309 ac_cv_have_timezone="no"
18311 rm -f core conftest.err conftest.$ac_objext \
18312 conftest$ac_exeext conftest.$ac_ext
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18315 $as_echo "$ac_cv_have_timezone" >&6; }
18316 if test "$ac_cv_have_timezone" = "yes"
18317 then
18319 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18323 $as_echo_n "checking for daylight variable... " >&6; }
18324 if ${ac_cv_have_daylight+:} false; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18329 #include <time.h>
18331 main ()
18333 daylight = 1
18335 return 0;
18337 _ACEOF
18338 if ac_fn_c_try_link "$LINENO"; then :
18339 ac_cv_have_daylight="yes"
18340 else
18341 ac_cv_have_daylight="no"
18343 rm -f core conftest.err conftest.$ac_objext \
18344 conftest$ac_exeext conftest.$ac_ext
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18347 $as_echo "$ac_cv_have_daylight" >&6; }
18348 if test "$ac_cv_have_daylight" = "yes"
18349 then
18351 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18355 ac_save_LIBS="$LIBS"
18356 LIBS="$LIBS -lm"
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18358 $as_echo_n "checking for isfinite... " >&6; }
18359 if ${ac_cv_have_isfinite+:} false; then :
18360 $as_echo_n "(cached) " >&6
18361 else
18362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18364 #define _GNU_SOURCE
18365 #include <math.h>
18367 main ()
18369 float f = 0.0; return isfinite(f)
18371 return 0;
18373 _ACEOF
18374 if ac_fn_c_try_link "$LINENO"; then :
18375 ac_cv_have_isfinite="yes"
18376 else
18377 ac_cv_have_isfinite="no"
18379 rm -f core conftest.err conftest.$ac_objext \
18380 conftest$ac_exeext conftest.$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18383 $as_echo "$ac_cv_have_isfinite" >&6; }
18384 if test "$ac_cv_have_isfinite" = "yes"
18385 then
18387 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18392 $as_echo_n "checking for isinf... " >&6; }
18393 if ${ac_cv_have_isinf+:} false; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #include <math.h>
18400 main ()
18402 float f = 0.0; return isinf(f)
18404 return 0;
18406 _ACEOF
18407 if ac_fn_c_try_link "$LINENO"; then :
18408 ac_cv_have_isinf="yes"
18409 else
18410 ac_cv_have_isinf="no"
18412 rm -f core conftest.err conftest.$ac_objext \
18413 conftest$ac_exeext conftest.$ac_ext
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18416 $as_echo "$ac_cv_have_isinf" >&6; }
18417 if test "$ac_cv_have_isinf" = "yes"
18418 then
18420 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18425 $as_echo_n "checking for isnan... " >&6; }
18426 if ${ac_cv_have_isnan+:} false; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <math.h>
18433 main ()
18435 float f = 0.0; return isnan(f)
18437 return 0;
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"; then :
18441 ac_cv_have_isnan="yes"
18442 else
18443 ac_cv_have_isnan="no"
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18449 $as_echo "$ac_cv_have_isnan" >&6; }
18450 if test "$ac_cv_have_isnan" = "yes"
18451 then
18453 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18457 for ac_func in \
18458 acosh \
18459 acoshf \
18460 asinh \
18461 asinhf \
18462 atanh \
18463 atanhf \
18464 cbrt \
18465 cbrtf \
18466 erf \
18467 erfc \
18468 erfcf \
18469 erff \
18470 exp2 \
18471 exp2f \
18472 expm1 \
18473 expm1f \
18474 j0 \
18475 j1 \
18476 jn \
18477 lgamma \
18478 lgammaf \
18479 llrint \
18480 llrintf \
18481 llround \
18482 llroundf \
18483 log1p \
18484 log1pf \
18485 log2 \
18486 log2f \
18487 lrint \
18488 lrintf \
18489 lround \
18490 lroundf \
18491 nearbyint \
18492 nearbyintf \
18493 powl \
18494 remainder \
18495 remainderf \
18496 rint \
18497 rintf \
18498 round \
18499 roundf \
18500 trunc \
18501 truncf \
18502 y0 \
18503 y1 \
18506 do :
18507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18509 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18510 cat >>confdefs.h <<_ACEOF
18511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18512 _ACEOF
18515 done
18517 LIBS="$ac_save_LIBS"
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18520 $as_echo_n "checking for __builtin_clz... " >&6; }
18521 if ${ac_cv_have___builtin_clz+:} false; then :
18522 $as_echo_n "(cached) " >&6
18523 else
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18528 main ()
18530 return __builtin_clz(1)
18532 return 0;
18534 _ACEOF
18535 if ac_fn_c_try_link "$LINENO"; then :
18536 ac_cv_have___builtin_clz="yes"
18537 else
18538 ac_cv_have___builtin_clz="no"
18540 rm -f core conftest.err conftest.$ac_objext \
18541 conftest$ac_exeext conftest.$ac_ext
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18544 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18545 if test "$ac_cv_have___builtin_clz" = "yes"
18546 then
18548 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18553 $as_echo_n "checking for __builtin_popcount... " >&6; }
18554 if ${ac_cv_have___builtin_popcount+:} false; then :
18555 $as_echo_n "(cached) " >&6
18556 else
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18561 main ()
18563 return __builtin_popcount(1)
18565 return 0;
18567 _ACEOF
18568 if ac_fn_c_try_link "$LINENO"; then :
18569 ac_cv_have___builtin_popcount="yes"
18570 else
18571 ac_cv_have___builtin_popcount="no"
18573 rm -f core conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18577 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18578 if test "$ac_cv_have___builtin_popcount" = "yes"
18579 then
18581 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18586 $as_echo_n "checking for __clear_cache... " >&6; }
18587 if ${ac_cv_have___clear_cache+:} false; then :
18588 $as_echo_n "(cached) " >&6
18589 else
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18594 main ()
18596 __clear_cache((void*)0, (void*)0); return 0;
18598 return 0;
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"; then :
18602 ac_cv_have___clear_cache="yes"
18603 else
18604 ac_cv_have___clear_cache="no"
18606 rm -f core conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18610 $as_echo "$ac_cv_have___clear_cache" >&6; }
18611 if test "$ac_cv_have___clear_cache" = "yes"
18612 then
18614 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18619 case $host_cpu in
18620 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18621 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18622 if ${ac_cv_cpp_def___i386__+:} false; then :
18623 $as_echo_n "(cached) " >&6
18624 else
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #ifndef __i386__
18629 #endif
18630 _ACEOF
18631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18632 $EGREP "yes" >/dev/null 2>&1; then :
18633 ac_cv_cpp_def___i386__=yes
18634 else
18635 ac_cv_cpp_def___i386__=no
18637 rm -f conftest*
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18641 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18642 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18643 CFLAGS="$CFLAGS -D__i386__"
18644 LINTFLAGS="$LINTFLAGS -D__i386__"
18645 fi ;;
18646 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18647 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18648 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 #ifndef __x86_64__
18655 #endif
18656 _ACEOF
18657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18658 $EGREP "yes" >/dev/null 2>&1; then :
18659 ac_cv_cpp_def___x86_64__=yes
18660 else
18661 ac_cv_cpp_def___x86_64__=no
18663 rm -f conftest*
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18667 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18668 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18669 CFLAGS="$CFLAGS -D__x86_64__"
18670 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18671 fi ;;
18672 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18673 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18674 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #ifndef __sparc64__
18681 #endif
18682 _ACEOF
18683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18684 $EGREP "yes" >/dev/null 2>&1; then :
18685 ac_cv_cpp_def___sparc64__=yes
18686 else
18687 ac_cv_cpp_def___sparc64__=no
18689 rm -f conftest*
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18693 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18694 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18695 CFLAGS="$CFLAGS -D__sparc64__"
18696 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18697 fi ;;
18698 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18699 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18700 if ${ac_cv_cpp_def___sparc__+:} false; then :
18701 $as_echo_n "(cached) " >&6
18702 else
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #ifndef __sparc__
18707 #endif
18708 _ACEOF
18709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18710 $EGREP "yes" >/dev/null 2>&1; then :
18711 ac_cv_cpp_def___sparc__=yes
18712 else
18713 ac_cv_cpp_def___sparc__=no
18715 rm -f conftest*
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18719 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18720 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18721 CFLAGS="$CFLAGS -D__sparc__"
18722 LINTFLAGS="$LINTFLAGS -D__sparc__"
18723 fi ;;
18724 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18725 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18726 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18727 $as_echo_n "(cached) " >&6
18728 else
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #ifndef __powerpc64__
18733 #endif
18734 _ACEOF
18735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18736 $EGREP "yes" >/dev/null 2>&1; then :
18737 ac_cv_cpp_def___powerpc64__=yes
18738 else
18739 ac_cv_cpp_def___powerpc64__=no
18741 rm -f conftest*
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18745 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18746 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18747 CFLAGS="$CFLAGS -D__powerpc64__"
18748 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18749 fi ;;
18750 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18751 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18752 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 #ifndef __powerpc__
18759 #endif
18760 _ACEOF
18761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18762 $EGREP "yes" >/dev/null 2>&1; then :
18763 ac_cv_cpp_def___powerpc__=yes
18764 else
18765 ac_cv_cpp_def___powerpc__=no
18767 rm -f conftest*
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18771 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18772 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18773 CFLAGS="$CFLAGS -D__powerpc__"
18774 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18775 fi ;;
18776 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18777 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18778 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18779 $as_echo_n "(cached) " >&6
18780 else
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 #ifndef __aarch64__
18785 #endif
18786 _ACEOF
18787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18788 $EGREP "yes" >/dev/null 2>&1; then :
18789 ac_cv_cpp_def___aarch64__=yes
18790 else
18791 ac_cv_cpp_def___aarch64__=no
18793 rm -f conftest*
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18797 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18798 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18799 CFLAGS="$CFLAGS -D__aarch64__"
18800 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18801 fi ;;
18802 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18803 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18804 if ${ac_cv_cpp_def___arm__+:} false; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #ifndef __arm__
18811 #endif
18812 _ACEOF
18813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18814 $EGREP "yes" >/dev/null 2>&1; then :
18815 ac_cv_cpp_def___arm__=yes
18816 else
18817 ac_cv_cpp_def___arm__=no
18819 rm -f conftest*
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18823 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18824 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18825 CFLAGS="$CFLAGS -D__arm__"
18826 LINTFLAGS="$LINTFLAGS -D__arm__"
18827 fi ;;
18828 esac
18830 case $host_vendor in
18831 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18832 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18833 if ${ac_cv_cpp_def___sun__+:} false; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 #ifndef __sun__
18840 #endif
18841 _ACEOF
18842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18843 $EGREP "yes" >/dev/null 2>&1; then :
18844 ac_cv_cpp_def___sun__=yes
18845 else
18846 ac_cv_cpp_def___sun__=no
18848 rm -f conftest*
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18852 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18853 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18854 CFLAGS="$CFLAGS -D__sun__"
18855 LINTFLAGS="$LINTFLAGS -D__sun__"
18856 fi ;;
18857 esac
18863 ac_config_commands="$ac_config_commands include/stamp-h"
18865 $as_echo_n "creating Makefile rules..." >&6
18867 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18868 SOCKET_LIBS = $SOCKET_LIBS
18869 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18870 IOKIT_LIBS = $IOKIT_LIBS
18871 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18872 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18873 CORESERVICES_LIBS = $CORESERVICES_LIBS
18874 APPKIT_LIBS = $APPKIT_LIBS
18875 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18876 SECURITY_LIBS = $SECURITY_LIBS
18877 COREAUDIO_LIBS = $COREAUDIO_LIBS
18878 OPENAL_LIBS = $OPENAL_LIBS
18879 OPENCL_LIBS = $OPENCL_LIBS
18880 QUICKTIME_LIBS = $QUICKTIME_LIBS
18881 CARBON_LIBS = $CARBON_LIBS
18882 METAL_LIBS = $METAL_LIBS
18883 PTHREAD_LIBS = $PTHREAD_LIBS
18884 X_CFLAGS = $X_CFLAGS
18885 X_PRE_LIBS = $X_PRE_LIBS
18886 X_LIBS = $X_LIBS
18887 X_EXTRA_LIBS = $X_EXTRA_LIBS
18888 PCAP_LIBS = $PCAP_LIBS
18889 XML2_CFLAGS = $XML2_CFLAGS
18890 XML2_LIBS = $XML2_LIBS
18891 XSLT_CFLAGS = $XSLT_CFLAGS
18892 XSLT_LIBS = $XSLT_LIBS
18893 DBUS_CFLAGS = $DBUS_CFLAGS
18894 DBUS_LIBS = $DBUS_LIBS
18895 HAL_CFLAGS = $HAL_CFLAGS
18896 HAL_LIBS = $HAL_LIBS
18897 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18898 GNUTLS_LIBS = $GNUTLS_LIBS
18899 SANE_CFLAGS = $SANE_CFLAGS
18900 SANE_LIBS = $SANE_LIBS
18901 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18902 GPHOTO2_LIBS = $GPHOTO2_LIBS
18903 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18904 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18905 RESOLV_LIBS = $RESOLV_LIBS
18906 LCMS2_CFLAGS = $LCMS2_CFLAGS
18907 LCMS2_LIBS = $LCMS2_LIBS
18908 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18909 FREETYPE_LIBS = $FREETYPE_LIBS
18910 Z_LIBS = $Z_LIBS
18911 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18912 PULSE_CFLAGS = $PULSE_CFLAGS
18913 PULSE_LIBS = $PULSE_LIBS
18914 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18915 GSTREAMER_LIBS = $GSTREAMER_LIBS
18916 ALSA_LIBS = $ALSA_LIBS
18917 OSS4_CFLAGS = $OSS4_CFLAGS
18918 UDEV_CFLAGS = $UDEV_CFLAGS
18919 UDEV_LIBS = $UDEV_LIBS
18920 SDL2_CFLAGS = $SDL2_CFLAGS
18921 SDL2_LIBS = $SDL2_LIBS
18922 CAPI20_CFLAGS = $CAPI20_CFLAGS
18923 CAPI20_LIBS = $CAPI20_LIBS
18924 CUPS_CFLAGS = $CUPS_CFLAGS
18925 CUPS_LIBS = $CUPS_LIBS
18926 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18927 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18928 KRB5_CFLAGS = $KRB5_CFLAGS
18929 KRB5_LIBS = $KRB5_LIBS
18930 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18931 GSSAPI_LIBS = $GSSAPI_LIBS
18932 JPEG_CFLAGS = $JPEG_CFLAGS
18933 JPEG_LIBS = $JPEG_LIBS
18934 PNG_CFLAGS = $PNG_CFLAGS
18935 PNG_LIBS = $PNG_LIBS
18936 TIFF_CFLAGS = $TIFF_CFLAGS
18937 TIFF_LIBS = $TIFF_LIBS
18938 MPG123_CFLAGS = $MPG123_CFLAGS
18939 MPG123_LIBS = $MPG123_LIBS
18940 KSTAT_LIBS = $KSTAT_LIBS
18941 PROCSTAT_LIBS = $PROCSTAT_LIBS
18942 NETAPI_CFLAGS = $NETAPI_CFLAGS
18943 NETAPI_LIBS = $NETAPI_LIBS
18944 VKD3D_CFLAGS = $VKD3D_CFLAGS
18945 VKD3D_LIBS = $VKD3D_LIBS
18946 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18947 DL_LIBS = $DL_LIBS
18948 POLL_LIBS = $POLL_LIBS
18949 RT_LIBS = $RT_LIBS
18950 LDAP_CFLAGS = $LDAP_CFLAGS
18951 LDAP_LIBS = $LDAP_LIBS
18956 wine_fn_append_rule "
18957 # Rules automatically generated by configure
18959 .INIT: Makefile
18960 .MAKEFILEDEPS:
18961 all: Makefile
18962 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18963 @./config.status Make.tmp Makefile
18964 depend: \$(MAKEDEP) dummy
18965 \$(MAKEDEP)"
18967 if test "x$enable_fonts" != xno; then
18968 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18969 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18970 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18971 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18972 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18973 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18975 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18976 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18977 ac_config_links="$ac_config_links wine:tools/winewrapper"
18978 wine_fn_config_symlink wine
18979 if test "x$enable_win64" != xno; then
18980 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18981 wine_fn_config_symlink wine64
18984 wine_fn_config_makefile dlls/acledit enable_acledit
18985 wine_fn_config_makefile dlls/aclui enable_aclui
18986 wine_fn_config_makefile dlls/activeds enable_activeds
18987 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18988 wine_fn_config_makefile dlls/adsiid enable_adsiid
18989 wine_fn_config_makefile dlls/adsldp enable_adsldp
18990 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18991 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18992 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18993 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18994 wine_fn_config_makefile dlls/advpack enable_advpack
18995 wine_fn_config_makefile dlls/advpack/tests enable_tests
18996 wine_fn_config_makefile dlls/amstream enable_amstream
18997 wine_fn_config_makefile dlls/amstream/tests enable_tests
18998 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18999 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19000 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19001 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19002 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19003 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19005 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19008 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19009 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19016 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19018 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19022 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19023 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19024 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19028 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19029 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19030 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19032 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19033 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19042 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19046 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19047 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19052 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19053 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19056 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19064 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19065 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19072 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19076 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19077 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19102 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19115 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19127 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19146 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19147 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19166 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19180 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19182 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19184 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19185 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19189 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19191 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19197 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19200 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19202 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19204 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19208 wine_fn_config_makefile dlls/apphelp enable_apphelp
19209 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19210 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19211 wine_fn_config_makefile dlls/atl enable_atl
19212 wine_fn_config_makefile dlls/atl/tests enable_tests
19213 wine_fn_config_makefile dlls/atl100 enable_atl100
19214 wine_fn_config_makefile dlls/atl100/tests enable_tests
19215 wine_fn_config_makefile dlls/atl110 enable_atl110
19216 wine_fn_config_makefile dlls/atl80 enable_atl80
19217 wine_fn_config_makefile dlls/atl80/tests enable_tests
19218 wine_fn_config_makefile dlls/atl90 enable_atl90
19219 wine_fn_config_makefile dlls/atmlib enable_atmlib
19220 wine_fn_config_makefile dlls/authz enable_authz
19221 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19222 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19223 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19224 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19225 wine_fn_config_makefile dlls/avrt enable_avrt
19226 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19227 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19228 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19229 wine_fn_config_makefile dlls/browseui enable_browseui
19230 wine_fn_config_makefile dlls/browseui/tests enable_tests
19231 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19232 wine_fn_config_makefile dlls/cabinet enable_cabinet
19233 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19234 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19235 wine_fn_config_makefile dlls/cards enable_cards
19236 wine_fn_config_makefile dlls/cdosys enable_cdosys
19237 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19238 wine_fn_config_makefile dlls/clusapi enable_clusapi
19239 wine_fn_config_makefile dlls/combase enable_combase
19240 wine_fn_config_makefile dlls/combase/tests enable_tests
19241 wine_fn_config_makefile dlls/comcat enable_comcat
19242 wine_fn_config_makefile dlls/comcat/tests enable_tests
19243 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19244 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19245 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19246 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19247 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19248 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19249 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19250 wine_fn_config_makefile dlls/compstui enable_compstui
19251 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19252 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19253 wine_fn_config_makefile dlls/connect enable_connect
19254 wine_fn_config_makefile dlls/credui enable_credui
19255 wine_fn_config_makefile dlls/credui/tests enable_tests
19256 wine_fn_config_makefile dlls/crtdll enable_crtdll
19257 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19258 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19259 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19260 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19261 wine_fn_config_makefile dlls/cryptext enable_cryptext
19262 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19263 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19264 wine_fn_config_makefile dlls/cryptui enable_cryptui
19265 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19266 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19267 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19268 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19269 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19270 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19271 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19272 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19273 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19274 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19275 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19276 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19277 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19278 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19279 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19280 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19281 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19282 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19283 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19284 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19285 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19286 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19287 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19288 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19289 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19290 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19291 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19292 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19293 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19294 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19295 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19296 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19297 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19298 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19299 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19300 wine_fn_config_makefile dlls/d3dim enable_d3dim
19301 wine_fn_config_makefile dlls/d3drm enable_d3drm
19302 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19303 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19304 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19305 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19306 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19307 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19308 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19309 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19310 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19311 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19312 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19313 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19314 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19315 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19316 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19317 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19318 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19319 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19320 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19321 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19322 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19323 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19324 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19325 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19326 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19327 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19328 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19329 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19330 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19331 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19332 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19333 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19334 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19335 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19336 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19337 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19338 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19339 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19340 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19341 wine_fn_config_makefile dlls/davclnt enable_davclnt
19342 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19343 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19344 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19345 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19346 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19347 wine_fn_config_makefile dlls/ddraw enable_ddraw
19348 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19349 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19350 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19351 wine_fn_config_makefile dlls/devenum enable_devenum
19352 wine_fn_config_makefile dlls/devenum/tests enable_tests
19353 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19354 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19355 wine_fn_config_makefile dlls/difxapi enable_difxapi
19356 wine_fn_config_makefile dlls/dinput enable_dinput
19357 wine_fn_config_makefile dlls/dinput/tests enable_tests
19358 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19359 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19360 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19361 wine_fn_config_makefile dlls/dispex enable_dispex
19362 wine_fn_config_makefile dlls/dispex/tests enable_tests
19363 wine_fn_config_makefile dlls/display.drv16 enable_win16
19364 wine_fn_config_makefile dlls/dmband enable_dmband
19365 wine_fn_config_makefile dlls/dmband/tests enable_tests
19366 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19367 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19368 wine_fn_config_makefile dlls/dmime enable_dmime
19369 wine_fn_config_makefile dlls/dmime/tests enable_tests
19370 wine_fn_config_makefile dlls/dmloader enable_dmloader
19371 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19372 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19373 wine_fn_config_makefile dlls/dmscript enable_dmscript
19374 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19375 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19376 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19377 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19378 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19379 wine_fn_config_makefile dlls/dmusic enable_dmusic
19380 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19381 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19382 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19383 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19384 wine_fn_config_makefile dlls/dplay enable_dplay
19385 wine_fn_config_makefile dlls/dplayx enable_dplayx
19386 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19387 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19388 wine_fn_config_makefile dlls/dpnet enable_dpnet
19389 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19390 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19391 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19392 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19393 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19394 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19395 wine_fn_config_makefile dlls/drmclien enable_drmclien
19396 wine_fn_config_makefile dlls/dsound enable_dsound
19397 wine_fn_config_makefile dlls/dsound/tests enable_tests
19398 wine_fn_config_makefile dlls/dsquery enable_dsquery
19399 wine_fn_config_makefile dlls/dssenh enable_dssenh
19400 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19401 wine_fn_config_makefile dlls/dswave enable_dswave
19402 wine_fn_config_makefile dlls/dswave/tests enable_tests
19403 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19404 wine_fn_config_makefile dlls/dwrite enable_dwrite
19405 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19406 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19407 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19408 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19409 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19410 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19411 wine_fn_config_makefile dlls/dxgi enable_dxgi
19412 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19413 wine_fn_config_makefile dlls/dxguid enable_dxguid
19414 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19415 wine_fn_config_makefile dlls/esent enable_esent
19416 wine_fn_config_makefile dlls/evr enable_evr
19417 wine_fn_config_makefile dlls/evr/tests enable_tests
19418 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19419 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19420 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19421 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19422 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19423 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19424 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19425 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19426 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19427 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19428 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19429 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19443 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19444 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19449 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
19450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19455 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19456 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19458 wine_fn_config_makefile dlls/faultrep enable_faultrep
19459 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19460 wine_fn_config_makefile dlls/feclient enable_feclient
19461 wine_fn_config_makefile dlls/fltlib enable_fltlib
19462 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19463 wine_fn_config_makefile dlls/fntcache enable_fntcache
19464 wine_fn_config_makefile dlls/fontsub enable_fontsub
19465 wine_fn_config_makefile dlls/fusion enable_fusion
19466 wine_fn_config_makefile dlls/fusion/tests enable_tests
19467 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19468 wine_fn_config_makefile dlls/gameux enable_gameux
19469 wine_fn_config_makefile dlls/gameux/tests enable_tests
19470 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19471 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19472 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19473 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19474 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19475 wine_fn_config_makefile dlls/glu32 enable_glu32
19476 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19477 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19478 wine_fn_config_makefile dlls/hal enable_hal
19479 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19480 wine_fn_config_makefile dlls/hid enable_hid
19481 wine_fn_config_makefile dlls/hid/tests enable_tests
19482 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19483 wine_fn_config_makefile dlls/hlink enable_hlink
19484 wine_fn_config_makefile dlls/hlink/tests enable_tests
19485 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19486 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19487 wine_fn_config_makefile dlls/httpapi enable_httpapi
19488 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19489 wine_fn_config_makefile dlls/iccvid enable_iccvid
19490 wine_fn_config_makefile dlls/icmp enable_icmp
19491 wine_fn_config_makefile dlls/ieframe enable_ieframe
19492 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19493 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19494 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19495 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19496 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19497 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19498 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19499 wine_fn_config_makefile dlls/imm32 enable_imm32
19500 wine_fn_config_makefile dlls/imm32/tests enable_tests
19501 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19502 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19503 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19504 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19505 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19506 wine_fn_config_makefile dlls/infosoft enable_infosoft
19507 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19508 wine_fn_config_makefile dlls/initpki enable_initpki
19509 wine_fn_config_makefile dlls/inkobj enable_inkobj
19510 wine_fn_config_makefile dlls/inseng enable_inseng
19511 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19512 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19513 wine_fn_config_makefile dlls/iprop enable_iprop
19514 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19515 wine_fn_config_makefile dlls/itircl enable_itircl
19516 wine_fn_config_makefile dlls/itss enable_itss
19517 wine_fn_config_makefile dlls/itss/tests enable_tests
19518 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19519 wine_fn_config_makefile dlls/jscript enable_jscript
19520 wine_fn_config_makefile dlls/jscript/tests enable_tests
19521 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19522 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19523 wine_fn_config_makefile dlls/kerberos enable_kerberos
19524 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19525 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19526 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19527 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19528 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19529 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19530 wine_fn_config_makefile dlls/ksuser enable_ksuser
19531 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19532 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19533 wine_fn_config_makefile dlls/loadperf enable_loadperf
19534 wine_fn_config_makefile dlls/localspl enable_localspl
19535 wine_fn_config_makefile dlls/localspl/tests enable_tests
19536 wine_fn_config_makefile dlls/localui enable_localui
19537 wine_fn_config_makefile dlls/localui/tests enable_tests
19538 wine_fn_config_makefile dlls/lz32 enable_lz32
19539 wine_fn_config_makefile dlls/lz32/tests enable_tests
19540 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19541 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19542 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19543 wine_fn_config_makefile dlls/mapistub enable_mapistub
19544 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19545 wine_fn_config_makefile dlls/mcicda enable_mcicda
19546 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19547 wine_fn_config_makefile dlls/mciseq enable_mciseq
19548 wine_fn_config_makefile dlls/mciwave enable_mciwave
19549 wine_fn_config_makefile dlls/mf enable_mf
19550 wine_fn_config_makefile dlls/mf/tests enable_tests
19551 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19552 wine_fn_config_makefile dlls/mfplat enable_mfplat
19553 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19554 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19555 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19556 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19557 wine_fn_config_makefile dlls/midimap enable_midimap
19558 wine_fn_config_makefile dlls/mlang enable_mlang
19559 wine_fn_config_makefile dlls/mlang/tests enable_tests
19560 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19561 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19562 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19563 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19564 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19565 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19566 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19567 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19568 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19569 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19570 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19571 wine_fn_config_makefile dlls/mpr enable_mpr
19572 wine_fn_config_makefile dlls/mpr/tests enable_tests
19573 wine_fn_config_makefile dlls/mprapi enable_mprapi
19574 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19575 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19576 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19577 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19578 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19579 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19580 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19581 wine_fn_config_makefile dlls/mscms enable_mscms
19582 wine_fn_config_makefile dlls/mscms/tests enable_tests
19583 wine_fn_config_makefile dlls/mscoree enable_mscoree
19584 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19585 wine_fn_config_makefile dlls/msctf enable_msctf
19586 wine_fn_config_makefile dlls/msctf/tests enable_tests
19587 wine_fn_config_makefile dlls/msctfp enable_msctfp
19588 wine_fn_config_makefile dlls/msdaps enable_msdaps
19589 wine_fn_config_makefile dlls/msdelta enable_msdelta
19590 wine_fn_config_makefile dlls/msdmo enable_msdmo
19591 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19592 wine_fn_config_makefile dlls/msdrm enable_msdrm
19593 wine_fn_config_makefile dlls/msftedit enable_msftedit
19594 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19595 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19596 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19597 wine_fn_config_makefile dlls/mshtml enable_mshtml
19598 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19599 wine_fn_config_makefile dlls/msi enable_msi
19600 wine_fn_config_makefile dlls/msi/tests enable_tests
19601 wine_fn_config_makefile dlls/msident enable_msident
19602 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19603 wine_fn_config_makefile dlls/msimsg enable_msimsg
19604 wine_fn_config_makefile dlls/msimtf enable_msimtf
19605 wine_fn_config_makefile dlls/msisip enable_msisip
19606 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19607 wine_fn_config_makefile dlls/msls31 enable_msls31
19608 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19609 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19610 wine_fn_config_makefile dlls/msports enable_msports
19611 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19612 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19613 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19614 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19615 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19616 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19617 wine_fn_config_makefile dlls/mstask enable_mstask
19618 wine_fn_config_makefile dlls/mstask/tests enable_tests
19619 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19620 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19621 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19622 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19623 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19624 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19625 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19626 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19627 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19628 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19629 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19630 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19631 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19632 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19633 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19634 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19635 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19636 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19637 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19638 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19639 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19640 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19641 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19642 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19644 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19645 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19646 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19647 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19648 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19649 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19650 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19651 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19652 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19653 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19654 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19655 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19656 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19657 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19658 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19659 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19660 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19661 wine_fn_config_makefile dlls/mswsock enable_mswsock
19662 wine_fn_config_makefile dlls/msxml enable_msxml
19663 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19664 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19665 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19666 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19667 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19668 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19669 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19670 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19671 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19672 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19673 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19674 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19675 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19676 wine_fn_config_makefile dlls/netprofm enable_netprofm
19677 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19678 wine_fn_config_makefile dlls/newdev enable_newdev
19679 wine_fn_config_makefile dlls/ninput enable_ninput
19680 wine_fn_config_makefile dlls/ninput/tests enable_tests
19681 wine_fn_config_makefile dlls/normaliz enable_normaliz
19682 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19683 wine_fn_config_makefile dlls/npptools enable_npptools
19684 wine_fn_config_makefile dlls/ntdll enable_ntdll
19685 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19686 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19687 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19688 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19689 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19690 wine_fn_config_makefile dlls/ntprint enable_ntprint
19691 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19692 wine_fn_config_makefile dlls/objsel enable_objsel
19693 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19694 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19695 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19696 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19697 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19698 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19699 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19700 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19701 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19702 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19703 wine_fn_config_makefile dlls/ole32 enable_ole32
19704 wine_fn_config_makefile dlls/ole32/tests enable_tests
19705 wine_fn_config_makefile dlls/oleacc enable_oleacc
19706 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19707 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19708 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19709 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19710 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19711 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19712 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19713 wine_fn_config_makefile dlls/oledlg enable_oledlg
19714 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19715 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19716 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19717 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19718 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19719 wine_fn_config_makefile dlls/opcservices enable_opcservices
19720 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19721 wine_fn_config_makefile dlls/openal32 enable_openal32
19722 wine_fn_config_makefile dlls/opencl enable_opencl
19723 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19724 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19725 wine_fn_config_makefile dlls/packager enable_packager
19726 wine_fn_config_makefile dlls/packager/tests enable_tests
19727 wine_fn_config_makefile dlls/pdh enable_pdh
19728 wine_fn_config_makefile dlls/pdh/tests enable_tests
19729 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19730 wine_fn_config_makefile dlls/pidgen enable_pidgen
19731 wine_fn_config_makefile dlls/powrprof enable_powrprof
19732 wine_fn_config_makefile dlls/printui enable_printui
19733 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19734 wine_fn_config_makefile dlls/propsys enable_propsys
19735 wine_fn_config_makefile dlls/propsys/tests enable_tests
19736 wine_fn_config_makefile dlls/psapi enable_psapi
19737 wine_fn_config_makefile dlls/psapi/tests enable_tests
19738 wine_fn_config_makefile dlls/pstorec enable_pstorec
19739 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19740 wine_fn_config_makefile dlls/qcap enable_qcap
19741 wine_fn_config_makefile dlls/qcap/tests enable_tests
19742 wine_fn_config_makefile dlls/qedit enable_qedit
19743 wine_fn_config_makefile dlls/qedit/tests enable_tests
19744 wine_fn_config_makefile dlls/qmgr enable_qmgr
19745 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19746 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19747 wine_fn_config_makefile dlls/quartz enable_quartz
19748 wine_fn_config_makefile dlls/quartz/tests enable_tests
19749 wine_fn_config_makefile dlls/query enable_query
19750 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19751 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19752 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19753 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19754 wine_fn_config_makefile dlls/regapi enable_regapi
19755 wine_fn_config_makefile dlls/resutils enable_resutils
19756 wine_fn_config_makefile dlls/riched20 enable_riched20
19757 wine_fn_config_makefile dlls/riched20/tests enable_tests
19758 wine_fn_config_makefile dlls/riched32 enable_riched32
19759 wine_fn_config_makefile dlls/riched32/tests enable_tests
19760 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19761 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19762 wine_fn_config_makefile dlls/rsabase enable_rsabase
19763 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19764 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19765 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19766 wine_fn_config_makefile dlls/rtutils enable_rtutils
19767 wine_fn_config_makefile dlls/samlib enable_samlib
19768 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19769 wine_fn_config_makefile dlls/sapi enable_sapi
19770 wine_fn_config_makefile dlls/sapi/tests enable_tests
19771 wine_fn_config_makefile dlls/sas enable_sas
19772 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19773 wine_fn_config_makefile dlls/sccbase enable_sccbase
19774 wine_fn_config_makefile dlls/schannel enable_schannel
19775 wine_fn_config_makefile dlls/schannel/tests enable_tests
19776 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19777 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19778 wine_fn_config_makefile dlls/scrobj enable_scrobj
19779 wine_fn_config_makefile dlls/scrrun enable_scrrun
19780 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19781 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19782 wine_fn_config_makefile dlls/secur32 enable_secur32
19783 wine_fn_config_makefile dlls/secur32/tests enable_tests
19784 wine_fn_config_makefile dlls/security enable_security
19785 wine_fn_config_makefile dlls/sensapi enable_sensapi
19786 wine_fn_config_makefile dlls/serialui enable_serialui
19787 wine_fn_config_makefile dlls/serialui/tests enable_tests
19788 wine_fn_config_makefile dlls/setupapi enable_setupapi
19789 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19790 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19791 wine_fn_config_makefile dlls/sfc enable_sfc
19792 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19793 wine_fn_config_makefile dlls/shcore enable_shcore
19794 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19795 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19796 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19797 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19798 wine_fn_config_makefile dlls/shell32 enable_shell32
19799 wine_fn_config_makefile dlls/shell32/tests enable_tests
19800 wine_fn_config_makefile dlls/shfolder enable_shfolder
19801 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19802 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19803 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19804 wine_fn_config_makefile dlls/slc enable_slc
19805 wine_fn_config_makefile dlls/slc/tests enable_tests
19806 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19807 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19808 wine_fn_config_makefile dlls/softpub enable_softpub
19809 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19810 wine_fn_config_makefile dlls/spoolss enable_spoolss
19811 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19812 wine_fn_config_makefile dlls/srclient enable_srclient
19813 wine_fn_config_makefile dlls/sspicli enable_sspicli
19814 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19815 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19816 wine_fn_config_makefile dlls/sti enable_sti
19817 wine_fn_config_makefile dlls/sti/tests enable_tests
19818 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19819 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19820 wine_fn_config_makefile dlls/strmbase enable_strmbase
19821 wine_fn_config_makefile dlls/strmdll enable_strmdll
19822 wine_fn_config_makefile dlls/strmiids enable_strmiids
19823 wine_fn_config_makefile dlls/svrapi enable_svrapi
19824 wine_fn_config_makefile dlls/sxs enable_sxs
19825 wine_fn_config_makefile dlls/sxs/tests enable_tests
19826 wine_fn_config_makefile dlls/system.drv16 enable_win16
19827 wine_fn_config_makefile dlls/t2embed enable_t2embed
19828 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19829 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19830 wine_fn_config_makefile dlls/taskschd enable_taskschd
19831 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19832 wine_fn_config_makefile dlls/tdh enable_tdh
19833 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19834 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19835 wine_fn_config_makefile dlls/traffic enable_traffic
19836 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19837 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19838 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19839 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19840 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19841 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19842 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19843 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19844 wine_fn_config_makefile dlls/unicows enable_unicows
19845 wine_fn_config_makefile dlls/updspapi enable_updspapi
19846 wine_fn_config_makefile dlls/url enable_url
19847 wine_fn_config_makefile dlls/urlmon enable_urlmon
19848 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19849 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19850 wine_fn_config_makefile dlls/user.exe16 enable_win16
19851 wine_fn_config_makefile dlls/user32 enable_user32
19852 wine_fn_config_makefile dlls/user32/tests enable_tests
19853 wine_fn_config_makefile dlls/userenv enable_userenv
19854 wine_fn_config_makefile dlls/userenv/tests enable_tests
19855 wine_fn_config_makefile dlls/usp10 enable_usp10
19856 wine_fn_config_makefile dlls/usp10/tests enable_tests
19857 wine_fn_config_makefile dlls/uuid enable_uuid
19858 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19859 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19860 wine_fn_config_makefile dlls/vbscript enable_vbscript
19861 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19862 wine_fn_config_makefile dlls/vcomp enable_vcomp
19863 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19864 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19865 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19866 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19867 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19868 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19869 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19870 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19871 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19872 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19873 wine_fn_config_makefile dlls/version enable_version
19874 wine_fn_config_makefile dlls/version/tests enable_tests
19875 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19876 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19877 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19878 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19879 wine_fn_config_makefile dlls/vssapi enable_vssapi
19880 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19881 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19882 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19883 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19884 wine_fn_config_makefile dlls/w32skrnl enable_win16
19885 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19886 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19887 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19888 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19889 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19890 wine_fn_config_makefile dlls/wdscore enable_wdscore
19891 wine_fn_config_makefile dlls/webservices enable_webservices
19892 wine_fn_config_makefile dlls/webservices/tests enable_tests
19893 wine_fn_config_makefile dlls/wer enable_wer
19894 wine_fn_config_makefile dlls/wer/tests enable_tests
19895 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19896 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19897 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19898 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19899 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19900 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19901 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19902 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19903 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19904 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19905 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19906 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19907 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19908 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19909 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19910 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19911 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19912 wine_fn_config_makefile dlls/wined3d enable_wined3d
19913 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19914 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19915 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19916 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19917 wine_fn_config_makefile dlls/winemapi enable_winemapi
19918 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19919 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19920 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19921 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19922 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19923 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19924 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19925 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19926 wine_fn_config_makefile dlls/wing32 enable_wing32
19927 wine_fn_config_makefile dlls/winhttp enable_winhttp
19928 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19929 wine_fn_config_makefile dlls/wininet enable_wininet
19930 wine_fn_config_makefile dlls/wininet/tests enable_tests
19931 wine_fn_config_makefile dlls/winmm enable_winmm
19932 wine_fn_config_makefile dlls/winmm/tests enable_tests
19933 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19934 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19935 wine_fn_config_makefile dlls/winscard enable_winscard
19936 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19937 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19938 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19939 wine_fn_config_makefile dlls/winsta enable_winsta
19940 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19941 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19942 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19943 wine_fn_config_makefile dlls/wintrust enable_wintrust
19944 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19945 wine_fn_config_makefile dlls/winusb enable_winusb
19946 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19947 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19948 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19949 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19950 wine_fn_config_makefile dlls/wmasf enable_wmasf
19951 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19952 wine_fn_config_makefile dlls/wmi enable_wmi
19953 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19954 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19955 wine_fn_config_makefile dlls/wmp enable_wmp
19956 wine_fn_config_makefile dlls/wmp/tests enable_tests
19957 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19958 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19959 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19960 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19961 wine_fn_config_makefile dlls/wow32 enable_win16
19962 wine_fn_config_makefile dlls/wpc enable_wpc
19963 wine_fn_config_makefile dlls/wpc/tests enable_tests
19964 wine_fn_config_makefile dlls/wpcap enable_wpcap
19965 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19966 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19967 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19968 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19969 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19970 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19971 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19972 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19973 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19974 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19975 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19976 wine_fn_config_makefile dlls/wuapi enable_wuapi
19977 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19978 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19979 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19980 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19981 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19982 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19983 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19984 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19985 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19986 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19987 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19988 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19989 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19990 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19991 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19992 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19993 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19994 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19995 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19996 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19997 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19998 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19999 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20000 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20001 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20002 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20003 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20004 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20005 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20006 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20007 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20008 wine_fn_config_makefile dlls/xmllite enable_xmllite
20009 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20010 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20011 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20012 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20013 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20014 wine_fn_config_makefile include enable_include
20015 wine_fn_config_makefile libs/port enable_port
20016 wine_fn_config_makefile libs/wine enable_wine
20017 wine_fn_config_makefile libs/wpp enable_wpp
20018 wine_fn_config_makefile loader enable_loader
20019 wine_fn_config_makefile po enable_po
20020 wine_fn_config_makefile programs/arp enable_arp
20021 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20022 wine_fn_config_makefile programs/attrib enable_attrib
20023 wine_fn_config_makefile programs/cabarc enable_cabarc
20024 wine_fn_config_makefile programs/cacls enable_cacls
20025 wine_fn_config_makefile programs/clock enable_clock
20026 wine_fn_config_makefile programs/cmd enable_cmd
20027 wine_fn_config_makefile programs/cmd/tests enable_tests
20028 wine_fn_config_makefile programs/conhost enable_conhost
20029 wine_fn_config_makefile programs/control enable_control
20030 wine_fn_config_makefile programs/cscript enable_cscript
20031 wine_fn_config_makefile programs/dism enable_dism
20032 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20033 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20034 wine_fn_config_makefile programs/eject enable_eject
20035 wine_fn_config_makefile programs/expand enable_expand
20036 wine_fn_config_makefile programs/explorer enable_explorer
20037 wine_fn_config_makefile programs/extrac32 enable_extrac32
20038 wine_fn_config_makefile programs/fc enable_fc
20039 wine_fn_config_makefile programs/find enable_find
20040 wine_fn_config_makefile programs/findstr enable_findstr
20041 wine_fn_config_makefile programs/fsutil enable_fsutil
20042 wine_fn_config_makefile programs/hh enable_hh
20043 wine_fn_config_makefile programs/hostname enable_hostname
20044 wine_fn_config_makefile programs/icacls enable_icacls
20045 wine_fn_config_makefile programs/icinfo enable_icinfo
20046 wine_fn_config_makefile programs/iexplore enable_iexplore
20047 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20048 wine_fn_config_makefile programs/lodctr enable_lodctr
20049 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20050 wine_fn_config_makefile programs/mshta enable_mshta
20051 wine_fn_config_makefile programs/msiexec enable_msiexec
20052 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20053 wine_fn_config_makefile programs/net enable_net
20054 wine_fn_config_makefile programs/netsh enable_netsh
20055 wine_fn_config_makefile programs/netstat enable_netstat
20056 wine_fn_config_makefile programs/ngen enable_ngen
20057 wine_fn_config_makefile programs/notepad enable_notepad
20058 wine_fn_config_makefile programs/oleview enable_oleview
20059 wine_fn_config_makefile programs/ping enable_ping
20060 wine_fn_config_makefile programs/plugplay enable_plugplay
20061 wine_fn_config_makefile programs/powershell enable_powershell
20062 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20063 wine_fn_config_makefile programs/progman enable_progman
20064 wine_fn_config_makefile programs/reg enable_reg
20065 wine_fn_config_makefile programs/reg/tests enable_tests
20066 wine_fn_config_makefile programs/regasm enable_regasm
20067 wine_fn_config_makefile programs/regedit enable_regedit
20068 wine_fn_config_makefile programs/regedit/tests enable_tests
20069 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20070 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20071 wine_fn_config_makefile programs/rpcss enable_rpcss
20072 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20073 wine_fn_config_makefile programs/rundll32 enable_rundll32
20074 wine_fn_config_makefile programs/sc enable_sc
20075 wine_fn_config_makefile programs/schtasks enable_schtasks
20076 wine_fn_config_makefile programs/schtasks/tests enable_tests
20077 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20078 wine_fn_config_makefile programs/secedit enable_secedit
20079 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20080 wine_fn_config_makefile programs/services enable_services
20081 wine_fn_config_makefile programs/services/tests enable_tests
20082 wine_fn_config_makefile programs/shutdown enable_shutdown
20083 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20084 wine_fn_config_makefile programs/start enable_start
20085 wine_fn_config_makefile programs/subst enable_subst
20086 wine_fn_config_makefile programs/svchost enable_svchost
20087 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20088 wine_fn_config_makefile programs/taskkill enable_taskkill
20089 wine_fn_config_makefile programs/tasklist enable_tasklist
20090 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20091 wine_fn_config_makefile programs/termsv enable_termsv
20092 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20093 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20094 wine_fn_config_makefile programs/view enable_view
20095 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20096 wine_fn_config_makefile programs/wineboot enable_wineboot
20097 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20098 wine_fn_config_makefile programs/winecfg enable_winecfg
20099 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20100 wine_fn_config_makefile programs/winedbg enable_winedbg
20101 wine_fn_config_makefile programs/winedevice enable_winedevice
20102 wine_fn_config_makefile programs/winefile enable_winefile
20103 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20104 wine_fn_config_makefile programs/winemine enable_winemine
20105 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20106 wine_fn_config_makefile programs/winepath enable_winepath
20107 wine_fn_config_makefile programs/winetest enable_winetest
20108 wine_fn_config_makefile programs/winevdm enable_win16
20109 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20110 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20111 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20112 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20113 wine_fn_config_makefile programs/winver enable_winver
20114 wine_fn_config_makefile programs/wmic enable_wmic
20115 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20116 wine_fn_config_makefile programs/wordpad enable_wordpad
20117 wine_fn_config_makefile programs/write enable_write
20118 wine_fn_config_makefile programs/wscript enable_wscript
20119 wine_fn_config_makefile programs/wscript/tests enable_tests
20120 wine_fn_config_makefile programs/wusa enable_wusa
20121 wine_fn_config_makefile programs/xcopy enable_xcopy
20122 wine_fn_config_makefile programs/xcopy/tests enable_tests
20123 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20124 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20125 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20126 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20128 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20129 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20131 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20132 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20135 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20136 wine_fn_append_file CONFIGURE_TARGETS "tags"
20137 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20138 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20139 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20140 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20141 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20142 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20144 if test "x$enable_tools" != xno
20145 then
20146 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20147 ac_config_commands="$ac_config_commands tools/makedep"
20151 ac_config_commands="$ac_config_commands Makefile"
20154 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20158 if test "x$enable_maintainer_mode" = xyes
20159 then
20160 wine_fn_append_rule "configure: configure.ac aclocal.m4
20161 autoconf --warnings=all
20162 include/config.h.in: include/stamp-h.in
20163 include/stamp-h.in: configure.ac aclocal.m4
20164 autoheader --warnings=all
20165 @echo timestamp > \$@"
20168 if test "x$enable_tools" != xno
20169 then
20170 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20171 @./config.status tools/makedep
20172 Makefile: tools/makedep$ac_exeext
20173 fonts: tools/sfnt2fon
20174 include: tools tools/widl"
20175 else
20176 wine_fn_append_rule "\$(MAKEDEP):
20177 @echo \"You need to run make in $TOOLSDIR first\" && false"
20180 if test -n "$with_wine64"
20181 then
20182 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20183 fonts server:
20184 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20185 $with_wine64/loader/wine:
20186 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20187 $with_wine64/loader/wine-preloader:
20188 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20189 clean::
20190 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20191 else
20192 WINELOADER_INSTALL="wine.inf l_intl.nls"
20194 case $host_os in
20195 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20196 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20197 esac
20200 $as_echo " done" >&6
20201 cat >confcache <<\_ACEOF
20202 # This file is a shell script that caches the results of configure
20203 # tests run on this system so they can be shared between configure
20204 # scripts and configure runs, see configure's option --config-cache.
20205 # It is not useful on other systems. If it contains results you don't
20206 # want to keep, you may remove or edit it.
20208 # config.status only pays attention to the cache file if you give it
20209 # the --recheck option to rerun configure.
20211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20213 # following values.
20215 _ACEOF
20217 # The following way of writing the cache mishandles newlines in values,
20218 # but we know of no workaround that is simple, portable, and efficient.
20219 # So, we kill variables containing newlines.
20220 # Ultrix sh set writes to stderr and can't be redirected directly,
20221 # and sets the high bit in the cache file unless we assign to the vars.
20223 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20224 eval ac_val=\$$ac_var
20225 case $ac_val in #(
20226 *${as_nl}*)
20227 case $ac_var in #(
20228 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20229 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20230 esac
20231 case $ac_var in #(
20232 _ | IFS | as_nl) ;; #(
20233 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20234 *) { eval $ac_var=; unset $ac_var;} ;;
20235 esac ;;
20236 esac
20237 done
20239 (set) 2>&1 |
20240 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20241 *${as_nl}ac_space=\ *)
20242 # `set' does not quote correctly, so add quotes: double-quote
20243 # substitution turns \\\\ into \\, and sed turns \\ into \.
20244 sed -n \
20245 "s/'/'\\\\''/g;
20246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20247 ;; #(
20249 # `set' quotes correctly as required by POSIX, so do not add quotes.
20250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20252 esac |
20253 sort
20255 sed '
20256 /^ac_cv_env_/b end
20257 t clear
20258 :clear
20259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20260 t end
20261 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20262 :end' >>confcache
20263 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20264 if test -w "$cache_file"; then
20265 if test "x$cache_file" != "x/dev/null"; then
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20267 $as_echo "$as_me: updating cache $cache_file" >&6;}
20268 if test ! -f "$cache_file" || test -h "$cache_file"; then
20269 cat confcache >"$cache_file"
20270 else
20271 case $cache_file in #(
20272 */* | ?:*)
20273 mv -f confcache "$cache_file"$$ &&
20274 mv -f "$cache_file"$$ "$cache_file" ;; #(
20276 mv -f confcache "$cache_file" ;;
20277 esac
20280 else
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20282 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20285 rm -f confcache
20287 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20288 # Let make expand exec_prefix.
20289 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20291 DEFS=-DHAVE_CONFIG_H
20293 ac_libobjs=
20294 ac_ltlibobjs=
20296 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20297 # 1. Remove the extension, and $U if already installed.
20298 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20299 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20300 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20301 # will be set to the directory where LIBOBJS objects are built.
20302 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20303 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20304 done
20305 LIBOBJS=$ac_libobjs
20307 LTLIBOBJS=$ac_ltlibobjs
20311 : "${CONFIG_STATUS=./config.status}"
20312 ac_write_fail=0
20313 ac_clean_files_save=$ac_clean_files
20314 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20316 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20317 as_write_fail=0
20318 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20319 #! $SHELL
20320 # Generated by $as_me.
20321 # Run this file to recreate the current configuration.
20322 # Compiler output produced by configure, useful for debugging
20323 # configure, is in config.log if it exists.
20325 debug=false
20326 ac_cs_recheck=false
20327 ac_cs_silent=false
20329 SHELL=\${CONFIG_SHELL-$SHELL}
20330 export SHELL
20331 _ASEOF
20332 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20333 ## -------------------- ##
20334 ## M4sh Initialization. ##
20335 ## -------------------- ##
20337 # Be more Bourne compatible
20338 DUALCASE=1; export DUALCASE # for MKS sh
20339 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20340 emulate sh
20341 NULLCMD=:
20342 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20343 # is contrary to our usage. Disable this feature.
20344 alias -g '${1+"$@"}'='"$@"'
20345 setopt NO_GLOB_SUBST
20346 else
20347 case `(set -o) 2>/dev/null` in #(
20348 *posix*) :
20349 set -o posix ;; #(
20350 *) :
20352 esac
20356 as_nl='
20358 export as_nl
20359 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20360 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20361 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20362 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20363 # Prefer a ksh shell builtin over an external printf program on Solaris,
20364 # but without wasting forks for bash or zsh.
20365 if test -z "$BASH_VERSION$ZSH_VERSION" \
20366 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20367 as_echo='print -r --'
20368 as_echo_n='print -rn --'
20369 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20370 as_echo='printf %s\n'
20371 as_echo_n='printf %s'
20372 else
20373 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20374 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20375 as_echo_n='/usr/ucb/echo -n'
20376 else
20377 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20378 as_echo_n_body='eval
20379 arg=$1;
20380 case $arg in #(
20381 *"$as_nl"*)
20382 expr "X$arg" : "X\\(.*\\)$as_nl";
20383 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20384 esac;
20385 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20387 export as_echo_n_body
20388 as_echo_n='sh -c $as_echo_n_body as_echo'
20390 export as_echo_body
20391 as_echo='sh -c $as_echo_body as_echo'
20394 # The user is always right.
20395 if test "${PATH_SEPARATOR+set}" != set; then
20396 PATH_SEPARATOR=:
20397 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20398 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20399 PATH_SEPARATOR=';'
20404 # IFS
20405 # We need space, tab and new line, in precisely that order. Quoting is
20406 # there to prevent editors from complaining about space-tab.
20407 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20408 # splitting by setting IFS to empty value.)
20409 IFS=" "" $as_nl"
20411 # Find who we are. Look in the path if we contain no directory separator.
20412 as_myself=
20413 case $0 in #((
20414 *[\\/]* ) as_myself=$0 ;;
20415 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20416 for as_dir in $PATH
20418 IFS=$as_save_IFS
20419 test -z "$as_dir" && as_dir=.
20420 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20421 done
20422 IFS=$as_save_IFS
20425 esac
20426 # We did not find ourselves, most probably we were run as `sh COMMAND'
20427 # in which case we are not to be found in the path.
20428 if test "x$as_myself" = x; then
20429 as_myself=$0
20431 if test ! -f "$as_myself"; then
20432 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20433 exit 1
20436 # Unset variables that we do not need and which cause bugs (e.g. in
20437 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20438 # suppresses any "Segmentation fault" message there. '((' could
20439 # trigger a bug in pdksh 5.2.14.
20440 for as_var in BASH_ENV ENV MAIL MAILPATH
20441 do eval test x\${$as_var+set} = xset \
20442 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20443 done
20444 PS1='$ '
20445 PS2='> '
20446 PS4='+ '
20448 # NLS nuisances.
20449 LC_ALL=C
20450 export LC_ALL
20451 LANGUAGE=C
20452 export LANGUAGE
20454 # CDPATH.
20455 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20458 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20459 # ----------------------------------------
20460 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20461 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20462 # script with STATUS, using 1 if that was 0.
20463 as_fn_error ()
20465 as_status=$1; test $as_status -eq 0 && as_status=1
20466 if test "$4"; then
20467 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20468 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20470 $as_echo "$as_me: error: $2" >&2
20471 as_fn_exit $as_status
20472 } # as_fn_error
20475 # as_fn_set_status STATUS
20476 # -----------------------
20477 # Set $? to STATUS, without forking.
20478 as_fn_set_status ()
20480 return $1
20481 } # as_fn_set_status
20483 # as_fn_exit STATUS
20484 # -----------------
20485 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20486 as_fn_exit ()
20488 set +e
20489 as_fn_set_status $1
20490 exit $1
20491 } # as_fn_exit
20493 # as_fn_unset VAR
20494 # ---------------
20495 # Portably unset VAR.
20496 as_fn_unset ()
20498 { eval $1=; unset $1;}
20500 as_unset=as_fn_unset
20501 # as_fn_append VAR VALUE
20502 # ----------------------
20503 # Append the text in VALUE to the end of the definition contained in VAR. Take
20504 # advantage of any shell optimizations that allow amortized linear growth over
20505 # repeated appends, instead of the typical quadratic growth present in naive
20506 # implementations.
20507 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20508 eval 'as_fn_append ()
20510 eval $1+=\$2
20512 else
20513 as_fn_append ()
20515 eval $1=\$$1\$2
20517 fi # as_fn_append
20519 # as_fn_arith ARG...
20520 # ------------------
20521 # Perform arithmetic evaluation on the ARGs, and store the result in the
20522 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20523 # must be portable across $(()) and expr.
20524 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20525 eval 'as_fn_arith ()
20527 as_val=$(( $* ))
20529 else
20530 as_fn_arith ()
20532 as_val=`expr "$@" || test $? -eq 1`
20534 fi # as_fn_arith
20537 if expr a : '\(a\)' >/dev/null 2>&1 &&
20538 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20539 as_expr=expr
20540 else
20541 as_expr=false
20544 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20545 as_basename=basename
20546 else
20547 as_basename=false
20550 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20551 as_dirname=dirname
20552 else
20553 as_dirname=false
20556 as_me=`$as_basename -- "$0" ||
20557 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20558 X"$0" : 'X\(//\)$' \| \
20559 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20560 $as_echo X/"$0" |
20561 sed '/^.*\/\([^/][^/]*\)\/*$/{
20562 s//\1/
20565 /^X\/\(\/\/\)$/{
20566 s//\1/
20569 /^X\/\(\/\).*/{
20570 s//\1/
20573 s/.*/./; q'`
20575 # Avoid depending upon Character Ranges.
20576 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20577 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20578 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20579 as_cr_digits='0123456789'
20580 as_cr_alnum=$as_cr_Letters$as_cr_digits
20582 ECHO_C= ECHO_N= ECHO_T=
20583 case `echo -n x` in #(((((
20584 -n*)
20585 case `echo 'xy\c'` in
20586 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20587 xy) ECHO_C='\c';;
20588 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20589 ECHO_T=' ';;
20590 esac;;
20592 ECHO_N='-n';;
20593 esac
20595 rm -f conf$$ conf$$.exe conf$$.file
20596 if test -d conf$$.dir; then
20597 rm -f conf$$.dir/conf$$.file
20598 else
20599 rm -f conf$$.dir
20600 mkdir conf$$.dir 2>/dev/null
20602 if (echo >conf$$.file) 2>/dev/null; then
20603 if ln -s conf$$.file conf$$ 2>/dev/null; then
20604 as_ln_s='ln -s'
20605 # ... but there are two gotchas:
20606 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20607 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20608 # In both cases, we have to default to `cp -pR'.
20609 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20610 as_ln_s='cp -pR'
20611 elif ln conf$$.file conf$$ 2>/dev/null; then
20612 as_ln_s=ln
20613 else
20614 as_ln_s='cp -pR'
20616 else
20617 as_ln_s='cp -pR'
20619 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20620 rmdir conf$$.dir 2>/dev/null
20623 # as_fn_mkdir_p
20624 # -------------
20625 # Create "$as_dir" as a directory, including parents if necessary.
20626 as_fn_mkdir_p ()
20629 case $as_dir in #(
20630 -*) as_dir=./$as_dir;;
20631 esac
20632 test -d "$as_dir" || eval $as_mkdir_p || {
20633 as_dirs=
20634 while :; do
20635 case $as_dir in #(
20636 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20637 *) as_qdir=$as_dir;;
20638 esac
20639 as_dirs="'$as_qdir' $as_dirs"
20640 as_dir=`$as_dirname -- "$as_dir" ||
20641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20642 X"$as_dir" : 'X\(//\)[^/]' \| \
20643 X"$as_dir" : 'X\(//\)$' \| \
20644 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20645 $as_echo X"$as_dir" |
20646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20647 s//\1/
20650 /^X\(\/\/\)[^/].*/{
20651 s//\1/
20654 /^X\(\/\/\)$/{
20655 s//\1/
20658 /^X\(\/\).*/{
20659 s//\1/
20662 s/.*/./; q'`
20663 test -d "$as_dir" && break
20664 done
20665 test -z "$as_dirs" || eval "mkdir $as_dirs"
20666 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20669 } # as_fn_mkdir_p
20670 if mkdir -p . 2>/dev/null; then
20671 as_mkdir_p='mkdir -p "$as_dir"'
20672 else
20673 test -d ./-p && rmdir ./-p
20674 as_mkdir_p=false
20678 # as_fn_executable_p FILE
20679 # -----------------------
20680 # Test if FILE is an executable regular file.
20681 as_fn_executable_p ()
20683 test -f "$1" && test -x "$1"
20684 } # as_fn_executable_p
20685 as_test_x='test -x'
20686 as_executable_p=as_fn_executable_p
20688 # Sed expression to map a string onto a valid CPP name.
20689 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20691 # Sed expression to map a string onto a valid variable name.
20692 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20695 exec 6>&1
20696 ## ----------------------------------- ##
20697 ## Main body of $CONFIG_STATUS script. ##
20698 ## ----------------------------------- ##
20699 _ASEOF
20700 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20703 # Save the log message, to keep $0 and so on meaningful, and to
20704 # report actual input values of CONFIG_FILES etc. instead of their
20705 # values after options handling.
20706 ac_log="
20707 This file was extended by Wine $as_me 3.15, which was
20708 generated by GNU Autoconf 2.69. Invocation command line was
20710 CONFIG_FILES = $CONFIG_FILES
20711 CONFIG_HEADERS = $CONFIG_HEADERS
20712 CONFIG_LINKS = $CONFIG_LINKS
20713 CONFIG_COMMANDS = $CONFIG_COMMANDS
20714 $ $0 $@
20716 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20719 _ACEOF
20721 case $ac_config_files in *"
20722 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20723 esac
20725 case $ac_config_headers in *"
20726 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20727 esac
20730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20731 # Files that config.status was made for.
20732 config_files="$ac_config_files"
20733 config_headers="$ac_config_headers"
20734 config_links="$ac_config_links"
20735 config_commands="$ac_config_commands"
20737 _ACEOF
20739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20740 ac_cs_usage="\
20741 \`$as_me' instantiates files and other configuration actions
20742 from templates according to the current configuration. Unless the files
20743 and actions are specified as TAGs, all are instantiated by default.
20745 Usage: $0 [OPTION]... [TAG]...
20747 -h, --help print this help, then exit
20748 -V, --version print version number and configuration settings, then exit
20749 --config print configuration, then exit
20750 -q, --quiet, --silent
20751 do not print progress messages
20752 -d, --debug don't remove temporary files
20753 --recheck update $as_me by reconfiguring in the same conditions
20754 --file=FILE[:TEMPLATE]
20755 instantiate the configuration file FILE
20756 --header=FILE[:TEMPLATE]
20757 instantiate the configuration header FILE
20759 Configuration files:
20760 $config_files
20762 Configuration headers:
20763 $config_headers
20765 Configuration links:
20766 $config_links
20768 Configuration commands:
20769 $config_commands
20771 Report bugs to <wine-devel@winehq.org>.
20772 Wine home page: <https://www.winehq.org>."
20774 _ACEOF
20775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20776 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20777 ac_cs_version="\\
20778 Wine config.status 3.15
20779 configured by $0, generated by GNU Autoconf 2.69,
20780 with options \\"\$ac_cs_config\\"
20782 Copyright (C) 2012 Free Software Foundation, Inc.
20783 This config.status script is free software; the Free Software Foundation
20784 gives unlimited permission to copy, distribute and modify it."
20786 ac_pwd='$ac_pwd'
20787 srcdir='$srcdir'
20788 test -n "\$AWK" || AWK=awk
20789 _ACEOF
20791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20792 # The default lists apply if the user does not specify any file.
20793 ac_need_defaults=:
20794 while test $# != 0
20796 case $1 in
20797 --*=?*)
20798 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20799 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20800 ac_shift=:
20802 --*=)
20803 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20804 ac_optarg=
20805 ac_shift=:
20808 ac_option=$1
20809 ac_optarg=$2
20810 ac_shift=shift
20812 esac
20814 case $ac_option in
20815 # Handling of the options.
20816 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20817 ac_cs_recheck=: ;;
20818 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20819 $as_echo "$ac_cs_version"; exit ;;
20820 --config | --confi | --conf | --con | --co | --c )
20821 $as_echo "$ac_cs_config"; exit ;;
20822 --debug | --debu | --deb | --de | --d | -d )
20823 debug=: ;;
20824 --file | --fil | --fi | --f )
20825 $ac_shift
20826 case $ac_optarg in
20827 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20828 '') as_fn_error $? "missing file argument" ;;
20829 esac
20830 as_fn_append CONFIG_FILES " '$ac_optarg'"
20831 ac_need_defaults=false;;
20832 --header | --heade | --head | --hea )
20833 $ac_shift
20834 case $ac_optarg in
20835 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20836 esac
20837 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20838 ac_need_defaults=false;;
20839 --he | --h)
20840 # Conflict between --help and --header
20841 as_fn_error $? "ambiguous option: \`$1'
20842 Try \`$0 --help' for more information.";;
20843 --help | --hel | -h )
20844 $as_echo "$ac_cs_usage"; exit ;;
20845 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20846 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20847 ac_cs_silent=: ;;
20849 # This is an error.
20850 -*) as_fn_error $? "unrecognized option: \`$1'
20851 Try \`$0 --help' for more information." ;;
20853 *) as_fn_append ac_config_targets " $1"
20854 ac_need_defaults=false ;;
20856 esac
20857 shift
20858 done
20860 ac_configure_extra_args=
20862 if $ac_cs_silent; then
20863 exec 6>/dev/null
20864 ac_configure_extra_args="$ac_configure_extra_args --silent"
20867 _ACEOF
20868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20869 if \$ac_cs_recheck; then
20870 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20871 shift
20872 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20873 CONFIG_SHELL='$SHELL'
20874 export CONFIG_SHELL
20875 exec "\$@"
20878 _ACEOF
20879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20880 exec 5>>config.log
20882 echo
20883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20884 ## Running $as_me. ##
20885 _ASBOX
20886 $as_echo "$ac_log"
20887 } >&5
20889 _ACEOF
20890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20892 # INIT-COMMANDS
20894 wine_fn_output_makedep ()
20896 as_dir=tools; as_fn_mkdir_p
20897 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20899 wine_fn_output_makefile ()
20901 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20902 `cat $wine_rules_file`
20903 _WINE_EOF
20904 as_fn_error $? "could not create Makefile" "$LINENO" 5
20907 _ACEOF
20909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20911 # Handling of arguments.
20912 for ac_config_target in $ac_config_targets
20914 case $ac_config_target in
20915 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20916 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20917 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20918 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20919 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20920 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20921 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20922 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20923 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20924 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20925 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20926 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20927 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20929 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20930 esac
20931 done
20934 # If the user did not use the arguments to specify the items to instantiate,
20935 # then the envvar interface is used. Set only those that are not.
20936 # We use the long form for the default assignment because of an extremely
20937 # bizarre bug on SunOS 4.1.3.
20938 if $ac_need_defaults; then
20939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20940 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20941 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20945 # Have a temporary directory for convenience. Make it in the build tree
20946 # simply because there is no reason against having it here, and in addition,
20947 # creating and moving files from /tmp can sometimes cause problems.
20948 # Hook for its removal unless debugging.
20949 # Note that there is a small window in which the directory will not be cleaned:
20950 # after its creation but before its name has been assigned to `$tmp'.
20951 $debug ||
20953 tmp= ac_tmp=
20954 trap 'exit_status=$?
20955 : "${ac_tmp:=$tmp}"
20956 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20958 trap 'as_fn_exit 1' 1 2 13 15
20960 # Create a (secure) tmp directory for tmp files.
20963 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20964 test -d "$tmp"
20965 } ||
20967 tmp=./conf$$-$RANDOM
20968 (umask 077 && mkdir "$tmp")
20969 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20970 ac_tmp=$tmp
20972 # Set up the scripts for CONFIG_FILES section.
20973 # No need to generate them if there are no CONFIG_FILES.
20974 # This happens for instance with `./config.status config.h'.
20975 if test -n "$CONFIG_FILES"; then
20978 ac_cr=`echo X | tr X '\015'`
20979 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20980 # But we know of no other shell where ac_cr would be empty at this
20981 # point, so we can use a bashism as a fallback.
20982 if test "x$ac_cr" = x; then
20983 eval ac_cr=\$\'\\r\'
20985 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20986 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20987 ac_cs_awk_cr='\\r'
20988 else
20989 ac_cs_awk_cr=$ac_cr
20992 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20993 _ACEOF
20997 echo "cat >conf$$subs.awk <<_ACEOF" &&
20998 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20999 echo "_ACEOF"
21000 } >conf$$subs.sh ||
21001 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21002 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21003 ac_delim='%!_!# '
21004 for ac_last_try in false false false false false :; do
21005 . ./conf$$subs.sh ||
21006 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21008 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21009 if test $ac_delim_n = $ac_delim_num; then
21010 break
21011 elif $ac_last_try; then
21012 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21013 else
21014 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21016 done
21017 rm -f conf$$subs.sh
21019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21020 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21021 _ACEOF
21022 sed -n '
21024 s/^/S["/; s/!.*/"]=/
21027 s/^[^!]*!//
21028 :repl
21029 t repl
21030 s/'"$ac_delim"'$//
21031 t delim
21034 s/\(.\{148\}\)..*/\1/
21035 t more1
21036 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21039 b repl
21040 :more1
21041 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21044 s/.\{148\}//
21045 t nl
21046 :delim
21048 s/\(.\{148\}\)..*/\1/
21049 t more2
21050 s/["\\]/\\&/g; s/^/"/; s/$/"/
21053 :more2
21054 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21057 s/.\{148\}//
21058 t delim
21059 ' <conf$$subs.awk | sed '
21060 /^[^""]/{
21062 s/\n//
21064 ' >>$CONFIG_STATUS || ac_write_fail=1
21065 rm -f conf$$subs.awk
21066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21067 _ACAWK
21068 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21069 for (key in S) S_is_set[key] = 1
21070 FS = "\a"
21074 line = $ 0
21075 nfields = split(line, field, "@")
21076 substed = 0
21077 len = length(field[1])
21078 for (i = 2; i < nfields; i++) {
21079 key = field[i]
21080 keylen = length(key)
21081 if (S_is_set[key]) {
21082 value = S[key]
21083 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21084 len += length(value) + length(field[++i])
21085 substed = 1
21086 } else
21087 len += 1 + keylen
21090 print line
21093 _ACAWK
21094 _ACEOF
21095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21096 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21097 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21098 else
21100 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21101 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21102 _ACEOF
21104 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21105 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21106 # trailing colons and then remove the whole line if VPATH becomes empty
21107 # (actually we leave an empty line to preserve line numbers).
21108 if test "x$srcdir" = x.; then
21109 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21111 s///
21112 s/^/:/
21113 s/[ ]*$/:/
21114 s/:\$(srcdir):/:/g
21115 s/:\${srcdir}:/:/g
21116 s/:@srcdir@:/:/g
21117 s/^:*//
21118 s/:*$//
21120 s/\(=[ ]*\).*/\1/
21122 s/\n//
21123 s/^[^=]*=[ ]*$//
21127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21128 fi # test -n "$CONFIG_FILES"
21130 # Set up the scripts for CONFIG_HEADERS section.
21131 # No need to generate them if there are no CONFIG_HEADERS.
21132 # This happens for instance with `./config.status Makefile'.
21133 if test -n "$CONFIG_HEADERS"; then
21134 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21135 BEGIN {
21136 _ACEOF
21138 # Transform confdefs.h into an awk script `defines.awk', embedded as
21139 # here-document in config.status, that substitutes the proper values into
21140 # config.h.in to produce config.h.
21142 # Create a delimiter string that does not exist in confdefs.h, to ease
21143 # handling of long lines.
21144 ac_delim='%!_!# '
21145 for ac_last_try in false false :; do
21146 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21147 if test -z "$ac_tt"; then
21148 break
21149 elif $ac_last_try; then
21150 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21151 else
21152 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21154 done
21156 # For the awk script, D is an array of macro values keyed by name,
21157 # likewise P contains macro parameters if any. Preserve backslash
21158 # newline sequences.
21160 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21161 sed -n '
21162 s/.\{148\}/&'"$ac_delim"'/g
21163 t rset
21164 :rset
21165 s/^[ ]*#[ ]*define[ ][ ]*/ /
21166 t def
21168 :def
21169 s/\\$//
21170 t bsnl
21171 s/["\\]/\\&/g
21172 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21173 D["\1"]=" \3"/p
21174 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21176 :bsnl
21177 s/["\\]/\\&/g
21178 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21179 D["\1"]=" \3\\\\\\n"\\/p
21180 t cont
21181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21182 t cont
21184 :cont
21186 s/.\{148\}/&'"$ac_delim"'/g
21187 t clear
21188 :clear
21189 s/\\$//
21190 t bsnlc
21191 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21193 :bsnlc
21194 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21195 b cont
21196 ' <confdefs.h | sed '
21197 s/'"$ac_delim"'/"\\\
21198 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21201 for (key in D) D_is_set[key] = 1
21202 FS = "\a"
21204 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21205 line = \$ 0
21206 split(line, arg, " ")
21207 if (arg[1] == "#") {
21208 defundef = arg[2]
21209 mac1 = arg[3]
21210 } else {
21211 defundef = substr(arg[1], 2)
21212 mac1 = arg[2]
21214 split(mac1, mac2, "(") #)
21215 macro = mac2[1]
21216 prefix = substr(line, 1, index(line, defundef) - 1)
21217 if (D_is_set[macro]) {
21218 # Preserve the white space surrounding the "#".
21219 print prefix "define", macro P[macro] D[macro]
21220 next
21221 } else {
21222 # Replace #undef with comments. This is necessary, for example,
21223 # in the case of _POSIX_SOURCE, which is predefined and required
21224 # on some systems where configure will not decide to define it.
21225 if (defundef == "undef") {
21226 print "/*", prefix defundef, macro, "*/"
21227 next
21231 { print }
21232 _ACAWK
21233 _ACEOF
21234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21235 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21236 fi # test -n "$CONFIG_HEADERS"
21239 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21240 shift
21241 for ac_tag
21243 case $ac_tag in
21244 :[FHLC]) ac_mode=$ac_tag; continue;;
21245 esac
21246 case $ac_mode$ac_tag in
21247 :[FHL]*:*);;
21248 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21249 :[FH]-) ac_tag=-:-;;
21250 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21251 esac
21252 ac_save_IFS=$IFS
21253 IFS=:
21254 set x $ac_tag
21255 IFS=$ac_save_IFS
21256 shift
21257 ac_file=$1
21258 shift
21260 case $ac_mode in
21261 :L) ac_source=$1;;
21262 :[FH])
21263 ac_file_inputs=
21264 for ac_f
21266 case $ac_f in
21267 -) ac_f="$ac_tmp/stdin";;
21268 *) # Look for the file first in the build tree, then in the source tree
21269 # (if the path is not absolute). The absolute path cannot be DOS-style,
21270 # because $ac_f cannot contain `:'.
21271 test -f "$ac_f" ||
21272 case $ac_f in
21273 [\\/$]*) false;;
21274 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21275 esac ||
21276 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21277 esac
21278 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21279 as_fn_append ac_file_inputs " '$ac_f'"
21280 done
21282 # Let's still pretend it is `configure' which instantiates (i.e., don't
21283 # use $as_me), people would be surprised to read:
21284 # /* config.h. Generated by config.status. */
21285 configure_input='Generated from '`
21286 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21287 `' by configure.'
21288 if test x"$ac_file" != x-; then
21289 configure_input="$ac_file. $configure_input"
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21291 $as_echo "$as_me: creating $ac_file" >&6;}
21293 # Neutralize special characters interpreted by sed in replacement strings.
21294 case $configure_input in #(
21295 *\&* | *\|* | *\\* )
21296 ac_sed_conf_input=`$as_echo "$configure_input" |
21297 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21298 *) ac_sed_conf_input=$configure_input;;
21299 esac
21301 case $ac_tag in
21302 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21303 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21304 esac
21306 esac
21308 ac_dir=`$as_dirname -- "$ac_file" ||
21309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21310 X"$ac_file" : 'X\(//\)[^/]' \| \
21311 X"$ac_file" : 'X\(//\)$' \| \
21312 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21313 $as_echo X"$ac_file" |
21314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21315 s//\1/
21318 /^X\(\/\/\)[^/].*/{
21319 s//\1/
21322 /^X\(\/\/\)$/{
21323 s//\1/
21326 /^X\(\/\).*/{
21327 s//\1/
21330 s/.*/./; q'`
21331 as_dir="$ac_dir"; as_fn_mkdir_p
21332 ac_builddir=.
21334 case "$ac_dir" in
21335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21338 # A ".." for each directory in $ac_dir_suffix.
21339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21340 case $ac_top_builddir_sub in
21341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21343 esac ;;
21344 esac
21345 ac_abs_top_builddir=$ac_pwd
21346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21347 # for backward compatibility:
21348 ac_top_builddir=$ac_top_build_prefix
21350 case $srcdir in
21351 .) # We are building in place.
21352 ac_srcdir=.
21353 ac_top_srcdir=$ac_top_builddir_sub
21354 ac_abs_top_srcdir=$ac_pwd ;;
21355 [\\/]* | ?:[\\/]* ) # Absolute name.
21356 ac_srcdir=$srcdir$ac_dir_suffix;
21357 ac_top_srcdir=$srcdir
21358 ac_abs_top_srcdir=$srcdir ;;
21359 *) # Relative name.
21360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21361 ac_top_srcdir=$ac_top_build_prefix$srcdir
21362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21363 esac
21364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21367 case $ac_mode in
21370 # CONFIG_FILE
21373 _ACEOF
21375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21376 # If the template does not know about datarootdir, expand it.
21377 # FIXME: This hack should be removed a few years after 2.60.
21378 ac_datarootdir_hack=; ac_datarootdir_seen=
21379 ac_sed_dataroot='
21380 /datarootdir/ {
21384 /@datadir@/p
21385 /@docdir@/p
21386 /@infodir@/p
21387 /@localedir@/p
21388 /@mandir@/p'
21389 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21390 *datarootdir*) ac_datarootdir_seen=yes;;
21391 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21393 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21394 _ACEOF
21395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21396 ac_datarootdir_hack='
21397 s&@datadir@&$datadir&g
21398 s&@docdir@&$docdir&g
21399 s&@infodir@&$infodir&g
21400 s&@localedir@&$localedir&g
21401 s&@mandir@&$mandir&g
21402 s&\\\${datarootdir}&$datarootdir&g' ;;
21403 esac
21404 _ACEOF
21406 # Neutralize VPATH when `$srcdir' = `.'.
21407 # Shell code in configure.ac might set extrasub.
21408 # FIXME: do we really want to maintain this feature?
21409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21410 ac_sed_extra="$ac_vpsub
21411 $extrasub
21412 _ACEOF
21413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21416 s|@configure_input@|$ac_sed_conf_input|;t t
21417 s&@top_builddir@&$ac_top_builddir_sub&;t t
21418 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21419 s&@srcdir@&$ac_srcdir&;t t
21420 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21421 s&@top_srcdir@&$ac_top_srcdir&;t t
21422 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21423 s&@builddir@&$ac_builddir&;t t
21424 s&@abs_builddir@&$ac_abs_builddir&;t t
21425 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21426 $ac_datarootdir_hack
21428 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21429 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21431 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21432 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21433 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21434 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21436 which seems to be undefined. Please make sure it is defined" >&5
21437 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21438 which seems to be undefined. Please make sure it is defined" >&2;}
21440 rm -f "$ac_tmp/stdin"
21441 case $ac_file in
21442 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21443 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21444 esac \
21445 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21449 # CONFIG_HEADER
21451 if test x"$ac_file" != x-; then
21453 $as_echo "/* $configure_input */" \
21454 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21455 } >"$ac_tmp/config.h" \
21456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21457 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21459 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21460 else
21461 rm -f "$ac_file"
21462 mv "$ac_tmp/config.h" "$ac_file" \
21463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21465 else
21466 $as_echo "/* $configure_input */" \
21467 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21468 || as_fn_error $? "could not create -" "$LINENO" 5
21473 # CONFIG_LINK
21476 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21478 else
21479 # Prefer the file from the source tree if names are identical.
21480 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21481 ac_source=$srcdir/$ac_source
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21485 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21487 if test ! -r "$ac_source"; then
21488 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21490 rm -f "$ac_file"
21492 # Try a relative symlink, then a hard link, then a copy.
21493 case $ac_source in
21494 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21495 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21496 esac
21497 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21498 ln "$ac_source" "$ac_file" 2>/dev/null ||
21499 cp -p "$ac_source" "$ac_file" ||
21500 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21503 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21504 $as_echo "$as_me: executing $ac_file commands" >&6;}
21506 esac
21509 case $ac_file$ac_mode in
21510 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21511 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21512 "Makefile":C) wine_fn_output_makefile Makefile ;;
21514 esac
21515 done # for ac_tag
21518 as_fn_exit 0
21519 _ACEOF
21520 ac_clean_files=$ac_clean_files_save
21522 test $ac_write_fail = 0 ||
21523 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21526 # configure is writing to config.log, and then calls config.status.
21527 # config.status does its own redirection, appending to config.log.
21528 # Unfortunately, on DOS this fails, as config.log is still kept open
21529 # by configure, so config.status won't be able to write to it; its
21530 # output is simply discarded. So we exec the FD to /dev/null,
21531 # effectively closing config.log, so it can be properly (re)opened and
21532 # appended to by config.status. When coming back to configure, we
21533 # need to make the FD available again.
21534 if test "$no_create" != yes; then
21535 ac_cs_success=:
21536 ac_config_status_args=
21537 test "$silent" = yes &&
21538 ac_config_status_args="$ac_config_status_args --quiet"
21539 exec 5>/dev/null
21540 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21541 exec 5>>config.log
21542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21543 # would make configure fail if this is the last instruction.
21544 $ac_cs_success || as_fn_exit 1
21546 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21548 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21552 if test "$no_create" = "yes"
21553 then
21554 exit 0
21557 ac_save_IFS="$IFS"
21558 if test "x$wine_notices" != x; then
21559 echo >&6
21560 IFS="|"
21561 for msg in $wine_notices; do
21562 IFS="$ac_save_IFS"
21563 if ${msg:+false} :; then :
21565 else
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21567 $as_echo "$as_me: $msg" >&6;}
21569 done
21571 IFS="|"
21572 for msg in $wine_warnings; do
21573 IFS="$ac_save_IFS"
21574 if ${msg:+false} :; then :
21576 else
21577 echo >&2
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21579 $as_echo "$as_me: WARNING: $msg" >&2;}
21581 done
21582 IFS="$ac_save_IFS"
21584 $as_echo "
21585 $as_me: Finished. Do '${ac_make}' to compile Wine.
21586 " >&6