ntdll: Rename attach_dlls() to LdrInitializeThunk().
[wine.git] / configure
blob7f89b1e7e471b80a91f7df7a10c901eb0aa08c87
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.1.
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='4.1'
584 PACKAGE_STRING='Wine 4.1'
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 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UDEV_LIBS
665 UDEV_CFLAGS
666 OSS4_CFLAGS
667 ALSA_LIBS
668 GSTREAMER_LIBS
669 GSTREAMER_CFLAGS
670 PULSE_LIBS
671 PULSE_CFLAGS
672 GETTEXTPO_LIBS
673 Z_LIBS
674 FREETYPE_LIBS
675 FREETYPE_CFLAGS
676 LCMS2_LIBS
677 LCMS2_CFLAGS
678 RESOLV_LIBS
679 GPHOTO2_PORT_LIBS
680 GPHOTO2_PORT_CFLAGS
681 GPHOTO2_LIBS
682 GPHOTO2_CFLAGS
683 SANE_LIBS
684 SANE_CFLAGS
685 GNUTLS_LIBS
686 GNUTLS_CFLAGS
687 HAL_LIBS
688 HAL_CFLAGS
689 DBUS_LIBS
690 DBUS_CFLAGS
691 XSLT_LIBS
692 XSLT_CFLAGS
693 XML2_LIBS
694 XML2_CFLAGS
695 PCAP_LIBS
696 X_EXTRA_LIBS
697 X_LIBS
698 X_PRE_LIBS
699 X_CFLAGS
700 XMKMF
701 PTHREAD_LIBS
702 CROSSCFLAGS
703 CROSSCC
704 CROSSTARGET
705 PRELINK
706 WINELOADER_DEPENDS
707 METAL_LIBS
708 CARBON_LIBS
709 QUICKTIME_LIBS
710 OPENCL_LIBS
711 OPENAL_LIBS
712 COREAUDIO_LIBS
713 SECURITY_LIBS
714 DISKARBITRATION_LIBS
715 APPKIT_LIBS
716 CORESERVICES_LIBS
717 APPLICATIONSERVICES_LIBS
718 FORCEFEEDBACK_LIBS
719 IOKIT_LIBS
720 COREFOUNDATION_LIBS
721 OBJCPP
722 ac_ct_OBJC
723 OBJCFLAGS
724 OBJC
725 LIBWINE_DEPENDS
726 LIBWINE_LDFLAGS
727 LIBWINE_IMPORTLIB
728 LIBWINE_SHAREDLIB
729 DLLTOOL
730 WINELOADER_PROGRAMS
731 CONFIGURE_TARGETS
732 DISABLED_SUBDIRS
733 SUBDIRS
734 READELF
735 OTOOL
737 WINEPRELOADER_LDFLAGS
738 WINELOADER_LDFLAGS
739 TOP_INSTALL_DEV
740 TOP_INSTALL_LIB
741 LDEXECFLAGS
742 LDRPATH_LOCAL
743 LDRPATH_INSTALL
744 DLLFLAGS
746 OPENGL_LIBS
747 ICOTOOL
748 CONVERT
749 RSVG
750 FONTFORGE
751 PKG_CONFIG
752 MSGFMT
753 LDCONFIG
754 EGREP
755 GREP
756 LN_S
757 RANLIB
758 STRIP
759 ac_ct_AR
761 BISON
762 FLEX
763 TOOLSDIR
764 TARGETFLAGS
766 CPPBIN
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 SET_MAKE
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 target_alias
787 host_alias
788 build_alias
789 LIBS
790 ECHO_T
791 ECHO_N
792 ECHO_C
793 DEFS
794 mandir
795 localedir
796 libdir
797 psdir
798 pdfdir
799 dvidir
800 htmldir
801 infodir
802 docdir
803 oldincludedir
804 includedir
805 runstatedir
806 localstatedir
807 sharedstatedir
808 sysconfdir
809 datadir
810 datarootdir
811 libexecdir
812 sbindir
813 bindir
814 program_transform_name
815 prefix
816 exec_prefix
817 PACKAGE_URL
818 PACKAGE_BUGREPORT
819 PACKAGE_STRING
820 PACKAGE_VERSION
821 PACKAGE_TARNAME
822 PACKAGE_NAME
823 PATH_SEPARATOR
824 SHELL'
825 ac_subst_files=''
826 ac_user_opts='
827 enable_option_checking
828 enable_win16
829 enable_win64
830 enable_tests
831 enable_maintainer_mode
832 with_alsa
833 with_capi
834 with_cms
835 with_coreaudio
836 with_cups
837 with_curses
838 with_dbus
839 with_float_abi
840 with_fontconfig
841 with_freetype
842 with_gettext
843 with_gettextpo
844 with_gphoto
845 with_glu
846 with_gnutls
847 with_gsm
848 with_gssapi
849 with_gstreamer
850 with_hal
851 with_jpeg
852 with_krb5
853 with_ldap
854 with_mpg123
855 with_netapi
856 with_openal
857 with_opencl
858 with_opengl
859 with_osmesa
860 with_oss
861 with_pcap
862 with_png
863 with_pthread
864 with_pulse
865 with_sane
866 with_sdl
867 with_tiff
868 with_udev
869 with_v4l
870 with_vkd3d
871 with_vulkan
872 with_xcomposite
873 with_xcursor
874 with_xfixes
875 with_xinerama
876 with_xinput
877 with_xinput2
878 with_xml
879 with_xrandr
880 with_xrender
881 with_xshape
882 with_xshm
883 with_xslt
884 with_xxf86vm
885 with_zlib
886 with_wine_tools
887 with_wine64
888 enable_largefile
889 with_x
890 enable_acledit
891 enable_aclui
892 enable_activeds
893 enable_actxprxy
894 enable_adsiid
895 enable_adsldp
896 enable_adsldpc
897 enable_advapi32
898 enable_advpack
899 enable_amstream
900 enable_api_ms_win_appmodel_identity_l1_1_0
901 enable_api_ms_win_appmodel_runtime_l1_1_1
902 enable_api_ms_win_appmodel_runtime_l1_1_2
903 enable_api_ms_win_core_apiquery_l1_1_0
904 enable_api_ms_win_core_appcompat_l1_1_1
905 enable_api_ms_win_core_appinit_l1_1_0
906 enable_api_ms_win_core_atoms_l1_1_0
907 enable_api_ms_win_core_bem_l1_1_0
908 enable_api_ms_win_core_com_l1_1_0
909 enable_api_ms_win_core_com_l1_1_1
910 enable_api_ms_win_core_com_private_l1_1_0
911 enable_api_ms_win_core_comm_l1_1_0
912 enable_api_ms_win_core_console_l1_1_0
913 enable_api_ms_win_core_console_l2_1_0
914 enable_api_ms_win_core_crt_l1_1_0
915 enable_api_ms_win_core_crt_l2_1_0
916 enable_api_ms_win_core_datetime_l1_1_0
917 enable_api_ms_win_core_datetime_l1_1_1
918 enable_api_ms_win_core_debug_l1_1_0
919 enable_api_ms_win_core_debug_l1_1_1
920 enable_api_ms_win_core_delayload_l1_1_0
921 enable_api_ms_win_core_delayload_l1_1_1
922 enable_api_ms_win_core_errorhandling_l1_1_0
923 enable_api_ms_win_core_errorhandling_l1_1_1
924 enable_api_ms_win_core_errorhandling_l1_1_2
925 enable_api_ms_win_core_errorhandling_l1_1_3
926 enable_api_ms_win_core_fibers_l1_1_0
927 enable_api_ms_win_core_fibers_l1_1_1
928 enable_api_ms_win_core_file_l1_1_0
929 enable_api_ms_win_core_file_l1_2_0
930 enable_api_ms_win_core_file_l1_2_1
931 enable_api_ms_win_core_file_l1_2_2
932 enable_api_ms_win_core_file_l2_1_0
933 enable_api_ms_win_core_file_l2_1_1
934 enable_api_ms_win_core_file_l2_1_2
935 enable_api_ms_win_core_handle_l1_1_0
936 enable_api_ms_win_core_heap_l1_1_0
937 enable_api_ms_win_core_heap_l1_2_0
938 enable_api_ms_win_core_heap_l2_1_0
939 enable_api_ms_win_core_heap_obsolete_l1_1_0
940 enable_api_ms_win_core_interlocked_l1_1_0
941 enable_api_ms_win_core_interlocked_l1_2_0
942 enable_api_ms_win_core_io_l1_1_0
943 enable_api_ms_win_core_io_l1_1_1
944 enable_api_ms_win_core_job_l1_1_0
945 enable_api_ms_win_core_job_l2_1_0
946 enable_api_ms_win_core_kernel32_legacy_l1_1_0
947 enable_api_ms_win_core_kernel32_legacy_l1_1_1
948 enable_api_ms_win_core_kernel32_private_l1_1_1
949 enable_api_ms_win_core_largeinteger_l1_1_0
950 enable_api_ms_win_core_libraryloader_l1_1_0
951 enable_api_ms_win_core_libraryloader_l1_1_1
952 enable_api_ms_win_core_libraryloader_l1_2_0
953 enable_api_ms_win_core_libraryloader_l1_2_1
954 enable_api_ms_win_core_libraryloader_l1_2_2
955 enable_api_ms_win_core_localization_l1_1_0
956 enable_api_ms_win_core_localization_l1_2_0
957 enable_api_ms_win_core_localization_l1_2_1
958 enable_api_ms_win_core_localization_l2_1_0
959 enable_api_ms_win_core_localization_obsolete_l1_1_0
960 enable_api_ms_win_core_localization_obsolete_l1_2_0
961 enable_api_ms_win_core_localization_obsolete_l1_3_0
962 enable_api_ms_win_core_localization_private_l1_1_0
963 enable_api_ms_win_core_localregistry_l1_1_0
964 enable_api_ms_win_core_memory_l1_1_0
965 enable_api_ms_win_core_memory_l1_1_1
966 enable_api_ms_win_core_memory_l1_1_2
967 enable_api_ms_win_core_misc_l1_1_0
968 enable_api_ms_win_core_namedpipe_l1_1_0
969 enable_api_ms_win_core_namedpipe_l1_2_0
970 enable_api_ms_win_core_namespace_l1_1_0
971 enable_api_ms_win_core_normalization_l1_1_0
972 enable_api_ms_win_core_path_l1_1_0
973 enable_api_ms_win_core_privateprofile_l1_1_1
974 enable_api_ms_win_core_processenvironment_l1_1_0
975 enable_api_ms_win_core_processenvironment_l1_2_0
976 enable_api_ms_win_core_processthreads_l1_1_0
977 enable_api_ms_win_core_processthreads_l1_1_1
978 enable_api_ms_win_core_processthreads_l1_1_2
979 enable_api_ms_win_core_processthreads_l1_1_3
980 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
981 enable_api_ms_win_core_profile_l1_1_0
982 enable_api_ms_win_core_psapi_ansi_l1_1_0
983 enable_api_ms_win_core_psapi_l1_1_0
984 enable_api_ms_win_core_psapi_obsolete_l1_1_0
985 enable_api_ms_win_core_quirks_l1_1_0
986 enable_api_ms_win_core_realtime_l1_1_0
987 enable_api_ms_win_core_registry_l1_1_0
988 enable_api_ms_win_core_registry_l2_1_0
989 enable_api_ms_win_core_registryuserspecific_l1_1_0
990 enable_api_ms_win_core_rtlsupport_l1_1_0
991 enable_api_ms_win_core_rtlsupport_l1_2_0
992 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
993 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
994 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
995 enable_api_ms_win_core_shutdown_l1_1_0
996 enable_api_ms_win_core_sidebyside_l1_1_0
997 enable_api_ms_win_core_string_l1_1_0
998 enable_api_ms_win_core_string_l2_1_0
999 enable_api_ms_win_core_string_obsolete_l1_1_0
1000 enable_api_ms_win_core_stringansi_l1_1_0
1001 enable_api_ms_win_core_stringloader_l1_1_1
1002 enable_api_ms_win_core_synch_ansi_l1_1_0
1003 enable_api_ms_win_core_synch_l1_1_0
1004 enable_api_ms_win_core_synch_l1_2_0
1005 enable_api_ms_win_core_synch_l1_2_1
1006 enable_api_ms_win_core_sysinfo_l1_1_0
1007 enable_api_ms_win_core_sysinfo_l1_2_0
1008 enable_api_ms_win_core_sysinfo_l1_2_1
1009 enable_api_ms_win_core_threadpool_l1_1_0
1010 enable_api_ms_win_core_threadpool_l1_2_0
1011 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1012 enable_api_ms_win_core_threadpool_private_l1_1_0
1013 enable_api_ms_win_core_timezone_l1_1_0
1014 enable_api_ms_win_core_toolhelp_l1_1_0
1015 enable_api_ms_win_core_url_l1_1_0
1016 enable_api_ms_win_core_util_l1_1_0
1017 enable_api_ms_win_core_version_l1_1_0
1018 enable_api_ms_win_core_version_l1_1_1
1019 enable_api_ms_win_core_version_private_l1_1_0
1020 enable_api_ms_win_core_versionansi_l1_1_0
1021 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1022 enable_api_ms_win_core_winrt_error_l1_1_0
1023 enable_api_ms_win_core_winrt_error_l1_1_1
1024 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1025 enable_api_ms_win_core_winrt_l1_1_0
1026 enable_api_ms_win_core_winrt_registration_l1_1_0
1027 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1028 enable_api_ms_win_core_winrt_string_l1_1_0
1029 enable_api_ms_win_core_winrt_string_l1_1_1
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_ntuser_sysparams_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atmlib
1123 enable_authz
1124 enable_avicap32
1125 enable_avifil32
1126 enable_avrt
1127 enable_bcrypt
1128 enable_bluetoothapis
1129 enable_browseui
1130 enable_bthprops_cpl
1131 enable_cabinet
1132 enable_capi2032
1133 enable_cards
1134 enable_cdosys
1135 enable_cfgmgr32
1136 enable_clusapi
1137 enable_combase
1138 enable_comcat
1139 enable_comctl32
1140 enable_comdlg32
1141 enable_compstui
1142 enable_comsvcs
1143 enable_concrt140
1144 enable_connect
1145 enable_credui
1146 enable_crtdll
1147 enable_crypt32
1148 enable_cryptdlg
1149 enable_cryptdll
1150 enable_cryptext
1151 enable_cryptnet
1152 enable_cryptui
1153 enable_ctapi32
1154 enable_ctl3d32
1155 enable_d2d1
1156 enable_d3d10
1157 enable_d3d10_1
1158 enable_d3d10core
1159 enable_d3d11
1160 enable_d3d12
1161 enable_d3d8
1162 enable_d3d9
1163 enable_d3dcompiler_33
1164 enable_d3dcompiler_34
1165 enable_d3dcompiler_35
1166 enable_d3dcompiler_36
1167 enable_d3dcompiler_37
1168 enable_d3dcompiler_38
1169 enable_d3dcompiler_39
1170 enable_d3dcompiler_40
1171 enable_d3dcompiler_41
1172 enable_d3dcompiler_42
1173 enable_d3dcompiler_43
1174 enable_d3dcompiler_46
1175 enable_d3dcompiler_47
1176 enable_d3dim
1177 enable_d3drm
1178 enable_d3dx10_33
1179 enable_d3dx10_34
1180 enable_d3dx10_35
1181 enable_d3dx10_36
1182 enable_d3dx10_37
1183 enable_d3dx10_38
1184 enable_d3dx10_39
1185 enable_d3dx10_40
1186 enable_d3dx10_41
1187 enable_d3dx10_42
1188 enable_d3dx10_43
1189 enable_d3dx11_42
1190 enable_d3dx11_43
1191 enable_d3dx9_24
1192 enable_d3dx9_25
1193 enable_d3dx9_26
1194 enable_d3dx9_27
1195 enable_d3dx9_28
1196 enable_d3dx9_29
1197 enable_d3dx9_30
1198 enable_d3dx9_31
1199 enable_d3dx9_32
1200 enable_d3dx9_33
1201 enable_d3dx9_34
1202 enable_d3dx9_35
1203 enable_d3dx9_36
1204 enable_d3dx9_37
1205 enable_d3dx9_38
1206 enable_d3dx9_39
1207 enable_d3dx9_40
1208 enable_d3dx9_41
1209 enable_d3dx9_42
1210 enable_d3dx9_43
1211 enable_d3dxof
1212 enable_davclnt
1213 enable_dbgeng
1214 enable_dbghelp
1215 enable_dciman32
1216 enable_ddraw
1217 enable_ddrawex
1218 enable_devenum
1219 enable_dhcpcsvc
1220 enable_dhtmled_ocx
1221 enable_difxapi
1222 enable_dinput
1223 enable_dinput8
1224 enable_dispex
1225 enable_dmband
1226 enable_dmcompos
1227 enable_dmime
1228 enable_dmloader
1229 enable_dmoguids
1230 enable_dmscript
1231 enable_dmstyle
1232 enable_dmsynth
1233 enable_dmusic
1234 enable_dmusic32
1235 enable_dnsapi
1236 enable_dplay
1237 enable_dplayx
1238 enable_dpnaddr
1239 enable_dpnet
1240 enable_dpnhpast
1241 enable_dpnlobby
1242 enable_dpvoice
1243 enable_dpwsockx
1244 enable_drmclien
1245 enable_dsound
1246 enable_dsquery
1247 enable_dssenh
1248 enable_dswave
1249 enable_dwmapi
1250 enable_dwrite
1251 enable_dx8vb
1252 enable_dxdiagn
1253 enable_dxerr8
1254 enable_dxerr9
1255 enable_dxgi
1256 enable_dxguid
1257 enable_dxva2
1258 enable_esent
1259 enable_evr
1260 enable_explorerframe
1261 enable_ext_ms_win_authz_context_l1_1_0
1262 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1263 enable_ext_ms_win_dwmapi_ext_l1_1_0
1264 enable_ext_ms_win_gdi_dc_create_l1_1_1
1265 enable_ext_ms_win_gdi_dc_l1_2_0
1266 enable_ext_ms_win_gdi_devcaps_l1_1_0
1267 enable_ext_ms_win_gdi_draw_l1_1_1
1268 enable_ext_ms_win_gdi_render_l1_1_0
1269 enable_ext_ms_win_kernel32_package_current_l1_1_0
1270 enable_ext_ms_win_kernel32_package_l1_1_1
1271 enable_ext_ms_win_ntuser_draw_l1_1_0
1272 enable_ext_ms_win_ntuser_gui_l1_3_0
1273 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1274 enable_ext_ms_win_ntuser_message_l1_1_1
1275 enable_ext_ms_win_ntuser_misc_l1_2_0
1276 enable_ext_ms_win_ntuser_misc_l1_5_1
1277 enable_ext_ms_win_ntuser_mouse_l1_1_0
1278 enable_ext_ms_win_ntuser_private_l1_1_1
1279 enable_ext_ms_win_ntuser_private_l1_3_1
1280 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1282 enable_ext_ms_win_ntuser_window_l1_1_1
1283 enable_ext_ms_win_ntuser_window_l1_1_4
1284 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1285 enable_ext_ms_win_oleacc_l1_1_0
1286 enable_ext_ms_win_ras_rasapi32_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1289 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1293 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1294 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1296 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1297 enable_ext_ms_win_security_credui_l1_1_0
1298 enable_ext_ms_win_security_cryptui_l1_1_0
1299 enable_ext_ms_win_uxtheme_themes_l1_1_0
1300 enable_faultrep
1301 enable_feclient
1302 enable_fltlib
1303 enable_fltmgr_sys
1304 enable_fntcache
1305 enable_fontsub
1306 enable_fusion
1307 enable_fwpuclnt
1308 enable_gameux
1309 enable_gdi32
1310 enable_gdiplus
1311 enable_glu32
1312 enable_gphoto2_ds
1313 enable_gpkcsp
1314 enable_hal
1315 enable_hhctrl_ocx
1316 enable_hid
1317 enable_hidclass_sys
1318 enable_hlink
1319 enable_hnetcfg
1320 enable_httpapi
1321 enable_iccvid
1322 enable_icmp
1323 enable_ieframe
1324 enable_ieproxy
1325 enable_imaadp32_acm
1326 enable_imagehlp
1327 enable_imm32
1328 enable_inetcomm
1329 enable_inetcpl_cpl
1330 enable_inetmib1
1331 enable_infosoft
1332 enable_initpki
1333 enable_inkobj
1334 enable_inseng
1335 enable_iphlpapi
1336 enable_iprop
1337 enable_irprops_cpl
1338 enable_itircl
1339 enable_itss
1340 enable_joy_cpl
1341 enable_jscript
1342 enable_jsproxy
1343 enable_kerberos
1344 enable_kernel32
1345 enable_kernelbase
1346 enable_ksuser
1347 enable_ktmw32
1348 enable_l3codeca_acm
1349 enable_loadperf
1350 enable_localspl
1351 enable_localui
1352 enable_lz32
1353 enable_mapi32
1354 enable_mapistub
1355 enable_mciavi32
1356 enable_mcicda
1357 enable_mciqtz32
1358 enable_mciseq
1359 enable_mciwave
1360 enable_mf
1361 enable_mf3216
1362 enable_mfplat
1363 enable_mfreadwrite
1364 enable_mfuuid
1365 enable_mgmtapi
1366 enable_midimap
1367 enable_mlang
1368 enable_mmcndmgr
1369 enable_mmdevapi
1370 enable_mountmgr_sys
1371 enable_mp3dmod
1372 enable_mpr
1373 enable_mprapi
1374 enable_msacm32_drv
1375 enable_msacm32
1376 enable_msadp32_acm
1377 enable_msasn1
1378 enable_mscat32
1379 enable_mscms
1380 enable_mscoree
1381 enable_msctf
1382 enable_msctfp
1383 enable_msdaps
1384 enable_msdelta
1385 enable_msdmo
1386 enable_msdrm
1387 enable_msftedit
1388 enable_msg711_acm
1389 enable_msgsm32_acm
1390 enable_mshtml_tlb
1391 enable_mshtml
1392 enable_msi
1393 enable_msident
1394 enable_msimg32
1395 enable_msimsg
1396 enable_msimtf
1397 enable_msisip
1398 enable_msisys_ocx
1399 enable_msls31
1400 enable_msnet32
1401 enable_mspatcha
1402 enable_msports
1403 enable_msrle32
1404 enable_msscript_ocx
1405 enable_mssign32
1406 enable_mssip32
1407 enable_mstask
1408 enable_msvcirt
1409 enable_msvcm80
1410 enable_msvcm90
1411 enable_msvcp100
1412 enable_msvcp110
1413 enable_msvcp120
1414 enable_msvcp120_app
1415 enable_msvcp140
1416 enable_msvcp60
1417 enable_msvcp70
1418 enable_msvcp71
1419 enable_msvcp80
1420 enable_msvcp90
1421 enable_msvcr100
1422 enable_msvcr110
1423 enable_msvcr120
1424 enable_msvcr120_app
1425 enable_msvcr70
1426 enable_msvcr71
1427 enable_msvcr80
1428 enable_msvcr90
1429 enable_msvcrt
1430 enable_msvcrt20
1431 enable_msvcrt40
1432 enable_msvcrtd
1433 enable_msvfw32
1434 enable_msvidc32
1435 enable_mswsock
1436 enable_msxml
1437 enable_msxml2
1438 enable_msxml3
1439 enable_msxml4
1440 enable_msxml6
1441 enable_mtxdm
1442 enable_ncrypt
1443 enable_nddeapi
1444 enable_ndis_sys
1445 enable_netapi32
1446 enable_netcfgx
1447 enable_netprofm
1448 enable_newdev
1449 enable_ninput
1450 enable_normaliz
1451 enable_npmshtml
1452 enable_npptools
1453 enable_ntdll
1454 enable_ntdsapi
1455 enable_ntoskrnl_exe
1456 enable_ntprint
1457 enable_objsel
1458 enable_odbc32
1459 enable_odbccp32
1460 enable_odbccu32
1461 enable_ole32
1462 enable_oleacc
1463 enable_oleaut32
1464 enable_olecli32
1465 enable_oledb32
1466 enable_oledlg
1467 enable_olepro32
1468 enable_olesvr32
1469 enable_olethk32
1470 enable_opcservices
1471 enable_openal32
1472 enable_opencl
1473 enable_opengl32
1474 enable_packager
1475 enable_pdh
1476 enable_photometadatahandler
1477 enable_pidgen
1478 enable_powrprof
1479 enable_printui
1480 enable_prntvpt
1481 enable_propsys
1482 enable_psapi
1483 enable_pstorec
1484 enable_qcap
1485 enable_qedit
1486 enable_qmgr
1487 enable_qmgrprxy
1488 enable_quartz
1489 enable_query
1490 enable_qwave
1491 enable_rasapi32
1492 enable_rasdlg
1493 enable_regapi
1494 enable_resutils
1495 enable_riched20
1496 enable_riched32
1497 enable_rpcrt4
1498 enable_rsabase
1499 enable_rsaenh
1500 enable_rstrtmgr
1501 enable_rtutils
1502 enable_samlib
1503 enable_sane_ds
1504 enable_sapi
1505 enable_sas
1506 enable_scarddlg
1507 enable_sccbase
1508 enable_schannel
1509 enable_schedsvc
1510 enable_scrobj
1511 enable_scrrun
1512 enable_scsiport_sys
1513 enable_secur32
1514 enable_security
1515 enable_sensapi
1516 enable_serialui
1517 enable_setupapi
1518 enable_sfc
1519 enable_sfc_os
1520 enable_shcore
1521 enable_shdoclc
1522 enable_shdocvw
1523 enable_shell32
1524 enable_shfolder
1525 enable_shlwapi
1526 enable_slbcsp
1527 enable_slc
1528 enable_snmpapi
1529 enable_softpub
1530 enable_spoolss
1531 enable_srclient
1532 enable_sspicli
1533 enable_stdole2_tlb
1534 enable_stdole32_tlb
1535 enable_sti
1536 enable_strmbase
1537 enable_strmdll
1538 enable_strmiids
1539 enable_svrapi
1540 enable_sxs
1541 enable_t2embed
1542 enable_tapi32
1543 enable_taskschd
1544 enable_tdh
1545 enable_tdi_sys
1546 enable_traffic
1547 enable_twain_32
1548 enable_tzres
1549 enable_ucrtbase
1550 enable_uiautomationcore
1551 enable_uiribbon
1552 enable_unicows
1553 enable_updspapi
1554 enable_url
1555 enable_urlmon
1556 enable_usbd_sys
1557 enable_user32
1558 enable_userenv
1559 enable_usp10
1560 enable_uuid
1561 enable_uxtheme
1562 enable_vbscript
1563 enable_vcomp
1564 enable_vcomp100
1565 enable_vcomp110
1566 enable_vcomp120
1567 enable_vcomp140
1568 enable_vcomp90
1569 enable_vcruntime140
1570 enable_vdmdbg
1571 enable_version
1572 enable_virtdisk
1573 enable_vssapi
1574 enable_vulkan_1
1575 enable_wbemdisp
1576 enable_wbemprox
1577 enable_wdscore
1578 enable_webservices
1579 enable_wer
1580 enable_wevtapi
1581 enable_wiaservc
1582 enable_wimgapi
1583 enable_windowscodecs
1584 enable_windowscodecsext
1585 enable_winealsa_drv
1586 enable_wineandroid_drv
1587 enable_winebus_sys
1588 enable_winecoreaudio_drv
1589 enable_winecrt0
1590 enable_wined3d
1591 enable_winegstreamer
1592 enable_winehid_sys
1593 enable_winejoystick_drv
1594 enable_winemac_drv
1595 enable_winemapi
1596 enable_wineoss_drv
1597 enable_wineps_drv
1598 enable_winepulse_drv
1599 enable_wineqtdecoder
1600 enable_winevulkan
1601 enable_winex11_drv
1602 enable_wing32
1603 enable_winhttp
1604 enable_wininet
1605 enable_winmm
1606 enable_winnls32
1607 enable_winscard
1608 enable_winspool_drv
1609 enable_winsta
1610 enable_wintab32
1611 enable_wintrust
1612 enable_winusb
1613 enable_wlanapi
1614 enable_wldap32
1615 enable_wmasf
1616 enable_wmcodecdspuuid
1617 enable_wmi
1618 enable_wmiutils
1619 enable_wmp
1620 enable_wmphoto
1621 enable_wmvcore
1622 enable_wnaspi32
1623 enable_wpc
1624 enable_wpcap
1625 enable_ws2_32
1626 enable_wsdapi
1627 enable_wshom_ocx
1628 enable_wsnmp32
1629 enable_wsock32
1630 enable_wtsapi32
1631 enable_wuapi
1632 enable_wuaueng
1633 enable_x3daudio1_0
1634 enable_x3daudio1_1
1635 enable_x3daudio1_2
1636 enable_x3daudio1_3
1637 enable_x3daudio1_4
1638 enable_x3daudio1_5
1639 enable_x3daudio1_6
1640 enable_x3daudio1_7
1641 enable_xapofx1_1
1642 enable_xapofx1_2
1643 enable_xapofx1_3
1644 enable_xapofx1_4
1645 enable_xapofx1_5
1646 enable_xaudio2_0
1647 enable_xaudio2_1
1648 enable_xaudio2_2
1649 enable_xaudio2_3
1650 enable_xaudio2_4
1651 enable_xaudio2_5
1652 enable_xaudio2_6
1653 enable_xaudio2_7
1654 enable_xaudio2_8
1655 enable_xaudio2_9
1656 enable_xinput1_1
1657 enable_xinput1_2
1658 enable_xinput1_3
1659 enable_xinput1_4
1660 enable_xinput9_1_0
1661 enable_xmllite
1662 enable_xolehlp
1663 enable_xpsprint
1664 enable_xpssvcs
1665 enable_fonts
1666 enable_include
1667 enable_port
1668 enable_wine
1669 enable_wpp
1670 enable_loader
1671 enable_po
1672 enable_arp
1673 enable_aspnet_regiis
1674 enable_attrib
1675 enable_cabarc
1676 enable_cacls
1677 enable_clock
1678 enable_cmd
1679 enable_conhost
1680 enable_control
1681 enable_cscript
1682 enable_dism
1683 enable_dpnsvr
1684 enable_dxdiag
1685 enable_eject
1686 enable_expand
1687 enable_explorer
1688 enable_extrac32
1689 enable_fc
1690 enable_find
1691 enable_findstr
1692 enable_fsutil
1693 enable_hh
1694 enable_hostname
1695 enable_icacls
1696 enable_icinfo
1697 enable_iexplore
1698 enable_ipconfig
1699 enable_lodctr
1700 enable_mofcomp
1701 enable_mshta
1702 enable_msiexec
1703 enable_msinfo32
1704 enable_net
1705 enable_netsh
1706 enable_netstat
1707 enable_ngen
1708 enable_notepad
1709 enable_oleview
1710 enable_ping
1711 enable_plugplay
1712 enable_powershell
1713 enable_presentationfontcache
1714 enable_progman
1715 enable_reg
1716 enable_regasm
1717 enable_regedit
1718 enable_regsvcs
1719 enable_regsvr32
1720 enable_rpcss
1721 enable_rundll32
1722 enable_sc
1723 enable_schtasks
1724 enable_sdbinst
1725 enable_secedit
1726 enable_servicemodelreg
1727 enable_services
1728 enable_shutdown
1729 enable_spoolsv
1730 enable_start
1731 enable_subst
1732 enable_svchost
1733 enable_systeminfo
1734 enable_taskkill
1735 enable_tasklist
1736 enable_taskmgr
1737 enable_termsv
1738 enable_uninstaller
1739 enable_unlodctr
1740 enable_view
1741 enable_wevtutil
1742 enable_wineboot
1743 enable_winebrowser
1744 enable_winecfg
1745 enable_wineconsole
1746 enable_winedbg
1747 enable_winedevice
1748 enable_winefile
1749 enable_winemenubuilder
1750 enable_winemine
1751 enable_winemsibuilder
1752 enable_winepath
1753 enable_winetest
1754 enable_winhlp32
1755 enable_winmgmt
1756 enable_winver
1757 enable_wmic
1758 enable_wmplayer
1759 enable_wordpad
1760 enable_write
1761 enable_wscript
1762 enable_wusa
1763 enable_xcopy
1764 enable_server
1765 enable_tools
1766 enable_sfnt2fon
1767 enable_widl
1768 enable_winebuild
1769 enable_winedump
1770 enable_winegcc
1771 enable_winemaker
1772 enable_wmc
1773 enable_wrc
1775 ac_precious_vars='build_alias
1776 host_alias
1777 target_alias
1779 CFLAGS
1780 LDFLAGS
1781 LIBS
1782 CPPFLAGS
1784 CXXFLAGS
1787 OBJC
1788 OBJCFLAGS
1789 OBJCPP
1790 XMKMF
1791 XML2_CFLAGS
1792 XML2_LIBS
1793 XSLT_CFLAGS
1794 XSLT_LIBS
1795 DBUS_CFLAGS
1796 DBUS_LIBS
1797 HAL_CFLAGS
1798 HAL_LIBS
1799 GNUTLS_CFLAGS
1800 GNUTLS_LIBS
1801 SANE_CFLAGS
1802 SANE_LIBS
1803 GPHOTO2_CFLAGS
1804 GPHOTO2_LIBS
1805 GPHOTO2_PORT_CFLAGS
1806 GPHOTO2_PORT_LIBS
1807 LCMS2_CFLAGS
1808 LCMS2_LIBS
1809 FREETYPE_CFLAGS
1810 FREETYPE_LIBS
1811 PULSE_CFLAGS
1812 PULSE_LIBS
1813 GSTREAMER_CFLAGS
1814 GSTREAMER_LIBS
1815 UDEV_CFLAGS
1816 UDEV_LIBS
1817 SDL2_CFLAGS
1818 SDL2_LIBS
1819 CAPI20_CFLAGS
1820 CAPI20_LIBS
1821 CUPS_CFLAGS
1822 CUPS_LIBS
1823 FONTCONFIG_CFLAGS
1824 FONTCONFIG_LIBS
1825 KRB5_CFLAGS
1826 KRB5_LIBS
1827 GSSAPI_CFLAGS
1828 GSSAPI_LIBS
1829 JPEG_CFLAGS
1830 JPEG_LIBS
1831 PNG_CFLAGS
1832 PNG_LIBS
1833 TIFF_CFLAGS
1834 TIFF_LIBS
1835 MPG123_CFLAGS
1836 MPG123_LIBS
1837 NETAPI_CFLAGS
1838 NETAPI_LIBS
1839 VKD3D_CFLAGS
1840 VKD3D_LIBS
1841 LDAP_CFLAGS
1842 LDAP_LIBS'
1845 # Initialize some variables set by options.
1846 ac_init_help=
1847 ac_init_version=false
1848 ac_unrecognized_opts=
1849 ac_unrecognized_sep=
1850 # The variables have the same names as the options, with
1851 # dashes changed to underlines.
1852 cache_file=/dev/null
1853 exec_prefix=NONE
1854 no_create=
1855 no_recursion=
1856 prefix=NONE
1857 program_prefix=NONE
1858 program_suffix=NONE
1859 program_transform_name=s,x,x,
1860 silent=
1861 site=
1862 srcdir=
1863 verbose=
1864 x_includes=NONE
1865 x_libraries=NONE
1867 # Installation directory options.
1868 # These are left unexpanded so users can "make install exec_prefix=/foo"
1869 # and all the variables that are supposed to be based on exec_prefix
1870 # by default will actually change.
1871 # Use braces instead of parens because sh, perl, etc. also accept them.
1872 # (The list follows the same order as the GNU Coding Standards.)
1873 bindir='${exec_prefix}/bin'
1874 sbindir='${exec_prefix}/sbin'
1875 libexecdir='${exec_prefix}/libexec'
1876 datarootdir='${prefix}/share'
1877 datadir='${datarootdir}'
1878 sysconfdir='${prefix}/etc'
1879 sharedstatedir='${prefix}/com'
1880 localstatedir='${prefix}/var'
1881 runstatedir='${localstatedir}/run'
1882 includedir='${prefix}/include'
1883 oldincludedir='/usr/include'
1884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1885 infodir='${datarootdir}/info'
1886 htmldir='${docdir}'
1887 dvidir='${docdir}'
1888 pdfdir='${docdir}'
1889 psdir='${docdir}'
1890 libdir='${exec_prefix}/lib'
1891 localedir='${datarootdir}/locale'
1892 mandir='${datarootdir}/man'
1894 ac_prev=
1895 ac_dashdash=
1896 for ac_option
1898 # If the previous option needs an argument, assign it.
1899 if test -n "$ac_prev"; then
1900 eval $ac_prev=\$ac_option
1901 ac_prev=
1902 continue
1905 case $ac_option in
1906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1907 *=) ac_optarg= ;;
1908 *) ac_optarg=yes ;;
1909 esac
1911 # Accept the important Cygnus configure options, so we can diagnose typos.
1913 case $ac_dashdash$ac_option in
1915 ac_dashdash=yes ;;
1917 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1918 ac_prev=bindir ;;
1919 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1920 bindir=$ac_optarg ;;
1922 -build | --build | --buil | --bui | --bu)
1923 ac_prev=build_alias ;;
1924 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1925 build_alias=$ac_optarg ;;
1927 -cache-file | --cache-file | --cache-fil | --cache-fi \
1928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1929 ac_prev=cache_file ;;
1930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1932 cache_file=$ac_optarg ;;
1934 --config-cache | -C)
1935 cache_file=config.cache ;;
1937 -datadir | --datadir | --datadi | --datad)
1938 ac_prev=datadir ;;
1939 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1940 datadir=$ac_optarg ;;
1942 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1943 | --dataroo | --dataro | --datar)
1944 ac_prev=datarootdir ;;
1945 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1946 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1947 datarootdir=$ac_optarg ;;
1949 -disable-* | --disable-*)
1950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1951 # Reject names that are not valid shell variable names.
1952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1953 as_fn_error $? "invalid feature name: $ac_useropt"
1954 ac_useropt_orig=$ac_useropt
1955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1956 case $ac_user_opts in
1958 "enable_$ac_useropt"
1959 "*) ;;
1960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1961 ac_unrecognized_sep=', ';;
1962 esac
1963 eval enable_$ac_useropt=no ;;
1965 -docdir | --docdir | --docdi | --doc | --do)
1966 ac_prev=docdir ;;
1967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1968 docdir=$ac_optarg ;;
1970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1971 ac_prev=dvidir ;;
1972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1973 dvidir=$ac_optarg ;;
1975 -enable-* | --enable-*)
1976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1977 # Reject names that are not valid shell variable names.
1978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1979 as_fn_error $? "invalid feature name: $ac_useropt"
1980 ac_useropt_orig=$ac_useropt
1981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1982 case $ac_user_opts in
1984 "enable_$ac_useropt"
1985 "*) ;;
1986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1987 ac_unrecognized_sep=', ';;
1988 esac
1989 eval enable_$ac_useropt=\$ac_optarg ;;
1991 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1992 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1993 | --exec | --exe | --ex)
1994 ac_prev=exec_prefix ;;
1995 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1996 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1997 | --exec=* | --exe=* | --ex=*)
1998 exec_prefix=$ac_optarg ;;
2000 -gas | --gas | --ga | --g)
2001 # Obsolete; use --with-gas.
2002 with_gas=yes ;;
2004 -help | --help | --hel | --he | -h)
2005 ac_init_help=long ;;
2006 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2007 ac_init_help=recursive ;;
2008 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2009 ac_init_help=short ;;
2011 -host | --host | --hos | --ho)
2012 ac_prev=host_alias ;;
2013 -host=* | --host=* | --hos=* | --ho=*)
2014 host_alias=$ac_optarg ;;
2016 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2017 ac_prev=htmldir ;;
2018 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2019 | --ht=*)
2020 htmldir=$ac_optarg ;;
2022 -includedir | --includedir | --includedi | --included | --include \
2023 | --includ | --inclu | --incl | --inc)
2024 ac_prev=includedir ;;
2025 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2026 | --includ=* | --inclu=* | --incl=* | --inc=*)
2027 includedir=$ac_optarg ;;
2029 -infodir | --infodir | --infodi | --infod | --info | --inf)
2030 ac_prev=infodir ;;
2031 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2032 infodir=$ac_optarg ;;
2034 -libdir | --libdir | --libdi | --libd)
2035 ac_prev=libdir ;;
2036 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2037 libdir=$ac_optarg ;;
2039 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2040 | --libexe | --libex | --libe)
2041 ac_prev=libexecdir ;;
2042 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2043 | --libexe=* | --libex=* | --libe=*)
2044 libexecdir=$ac_optarg ;;
2046 -localedir | --localedir | --localedi | --localed | --locale)
2047 ac_prev=localedir ;;
2048 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2049 localedir=$ac_optarg ;;
2051 -localstatedir | --localstatedir | --localstatedi | --localstated \
2052 | --localstate | --localstat | --localsta | --localst | --locals)
2053 ac_prev=localstatedir ;;
2054 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2055 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2056 localstatedir=$ac_optarg ;;
2058 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2059 ac_prev=mandir ;;
2060 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2061 mandir=$ac_optarg ;;
2063 -nfp | --nfp | --nf)
2064 # Obsolete; use --without-fp.
2065 with_fp=no ;;
2067 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2068 | --no-cr | --no-c | -n)
2069 no_create=yes ;;
2071 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2072 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2073 no_recursion=yes ;;
2075 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2076 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2077 | --oldin | --oldi | --old | --ol | --o)
2078 ac_prev=oldincludedir ;;
2079 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2080 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2081 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2082 oldincludedir=$ac_optarg ;;
2084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2085 ac_prev=prefix ;;
2086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2087 prefix=$ac_optarg ;;
2089 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2090 | --program-pre | --program-pr | --program-p)
2091 ac_prev=program_prefix ;;
2092 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2093 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2094 program_prefix=$ac_optarg ;;
2096 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2097 | --program-suf | --program-su | --program-s)
2098 ac_prev=program_suffix ;;
2099 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2100 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2101 program_suffix=$ac_optarg ;;
2103 -program-transform-name | --program-transform-name \
2104 | --program-transform-nam | --program-transform-na \
2105 | --program-transform-n | --program-transform- \
2106 | --program-transform | --program-transfor \
2107 | --program-transfo | --program-transf \
2108 | --program-trans | --program-tran \
2109 | --progr-tra | --program-tr | --program-t)
2110 ac_prev=program_transform_name ;;
2111 -program-transform-name=* | --program-transform-name=* \
2112 | --program-transform-nam=* | --program-transform-na=* \
2113 | --program-transform-n=* | --program-transform-=* \
2114 | --program-transform=* | --program-transfor=* \
2115 | --program-transfo=* | --program-transf=* \
2116 | --program-trans=* | --program-tran=* \
2117 | --progr-tra=* | --program-tr=* | --program-t=*)
2118 program_transform_name=$ac_optarg ;;
2120 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2121 ac_prev=pdfdir ;;
2122 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2123 pdfdir=$ac_optarg ;;
2125 -psdir | --psdir | --psdi | --psd | --ps)
2126 ac_prev=psdir ;;
2127 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2128 psdir=$ac_optarg ;;
2130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2131 | -silent | --silent | --silen | --sile | --sil)
2132 silent=yes ;;
2134 -runstatedir | --runstatedir | --runstatedi | --runstated \
2135 | --runstate | --runstat | --runsta | --runst | --runs \
2136 | --run | --ru | --r)
2137 ac_prev=runstatedir ;;
2138 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2139 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2140 | --run=* | --ru=* | --r=*)
2141 runstatedir=$ac_optarg ;;
2143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2144 ac_prev=sbindir ;;
2145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2146 | --sbi=* | --sb=*)
2147 sbindir=$ac_optarg ;;
2149 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2151 | --sharedst | --shareds | --shared | --share | --shar \
2152 | --sha | --sh)
2153 ac_prev=sharedstatedir ;;
2154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2157 | --sha=* | --sh=*)
2158 sharedstatedir=$ac_optarg ;;
2160 -site | --site | --sit)
2161 ac_prev=site ;;
2162 -site=* | --site=* | --sit=*)
2163 site=$ac_optarg ;;
2165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2166 ac_prev=srcdir ;;
2167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2168 srcdir=$ac_optarg ;;
2170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2171 | --syscon | --sysco | --sysc | --sys | --sy)
2172 ac_prev=sysconfdir ;;
2173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2175 sysconfdir=$ac_optarg ;;
2177 -target | --target | --targe | --targ | --tar | --ta | --t)
2178 ac_prev=target_alias ;;
2179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2180 target_alias=$ac_optarg ;;
2182 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2183 verbose=yes ;;
2185 -version | --version | --versio | --versi | --vers | -V)
2186 ac_init_version=: ;;
2188 -with-* | --with-*)
2189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2190 # Reject names that are not valid shell variable names.
2191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2192 as_fn_error $? "invalid package name: $ac_useropt"
2193 ac_useropt_orig=$ac_useropt
2194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2195 case $ac_user_opts in
2197 "with_$ac_useropt"
2198 "*) ;;
2199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2200 ac_unrecognized_sep=', ';;
2201 esac
2202 eval with_$ac_useropt=\$ac_optarg ;;
2204 -without-* | --without-*)
2205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2206 # Reject names that are not valid shell variable names.
2207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2208 as_fn_error $? "invalid package name: $ac_useropt"
2209 ac_useropt_orig=$ac_useropt
2210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2211 case $ac_user_opts in
2213 "with_$ac_useropt"
2214 "*) ;;
2215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2216 ac_unrecognized_sep=', ';;
2217 esac
2218 eval with_$ac_useropt=no ;;
2220 --x)
2221 # Obsolete; use --with-x.
2222 with_x=yes ;;
2224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2225 | --x-incl | --x-inc | --x-in | --x-i)
2226 ac_prev=x_includes ;;
2227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2229 x_includes=$ac_optarg ;;
2231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2233 ac_prev=x_libraries ;;
2234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2236 x_libraries=$ac_optarg ;;
2238 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2239 Try \`$0 --help' for more information"
2242 *=*)
2243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2244 # Reject names that are not valid shell variable names.
2245 case $ac_envvar in #(
2246 '' | [0-9]* | *[!_$as_cr_alnum]* )
2247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2248 esac
2249 eval $ac_envvar=\$ac_optarg
2250 export $ac_envvar ;;
2253 # FIXME: should be removed in autoconf 3.0.
2254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2260 esac
2261 done
2263 if test -n "$ac_prev"; then
2264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2265 as_fn_error $? "missing argument to $ac_option"
2268 if test -n "$ac_unrecognized_opts"; then
2269 case $enable_option_checking in
2270 no) ;;
2271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2273 esac
2276 # Check all directory arguments for consistency.
2277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2278 datadir sysconfdir sharedstatedir localstatedir includedir \
2279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2280 libdir localedir mandir runstatedir
2282 eval ac_val=\$$ac_var
2283 # Remove trailing slashes.
2284 case $ac_val in
2285 */ )
2286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2287 eval $ac_var=\$ac_val;;
2288 esac
2289 # Be sure to have absolute directory names.
2290 case $ac_val in
2291 [\\/$]* | ?:[\\/]* ) continue;;
2292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2293 esac
2294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2295 done
2297 # There might be people who depend on the old broken behavior: `$host'
2298 # used to hold the argument of --host etc.
2299 # FIXME: To remove some day.
2300 build=$build_alias
2301 host=$host_alias
2302 target=$target_alias
2304 # FIXME: To remove some day.
2305 if test "x$host_alias" != x; then
2306 if test "x$build_alias" = x; then
2307 cross_compiling=maybe
2308 elif test "x$build_alias" != "x$host_alias"; then
2309 cross_compiling=yes
2313 ac_tool_prefix=
2314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2316 test "$silent" = yes && exec 6>/dev/null
2319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2320 ac_ls_di=`ls -di .` &&
2321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2322 as_fn_error $? "working directory cannot be determined"
2323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2324 as_fn_error $? "pwd does not report name of working directory"
2327 # Find the source files, if location was not specified.
2328 if test -z "$srcdir"; then
2329 ac_srcdir_defaulted=yes
2330 # Try the directory containing this script, then the parent directory.
2331 ac_confdir=`$as_dirname -- "$as_myself" ||
2332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2333 X"$as_myself" : 'X\(//\)[^/]' \| \
2334 X"$as_myself" : 'X\(//\)$' \| \
2335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2336 $as_echo X"$as_myself" |
2337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2338 s//\1/
2341 /^X\(\/\/\)[^/].*/{
2342 s//\1/
2345 /^X\(\/\/\)$/{
2346 s//\1/
2349 /^X\(\/\).*/{
2350 s//\1/
2353 s/.*/./; q'`
2354 srcdir=$ac_confdir
2355 if test ! -r "$srcdir/$ac_unique_file"; then
2356 srcdir=..
2358 else
2359 ac_srcdir_defaulted=no
2361 if test ! -r "$srcdir/$ac_unique_file"; then
2362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2366 ac_abs_confdir=`(
2367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2368 pwd)`
2369 # When building in place, set srcdir=.
2370 if test "$ac_abs_confdir" = "$ac_pwd"; then
2371 srcdir=.
2373 # Remove unnecessary trailing slashes from srcdir.
2374 # Double slashes in file names in object file debugging info
2375 # mess up M-x gdb in Emacs.
2376 case $srcdir in
2377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2378 esac
2379 for ac_var in $ac_precious_vars; do
2380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_env_${ac_var}_value=\$${ac_var}
2382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2384 done
2387 # Report the --help message.
2389 if test "$ac_init_help" = "long"; then
2390 # Omit some internal or obsolete options to make the list less imposing.
2391 # This message is too long to be a string in the A/UX 3.1 sh.
2392 cat <<_ACEOF
2393 \`configure' configures Wine 4.1 to adapt to many kinds of systems.
2395 Usage: $0 [OPTION]... [VAR=VALUE]...
2397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2398 VAR=VALUE. See below for descriptions of some of the useful variables.
2400 Defaults for the options are specified in brackets.
2402 Configuration:
2403 -h, --help display this help and exit
2404 --help=short display options specific to this package
2405 --help=recursive display the short help of all the included packages
2406 -V, --version display version information and exit
2407 -q, --quiet, --silent do not print \`checking ...' messages
2408 --cache-file=FILE cache test results in FILE [disabled]
2409 -C, --config-cache alias for \`--cache-file=config.cache'
2410 -n, --no-create do not create output files
2411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2413 Installation directories:
2414 --prefix=PREFIX install architecture-independent files in PREFIX
2415 [$ac_default_prefix]
2416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2417 [PREFIX]
2419 By default, \`make install' will install all the files in
2420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2422 for instance \`--prefix=\$HOME'.
2424 For better control, use the options below.
2426 Fine tuning of the installation directories:
2427 --bindir=DIR user executables [EPREFIX/bin]
2428 --sbindir=DIR system admin executables [EPREFIX/sbin]
2429 --libexecdir=DIR program executables [EPREFIX/libexec]
2430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2433 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2434 --libdir=DIR object code libraries [EPREFIX/lib]
2435 --includedir=DIR C header files [PREFIX/include]
2436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2439 --infodir=DIR info documentation [DATAROOTDIR/info]
2440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2441 --mandir=DIR man documentation [DATAROOTDIR/man]
2442 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2443 --htmldir=DIR html documentation [DOCDIR]
2444 --dvidir=DIR dvi documentation [DOCDIR]
2445 --pdfdir=DIR pdf documentation [DOCDIR]
2446 --psdir=DIR ps documentation [DOCDIR]
2447 _ACEOF
2449 cat <<\_ACEOF
2451 X features:
2452 --x-includes=DIR X include files are in DIR
2453 --x-libraries=DIR X library files are in DIR
2455 System types:
2456 --build=BUILD configure for building on BUILD [guessed]
2457 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2458 _ACEOF
2461 if test -n "$ac_init_help"; then
2462 case $ac_init_help in
2463 short | recursive ) echo "Configuration of Wine 4.1:";;
2464 esac
2465 cat <<\_ACEOF
2467 Optional Features:
2468 --disable-option-checking ignore unrecognized --enable/--with options
2469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2471 --disable-win16 do not include Win16 support
2472 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2473 binaries)
2474 --disable-tests do not build the regression tests
2475 --enable-maintainer-mode
2476 enable maintainer-specific build rules
2477 --disable-largefile omit support for large files
2479 Optional Packages:
2480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2482 --without-alsa do not use the Alsa sound support
2483 --without-capi do not use CAPI (ISDN support)
2484 --without-cms do not use CMS (color management support)
2485 --without-coreaudio do not use the CoreAudio sound support
2486 --without-cups do not use CUPS
2487 --without-curses do not use (n)curses
2488 --without-dbus do not use DBus (dynamic device support)
2489 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2490 --without-fontconfig do not use fontconfig
2491 --without-freetype do not use the FreeType library
2492 --without-gettext do not use gettext
2493 --with-gettextpo use the GetTextPO library to rebuild po files
2494 --without-gphoto do not use gphoto (Digital Camera support)
2495 --without-glu do not use the GLU library
2496 --without-gnutls do not use GnuTLS (schannel support)
2497 --without-gsm do not use libgsm (GSM 06.10 codec support)
2498 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2499 --without-gstreamer do not use GStreamer (codecs support)
2500 --without-hal do not use HAL (dynamic device support)
2501 --without-jpeg do not use JPEG
2502 --without-krb5 do not use krb5 (Kerberos)
2503 --without-ldap do not use LDAP
2504 --without-mpg123 do not use the mpg123 library
2505 --without-netapi do not use the Samba NetAPI library
2506 --without-openal do not use OpenAL
2507 --without-opencl do not use OpenCL
2508 --without-opengl do not use OpenGL
2509 --without-osmesa do not use the OSMesa library
2510 --without-oss do not use the OSS sound support
2511 --without-pcap do not use the Packet Capture library
2512 --without-png do not use PNG
2513 --without-pthread do not use the pthread library
2514 --without-pulse do not use PulseAudio sound support
2515 --without-sane do not use SANE (scanner support)
2516 --without-sdl do not use SDL
2517 --without-tiff do not use TIFF
2518 --without-udev do not use udev (plug and play support)
2519 --without-v4l do not use v4l1 (v4l support)
2520 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2521 --without-vulkan do not use Vulkan
2522 --without-xcomposite do not use the Xcomposite extension
2523 --without-xcursor do not use the Xcursor extension
2524 --without-xfixes do not use Xfixes for clipboard change notifications
2525 --without-xinerama do not use Xinerama (multi-monitor support)
2526 --without-xinput do not use the Xinput extension
2527 --without-xinput2 do not use the Xinput 2 extension
2528 --without-xml do not use XML
2529 --without-xrandr do not use Xrandr (resolution changes)
2530 --without-xrender do not use the Xrender extension
2531 --without-xshape do not use the Xshape extension
2532 --without-xshm do not use XShm (shared memory extension)
2533 --without-xslt do not use XSLT
2534 --without-xxf86vm do not use XFree video mode extension
2535 --without-zlib do not use Zlib (data compression)
2536 --with-wine-tools=DIR use Wine tools from directory DIR
2537 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2538 --with-x use the X Window System
2540 Some influential environment variables:
2541 CC C compiler command
2542 CFLAGS C compiler flags
2543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2544 nonstandard directory <lib dir>
2545 LIBS libraries to pass to the linker, e.g. -l<library>
2546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2547 you have headers in a nonstandard directory <include dir>
2548 CXX C++ compiler command
2549 CXXFLAGS C++ compiler flags
2550 CPP C preprocessor
2551 OBJC Objective C compiler command
2552 OBJCFLAGS Objective C compiler flags
2553 OBJCPP Objective C preprocessor
2554 XMKMF Path to xmkmf, Makefile generator for X Window System
2555 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2556 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2557 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2558 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2559 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2560 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2561 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2562 HAL_LIBS Linker flags for hal, overriding pkg-config
2563 GNUTLS_CFLAGS
2564 C compiler flags for gnutls, overriding pkg-config
2565 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2566 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2567 SANE_LIBS Linker flags for libsane, overriding pkg-config
2568 GPHOTO2_CFLAGS
2569 C compiler flags for libgphoto2, overriding pkg-config
2570 GPHOTO2_LIBS
2571 Linker flags for libgphoto2, overriding pkg-config
2572 GPHOTO2_PORT_CFLAGS
2573 C compiler flags for libgphoto2_port, overriding pkg-config
2574 GPHOTO2_PORT_LIBS
2575 Linker flags for libgphoto2_port, overriding pkg-config
2576 LCMS2_CFLAGS
2577 C compiler flags for lcms2, overriding pkg-config
2578 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2579 FREETYPE_CFLAGS
2580 C compiler flags for freetype2, overriding pkg-config
2581 FREETYPE_LIBS
2582 Linker flags for freetype2, overriding pkg-config
2583 PULSE_CFLAGS
2584 C compiler flags for libpulse, overriding pkg-config
2585 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2586 GSTREAMER_CFLAGS
2587 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2588 gstreamer-audio-1.0, overriding pkg-config
2589 GSTREAMER_LIBS
2590 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2591 gstreamer-audio-1.0, overriding pkg-config
2592 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2593 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2594 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2595 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2596 CAPI20_CFLAGS
2597 C compiler flags for capi20, overriding pkg-config
2598 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2599 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2600 CUPS_LIBS Linker flags for cups, overriding pkg-config
2601 FONTCONFIG_CFLAGS
2602 C compiler flags for fontconfig, overriding pkg-config
2603 FONTCONFIG_LIBS
2604 Linker flags for fontconfig, overriding pkg-config
2605 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2606 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2607 GSSAPI_CFLAGS
2608 C compiler flags for krb5-gssapi, overriding pkg-config
2609 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2610 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2611 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2612 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2613 PNG_LIBS Linker flags for libpng, overriding pkg-config
2614 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2615 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2616 MPG123_CFLAGS
2617 C compiler flags for libmpg123, overriding pkg-config
2618 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2619 NETAPI_CFLAGS
2620 C compiler flags for netapi, overriding pkg-config
2621 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2622 VKD3D_CFLAGS
2623 C compiler flags for libvkd3d, overriding pkg-config
2624 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2625 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2626 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2628 Use these variables to override the choices made by `configure' or to help
2629 it to find libraries and programs with nonstandard names/locations.
2631 Report bugs to <wine-devel@winehq.org>.
2632 Wine home page: <https://www.winehq.org>.
2633 _ACEOF
2634 ac_status=$?
2637 if test "$ac_init_help" = "recursive"; then
2638 # If there are subdirs, report their specific --help.
2639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2640 test -d "$ac_dir" ||
2641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2642 continue
2643 ac_builddir=.
2645 case "$ac_dir" in
2646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2649 # A ".." for each directory in $ac_dir_suffix.
2650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2651 case $ac_top_builddir_sub in
2652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2654 esac ;;
2655 esac
2656 ac_abs_top_builddir=$ac_pwd
2657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2658 # for backward compatibility:
2659 ac_top_builddir=$ac_top_build_prefix
2661 case $srcdir in
2662 .) # We are building in place.
2663 ac_srcdir=.
2664 ac_top_srcdir=$ac_top_builddir_sub
2665 ac_abs_top_srcdir=$ac_pwd ;;
2666 [\\/]* | ?:[\\/]* ) # Absolute name.
2667 ac_srcdir=$srcdir$ac_dir_suffix;
2668 ac_top_srcdir=$srcdir
2669 ac_abs_top_srcdir=$srcdir ;;
2670 *) # Relative name.
2671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2672 ac_top_srcdir=$ac_top_build_prefix$srcdir
2673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2674 esac
2675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2677 cd "$ac_dir" || { ac_status=$?; continue; }
2678 # Check for guested configure.
2679 if test -f "$ac_srcdir/configure.gnu"; then
2680 echo &&
2681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2682 elif test -f "$ac_srcdir/configure"; then
2683 echo &&
2684 $SHELL "$ac_srcdir/configure" --help=recursive
2685 else
2686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2687 fi || ac_status=$?
2688 cd "$ac_pwd" || { ac_status=$?; break; }
2689 done
2692 test -n "$ac_init_help" && exit $ac_status
2693 if $ac_init_version; then
2694 cat <<\_ACEOF
2695 Wine configure 4.1
2696 generated by GNU Autoconf 2.69
2698 Copyright (C) 2012 Free Software Foundation, Inc.
2699 This configure script is free software; the Free Software Foundation
2700 gives unlimited permission to copy, distribute and modify it.
2701 _ACEOF
2702 exit
2705 ## ------------------------ ##
2706 ## Autoconf initialization. ##
2707 ## ------------------------ ##
2709 # ac_fn_c_try_compile LINENO
2710 # --------------------------
2711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2712 ac_fn_c_try_compile ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 rm -f conftest.$ac_objext
2716 if { { ac_try="$ac_compile"
2717 case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_compile") 2>conftest.err
2724 ac_status=$?
2725 if test -s conftest.err; then
2726 grep -v '^ *+' conftest.err >conftest.er1
2727 cat conftest.er1 >&5
2728 mv -f conftest.er1 conftest.err
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; } && {
2732 test -z "$ac_c_werror_flag" ||
2733 test ! -s conftest.err
2734 } && test -s conftest.$ac_objext; then :
2735 ac_retval=0
2736 else
2737 $as_echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2740 ac_retval=1
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status $ac_retval
2745 } # ac_fn_c_try_compile
2747 # ac_fn_cxx_try_compile LINENO
2748 # ----------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_cxx_try_compile ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 rm -f conftest.$ac_objext
2754 if { { ac_try="$ac_compile"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2762 ac_status=$?
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_cxx_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then :
2773 ac_retval=0
2774 else
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_cxx_try_compile
2785 # ac_fn_c_try_link LINENO
2786 # -----------------------
2787 # Try to link conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_c_try_link ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext conftest$ac_exeext
2792 if { { ac_try="$ac_link"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_link") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_c_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest$ac_exeext && {
2811 test "$cross_compiling" = yes ||
2812 test -x conftest$ac_exeext
2813 }; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2822 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2823 # interfere with the next link command; also delete a directory that is
2824 # left behind by Apple's compiler. We do this before executing the actions.
2825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2827 as_fn_set_status $ac_retval
2829 } # ac_fn_c_try_link
2831 # ac_fn_c_try_cpp LINENO
2832 # ----------------------
2833 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_c_try_cpp ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 if { { ac_try="$ac_cpp conftest.$ac_ext"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } > conftest.i && {
2853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2854 test ! -s conftest.err
2855 }; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_c_try_cpp
2868 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2869 # -------------------------------------------------------
2870 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2871 # the include files in INCLUDES and setting the cache variable VAR
2872 # accordingly.
2873 ac_fn_c_check_header_mongrel ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 if eval \${$3+:} false; then :
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 $as_echo_n "checking for $2... " >&6; }
2879 if eval \${$3+:} false; then :
2880 $as_echo_n "(cached) " >&6
2882 eval ac_res=\$$3
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2884 $as_echo "$ac_res" >&6; }
2885 else
2886 # Is the header compilable?
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2888 $as_echo_n "checking $2 usability... " >&6; }
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2892 #include <$2>
2893 _ACEOF
2894 if ac_fn_c_try_compile "$LINENO"; then :
2895 ac_header_compiler=yes
2896 else
2897 ac_header_compiler=no
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2901 $as_echo "$ac_header_compiler" >&6; }
2903 # Is the header present?
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2905 $as_echo_n "checking $2 presence... " >&6; }
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2908 #include <$2>
2909 _ACEOF
2910 if ac_fn_c_try_cpp "$LINENO"; then :
2911 ac_header_preproc=yes
2912 else
2913 ac_header_preproc=no
2915 rm -f conftest.err conftest.i conftest.$ac_ext
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2917 $as_echo "$ac_header_preproc" >&6; }
2919 # So? What about this header?
2920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2921 yes:no: )
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2923 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2927 no:yes:* )
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2929 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2931 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2933 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2935 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2938 ( $as_echo "## ------------------------------------ ##
2939 ## Report this to wine-devel@winehq.org ##
2940 ## ------------------------------------ ##"
2941 ) | sed "s/^/$as_me: WARNING: /" >&2
2943 esac
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2945 $as_echo_n "checking for $2... " >&6; }
2946 if eval \${$3+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 eval "$3=\$ac_header_compiler"
2951 eval ac_res=\$$3
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2953 $as_echo "$ac_res" >&6; }
2955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 } # ac_fn_c_check_header_mongrel
2959 # ac_fn_c_try_run LINENO
2960 # ----------------------
2961 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2962 # that executables *can* be run.
2963 ac_fn_c_try_run ()
2965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2966 if { { ac_try="$ac_link"
2967 case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970 esac
2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_link") 2>&5
2974 ac_status=$?
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2977 { { case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 $as_echo "$ac_try_echo"; } >&5
2983 (eval "$ac_try") 2>&5
2984 ac_status=$?
2985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; }; }; then :
2987 ac_retval=0
2988 else
2989 $as_echo "$as_me: program exited with status $ac_status" >&5
2990 $as_echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 ac_retval=$ac_status
2995 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 as_fn_set_status $ac_retval
2999 } # ac_fn_c_try_run
3001 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3002 # -------------------------------------------------------
3003 # Tests whether HEADER exists and can be compiled using the include files in
3004 # INCLUDES, setting the cache variable VAR accordingly.
3005 ac_fn_c_check_header_compile ()
3007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3009 $as_echo_n "checking for $2... " >&6; }
3010 if eval \${$3+:} false; then :
3011 $as_echo_n "(cached) " >&6
3012 else
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3016 #include <$2>
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3019 eval "$3=yes"
3020 else
3021 eval "$3=no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_header_compile
3032 # ac_fn_objc_try_compile LINENO
3033 # -----------------------------
3034 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3035 ac_fn_objc_try_compile ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 rm -f conftest.$ac_objext
3039 if { { ac_try="$ac_compile"
3040 case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_compile") 2>conftest.err
3047 ac_status=$?
3048 if test -s conftest.err; then
3049 grep -v '^ *+' conftest.err >conftest.er1
3050 cat conftest.er1 >&5
3051 mv -f conftest.er1 conftest.err
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; } && {
3055 test -z "$ac_objc_werror_flag" ||
3056 test ! -s conftest.err
3057 } && test -s conftest.$ac_objext; then :
3058 ac_retval=0
3059 else
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_retval=1
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3068 } # ac_fn_objc_try_compile
3070 # ac_fn_objc_try_cpp LINENO
3071 # -------------------------
3072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_objc_try_cpp ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 if { { ac_try="$ac_cpp conftest.$ac_ext"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3084 ac_status=$?
3085 if test -s conftest.err; then
3086 grep -v '^ *+' conftest.err >conftest.er1
3087 cat conftest.er1 >&5
3088 mv -f conftest.er1 conftest.err
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; } > conftest.i && {
3092 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3093 test ! -s conftest.err
3094 }; then :
3095 ac_retval=0
3096 else
3097 $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3100 ac_retval=1
3102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 as_fn_set_status $ac_retval
3105 } # ac_fn_objc_try_cpp
3107 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3108 # ----------------------------------------------------------
3109 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3110 # the include files in INCLUDES and setting the cache variable VAR
3111 # accordingly.
3112 ac_fn_objc_check_header_mongrel ()
3114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115 if eval \${$3+:} false; then :
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3117 $as_echo_n "checking for $2... " >&6; }
3118 if eval \${$3+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 eval ac_res=\$$3
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 $as_echo "$ac_res" >&6; }
3124 else
3125 # Is the header compilable?
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3127 $as_echo_n "checking $2 usability... " >&6; }
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3131 #include <$2>
3132 _ACEOF
3133 if ac_fn_objc_try_compile "$LINENO"; then :
3134 ac_header_compiler=yes
3135 else
3136 ac_header_compiler=no
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3140 $as_echo "$ac_header_compiler" >&6; }
3142 # Is the header present?
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3144 $as_echo_n "checking $2 presence... " >&6; }
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3147 #include <$2>
3148 _ACEOF
3149 if ac_fn_objc_try_cpp "$LINENO"; then :
3150 ac_header_preproc=yes
3151 else
3152 ac_header_preproc=no
3154 rm -f conftest.err conftest.i conftest.$ac_ext
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3156 $as_echo "$ac_header_preproc" >&6; }
3158 # So? What about this header?
3159 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3160 yes:no: )
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3162 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3166 no:yes:* )
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3168 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3170 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3172 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3174 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 ( $as_echo "## ------------------------------------ ##
3178 ## Report this to wine-devel@winehq.org ##
3179 ## ------------------------------------ ##"
3180 ) | sed "s/^/$as_me: WARNING: /" >&2
3182 esac
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3184 $as_echo_n "checking for $2... " >&6; }
3185 if eval \${$3+:} false; then :
3186 $as_echo_n "(cached) " >&6
3187 else
3188 eval "$3=\$ac_header_compiler"
3190 eval ac_res=\$$3
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3192 $as_echo "$ac_res" >&6; }
3194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3196 } # ac_fn_objc_check_header_mongrel
3198 # ac_fn_c_check_func LINENO FUNC VAR
3199 # ----------------------------------
3200 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3201 ac_fn_c_check_func ()
3203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3208 else
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3211 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3213 #define $2 innocuous_$2
3215 /* System header to define __stub macros and hopefully few prototypes,
3216 which can conflict with char $2 (); below.
3217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3218 <limits.h> exists even on freestanding compilers. */
3220 #ifdef __STDC__
3221 # include <limits.h>
3222 #else
3223 # include <assert.h>
3224 #endif
3226 #undef $2
3228 /* Override any GCC internal prototype to avoid an error.
3229 Use char because int might match the return type of a GCC
3230 builtin and then its argument prototype would still apply. */
3231 #ifdef __cplusplus
3232 extern "C"
3233 #endif
3234 char $2 ();
3235 /* The GNU C library defines this for functions which it implements
3236 to always fail with ENOSYS. Some functions are actually named
3237 something starting with __ and the normal name is an alias. */
3238 #if defined __stub_$2 || defined __stub___$2
3239 choke me
3240 #endif
3243 main ()
3245 return $2 ();
3247 return 0;
3249 _ACEOF
3250 if ac_fn_c_try_link "$LINENO"; then :
3251 eval "$3=yes"
3252 else
3253 eval "$3=no"
3255 rm -f core conftest.err conftest.$ac_objext \
3256 conftest$ac_exeext conftest.$ac_ext
3258 eval ac_res=\$$3
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3260 $as_echo "$ac_res" >&6; }
3261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3263 } # ac_fn_c_check_func
3265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3266 # ----------------------------------------------------
3267 # Tries to find if the field MEMBER exists in type AGGR, after including
3268 # INCLUDES, setting cache variable VAR accordingly.
3269 ac_fn_c_check_member ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3273 $as_echo_n "checking for $2.$3... " >&6; }
3274 if eval \${$4+:} false; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3281 main ()
3283 static $2 ac_aggr;
3284 if (ac_aggr.$3)
3285 return 0;
3287 return 0;
3289 _ACEOF
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 eval "$4=yes"
3292 else
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3297 main ()
3299 static $2 ac_aggr;
3300 if (sizeof ac_aggr.$3)
3301 return 0;
3303 return 0;
3305 _ACEOF
3306 if ac_fn_c_try_compile "$LINENO"; then :
3307 eval "$4=yes"
3308 else
3309 eval "$4=no"
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 eval ac_res=\$$4
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3317 $as_echo "$ac_res" >&6; }
3318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3320 } # ac_fn_c_check_member
3322 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3323 # -------------------------------------------
3324 # Tests whether TYPE exists after having included INCLUDES, setting cache
3325 # variable VAR accordingly.
3326 ac_fn_c_check_type ()
3328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3330 $as_echo_n "checking for $2... " >&6; }
3331 if eval \${$3+:} false; then :
3332 $as_echo_n "(cached) " >&6
3333 else
3334 eval "$3=no"
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3339 main ()
3341 if (sizeof ($2))
3342 return 0;
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main ()
3354 if (sizeof (($2)))
3355 return 0;
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"; then :
3362 else
3363 eval "$3=yes"
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 eval ac_res=\$$3
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3371 $as_echo "$ac_res" >&6; }
3372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3374 } # ac_fn_c_check_type
3375 cat >config.log <<_ACEOF
3376 This file contains any messages produced by compilers while
3377 running configure, to aid debugging if configure makes a mistake.
3379 It was created by Wine $as_me 4.1, which was
3380 generated by GNU Autoconf 2.69. Invocation command line was
3382 $ $0 $@
3384 _ACEOF
3385 exec 5>>config.log
3387 cat <<_ASUNAME
3388 ## --------- ##
3389 ## Platform. ##
3390 ## --------- ##
3392 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3393 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3394 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3395 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3396 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3398 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3399 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3401 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3402 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3403 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3404 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3405 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3406 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3407 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3409 _ASUNAME
3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 for as_dir in $PATH
3414 IFS=$as_save_IFS
3415 test -z "$as_dir" && as_dir=.
3416 $as_echo "PATH: $as_dir"
3417 done
3418 IFS=$as_save_IFS
3420 } >&5
3422 cat >&5 <<_ACEOF
3425 ## ----------- ##
3426 ## Core tests. ##
3427 ## ----------- ##
3429 _ACEOF
3432 # Keep a trace of the command line.
3433 # Strip out --no-create and --no-recursion so they do not pile up.
3434 # Strip out --silent because we don't want to record it for future runs.
3435 # Also quote any args containing shell meta-characters.
3436 # Make two passes to allow for proper duplicate-argument suppression.
3437 ac_configure_args=
3438 ac_configure_args0=
3439 ac_configure_args1=
3440 ac_must_keep_next=false
3441 for ac_pass in 1 2
3443 for ac_arg
3445 case $ac_arg in
3446 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3447 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3448 | -silent | --silent | --silen | --sile | --sil)
3449 continue ;;
3450 *\'*)
3451 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3452 esac
3453 case $ac_pass in
3454 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3456 as_fn_append ac_configure_args1 " '$ac_arg'"
3457 if test $ac_must_keep_next = true; then
3458 ac_must_keep_next=false # Got value, back to normal.
3459 else
3460 case $ac_arg in
3461 *=* | --config-cache | -C | -disable-* | --disable-* \
3462 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3463 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3464 | -with-* | --with-* | -without-* | --without-* | --x)
3465 case "$ac_configure_args0 " in
3466 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3467 esac
3469 -* ) ac_must_keep_next=true ;;
3470 esac
3472 as_fn_append ac_configure_args " '$ac_arg'"
3474 esac
3475 done
3476 done
3477 { ac_configure_args0=; unset ac_configure_args0;}
3478 { ac_configure_args1=; unset ac_configure_args1;}
3480 # When interrupted or exit'd, cleanup temporary files, and complete
3481 # config.log. We remove comments because anyway the quotes in there
3482 # would cause problems or look ugly.
3483 # WARNING: Use '\'' to represent an apostrophe within the trap.
3484 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3485 trap 'exit_status=$?
3486 # Save into config.log some information that might help in debugging.
3488 echo
3490 $as_echo "## ---------------- ##
3491 ## Cache variables. ##
3492 ## ---------------- ##"
3493 echo
3494 # The following way of writing the cache mishandles newlines in values,
3496 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3497 eval ac_val=\$$ac_var
3498 case $ac_val in #(
3499 *${as_nl}*)
3500 case $ac_var in #(
3501 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3502 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3503 esac
3504 case $ac_var in #(
3505 _ | IFS | as_nl) ;; #(
3506 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3507 *) { eval $ac_var=; unset $ac_var;} ;;
3508 esac ;;
3509 esac
3510 done
3511 (set) 2>&1 |
3512 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3513 *${as_nl}ac_space=\ *)
3514 sed -n \
3515 "s/'\''/'\''\\\\'\'''\''/g;
3516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3517 ;; #(
3519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3521 esac |
3522 sort
3524 echo
3526 $as_echo "## ----------------- ##
3527 ## Output variables. ##
3528 ## ----------------- ##"
3529 echo
3530 for ac_var in $ac_subst_vars
3532 eval ac_val=\$$ac_var
3533 case $ac_val in
3534 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3535 esac
3536 $as_echo "$ac_var='\''$ac_val'\''"
3537 done | sort
3538 echo
3540 if test -n "$ac_subst_files"; then
3541 $as_echo "## ------------------- ##
3542 ## File substitutions. ##
3543 ## ------------------- ##"
3544 echo
3545 for ac_var in $ac_subst_files
3547 eval ac_val=\$$ac_var
3548 case $ac_val in
3549 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3550 esac
3551 $as_echo "$ac_var='\''$ac_val'\''"
3552 done | sort
3553 echo
3556 if test -s confdefs.h; then
3557 $as_echo "## ----------- ##
3558 ## confdefs.h. ##
3559 ## ----------- ##"
3560 echo
3561 cat confdefs.h
3562 echo
3564 test "$ac_signal" != 0 &&
3565 $as_echo "$as_me: caught signal $ac_signal"
3566 $as_echo "$as_me: exit $exit_status"
3567 } >&5
3568 rm -f core *.core core.conftest.* &&
3569 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3570 exit $exit_status
3572 for ac_signal in 1 2 13 15; do
3573 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3574 done
3575 ac_signal=0
3577 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3578 rm -f -r conftest* confdefs.h
3580 $as_echo "/* confdefs.h */" > confdefs.h
3582 # Predefined preprocessor variables.
3584 cat >>confdefs.h <<_ACEOF
3585 #define PACKAGE_NAME "$PACKAGE_NAME"
3586 _ACEOF
3588 cat >>confdefs.h <<_ACEOF
3589 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3590 _ACEOF
3592 cat >>confdefs.h <<_ACEOF
3593 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3594 _ACEOF
3596 cat >>confdefs.h <<_ACEOF
3597 #define PACKAGE_STRING "$PACKAGE_STRING"
3598 _ACEOF
3600 cat >>confdefs.h <<_ACEOF
3601 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3602 _ACEOF
3604 cat >>confdefs.h <<_ACEOF
3605 #define PACKAGE_URL "$PACKAGE_URL"
3606 _ACEOF
3609 # Let the site file select an alternate cache file if it wants to.
3610 # Prefer an explicitly selected file to automatically selected ones.
3611 ac_site_file1=NONE
3612 ac_site_file2=NONE
3613 if test -n "$CONFIG_SITE"; then
3614 # We do not want a PATH search for config.site.
3615 case $CONFIG_SITE in #((
3616 -*) ac_site_file1=./$CONFIG_SITE;;
3617 */*) ac_site_file1=$CONFIG_SITE;;
3618 *) ac_site_file1=./$CONFIG_SITE;;
3619 esac
3620 elif test "x$prefix" != xNONE; then
3621 ac_site_file1=$prefix/share/config.site
3622 ac_site_file2=$prefix/etc/config.site
3623 else
3624 ac_site_file1=$ac_default_prefix/share/config.site
3625 ac_site_file2=$ac_default_prefix/etc/config.site
3627 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3629 test "x$ac_site_file" = xNONE && continue
3630 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3632 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3633 sed 's/^/| /' "$ac_site_file" >&5
3634 . "$ac_site_file" \
3635 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 as_fn_error $? "failed to load site script $ac_site_file
3638 See \`config.log' for more details" "$LINENO" 5; }
3640 done
3642 if test -r "$cache_file"; then
3643 # Some versions of bash will fail to source /dev/null (special files
3644 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3645 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3647 $as_echo "$as_me: loading cache $cache_file" >&6;}
3648 case $cache_file in
3649 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3650 *) . "./$cache_file";;
3651 esac
3653 else
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3655 $as_echo "$as_me: creating cache $cache_file" >&6;}
3656 >$cache_file
3659 # Check that the precious variables saved in the cache have kept the same
3660 # value.
3661 ac_cache_corrupted=false
3662 for ac_var in $ac_precious_vars; do
3663 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3664 eval ac_new_set=\$ac_env_${ac_var}_set
3665 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3666 eval ac_new_val=\$ac_env_${ac_var}_value
3667 case $ac_old_set,$ac_new_set in
3668 set,)
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3670 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3671 ac_cache_corrupted=: ;;
3672 ,set)
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3674 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3675 ac_cache_corrupted=: ;;
3676 ,);;
3678 if test "x$ac_old_val" != "x$ac_new_val"; then
3679 # differences in whitespace do not lead to failure.
3680 ac_old_val_w=`echo x $ac_old_val`
3681 ac_new_val_w=`echo x $ac_new_val`
3682 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3684 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3685 ac_cache_corrupted=:
3686 else
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3688 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3689 eval $ac_var=\$ac_old_val
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3692 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3694 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3695 fi;;
3696 esac
3697 # Pass precious variables to config.status.
3698 if test "$ac_new_set" = set; then
3699 case $ac_new_val in
3700 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3701 *) ac_arg=$ac_var=$ac_new_val ;;
3702 esac
3703 case " $ac_configure_args " in
3704 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3705 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3706 esac
3708 done
3709 if $ac_cache_corrupted; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3713 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3714 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3716 ## -------------------- ##
3717 ## Main body of script. ##
3718 ## -------------------- ##
3720 ac_ext=c
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3728 ac_config_headers="$ac_config_headers include/config.h"
3730 ac_aux_dir=
3731 for ac_dir in tools "$srcdir"/tools; do
3732 if test -f "$ac_dir/install-sh"; then
3733 ac_aux_dir=$ac_dir
3734 ac_install_sh="$ac_aux_dir/install-sh -c"
3735 break
3736 elif test -f "$ac_dir/install.sh"; then
3737 ac_aux_dir=$ac_dir
3738 ac_install_sh="$ac_aux_dir/install.sh -c"
3739 break
3740 elif test -f "$ac_dir/shtool"; then
3741 ac_aux_dir=$ac_dir
3742 ac_install_sh="$ac_aux_dir/shtool install -c"
3743 break
3745 done
3746 if test -z "$ac_aux_dir"; then
3747 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3750 # These three variables are undocumented and unsupported,
3751 # and are intended to be withdrawn in a future Autoconf release.
3752 # They can cause serious problems if a builder's source tree is in a directory
3753 # whose full name contains unusual characters.
3754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3760 libwine_version="1.0"
3764 # Check whether --enable-win16 was given.
3765 if test "${enable_win16+set}" = set; then :
3766 enableval=$enable_win16;
3769 # Check whether --enable-win64 was given.
3770 if test "${enable_win64+set}" = set; then :
3771 enableval=$enable_win64;
3774 # Check whether --enable-tests was given.
3775 if test "${enable_tests+set}" = set; then :
3776 enableval=$enable_tests;
3779 # Check whether --enable-maintainer-mode was given.
3780 if test "${enable_maintainer_mode+set}" = set; then :
3781 enableval=$enable_maintainer_mode;
3786 # Check whether --with-alsa was given.
3787 if test "${with_alsa+set}" = set; then :
3788 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3792 # Check whether --with-capi was given.
3793 if test "${with_capi+set}" = set; then :
3794 withval=$with_capi;
3798 # Check whether --with-cms was given.
3799 if test "${with_cms+set}" = set; then :
3800 withval=$with_cms;
3804 # Check whether --with-coreaudio was given.
3805 if test "${with_coreaudio+set}" = set; then :
3806 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3810 # Check whether --with-cups was given.
3811 if test "${with_cups+set}" = set; then :
3812 withval=$with_cups;
3816 # Check whether --with-curses was given.
3817 if test "${with_curses+set}" = set; then :
3818 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3822 # Check whether --with-dbus was given.
3823 if test "${with_dbus+set}" = set; then :
3824 withval=$with_dbus;
3828 # Check whether --with-float-abi was given.
3829 if test "${with_float_abi+set}" = set; then :
3830 withval=$with_float_abi;
3834 # Check whether --with-fontconfig was given.
3835 if test "${with_fontconfig+set}" = set; then :
3836 withval=$with_fontconfig;
3840 # Check whether --with-freetype was given.
3841 if test "${with_freetype+set}" = set; then :
3842 withval=$with_freetype;
3846 # Check whether --with-gettext was given.
3847 if test "${with_gettext+set}" = set; then :
3848 withval=$with_gettext;
3852 # Check whether --with-gettextpo was given.
3853 if test "${with_gettextpo+set}" = set; then :
3854 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3858 # Check whether --with-gphoto was given.
3859 if test "${with_gphoto+set}" = set; then :
3860 withval=$with_gphoto;
3864 # Check whether --with-glu was given.
3865 if test "${with_glu+set}" = set; then :
3866 withval=$with_glu;
3870 # Check whether --with-gnutls was given.
3871 if test "${with_gnutls+set}" = set; then :
3872 withval=$with_gnutls;
3876 # Check whether --with-gsm was given.
3877 if test "${with_gsm+set}" = set; then :
3878 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3882 # Check whether --with-gssapi was given.
3883 if test "${with_gssapi+set}" = set; then :
3884 withval=$with_gssapi;
3888 # Check whether --with-gstreamer was given.
3889 if test "${with_gstreamer+set}" = set; then :
3890 withval=$with_gstreamer;
3894 # Check whether --with-hal was given.
3895 if test "${with_hal+set}" = set; then :
3896 withval=$with_hal;
3900 # Check whether --with-jpeg was given.
3901 if test "${with_jpeg+set}" = set; then :
3902 withval=$with_jpeg;
3906 # Check whether --with-krb5 was given.
3907 if test "${with_krb5+set}" = set; then :
3908 withval=$with_krb5;
3912 # Check whether --with-ldap was given.
3913 if test "${with_ldap+set}" = set; then :
3914 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3918 # Check whether --with-mpg123 was given.
3919 if test "${with_mpg123+set}" = set; then :
3920 withval=$with_mpg123;
3924 # Check whether --with-netapi was given.
3925 if test "${with_netapi+set}" = set; then :
3926 withval=$with_netapi;
3930 # Check whether --with-openal was given.
3931 if test "${with_openal+set}" = set; then :
3932 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3936 # Check whether --with-opencl was given.
3937 if test "${with_opencl+set}" = set; then :
3938 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3942 # Check whether --with-opengl was given.
3943 if test "${with_opengl+set}" = set; then :
3944 withval=$with_opengl;
3948 # Check whether --with-osmesa was given.
3949 if test "${with_osmesa+set}" = set; then :
3950 withval=$with_osmesa;
3954 # Check whether --with-oss was given.
3955 if test "${with_oss+set}" = set; then :
3956 withval=$with_oss;
3960 # Check whether --with-pcap was given.
3961 if test "${with_pcap+set}" = set; then :
3962 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3966 # Check whether --with-png was given.
3967 if test "${with_png+set}" = set; then :
3968 withval=$with_png;
3972 # Check whether --with-pthread was given.
3973 if test "${with_pthread+set}" = set; then :
3974 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3978 # Check whether --with-pulse was given.
3979 if test "${with_pulse+set}" = set; then :
3980 withval=$with_pulse;
3984 # Check whether --with-sane was given.
3985 if test "${with_sane+set}" = set; then :
3986 withval=$with_sane;
3990 # Check whether --with-sdl was given.
3991 if test "${with_sdl+set}" = set; then :
3992 withval=$with_sdl;
3996 # Check whether --with-tiff was given.
3997 if test "${with_tiff+set}" = set; then :
3998 withval=$with_tiff;
4002 # Check whether --with-udev was given.
4003 if test "${with_udev+set}" = set; then :
4004 withval=$with_udev;
4008 # Check whether --with-v4l was given.
4009 if test "${with_v4l+set}" = set; then :
4010 withval=$with_v4l;
4014 # Check whether --with-vkd3d was given.
4015 if test "${with_vkd3d+set}" = set; then :
4016 withval=$with_vkd3d;
4020 # Check whether --with-vulkan was given.
4021 if test "${with_vulkan+set}" = set; then :
4022 withval=$with_vulkan;
4026 # Check whether --with-xcomposite was given.
4027 if test "${with_xcomposite+set}" = set; then :
4028 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4032 # Check whether --with-xcursor was given.
4033 if test "${with_xcursor+set}" = set; then :
4034 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4038 # Check whether --with-xfixes was given.
4039 if test "${with_xfixes+set}" = set; then :
4040 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4044 # Check whether --with-xinerama was given.
4045 if test "${with_xinerama+set}" = set; then :
4046 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4050 # Check whether --with-xinput was given.
4051 if test "${with_xinput+set}" = set; then :
4052 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4056 # Check whether --with-xinput2 was given.
4057 if test "${with_xinput2+set}" = set; then :
4058 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4062 # Check whether --with-xml was given.
4063 if test "${with_xml+set}" = set; then :
4064 withval=$with_xml;
4068 # Check whether --with-xrandr was given.
4069 if test "${with_xrandr+set}" = set; then :
4070 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4074 # Check whether --with-xrender was given.
4075 if test "${with_xrender+set}" = set; then :
4076 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4080 # Check whether --with-xshape was given.
4081 if test "${with_xshape+set}" = set; then :
4082 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4086 # Check whether --with-xshm was given.
4087 if test "${with_xshm+set}" = set; then :
4088 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4092 # Check whether --with-xslt was given.
4093 if test "${with_xslt+set}" = set; then :
4094 withval=$with_xslt;
4098 # Check whether --with-xxf86vm was given.
4099 if test "${with_xxf86vm+set}" = set; then :
4100 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
4104 # Check whether --with-zlib was given.
4105 if test "${with_zlib+set}" = set; then :
4106 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4111 # Check whether --with-wine-tools was given.
4112 if test "${with_wine_tools+set}" = set; then :
4113 withval=$with_wine_tools;
4117 # Check whether --with-wine64 was given.
4118 if test "${with_wine64+set}" = set; then :
4119 withval=$with_wine64;
4123 # Make sure we can run config.sub.
4124 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4125 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4128 $as_echo_n "checking build system type... " >&6; }
4129 if ${ac_cv_build+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 ac_build_alias=$build_alias
4133 test "x$ac_build_alias" = x &&
4134 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4135 test "x$ac_build_alias" = x &&
4136 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4137 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4138 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4142 $as_echo "$ac_cv_build" >&6; }
4143 case $ac_cv_build in
4144 *-*-*) ;;
4145 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4146 esac
4147 build=$ac_cv_build
4148 ac_save_IFS=$IFS; IFS='-'
4149 set x $ac_cv_build
4150 shift
4151 build_cpu=$1
4152 build_vendor=$2
4153 shift; shift
4154 # Remember, the first character of IFS is used to create $*,
4155 # except with old shells:
4156 build_os=$*
4157 IFS=$ac_save_IFS
4158 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4162 $as_echo_n "checking host system type... " >&6; }
4163 if ${ac_cv_host+:} false; then :
4164 $as_echo_n "(cached) " >&6
4165 else
4166 if test "x$host_alias" = x; then
4167 ac_cv_host=$ac_cv_build
4168 else
4169 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4170 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4175 $as_echo "$ac_cv_host" >&6; }
4176 case $ac_cv_host in
4177 *-*-*) ;;
4178 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4179 esac
4180 host=$ac_cv_host
4181 ac_save_IFS=$IFS; IFS='-'
4182 set x $ac_cv_host
4183 shift
4184 host_cpu=$1
4185 host_vendor=$2
4186 shift; shift
4187 # Remember, the first character of IFS is used to create $*,
4188 # except with old shells:
4189 host_os=$*
4190 IFS=$ac_save_IFS
4191 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4195 case "$srcdir" in
4196 .) ;;
4197 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4198 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4199 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4200 fi ;;
4201 esac
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4205 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4206 set x ${MAKE-make}
4207 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4208 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4209 $as_echo_n "(cached) " >&6
4210 else
4211 cat >conftest.make <<\_ACEOF
4212 SHELL = /bin/sh
4213 all:
4214 @echo '@@@%%%=$(MAKE)=@@@%%%'
4215 _ACEOF
4216 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4217 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4218 *@@@%%%=?*=@@@%%%*)
4219 eval ac_cv_prog_make_${ac_make}_set=yes;;
4221 eval ac_cv_prog_make_${ac_make}_set=no;;
4222 esac
4223 rm -f conftest.make
4225 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4228 SET_MAKE=
4229 else
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 SET_MAKE="MAKE=${MAKE-make}"
4235 ac_ext=c
4236 ac_cpp='$CPP $CPPFLAGS'
4237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4240 if test -n "$ac_tool_prefix"; then
4241 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4242 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4244 $as_echo_n "checking for $ac_word... " >&6; }
4245 if ${ac_cv_prog_CC+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 if test -n "$CC"; then
4249 ac_cv_prog_CC="$CC" # Let the user override the test.
4250 else
4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 for as_dir in $PATH
4254 IFS=$as_save_IFS
4255 test -z "$as_dir" && as_dir=.
4256 for ac_exec_ext in '' $ac_executable_extensions; do
4257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4258 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 break 2
4262 done
4263 done
4264 IFS=$as_save_IFS
4268 CC=$ac_cv_prog_CC
4269 if test -n "$CC"; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4271 $as_echo "$CC" >&6; }
4272 else
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4279 if test -z "$ac_cv_prog_CC"; then
4280 ac_ct_CC=$CC
4281 # Extract the first word of "gcc", so it can be a program name with args.
4282 set dummy gcc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$ac_ct_CC"; then
4289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_CC="gcc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4309 if test -n "$ac_ct_CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4311 $as_echo "$ac_ct_CC" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4317 if test "x$ac_ct_CC" = x; then
4318 CC=""
4319 else
4320 case $cross_compiling:$ac_tool_warned in
4321 yes:)
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4324 ac_tool_warned=yes ;;
4325 esac
4326 CC=$ac_ct_CC
4328 else
4329 CC="$ac_cv_prog_CC"
4332 if test -z "$CC"; then
4333 if test -n "$ac_tool_prefix"; then
4334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4335 set dummy ${ac_tool_prefix}cc; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_CC+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -n "$CC"; then
4342 ac_cv_prog_CC="$CC" # Let the user override the test.
4343 else
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4347 IFS=$as_save_IFS
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_CC="${ac_tool_prefix}cc"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 break 2
4355 done
4356 done
4357 IFS=$as_save_IFS
4361 CC=$ac_cv_prog_CC
4362 if test -n "$CC"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4364 $as_echo "$CC" >&6; }
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4373 if test -z "$CC"; then
4374 # Extract the first word of "cc", so it can be a program name with args.
4375 set dummy cc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 else
4384 ac_prog_rejected=no
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4393 ac_prog_rejected=yes
4394 continue
4396 ac_cv_prog_CC="cc"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 break 2
4400 done
4401 done
4402 IFS=$as_save_IFS
4404 if test $ac_prog_rejected = yes; then
4405 # We found a bogon in the path, so make sure we never use it.
4406 set dummy $ac_cv_prog_CC
4407 shift
4408 if test $# != 0; then
4409 # We chose a different compiler from the bogus one.
4410 # However, it has the same basename, so the bogon will be chosen
4411 # first if we set CC to just the basename; use the full file name.
4412 shift
4413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4418 CC=$ac_cv_prog_CC
4419 if test -n "$CC"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4421 $as_echo "$CC" >&6; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4429 if test -z "$CC"; then
4430 if test -n "$ac_tool_prefix"; then
4431 for ac_prog in cl.exe
4433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_CC+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if test -n "$CC"; then
4441 ac_cv_prog_CC="$CC" # Let the user override the test.
4442 else
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4446 IFS=$as_save_IFS
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 break 2
4454 done
4455 done
4456 IFS=$as_save_IFS
4460 CC=$ac_cv_prog_CC
4461 if test -n "$CC"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4463 $as_echo "$CC" >&6; }
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4470 test -n "$CC" && break
4471 done
4473 if test -z "$CC"; then
4474 ac_ct_CC=$CC
4475 for ac_prog in cl.exe
4477 # Extract the first word of "$ac_prog", so it can be a program name with args.
4478 set dummy $ac_prog; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 if test -n "$ac_ct_CC"; then
4485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4486 else
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 for as_dir in $PATH
4490 IFS=$as_save_IFS
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_ac_ct_CC="$ac_prog"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 break 2
4498 done
4499 done
4500 IFS=$as_save_IFS
4504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4505 if test -n "$ac_ct_CC"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4507 $as_echo "$ac_ct_CC" >&6; }
4508 else
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 test -n "$ac_ct_CC" && break
4515 done
4517 if test "x$ac_ct_CC" = x; then
4518 CC=""
4519 else
4520 case $cross_compiling:$ac_tool_warned in
4521 yes:)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4524 ac_tool_warned=yes ;;
4525 esac
4526 CC=$ac_ct_CC
4533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4535 as_fn_error $? "no acceptable C compiler found in \$PATH
4536 See \`config.log' for more details" "$LINENO" 5; }
4538 # Provide some information about the compiler.
4539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4540 set X $ac_compile
4541 ac_compiler=$2
4542 for ac_option in --version -v -V -qversion; do
4543 { { ac_try="$ac_compiler $ac_option >&5"
4544 case "(($ac_try" in
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4547 esac
4548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4551 ac_status=$?
4552 if test -s conftest.err; then
4553 sed '10a\
4554 ... rest of stderr output deleted ...
4555 10q' conftest.err >conftest.er1
4556 cat conftest.er1 >&5
4558 rm -f conftest.er1 conftest.err
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }
4561 done
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 ac_clean_files_save=$ac_clean_files
4575 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4576 # Try to create an executable without -o first, disregard a.out.
4577 # It will help us diagnose broken compilers, and finding out an intuition
4578 # of exeext.
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4580 $as_echo_n "checking whether the C compiler works... " >&6; }
4581 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4583 # The possible output files:
4584 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4586 ac_rmfiles=
4587 for ac_file in $ac_files
4589 case $ac_file in
4590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4591 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4592 esac
4593 done
4594 rm -f $ac_rmfiles
4596 if { { ac_try="$ac_link_default"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4602 $as_echo "$ac_try_echo"; } >&5
4603 (eval "$ac_link_default") 2>&5
4604 ac_status=$?
4605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4606 test $ac_status = 0; }; then :
4607 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4608 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4609 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4610 # so that the user can short-circuit this test for compilers unknown to
4611 # Autoconf.
4612 for ac_file in $ac_files ''
4614 test -f "$ac_file" || continue
4615 case $ac_file in
4616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4618 [ab].out )
4619 # We found the default executable, but exeext='' is most
4620 # certainly right.
4621 break;;
4622 *.* )
4623 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4624 then :; else
4625 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4627 # We set ac_cv_exeext here because the later test for it is not
4628 # safe: cross compilers may not add the suffix if given an `-o'
4629 # argument, so we may need to know it at that point already.
4630 # Even if this section looks crufty: it has the advantage of
4631 # actually working.
4632 break;;
4634 break;;
4635 esac
4636 done
4637 test "$ac_cv_exeext" = no && ac_cv_exeext=
4639 else
4640 ac_file=''
4642 if test -z "$ac_file"; then :
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4645 $as_echo "$as_me: failed program was:" >&5
4646 sed 's/^/| /' conftest.$ac_ext >&5
4648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4650 as_fn_error 77 "C compiler cannot create executables
4651 See \`config.log' for more details" "$LINENO" 5; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4654 $as_echo "yes" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4657 $as_echo_n "checking for C compiler default output file name... " >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4659 $as_echo "$ac_file" >&6; }
4660 ac_exeext=$ac_cv_exeext
4662 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4663 ac_clean_files=$ac_clean_files_save
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4665 $as_echo_n "checking for suffix of executables... " >&6; }
4666 if { { ac_try="$ac_link"
4667 case "(($ac_try" in
4668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4670 esac
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4672 $as_echo "$ac_try_echo"; } >&5
4673 (eval "$ac_link") 2>&5
4674 ac_status=$?
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }; then :
4677 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4678 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4679 # work properly (i.e., refer to `conftest.exe'), while it won't with
4680 # `rm'.
4681 for ac_file in conftest.exe conftest conftest.*; do
4682 test -f "$ac_file" || continue
4683 case $ac_file in
4684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4685 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4686 break;;
4687 * ) break;;
4688 esac
4689 done
4690 else
4691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4693 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4694 See \`config.log' for more details" "$LINENO" 5; }
4696 rm -f conftest conftest$ac_cv_exeext
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4698 $as_echo "$ac_cv_exeext" >&6; }
4700 rm -f conftest.$ac_ext
4701 EXEEXT=$ac_cv_exeext
4702 ac_exeext=$EXEEXT
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <stdio.h>
4707 main ()
4709 FILE *f = fopen ("conftest.out", "w");
4710 return ferror (f) || fclose (f) != 0;
4713 return 0;
4715 _ACEOF
4716 ac_clean_files="$ac_clean_files conftest.out"
4717 # Check that the compiler produces executables we can run. If not, either
4718 # the compiler is broken, or we cross compile.
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4720 $as_echo_n "checking whether we are cross compiling... " >&6; }
4721 if test "$cross_compiling" != yes; then
4722 { { ac_try="$ac_link"
4723 case "(($ac_try" in
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4726 esac
4727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4728 $as_echo "$ac_try_echo"; } >&5
4729 (eval "$ac_link") 2>&5
4730 ac_status=$?
4731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }
4733 if { ac_try='./conftest$ac_cv_exeext'
4734 { { case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_try") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; }; then
4744 cross_compiling=no
4745 else
4746 if test "$cross_compiling" = maybe; then
4747 cross_compiling=yes
4748 else
4749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4751 as_fn_error $? "cannot run C compiled programs.
4752 If you meant to cross compile, use \`--host'.
4753 See \`config.log' for more details" "$LINENO" 5; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4758 $as_echo "$cross_compiling" >&6; }
4760 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4761 ac_clean_files=$ac_clean_files_save
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4763 $as_echo_n "checking for suffix of object files... " >&6; }
4764 if ${ac_cv_objext+:} false; then :
4765 $as_echo_n "(cached) " >&6
4766 else
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4775 return 0;
4777 _ACEOF
4778 rm -f conftest.o conftest.obj
4779 if { { ac_try="$ac_compile"
4780 case "(($ac_try" in
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4783 esac
4784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4785 $as_echo "$ac_try_echo"; } >&5
4786 (eval "$ac_compile") 2>&5
4787 ac_status=$?
4788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789 test $ac_status = 0; }; then :
4790 for ac_file in conftest.o conftest.obj conftest.*; do
4791 test -f "$ac_file" || continue;
4792 case $ac_file in
4793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4794 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4795 break;;
4796 esac
4797 done
4798 else
4799 $as_echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.$ac_ext >&5
4802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4804 as_fn_error $? "cannot compute suffix of object files: cannot compile
4805 See \`config.log' for more details" "$LINENO" 5; }
4807 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4810 $as_echo "$ac_cv_objext" >&6; }
4811 OBJEXT=$ac_cv_objext
4812 ac_objext=$OBJEXT
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4814 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4815 if ${ac_cv_c_compiler_gnu+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4822 main ()
4824 #ifndef __GNUC__
4825 choke me
4826 #endif
4829 return 0;
4831 _ACEOF
4832 if ac_fn_c_try_compile "$LINENO"; then :
4833 ac_compiler_gnu=yes
4834 else
4835 ac_compiler_gnu=no
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4842 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4843 if test $ac_compiler_gnu = yes; then
4844 GCC=yes
4845 else
4846 GCC=
4848 ac_test_CFLAGS=${CFLAGS+set}
4849 ac_save_CFLAGS=$CFLAGS
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4851 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4852 if ${ac_cv_prog_cc_g+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 ac_save_c_werror_flag=$ac_c_werror_flag
4856 ac_c_werror_flag=yes
4857 ac_cv_prog_cc_g=no
4858 CFLAGS="-g"
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4863 main ()
4867 return 0;
4869 _ACEOF
4870 if ac_fn_c_try_compile "$LINENO"; then :
4871 ac_cv_prog_cc_g=yes
4872 else
4873 CFLAGS=""
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4882 return 0;
4884 _ACEOF
4885 if ac_fn_c_try_compile "$LINENO"; then :
4887 else
4888 ac_c_werror_flag=$ac_save_c_werror_flag
4889 CFLAGS="-g"
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4894 main ()
4898 return 0;
4900 _ACEOF
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_prog_cc_g=yes
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 ac_c_werror_flag=$ac_save_c_werror_flag
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4912 $as_echo "$ac_cv_prog_cc_g" >&6; }
4913 if test "$ac_test_CFLAGS" = set; then
4914 CFLAGS=$ac_save_CFLAGS
4915 elif test $ac_cv_prog_cc_g = yes; then
4916 if test "$GCC" = yes; then
4917 CFLAGS="-g -O2"
4918 else
4919 CFLAGS="-g"
4921 else
4922 if test "$GCC" = yes; then
4923 CFLAGS="-O2"
4924 else
4925 CFLAGS=
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4929 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4930 if ${ac_cv_prog_cc_c89+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 ac_cv_prog_cc_c89=no
4934 ac_save_CC=$CC
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4937 #include <stdarg.h>
4938 #include <stdio.h>
4939 struct stat;
4940 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4941 struct buf { int x; };
4942 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4943 static char *e (p, i)
4944 char **p;
4945 int i;
4947 return p[i];
4949 static char *f (char * (*g) (char **, int), char **p, ...)
4951 char *s;
4952 va_list v;
4953 va_start (v,p);
4954 s = g (p, va_arg (v,int));
4955 va_end (v);
4956 return s;
4959 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4960 function prototypes and stuff, but not '\xHH' hex character constants.
4961 These don't provoke an error unfortunately, instead are silently treated
4962 as 'x'. The following induces an error, until -std is added to get
4963 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4964 array size at least. It's necessary to write '\x00'==0 to get something
4965 that's true only with -std. */
4966 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4968 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4969 inside strings and character constants. */
4970 #define FOO(x) 'x'
4971 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4973 int test (int i, double x);
4974 struct s1 {int (*f) (int a);};
4975 struct s2 {int (*f) (double a);};
4976 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4977 int argc;
4978 char **argv;
4980 main ()
4982 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4984 return 0;
4986 _ACEOF
4987 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4988 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4990 CC="$ac_save_CC $ac_arg"
4991 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_cv_prog_cc_c89=$ac_arg
4994 rm -f core conftest.err conftest.$ac_objext
4995 test "x$ac_cv_prog_cc_c89" != "xno" && break
4996 done
4997 rm -f conftest.$ac_ext
4998 CC=$ac_save_CC
5001 # AC_CACHE_VAL
5002 case "x$ac_cv_prog_cc_c89" in
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5005 $as_echo "none needed" >&6; } ;;
5006 xno)
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5008 $as_echo "unsupported" >&6; } ;;
5010 CC="$CC $ac_cv_prog_cc_c89"
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5012 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5013 esac
5014 if test "x$ac_cv_prog_cc_c89" != xno; then :
5018 ac_ext=c
5019 ac_cpp='$CPP $CPPFLAGS'
5020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5024 ac_ext=cpp
5025 ac_cpp='$CXXCPP $CPPFLAGS'
5026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5029 if test -z "$CXX"; then
5030 if test -n "$CCC"; then
5031 CXX=$CCC
5032 else
5033 if test -n "$ac_tool_prefix"; then
5034 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_CXX+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$CXX"; then
5044 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 CXX=$ac_cv_prog_CXX
5064 if test -n "$CXX"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5066 $as_echo "$CXX" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$CXX" && break
5074 done
5076 if test -z "$CXX"; then
5077 ac_ct_CXX=$CXX
5078 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_CXX"; then
5088 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_ac_ct_CXX="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5108 if test -n "$ac_ct_CXX"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5110 $as_echo "$ac_ct_CXX" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$ac_ct_CXX" && break
5118 done
5120 if test "x$ac_ct_CXX" = x; then
5121 CXX="g++"
5122 else
5123 case $cross_compiling:$ac_tool_warned in
5124 yes:)
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5128 esac
5129 CXX=$ac_ct_CXX
5135 # Provide some information about the compiler.
5136 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5137 set X $ac_compile
5138 ac_compiler=$2
5139 for ac_option in --version -v -V -qversion; do
5140 { { ac_try="$ac_compiler $ac_option >&5"
5141 case "(($ac_try" in
5142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143 *) ac_try_echo=$ac_try;;
5144 esac
5145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5146 $as_echo "$ac_try_echo"; } >&5
5147 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5148 ac_status=$?
5149 if test -s conftest.err; then
5150 sed '10a\
5151 ... rest of stderr output deleted ...
5152 10q' conftest.err >conftest.er1
5153 cat conftest.er1 >&5
5155 rm -f conftest.er1 conftest.err
5156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5157 test $ac_status = 0; }
5158 done
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5161 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5162 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5163 $as_echo_n "(cached) " >&6
5164 else
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5169 main ()
5171 #ifndef __GNUC__
5172 choke me
5173 #endif
5176 return 0;
5178 _ACEOF
5179 if ac_fn_cxx_try_compile "$LINENO"; then :
5180 ac_compiler_gnu=yes
5181 else
5182 ac_compiler_gnu=no
5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5189 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5190 if test $ac_compiler_gnu = yes; then
5191 GXX=yes
5192 else
5193 GXX=
5195 ac_test_CXXFLAGS=${CXXFLAGS+set}
5196 ac_save_CXXFLAGS=$CXXFLAGS
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5198 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5199 if ${ac_cv_prog_cxx_g+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5203 ac_cxx_werror_flag=yes
5204 ac_cv_prog_cxx_g=no
5205 CXXFLAGS="-g"
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5210 main ()
5214 return 0;
5216 _ACEOF
5217 if ac_fn_cxx_try_compile "$LINENO"; then :
5218 ac_cv_prog_cxx_g=yes
5219 else
5220 CXXFLAGS=""
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5225 main ()
5229 return 0;
5231 _ACEOF
5232 if ac_fn_cxx_try_compile "$LINENO"; then :
5234 else
5235 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5236 CXXFLAGS="-g"
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5241 main ()
5245 return 0;
5247 _ACEOF
5248 if ac_fn_cxx_try_compile "$LINENO"; then :
5249 ac_cv_prog_cxx_g=yes
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5256 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5259 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5260 if test "$ac_test_CXXFLAGS" = set; then
5261 CXXFLAGS=$ac_save_CXXFLAGS
5262 elif test $ac_cv_prog_cxx_g = yes; then
5263 if test "$GXX" = yes; then
5264 CXXFLAGS="-g -O2"
5265 else
5266 CXXFLAGS="-g"
5268 else
5269 if test "$GXX" = yes; then
5270 CXXFLAGS="-O2"
5271 else
5272 CXXFLAGS=
5275 ac_ext=c
5276 ac_cpp='$CPP $CPPFLAGS'
5277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5281 if test -n "$ac_tool_prefix"; then
5282 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5283 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_CPPBIN+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -n "$CPPBIN"; then
5290 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5309 CPPBIN=$ac_cv_prog_CPPBIN
5310 if test -n "$CPPBIN"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5312 $as_echo "$CPPBIN" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5320 if test -z "$ac_cv_prog_CPPBIN"; then
5321 ac_ct_CPPBIN=$CPPBIN
5322 # Extract the first word of "cpp", so it can be a program name with args.
5323 set dummy cpp; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$ac_ct_CPPBIN"; then
5330 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_ac_ct_CPPBIN="cpp"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5350 if test -n "$ac_ct_CPPBIN"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5352 $as_echo "$ac_ct_CPPBIN" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5358 if test "x$ac_ct_CPPBIN" = x; then
5359 CPPBIN="cpp"
5360 else
5361 case $cross_compiling:$ac_tool_warned in
5362 yes:)
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5365 ac_tool_warned=yes ;;
5366 esac
5367 CPPBIN=$ac_ct_CPPBIN
5369 else
5370 CPPBIN="$ac_cv_prog_CPPBIN"
5374 cat >>confdefs.h <<_ACEOF
5375 #define EXEEXT "$ac_exeext"
5376 _ACEOF
5378 if test -n "$ac_tool_prefix"; then
5379 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5380 set dummy ${ac_tool_prefix}ld; ac_word=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_LD+:} false; then :
5384 $as_echo_n "(cached) " >&6
5385 else
5386 if test -n "$LD"; then
5387 ac_cv_prog_LD="$LD" # Let the user override the test.
5388 else
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_LD="${ac_tool_prefix}ld"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 break 2
5400 done
5401 done
5402 IFS=$as_save_IFS
5406 LD=$ac_cv_prog_LD
5407 if test -n "$LD"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5409 $as_echo "$LD" >&6; }
5410 else
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5417 if test -z "$ac_cv_prog_LD"; then
5418 ac_ct_LD=$LD
5419 # Extract the first word of "ld", so it can be a program name with args.
5420 set dummy ld; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$ac_ct_LD"; then
5427 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_ac_ct_LD="ld"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5447 if test -n "$ac_ct_LD"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5449 $as_echo "$ac_ct_LD" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5455 if test "x$ac_ct_LD" = x; then
5456 LD=""
5457 else
5458 case $cross_compiling:$ac_tool_warned in
5459 yes:)
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462 ac_tool_warned=yes ;;
5463 esac
5464 LD=$ac_ct_LD
5466 else
5467 LD="$ac_cv_prog_LD"
5471 case $host in
5472 *-darwin*)
5473 with_fontconfig=${with_fontconfig:-no}
5475 *-mingw32*|*-cygwin*)
5476 enable_win16=${enable_win16:-no}
5477 CFLAGS="$CFLAGS -D_WIN32"
5479 esac
5481 case $host in
5482 x86_64*|amd64*)
5483 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5484 then
5485 CC="$CC -m32"
5486 CXX="$CXX -m32"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5488 $as_echo_n "checking whether $CC works... " >&6; }
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5494 main ()
5498 return 0;
5500 _ACEOF
5501 if ac_fn_c_try_link "$LINENO"; then :
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5509 rm -f core conftest.err conftest.$ac_objext \
5510 conftest$ac_exeext conftest.$ac_ext
5511 host_cpu="i386"
5512 notice_platform="32-bit "
5513 TARGETFLAGS="-m32"
5515 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5516 export PKG_CONFIG_PATH
5517 enable_win16=${enable_win16:-yes}
5518 else
5519 if test "x${GCC}" = "xyes"
5520 then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5522 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 #include <stdarg.h>
5527 main ()
5529 void func(__builtin_ms_va_list *args);
5531 return 0;
5533 _ACEOF
5534 if ac_fn_c_try_compile "$LINENO"; then :
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 $as_echo "yes" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5540 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 CC="$CC -m64"
5545 CXX="$CXX -m64"
5546 host_cpu="x86_64"
5547 notice_platform="64-bit "
5548 TARGETFLAGS="-m64"
5552 arm*)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5554 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 int ac_test(int i) { return i; }
5559 main ()
5561 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5563 return 0;
5565 _ACEOF
5566 if ac_fn_c_try_link "$LINENO"; then :
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5568 $as_echo "yes" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5572 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5574 rm -f core conftest.err conftest.$ac_objext \
5575 conftest$ac_exeext conftest.$ac_ext
5576 case $with_float_abi in
5577 soft|softfp|hard)
5578 float_abi=$with_float_abi ;;
5580 case $host_os in
5581 *eabihf)
5582 float_abi=hard ;;
5584 float_abi=softfp
5585 saved_CFLAGS=$CFLAGS
5586 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5588 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5595 asm("vmrs r2,fpscr");
5597 return 0;
5599 _ACEOF
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5602 $as_echo "yes" >&6; }
5603 else
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5606 float_abi=soft
5607 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5609 rm -f core conftest.err conftest.$ac_objext \
5610 conftest$ac_exeext conftest.$ac_ext
5611 CFLAGS=$saved_CFLAGS
5612 esac
5614 esac
5615 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5616 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5619 aarch64*)
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5621 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 #include <stdarg.h>
5626 main ()
5628 void func(__builtin_ms_va_list *args);
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5635 $as_echo "yes" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5639 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 i[3456789]86*)
5644 enable_win16=${enable_win16:-yes}
5646 esac
5648 enable_win16=${enable_win16:-no}
5649 enable_win64=${enable_win64:-no}
5651 enable_winetest=${enable_winetest:-$enable_tests}
5653 if test "x$enable_win64" = "xyes"
5654 then
5655 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5656 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5657 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5661 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5662 if ${wine_cv_toolsdir+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 wine_cv_toolsdir="$with_wine_tools"
5666 if test -z "$with_wine_tools"; then
5667 if test "$cross_compiling" = "yes"; then
5668 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5669 elif test -n "$with_wine64"; then
5670 wine_cv_toolsdir="$with_wine64"
5673 if test -z "$wine_cv_toolsdir"; then
5674 wine_makedep=tools/makedep
5675 wine_cv_toolsdir="\$(top_builddir)"
5676 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5677 wine_makedep=$wine_cv_toolsdir/tools/makedep
5678 case "$wine_cv_toolsdir" in
5679 /*) ;;
5680 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5681 esac
5682 enable_tools=${enable_tools:-no}
5683 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5684 else
5685 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5689 $as_echo "$wine_cv_toolsdir" >&6; }
5690 TOOLSDIR=$wine_cv_toolsdir
5692 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5693 then
5694 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5698 for ac_prog in flex
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy $ac_prog; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_FLEX+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 if test -n "$FLEX"; then
5708 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_FLEX="$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 break 2
5721 done
5722 done
5723 IFS=$as_save_IFS
5727 FLEX=$ac_cv_prog_FLEX
5728 if test -n "$FLEX"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5730 $as_echo "$FLEX" >&6; }
5731 else
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$FLEX" && break
5738 done
5739 test -n "$FLEX" || FLEX="none"
5741 if test "$FLEX" = "none"
5742 then
5743 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5746 $as_echo_n "checking whether flex is recent enough... " >&6; }
5747 cat >conftest.l <<EOF
5748 %top{
5749 #include "prediluvian.h"
5753 if $FLEX -t conftest.l >/dev/null 2>&5
5754 then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5756 $as_echo "yes" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5760 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5763 for ac_prog in bison
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_BISON+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -n "$BISON"; then
5773 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_BISON="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 break 2
5786 done
5787 done
5788 IFS=$as_save_IFS
5792 BISON=$ac_cv_prog_BISON
5793 if test -n "$BISON"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5795 $as_echo "$BISON" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$BISON" && break
5803 done
5804 test -n "$BISON" || BISON="none"
5806 if test "$BISON" = "none"
5807 then
5808 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5811 if test -n "$ac_tool_prefix"; then
5812 for ac_prog in ar gar
5814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_AR+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$AR"; then
5822 ac_cv_prog_AR="$AR" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 AR=$ac_cv_prog_AR
5842 if test -n "$AR"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5844 $as_echo "$AR" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5851 test -n "$AR" && break
5852 done
5854 if test -z "$AR"; then
5855 ac_ct_AR=$AR
5856 for ac_prog in ar gar
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 if test -n "$ac_ct_AR"; then
5866 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5871 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_ac_ct_AR="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2
5879 done
5880 done
5881 IFS=$as_save_IFS
5885 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5886 if test -n "$ac_ct_AR"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5888 $as_echo "$ac_ct_AR" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$ac_ct_AR" && break
5896 done
5898 if test "x$ac_ct_AR" = x; then
5899 AR="ar"
5900 else
5901 case $cross_compiling:$ac_tool_warned in
5902 yes:)
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5905 ac_tool_warned=yes ;;
5906 esac
5907 AR=$ac_ct_AR
5911 if test -n "$ac_tool_prefix"; then
5912 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5913 set dummy ${ac_tool_prefix}strip; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_STRIP+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$STRIP"; then
5920 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5933 done
5934 done
5935 IFS=$as_save_IFS
5939 STRIP=$ac_cv_prog_STRIP
5940 if test -n "$STRIP"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5942 $as_echo "$STRIP" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5950 if test -z "$ac_cv_prog_STRIP"; then
5951 ac_ct_STRIP=$STRIP
5952 # Extract the first word of "strip", so it can be a program name with args.
5953 set dummy strip; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$ac_ct_STRIP"; then
5960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_ac_ct_STRIP="strip"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5980 if test -n "$ac_ct_STRIP"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5982 $as_echo "$ac_ct_STRIP" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5988 if test "x$ac_ct_STRIP" = x; then
5989 STRIP="strip"
5990 else
5991 case $cross_compiling:$ac_tool_warned in
5992 yes:)
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5995 ac_tool_warned=yes ;;
5996 esac
5997 STRIP=$ac_ct_STRIP
5999 else
6000 STRIP="$ac_cv_prog_STRIP"
6003 if test -n "$ac_tool_prefix"; then
6004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6005 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RANLIB+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$RANLIB"; then
6012 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 RANLIB=$ac_cv_prog_RANLIB
6032 if test -n "$RANLIB"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6034 $as_echo "$RANLIB" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6042 if test -z "$ac_cv_prog_RANLIB"; then
6043 ac_ct_RANLIB=$RANLIB
6044 # Extract the first word of "ranlib", so it can be a program name with args.
6045 set dummy ranlib; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 if test -n "$ac_ct_RANLIB"; then
6052 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_ac_ct_RANLIB="ranlib"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6072 if test -n "$ac_ct_RANLIB"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6074 $as_echo "$ac_ct_RANLIB" >&6; }
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6080 if test "x$ac_ct_RANLIB" = x; then
6081 RANLIB=":"
6082 else
6083 case $cross_compiling:$ac_tool_warned in
6084 yes:)
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6087 ac_tool_warned=yes ;;
6088 esac
6089 RANLIB=$ac_ct_RANLIB
6091 else
6092 RANLIB="$ac_cv_prog_RANLIB"
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6096 $as_echo_n "checking whether ln -s works... " >&6; }
6097 LN_S=$as_ln_s
6098 if test "$LN_S" = "ln -s"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6100 $as_echo "yes" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6103 $as_echo "no, using $LN_S" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6107 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6108 if ${ac_cv_path_GREP+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -z "$GREP"; then
6112 ac_path_GREP_found=false
6113 # Loop through the user's path and test for each of PROGNAME-LIST
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_prog in grep ggrep; do
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6122 as_fn_executable_p "$ac_path_GREP" || continue
6123 # Check for GNU ac_path_GREP and select it if it is found.
6124 # Check for GNU $ac_path_GREP
6125 case `"$ac_path_GREP" --version 2>&1` in
6126 *GNU*)
6127 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6129 ac_count=0
6130 $as_echo_n 0123456789 >"conftest.in"
6131 while :
6133 cat "conftest.in" "conftest.in" >"conftest.tmp"
6134 mv "conftest.tmp" "conftest.in"
6135 cp "conftest.in" "conftest.nl"
6136 $as_echo 'GREP' >> "conftest.nl"
6137 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6139 as_fn_arith $ac_count + 1 && ac_count=$as_val
6140 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6141 # Best one so far, save it but keep looking for a better one
6142 ac_cv_path_GREP="$ac_path_GREP"
6143 ac_path_GREP_max=$ac_count
6145 # 10*(2^10) chars as input seems more than enough
6146 test $ac_count -gt 10 && break
6147 done
6148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6149 esac
6151 $ac_path_GREP_found && break 3
6152 done
6153 done
6154 done
6155 IFS=$as_save_IFS
6156 if test -z "$ac_cv_path_GREP"; then
6157 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6159 else
6160 ac_cv_path_GREP=$GREP
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6165 $as_echo "$ac_cv_path_GREP" >&6; }
6166 GREP="$ac_cv_path_GREP"
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6170 $as_echo_n "checking for egrep... " >&6; }
6171 if ${ac_cv_path_EGREP+:} false; then :
6172 $as_echo_n "(cached) " >&6
6173 else
6174 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6175 then ac_cv_path_EGREP="$GREP -E"
6176 else
6177 if test -z "$EGREP"; then
6178 ac_path_EGREP_found=false
6179 # Loop through the user's path and test for each of PROGNAME-LIST
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_prog in egrep; do
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6188 as_fn_executable_p "$ac_path_EGREP" || continue
6189 # Check for GNU ac_path_EGREP and select it if it is found.
6190 # Check for GNU $ac_path_EGREP
6191 case `"$ac_path_EGREP" --version 2>&1` in
6192 *GNU*)
6193 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6195 ac_count=0
6196 $as_echo_n 0123456789 >"conftest.in"
6197 while :
6199 cat "conftest.in" "conftest.in" >"conftest.tmp"
6200 mv "conftest.tmp" "conftest.in"
6201 cp "conftest.in" "conftest.nl"
6202 $as_echo 'EGREP' >> "conftest.nl"
6203 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6204 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6205 as_fn_arith $ac_count + 1 && ac_count=$as_val
6206 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6207 # Best one so far, save it but keep looking for a better one
6208 ac_cv_path_EGREP="$ac_path_EGREP"
6209 ac_path_EGREP_max=$ac_count
6211 # 10*(2^10) chars as input seems more than enough
6212 test $ac_count -gt 10 && break
6213 done
6214 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6215 esac
6217 $ac_path_EGREP_found && break 3
6218 done
6219 done
6220 done
6221 IFS=$as_save_IFS
6222 if test -z "$ac_cv_path_EGREP"; then
6223 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6225 else
6226 ac_cv_path_EGREP=$EGREP
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6232 $as_echo "$ac_cv_path_EGREP" >&6; }
6233 EGREP="$ac_cv_path_EGREP"
6236 # Extract the first word of "ldconfig", so it can be a program name with args.
6237 set dummy ldconfig; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_path_LDCONFIG+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
6243 case $LDCONFIG in
6244 [\\/]* | ?:[\\/]*)
6245 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in /sbin /usr/sbin $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6263 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6265 esac
6267 LDCONFIG=$ac_cv_path_LDCONFIG
6268 if test -n "$LDCONFIG"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6270 $as_echo "$LDCONFIG" >&6; }
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6277 for ac_prog in msgfmt
6279 # Extract the first word of "$ac_prog", so it can be a program name with args.
6280 set dummy $ac_prog; ac_word=$2
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282 $as_echo_n "checking for $ac_word... " >&6; }
6283 if ${ac_cv_prog_MSGFMT+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 if test -n "$MSGFMT"; then
6287 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6288 else
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in $PATH
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_prog_MSGFMT="$ac_prog"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 break 2
6300 done
6301 done
6302 IFS=$as_save_IFS
6306 MSGFMT=$ac_cv_prog_MSGFMT
6307 if test -n "$MSGFMT"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6309 $as_echo "$MSGFMT" >&6; }
6310 else
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 $as_echo "no" >&6; }
6316 test -n "$MSGFMT" && break
6317 done
6318 test -n "$MSGFMT" || MSGFMT="false"
6320 if ${ac_tool_prefix+:} false; then :
6321 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6322 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324 $as_echo_n "checking for $ac_word... " >&6; }
6325 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 if test -n "$PKG_CONFIG"; then
6329 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6330 else
6331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 for as_dir in $PATH
6334 IFS=$as_save_IFS
6335 test -z "$as_dir" && as_dir=.
6336 for ac_exec_ext in '' $ac_executable_extensions; do
6337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6338 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 break 2
6342 done
6343 done
6344 IFS=$as_save_IFS
6348 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6349 if test -n "$PKG_CONFIG"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6351 $as_echo "$PKG_CONFIG" >&6; }
6352 else
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 $as_echo "no" >&6; }
6359 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6360 if test "x$cross_compiling" = xyes; then :
6362 else
6363 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6364 # Extract the first word of "pkg-config", so it can be a program name with args.
6365 set dummy pkg-config; ac_word=$2
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367 $as_echo_n "checking for $ac_word... " >&6; }
6368 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 if test -n "$PKG_CONFIG"; then
6372 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6373 else
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 for as_dir in $PATH
6377 IFS=$as_save_IFS
6378 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6381 ac_cv_prog_PKG_CONFIG="pkg-config"
6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 break 2
6385 done
6386 done
6387 IFS=$as_save_IFS
6391 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6392 if test -n "$PKG_CONFIG"; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6394 $as_echo "$PKG_CONFIG" >&6; }
6395 else
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397 $as_echo "no" >&6; }
6402 else
6403 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6406 if test "x$enable_maintainer_mode" != "xyes"
6407 then
6408 FONTFORGE=""
6409 RSVG=""
6410 CONVERT=""
6411 ICOTOOL=""
6412 else
6413 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6414 for ac_prog in fontforge
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419 $as_echo_n "checking for $ac_word... " >&6; }
6420 if ${ac_cv_prog_FONTFORGE+:} false; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 if test -n "$FONTFORGE"; then
6424 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6429 IFS=$as_save_IFS
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6433 ac_cv_prog_FONTFORGE="$ac_prog"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 break 2
6437 done
6438 done
6439 IFS=$as_save_IFS
6443 FONTFORGE=$ac_cv_prog_FONTFORGE
6444 if test -n "$FONTFORGE"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6446 $as_echo "$FONTFORGE" >&6; }
6447 else
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6453 test -n "$FONTFORGE" && break
6454 done
6455 test -n "$FONTFORGE" || FONTFORGE="false"
6457 for ac_prog in rsvg-convert rsvg
6459 # Extract the first word of "$ac_prog", so it can be a program name with args.
6460 set dummy $ac_prog; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_RSVG+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 if test -n "$RSVG"; then
6467 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6472 IFS=$as_save_IFS
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_RSVG="$ac_prog"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 break 2
6480 done
6481 done
6482 IFS=$as_save_IFS
6486 RSVG=$ac_cv_prog_RSVG
6487 if test -n "$RSVG"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6489 $as_echo "$RSVG" >&6; }
6490 else
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6496 test -n "$RSVG" && break
6497 done
6498 test -n "$RSVG" || RSVG="false"
6500 for ac_prog in convert
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if ${ac_cv_prog_CONVERT+:} false; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$CONVERT"; then
6510 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_CONVERT="$ac_prog"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 CONVERT=$ac_cv_prog_CONVERT
6530 if test -n "$CONVERT"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6532 $as_echo "$CONVERT" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6539 test -n "$CONVERT" && break
6540 done
6541 test -n "$CONVERT" || CONVERT="false"
6543 for ac_prog in icotool
6545 # Extract the first word of "$ac_prog", so it can be a program name with args.
6546 set dummy $ac_prog; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if ${ac_cv_prog_ICOTOOL+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test -n "$ICOTOOL"; then
6553 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6554 else
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 for as_dir in $PATH
6558 IFS=$as_save_IFS
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_ICOTOOL="$ac_prog"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564 break 2
6566 done
6567 done
6568 IFS=$as_save_IFS
6572 ICOTOOL=$ac_cv_prog_ICOTOOL
6573 if test -n "$ICOTOOL"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6575 $as_echo "$ICOTOOL" >&6; }
6576 else
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6582 test -n "$ICOTOOL" && break
6583 done
6584 test -n "$ICOTOOL" || ICOTOOL="false"
6586 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6587 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6589 if test "$CONVERT" = false
6590 then
6591 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6592 else
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6594 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6595 convert_version=`convert --version | head -n1`
6596 if test "x$convert_version" != "x"
6597 then
6598 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6599 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6600 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6601 then
6602 CONVERT=false
6605 if test "$CONVERT" = false
6606 then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6608 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6609 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6610 else
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6612 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6616 if test "$ICOTOOL" = false
6617 then
6618 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6621 $as_echo_n "checking for recent enough icotool... " >&6; }
6622 icotool_version=`icotool --version | head -n1`
6623 if test "x$icotool_version" != "x"
6624 then
6625 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6626 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6627 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6628 then
6629 ICOTOOL=false
6630 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6633 if test "$ICOTOOL" = false
6634 then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6636 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6637 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6640 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6644 with_gettext=yes
6645 with_gettextpo=yes
6646 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6649 test "x$with_gettext" != xno || MSGFMT=false
6650 if test "$MSGFMT" != "false"
6651 then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6653 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6654 cat >conftest.po <<EOF
6655 # comment
6656 msgctxt "ctxt"
6657 msgid "id"
6658 msgstr "str"
6660 if $MSGFMT -o /dev/null conftest.po 2>&5
6661 then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6663 $as_echo "yes" >&6; }
6664 else
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6667 MSGFMT=false
6670 if test "$MSGFMT" = false; then :
6671 case "x$with_gettext" in
6672 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6673 xno) ;;
6674 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6675 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6676 esac
6677 enable_po=${enable_po:-no}
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6682 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6683 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6684 $as_echo_n "(cached) " >&6
6685 else
6686 ac_check_lib_save_LIBS=$LIBS
6687 LIBS="-li386 $LIBS"
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6691 /* Override any GCC internal prototype to avoid an error.
6692 Use char because int might match the return type of a GCC
6693 builtin and then its argument prototype would still apply. */
6694 #ifdef __cplusplus
6695 extern "C"
6696 #endif
6697 char i386_set_ldt ();
6699 main ()
6701 return i386_set_ldt ();
6703 return 0;
6705 _ACEOF
6706 if ac_fn_c_try_link "$LINENO"; then :
6707 ac_cv_lib_i386_i386_set_ldt=yes
6708 else
6709 ac_cv_lib_i386_i386_set_ldt=no
6711 rm -f core conftest.err conftest.$ac_objext \
6712 conftest$ac_exeext conftest.$ac_ext
6713 LIBS=$ac_check_lib_save_LIBS
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6716 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6717 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6718 cat >>confdefs.h <<_ACEOF
6719 #define HAVE_LIBI386 1
6720 _ACEOF
6722 LIBS="-li386 $LIBS"
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6727 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6728 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 ac_check_lib_save_LIBS=$LIBS
6732 LIBS="-lossaudio $LIBS"
6733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6736 /* Override any GCC internal prototype to avoid an error.
6737 Use char because int might match the return type of a GCC
6738 builtin and then its argument prototype would still apply. */
6739 #ifdef __cplusplus
6740 extern "C"
6741 #endif
6742 char _oss_ioctl ();
6744 main ()
6746 return _oss_ioctl ();
6748 return 0;
6750 _ACEOF
6751 if ac_fn_c_try_link "$LINENO"; then :
6752 ac_cv_lib_ossaudio__oss_ioctl=yes
6753 else
6754 ac_cv_lib_ossaudio__oss_ioctl=no
6756 rm -f core conftest.err conftest.$ac_objext \
6757 conftest$ac_exeext conftest.$ac_ext
6758 LIBS=$ac_check_lib_save_LIBS
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6761 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6762 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define HAVE_LIBOSSAUDIO 1
6765 _ACEOF
6767 LIBS="-lossaudio $LIBS"
6772 OPENGL_LIBS=""
6776 # Check whether --enable-largefile was given.
6777 if test "${enable_largefile+set}" = set; then :
6778 enableval=$enable_largefile;
6781 if test "$enable_largefile" != no; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6784 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6785 if ${ac_cv_sys_largefile_CC+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 ac_cv_sys_largefile_CC=no
6789 if test "$GCC" != yes; then
6790 ac_save_CC=$CC
6791 while :; do
6792 # IRIX 6.2 and later do not support large files by default,
6793 # so use the C compiler's -n32 option if that helps.
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6796 #include <sys/types.h>
6797 /* Check that off_t can represent 2**63 - 1 correctly.
6798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6799 since some C++ compilers masquerading as C compilers
6800 incorrectly reject 9223372036854775807. */
6801 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6803 && LARGE_OFF_T % 2147483647 == 1)
6804 ? 1 : -1];
6806 main ()
6810 return 0;
6812 _ACEOF
6813 if ac_fn_c_try_compile "$LINENO"; then :
6814 break
6816 rm -f core conftest.err conftest.$ac_objext
6817 CC="$CC -n32"
6818 if ac_fn_c_try_compile "$LINENO"; then :
6819 ac_cv_sys_largefile_CC=' -n32'; break
6821 rm -f core conftest.err conftest.$ac_objext
6822 break
6823 done
6824 CC=$ac_save_CC
6825 rm -f conftest.$ac_ext
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6829 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6830 if test "$ac_cv_sys_largefile_CC" != no; then
6831 CC=$CC$ac_cv_sys_largefile_CC
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6835 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6836 if ${ac_cv_sys_file_offset_bits+:} false; then :
6837 $as_echo_n "(cached) " >&6
6838 else
6839 while :; do
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6842 #include <sys/types.h>
6843 /* Check that off_t can represent 2**63 - 1 correctly.
6844 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6845 since some C++ compilers masquerading as C compilers
6846 incorrectly reject 9223372036854775807. */
6847 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6849 && LARGE_OFF_T % 2147483647 == 1)
6850 ? 1 : -1];
6852 main ()
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_sys_file_offset_bits=no; break
6862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 #define _FILE_OFFSET_BITS 64
6866 #include <sys/types.h>
6867 /* Check that off_t can represent 2**63 - 1 correctly.
6868 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6869 since some C++ compilers masquerading as C compilers
6870 incorrectly reject 9223372036854775807. */
6871 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6872 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6873 && LARGE_OFF_T % 2147483647 == 1)
6874 ? 1 : -1];
6876 main ()
6880 return 0;
6882 _ACEOF
6883 if ac_fn_c_try_compile "$LINENO"; then :
6884 ac_cv_sys_file_offset_bits=64; break
6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6887 ac_cv_sys_file_offset_bits=unknown
6888 break
6889 done
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6892 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6893 case $ac_cv_sys_file_offset_bits in #(
6894 no | unknown) ;;
6896 cat >>confdefs.h <<_ACEOF
6897 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6898 _ACEOF
6900 esac
6901 rm -rf conftest*
6902 if test $ac_cv_sys_file_offset_bits = unknown; then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6904 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6905 if ${ac_cv_sys_large_files+:} false; then :
6906 $as_echo_n "(cached) " >&6
6907 else
6908 while :; do
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <sys/types.h>
6912 /* Check that off_t can represent 2**63 - 1 correctly.
6913 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6914 since some C++ compilers masquerading as C compilers
6915 incorrectly reject 9223372036854775807. */
6916 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6917 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6918 && LARGE_OFF_T % 2147483647 == 1)
6919 ? 1 : -1];
6921 main ()
6925 return 0;
6927 _ACEOF
6928 if ac_fn_c_try_compile "$LINENO"; then :
6929 ac_cv_sys_large_files=no; break
6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6934 #define _LARGE_FILES 1
6935 #include <sys/types.h>
6936 /* Check that off_t can represent 2**63 - 1 correctly.
6937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6938 since some C++ compilers masquerading as C compilers
6939 incorrectly reject 9223372036854775807. */
6940 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6942 && LARGE_OFF_T % 2147483647 == 1)
6943 ? 1 : -1];
6945 main ()
6949 return 0;
6951 _ACEOF
6952 if ac_fn_c_try_compile "$LINENO"; then :
6953 ac_cv_sys_large_files=1; break
6955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6956 ac_cv_sys_large_files=unknown
6957 break
6958 done
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6961 $as_echo "$ac_cv_sys_large_files" >&6; }
6962 case $ac_cv_sys_large_files in #(
6963 no | unknown) ;;
6965 cat >>confdefs.h <<_ACEOF
6966 #define _LARGE_FILES $ac_cv_sys_large_files
6967 _ACEOF
6969 esac
6970 rm -rf conftest*
6977 ac_ext=c
6978 ac_cpp='$CPP $CPPFLAGS'
6979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6983 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6984 # On Suns, sometimes $CPP names a directory.
6985 if test -n "$CPP" && test -d "$CPP"; then
6986 CPP=
6988 if test -z "$CPP"; then
6989 if ${ac_cv_prog_CPP+:} false; then :
6990 $as_echo_n "(cached) " >&6
6991 else
6992 # Double quotes because CPP needs to be expanded
6993 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6995 ac_preproc_ok=false
6996 for ac_c_preproc_warn_flag in '' yes
6998 # Use a header file that comes with gcc, so configuring glibc
6999 # with a fresh cross-compiler works.
7000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7001 # <limits.h> exists even on freestanding compilers.
7002 # On the NeXT, cc -E runs the code through the compiler's parser,
7003 # not just through cpp. "Syntax error" is here to catch this case.
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #ifdef __STDC__
7007 # include <limits.h>
7008 #else
7009 # include <assert.h>
7010 #endif
7011 Syntax error
7012 _ACEOF
7013 if ac_fn_c_try_cpp "$LINENO"; then :
7015 else
7016 # Broken: fails on valid input.
7017 continue
7019 rm -f conftest.err conftest.i conftest.$ac_ext
7021 # OK, works on sane cases. Now check whether nonexistent headers
7022 # can be detected and how.
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 #include <ac_nonexistent.h>
7026 _ACEOF
7027 if ac_fn_c_try_cpp "$LINENO"; then :
7028 # Broken: success on invalid input.
7029 continue
7030 else
7031 # Passes both tests.
7032 ac_preproc_ok=:
7033 break
7035 rm -f conftest.err conftest.i conftest.$ac_ext
7037 done
7038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7039 rm -f conftest.i conftest.err conftest.$ac_ext
7040 if $ac_preproc_ok; then :
7041 break
7044 done
7045 ac_cv_prog_CPP=$CPP
7048 CPP=$ac_cv_prog_CPP
7049 else
7050 ac_cv_prog_CPP=$CPP
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7053 $as_echo "$CPP" >&6; }
7054 ac_preproc_ok=false
7055 for ac_c_preproc_warn_flag in '' yes
7057 # Use a header file that comes with gcc, so configuring glibc
7058 # with a fresh cross-compiler works.
7059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7060 # <limits.h> exists even on freestanding compilers.
7061 # On the NeXT, cc -E runs the code through the compiler's parser,
7062 # not just through cpp. "Syntax error" is here to catch this case.
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7065 #ifdef __STDC__
7066 # include <limits.h>
7067 #else
7068 # include <assert.h>
7069 #endif
7070 Syntax error
7071 _ACEOF
7072 if ac_fn_c_try_cpp "$LINENO"; then :
7074 else
7075 # Broken: fails on valid input.
7076 continue
7078 rm -f conftest.err conftest.i conftest.$ac_ext
7080 # OK, works on sane cases. Now check whether nonexistent headers
7081 # can be detected and how.
7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7084 #include <ac_nonexistent.h>
7085 _ACEOF
7086 if ac_fn_c_try_cpp "$LINENO"; then :
7087 # Broken: success on invalid input.
7088 continue
7089 else
7090 # Passes both tests.
7091 ac_preproc_ok=:
7092 break
7094 rm -f conftest.err conftest.i conftest.$ac_ext
7096 done
7097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7098 rm -f conftest.i conftest.err conftest.$ac_ext
7099 if $ac_preproc_ok; then :
7101 else
7102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7104 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7105 See \`config.log' for more details" "$LINENO" 5; }
7108 ac_ext=c
7109 ac_cpp='$CPP $CPPFLAGS'
7110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7116 $as_echo_n "checking for ANSI C header files... " >&6; }
7117 if ${ac_cv_header_stdc+:} false; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <stdlib.h>
7123 #include <stdarg.h>
7124 #include <string.h>
7125 #include <float.h>
7128 main ()
7132 return 0;
7134 _ACEOF
7135 if ac_fn_c_try_compile "$LINENO"; then :
7136 ac_cv_header_stdc=yes
7137 else
7138 ac_cv_header_stdc=no
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7142 if test $ac_cv_header_stdc = yes; then
7143 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #include <string.h>
7148 _ACEOF
7149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7150 $EGREP "memchr" >/dev/null 2>&1; then :
7152 else
7153 ac_cv_header_stdc=no
7155 rm -f conftest*
7159 if test $ac_cv_header_stdc = yes; then
7160 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <stdlib.h>
7165 _ACEOF
7166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7167 $EGREP "free" >/dev/null 2>&1; then :
7169 else
7170 ac_cv_header_stdc=no
7172 rm -f conftest*
7176 if test $ac_cv_header_stdc = yes; then
7177 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7178 if test "$cross_compiling" = yes; then :
7180 else
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #include <ctype.h>
7184 #include <stdlib.h>
7185 #if ((' ' & 0x0FF) == 0x020)
7186 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7187 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7188 #else
7189 # define ISLOWER(c) \
7190 (('a' <= (c) && (c) <= 'i') \
7191 || ('j' <= (c) && (c) <= 'r') \
7192 || ('s' <= (c) && (c) <= 'z'))
7193 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7194 #endif
7196 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7198 main ()
7200 int i;
7201 for (i = 0; i < 256; i++)
7202 if (XOR (islower (i), ISLOWER (i))
7203 || toupper (i) != TOUPPER (i))
7204 return 2;
7205 return 0;
7207 _ACEOF
7208 if ac_fn_c_try_run "$LINENO"; then :
7210 else
7211 ac_cv_header_stdc=no
7213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7214 conftest.$ac_objext conftest.beam conftest.$ac_ext
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7220 $as_echo "$ac_cv_header_stdc" >&6; }
7221 if test $ac_cv_header_stdc = yes; then
7223 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7227 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7228 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7229 inttypes.h stdint.h unistd.h
7230 do :
7231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7237 _ACEOF
7241 done
7244 for ac_header in \
7245 AL/al.h \
7246 ApplicationServices/ApplicationServices.h \
7247 AudioToolbox/AudioConverter.h \
7248 AudioUnit/AudioUnit.h \
7249 AudioUnit/AudioComponent.h \
7250 CL/cl.h \
7251 Carbon/Carbon.h \
7252 CommonCrypto/CommonCryptor.h \
7253 CoreAudio/CoreAudio.h \
7254 CoreServices/CoreServices.h \
7255 DiskArbitration/DiskArbitration.h \
7256 EGL/egl.h \
7257 IOKit/IOKitLib.h \
7258 IOKit/hid/IOHIDLib.h \
7259 OpenAL/al.h \
7260 OpenCL/opencl.h \
7261 QuickTime/ImageCompression.h \
7262 Security/Security.h \
7263 alias.h \
7264 alsa/asoundlib.h \
7265 arpa/inet.h \
7266 arpa/nameser.h \
7267 asm/types.h \
7268 asm/user.h \
7269 curses.h \
7270 direct.h \
7271 dirent.h \
7272 dlfcn.h \
7273 elf.h \
7274 float.h \
7275 fnmatch.h \
7276 getopt.h \
7277 gettext-po.h \
7278 grp.h \
7279 gsm.h \
7280 gsm/gsm.h \
7281 ieeefp.h \
7282 inet/mib2.h \
7283 io.h \
7284 kstat.h \
7285 libproc.h \
7286 link.h \
7287 linux/cdrom.h \
7288 linux/compiler.h \
7289 linux/filter.h \
7290 linux/hdreg.h \
7291 linux/hidraw.h \
7292 linux/input.h \
7293 linux/ioctl.h \
7294 linux/joystick.h \
7295 linux/major.h \
7296 linux/param.h \
7297 linux/serial.h \
7298 linux/types.h \
7299 linux/ucdrom.h \
7300 lwp.h \
7301 mach-o/nlist.h \
7302 mach-o/loader.h \
7303 mach/mach.h \
7304 mach/machine.h \
7305 machine/cpu.h \
7306 machine/limits.h \
7307 machine/sysarch.h \
7308 mntent.h \
7309 ncurses.h \
7310 netdb.h \
7311 netinet/in.h \
7312 netinet/in_systm.h \
7313 netinet/tcp.h \
7314 netinet/tcp_fsm.h \
7315 pcap/pcap.h \
7316 poll.h \
7317 port.h \
7318 process.h \
7319 pthread.h \
7320 pwd.h \
7321 sched.h \
7322 scsi/scsi.h \
7323 scsi/scsi_ioctl.h \
7324 scsi/sg.h \
7325 stdbool.h \
7326 stdint.h \
7327 stropts.h \
7328 sys/asoundlib.h \
7329 sys/attr.h \
7330 sys/auxv.h \
7331 sys/cdio.h \
7332 sys/elf32.h \
7333 sys/epoll.h \
7334 sys/event.h \
7335 sys/exec_elf.h \
7336 sys/filio.h \
7337 sys/inotify.h \
7338 sys/ioctl.h \
7339 sys/ipc.h \
7340 sys/limits.h \
7341 sys/link.h \
7342 sys/mman.h \
7343 sys/modem.h \
7344 sys/msg.h \
7345 sys/mtio.h \
7346 sys/param.h \
7347 sys/poll.h \
7348 sys/prctl.h \
7349 sys/protosw.h \
7350 sys/ptrace.h \
7351 sys/queue.h \
7352 sys/resource.h \
7353 sys/scsiio.h \
7354 sys/shm.h \
7355 sys/signal.h \
7356 sys/socket.h \
7357 sys/socketvar.h \
7358 sys/sockio.h \
7359 sys/statvfs.h \
7360 sys/strtio.h \
7361 sys/syscall.h \
7362 sys/sysinfo.h \
7363 sys/tihdr.h \
7364 sys/time.h \
7365 sys/timeout.h \
7366 sys/times.h \
7367 sys/uio.h \
7368 sys/user.h \
7369 sys/utsname.h \
7370 sys/vnode.h \
7371 sys/wait.h \
7372 syscall.h \
7373 termios.h \
7374 unistd.h \
7375 utime.h \
7376 valgrind/memcheck.h \
7377 valgrind/valgrind.h \
7378 zlib.h
7380 do :
7381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7386 _ACEOF
7390 done
7392 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7393 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7395 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7400 if test $ac_cv_header_sys_mkdev_h = no; then
7401 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7402 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7404 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7411 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7412 if ${ac_cv_header_stat_broken+:} false; then :
7413 $as_echo_n "(cached) " >&6
7414 else
7415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7416 /* end confdefs.h. */
7417 #include <sys/types.h>
7418 #include <sys/stat.h>
7420 #if defined S_ISBLK && defined S_IFDIR
7421 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7422 #endif
7424 #if defined S_ISBLK && defined S_IFCHR
7425 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7426 #endif
7428 #if defined S_ISLNK && defined S_IFREG
7429 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7430 #endif
7432 #if defined S_ISSOCK && defined S_IFREG
7433 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7434 #endif
7436 _ACEOF
7437 if ac_fn_c_try_compile "$LINENO"; then :
7438 ac_cv_header_stat_broken=no
7439 else
7440 ac_cv_header_stat_broken=yes
7442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7445 $as_echo "$ac_cv_header_stat_broken" >&6; }
7446 if test $ac_cv_header_stat_broken = yes; then
7448 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7454 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7455 do :
7456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7458 #ifdef HAVE_SYS_PARAM_H
7459 # include <sys/param.h>
7460 #endif
7462 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7463 cat >>confdefs.h <<_ACEOF
7464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 _ACEOF
7469 done
7472 for ac_header in \
7473 netinet/ip.h \
7474 net/if.h \
7475 net/if_arp.h \
7476 net/if_dl.h \
7477 net/if_types.h \
7478 net/route.h \
7479 netinet/if_ether.h \
7480 netinet/if_inarp.h \
7481 netinet/in_pcb.h \
7482 netinet/ip_icmp.h \
7483 netinet/ip_var.h \
7484 netinet/udp.h \
7485 netipx/ipx.h \
7486 sys/un.h \
7488 do :
7489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7490 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7491 #ifdef HAVE_SYS_SOCKET_H
7492 # include <sys/socket.h>
7493 #endif
7494 #ifdef HAVE_SYS_SOCKETVAR_H
7495 # include <sys/socketvar.h>
7496 #endif
7497 #ifdef HAVE_NET_ROUTE_H
7498 # include <net/route.h>
7499 #endif
7500 #ifdef HAVE_NETINET_IN_H
7501 # include <netinet/in.h>
7502 #endif
7503 #ifdef HAVE_NETINET_IN_SYSTM_H
7504 # include <netinet/in_systm.h>
7505 #endif
7506 #ifdef HAVE_NET_IF_H
7507 # include <net/if.h>
7508 #endif
7509 #ifdef HAVE_NETINET_IP_H
7510 # include <netinet/ip.h>
7511 #endif
7513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7514 cat >>confdefs.h <<_ACEOF
7515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7516 _ACEOF
7520 done
7523 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7524 do :
7525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7527 #ifdef HAVE_ALIAS_H
7528 # include <alias.h>
7529 #endif
7530 #ifdef HAVE_SYS_SOCKET_H
7531 # include <sys/socket.h>
7532 #endif
7533 #ifdef HAVE_SYS_SOCKETVAR_H
7534 # include <sys/socketvar.h>
7535 #endif
7536 #ifdef HAVE_SYS_TIMEOUT_H
7537 # include <sys/timeout.h>
7538 #endif
7539 #ifdef HAVE_NETINET_IN_H
7540 # include <netinet/in.h>
7541 #endif
7542 #ifdef HAVE_NETINET_IN_SYSTM_H
7543 # include <netinet/in_systm.h>
7544 #endif
7545 #ifdef HAVE_NETINET_IP_H
7546 # include <netinet/ip.h>
7547 #endif
7548 #ifdef HAVE_NETINET_IP_VAR_H
7549 # include <netinet/ip_var.h>
7550 #endif
7551 #ifdef HAVE_NETINET_IP_ICMP_H
7552 # include <netinet/ip_icmp.h>
7553 #endif
7554 #ifdef HAVE_NETINET_UDP_H
7555 # include <netinet/udp.h>
7556 #endif
7557 #ifdef HAVE_NETINET_TCP_H
7558 # include <netinet/tcp.h>
7559 #endif
7560 #ifdef HAVE_NETINET_TCP_TIMER_H
7561 #include <netinet/tcp_timer.h>
7562 #endif
7564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7565 cat >>confdefs.h <<_ACEOF
7566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7567 _ACEOF
7571 done
7574 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7575 do :
7576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7578 #ifdef HAVE_ASM_TYPES_H
7579 # include <asm/types.h>
7580 #endif
7581 #ifdef HAVE_SYS_SOCKET_H
7582 # include <sys/socket.h>
7583 #endif
7584 #ifdef HAVE_LINUX_TYPES_H
7585 # include <linux/types.h>
7586 #endif
7588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7589 cat >>confdefs.h <<_ACEOF
7590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 _ACEOF
7595 done
7598 for ac_header in mach-o/dyld_images.h
7599 do :
7600 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7601 # include <stdbool.h>
7602 #endif
7603 #ifdef HAVE_STDINT_H
7604 # include <stdint.h>
7605 #endif
7607 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7608 cat >>confdefs.h <<_ACEOF
7609 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7610 _ACEOF
7614 done
7617 for ac_header in resolv.h
7618 do :
7619 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7620 #ifdef HAVE_SYS_SOCKET_H
7621 # include <sys/socket.h>
7622 #endif
7623 #ifdef HAVE_NETINET_IN_H
7624 # include <netinet/in.h>
7625 #endif
7626 #ifdef HAVE_ARPA_NAMESER_H
7627 # include <arpa/nameser.h>
7628 #endif
7630 if test "x$ac_cv_header_resolv_h" = xyes; then :
7631 cat >>confdefs.h <<_ACEOF
7632 #define HAVE_RESOLV_H 1
7633 _ACEOF
7637 done
7640 for ac_header in ifaddrs.h
7641 do :
7642 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7644 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7645 cat >>confdefs.h <<_ACEOF
7646 #define HAVE_IFADDRS_H 1
7647 _ACEOF
7651 done
7654 for ac_header in sys/ucontext.h
7655 do :
7656 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7658 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_SYS_UCONTEXT_H 1
7661 _ACEOF
7665 done
7668 for ac_header in sys/thr.h
7669 do :
7670 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7671 #ifdef HAVE_SYS_UCONTEXT_H
7672 #include <sys/ucontext.h>
7673 #endif
7675 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define HAVE_SYS_THR_H 1
7678 _ACEOF
7682 done
7685 for ac_header in pthread_np.h
7686 do :
7687 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7688 #include <pthread.h>
7689 #endif
7691 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7692 cat >>confdefs.h <<_ACEOF
7693 #define HAVE_PTHREAD_NP_H 1
7694 _ACEOF
7698 done
7701 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7702 do :
7703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7705 #include <sys/time.h>
7706 #endif
7707 #include <sys/types.h>
7708 #ifdef HAVE_ASM_TYPES_H
7709 #include <asm/types.h>
7710 #endif
7712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7715 _ACEOF
7719 done
7722 for ac_header in libprocstat.h
7723 do :
7724 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7725 #include <sys/param.h>
7726 #endif
7727 #ifdef HAVE_SYS_QUEUE_H
7728 #include <sys/queue.h>
7729 #endif
7730 #ifdef HAVE_SYS_SOCKET_H
7731 #include <sys/socket.h>
7732 #endif
7734 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF
7736 #define HAVE_LIBPROCSTAT_H 1
7737 _ACEOF
7741 done
7745 DLLFLAGS="-D_REENTRANT"
7747 LDRPATH_INSTALL=""
7749 LDRPATH_LOCAL=""
7751 LDEXECFLAGS=""
7753 TOP_INSTALL_LIB=""
7755 TOP_INSTALL_DEV=""
7757 WINELOADER_LDFLAGS=""
7759 WINEPRELOADER_LDFLAGS=""
7761 LIBEXT="so"
7762 DLLEXT=".so"
7763 IMPLIBEXT="def"
7764 # Extract the first word of "ldd", so it can be a program name with args.
7765 set dummy ldd; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 $as_echo_n "checking for $ac_word... " >&6; }
7768 if ${ac_cv_path_LDD+:} false; then :
7769 $as_echo_n "(cached) " >&6
7770 else
7771 case $LDD in
7772 [\\/]* | ?:[\\/]*)
7773 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 as_dummy="/sbin:/usr/sbin:$PATH"
7778 for as_dir in $as_dummy
7780 IFS=$as_save_IFS
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7784 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 break 2
7788 done
7789 done
7790 IFS=$as_save_IFS
7792 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7794 esac
7796 LDD=$ac_cv_path_LDD
7797 if test -n "$LDD"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7799 $as_echo "$LDD" >&6; }
7800 else
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}otool; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_OTOOL+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$OTOOL"; then
7815 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7828 done
7829 done
7830 IFS=$as_save_IFS
7834 OTOOL=$ac_cv_prog_OTOOL
7835 if test -n "$OTOOL"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7837 $as_echo "$OTOOL" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_OTOOL"; then
7846 ac_ct_OTOOL=$OTOOL
7847 # Extract the first word of "otool", so it can be a program name with args.
7848 set dummy otool; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 if test -n "$ac_ct_OTOOL"; then
7855 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_OTOOL="otool"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7868 done
7869 done
7870 IFS=$as_save_IFS
7874 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7875 if test -n "$ac_ct_OTOOL"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7877 $as_echo "$ac_ct_OTOOL" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_OTOOL" = x; then
7884 OTOOL="otool"
7885 else
7886 case $cross_compiling:$ac_tool_warned in
7887 yes:)
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7891 esac
7892 OTOOL=$ac_ct_OTOOL
7894 else
7895 OTOOL="$ac_cv_prog_OTOOL"
7898 if test -n "$ac_tool_prefix"; then
7899 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_READELF+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 if test -n "$READELF"; then
7907 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7912 IFS=$as_save_IFS
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 break 2
7920 done
7921 done
7922 IFS=$as_save_IFS
7926 READELF=$ac_cv_prog_READELF
7927 if test -n "$READELF"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7929 $as_echo "$READELF" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7937 if test -z "$ac_cv_prog_READELF"; then
7938 ac_ct_READELF=$READELF
7939 # Extract the first word of "readelf", so it can be a program name with args.
7940 set dummy readelf; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7944 $as_echo_n "(cached) " >&6
7945 else
7946 if test -n "$ac_ct_READELF"; then
7947 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7948 else
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7950 for as_dir in $PATH
7952 IFS=$as_save_IFS
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_ac_ct_READELF="readelf"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 break 2
7960 done
7961 done
7962 IFS=$as_save_IFS
7966 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7967 if test -n "$ac_ct_READELF"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7969 $as_echo "$ac_ct_READELF" >&6; }
7970 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7975 if test "x$ac_ct_READELF" = x; then
7976 READELF="true"
7977 else
7978 case $cross_compiling:$ac_tool_warned in
7979 yes:)
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7983 esac
7984 READELF=$ac_ct_READELF
7986 else
7987 READELF="$ac_cv_prog_READELF"
7990 wine_rules_file=conf$$rules.make
7991 rm -f $wine_rules_file
7992 SUBDIRS=""
7994 DISABLED_SUBDIRS=""
7996 CONFIGURE_TARGETS=""
7999 wine_fn_append_file ()
8001 as_fn_append $1 " \\$as_nl $2"
8004 wine_fn_append_rule ()
8006 $as_echo "$1" >>$wine_rules_file
8009 wine_fn_config_makefile ()
8011 wine_fn_append_file SUBDIRS $1
8012 if eval test \"x\$"$2"\" = x"no"; then :
8013 wine_fn_append_file DISABLED_SUBDIRS $1
8017 wine_fn_config_symlink ()
8019 ac_links=$@
8020 wine_fn_append_rule \
8021 "$ac_links:
8022 @./config.status \$@"
8023 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8026 wine_binary="wine"
8027 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8028 WINELOADER_PROGRAMS="$wine_binary"
8030 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8032 case $host_os in
8033 cygwin*|mingw32*)
8034 if test -n "$ac_tool_prefix"; then
8035 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8036 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 $as_echo_n "checking for $ac_word... " >&6; }
8039 if ${ac_cv_prog_DLLTOOL+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 if test -n "$DLLTOOL"; then
8043 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8048 IFS=$as_save_IFS
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 break 2
8056 done
8057 done
8058 IFS=$as_save_IFS
8062 DLLTOOL=$ac_cv_prog_DLLTOOL
8063 if test -n "$DLLTOOL"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8065 $as_echo "$DLLTOOL" >&6; }
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8068 $as_echo "no" >&6; }
8073 if test -z "$ac_cv_prog_DLLTOOL"; then
8074 ac_ct_DLLTOOL=$DLLTOOL
8075 # Extract the first word of "dlltool", so it can be a program name with args.
8076 set dummy dlltool; ac_word=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078 $as_echo_n "checking for $ac_word... " >&6; }
8079 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081 else
8082 if test -n "$ac_ct_DLLTOOL"; then
8083 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8084 else
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 for as_dir in $PATH
8088 IFS=$as_save_IFS
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 break 2
8096 done
8097 done
8098 IFS=$as_save_IFS
8102 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8103 if test -n "$ac_ct_DLLTOOL"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8105 $as_echo "$ac_ct_DLLTOOL" >&6; }
8106 else
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8111 if test "x$ac_ct_DLLTOOL" = x; then
8112 DLLTOOL="false"
8113 else
8114 case $cross_compiling:$ac_tool_warned in
8115 yes:)
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8118 ac_tool_warned=yes ;;
8119 esac
8120 DLLTOOL=$ac_ct_DLLTOOL
8122 else
8123 DLLTOOL="$ac_cv_prog_DLLTOOL"
8126 LIBEXT="dll"
8127 DLLEXT=""
8128 IMPLIBEXT="a"
8129 enable_iphlpapi=${enable_iphlpapi:-no}
8130 enable_kernel32=${enable_kernel32:-no}
8131 enable_msvcrt=${enable_msvcrt:-no}
8132 enable_ntdll=${enable_ntdll:-no}
8133 enable_ws2_32=${enable_ws2_32:-no}
8134 enable_loader=${enable_loader:-no}
8135 enable_server=${enable_server:-no}
8136 with_x=${with_x:-no}
8137 with_pthread=${with_pthread:-no}
8139 crtlibs=""
8140 case $host_os in
8141 mingw32*)
8142 crtlibs="-lmsvcrt" ;;
8143 esac
8145 LIBWINE_SHAREDLIB="libwine.dll"
8147 LIBWINE_IMPORTLIB="libwine.a"
8149 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8151 LIBWINE_DEPENDS="wine.def"
8153 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8154 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8157 darwin*|macosx*)
8158 for ac_header in libunwind.h
8159 do :
8160 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8162 cat >>confdefs.h <<_ACEOF
8163 #define HAVE_LIBUNWIND_H 1
8164 _ACEOF
8168 done
8170 ac_ext=m
8171 ac_cpp='$OBJCPP $CPPFLAGS'
8172 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8181 if test -n "$ac_tool_prefix"; then
8182 for ac_prog in gcc objcc objc cc CC
8184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if ${ac_cv_prog_OBJC+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 if test -n "$OBJC"; then
8192 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8193 else
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 for as_dir in $PATH
8197 IFS=$as_save_IFS
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203 break 2
8205 done
8206 done
8207 IFS=$as_save_IFS
8211 OBJC=$ac_cv_prog_OBJC
8212 if test -n "$OBJC"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8214 $as_echo "$OBJC" >&6; }
8215 else
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8221 test -n "$OBJC" && break
8222 done
8224 if test -z "$OBJC"; then
8225 ac_ct_OBJC=$OBJC
8226 for ac_prog in gcc objcc objc cc CC
8228 # Extract the first word of "$ac_prog", so it can be a program name with args.
8229 set dummy $ac_prog; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 if test -n "$ac_ct_OBJC"; then
8236 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8249 done
8250 done
8251 IFS=$as_save_IFS
8255 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8256 if test -n "$ac_ct_OBJC"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8258 $as_echo "$ac_ct_OBJC" >&6; }
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8265 test -n "$ac_ct_OBJC" && break
8266 done
8268 if test "x$ac_ct_OBJC" = x; then
8269 OBJC="gcc"
8270 else
8271 case $cross_compiling:$ac_tool_warned in
8272 yes:)
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8275 ac_tool_warned=yes ;;
8276 esac
8277 OBJC=$ac_ct_OBJC
8281 # Provide some information about the compiler.
8282 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8283 set X $ac_compile
8284 ac_compiler=$2
8285 for ac_option in --version -v -V -qversion; do
8286 { { ac_try="$ac_compiler $ac_option >&5"
8287 case "(($ac_try" in
8288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8289 *) ac_try_echo=$ac_try;;
8290 esac
8291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8292 $as_echo "$ac_try_echo"; } >&5
8293 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8294 ac_status=$?
8295 if test -s conftest.err; then
8296 sed '10a\
8297 ... rest of stderr output deleted ...
8298 10q' conftest.err >conftest.er1
8299 cat conftest.er1 >&5
8301 rm -f conftest.er1 conftest.err
8302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8303 test $ac_status = 0; }
8304 done
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8307 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8308 if ${ac_cv_objc_compiler_gnu+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8315 main ()
8317 #ifndef __GNUC__
8318 choke me
8319 #endif
8322 return 0;
8324 _ACEOF
8325 if ac_fn_objc_try_compile "$LINENO"; then :
8326 ac_compiler_gnu=yes
8327 else
8328 ac_compiler_gnu=no
8330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8335 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8336 if test $ac_compiler_gnu = yes; then
8337 GOBJC=yes
8338 else
8339 GOBJC=
8341 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8342 ac_save_OBJCFLAGS=$OBJCFLAGS
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8344 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8345 if ${ac_cv_prog_objc_g+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 ac_save_objc_werror_flag=$ac_objc_werror_flag
8349 ac_objc_werror_flag=yes
8350 ac_cv_prog_objc_g=no
8351 OBJCFLAGS="-g"
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8356 main ()
8360 return 0;
8362 _ACEOF
8363 if ac_fn_objc_try_compile "$LINENO"; then :
8364 ac_cv_prog_objc_g=yes
8365 else
8366 OBJCFLAGS=""
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8371 main ()
8375 return 0;
8377 _ACEOF
8378 if ac_fn_objc_try_compile "$LINENO"; then :
8380 else
8381 ac_objc_werror_flag=$ac_save_objc_werror_flag
8382 OBJCFLAGS="-g"
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8387 main ()
8391 return 0;
8393 _ACEOF
8394 if ac_fn_objc_try_compile "$LINENO"; then :
8395 ac_cv_prog_objc_g=yes
8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8402 ac_objc_werror_flag=$ac_save_objc_werror_flag
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8405 $as_echo "$ac_cv_prog_objc_g" >&6; }
8406 if test "$ac_test_OBJCFLAGS" = set; then
8407 OBJCFLAGS=$ac_save_OBJCFLAGS
8408 elif test $ac_cv_prog_objc_g = yes; then
8409 if test "$GOBJC" = yes; then
8410 OBJCFLAGS="-g -O2"
8411 else
8412 OBJCFLAGS="-g"
8414 else
8415 if test "$GOBJC" = yes; then
8416 OBJCFLAGS="-O2"
8417 else
8418 OBJCFLAGS=
8421 ac_ext=m
8422 ac_cpp='$OBJCPP $CPPFLAGS'
8423 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8424 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8425 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8428 ac_ext=m
8429 ac_cpp='$OBJCPP $CPPFLAGS'
8430 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8431 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8432 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8434 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8435 if test -z "$OBJCPP"; then
8436 if ${ac_cv_prog_OBJCPP+:} false; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 # Double quotes because OBJCPP needs to be expanded
8440 for OBJCPP in "$OBJC -E" "/lib/cpp"
8442 ac_preproc_ok=false
8443 for ac_objc_preproc_warn_flag in '' yes
8445 # Use a header file that comes with gcc, so configuring glibc
8446 # with a fresh cross-compiler works.
8447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8448 # <limits.h> exists even on freestanding compilers.
8449 # On the NeXT, cc -E runs the code through the compiler's parser,
8450 # not just through cpp. "Syntax error" is here to catch this case.
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 #ifdef __STDC__
8454 # include <limits.h>
8455 #else
8456 # include <assert.h>
8457 #endif
8458 Syntax error
8459 _ACEOF
8460 if ac_fn_objc_try_cpp "$LINENO"; then :
8462 else
8463 # Broken: fails on valid input.
8464 continue
8466 rm -f conftest.err conftest.i conftest.$ac_ext
8468 # OK, works on sane cases. Now check whether nonexistent headers
8469 # can be detected and how.
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8472 #include <ac_nonexistent.h>
8473 _ACEOF
8474 if ac_fn_objc_try_cpp "$LINENO"; then :
8475 # Broken: success on invalid input.
8476 continue
8477 else
8478 # Passes both tests.
8479 ac_preproc_ok=:
8480 break
8482 rm -f conftest.err conftest.i conftest.$ac_ext
8484 done
8485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8486 rm -f conftest.i conftest.err conftest.$ac_ext
8487 if $ac_preproc_ok; then :
8488 break
8491 done
8492 ac_cv_prog_OBJCPP=$OBJCPP
8495 OBJCPP=$ac_cv_prog_OBJCPP
8496 else
8497 ac_cv_prog_OBJCPP=$OBJCPP
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8500 $as_echo "$OBJCPP" >&6; }
8501 ac_preproc_ok=false
8502 for ac_objc_preproc_warn_flag in '' yes
8504 # Use a header file that comes with gcc, so configuring glibc
8505 # with a fresh cross-compiler works.
8506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8507 # <limits.h> exists even on freestanding compilers.
8508 # On the NeXT, cc -E runs the code through the compiler's parser,
8509 # not just through cpp. "Syntax error" is here to catch this case.
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 #ifdef __STDC__
8513 # include <limits.h>
8514 #else
8515 # include <assert.h>
8516 #endif
8517 Syntax error
8518 _ACEOF
8519 if ac_fn_objc_try_cpp "$LINENO"; then :
8521 else
8522 # Broken: fails on valid input.
8523 continue
8525 rm -f conftest.err conftest.i conftest.$ac_ext
8527 # OK, works on sane cases. Now check whether nonexistent headers
8528 # can be detected and how.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #include <ac_nonexistent.h>
8532 _ACEOF
8533 if ac_fn_objc_try_cpp "$LINENO"; then :
8534 # Broken: success on invalid input.
8535 continue
8536 else
8537 # Passes both tests.
8538 ac_preproc_ok=:
8539 break
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 done
8544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8545 rm -f conftest.i conftest.err conftest.$ac_ext
8546 if $ac_preproc_ok; then :
8548 else
8549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8551 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8552 See \`config.log' for more details" "$LINENO" 5; }
8555 ac_ext=m
8556 ac_cpp='$OBJCPP $CPPFLAGS'
8557 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8558 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8559 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8562 for ac_header in Metal/Metal.h
8563 do :
8564 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8565 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8566 cat >>confdefs.h <<_ACEOF
8567 #define HAVE_METAL_METAL_H 1
8568 _ACEOF
8572 done
8574 ac_ext=c
8575 ac_cpp='$CPP $CPPFLAGS'
8576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8580 LIBEXT="dylib"
8581 DLLFLAGS="$DLLFLAGS -fPIC"
8582 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8583 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8584 COREFOUNDATION_LIBS="-framework CoreFoundation"
8586 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8588 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8590 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8592 CORESERVICES_LIBS="-framework CoreServices"
8594 APPKIT_LIBS="-framework AppKit"
8597 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8599 wine_can_build_preloader=yes
8600 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8602 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8603 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8604 $as_echo_n "(cached) " >&6
8605 else
8606 ac_wine_try_cflags_saved=$CFLAGS
8607 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8610 int main(int argc, char **argv) { return 0; }
8611 _ACEOF
8612 if ac_fn_c_try_link "$LINENO"; then :
8613 ac_cv_cflags__Wl__no_new_main__e__main=yes
8614 else
8615 ac_cv_cflags__Wl__no_new_main__e__main=no
8617 rm -f core conftest.err conftest.$ac_objext \
8618 conftest$ac_exeext conftest.$ac_ext
8619 CFLAGS=$ac_wine_try_cflags_saved
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8622 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8623 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8624 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8626 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8627 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8628 $as_echo_n "(cached) " >&6
8629 else
8630 ac_wine_try_cflags_saved=$CFLAGS
8631 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 int main(int argc, char **argv) { return 0; }
8635 _ACEOF
8636 if ac_fn_c_try_link "$LINENO"; then :
8637 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8638 else
8639 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8641 rm -f core conftest.err conftest.$ac_objext \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8646 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8647 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8648 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8649 else
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8651 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8652 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8663 else
8664 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8671 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8672 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8673 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8674 else
8675 wine_can_build_preloader=no
8678 else
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8680 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8681 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
8684 ac_wine_try_cflags_saved=$CFLAGS
8685 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8688 int main(int argc, char **argv) { return 0; }
8689 _ACEOF
8690 if ac_fn_c_try_link "$LINENO"; then :
8691 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8692 else
8693 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8695 rm -f core conftest.err conftest.$ac_objext \
8696 conftest$ac_exeext conftest.$ac_ext
8697 CFLAGS=$ac_wine_try_cflags_saved
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8700 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8701 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8702 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8703 else
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8705 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8706 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 ac_wine_try_cflags_saved=$CFLAGS
8710 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 int main(int argc, char **argv) { return 0; }
8714 _ACEOF
8715 if ac_fn_c_try_link "$LINENO"; then :
8716 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8717 else
8718 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8720 rm -f core conftest.err conftest.$ac_objext \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8725 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8726 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8727 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8728 else
8729 wine_can_build_preloader=no
8733 if test "$wine_can_build_preloader" = "yes"
8734 then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8736 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8737 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-no_pie"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__no_pie=yes
8748 else
8749 ac_cv_cflags__Wl__no_pie=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8756 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8757 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8758 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8760 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8761 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8762 else
8763 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8766 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8767 then
8768 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8771 if test "$ac_cv_header_Security_Security_h" = "yes"
8772 then
8773 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8775 ac_save_LIBS="$LIBS"
8776 LIBS="$LIBS $SECURITY_LIBS"
8777 for ac_func in SSLCopyPeerCertificates
8778 do :
8779 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8780 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8781 cat >>confdefs.h <<_ACEOF
8782 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8783 _ACEOF
8786 done
8788 LIBS="$ac_save_LIBS"
8790 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8791 then
8792 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8793 then
8794 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8796 else
8797 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8800 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8801 ac_save_LIBS="$LIBS"
8802 LIBS="$LIBS $COREAUDIO_LIBS"
8803 for ac_func in AUGraphAddNode
8804 do :
8805 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8806 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8807 cat >>confdefs.h <<_ACEOF
8808 #define HAVE_AUGRAPHADDNODE 1
8809 _ACEOF
8812 done
8814 LIBS="$ac_save_LIBS"
8816 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8817 then
8818 OPENAL_LIBS="-framework OpenAL"
8821 cat >>confdefs.h <<_ACEOF
8822 #define HAVE_OPENAL 1
8823 _ACEOF
8825 ac_cv_lib_openal=yes
8827 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8828 then
8829 OPENCL_LIBS="-framework OpenCL"
8831 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8833 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8834 then
8835 ac_save_LIBS="$LIBS"
8836 LIBS="$LIBS $IOKIT_LIBS"
8837 for ac_func in IOHIDManagerCreate
8838 do :
8839 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8840 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8841 cat >>confdefs.h <<_ACEOF
8842 #define HAVE_IOHIDMANAGERCREATE 1
8843 _ACEOF
8846 done
8848 LIBS="$ac_save_LIBS"
8850 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8851 then
8852 ac_save_LIBS="$LIBS"
8853 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8855 $as_echo_n "checking for the QuickTime framework... " >&6; }
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 #include <QuickTime/ImageCompression.h>
8860 main ()
8862 CodecManagerVersion(NULL);
8864 return 0;
8866 _ACEOF
8867 if ac_fn_c_try_link "$LINENO"; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8869 $as_echo "yes" >&6; }
8870 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8872 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8876 ac_cv_header_QuickTime_ImageCompression_h=no
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 LIBS="$ac_save_LIBS"
8882 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8883 then
8884 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8886 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8887 then
8888 CARBON_LIBS="-framework Carbon"
8891 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8892 then
8893 METAL_LIBS="-framework Metal -framework QuartzCore"
8897 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8898 then
8899 ac_save_LIBS="$LIBS"
8900 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8901 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8902 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8903 enable_winemac_drv=${enable_winemac_drv:-yes}
8906 LIBS="$ac_save_LIBS"
8909 if test "x$enable_win16" = "xyes"
8910 then
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8912 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8913 if test "$cross_compiling" = yes; then :
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8915 $as_echo "cross-compiling, assuming yes" >&6; }
8916 else
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 asm(".text\n"
8920 "bad:\tnop;nop\n"
8921 "good:\tnop;nop\n\t"
8922 ".globl _testfunc\n"
8923 "_testfunc:\tcallw good");
8924 extern void testfunc();
8926 main ()
8928 unsigned short *p = (unsigned short *)testfunc;
8929 return p[0] != 0xe866 || p[1] != 0xfffa
8931 return 0;
8933 _ACEOF
8934 if ac_fn_c_try_run "$LINENO"; then :
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8936 $as_echo "yes" >&6; }
8937 else
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8939 $as_echo "no" >&6; }
8940 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
8942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8943 conftest.$ac_objext conftest.beam conftest.$ac_ext
8948 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8950 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8952 WINELOADER_DEPENDS="wine_info.plist"
8954 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8955 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8958 linux-android*)
8959 DLLFLAGS="$DLLFLAGS -fPIC"
8960 LDEXECFLAGS="-Wl,-pie"
8961 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8963 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8964 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8965 $as_echo_n "(cached) " >&6
8966 else
8967 ac_wine_try_cflags_saved=$CFLAGS
8968 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 int main(int argc, char **argv) { return 0; }
8972 _ACEOF
8973 if ac_fn_c_try_link "$LINENO"; then :
8974 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8975 else
8976 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 CFLAGS=$ac_wine_try_cflags_saved
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8983 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8984 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8985 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8987 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
8988 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8990 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8991 if eval \${$as_ac_var+:} false; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 ac_wine_try_cflags_saved=$CFLAGS
8995 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8998 int main(int argc, char **argv) { return 0; }
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 eval "$as_ac_var=yes"
9002 else
9003 eval "$as_ac_var=no"
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 CFLAGS=$ac_wine_try_cflags_saved
9009 eval ac_res=\$$as_ac_var
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9011 $as_echo "$ac_res" >&6; }
9012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9013 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9014 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9015 else
9016 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9018 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9019 if eval \${$as_ac_var+:} false; then :
9020 $as_echo_n "(cached) " >&6
9021 else
9022 ac_wine_try_cflags_saved=$CFLAGS
9023 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9026 int main(int argc, char **argv) { return 0; }
9027 _ACEOF
9028 if ac_fn_c_try_link "$LINENO"; then :
9029 eval "$as_ac_var=yes"
9030 else
9031 eval "$as_ac_var=no"
9033 rm -f core conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
9035 CFLAGS=$ac_wine_try_cflags_saved
9037 eval ac_res=\$$as_ac_var
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9039 $as_echo "$ac_res" >&6; }
9040 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9041 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9042 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9046 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9047 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9048 $as_echo_n "(cached) " >&6
9049 else
9050 ac_wine_try_cflags_saved=$CFLAGS
9051 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9054 int main(int argc, char **argv) { return 0; }
9055 _ACEOF
9056 if ac_fn_c_try_link "$LINENO"; then :
9057 ac_cv_cflags__Wl___enable_new_dtags=yes
9058 else
9059 ac_cv_cflags__Wl___enable_new_dtags=no
9061 rm -f core conftest.err conftest.$ac_objext \
9062 conftest$ac_exeext conftest.$ac_ext
9063 CFLAGS=$ac_wine_try_cflags_saved
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9066 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9067 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9068 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9071 LIBWINE_SHAREDLIB="libwine.so"
9073 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9075 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9078 $as_echo_n "checking for -lEGL... " >&6; }
9079 if ${ac_cv_lib_soname_EGL+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_check_soname_save_LIBS=$LIBS
9083 LIBS="-lEGL $LIBS"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9090 #ifdef __cplusplus
9091 extern "C"
9092 #endif
9093 char eglGetProcAddress ();
9095 main ()
9097 return eglGetProcAddress ();
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 case "$LIBEXT" in
9104 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9105 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'` ;;
9106 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9107 if ${ac_cv_lib_soname_EGL:+false} :; then :
9108 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9109 fi ;;
9110 esac
9112 rm -f core conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9114 LIBS=$ac_check_soname_save_LIBS
9116 if ${ac_cv_lib_soname_EGL:+false} :; then :
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9118 $as_echo "not found" >&6; }
9120 else
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9122 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9124 cat >>confdefs.h <<_ACEOF
9125 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9126 _ACEOF
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9131 $as_echo_n "checking for -lGLESv2... " >&6; }
9132 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9133 $as_echo_n "(cached) " >&6
9134 else
9135 ac_check_soname_save_LIBS=$LIBS
9136 LIBS="-lGLESv2 $LIBS"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9143 #ifdef __cplusplus
9144 extern "C"
9145 #endif
9146 char glFlush ();
9148 main ()
9150 return glFlush ();
9152 return 0;
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 case "$LIBEXT" in
9157 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9158 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'` ;;
9159 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9160 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9161 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9162 fi ;;
9163 esac
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 LIBS=$ac_check_soname_save_LIBS
9169 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9171 $as_echo "not found" >&6; }
9173 else
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9175 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9177 cat >>confdefs.h <<_ACEOF
9178 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9179 _ACEOF
9184 if test "x$exec_prefix" = xNONE
9185 then
9186 case $host_cpu in
9187 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9188 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9189 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9190 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9191 esac
9196 DLLFLAGS="$DLLFLAGS -fPIC"
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9198 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9199 if ${ac_cv_c_dll_gnuelf+:} false; then :
9200 $as_echo_n "(cached) " >&6
9201 else
9202 ac_wine_try_cflags_saved=$CFLAGS
9203 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9205 /* end confdefs.h. */
9206 void myfunc() {}
9207 _ACEOF
9208 if ac_fn_c_try_link "$LINENO"; then :
9209 ac_cv_c_dll_gnuelf="yes"
9210 else
9211 ac_cv_c_dll_gnuelf="no"
9213 rm -f core conftest.err conftest.$ac_objext \
9214 conftest$ac_exeext conftest.$ac_ext
9215 CFLAGS=$ac_wine_try_cflags_saved
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9218 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9219 if test "$ac_cv_c_dll_gnuelf" = "yes"
9220 then
9221 LIBWINE_LDFLAGS="-shared"
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9223 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9224 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_wine_try_cflags_saved=$CFLAGS
9228 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9231 int main(int argc, char **argv) { return 0; }
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9234 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9235 else
9236 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9238 rm -f core conftest.err conftest.$ac_objext \
9239 conftest$ac_exeext conftest.$ac_ext
9240 CFLAGS=$ac_wine_try_cflags_saved
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9243 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9244 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9245 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9246 else
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9248 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9249 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9250 $as_echo_n "(cached) " >&6
9251 else
9252 ac_wine_try_cflags_saved=$CFLAGS
9253 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9256 int main(int argc, char **argv) { return 0; }
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9260 else
9261 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 CFLAGS=$ac_wine_try_cflags_saved
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9268 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9269 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9270 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9274 echo '{ global: *; };' >conftest.map
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9276 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9277 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_wine_try_cflags_saved=$CFLAGS
9281 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9284 int main(int argc, char **argv) { return 0; }
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"; then :
9287 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9288 else
9289 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 CFLAGS=$ac_wine_try_cflags_saved
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9296 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9297 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9298 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9300 rm -f conftest.map
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9303 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9304 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 ac_wine_try_cflags_saved=$CFLAGS
9308 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9311 int main(int argc, char **argv) { return 0; }
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9315 else
9316 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 CFLAGS=$ac_wine_try_cflags_saved
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9323 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9324 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9325 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9327 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9329 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9331 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9332 if eval \${$as_ac_var+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_wine_try_cflags_saved=$CFLAGS
9336 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 int main(int argc, char **argv) { return 0; }
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 eval "$as_ac_var=yes"
9343 else
9344 eval "$as_ac_var=no"
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 CFLAGS=$ac_wine_try_cflags_saved
9350 eval ac_res=\$$as_ac_var
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9352 $as_echo "$ac_res" >&6; }
9353 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9354 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9355 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9356 else
9357 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9359 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9360 if eval \${$as_ac_var+:} false; then :
9361 $as_echo_n "(cached) " >&6
9362 else
9363 ac_wine_try_cflags_saved=$CFLAGS
9364 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9367 int main(int argc, char **argv) { return 0; }
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 eval "$as_ac_var=yes"
9371 else
9372 eval "$as_ac_var=no"
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 CFLAGS=$ac_wine_try_cflags_saved
9378 eval ac_res=\$$as_ac_var
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9380 $as_echo "$ac_res" >&6; }
9381 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9382 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9383 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9388 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9389 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_wine_try_cflags_saved=$CFLAGS
9393 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9396 int main(int argc, char **argv) { return 0; }
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_cflags__Wl___enable_new_dtags=yes
9400 else
9401 ac_cv_cflags__Wl___enable_new_dtags=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 CFLAGS=$ac_wine_try_cflags_saved
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9408 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9409 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9410 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9413 case $host_cpu in
9414 *i[3456789]86* | x86_64 | *aarch64*)
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9416 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9417 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_wine_try_cflags_saved=$CFLAGS
9421 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9424 int main(int argc, char **argv) { return 0; }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9428 else
9429 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 CFLAGS=$ac_wine_try_cflags_saved
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9436 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9437 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9438 case $host_os in
9439 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9440 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9441 esac
9442 else
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9444 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9445 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_wine_try_cflags_saved=$CFLAGS
9449 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9456 else
9457 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 CFLAGS=$ac_wine_try_cflags_saved
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9464 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9465 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9466 case $host_os in
9467 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9468 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9469 esac
9471 # Extract the first word of "prelink", so it can be a program name with args.
9472 set dummy prelink; ac_word=$2
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9474 $as_echo_n "checking for $ac_word... " >&6; }
9475 if ${ac_cv_path_PRELINK+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 case $PRELINK in
9479 [\\/]* | ?:[\\/]*)
9480 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 for as_dir in /sbin /usr/sbin $PATH
9486 IFS=$as_save_IFS
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9490 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9492 break 2
9494 done
9495 done
9496 IFS=$as_save_IFS
9498 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9500 esac
9502 PRELINK=$ac_cv_path_PRELINK
9503 if test -n "$PRELINK"; then
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9505 $as_echo "$PRELINK" >&6; }
9506 else
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9508 $as_echo "no" >&6; }
9512 if test "x$PRELINK" = xfalse
9513 then
9514 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9518 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9519 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_wine_try_cflags_saved=$CFLAGS
9523 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9530 else
9531 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 CFLAGS=$ac_wine_try_cflags_saved
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9538 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9539 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9540 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9543 esac
9545 else
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9547 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9548 if ${ac_cv_c_dll_unixware+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_wine_try_cflags_saved=$CFLAGS
9552 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 void myfunc() {}
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"; then :
9558 ac_cv_c_dll_unixware="yes"
9559 else
9560 ac_cv_c_dll_unixware="no"
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 CFLAGS=$ac_wine_try_cflags_saved
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9567 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9568 if test "$ac_cv_c_dll_unixware" = "yes"
9569 then
9570 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9573 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9575 LIBWINE_DEPENDS="wine.map"
9577 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9578 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9580 esac
9582 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9583 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9584 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9585 enable_winemac_drv=${enable_winemac_drv:-no}
9586 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9588 CROSSTARGET=""
9590 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9591 then
9592 case "$host_cpu" in
9593 aarch64*)
9594 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9595 arm*)
9596 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9597 i[3456789]86*)
9598 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
9599 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9600 mingw32-gcc" ;;
9601 x86_64)
9602 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
9603 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9605 ac_prefix_list="" ;;
9606 esac
9607 for ac_prog in $ac_prefix_list
9609 # Extract the first word of "$ac_prog", so it can be a program name with args.
9610 set dummy $ac_prog; ac_word=$2
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9612 $as_echo_n "checking for $ac_word... " >&6; }
9613 if ${ac_cv_prog_CROSSCC+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 if test -n "$CROSSCC"; then
9617 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9618 else
9619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 for as_dir in $PATH
9622 IFS=$as_save_IFS
9623 test -z "$as_dir" && as_dir=.
9624 for ac_exec_ext in '' $ac_executable_extensions; do
9625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9626 ac_cv_prog_CROSSCC="$ac_prog"
9627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9628 break 2
9630 done
9631 done
9632 IFS=$as_save_IFS
9636 CROSSCC=$ac_cv_prog_CROSSCC
9637 if test -n "$CROSSCC"; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9639 $as_echo "$CROSSCC" >&6; }
9640 else
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9642 $as_echo "no" >&6; }
9646 test -n "$CROSSCC" && break
9647 done
9648 test -n "$CROSSCC" || CROSSCC="false"
9650 if test "$CROSSCC" != "false"
9651 then
9652 ac_save_CC="$CC"
9653 CC="$CROSSCC"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9655 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9660 main ()
9664 return 0;
9666 _ACEOF
9667 if ac_fn_c_try_compile "$LINENO"; then :
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9669 $as_echo "yes" >&6; }
9670 set x $CROSSCC
9671 shift
9672 while test $# -ge 1
9674 case "$1" in
9675 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9676 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9677 esac
9678 shift
9679 done
9680 else
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9682 $as_echo "no" >&6; }
9684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9685 CC="$ac_save_CC"
9686 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9692 if test "$ac_cv_header_pthread_h" = "yes"
9693 then
9694 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9695 if test "x$ac_cv_func_pthread_create" = xyes; then :
9697 else
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9699 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9700 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9701 $as_echo_n "(cached) " >&6
9702 else
9703 ac_check_lib_save_LIBS=$LIBS
9704 LIBS="-lpthread $LIBS"
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9711 #ifdef __cplusplus
9712 extern "C"
9713 #endif
9714 char pthread_create ();
9716 main ()
9718 return pthread_create ();
9720 return 0;
9722 _ACEOF
9723 if ac_fn_c_try_link "$LINENO"; then :
9724 ac_cv_lib_pthread_pthread_create=yes
9725 else
9726 ac_cv_lib_pthread_pthread_create=no
9728 rm -f core conftest.err conftest.$ac_objext \
9729 conftest$ac_exeext conftest.$ac_ext
9730 LIBS=$ac_check_lib_save_LIBS
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9733 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9734 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9735 PTHREAD_LIBS="-lpthread"
9742 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9743 case "x$with_pthread" in
9744 xno) ;;
9745 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9746 Wine cannot support threads without libpthread.
9747 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9748 esac
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9754 $as_echo_n "checking for X... " >&6; }
9757 # Check whether --with-x was given.
9758 if test "${with_x+set}" = set; then :
9759 withval=$with_x;
9762 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9763 if test "x$with_x" = xno; then
9764 # The user explicitly disabled X.
9765 have_x=disabled
9766 else
9767 case $x_includes,$x_libraries in #(
9768 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9769 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 # One or both of the vars are not set, and there is no cached value.
9773 ac_x_includes=no ac_x_libraries=no
9774 rm -f -r conftest.dir
9775 if mkdir conftest.dir; then
9776 cd conftest.dir
9777 cat >Imakefile <<'_ACEOF'
9778 incroot:
9779 @echo incroot='${INCROOT}'
9780 usrlibdir:
9781 @echo usrlibdir='${USRLIBDIR}'
9782 libdir:
9783 @echo libdir='${LIBDIR}'
9784 _ACEOF
9785 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9786 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9787 for ac_var in incroot usrlibdir libdir; do
9788 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9789 done
9790 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9791 for ac_extension in a so sl dylib la dll; do
9792 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9793 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9794 ac_im_usrlibdir=$ac_im_libdir; break
9796 done
9797 # Screen out bogus values from the imake configuration. They are
9798 # bogus both because they are the default anyway, and because
9799 # using them would break gcc on systems where it needs fixed includes.
9800 case $ac_im_incroot in
9801 /usr/include) ac_x_includes= ;;
9802 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9803 esac
9804 case $ac_im_usrlibdir in
9805 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9806 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9807 esac
9809 cd ..
9810 rm -f -r conftest.dir
9813 # Standard set of common directories for X headers.
9814 # Check X11 before X11Rn because it is often a symlink to the current release.
9815 ac_x_header_dirs='
9816 /usr/X11/include
9817 /usr/X11R7/include
9818 /usr/X11R6/include
9819 /usr/X11R5/include
9820 /usr/X11R4/include
9822 /usr/include/X11
9823 /usr/include/X11R7
9824 /usr/include/X11R6
9825 /usr/include/X11R5
9826 /usr/include/X11R4
9828 /usr/local/X11/include
9829 /usr/local/X11R7/include
9830 /usr/local/X11R6/include
9831 /usr/local/X11R5/include
9832 /usr/local/X11R4/include
9834 /usr/local/include/X11
9835 /usr/local/include/X11R7
9836 /usr/local/include/X11R6
9837 /usr/local/include/X11R5
9838 /usr/local/include/X11R4
9840 /usr/X386/include
9841 /usr/x386/include
9842 /usr/XFree86/include/X11
9844 /usr/include
9845 /usr/local/include
9846 /usr/unsupported/include
9847 /usr/athena/include
9848 /usr/local/x11r5/include
9849 /usr/lpp/Xamples/include
9851 /usr/openwin/include
9852 /usr/openwin/share/include'
9854 if test "$ac_x_includes" = no; then
9855 # Guess where to find include files, by looking for Xlib.h.
9856 # First, try using that file with no special directory specified.
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9859 #include <X11/Xlib.h>
9860 _ACEOF
9861 if ac_fn_c_try_cpp "$LINENO"; then :
9862 # We can compile using X headers with no special include directory.
9863 ac_x_includes=
9864 else
9865 for ac_dir in $ac_x_header_dirs; do
9866 if test -r "$ac_dir/X11/Xlib.h"; then
9867 ac_x_includes=$ac_dir
9868 break
9870 done
9872 rm -f conftest.err conftest.i conftest.$ac_ext
9873 fi # $ac_x_includes = no
9875 if test "$ac_x_libraries" = no; then
9876 # Check for the libraries.
9877 # See if we find them without any special options.
9878 # Don't add to $LIBS permanently.
9879 ac_save_LIBS=$LIBS
9880 LIBS="-lX11 $LIBS"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 #include <X11/Xlib.h>
9885 main ()
9887 XrmInitialize ()
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 LIBS=$ac_save_LIBS
9894 # We can link X programs with no special library path.
9895 ac_x_libraries=
9896 else
9897 LIBS=$ac_save_LIBS
9898 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9900 # Don't even attempt the hair of trying to link an X program!
9901 for ac_extension in a so sl dylib la dll; do
9902 if test -r "$ac_dir/libX11.$ac_extension"; then
9903 ac_x_libraries=$ac_dir
9904 break 2
9906 done
9907 done
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 fi # $ac_x_libraries = no
9913 case $ac_x_includes,$ac_x_libraries in #(
9914 no,* | *,no | *\'*)
9915 # Didn't find X, or a directory has "'" in its name.
9916 ac_cv_have_x="have_x=no";; #(
9918 # Record where we found X for the cache.
9919 ac_cv_have_x="have_x=yes\
9920 ac_x_includes='$ac_x_includes'\
9921 ac_x_libraries='$ac_x_libraries'"
9922 esac
9924 ;; #(
9925 *) have_x=yes;;
9926 esac
9927 eval "$ac_cv_have_x"
9928 fi # $with_x != no
9930 if test "$have_x" != yes; then
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9932 $as_echo "$have_x" >&6; }
9933 no_x=yes
9934 else
9935 # If each of the values was on the command line, it overrides each guess.
9936 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9937 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9938 # Update the cache value to reflect the command line values.
9939 ac_cv_have_x="have_x=yes\
9940 ac_x_includes='$x_includes'\
9941 ac_x_libraries='$x_libraries'"
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9943 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9946 if test "$no_x" = yes; then
9947 # Not all programs may use this symbol, but it does not hurt to define it.
9949 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9951 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9952 else
9953 if test -n "$x_includes"; then
9954 X_CFLAGS="$X_CFLAGS -I$x_includes"
9957 # It would also be nice to do this for all -L options, not just this one.
9958 if test -n "$x_libraries"; then
9959 X_LIBS="$X_LIBS -L$x_libraries"
9960 # For Solaris; some versions of Sun CC require a space after -R and
9961 # others require no space. Words are not sufficient . . . .
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9963 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9964 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9965 ac_xsave_c_werror_flag=$ac_c_werror_flag
9966 ac_c_werror_flag=yes
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9971 main ()
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980 $as_echo "no" >&6; }
9981 X_LIBS="$X_LIBS -R$x_libraries"
9982 else
9983 LIBS="$ac_xsave_LIBS -R $x_libraries"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9988 main ()
9992 return 0;
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9997 $as_echo "yes" >&6; }
9998 X_LIBS="$X_LIBS -R $x_libraries"
9999 else
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10001 $as_echo "neither works" >&6; }
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 ac_c_werror_flag=$ac_xsave_c_werror_flag
10009 LIBS=$ac_xsave_LIBS
10012 # Check for system-dependent libraries X programs must link with.
10013 # Do this before checking for the system-independent R6 libraries
10014 # (-lICE), since we may need -lsocket or whatever for X linking.
10016 if test "$ISC" = yes; then
10017 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10018 else
10019 # Martyn Johnson says this is needed for Ultrix, if the X
10020 # libraries were built with DECnet support. And Karl Berry says
10021 # the Alpha needs dnet_stub (dnet does not exist).
10022 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XOpenDisplay ();
10034 main ()
10036 return XOpenDisplay ();
10038 return 0;
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10043 else
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10045 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10046 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10047 $as_echo_n "(cached) " >&6
10048 else
10049 ac_check_lib_save_LIBS=$LIBS
10050 LIBS="-ldnet $LIBS"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10057 #ifdef __cplusplus
10058 extern "C"
10059 #endif
10060 char dnet_ntoa ();
10062 main ()
10064 return dnet_ntoa ();
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_lib_dnet_dnet_ntoa=yes
10071 else
10072 ac_cv_lib_dnet_dnet_ntoa=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS=$ac_check_lib_save_LIBS
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10079 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10080 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10081 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10084 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10086 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10087 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_check_lib_save_LIBS=$LIBS
10091 LIBS="-ldnet_stub $LIBS"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10095 /* Override any GCC internal prototype to avoid an error.
10096 Use char because int might match the return type of a GCC
10097 builtin and then its argument prototype would still apply. */
10098 #ifdef __cplusplus
10099 extern "C"
10100 #endif
10101 char dnet_ntoa ();
10103 main ()
10105 return dnet_ntoa ();
10107 return 0;
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"; then :
10111 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10112 else
10113 ac_cv_lib_dnet_stub_dnet_ntoa=no
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_lib_save_LIBS
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10120 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10121 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10122 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10127 rm -f core conftest.err conftest.$ac_objext \
10128 conftest$ac_exeext conftest.$ac_ext
10129 LIBS="$ac_xsave_LIBS"
10131 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10132 # to get the SysV transport functions.
10133 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10134 # needs -lnsl.
10135 # The nsl library prevents programs from opening the X display
10136 # on Irix 5.2, according to T.E. Dickey.
10137 # The functions gethostbyname, getservbyname, and inet_addr are
10138 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10139 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10140 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10144 if test $ac_cv_func_gethostbyname = no; then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10146 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10147 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_check_lib_save_LIBS=$LIBS
10151 LIBS="-lnsl $LIBS"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158 #ifdef __cplusplus
10159 extern "C"
10160 #endif
10161 char gethostbyname ();
10163 main ()
10165 return gethostbyname ();
10167 return 0;
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_lib_nsl_gethostbyname=yes
10172 else
10173 ac_cv_lib_nsl_gethostbyname=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_lib_save_LIBS
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10180 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10181 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10182 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10185 if test $ac_cv_lib_nsl_gethostbyname = no; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10187 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10188 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_check_lib_save_LIBS=$LIBS
10192 LIBS="-lbsd $LIBS"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10199 #ifdef __cplusplus
10200 extern "C"
10201 #endif
10202 char gethostbyname ();
10204 main ()
10206 return gethostbyname ();
10208 return 0;
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_lib_bsd_gethostbyname=yes
10213 else
10214 ac_cv_lib_bsd_gethostbyname=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 LIBS=$ac_check_lib_save_LIBS
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10221 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10222 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10223 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10229 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10230 # socket/setsockopt and other routines are undefined under SCO ODT
10231 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10232 # on later versions), says Simon Leinen: it contains gethostby*
10233 # variants that don't use the name server (or something). -lsocket
10234 # must be given before -lnsl if both are needed. We assume that
10235 # if connect needs -lnsl, so does gethostbyname.
10236 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10237 if test "x$ac_cv_func_connect" = xyes; then :
10241 if test $ac_cv_func_connect = no; then
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10243 $as_echo_n "checking for connect in -lsocket... " >&6; }
10244 if ${ac_cv_lib_socket_connect+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 ac_check_lib_save_LIBS=$LIBS
10248 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10255 #ifdef __cplusplus
10256 extern "C"
10257 #endif
10258 char connect ();
10260 main ()
10262 return connect ();
10264 return 0;
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268 ac_cv_lib_socket_connect=yes
10269 else
10270 ac_cv_lib_socket_connect=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10277 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10278 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10279 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10284 # Guillermo Gomez says -lposix is necessary on A/UX.
10285 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10286 if test "x$ac_cv_func_remove" = xyes; then :
10290 if test $ac_cv_func_remove = no; then
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10292 $as_echo_n "checking for remove in -lposix... " >&6; }
10293 if ${ac_cv_lib_posix_remove+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_check_lib_save_LIBS=$LIBS
10297 LIBS="-lposix $LIBS"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10301 /* Override any GCC internal prototype to avoid an error.
10302 Use char because int might match the return type of a GCC
10303 builtin and then its argument prototype would still apply. */
10304 #ifdef __cplusplus
10305 extern "C"
10306 #endif
10307 char remove ();
10309 main ()
10311 return remove ();
10313 return 0;
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_lib_posix_remove=yes
10318 else
10319 ac_cv_lib_posix_remove=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_lib_save_LIBS
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10326 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10327 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10333 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10334 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10335 if test "x$ac_cv_func_shmat" = xyes; then :
10339 if test $ac_cv_func_shmat = no; then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10341 $as_echo_n "checking for shmat in -lipc... " >&6; }
10342 if ${ac_cv_lib_ipc_shmat+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_check_lib_save_LIBS=$LIBS
10346 LIBS="-lipc $LIBS"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10350 /* Override any GCC internal prototype to avoid an error.
10351 Use char because int might match the return type of a GCC
10352 builtin and then its argument prototype would still apply. */
10353 #ifdef __cplusplus
10354 extern "C"
10355 #endif
10356 char shmat ();
10358 main ()
10360 return shmat ();
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 ac_cv_lib_ipc_shmat=yes
10367 else
10368 ac_cv_lib_ipc_shmat=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_lib_save_LIBS
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10375 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10376 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10383 # Check for libraries that X11R6 Xt/Xaw programs need.
10384 ac_save_LDFLAGS=$LDFLAGS
10385 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10386 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10387 # check for ICE first), but we must link in the order -lSM -lICE or
10388 # we get undefined symbols. So assume we have SM if we have ICE.
10389 # These have to be linked with before -lX11, unlike the other
10390 # libraries we check for below, so use a different variable.
10391 # John Interrante, Karl Berry
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10393 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10394 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_check_lib_save_LIBS=$LIBS
10398 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char IceConnectionNumber ();
10410 main ()
10412 return IceConnectionNumber ();
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 ac_cv_lib_ICE_IceConnectionNumber=yes
10419 else
10420 ac_cv_lib_ICE_IceConnectionNumber=no
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 LIBS=$ac_check_lib_save_LIBS
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10427 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10428 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10429 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10432 LDFLAGS=$ac_save_LDFLAGS
10437 if test "$have_x" = "yes"
10438 then
10439 ac_save_CPPFLAGS="$CPPFLAGS"
10440 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10443 $as_echo_n "checking for -lX11... " >&6; }
10444 if ${ac_cv_lib_soname_X11+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_check_soname_save_LIBS=$LIBS
10448 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10452 /* Override any GCC internal prototype to avoid an error.
10453 Use char because int might match the return type of a GCC
10454 builtin and then its argument prototype would still apply. */
10455 #ifdef __cplusplus
10456 extern "C"
10457 #endif
10458 char XCreateWindow ();
10460 main ()
10462 return XCreateWindow ();
10464 return 0;
10466 _ACEOF
10467 if ac_fn_c_try_link "$LINENO"; then :
10468 case "$LIBEXT" in
10469 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10470 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'` ;;
10471 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10472 if ${ac_cv_lib_soname_X11:+false} :; then :
10473 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10474 fi ;;
10475 esac
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 LIBS=$ac_check_soname_save_LIBS
10481 if ${ac_cv_lib_soname_X11:+false} :; then :
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10483 $as_echo "not found" >&6; }
10485 else
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10487 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10489 cat >>confdefs.h <<_ACEOF
10490 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10491 _ACEOF
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10496 $as_echo_n "checking for -lXext... " >&6; }
10497 if ${ac_cv_lib_soname_Xext+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char XextCreateExtension ();
10513 main ()
10515 return XextCreateExtension ();
10517 return 0;
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 case "$LIBEXT" in
10522 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10523 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'` ;;
10524 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10525 if ${ac_cv_lib_soname_Xext:+false} :; then :
10526 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10527 fi ;;
10528 esac
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_soname_save_LIBS
10534 if ${ac_cv_lib_soname_Xext:+false} :; then :
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10536 $as_echo "not found" >&6; }
10538 else
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10540 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10542 cat >>confdefs.h <<_ACEOF
10543 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10544 _ACEOF
10546 X_LIBS="$X_LIBS -lXext"
10548 X_LIBS="$X_LIBS -lX11"
10550 for ac_header in X11/Xlib.h \
10551 X11/XKBlib.h \
10552 X11/Xutil.h \
10553 X11/Xcursor/Xcursor.h \
10554 X11/extensions/shape.h \
10555 X11/extensions/XInput.h \
10556 X11/extensions/XInput2.h \
10557 X11/extensions/XShm.h \
10558 X11/extensions/Xcomposite.h \
10559 X11/extensions/Xfixes.h \
10560 X11/extensions/Xinerama.h \
10561 X11/extensions/Xrandr.h \
10562 X11/extensions/Xrender.h \
10563 X11/extensions/xf86vmode.h \
10564 X11/extensions/xf86vmproto.h
10565 do :
10566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10568 # include <X11/Xlib.h>
10569 #endif
10570 #ifdef HAVE_X11_XUTIL_H
10571 # include <X11/Xutil.h>
10572 #endif
10574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10575 cat >>confdefs.h <<_ACEOF
10576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10577 _ACEOF
10581 done
10584 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10585 then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10587 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10588 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10589 $as_echo_n "(cached) " >&6
10590 else
10591 ac_check_lib_save_LIBS=$LIBS
10592 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10599 #ifdef __cplusplus
10600 extern "C"
10601 #endif
10602 char XkbQueryExtension ();
10604 main ()
10606 return XkbQueryExtension ();
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_lib_X11_XkbQueryExtension=yes
10613 else
10614 ac_cv_lib_X11_XkbQueryExtension=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_lib_save_LIBS
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10621 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10622 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10624 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10630 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10631 then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10633 $as_echo_n "checking for -lXcursor... " >&6; }
10634 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10635 $as_echo_n "(cached) " >&6
10636 else
10637 ac_check_soname_save_LIBS=$LIBS
10638 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10645 #ifdef __cplusplus
10646 extern "C"
10647 #endif
10648 char XcursorImageLoadCursor ();
10650 main ()
10652 return XcursorImageLoadCursor ();
10654 return 0;
10656 _ACEOF
10657 if ac_fn_c_try_link "$LINENO"; then :
10658 case "$LIBEXT" in
10659 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10660 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'` ;;
10661 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10662 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10663 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10664 fi ;;
10665 esac
10667 rm -f core conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_soname_save_LIBS
10671 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10673 $as_echo "not found" >&6; }
10675 else
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10677 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10679 cat >>confdefs.h <<_ACEOF
10680 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10681 _ACEOF
10686 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10687 case "x$with_xcursor" in
10688 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10689 xno) ;;
10690 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10691 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10692 esac
10696 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10697 then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10699 $as_echo_n "checking for -lXi... " >&6; }
10700 if ${ac_cv_lib_soname_Xi+:} false; then :
10701 $as_echo_n "(cached) " >&6
10702 else
10703 ac_check_soname_save_LIBS=$LIBS
10704 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10711 #ifdef __cplusplus
10712 extern "C"
10713 #endif
10714 char XOpenDevice ();
10716 main ()
10718 return XOpenDevice ();
10720 return 0;
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 case "$LIBEXT" in
10725 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10726 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'` ;;
10727 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10728 if ${ac_cv_lib_soname_Xi:+false} :; then :
10729 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10730 fi ;;
10731 esac
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 LIBS=$ac_check_soname_save_LIBS
10737 if ${ac_cv_lib_soname_Xi:+false} :; then :
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10739 $as_echo "not found" >&6; }
10741 else
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10743 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10745 cat >>confdefs.h <<_ACEOF
10746 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10747 _ACEOF
10752 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10753 case "x$with_xinput" in
10754 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10755 xno) ;;
10756 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10757 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10758 esac
10762 if test "x$ac_cv_lib_soname_Xi" != x
10763 then
10764 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10765 case "x$with_xinput2" in
10766 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10767 xno) ;;
10768 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10769 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10770 esac
10775 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10776 then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10778 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10779 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10780 $as_echo_n "(cached) " >&6
10781 else
10782 ac_check_lib_save_LIBS=$LIBS
10783 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 /* Override any GCC internal prototype to avoid an error.
10788 Use char because int might match the return type of a GCC
10789 builtin and then its argument prototype would still apply. */
10790 #ifdef __cplusplus
10791 extern "C"
10792 #endif
10793 char XShmQueryExtension ();
10795 main ()
10797 return XShmQueryExtension ();
10799 return 0;
10801 _ACEOF
10802 if ac_fn_c_try_link "$LINENO"; then :
10803 ac_cv_lib_Xext_XShmQueryExtension=yes
10804 else
10805 ac_cv_lib_Xext_XShmQueryExtension=no
10807 rm -f core conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10809 LIBS=$ac_check_lib_save_LIBS
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10812 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10813 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10815 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10820 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10821 case "x$with_xshm" in
10822 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10823 xno) ;;
10824 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10825 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10826 esac
10830 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10831 then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10833 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10834 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_lib_save_LIBS=$LIBS
10838 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char XShapeQueryExtension ();
10850 main ()
10852 return XShapeQueryExtension ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 ac_cv_lib_Xext_XShapeQueryExtension=yes
10859 else
10860 ac_cv_lib_Xext_XShapeQueryExtension=no
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_lib_save_LIBS
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10867 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10868 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10870 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10875 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10876 case "x$with_xshape" in
10877 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10878 xno) ;;
10879 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10880 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10881 esac
10885 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10886 then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10888 $as_echo_n "checking for -lXxf86vm... " >&6; }
10889 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10890 $as_echo_n "(cached) " >&6
10891 else
10892 ac_check_soname_save_LIBS=$LIBS
10893 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10900 #ifdef __cplusplus
10901 extern "C"
10902 #endif
10903 char XF86VidModeQueryExtension ();
10905 main ()
10907 return XF86VidModeQueryExtension ();
10909 return 0;
10911 _ACEOF
10912 if ac_fn_c_try_link "$LINENO"; then :
10913 case "$LIBEXT" in
10914 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10915 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'` ;;
10916 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10917 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10918 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10919 fi ;;
10920 esac
10922 rm -f core conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10924 LIBS=$ac_check_soname_save_LIBS
10926 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10928 $as_echo "not found" >&6; }
10930 else
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10932 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10934 cat >>confdefs.h <<_ACEOF
10935 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10936 _ACEOF
10941 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10942 case "x$with_xxf86vm" in
10943 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10944 xno) ;;
10945 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10946 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10947 esac
10951 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10952 then
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10954 $as_echo_n "checking for -lXrender... " >&6; }
10955 if ${ac_cv_lib_soname_Xrender+:} false; then :
10956 $as_echo_n "(cached) " >&6
10957 else
10958 ac_check_soname_save_LIBS=$LIBS
10959 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char XRenderQueryExtension ();
10971 main ()
10973 return XRenderQueryExtension ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 case "$LIBEXT" in
10980 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10981 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'` ;;
10982 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10983 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10984 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10985 fi ;;
10986 esac
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_soname_save_LIBS
10992 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10994 $as_echo "not found" >&6; }
10996 else
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10998 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11000 cat >>confdefs.h <<_ACEOF
11001 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11002 _ACEOF
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11005 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11006 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11007 $as_echo_n "(cached) " >&6
11008 else
11009 ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11017 #ifdef __cplusplus
11018 extern "C"
11019 #endif
11020 char XRenderSetPictureTransform ();
11022 main ()
11024 return XRenderSetPictureTransform ();
11026 return 0;
11028 _ACEOF
11029 if ac_fn_c_try_link "$LINENO"; then :
11030 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11031 else
11032 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11034 rm -f core conftest.err conftest.$ac_objext \
11035 conftest$ac_exeext conftest.$ac_ext
11036 LIBS=$ac_check_lib_save_LIBS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11039 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11040 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11042 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11047 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11048 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11049 $as_echo_n "(cached) " >&6
11050 else
11051 ac_check_lib_save_LIBS=$LIBS
11052 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 char XRenderCreateLinearGradient ();
11064 main ()
11066 return XRenderCreateLinearGradient ();
11068 return 0;
11070 _ACEOF
11071 if ac_fn_c_try_link "$LINENO"; then :
11072 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11073 else
11074 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11076 rm -f core conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11081 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11082 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11084 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11091 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11092 case "x$with_xrender" in
11093 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11094 xno) ;;
11095 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11096 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11097 esac
11101 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11102 then
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11105 #include <X11/Xlib.h>
11106 #include <X11/extensions/Xrandr.h>
11108 main ()
11110 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_compile "$LINENO"; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11117 $as_echo_n "checking for -lXrandr... " >&6; }
11118 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11119 $as_echo_n "(cached) " >&6
11120 else
11121 ac_check_soname_save_LIBS=$LIBS
11122 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char XRRQueryExtension ();
11134 main ()
11136 return XRRQueryExtension ();
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 case "$LIBEXT" in
11143 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11144 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'` ;;
11145 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11146 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11147 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11148 fi ;;
11149 esac
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_soname_save_LIBS
11155 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11157 $as_echo "not found" >&6; }
11159 else
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11161 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11163 cat >>confdefs.h <<_ACEOF
11164 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11165 _ACEOF
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 #include <X11/Xlib.h>
11170 #include <X11/extensions/Xrandr.h>
11172 main ()
11174 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_compile "$LINENO"; then :
11181 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11189 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11190 case "x$with_xrandr" in
11191 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11192 xno) ;;
11193 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11194 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11195 esac
11199 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11200 then
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203 #include <X11/Xlib.h>
11204 #include <X11/extensions/Xfixes.h>
11206 main ()
11208 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11210 return 0;
11212 _ACEOF
11213 if ac_fn_c_try_compile "$LINENO"; then :
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11215 $as_echo_n "checking for -lXfixes... " >&6; }
11216 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11217 $as_echo_n "(cached) " >&6
11218 else
11219 ac_check_soname_save_LIBS=$LIBS
11220 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11227 #ifdef __cplusplus
11228 extern "C"
11229 #endif
11230 char XFixesQueryVersion ();
11232 main ()
11234 return XFixesQueryVersion ();
11236 return 0;
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"; then :
11240 case "$LIBEXT" in
11241 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11242 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'` ;;
11243 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11244 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11245 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11246 fi ;;
11247 esac
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_soname_save_LIBS
11253 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11255 $as_echo "not found" >&6; }
11257 else
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11259 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11261 cat >>confdefs.h <<_ACEOF
11262 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11263 _ACEOF
11268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11270 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11271 case "x$with_xfixes" in
11272 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11273 xno) ;;
11274 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11275 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11276 esac
11280 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11281 then
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11284 #include <X11/Xlib.h>
11285 #include <X11/extensions/Xinerama.h>
11287 main ()
11289 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_compile "$LINENO"; then :
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11296 $as_echo_n "checking for -lXinerama... " >&6; }
11297 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11298 $as_echo_n "(cached) " >&6
11299 else
11300 ac_check_soname_save_LIBS=$LIBS
11301 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char XineramaQueryScreens ();
11313 main ()
11315 return XineramaQueryScreens ();
11317 return 0;
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 case "$LIBEXT" in
11322 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11323 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'` ;;
11324 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11325 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11326 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11327 fi ;;
11328 esac
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_soname_save_LIBS
11334 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11336 $as_echo "not found" >&6; }
11338 else
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11340 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11342 cat >>confdefs.h <<_ACEOF
11343 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11344 _ACEOF
11349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11351 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11352 case "x$with_xinerama" in
11353 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11354 xno) ;;
11355 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11356 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11357 esac
11361 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11362 then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11364 $as_echo_n "checking for -lXcomposite... " >&6; }
11365 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11366 $as_echo_n "(cached) " >&6
11367 else
11368 ac_check_soname_save_LIBS=$LIBS
11369 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char XCompositeRedirectWindow ();
11381 main ()
11383 return XCompositeRedirectWindow ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 case "$LIBEXT" in
11390 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11391 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'` ;;
11392 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11393 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11394 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11395 fi ;;
11396 esac
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_soname_save_LIBS
11402 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11404 $as_echo "not found" >&6; }
11406 else
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11408 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11410 cat >>confdefs.h <<_ACEOF
11411 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11412 _ACEOF
11417 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11418 case "x$with_xcomposite" in
11419 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11420 xno) ;;
11421 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11422 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11423 esac
11427 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11428 #include <X11/Xlib.h>
11429 #endif
11431 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11433 cat >>confdefs.h <<_ACEOF
11434 #define HAVE_XICCALLBACK_CALLBACK 1
11435 _ACEOF
11439 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11440 #include <X11/Xlib.h>
11441 #endif
11443 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11445 cat >>confdefs.h <<_ACEOF
11446 #define HAVE_XEVENT_XCOOKIE 1
11447 _ACEOF
11454 opengl_msg=""
11455 if test "x$with_opengl" != "xno"
11456 then
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11458 $as_echo_n "checking for -lGL... " >&6; }
11459 if ${ac_cv_lib_soname_GL+:} false; then :
11460 $as_echo_n "(cached) " >&6
11461 else
11462 ac_check_soname_save_LIBS=$LIBS
11463 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11470 #ifdef __cplusplus
11471 extern "C"
11472 #endif
11473 char glXCreateContext ();
11475 main ()
11477 return glXCreateContext ();
11479 return 0;
11481 _ACEOF
11482 if ac_fn_c_try_link "$LINENO"; then :
11483 case "$LIBEXT" in
11484 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11485 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'` ;;
11486 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11487 if ${ac_cv_lib_soname_GL:+false} :; then :
11488 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11489 fi ;;
11490 esac
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_soname_save_LIBS
11496 if ${ac_cv_lib_soname_GL:+false} :; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11500 $as_echo_n "checking for -lGL... " >&6; }
11501 if ${ac_cv_lib_soname_GL+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 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"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char glXCreateContext ();
11517 main ()
11519 return glXCreateContext ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11529 if ${ac_cv_lib_soname_GL:+false} :; then :
11530 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_GL:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11541 if test -f /usr/X11R6/lib/libGL.a
11542 then
11543 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11544 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11545 else
11546 opengl_msg="No OpenGL library found on this system."
11548 else
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11550 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11552 cat >>confdefs.h <<_ACEOF
11553 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11554 _ACEOF
11556 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"
11558 else
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11560 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11562 cat >>confdefs.h <<_ACEOF
11563 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11564 _ACEOF
11566 OPENGL_LIBS="-lGL"
11568 if test "x$with_glu" != "xno"
11569 then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11571 $as_echo_n "checking for -lGLU... " >&6; }
11572 if ${ac_cv_lib_soname_GLU+:} false; then :
11573 $as_echo_n "(cached) " >&6
11574 else
11575 ac_check_soname_save_LIBS=$LIBS
11576 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 char gluLookAt ();
11588 main ()
11590 return gluLookAt ();
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"; then :
11596 case "$LIBEXT" in
11597 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11598 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'` ;;
11599 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11600 if ${ac_cv_lib_soname_GLU:+false} :; then :
11601 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 fi ;;
11603 esac
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_soname_save_LIBS
11609 if ${ac_cv_lib_soname_GLU:+false} :; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11613 else
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11615 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11617 cat >>confdefs.h <<_ACEOF
11618 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11619 _ACEOF
11623 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11624 case "x$with_glu" in
11625 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11626 xno) ;;
11627 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11628 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11629 esac
11634 if test "x$with_osmesa" != "xno"
11635 then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11637 $as_echo_n "checking for -lOSMesa... " >&6; }
11638 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 ac_check_soname_save_LIBS=$LIBS
11642 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char OSMesaGetProcAddress ();
11654 main ()
11656 return OSMesaGetProcAddress ();
11658 return 0;
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 case "$LIBEXT" in
11663 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11664 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'` ;;
11665 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11666 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11667 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11668 fi ;;
11669 esac
11671 rm -f core conftest.err conftest.$ac_objext \
11672 conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_soname_save_LIBS
11675 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11677 $as_echo "not found" >&6; }
11679 else
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11681 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11683 cat >>confdefs.h <<_ACEOF
11684 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11685 _ACEOF
11689 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11690 case "x$with_osmesa" in
11691 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11692 xno) ;;
11693 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11694 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11695 esac
11700 if test -n "$opengl_msg"; then :
11701 case "x$with_opengl" in
11702 x) as_fn_append wine_warnings "|$opengl_msg
11703 OpenGL and Direct3D won't be supported." ;;
11704 xno) ;;
11705 *) as_fn_error $? "$opengl_msg
11706 OpenGL and Direct3D won't be supported.
11707 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11708 esac
11712 CPPFLAGS="$ac_save_CPPFLAGS"
11713 else
11714 X_CFLAGS=""
11715 X_LIBS=""
11718 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11719 then
11720 if test "x$X_LIBS" = "x"; then :
11721 case "x$with_x" in
11722 xno) ;;
11723 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11724 without X support, which probably isn't what you want. You will need
11725 to install ${notice_platform}development packages of Xlib at the very least.
11726 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11727 esac
11728 enable_winex11_drv=${enable_winex11_drv:-no}
11730 else
11731 if test "x$X_LIBS" = "x"; then :
11732 case "x$with_x" in
11733 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11734 xno) ;;
11735 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11736 This is an error since --with-x was requested." "$LINENO" 5 ;;
11737 esac
11738 enable_winex11_drv=${enable_winex11_drv:-no}
11742 if test "$ac_cv_header_CL_cl_h" = "yes"
11743 then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11745 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11746 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-lOpenCL $LIBS"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11754 /* Override any GCC internal prototype to avoid an error.
11755 Use char because int might match the return type of a GCC
11756 builtin and then its argument prototype would still apply. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 char clGetPlatformInfo ();
11762 main ()
11764 return clGetPlatformInfo ();
11766 return 0;
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11771 else
11772 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_lib_save_LIBS
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11779 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11780 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11781 OPENCL_LIBS="-lOpenCL"
11786 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11787 case "x$with_opencl" in
11788 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11789 xno) ;;
11790 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11791 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11792 esac
11793 enable_opencl=${enable_opencl:-no}
11796 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11797 then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11799 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11800 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11801 $as_echo_n "(cached) " >&6
11802 else
11803 ac_check_lib_save_LIBS=$LIBS
11804 LIBS="-lpcap $LIBS"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char pcap_create ();
11816 main ()
11818 return pcap_create ();
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 ac_cv_lib_pcap_pcap_create=yes
11825 else
11826 ac_cv_lib_pcap_pcap_create=no
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_lib_save_LIBS
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11833 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11834 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11835 PCAP_LIBS="-lpcap"
11840 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11841 case "x$with_pcap" in
11842 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11843 xno) ;;
11844 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11845 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11846 esac
11847 enable_wpcap=${enable_wpcap:-no}
11851 if test "x$with_xml" != "xno"
11852 then
11853 if ${XML2_CFLAGS:+false} :; then :
11854 if ${PKG_CONFIG+:} false; then :
11855 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11858 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11859 if ${XML2_LIBS:+false} :; then :
11860 if ${PKG_CONFIG+:} false; then :
11861 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11864 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11865 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11866 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11867 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11868 ac_save_CPPFLAGS=$CPPFLAGS
11869 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11870 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11871 do :
11872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11873 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11875 cat >>confdefs.h <<_ACEOF
11876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11877 _ACEOF
11881 done
11883 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"
11884 then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11886 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11887 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_lib_save_LIBS=$LIBS
11891 LIBS="-lxml2 $XML2_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char xmlParseMemory ();
11903 main ()
11905 return xmlParseMemory ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 ac_cv_lib_xml2_xmlParseMemory=yes
11912 else
11913 ac_cv_lib_xml2_xmlParseMemory=no
11915 rm -f core conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11920 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11921 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11923 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11925 else
11926 XML2_LIBS=""
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11930 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11931 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 ac_check_lib_save_LIBS=$LIBS
11935 LIBS="-lxml2 $XML2_LIBS $LIBS"
11936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11939 /* Override any GCC internal prototype to avoid an error.
11940 Use char because int might match the return type of a GCC
11941 builtin and then its argument prototype would still apply. */
11942 #ifdef __cplusplus
11943 extern "C"
11944 #endif
11945 char xmlReadMemory ();
11947 main ()
11949 return xmlReadMemory ();
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_link "$LINENO"; then :
11955 ac_cv_lib_xml2_xmlReadMemory=yes
11956 else
11957 ac_cv_lib_xml2_xmlReadMemory=no
11959 rm -f core conftest.err conftest.$ac_objext \
11960 conftest$ac_exeext conftest.$ac_ext
11961 LIBS=$ac_check_lib_save_LIBS
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11964 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11965 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11967 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11972 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11973 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_lib_save_LIBS=$LIBS
11977 LIBS="-lxml2 $XML2_LIBS $LIBS"
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11981 /* Override any GCC internal prototype to avoid an error.
11982 Use char because int might match the return type of a GCC
11983 builtin and then its argument prototype would still apply. */
11984 #ifdef __cplusplus
11985 extern "C"
11986 #endif
11987 char xmlNewDocPI ();
11989 main ()
11991 return xmlNewDocPI ();
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_link "$LINENO"; then :
11997 ac_cv_lib_xml2_xmlNewDocPI=yes
11998 else
11999 ac_cv_lib_xml2_xmlNewDocPI=no
12001 rm -f core conftest.err conftest.$ac_objext \
12002 conftest$ac_exeext conftest.$ac_ext
12003 LIBS=$ac_check_lib_save_LIBS
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12006 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12007 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12009 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12014 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12015 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12016 $as_echo_n "(cached) " >&6
12017 else
12018 ac_check_lib_save_LIBS=$LIBS
12019 LIBS="-lxml2 $XML2_LIBS $LIBS"
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12026 #ifdef __cplusplus
12027 extern "C"
12028 #endif
12029 char xmlSchemaSetParserStructuredErrors ();
12031 main ()
12033 return xmlSchemaSetParserStructuredErrors ();
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_link "$LINENO"; then :
12039 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12040 else
12041 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12048 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12049 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12051 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12056 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12057 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-lxml2 $XML2_LIBS $LIBS"
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 char xmlSchemaSetValidStructuredErrors ();
12073 main ()
12075 return xmlSchemaSetValidStructuredErrors ();
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_link "$LINENO"; then :
12081 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12082 else
12083 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_lib_save_LIBS
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12090 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12091 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12093 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12098 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12099 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lxml2 $XML2_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char xmlFirstElementChild ();
12115 main ()
12117 return xmlFirstElementChild ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 ac_cv_lib_xml2_xmlFirstElementChild=yes
12124 else
12125 ac_cv_lib_xml2_xmlFirstElementChild=no
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12132 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12133 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12135 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12139 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12141 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12143 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12147 else
12148 XML2_CFLAGS=""
12149 XML2_LIBS=""
12151 CPPFLAGS=$ac_save_CPPFLAGS
12152 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12153 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12156 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12157 case "x$with_xml" in
12158 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12159 xno) ;;
12160 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12161 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12162 esac
12166 if test "x$with_xslt" != "xno"
12167 then
12168 if ${XSLT_CFLAGS:+false} :; then :
12169 if ${PKG_CONFIG+:} false; then :
12170 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12173 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12174 if ${XSLT_LIBS:+false} :; then :
12175 if ${PKG_CONFIG+:} false; then :
12176 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12179 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12180 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12181 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12182 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12183 ac_save_CPPFLAGS=$CPPFLAGS
12184 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12185 for ac_header in libxslt/pattern.h libxslt/transform.h
12186 do :
12187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12189 # include <libxslt/pattern.h>
12190 #endif
12192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12193 cat >>confdefs.h <<_ACEOF
12194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12195 _ACEOF
12199 done
12201 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12202 then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12204 $as_echo_n "checking for -lxslt... " >&6; }
12205 if ${ac_cv_lib_soname_xslt+:} false; then :
12206 $as_echo_n "(cached) " >&6
12207 else
12208 ac_check_soname_save_LIBS=$LIBS
12209 LIBS="-lxslt $XSLT_LIBS $LIBS"
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12213 /* Override any GCC internal prototype to avoid an error.
12214 Use char because int might match the return type of a GCC
12215 builtin and then its argument prototype would still apply. */
12216 #ifdef __cplusplus
12217 extern "C"
12218 #endif
12219 char xsltCompilePattern ();
12221 main ()
12223 return xsltCompilePattern ();
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_link "$LINENO"; then :
12229 case "$LIBEXT" in
12230 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12231 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'` ;;
12232 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12233 if ${ac_cv_lib_soname_xslt:+false} :; then :
12234 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12235 fi ;;
12236 esac
12238 rm -f core conftest.err conftest.$ac_objext \
12239 conftest$ac_exeext conftest.$ac_ext
12240 LIBS=$ac_check_soname_save_LIBS
12242 if ${ac_cv_lib_soname_xslt:+false} :; then :
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12244 $as_echo "not found" >&6; }
12246 else
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12248 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12250 cat >>confdefs.h <<_ACEOF
12251 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12252 _ACEOF
12256 else
12257 XSLT_CFLAGS=""
12259 CPPFLAGS=$ac_save_CPPFLAGS
12260 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12261 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12264 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12265 case "x$with_xslt" in
12266 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12267 xno) ;;
12268 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12269 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12270 esac
12274 if test "x$with_dbus" != "xno"
12275 then
12276 if ${DBUS_CFLAGS:+false} :; then :
12277 if ${PKG_CONFIG+:} false; then :
12278 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12282 if ${DBUS_LIBS:+false} :; then :
12283 if ${PKG_CONFIG+:} false; then :
12284 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12289 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12290 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12291 ac_save_CPPFLAGS=$CPPFLAGS
12292 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12293 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12294 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12296 $as_echo_n "checking for -ldbus-1... " >&6; }
12297 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12298 $as_echo_n "(cached) " >&6
12299 else
12300 ac_check_soname_save_LIBS=$LIBS
12301 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12308 #ifdef __cplusplus
12309 extern "C"
12310 #endif
12311 char dbus_connection_close ();
12313 main ()
12315 return dbus_connection_close ();
12317 return 0;
12319 _ACEOF
12320 if ac_fn_c_try_link "$LINENO"; then :
12321 case "$LIBEXT" in
12322 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12323 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'` ;;
12324 *) 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'`
12325 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12326 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12327 fi ;;
12328 esac
12330 rm -f core conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12332 LIBS=$ac_check_soname_save_LIBS
12334 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12336 $as_echo "not found" >&6; }
12337 DBUS_CFLAGS=""
12338 else
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12340 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12342 cat >>confdefs.h <<_ACEOF
12343 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12344 _ACEOF
12348 else
12349 DBUS_CFLAGS=""
12353 CPPFLAGS=$ac_save_CPPFLAGS
12354 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12355 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12358 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12359 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12360 case "x$with_dbus" in
12361 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12362 xno) ;;
12363 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12364 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12365 esac
12369 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12370 then
12371 if ${HAL_CFLAGS:+false} :; then :
12372 if ${PKG_CONFIG+:} false; then :
12373 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12377 if ${HAL_LIBS:+false} :; then :
12378 if ${PKG_CONFIG+:} false; then :
12379 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12383 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12384 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12385 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12386 ac_save_CPPFLAGS=$CPPFLAGS
12387 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12388 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12389 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12391 $as_echo_n "checking for -lhal... " >&6; }
12392 if ${ac_cv_lib_soname_hal+:} false; then :
12393 $as_echo_n "(cached) " >&6
12394 else
12395 ac_check_soname_save_LIBS=$LIBS
12396 LIBS="-lhal $HAL_LIBS $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char libhal_ctx_new ();
12408 main ()
12410 return libhal_ctx_new ();
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_link "$LINENO"; then :
12416 case "$LIBEXT" in
12417 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12418 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'` ;;
12419 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12420 if ${ac_cv_lib_soname_hal:+false} :; then :
12421 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12422 fi ;;
12423 esac
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_soname_save_LIBS
12429 if ${ac_cv_lib_soname_hal:+false} :; then :
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12431 $as_echo "not found" >&6; }
12432 HAL_CFLAGS=""
12433 else
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12435 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12437 cat >>confdefs.h <<_ACEOF
12438 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12439 _ACEOF
12443 else
12444 HAL_CFLAGS=""
12448 CPPFLAGS=$ac_save_CPPFLAGS
12449 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12450 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12452 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12453 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12454 case "x$with_hal" in
12455 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12456 xno) ;;
12457 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12458 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12459 esac
12464 if test "x$with_gnutls" != "xno"
12465 then
12466 if ${GNUTLS_CFLAGS:+false} :; then :
12467 if ${PKG_CONFIG+:} false; then :
12468 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12472 if ${GNUTLS_LIBS:+false} :; then :
12473 if ${PKG_CONFIG+:} false; then :
12474 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12479 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12480 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12481 ac_save_CPPFLAGS=$CPPFLAGS
12482 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12483 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12484 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12487 #include <gnutls/gnutls.h>
12488 #include <gnutls/crypto.h>
12490 main ()
12492 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_compile "$LINENO"; then :
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12499 $as_echo_n "checking for -lgnutls... " >&6; }
12500 if ${ac_cv_lib_soname_gnutls+:} false; then :
12501 $as_echo_n "(cached) " >&6
12502 else
12503 ac_check_soname_save_LIBS=$LIBS
12504 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12511 #ifdef __cplusplus
12512 extern "C"
12513 #endif
12514 char gnutls_global_init ();
12516 main ()
12518 return gnutls_global_init ();
12520 return 0;
12522 _ACEOF
12523 if ac_fn_c_try_link "$LINENO"; then :
12524 case "$LIBEXT" in
12525 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12526 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'` ;;
12527 *) 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'`
12528 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12529 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'`
12530 fi ;;
12531 esac
12533 rm -f core conftest.err conftest.$ac_objext \
12534 conftest$ac_exeext conftest.$ac_ext
12535 LIBS=$ac_check_soname_save_LIBS
12537 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12539 $as_echo "not found" >&6; }
12540 GNUTLS_CFLAGS=""
12541 else
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12543 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12547 _ACEOF
12551 ac_wine_check_funcs_save_LIBS="$LIBS"
12552 LIBS="$LIBS $GNUTLS_LIBS"
12553 for ac_func in gnutls_cipher_init
12554 do :
12555 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12556 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12557 cat >>confdefs.h <<_ACEOF
12558 #define HAVE_GNUTLS_CIPHER_INIT 1
12559 _ACEOF
12561 else
12562 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12564 done
12566 LIBS="$ac_wine_check_funcs_save_LIBS"
12568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12569 else
12570 GNUTLS_CFLAGS=""
12574 CPPFLAGS=$ac_save_CPPFLAGS
12575 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12576 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12579 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12580 case "x$with_gnutls" in
12581 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12582 xno) ;;
12583 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12584 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12585 esac
12589 CURSES_LIBS=""
12590 if test "$ac_cv_header_ncurses_h" = "yes"
12591 then
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12593 $as_echo_n "checking for -lncurses... " >&6; }
12594 if ${ac_cv_lib_soname_ncurses+:} false; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 ac_check_soname_save_LIBS=$LIBS
12598 LIBS="-lncurses $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 #ifdef __cplusplus
12606 extern "C"
12607 #endif
12608 char waddch ();
12610 main ()
12612 return waddch ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"; then :
12618 case "$LIBEXT" in
12619 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12620 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'` ;;
12621 *) 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'`
12622 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12623 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12624 fi ;;
12625 esac
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_soname_save_LIBS
12631 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12633 $as_echo "not found" >&6; }
12635 else
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12637 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12639 cat >>confdefs.h <<_ACEOF
12640 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12641 _ACEOF
12643 CURSES_LIBS="-lncurses"
12645 elif test "$ac_cv_header_curses_h" = "yes"
12646 then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12648 $as_echo_n "checking for -lcurses... " >&6; }
12649 if ${ac_cv_lib_soname_curses+:} false; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 ac_check_soname_save_LIBS=$LIBS
12653 LIBS="-lcurses $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 #ifdef __cplusplus
12661 extern "C"
12662 #endif
12663 char waddch ();
12665 main ()
12667 return waddch ();
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 case "$LIBEXT" in
12674 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12675 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'` ;;
12676 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12677 if ${ac_cv_lib_soname_curses:+false} :; then :
12678 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12679 fi ;;
12680 esac
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_soname_save_LIBS
12686 if ${ac_cv_lib_soname_curses:+false} :; then :
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12688 $as_echo "not found" >&6; }
12690 else
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12692 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12694 cat >>confdefs.h <<_ACEOF
12695 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12696 _ACEOF
12698 CURSES_LIBS="-lcurses"
12701 ac_save_LIBS="$LIBS"
12702 LIBS="$LIBS $CURSES_LIBS"
12703 for ac_func in mousemask
12704 do :
12705 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12706 if test "x$ac_cv_func_mousemask" = xyes; then :
12707 cat >>confdefs.h <<_ACEOF
12708 #define HAVE_MOUSEMASK 1
12709 _ACEOF
12712 done
12714 LIBS="$ac_save_LIBS"
12715 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12716 case "x$with_curses" in
12717 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12718 xno) ;;
12719 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12720 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12721 esac
12725 if test "x$with_sane" != "xno"
12726 then
12727 if ${SANE_CFLAGS:+false} :; then :
12728 if ${PKG_CONFIG+:} false; then :
12729 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12732 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12733 if ${SANE_LIBS:+false} :; then :
12734 if ${PKG_CONFIG+:} false; then :
12735 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12738 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12740 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12741 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12742 ac_save_CPPFLAGS=$CPPFLAGS
12743 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12744 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12745 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12747 $as_echo_n "checking for -lsane... " >&6; }
12748 if ${ac_cv_lib_soname_sane+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 ac_check_soname_save_LIBS=$LIBS
12752 LIBS="-lsane $SANE_LIBS $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char sane_init ();
12764 main ()
12766 return sane_init ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 case "$LIBEXT" in
12773 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12774 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'` ;;
12775 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12776 if ${ac_cv_lib_soname_sane:+false} :; then :
12777 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12778 fi ;;
12779 esac
12781 rm -f core conftest.err conftest.$ac_objext \
12782 conftest$ac_exeext conftest.$ac_ext
12783 LIBS=$ac_check_soname_save_LIBS
12785 if ${ac_cv_lib_soname_sane:+false} :; then :
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12787 $as_echo "not found" >&6; }
12788 SANE_CFLAGS=""
12789 else
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12791 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12793 cat >>confdefs.h <<_ACEOF
12794 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12795 _ACEOF
12799 else
12800 SANE_CFLAGS=""
12804 CPPFLAGS=$ac_save_CPPFLAGS
12805 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12806 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12809 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12810 case "x$with_sane" in
12811 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12812 xno) ;;
12813 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12814 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12815 esac
12819 if test "x$with_v4l" != "xno"
12820 then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12822 $as_echo_n "checking for -lv4l1... " >&6; }
12823 if ${ac_cv_lib_soname_v4l1+:} false; then :
12824 $as_echo_n "(cached) " >&6
12825 else
12826 ac_check_soname_save_LIBS=$LIBS
12827 LIBS="-lv4l1 $LIBS"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 #ifdef __cplusplus
12835 extern "C"
12836 #endif
12837 char v4l1_open ();
12839 main ()
12841 return v4l1_open ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"; then :
12847 case "$LIBEXT" in
12848 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12849 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'` ;;
12850 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12851 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12852 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12853 fi ;;
12854 esac
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_soname_save_LIBS
12860 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12862 $as_echo "not found" >&6; }
12864 else
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12866 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12868 cat >>confdefs.h <<_ACEOF
12869 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12870 _ACEOF
12875 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12876 case "x$with_v4l" in
12877 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12878 xno) ;;
12879 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12880 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12881 esac
12885 if test "x$with_gphoto" != "xno"
12886 then
12887 if ${GPHOTO2_CFLAGS:+false} :; then :
12888 if ${PKG_CONFIG+:} false; then :
12889 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12892 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12893 if ${GPHOTO2_LIBS:+false} :; then :
12894 if ${PKG_CONFIG+:} false; then :
12895 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12898 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12899 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12900 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12904 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12905 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12907 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12908 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12909 $as_echo_n "(cached) " >&6
12910 else
12911 ac_check_lib_save_LIBS=$LIBS
12912 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 #ifdef __cplusplus
12920 extern "C"
12921 #endif
12922 char gp_camera_new ();
12924 main ()
12926 return gp_camera_new ();
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_link "$LINENO"; then :
12932 ac_cv_lib_gphoto2_gp_camera_new=yes
12933 else
12934 ac_cv_lib_gphoto2_gp_camera_new=no
12936 rm -f core conftest.err conftest.$ac_objext \
12937 conftest$ac_exeext conftest.$ac_ext
12938 LIBS=$ac_check_lib_save_LIBS
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12941 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12942 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12944 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12946 else
12947 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12950 else
12951 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12955 CPPFLAGS=$ac_save_CPPFLAGS
12956 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12957 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12959 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12964 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12965 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12966 if ${PKG_CONFIG+:} false; then :
12967 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12970 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12971 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12972 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12973 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12974 ac_save_CPPFLAGS=$CPPFLAGS
12975 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12976 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12977 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12979 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12980 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char gp_port_info_list_new ();
12996 main ()
12998 return gp_port_info_list_new ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13005 else
13006 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13013 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13014 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13016 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13018 else
13019 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13022 else
13023 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13027 CPPFLAGS=$ac_save_CPPFLAGS
13028 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13029 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13032 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13033 case "x$with_gphoto" in
13034 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13035 xno) ;;
13036 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13037 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13038 esac
13041 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13042 case "x$with_gphoto" in
13043 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13044 xno) ;;
13045 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13046 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13047 esac
13052 if test "$ac_cv_header_resolv_h" = "yes"
13053 then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13055 $as_echo_n "checking for resolver library... " >&6; }
13056 if ${ac_cv_have_resolv+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_save_LIBS="$LIBS"
13060 for lib in '' -lresolv
13062 LIBS="$lib $ac_save_LIBS"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13065 #ifdef HAVE_NETINET_IN_H
13066 #include <netinet/in.h>
13067 #endif
13068 #include <resolv.h>
13070 main ()
13072 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_link "$LINENO"; then :
13078 ac_cv_have_resolv=${lib:-"none required"}
13079 else
13080 ac_cv_have_resolv="not found"
13082 rm -f core conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13084 test "x$ac_cv_have_resolv" = "xnot found" || break
13085 done
13086 LIBS="$ac_save_LIBS"
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13089 $as_echo "$ac_cv_have_resolv" >&6; }
13091 case "$ac_cv_have_resolv" in
13092 "not found") ;;
13093 "none required")
13095 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13098 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13100 RESOLV_LIBS=$ac_cv_have_resolv
13102 esac
13105 if test "x$with_cms" != "xno"
13106 then
13107 if ${LCMS2_CFLAGS:+false} :; then :
13108 if ${PKG_CONFIG+:} false; then :
13109 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13113 if ${LCMS2_LIBS:+false} :; then :
13114 if ${PKG_CONFIG+:} false; then :
13115 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13119 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13120 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13121 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13122 ac_save_CPPFLAGS=$CPPFLAGS
13123 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13124 for ac_header in lcms2.h
13125 do :
13126 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13127 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13128 cat >>confdefs.h <<_ACEOF
13129 #define HAVE_LCMS2_H 1
13130 _ACEOF
13134 done
13136 if test "$ac_cv_header_lcms2_h" = "yes"
13137 then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13139 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13140 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_check_lib_save_LIBS=$LIBS
13144 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char cmsOpenProfileFromFile ();
13156 main ()
13158 return cmsOpenProfileFromFile ();
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13165 else
13166 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_lib_save_LIBS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13173 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13174 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13176 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13178 else
13179 LCMS2_LIBS=""
13182 else
13183 LCMS2_CFLAGS=""
13184 LCMS2_LIBS=""
13186 CPPFLAGS=$ac_save_CPPFLAGS
13187 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13188 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13191 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13192 case "x$with_cms" in
13193 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13194 xno) ;;
13195 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13196 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13197 esac
13201 if test "x$with_freetype" != "xno"
13202 then
13203 if ${FREETYPE_CFLAGS:+false} :; then :
13204 if ${PKG_CONFIG+:} false; then :
13205 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13208 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13209 if ${FREETYPE_LIBS:+false} :; then :
13210 if ${PKG_CONFIG+:} false; then :
13211 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13214 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13215 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13216 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13217 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13218 ac_save_CPPFLAGS=$CPPFLAGS
13219 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13220 for ac_header in ft2build.h
13221 do :
13222 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13223 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13224 cat >>confdefs.h <<_ACEOF
13225 #define HAVE_FT2BUILD_H 1
13226 _ACEOF
13230 done
13232 if test "$ac_cv_header_ft2build_h" = "yes"
13233 then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13235 $as_echo_n "checking for -lfreetype... " >&6; }
13236 if ${ac_cv_lib_soname_freetype+:} false; then :
13237 $as_echo_n "(cached) " >&6
13238 else
13239 ac_check_soname_save_LIBS=$LIBS
13240 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13247 #ifdef __cplusplus
13248 extern "C"
13249 #endif
13250 char FT_Init_FreeType ();
13252 main ()
13254 return FT_Init_FreeType ();
13256 return 0;
13258 _ACEOF
13259 if ac_fn_c_try_link "$LINENO"; then :
13260 case "$LIBEXT" in
13261 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13262 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'` ;;
13263 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13264 if ${ac_cv_lib_soname_freetype:+false} :; then :
13265 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13266 fi ;;
13267 esac
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13271 LIBS=$ac_check_soname_save_LIBS
13273 if ${ac_cv_lib_soname_freetype:+false} :; then :
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13275 $as_echo "not found" >&6; }
13276 FREETYPE_LIBS=""
13277 else
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13279 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13281 cat >>confdefs.h <<_ACEOF
13282 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13283 _ACEOF
13286 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13288 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13289 #include FT_MODULE_H
13291 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13293 cat >>confdefs.h <<_ACEOF
13294 #define HAVE_FT_TRUETYPEENGINETYPE 1
13295 _ACEOF
13301 else
13302 FREETYPE_CFLAGS=""
13303 FREETYPE_LIBS=""
13305 CPPFLAGS=$ac_save_CPPFLAGS
13306 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13307 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13310 if test "x$ac_cv_lib_soname_freetype" = x; then :
13311 case "x$with_freetype" in
13312 xno) ;;
13313 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13314 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13315 esac
13316 enable_fonts=${enable_fonts:-no}
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13320 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13321 if ${ac_cv_c_ppdev+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13326 #ifdef HAVE_SYS_IOCTL_H
13327 # include <sys/ioctl.h>
13328 #endif
13329 #include <linux/ppdev.h>
13331 main ()
13333 ioctl (1,PPCLAIM,0)
13335 return 0;
13337 _ACEOF
13338 if ac_fn_c_try_compile "$LINENO"; then :
13339 ac_cv_c_ppdev="yes"
13340 else
13341 ac_cv_c_ppdev="no"
13343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13346 $as_echo "$ac_cv_c_ppdev" >&6; }
13347 if test "$ac_cv_c_ppdev" = "yes"
13348 then
13350 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13354 ac_wine_check_funcs_save_LIBS="$LIBS"
13355 LIBS="$LIBS $PTHREAD_LIBS"
13356 for ac_func in \
13357 pthread_attr_get_np \
13358 pthread_getattr_np \
13359 pthread_getthreadid_np \
13360 pthread_get_stackaddr_np \
13361 pthread_get_stacksize_np
13362 do :
13363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13365 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13366 cat >>confdefs.h <<_ACEOF
13367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13368 _ACEOF
13371 done
13373 LIBS="$ac_wine_check_funcs_save_LIBS"
13375 if test "$ac_cv_header_zlib_h" = "yes"
13376 then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13378 $as_echo_n "checking for inflate in -lz... " >&6; }
13379 if ${ac_cv_lib_z_inflate+:} false; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 ac_check_lib_save_LIBS=$LIBS
13383 LIBS="-lz $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 #ifdef __cplusplus
13391 extern "C"
13392 #endif
13393 char inflate ();
13395 main ()
13397 return inflate ();
13399 return 0;
13401 _ACEOF
13402 if ac_fn_c_try_link "$LINENO"; then :
13403 ac_cv_lib_z_inflate=yes
13404 else
13405 ac_cv_lib_z_inflate=no
13407 rm -f core conftest.err conftest.$ac_objext \
13408 conftest$ac_exeext conftest.$ac_ext
13409 LIBS=$ac_check_lib_save_LIBS
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13412 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13413 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13415 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13417 Z_LIBS="-lz"
13422 if test "x$Z_LIBS" = "x"; then :
13423 case "x$with_zlib" in
13424 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13425 xno) ;;
13426 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13427 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13428 esac
13432 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13433 then
13434 if test "$ac_cv_header_gettext_po_h" = "yes"
13435 then
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13437 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13438 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13439 $as_echo_n "(cached) " >&6
13440 else
13441 ac_check_lib_save_LIBS=$LIBS
13442 LIBS="-lgettextpo $LIBS"
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13449 #ifdef __cplusplus
13450 extern "C"
13451 #endif
13452 char po_message_msgctxt ();
13454 main ()
13456 return po_message_msgctxt ();
13458 return 0;
13460 _ACEOF
13461 if ac_fn_c_try_link "$LINENO"; then :
13462 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13463 else
13464 ac_cv_lib_gettextpo_po_message_msgctxt=no
13466 rm -f core conftest.err conftest.$ac_objext \
13467 conftest$ac_exeext conftest.$ac_ext
13468 LIBS=$ac_check_lib_save_LIBS
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13471 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13472 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13474 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13476 GETTEXTPO_LIBS="-lgettextpo"
13481 if test "x$GETTEXTPO_LIBS" = "x"; then :
13482 case "x$with_gettextpo" in
13483 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13484 xno) ;;
13485 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13486 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13487 esac
13490 if test "$srcdir" != .; then :
13491 case "x$with_gettextpo" in
13492 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13493 xno) ;;
13494 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13495 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13496 esac
13501 if test "x$with_pulse" != "xno";
13502 then
13503 if ${PULSE_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13509 if ${PULSE_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13516 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13518 ac_save_CPPFLAGS=$CPPFLAGS
13519 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13520 for ac_header in pulse/pulseaudio.h
13521 do :
13522 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13523 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13524 cat >>confdefs.h <<_ACEOF
13525 #define HAVE_PULSE_PULSEAUDIO_H 1
13526 _ACEOF
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13528 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13529 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_lib_save_LIBS=$LIBS
13533 LIBS="-lpulse $PULSE_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char pa_stream_is_corked ();
13545 main ()
13547 return pa_stream_is_corked ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 ac_cv_lib_pulse_pa_stream_is_corked=yes
13554 else
13555 ac_cv_lib_pulse_pa_stream_is_corked=no
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_lib_save_LIBS
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13562 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13563 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13565 else
13566 PULSE_LIBS=""
13569 else
13570 PULSE_LIBS=""
13573 done
13575 CPPFLAGS=$ac_save_CPPFLAGS
13576 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13577 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13580 if test -z "$PULSE_LIBS"; then :
13581 case "x$with_pulse" in
13582 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13583 xno) ;;
13584 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13585 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13586 esac
13587 enable_winepulse_drv=${enable_winepulse_drv:-no}
13590 if test "x$with_gstreamer" != "xno"
13591 then
13592 if ${GSTREAMER_CFLAGS:+false} :; then :
13593 if ${PKG_CONFIG+:} false; then :
13594 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13598 if ${GSTREAMER_LIBS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13605 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13606 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13607 ac_save_CPPFLAGS=$CPPFLAGS
13608 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13609 ac_gst_incl=""
13610 for i in $GSTREAMER_CFLAGS
13612 case "$i" in
13613 -I*) ac_gst_incl="$ac_gst_incl $i";;
13614 esac
13615 done
13616 GSTREAMER_CFLAGS=$ac_gst_incl
13617 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13618 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13619 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13621 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #include <gst/gst.h>
13626 main ()
13628 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13630 return 0;
13632 _ACEOF
13633 if ac_fn_c_try_compile "$LINENO"; then :
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13635 $as_echo "yes" >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13637 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13638 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13639 $as_echo_n "(cached) " >&6
13640 else
13641 ac_check_lib_save_LIBS=$LIBS
13642 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char gst_pad_new ();
13654 main ()
13656 return gst_pad_new ();
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13663 else
13664 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_lib_save_LIBS
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13671 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13672 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13676 else
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13678 $as_echo "no" >&6; }
13679 ac_glib2_broken=yes
13680 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13686 CPPFLAGS=$ac_save_CPPFLAGS
13687 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13688 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13691 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 :
13692 case "x$with_gstreamer" in
13693 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13694 xno) ;;
13695 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13696 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13697 esac
13700 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13702 ALSA_LIBS=""
13704 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13705 then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13707 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13708 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13709 $as_echo_n "(cached) " >&6
13710 else
13711 ac_check_lib_save_LIBS=$LIBS
13712 LIBS="-lasound $LIBS"
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13716 /* Override any GCC internal prototype to avoid an error.
13717 Use char because int might match the return type of a GCC
13718 builtin and then its argument prototype would still apply. */
13719 #ifdef __cplusplus
13720 extern "C"
13721 #endif
13722 char snd_pcm_hw_params_get_access_mask ();
13724 main ()
13726 return snd_pcm_hw_params_get_access_mask ();
13728 return 0;
13730 _ACEOF
13731 if ac_fn_c_try_link "$LINENO"; then :
13732 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13733 else
13734 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13736 rm -f core conftest.err conftest.$ac_objext \
13737 conftest$ac_exeext conftest.$ac_ext
13738 LIBS=$ac_check_lib_save_LIBS
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13741 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13742 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 #ifdef HAVE_ALSA_ASOUNDLIB_H
13746 #include <alsa/asoundlib.h>
13747 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13748 #include <sys/asoundlib.h>
13749 #endif
13751 main ()
13753 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13755 return 0;
13757 _ACEOF
13758 if ac_fn_c_try_compile "$LINENO"; then :
13759 ALSA_LIBS="-lasound"
13761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13765 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13767 if test "x$with_oss" != xno
13768 then
13769 ac_save_CPPFLAGS="$CPPFLAGS"
13770 if test -f /etc/oss.conf
13771 then
13772 . /etc/oss.conf
13774 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13775 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13776 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13777 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13778 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13780 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13782 cat >>confdefs.h <<_ACEOF
13783 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13784 _ACEOF
13786 OSS4_CFLAGS="$ac_oss_incl"
13793 CPPFLAGS="$ac_save_CPPFLAGS"
13795 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13796 case "x$with_oss" in
13797 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13798 xno) ;;
13799 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13800 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13801 esac
13802 enable_wineoss_drv=${enable_wineoss_drv:-no}
13805 if test "x$with_udev" != "xno"
13806 then
13807 if ${UDEV_CFLAGS:+false} :; then :
13808 if ${PKG_CONFIG+:} false; then :
13809 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13813 if ${UDEV_LIBS:+false} :; then :
13814 if ${PKG_CONFIG+:} false; then :
13815 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13819 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13821 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13822 ac_save_CPPFLAGS=$CPPFLAGS
13823 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13824 for ac_header in libudev.h
13825 do :
13826 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13827 if test "x$ac_cv_header_libudev_h" = xyes; then :
13828 cat >>confdefs.h <<_ACEOF
13829 #define HAVE_LIBUDEV_H 1
13830 _ACEOF
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13832 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13833 if ${ac_cv_lib_udev_udev_new+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 ac_check_lib_save_LIBS=$LIBS
13837 LIBS="-ludev $UDEV_LIBS $LIBS"
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 #endif
13847 char udev_new ();
13849 main ()
13851 return udev_new ();
13853 return 0;
13855 _ACEOF
13856 if ac_fn_c_try_link "$LINENO"; then :
13857 ac_cv_lib_udev_udev_new=yes
13858 else
13859 ac_cv_lib_udev_udev_new=no
13861 rm -f core conftest.err conftest.$ac_objext \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_lib_save_LIBS
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13866 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13867 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13869 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13871 else
13872 UDEV_LIBS=""
13875 else
13876 UDEV_LIBS=""
13879 done
13881 CPPFLAGS=$ac_save_CPPFLAGS
13882 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13883 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13886 if test "x$UDEV_LIBS" = "x"; then :
13887 case "x$with_udev" in
13888 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13889 xno) ;;
13890 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13891 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13892 esac
13896 if test "x$with_sdl" != "xno"
13897 then
13898 if ${SDL2_CFLAGS:+false} :; then :
13899 if ${PKG_CONFIG+:} false; then :
13900 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13904 if ${SDL2_LIBS:+false} :; then :
13905 if ${PKG_CONFIG+:} false; then :
13906 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13910 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13911 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13912 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13913 ac_save_CPPFLAGS=$CPPFLAGS
13914 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13915 for ac_header in SDL2/SDL.h
13916 do :
13917 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13918 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13919 cat >>confdefs.h <<_ACEOF
13920 #define HAVE_SDL2_SDL_H 1
13921 _ACEOF
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13923 $as_echo_n "checking for -lSDL2... " >&6; }
13924 if ${ac_cv_lib_soname_SDL2+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_soname_save_LIBS=$LIBS
13928 LIBS="-lSDL2 $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char SDL_Init ();
13940 main ()
13942 return SDL_Init ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 case "$LIBEXT" in
13949 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13950 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'` ;;
13951 *) 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'`
13952 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13953 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13954 fi ;;
13955 esac
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_soname_save_LIBS
13961 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13963 $as_echo "not found" >&6; }
13965 else
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13967 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13969 cat >>confdefs.h <<_ACEOF
13970 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13971 _ACEOF
13977 done
13979 CPPFLAGS=$ac_save_CPPFLAGS
13980 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13981 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13984 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13985 case "x$with_sdl" in
13986 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13987 xno) ;;
13988 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13989 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13990 esac
13994 if test "x$with_capi" != "xno"
13995 then
13996 if ${CAPI20_CFLAGS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14002 if ${CAPI20_LIBS:+false} :; then :
14003 if ${PKG_CONFIG+:} false; then :
14004 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14009 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14010 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14011 ac_save_CPPFLAGS=$CPPFLAGS
14012 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14013 for ac_header in capi20.h linux/capi.h
14014 do :
14015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14016 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14019 cat >>confdefs.h <<_ACEOF
14020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14021 _ACEOF
14025 done
14027 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14028 then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14030 $as_echo_n "checking for -lcapi20... " >&6; }
14031 if ${ac_cv_lib_soname_capi20+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_check_soname_save_LIBS=$LIBS
14035 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 #ifdef __cplusplus
14043 extern "C"
14044 #endif
14045 char capi20_register ();
14047 main ()
14049 return capi20_register ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 case "$LIBEXT" in
14056 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14057 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'` ;;
14058 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14059 if ${ac_cv_lib_soname_capi20:+false} :; then :
14060 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14061 fi ;;
14062 esac
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_soname_save_LIBS
14068 if ${ac_cv_lib_soname_capi20:+false} :; then :
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14070 $as_echo "not found" >&6; }
14072 else
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14074 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14076 cat >>confdefs.h <<_ACEOF
14077 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14078 _ACEOF
14083 CPPFLAGS=$ac_save_CPPFLAGS
14084 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14085 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14088 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14089 case "x$with_capi" in
14090 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14091 xno) ;;
14092 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14093 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14094 esac
14098 if test "x$with_cups" != "xno"
14099 then
14100 if ${CUPS_CFLAGS:+false} :; then :
14101 if ${PKG_CONFIG+:} false; then :
14102 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14105 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14106 if ${CUPS_LIBS:+false} :; then :
14107 if ${PKG_CONFIG+:} false; then :
14108 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14111 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14112 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14113 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14114 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14115 ac_save_CPPFLAGS=$CPPFLAGS
14116 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14117 for ac_header in cups/cups.h cups/ppd.h
14118 do :
14119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14120 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14122 cat >>confdefs.h <<_ACEOF
14123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14124 _ACEOF
14128 done
14130 if test "$ac_cv_header_cups_cups_h" = "yes"
14131 then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14133 $as_echo_n "checking for -lcups... " >&6; }
14134 if ${ac_cv_lib_soname_cups+:} false; then :
14135 $as_echo_n "(cached) " >&6
14136 else
14137 ac_check_soname_save_LIBS=$LIBS
14138 LIBS="-lcups $CUPS_LIBS $LIBS"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14142 /* Override any GCC internal prototype to avoid an error.
14143 Use char because int might match the return type of a GCC
14144 builtin and then its argument prototype would still apply. */
14145 #ifdef __cplusplus
14146 extern "C"
14147 #endif
14148 char cupsGetDefault ();
14150 main ()
14152 return cupsGetDefault ();
14154 return 0;
14156 _ACEOF
14157 if ac_fn_c_try_link "$LINENO"; then :
14158 case "$LIBEXT" in
14159 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14160 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'` ;;
14161 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14162 if ${ac_cv_lib_soname_cups:+false} :; then :
14163 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14164 fi ;;
14165 esac
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS=$ac_check_soname_save_LIBS
14171 if ${ac_cv_lib_soname_cups:+false} :; then :
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14173 $as_echo "not found" >&6; }
14174 CUPS_LIBS=""
14175 else
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14177 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14179 cat >>confdefs.h <<_ACEOF
14180 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14181 _ACEOF
14185 else
14186 CUPS_CFLAGS=""
14187 CUPS_LIBS=""
14189 CPPFLAGS=$ac_save_CPPFLAGS
14190 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14191 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14194 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14195 case "x$with_cups" in
14196 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14197 xno) ;;
14198 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14199 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14200 esac
14204 if test "x$with_fontconfig" != "xno"
14205 then
14206 if ${FONTCONFIG_CFLAGS:+false} :; then :
14207 if ${PKG_CONFIG+:} false; then :
14208 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14211 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14212 if ${FONTCONFIG_LIBS:+false} :; then :
14213 if ${PKG_CONFIG+:} false; then :
14214 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14217 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14219 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14220 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14221 ac_save_CPPFLAGS=$CPPFLAGS
14222 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14223 for ac_header in fontconfig/fontconfig.h
14224 do :
14225 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14226 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14227 cat >>confdefs.h <<_ACEOF
14228 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14229 _ACEOF
14233 done
14235 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14236 then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14238 $as_echo_n "checking for -lfontconfig... " >&6; }
14239 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_check_soname_save_LIBS=$LIBS
14243 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 /* Override any GCC internal prototype to avoid an error.
14248 Use char because int might match the return type of a GCC
14249 builtin and then its argument prototype would still apply. */
14250 #ifdef __cplusplus
14251 extern "C"
14252 #endif
14253 char FcInit ();
14255 main ()
14257 return FcInit ();
14259 return 0;
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 case "$LIBEXT" in
14264 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14265 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'` ;;
14266 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14267 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14268 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14269 fi ;;
14270 esac
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS=$ac_check_soname_save_LIBS
14276 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14278 $as_echo "not found" >&6; }
14279 FONTCONFIG_CFLAGS=""
14280 else
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14282 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14284 cat >>confdefs.h <<_ACEOF
14285 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14286 _ACEOF
14290 else
14291 FONTCONFIG_CFLAGS=""
14293 CPPFLAGS=$ac_save_CPPFLAGS
14294 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14295 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14298 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14299 case "x$with_fontconfig" in
14300 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14301 xno) ;;
14302 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14303 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14304 esac
14308 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14309 then
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14311 $as_echo_n "checking for -lgsm... " >&6; }
14312 if ${ac_cv_lib_soname_gsm+:} false; then :
14313 $as_echo_n "(cached) " >&6
14314 else
14315 ac_check_soname_save_LIBS=$LIBS
14316 LIBS="-lgsm $LIBS"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14323 #ifdef __cplusplus
14324 extern "C"
14325 #endif
14326 char gsm_create ();
14328 main ()
14330 return gsm_create ();
14332 return 0;
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 case "$LIBEXT" in
14337 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14338 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'` ;;
14339 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14340 if ${ac_cv_lib_soname_gsm:+false} :; then :
14341 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14342 fi ;;
14343 esac
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 LIBS=$ac_check_soname_save_LIBS
14349 if ${ac_cv_lib_soname_gsm:+false} :; then :
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14351 $as_echo "not found" >&6; }
14353 else
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14355 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14357 cat >>confdefs.h <<_ACEOF
14358 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14359 _ACEOF
14364 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14365 case "x$with_gsm" in
14366 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14367 xno) ;;
14368 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14369 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14370 esac
14374 if test "x$with_krb5" != "xno"
14375 then
14376 if ${KRB5_CFLAGS:+false} :; then :
14377 if ${PKG_CONFIG+:} false; then :
14378 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14381 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14382 if ${KRB5_LIBS:+false} :; then :
14383 if ${PKG_CONFIG+:} false; then :
14384 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14387 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14389 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14390 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14391 ac_save_CPPFLAGS=$CPPFLAGS
14392 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14393 for ac_header in krb5/krb5.h
14394 do :
14395 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14396 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14397 cat >>confdefs.h <<_ACEOF
14398 #define HAVE_KRB5_KRB5_H 1
14399 _ACEOF
14403 done
14405 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14406 then
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14408 $as_echo_n "checking for -lkrb5... " >&6; }
14409 if ${ac_cv_lib_soname_krb5+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 ac_check_soname_save_LIBS=$LIBS
14413 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14420 #ifdef __cplusplus
14421 extern "C"
14422 #endif
14423 char krb5_is_config_principal ();
14425 main ()
14427 return krb5_is_config_principal ();
14429 return 0;
14431 _ACEOF
14432 if ac_fn_c_try_link "$LINENO"; then :
14433 case "$LIBEXT" in
14434 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14435 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'` ;;
14436 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14437 if ${ac_cv_lib_soname_krb5:+false} :; then :
14438 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14439 fi ;;
14440 esac
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_soname_save_LIBS
14446 if ${ac_cv_lib_soname_krb5:+false} :; then :
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14448 $as_echo "not found" >&6; }
14449 KRB5_CFLAGS=""
14450 else
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14452 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14454 cat >>confdefs.h <<_ACEOF
14455 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14456 _ACEOF
14460 else
14461 KRB5_CFLAGS=""
14463 CPPFLAGS=$ac_save_CPPFLAGS
14464 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14465 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14467 else
14468 with_gssapi=${with_gssapi:-no}
14470 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14471 case "x$with_krb5" in
14472 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14473 xno) ;;
14474 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14475 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14476 esac
14480 if test "x$with_gssapi" != "xno"
14481 then
14482 if ${GSSAPI_CFLAGS:+false} :; then :
14483 if ${PKG_CONFIG+:} false; then :
14484 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14487 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14488 if ${GSSAPI_LIBS:+false} :; then :
14489 if ${PKG_CONFIG+:} false; then :
14490 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14493 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14495 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14496 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14497 ac_save_CPPFLAGS=$CPPFLAGS
14498 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14499 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14500 do :
14501 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14502 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14503 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14504 cat >>confdefs.h <<_ACEOF
14505 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14506 _ACEOF
14510 done
14512 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14513 then
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14515 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14516 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_check_soname_save_LIBS=$LIBS
14520 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14524 /* Override any GCC internal prototype to avoid an error.
14525 Use char because int might match the return type of a GCC
14526 builtin and then its argument prototype would still apply. */
14527 #ifdef __cplusplus
14528 extern "C"
14529 #endif
14530 char gss_init_sec_context ();
14532 main ()
14534 return gss_init_sec_context ();
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 case "$LIBEXT" in
14541 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14542 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'` ;;
14543 *) 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'`
14544 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14545 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14546 fi ;;
14547 esac
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LIBS=$ac_check_soname_save_LIBS
14553 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14555 $as_echo "not found" >&6; }
14556 GSSAPI_CFLAGS=""
14557 else
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14559 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14561 cat >>confdefs.h <<_ACEOF
14562 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14563 _ACEOF
14567 else
14568 GSSAPI_CFLAGS=""
14570 CPPFLAGS=$ac_save_CPPFLAGS
14571 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14572 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14575 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14576 case "x$with_gssapi" in
14577 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14578 xno) ;;
14579 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14580 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14581 esac
14585 if test "x$with_jpeg" != "xno"
14586 then
14587 if ${JPEG_CFLAGS:+false} :; then :
14588 if ${PKG_CONFIG+:} false; then :
14589 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14593 if ${JPEG_LIBS:+false} :; then :
14594 if ${PKG_CONFIG+:} false; then :
14595 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14600 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14601 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14602 ac_save_CPPFLAGS=$CPPFLAGS
14603 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14604 for ac_header in jpeglib.h
14605 do :
14606 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14607 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14608 cat >>confdefs.h <<_ACEOF
14609 #define HAVE_JPEGLIB_H 1
14610 _ACEOF
14614 done
14616 if test "$ac_cv_header_jpeglib_h" = "yes"
14617 then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14619 $as_echo_n "checking for -ljpeg... " >&6; }
14620 if ${ac_cv_lib_soname_jpeg+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_check_soname_save_LIBS=$LIBS
14624 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14628 /* Override any GCC internal prototype to avoid an error.
14629 Use char because int might match the return type of a GCC
14630 builtin and then its argument prototype would still apply. */
14631 #ifdef __cplusplus
14632 extern "C"
14633 #endif
14634 char jpeg_start_decompress ();
14636 main ()
14638 return jpeg_start_decompress ();
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_link "$LINENO"; then :
14644 case "$LIBEXT" in
14645 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14646 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'` ;;
14647 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14648 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14649 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14650 fi ;;
14651 esac
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_soname_save_LIBS
14657 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14659 $as_echo "not found" >&6; }
14660 JPEG_CFLAGS=""
14661 else
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14663 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14665 cat >>confdefs.h <<_ACEOF
14666 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14667 _ACEOF
14671 else
14672 JPEG_CFLAGS=""
14674 CPPFLAGS=$ac_save_CPPFLAGS
14675 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14676 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14679 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14680 case "x$with_jpeg" in
14681 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14682 xno) ;;
14683 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14684 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14685 esac
14689 if test "x$with_png" != "xno"
14690 then
14691 if ${PNG_CFLAGS:+false} :; then :
14692 if ${PKG_CONFIG+:} false; then :
14693 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14696 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14697 if ${PNG_LIBS:+false} :; then :
14698 if ${PKG_CONFIG+:} false; then :
14699 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14702 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14704 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14705 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14706 ac_save_CPPFLAGS=$CPPFLAGS
14707 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14708 for ac_header in png.h
14709 do :
14710 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14711 if test "x$ac_cv_header_png_h" = xyes; then :
14712 cat >>confdefs.h <<_ACEOF
14713 #define HAVE_PNG_H 1
14714 _ACEOF
14718 done
14720 if test "$ac_cv_header_png_h" = "yes"
14721 then
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14723 $as_echo_n "checking for -lpng... " >&6; }
14724 if ${ac_cv_lib_soname_png+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 ac_check_soname_save_LIBS=$LIBS
14728 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14732 /* Override any GCC internal prototype to avoid an error.
14733 Use char because int might match the return type of a GCC
14734 builtin and then its argument prototype would still apply. */
14735 #ifdef __cplusplus
14736 extern "C"
14737 #endif
14738 char png_create_read_struct ();
14740 main ()
14742 return png_create_read_struct ();
14744 return 0;
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 case "$LIBEXT" in
14749 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14750 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'` ;;
14751 *) 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'`
14752 if ${ac_cv_lib_soname_png:+false} :; then :
14753 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14754 fi ;;
14755 esac
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_soname_save_LIBS
14761 if ${ac_cv_lib_soname_png:+false} :; then :
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14763 $as_echo "not found" >&6; }
14764 PNG_CFLAGS=""
14765 else
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14767 $as_echo "$ac_cv_lib_soname_png" >&6; }
14769 cat >>confdefs.h <<_ACEOF
14770 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14771 _ACEOF
14775 else
14776 PNG_CFLAGS=""
14778 CPPFLAGS=$ac_save_CPPFLAGS
14779 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14780 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14783 if test "x$ac_cv_lib_soname_png" = "x"; then :
14784 case "x$with_png" in
14785 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14786 xno) ;;
14787 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14788 This is an error since --with-png was requested." "$LINENO" 5 ;;
14789 esac
14793 if test "x$with_tiff" != "xno"
14794 then
14795 if ${TIFF_CFLAGS:+false} :; then :
14796 if ${PKG_CONFIG+:} false; then :
14797 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14801 if ${TIFF_LIBS:+false} :; then :
14802 if ${PKG_CONFIG+:} false; then :
14803 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14808 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14809 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14810 ac_save_CPPFLAGS=$CPPFLAGS
14811 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14812 for ac_header in tiffio.h
14813 do :
14814 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14815 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14816 cat >>confdefs.h <<_ACEOF
14817 #define HAVE_TIFFIO_H 1
14818 _ACEOF
14822 done
14824 if test "$ac_cv_header_tiffio_h" = "yes"
14825 then
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14827 $as_echo_n "checking for -ltiff... " >&6; }
14828 if ${ac_cv_lib_soname_tiff+:} false; then :
14829 $as_echo_n "(cached) " >&6
14830 else
14831 ac_check_soname_save_LIBS=$LIBS
14832 LIBS="-ltiff $TIFF_LIBS $LIBS"
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14836 /* Override any GCC internal prototype to avoid an error.
14837 Use char because int might match the return type of a GCC
14838 builtin and then its argument prototype would still apply. */
14839 #ifdef __cplusplus
14840 extern "C"
14841 #endif
14842 char TIFFClientOpen ();
14844 main ()
14846 return TIFFClientOpen ();
14848 return 0;
14850 _ACEOF
14851 if ac_fn_c_try_link "$LINENO"; then :
14852 case "$LIBEXT" in
14853 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14854 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'` ;;
14855 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14856 if ${ac_cv_lib_soname_tiff:+false} :; then :
14857 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14858 fi ;;
14859 esac
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 LIBS=$ac_check_soname_save_LIBS
14865 if ${ac_cv_lib_soname_tiff:+false} :; then :
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14867 $as_echo "not found" >&6; }
14869 else
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14871 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14873 cat >>confdefs.h <<_ACEOF
14874 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14875 _ACEOF
14880 CPPFLAGS=$ac_save_CPPFLAGS
14881 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14882 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14885 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14886 case "x$with_tiff" in
14887 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14888 xno) ;;
14889 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14890 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14891 esac
14895 if test "x$with_mpg123" != "xno"
14896 then
14897 if ${MPG123_CFLAGS:+false} :; then :
14898 if ${PKG_CONFIG+:} false; then :
14899 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14903 if ${MPG123_LIBS:+false} :; then :
14904 if ${PKG_CONFIG+:} false; then :
14905 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14909 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14910 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14911 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14912 ac_save_CPPFLAGS=$CPPFLAGS
14913 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14914 for ac_header in mpg123.h
14915 do :
14916 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14917 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14918 cat >>confdefs.h <<_ACEOF
14919 #define HAVE_MPG123_H 1
14920 _ACEOF
14924 done
14926 if test "$ac_cv_header_mpg123_h" = "yes"
14927 then
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14929 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14930 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14931 $as_echo_n "(cached) " >&6
14932 else
14933 ac_check_lib_save_LIBS=$LIBS
14934 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14941 #ifdef __cplusplus
14942 extern "C"
14943 #endif
14944 char mpg123_feed ();
14946 main ()
14948 return mpg123_feed ();
14950 return 0;
14952 _ACEOF
14953 if ac_fn_c_try_link "$LINENO"; then :
14954 ac_cv_lib_mpg123_mpg123_feed=yes
14955 else
14956 ac_cv_lib_mpg123_mpg123_feed=no
14958 rm -f core conftest.err conftest.$ac_objext \
14959 conftest$ac_exeext conftest.$ac_ext
14960 LIBS=$ac_check_lib_save_LIBS
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14963 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14964 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14966 else
14967 MPG123_LIBS=""
14970 else
14971 MPG123_CFLAGS=""
14972 MPG123_LIBS=""
14974 CPPFLAGS=$ac_save_CPPFLAGS
14975 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14976 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14979 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14980 case "x$with_mpg123" in
14981 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14982 xno) ;;
14983 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14984 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14985 esac
14986 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14988 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14990 if test "$ac_cv_header_AL_al_h" = "yes"
14991 then
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14993 $as_echo_n "checking for -lopenal... " >&6; }
14994 if ${ac_cv_lib_soname_openal+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 ac_check_soname_save_LIBS=$LIBS
14998 LIBS="-lopenal $LIBS"
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15005 #ifdef __cplusplus
15006 extern "C"
15007 #endif
15008 char alGetSource3i ();
15010 main ()
15012 return alGetSource3i ();
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 case "$LIBEXT" in
15019 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15020 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'` ;;
15021 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15022 if ${ac_cv_lib_soname_openal:+false} :; then :
15023 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15024 fi ;;
15025 esac
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15029 LIBS=$ac_check_soname_save_LIBS
15031 if ${ac_cv_lib_soname_openal:+false} :; then :
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15033 $as_echo "not found" >&6; }
15035 else
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15037 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15039 cat >>confdefs.h <<_ACEOF
15040 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15041 _ACEOF
15043 OPENAL_LIBS="-lopenal"
15045 ac_cv_lib_openal=yes
15047 cat >>confdefs.h <<_ACEOF
15048 #define HAVE_OPENAL 1
15049 _ACEOF
15053 if test "x$ac_cv_lib_openal" != xyes; then :
15054 case "x$with_openal" in
15055 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15056 xno) ;;
15057 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15058 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15059 esac
15060 enable_openal32=${enable_openal32:-no}
15063 if test "x$ac_cv_lib_openal" = xyes
15064 then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
15066 $as_echo_n "checking for openal-soft... " >&6; }
15067 if ${ac_cv_have_openalsoft+:} false; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 #include <AL/al.h>
15073 #include <AL/alc.h>
15074 #include <AL/alext.h>
15075 LPALCRENDERSAMPLESSOFT x;
15077 main ()
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"; then :
15085 ac_cv_have_openalsoft=yes
15086 else
15087 ac_cv_have_openalsoft=no
15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
15092 $as_echo "$ac_cv_have_openalsoft" >&6; }
15094 if test "x$ac_cv_have_openalsoft" != xyes
15095 then
15096 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
15097 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15098 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15099 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15100 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15101 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15102 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15103 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15104 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15105 enable_xapofx1_1=${enable_xapofx1_1:-no}
15106 enable_xapofx1_2=${enable_xapofx1_2:-no}
15107 enable_xapofx1_3=${enable_xapofx1_3:-no}
15108 enable_xapofx1_4=${enable_xapofx1_4:-no}
15109 enable_xapofx1_5=${enable_xapofx1_5:-no}
15110 enable_xaudio2_0=${enable_xaudio2_0:-no}
15111 enable_xaudio2_1=${enable_xaudio2_1:-no}
15112 enable_xaudio2_2=${enable_xaudio2_2:-no}
15113 enable_xaudio2_3=${enable_xaudio2_3:-no}
15114 enable_xaudio2_4=${enable_xaudio2_4:-no}
15115 enable_xaudio2_5=${enable_xaudio2_5:-no}
15116 enable_xaudio2_6=${enable_xaudio2_6:-no}
15117 enable_xaudio2_7=${enable_xaudio2_7:-no}
15118 enable_xaudio2_8=${enable_xaudio2_8:-no}
15119 enable_xaudio2_9=${enable_xaudio2_9:-no}
15122 if test "$ac_cv_header_kstat_h" = "yes"
15123 then
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15125 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15126 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 ac_check_lib_save_LIBS=$LIBS
15130 LIBS="-lkstat $LIBS"
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15134 /* Override any GCC internal prototype to avoid an error.
15135 Use char because int might match the return type of a GCC
15136 builtin and then its argument prototype would still apply. */
15137 #ifdef __cplusplus
15138 extern "C"
15139 #endif
15140 char kstat_open ();
15142 main ()
15144 return kstat_open ();
15146 return 0;
15148 _ACEOF
15149 if ac_fn_c_try_link "$LINENO"; then :
15150 ac_cv_lib_kstat_kstat_open=yes
15151 else
15152 ac_cv_lib_kstat_kstat_open=no
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext conftest.$ac_ext
15156 LIBS=$ac_check_lib_save_LIBS
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15159 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15160 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15162 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15164 KSTAT_LIBS="-lkstat"
15170 if test "$ac_cv_header_libprocstat_h" = "yes"
15171 then
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15173 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15174 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 ac_check_lib_save_LIBS=$LIBS
15178 LIBS="-lprocstat $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 #ifdef __cplusplus
15186 extern "C"
15187 #endif
15188 char procstat_open_sysctl ();
15190 main ()
15192 return procstat_open_sysctl ();
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 ac_cv_lib_procstat_procstat_open_sysctl=yes
15199 else
15200 ac_cv_lib_procstat_procstat_open_sysctl=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_lib_save_LIBS
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15207 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15208 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15210 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15212 PROCSTAT_LIBS="-lprocstat"
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15219 $as_echo_n "checking for -lodbc... " >&6; }
15220 if ${ac_cv_lib_soname_odbc+:} false; then :
15221 $as_echo_n "(cached) " >&6
15222 else
15223 ac_check_soname_save_LIBS=$LIBS
15224 LIBS="-lodbc $LIBS"
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15228 /* Override any GCC internal prototype to avoid an error.
15229 Use char because int might match the return type of a GCC
15230 builtin and then its argument prototype would still apply. */
15231 #ifdef __cplusplus
15232 extern "C"
15233 #endif
15234 char SQLConnect ();
15236 main ()
15238 return SQLConnect ();
15240 return 0;
15242 _ACEOF
15243 if ac_fn_c_try_link "$LINENO"; then :
15244 case "$LIBEXT" in
15245 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15246 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'` ;;
15247 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15248 if ${ac_cv_lib_soname_odbc:+false} :; then :
15249 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15250 fi ;;
15251 esac
15253 rm -f core conftest.err conftest.$ac_objext \
15254 conftest$ac_exeext conftest.$ac_ext
15255 LIBS=$ac_check_soname_save_LIBS
15257 if ${ac_cv_lib_soname_odbc:+false} :; then :
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15259 $as_echo "not found" >&6; }
15260 cat >>confdefs.h <<_ACEOF
15261 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15262 _ACEOF
15264 else
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15266 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15268 cat >>confdefs.h <<_ACEOF
15269 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15270 _ACEOF
15275 if test "x$with_netapi" != "xno"
15276 then
15277 if ${NETAPI_CFLAGS:+false} :; then :
15278 if ${PKG_CONFIG+:} false; then :
15279 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15283 if ${NETAPI_LIBS:+false} :; then :
15284 if ${PKG_CONFIG+:} false; then :
15285 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15290 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15291 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15292 ac_save_CPPFLAGS=$CPPFLAGS
15293 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15295 $as_echo_n "checking for -lnetapi... " >&6; }
15296 if ${ac_cv_lib_soname_netapi+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 ac_check_soname_save_LIBS=$LIBS
15300 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15307 #ifdef __cplusplus
15308 extern "C"
15309 #endif
15310 char libnetapi_init ();
15312 main ()
15314 return libnetapi_init ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"; then :
15320 case "$LIBEXT" in
15321 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15322 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'` ;;
15323 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15324 if ${ac_cv_lib_soname_netapi:+false} :; then :
15325 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15326 fi ;;
15327 esac
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_netapi:+false} :; then :
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15335 $as_echo "not found" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15338 _ACEOF
15340 else
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15342 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15344 cat >>confdefs.h <<_ACEOF
15345 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15346 _ACEOF
15350 CPPFLAGS=$ac_save_CPPFLAGS
15351 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15352 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15356 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15357 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15358 then
15359 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15362 if test "x$with_vulkan" != "xno"
15363 then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15365 $as_echo_n "checking for -lvulkan... " >&6; }
15366 if ${ac_cv_lib_soname_vulkan+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_check_soname_save_LIBS=$LIBS
15370 LIBS="-lvulkan $LIBS"
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15377 #ifdef __cplusplus
15378 extern "C"
15379 #endif
15380 char vkGetInstanceProcAddr ();
15382 main ()
15384 return vkGetInstanceProcAddr ();
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 case "$LIBEXT" in
15391 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15394 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15395 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15396 fi ;;
15397 esac
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15405 $as_echo "not found" >&6; }
15407 else
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15409 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15411 cat >>confdefs.h <<_ACEOF
15412 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15413 _ACEOF
15417 if test "x$ac_cv_lib_soname_vulkan" = "x"
15418 then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15420 $as_echo_n "checking for -lMoltenVK... " >&6; }
15421 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15422 $as_echo_n "(cached) " >&6
15423 else
15424 ac_check_soname_save_LIBS=$LIBS
15425 LIBS="-lMoltenVK $LIBS"
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15429 /* Override any GCC internal prototype to avoid an error.
15430 Use char because int might match the return type of a GCC
15431 builtin and then its argument prototype would still apply. */
15432 #ifdef __cplusplus
15433 extern "C"
15434 #endif
15435 char vkGetInstanceProcAddr ();
15437 main ()
15439 return vkGetInstanceProcAddr ();
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 case "$LIBEXT" in
15446 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15447 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'` ;;
15448 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15449 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15450 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15451 fi ;;
15452 esac
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_check_soname_save_LIBS
15458 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15460 $as_echo "not found" >&6; }
15462 else
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15464 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15466 cat >>confdefs.h <<_ACEOF
15467 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15468 _ACEOF
15474 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15475 case "x$with_vulkan" in
15476 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15477 xno) ;;
15478 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15479 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15480 esac
15484 if test "x$with_vkd3d" != "xno"
15485 then
15486 if ${VKD3D_CFLAGS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15492 if ${VKD3D_LIBS:+false} :; then :
15493 if ${PKG_CONFIG+:} false; then :
15494 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15499 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15500 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15501 ac_save_CPPFLAGS=$CPPFLAGS
15502 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15504 $as_echo_n "checking for -lvkd3d... " >&6; }
15505 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 #ifdef __cplusplus
15517 extern "C"
15518 #endif
15519 char vkd3d_create_device ();
15521 main ()
15523 return vkd3d_create_device ();
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_link "$LINENO"; then :
15529 case "$LIBEXT" in
15530 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15531 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'` ;;
15532 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15533 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15534 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15535 fi ;;
15536 esac
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540 LIBS=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15544 $as_echo "not found" >&6; }
15546 else
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15548 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15550 cat >>confdefs.h <<_ACEOF
15551 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15552 _ACEOF
15556 CPPFLAGS=$ac_save_CPPFLAGS
15557 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15558 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15561 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15562 case "x$with_vkd3d" in
15563 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15564 xno) ;;
15565 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15566 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15567 esac
15570 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15573 EXTRACFLAGS=""
15575 if test "x${GCC}" = "xyes"
15576 then
15577 EXTRACFLAGS="-Wall -pipe"
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15580 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15581 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15582 $as_echo_n "(cached) " >&6
15583 else
15584 if test "$cross_compiling" = yes; then :
15585 ac_cv_c_gcc_strength_bug="no"
15586 else
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15589 int L[4] = {0,1,2,3};
15591 main ()
15593 static int Array[3];
15594 unsigned int B = 3;
15595 int i;
15596 for(i=0; i<B; i++) Array[i] = i - 3;
15597 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15598 L[i] = 4;
15599 return (Array[1] != -2 || L[2] != 3)
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_run "$LINENO"; then :
15605 ac_cv_c_gcc_strength_bug="no"
15606 else
15607 ac_cv_c_gcc_strength_bug="yes"
15609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15610 conftest.$ac_objext conftest.beam conftest.$ac_ext
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15615 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15616 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15617 then
15618 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15622 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15623 if ${ac_cv_cflags__fno_builtin+:} false; then :
15624 $as_echo_n "(cached) " >&6
15625 else
15626 ac_wine_try_cflags_saved=$CFLAGS
15627 CFLAGS="$CFLAGS -fno-builtin"
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15630 int main(int argc, char **argv) { return 0; }
15631 _ACEOF
15632 if ac_fn_c_try_link "$LINENO"; then :
15633 ac_cv_cflags__fno_builtin=yes
15634 else
15635 ac_cv_cflags__fno_builtin=no
15637 rm -f core conftest.err conftest.$ac_objext \
15638 conftest$ac_exeext conftest.$ac_ext
15639 CFLAGS=$ac_wine_try_cflags_saved
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15642 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15643 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15644 BUILTINFLAG="-fno-builtin"
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15648 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15649 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15650 $as_echo_n "(cached) " >&6
15651 else
15652 ac_wine_try_cflags_saved=$CFLAGS
15653 CFLAGS="$CFLAGS -fno-strict-aliasing"
15654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15656 int main(int argc, char **argv) { return 0; }
15657 _ACEOF
15658 if ac_fn_c_try_link "$LINENO"; then :
15659 ac_cv_cflags__fno_strict_aliasing=yes
15660 else
15661 ac_cv_cflags__fno_strict_aliasing=no
15663 rm -f core conftest.err conftest.$ac_objext \
15664 conftest$ac_exeext conftest.$ac_ext
15665 CFLAGS=$ac_wine_try_cflags_saved
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15668 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15669 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15670 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15673 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15674 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15675 $as_echo_n "(cached) " >&6
15676 else
15677 ac_wine_try_cflags_saved=$CFLAGS
15678 CFLAGS="$CFLAGS -fexcess-precision=standard"
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15681 int main(int argc, char **argv) { return 0; }
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 ac_cv_cflags__fexcess_precision_standard=yes
15685 else
15686 ac_cv_cflags__fexcess_precision_standard=no
15688 rm -f core conftest.err conftest.$ac_objext \
15689 conftest$ac_exeext conftest.$ac_ext
15690 CFLAGS=$ac_wine_try_cflags_saved
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15693 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15694 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15695 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15698 saved_CFLAGS=$CFLAGS
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15700 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15701 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15702 $as_echo_n "(cached) " >&6
15703 else
15704 ac_wine_try_cflags_saved=$CFLAGS
15705 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15708 int main(int argc, char **argv) { return 0; }
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"; then :
15711 ac_cv_cflags__Werror_unknown_warning_option=yes
15712 else
15713 ac_cv_cflags__Werror_unknown_warning_option=no
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext conftest.$ac_ext
15717 CFLAGS=$ac_wine_try_cflags_saved
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15720 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15721 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15722 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15725 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15726 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15727 $as_echo_n "(cached) " >&6
15728 else
15729 ac_wine_try_cflags_saved=$CFLAGS
15730 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15733 int main(int argc, char **argv) { return 0; }
15734 _ACEOF
15735 if ac_fn_c_try_link "$LINENO"; then :
15736 ac_cv_cflags__Wdeclaration_after_statement=yes
15737 else
15738 ac_cv_cflags__Wdeclaration_after_statement=no
15740 rm -f core conftest.err conftest.$ac_objext \
15741 conftest$ac_exeext conftest.$ac_ext
15742 CFLAGS=$ac_wine_try_cflags_saved
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15745 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15746 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15747 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15750 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15751 if ${ac_cv_cflags__Wempty_body+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_wine_try_cflags_saved=$CFLAGS
15755 CFLAGS="$CFLAGS -Wempty-body"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758 int main(int argc, char **argv) { return 0; }
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"; then :
15761 ac_cv_cflags__Wempty_body=yes
15762 else
15763 ac_cv_cflags__Wempty_body=no
15765 rm -f core conftest.err conftest.$ac_objext \
15766 conftest$ac_exeext conftest.$ac_ext
15767 CFLAGS=$ac_wine_try_cflags_saved
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15770 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15771 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15772 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15775 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15776 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15777 $as_echo_n "(cached) " >&6
15778 else
15779 ac_wine_try_cflags_saved=$CFLAGS
15780 CFLAGS="$CFLAGS -Wignored-qualifiers"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 int main(int argc, char **argv) { return 0; }
15784 _ACEOF
15785 if ac_fn_c_try_link "$LINENO"; then :
15786 ac_cv_cflags__Wignored_qualifiers=yes
15787 else
15788 ac_cv_cflags__Wignored_qualifiers=no
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext conftest.$ac_ext
15792 CFLAGS=$ac_wine_try_cflags_saved
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15795 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15796 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15797 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15800 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15801 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15804 ac_wine_try_cflags_saved=$CFLAGS
15805 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15807 /* end confdefs.h. */
15808 int main(int argc, char **argv) { return 0; }
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"; then :
15811 ac_cv_cflags__Wpacked_not_aligned=yes
15812 else
15813 ac_cv_cflags__Wpacked_not_aligned=no
15815 rm -f core conftest.err conftest.$ac_objext \
15816 conftest$ac_exeext conftest.$ac_ext
15817 CFLAGS=$ac_wine_try_cflags_saved
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15820 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15821 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15822 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15825 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15826 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15827 $as_echo_n "(cached) " >&6
15828 else
15829 ac_wine_try_cflags_saved=$CFLAGS
15830 CFLAGS="$CFLAGS -Wpragma-pack"
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15833 int main(int argc, char **argv) { return 0; }
15834 _ACEOF
15835 if ac_fn_c_try_link "$LINENO"; then :
15836 ac_cv_cflags__Wpragma_pack=yes
15837 else
15838 ac_cv_cflags__Wpragma_pack=no
15840 rm -f core conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15842 CFLAGS=$ac_wine_try_cflags_saved
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15845 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15846 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15847 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15850 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15851 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15852 $as_echo_n "(cached) " >&6
15853 else
15854 ac_wine_try_cflags_saved=$CFLAGS
15855 CFLAGS="$CFLAGS -Wshift-overflow=2"
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 int main(int argc, char **argv) { return 0; }
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"; then :
15861 ac_cv_cflags__Wshift_overflow_2=yes
15862 else
15863 ac_cv_cflags__Wshift_overflow_2=no
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15867 CFLAGS=$ac_wine_try_cflags_saved
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15870 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15871 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15872 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15875 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15876 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 ac_wine_try_cflags_saved=$CFLAGS
15880 CFLAGS="$CFLAGS -Wstrict-prototypes"
15881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15883 int main(int argc, char **argv) { return 0; }
15884 _ACEOF
15885 if ac_fn_c_try_link "$LINENO"; then :
15886 ac_cv_cflags__Wstrict_prototypes=yes
15887 else
15888 ac_cv_cflags__Wstrict_prototypes=no
15890 rm -f core conftest.err conftest.$ac_objext \
15891 conftest$ac_exeext conftest.$ac_ext
15892 CFLAGS=$ac_wine_try_cflags_saved
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15895 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15896 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15897 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15900 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15901 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 ac_wine_try_cflags_saved=$CFLAGS
15905 CFLAGS="$CFLAGS -Wtype-limits"
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 int main(int argc, char **argv) { return 0; }
15909 _ACEOF
15910 if ac_fn_c_try_link "$LINENO"; then :
15911 ac_cv_cflags__Wtype_limits=yes
15912 else
15913 ac_cv_cflags__Wtype_limits=no
15915 rm -f core conftest.err conftest.$ac_objext \
15916 conftest$ac_exeext conftest.$ac_ext
15917 CFLAGS=$ac_wine_try_cflags_saved
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15920 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15921 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15922 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15925 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15926 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 ac_wine_try_cflags_saved=$CFLAGS
15930 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15933 int main(int argc, char **argv) { return 0; }
15934 _ACEOF
15935 if ac_fn_c_try_link "$LINENO"; then :
15936 ac_cv_cflags__Wunused_but_set_parameter=yes
15937 else
15938 ac_cv_cflags__Wunused_but_set_parameter=no
15940 rm -f core conftest.err conftest.$ac_objext \
15941 conftest$ac_exeext conftest.$ac_ext
15942 CFLAGS=$ac_wine_try_cflags_saved
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15945 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15946 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15947 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15950 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15951 if ${ac_cv_cflags__Wvla+:} false; then :
15952 $as_echo_n "(cached) " >&6
15953 else
15954 ac_wine_try_cflags_saved=$CFLAGS
15955 CFLAGS="$CFLAGS -Wvla"
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15958 int main(int argc, char **argv) { return 0; }
15959 _ACEOF
15960 if ac_fn_c_try_link "$LINENO"; then :
15961 ac_cv_cflags__Wvla=yes
15962 else
15963 ac_cv_cflags__Wvla=no
15965 rm -f core conftest.err conftest.$ac_objext \
15966 conftest$ac_exeext conftest.$ac_ext
15967 CFLAGS=$ac_wine_try_cflags_saved
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15970 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15971 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15972 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15975 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15976 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15977 $as_echo_n "(cached) " >&6
15978 else
15979 ac_wine_try_cflags_saved=$CFLAGS
15980 CFLAGS="$CFLAGS -Wwrite-strings"
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15983 int main(int argc, char **argv) { return 0; }
15984 _ACEOF
15985 if ac_fn_c_try_link "$LINENO"; then :
15986 ac_cv_cflags__Wwrite_strings=yes
15987 else
15988 ac_cv_cflags__Wwrite_strings=no
15990 rm -f core conftest.err conftest.$ac_objext \
15991 conftest$ac_exeext conftest.$ac_ext
15992 CFLAGS=$ac_wine_try_cflags_saved
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15995 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15996 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15997 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16001 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16002 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16003 $as_echo_n "(cached) " >&6
16004 else
16005 ac_wine_try_cflags_saved=$CFLAGS
16006 CFLAGS="$CFLAGS -Wpointer-arith"
16007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16009 int main(int argc, char **argv) { return 0; }
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_cflags__Wpointer_arith=yes
16013 else
16014 ac_cv_cflags__Wpointer_arith=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16018 CFLAGS=$ac_wine_try_cflags_saved
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16021 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16022 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16023 saved_string_h_CFLAGS=$CFLAGS
16024 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16026 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16027 if ${ac_cv_c_string_h_warnings+:} false; then :
16028 $as_echo_n "(cached) " >&6
16029 else
16030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16031 /* end confdefs.h. */
16032 #include <string.h>
16034 main ()
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_compile "$LINENO"; then :
16042 ac_cv_c_string_h_warnings=no
16043 else
16044 ac_cv_c_string_h_warnings=yes
16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16049 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16050 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16051 CFLAGS=$saved_string_h_CFLAGS
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16055 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16056 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16057 $as_echo_n "(cached) " >&6
16058 else
16059 ac_wine_try_cflags_saved=$CFLAGS
16060 CFLAGS="$CFLAGS -Wlogical-op"
16061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062 /* end confdefs.h. */
16063 int main(int argc, char **argv) { return 0; }
16064 _ACEOF
16065 if ac_fn_c_try_link "$LINENO"; then :
16066 ac_cv_cflags__Wlogical_op=yes
16067 else
16068 ac_cv_cflags__Wlogical_op=no
16070 rm -f core conftest.err conftest.$ac_objext \
16071 conftest$ac_exeext conftest.$ac_ext
16072 CFLAGS=$ac_wine_try_cflags_saved
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16075 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16076 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16077 saved_string_h_CFLAGS=$CFLAGS
16078 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16080 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16081 if ${ac_cv_c_logicalop_noisy+:} false; then :
16082 $as_echo_n "(cached) " >&6
16083 else
16084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16086 #include <string.h>
16087 char*f(const char *h,char n) {return strchr(h,n);}
16089 main ()
16093 return 0;
16095 _ACEOF
16096 if ac_fn_c_try_compile "$LINENO"; then :
16097 ac_cv_c_logicalop_noisy=no
16098 else
16099 ac_cv_c_logicalop_noisy=yes
16101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16104 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16105 CFLAGS=$saved_string_h_CFLAGS
16106 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16109 CFLAGS=$saved_CFLAGS
16111 for ac_flag in $CFLAGS; do
16112 case $ac_flag in
16113 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16114 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16115 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16116 $as_echo_n "(cached) " >&6
16117 else
16118 ac_wine_try_cflags_saved=$CFLAGS
16119 CFLAGS="$CFLAGS -gdwarf-2"
16120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 int main(int argc, char **argv) { return 0; }
16123 _ACEOF
16124 if ac_fn_c_try_link "$LINENO"; then :
16125 ac_cv_cflags__gdwarf_2=yes
16126 else
16127 ac_cv_cflags__gdwarf_2=no
16129 rm -f core conftest.err conftest.$ac_objext \
16130 conftest$ac_exeext conftest.$ac_ext
16131 CFLAGS=$ac_wine_try_cflags_saved
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16134 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16135 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16136 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16139 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16140 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16141 $as_echo_n "(cached) " >&6
16142 else
16143 ac_wine_try_cflags_saved=$CFLAGS
16144 CFLAGS="$CFLAGS -gstrict-dwarf"
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16147 int main(int argc, char **argv) { return 0; }
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 ac_cv_cflags__gstrict_dwarf=yes
16151 else
16152 ac_cv_cflags__gstrict_dwarf=no
16154 rm -f core conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16156 CFLAGS=$ac_wine_try_cflags_saved
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16159 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16160 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16161 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16162 fi ;;
16163 esac
16164 done
16166 case $host_cpu in
16167 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16168 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16169 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 ac_wine_try_cflags_saved=$CFLAGS
16173 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16175 /* end confdefs.h. */
16176 int main(int argc, char **argv) { return 0; }
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 ac_cv_cflags__fno_omit_frame_pointer=yes
16180 else
16181 ac_cv_cflags__fno_omit_frame_pointer=no
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16185 CFLAGS=$ac_wine_try_cflags_saved
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16188 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16189 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16190 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16191 fi ;;
16192 esac
16194 case $host in
16195 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16196 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16197 if ${ac_cv_cflags__Wno_format+:} false; then :
16198 $as_echo_n "(cached) " >&6
16199 else
16200 ac_wine_try_cflags_saved=$CFLAGS
16201 CFLAGS="$CFLAGS -Wno-format"
16202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16203 /* end confdefs.h. */
16204 int main(int argc, char **argv) { return 0; }
16205 _ACEOF
16206 if ac_fn_c_try_link "$LINENO"; then :
16207 ac_cv_cflags__Wno_format=yes
16208 else
16209 ac_cv_cflags__Wno_format=no
16211 rm -f core conftest.err conftest.$ac_objext \
16212 conftest$ac_exeext conftest.$ac_ext
16213 CFLAGS=$ac_wine_try_cflags_saved
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16216 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16217 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16218 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16219 fi ;;
16220 esac
16222 if test "x$enable_maintainer_mode" = "xyes"
16223 then
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16225 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16226 if ${ac_cv_cflags__Werror+:} false; then :
16227 $as_echo_n "(cached) " >&6
16228 else
16229 ac_wine_try_cflags_saved=$CFLAGS
16230 CFLAGS="$CFLAGS -Werror"
16231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16233 int main(int argc, char **argv) { return 0; }
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"; then :
16236 ac_cv_cflags__Werror=yes
16237 else
16238 ac_cv_cflags__Werror=no
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16242 CFLAGS=$ac_wine_try_cflags_saved
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16245 $as_echo "$ac_cv_cflags__Werror" >&6; }
16246 if test "x$ac_cv_cflags__Werror" = xyes; then :
16247 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16251 saved_CFLAGS="$CFLAGS"
16252 CFLAGS="$CFLAGS -Werror"
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16254 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16255 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16260 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16262 main ()
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_compile "$LINENO"; then :
16270 ac_cv_have_ms_hook_prologue="yes"
16271 else
16272 ac_cv_have_ms_hook_prologue="no"
16274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16277 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16278 CFLAGS="$saved_CFLAGS"
16279 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16280 then
16282 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16284 else
16285 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16292 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16293 if ${ac_cv_c_fortify_enabled+:} false; then :
16294 $as_echo_n "(cached) " >&6
16295 else
16296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16297 /* end confdefs.h. */
16298 #include <string.h>
16300 main ()
16302 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16303 #error Fortify enabled
16304 #endif
16306 return 0;
16308 _ACEOF
16309 if ac_fn_c_try_compile "$LINENO"; then :
16310 ac_cv_c_fortify_enabled=no
16311 else
16312 ac_cv_c_fortify_enabled=yes
16314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16317 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16318 if test "$ac_cv_c_fortify_enabled" = yes
16319 then
16320 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16325 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16326 if ${ac_cv_c_extern_prefix+:} false; then :
16327 $as_echo_n "(cached) " >&6
16328 else
16329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16330 /* end confdefs.h. */
16331 extern int ac_test;
16333 main ()
16335 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16337 return 0;
16339 _ACEOF
16340 if ac_fn_c_try_link "$LINENO"; then :
16341 ac_cv_c_extern_prefix="yes"
16342 else
16343 ac_cv_c_extern_prefix="no"
16345 rm -f core conftest.err conftest.$ac_objext \
16346 conftest$ac_exeext conftest.$ac_ext
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16349 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16351 case $host_cpu in
16352 *i[3456789]86*)
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16354 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16355 if ${ac_cv_c_stdcall_suffix+:} false; then :
16356 $as_echo_n "(cached) " >&6
16357 else
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16360 #ifndef _MSC_VER
16361 #define __stdcall __attribute__((__stdcall__))
16362 #endif
16363 int __stdcall ac_test(int i) { return i; }
16365 main ()
16367 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16369 return 0;
16371 _ACEOF
16372 if ac_fn_c_try_link "$LINENO"; then :
16373 ac_cv_c_stdcall_suffix="yes"
16374 else
16375 ac_cv_c_stdcall_suffix="no"
16377 rm -f core conftest.err conftest.$ac_objext \
16378 conftest$ac_exeext conftest.$ac_ext
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16381 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16382 *) ac_cv_c_stdcall_suffix="no" ;;
16383 esac
16386 if test "$ac_cv_c_extern_prefix" = "yes"
16387 then
16388 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16390 asm_name_prefix="_"
16391 else
16392 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16394 asm_name_prefix=""
16398 if test "$ac_cv_c_stdcall_suffix" = "yes"
16399 then
16400 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16402 else
16403 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16409 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16410 if ${ac_cv_asm_func_def+:} false; then :
16411 $as_echo_n "(cached) " >&6
16412 else
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16417 main ()
16419 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16421 return 0;
16423 _ACEOF
16424 if ac_fn_c_try_link "$LINENO"; then :
16425 ac_cv_asm_func_def=".def"
16426 else
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16431 main ()
16433 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16435 return 0;
16437 _ACEOF
16438 if ac_fn_c_try_link "$LINENO"; then :
16439 ac_cv_asm_func_def=".type @function"
16440 else
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16445 main ()
16447 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16449 return 0;
16451 _ACEOF
16452 if ac_fn_c_try_link "$LINENO"; then :
16453 ac_cv_asm_func_def=".type 2"
16454 else
16455 ac_cv_asm_func_def="unknown"
16457 rm -f core conftest.err conftest.$ac_objext \
16458 conftest$ac_exeext conftest.$ac_ext
16460 rm -f core conftest.err conftest.$ac_objext \
16461 conftest$ac_exeext conftest.$ac_ext
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16467 $as_echo "$ac_cv_asm_func_def" >&6; }
16470 case "$ac_cv_asm_func_def" in
16471 ".def")
16472 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16474 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16475 ".type @function")
16476 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16478 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16479 ".type 2")
16480 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16482 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16484 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16486 asm_func_header="" ;;
16487 esac
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16490 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16491 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 asm(".text\n\t.long 0");
16498 main ()
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_compile "$LINENO"; then :
16506 ac_cv_c_asm_outside_funcs="yes"
16507 else
16508 ac_cv_c_asm_outside_funcs="no"
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16513 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16516 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16517 if ${ac_cv_c_dot_previous+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16524 main ()
16526 asm(".text\nac_test:\t.long 0\n\t.previous");
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532 ac_cv_c_dot_previous="yes"
16533 else
16534 ac_cv_c_dot_previous="no"
16536 rm -f core conftest.err conftest.$ac_objext \
16537 conftest$ac_exeext conftest.$ac_ext
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16540 $as_echo "$ac_cv_c_dot_previous" >&6; }
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16543 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16544 if ${ac_cv_c_cfi_support+:} false; then :
16545 $as_echo_n "(cached) " >&6
16546 else
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16551 main ()
16555 return 0;
16557 _ACEOF
16558 if ac_fn_c_try_compile "$LINENO"; then :
16559 ac_cv_c_cfi_support="yes"
16560 else
16561 ac_cv_c_cfi_support="no"
16563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16566 $as_echo "$ac_cv_c_cfi_support" >&6; }
16568 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16569 asm_func_trailer=""
16570 if test "$ac_cv_c_dot_previous" = "yes"
16571 then
16572 asm_func_trailer="\\n\\t.previous"
16574 if test "$ac_cv_c_cfi_support" = "yes"
16575 then
16576 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16577 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16579 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16581 UNWINDFLAGS=-fasynchronous-unwind-tables
16583 else
16584 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16586 if test "x$enable_win64" = "xyes"
16587 then
16588 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16592 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16595 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16596 then
16597 cat >>confdefs.h <<_ACEOF
16598 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16599 _ACEOF
16601 else
16602 cat >>confdefs.h <<_ACEOF
16603 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16604 _ACEOF
16608 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16611 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16615 case $build_os in
16616 cygwin*|mingw32*) TOOLSEXT=".exe"
16618 esac
16620 case $host_os in
16621 linux*)
16622 case $host_cpu in
16623 *i[3456789]86*|x86_64*|*aarch64*)
16624 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16625 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16627 esac
16629 esac
16632 ac_save_CFLAGS="$CFLAGS"
16633 CFLAGS="$CFLAGS $BUILTINFLAG"
16634 for ac_func in \
16635 __res_get_state \
16636 __res_getservers \
16637 _finite \
16638 _isnan \
16639 _pclose \
16640 _popen \
16641 _snprintf \
16642 _spawnvp \
16643 _strdup \
16644 _stricmp \
16645 _strnicmp \
16646 _strtoi64 \
16647 _strtoui64 \
16648 _vsnprintf \
16649 asctime_r \
16650 chsize \
16651 dlopen \
16652 epoll_create \
16653 ffs \
16654 finitef \
16655 fnmatch \
16656 fork \
16657 fpclass \
16658 fstatfs \
16659 fstatvfs \
16660 ftruncate \
16661 futimens \
16662 futimes \
16663 futimesat \
16664 getattrlist \
16665 getauxval \
16666 getifaddrs \
16667 getopt_long_only \
16668 getpwuid \
16669 gettimeofday \
16670 getuid \
16671 kqueue \
16672 lstat \
16673 memmove \
16674 mmap \
16675 pclose \
16676 pipe2 \
16677 poll \
16678 popen \
16679 port_create \
16680 prctl \
16681 pread \
16682 proc_pidinfo \
16683 pwrite \
16684 readdir \
16685 readlink \
16686 sched_yield \
16687 select \
16688 setproctitle \
16689 setprogname \
16690 setrlimit \
16691 settimeofday \
16692 sigaltstack \
16693 sigprocmask \
16694 snprintf \
16695 statfs \
16696 statvfs \
16697 strcasecmp \
16698 strdup \
16699 strerror \
16700 strncasecmp \
16701 strnlen \
16702 strtold \
16703 strtoll \
16704 strtoull \
16705 symlink \
16706 sysinfo \
16707 tcdrain \
16708 thr_kill2 \
16709 timegm \
16710 usleep \
16711 vsnprintf
16713 do :
16714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16716 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16719 _ACEOF
16722 done
16724 CFLAGS="$ac_save_CFLAGS"
16726 if test "$ac_cv_func_dlopen" = no
16727 then
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16729 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16730 if ${ac_cv_lib_dl_dlopen+:} false; then :
16731 $as_echo_n "(cached) " >&6
16732 else
16733 ac_check_lib_save_LIBS=$LIBS
16734 LIBS="-ldl $LIBS"
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16738 /* Override any GCC internal prototype to avoid an error.
16739 Use char because int might match the return type of a GCC
16740 builtin and then its argument prototype would still apply. */
16741 #ifdef __cplusplus
16742 extern "C"
16743 #endif
16744 char dlopen ();
16746 main ()
16748 return dlopen ();
16750 return 0;
16752 _ACEOF
16753 if ac_fn_c_try_link "$LINENO"; then :
16754 ac_cv_lib_dl_dlopen=yes
16755 else
16756 ac_cv_lib_dl_dlopen=no
16758 rm -f core conftest.err conftest.$ac_objext \
16759 conftest$ac_exeext conftest.$ac_ext
16760 LIBS=$ac_check_lib_save_LIBS
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16763 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16764 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16765 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16766 DL_LIBS="-ldl"
16771 ac_wine_check_funcs_save_LIBS="$LIBS"
16772 LIBS="$LIBS $DL_LIBS"
16773 for ac_func in dladdr
16774 do :
16775 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16776 if test "x$ac_cv_func_dladdr" = xyes; then :
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_DLADDR 1
16779 _ACEOF
16782 done
16784 LIBS="$ac_wine_check_funcs_save_LIBS"
16786 if test "$ac_cv_func_poll" = no
16787 then
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16789 $as_echo_n "checking for poll in -lpoll... " >&6; }
16790 if ${ac_cv_lib_poll_poll+:} false; then :
16791 $as_echo_n "(cached) " >&6
16792 else
16793 ac_check_lib_save_LIBS=$LIBS
16794 LIBS="-lpoll $LIBS"
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16801 #ifdef __cplusplus
16802 extern "C"
16803 #endif
16804 char poll ();
16806 main ()
16808 return poll ();
16810 return 0;
16812 _ACEOF
16813 if ac_fn_c_try_link "$LINENO"; then :
16814 ac_cv_lib_poll_poll=yes
16815 else
16816 ac_cv_lib_poll_poll=no
16818 rm -f core conftest.err conftest.$ac_objext \
16819 conftest$ac_exeext conftest.$ac_ext
16820 LIBS=$ac_check_lib_save_LIBS
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16823 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16824 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16825 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16826 POLL_LIBS="-lpoll"
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16833 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16834 if ${ac_cv_search_gethostbyname+:} false; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 ac_func_search_save_LIBS=$LIBS
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16841 /* Override any GCC internal prototype to avoid an error.
16842 Use char because int might match the return type of a GCC
16843 builtin and then its argument prototype would still apply. */
16844 #ifdef __cplusplus
16845 extern "C"
16846 #endif
16847 char gethostbyname ();
16849 main ()
16851 return gethostbyname ();
16853 return 0;
16855 _ACEOF
16856 for ac_lib in '' nsl; do
16857 if test -z "$ac_lib"; then
16858 ac_res="none required"
16859 else
16860 ac_res=-l$ac_lib
16861 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16863 if ac_fn_c_try_link "$LINENO"; then :
16864 ac_cv_search_gethostbyname=$ac_res
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext
16868 if ${ac_cv_search_gethostbyname+:} false; then :
16869 break
16871 done
16872 if ${ac_cv_search_gethostbyname+:} false; then :
16874 else
16875 ac_cv_search_gethostbyname=no
16877 rm conftest.$ac_ext
16878 LIBS=$ac_func_search_save_LIBS
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16881 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16882 ac_res=$ac_cv_search_gethostbyname
16883 if test "$ac_res" != no; then :
16884 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16890 $as_echo_n "checking for library containing connect... " >&6; }
16891 if ${ac_cv_search_connect+:} false; then :
16892 $as_echo_n "(cached) " >&6
16893 else
16894 ac_func_search_save_LIBS=$LIBS
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16898 /* Override any GCC internal prototype to avoid an error.
16899 Use char because int might match the return type of a GCC
16900 builtin and then its argument prototype would still apply. */
16901 #ifdef __cplusplus
16902 extern "C"
16903 #endif
16904 char connect ();
16906 main ()
16908 return connect ();
16910 return 0;
16912 _ACEOF
16913 for ac_lib in '' socket; do
16914 if test -z "$ac_lib"; then
16915 ac_res="none required"
16916 else
16917 ac_res=-l$ac_lib
16918 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16920 if ac_fn_c_try_link "$LINENO"; then :
16921 ac_cv_search_connect=$ac_res
16923 rm -f core conftest.err conftest.$ac_objext \
16924 conftest$ac_exeext
16925 if ${ac_cv_search_connect+:} false; then :
16926 break
16928 done
16929 if ${ac_cv_search_connect+:} false; then :
16931 else
16932 ac_cv_search_connect=no
16934 rm conftest.$ac_ext
16935 LIBS=$ac_func_search_save_LIBS
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16938 $as_echo "$ac_cv_search_connect" >&6; }
16939 ac_res=$ac_cv_search_connect
16940 if test "$ac_res" != no; then :
16941 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16947 $as_echo_n "checking for library containing inet_aton... " >&6; }
16948 if ${ac_cv_search_inet_aton+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_func_search_save_LIBS=$LIBS
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16958 #ifdef __cplusplus
16959 extern "C"
16960 #endif
16961 char inet_aton ();
16963 main ()
16965 return inet_aton ();
16967 return 0;
16969 _ACEOF
16970 for ac_lib in '' resolv; do
16971 if test -z "$ac_lib"; then
16972 ac_res="none required"
16973 else
16974 ac_res=-l$ac_lib
16975 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16977 if ac_fn_c_try_link "$LINENO"; then :
16978 ac_cv_search_inet_aton=$ac_res
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext
16982 if ${ac_cv_search_inet_aton+:} false; then :
16983 break
16985 done
16986 if ${ac_cv_search_inet_aton+:} false; then :
16988 else
16989 ac_cv_search_inet_aton=no
16991 rm conftest.$ac_ext
16992 LIBS=$ac_func_search_save_LIBS
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16995 $as_echo "$ac_cv_search_inet_aton" >&6; }
16996 ac_res=$ac_cv_search_inet_aton
16997 if test "$ac_res" != no; then :
16998 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17003 for ac_func in \
17004 getaddrinfo \
17005 getnameinfo \
17006 getnetbyname \
17007 getprotobyname \
17008 getprotobynumber \
17009 getservbyport \
17010 inet_addr \
17011 inet_network \
17012 inet_ntop \
17013 inet_pton \
17014 sendmsg \
17015 socketpair \
17017 do :
17018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17020 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17023 _ACEOF
17026 done
17029 ac_save_LIBS=$LIBS
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17031 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17032 if ${ac_cv_search_clock_gettime+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_func_search_save_LIBS=$LIBS
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 #ifdef __cplusplus
17043 extern "C"
17044 #endif
17045 char clock_gettime ();
17047 main ()
17049 return clock_gettime ();
17051 return 0;
17053 _ACEOF
17054 for ac_lib in '' rt; do
17055 if test -z "$ac_lib"; then
17056 ac_res="none required"
17057 else
17058 ac_res=-l$ac_lib
17059 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_search_clock_gettime=$ac_res
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext
17066 if ${ac_cv_search_clock_gettime+:} false; then :
17067 break
17069 done
17070 if ${ac_cv_search_clock_gettime+:} false; then :
17072 else
17073 ac_cv_search_clock_gettime=no
17075 rm conftest.$ac_ext
17076 LIBS=$ac_func_search_save_LIBS
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17079 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17080 ac_res=$ac_cv_search_clock_gettime
17081 if test "$ac_res" != no; then :
17082 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17084 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17086 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17090 LIBS=$ac_save_LIBS
17092 if test "x$with_ldap" != "xno"
17093 then
17094 if ${LDAP_CFLAGS:+false} :; then :
17095 if ${PKG_CONFIG+:} false; then :
17096 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17100 if ${LDAP_LIBS:+false} :; then :
17101 if ${PKG_CONFIG+:} false; then :
17102 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17106 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17107 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17108 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17109 ac_save_CPPFLAGS=$CPPFLAGS
17110 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17111 for ac_header in ldap.h lber.h
17112 do :
17113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17114 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17115 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17116 cat >>confdefs.h <<_ACEOF
17117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17118 _ACEOF
17122 done
17124 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17125 then
17126 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17128 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17130 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17131 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 ac_check_lib_save_LIBS=$LIBS
17135 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17142 #ifdef __cplusplus
17143 extern "C"
17144 #endif
17145 char ldap_initialize ();
17147 main ()
17149 return ldap_initialize ();
17151 return 0;
17153 _ACEOF
17154 if ac_fn_c_try_link "$LINENO"; then :
17155 ac_cv_lib_ldap_r_ldap_initialize=yes
17156 else
17157 ac_cv_lib_ldap_r_ldap_initialize=no
17159 rm -f core conftest.err conftest.$ac_objext \
17160 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17164 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17165 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17167 $as_echo_n "checking for ber_init in -llber... " >&6; }
17168 if ${ac_cv_lib_lber_ber_init+:} false; then :
17169 $as_echo_n "(cached) " >&6
17170 else
17171 ac_check_lib_save_LIBS=$LIBS
17172 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17176 /* Override any GCC internal prototype to avoid an error.
17177 Use char because int might match the return type of a GCC
17178 builtin and then its argument prototype would still apply. */
17179 #ifdef __cplusplus
17180 extern "C"
17181 #endif
17182 char ber_init ();
17184 main ()
17186 return ber_init ();
17188 return 0;
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_lib_lber_ber_init=yes
17193 else
17194 ac_cv_lib_lber_ber_init=no
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17198 LIBS=$ac_check_lib_save_LIBS
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17201 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17202 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17204 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17206 else
17207 LDAP_LIBS=""
17210 else
17211 LDAP_LIBS=""
17214 else
17215 LDAP_LIBS=""
17218 ac_wine_check_funcs_save_LIBS="$LIBS"
17219 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17220 for ac_func in \
17221 ldap_count_references \
17222 ldap_first_reference \
17223 ldap_next_reference \
17224 ldap_parse_reference \
17225 ldap_parse_sort_control \
17226 ldap_parse_sortresponse_control \
17227 ldap_parse_vlv_control \
17228 ldap_parse_vlvresponse_control
17229 do :
17230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17233 cat >>confdefs.h <<_ACEOF
17234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17235 _ACEOF
17238 done
17240 LIBS="$ac_wine_check_funcs_save_LIBS"
17241 else
17242 LDAP_LIBS=""
17244 CPPFLAGS=$ac_save_CPPFLAGS
17245 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17246 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17249 if test "x$LDAP_LIBS" = "x"; then :
17250 case "x$with_ldap" in
17251 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17252 xno) ;;
17253 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17254 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17255 esac
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17260 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17261 if ${wine_cv_one_arg_mkdir+:} false; then :
17262 $as_echo_n "(cached) " >&6
17263 else
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 #include <sys/stat.h>
17268 main ()
17270 mkdir("foo");
17272 return 0;
17274 _ACEOF
17275 if ac_fn_c_try_compile "$LINENO"; then :
17276 wine_cv_one_arg_mkdir=yes
17277 else
17278 wine_cv_one_arg_mkdir=no
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17283 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17284 if test "$wine_cv_one_arg_mkdir" = "yes"
17285 then
17287 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17292 $as_echo_n "checking for sched_setaffinity... " >&6; }
17293 if ${wine_cv_have_sched_setaffinity+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #define _GNU_SOURCE
17299 #include <sched.h>
17301 main ()
17303 sched_setaffinity(0, 0, 0);
17305 return 0;
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 wine_cv_have_sched_setaffinity=yes
17310 else
17311 wine_cv_have_sched_setaffinity=no
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17317 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17318 if test "$wine_cv_have_sched_setaffinity" = "yes"
17319 then
17321 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17326 $as_echo_n "checking for fallocate... " >&6; }
17327 if ${wine_cv_have_fallocate+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #define _GNU_SOURCE
17333 #include <fcntl.h>
17335 main ()
17337 fallocate(-1, 0, 0, 0);
17339 return 0;
17341 _ACEOF
17342 if ac_fn_c_try_link "$LINENO"; then :
17343 wine_cv_have_fallocate=yes
17344 else
17345 wine_cv_have_fallocate=no
17347 rm -f core conftest.err conftest.$ac_objext \
17348 conftest$ac_exeext conftest.$ac_ext
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17351 $as_echo "$wine_cv_have_fallocate" >&6; }
17352 if test "$wine_cv_have_fallocate" = "yes"
17353 then
17355 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17361 $as_echo_n "checking for inline... " >&6; }
17362 if ${ac_cv_c_inline+:} false; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 ac_cv_c_inline=no
17366 for ac_kw in inline __inline__ __inline; do
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #ifndef __cplusplus
17370 typedef int foo_t;
17371 static $ac_kw foo_t static_foo () {return 0; }
17372 $ac_kw foo_t foo () {return 0; }
17373 #endif
17375 _ACEOF
17376 if ac_fn_c_try_compile "$LINENO"; then :
17377 ac_cv_c_inline=$ac_kw
17379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17380 test "$ac_cv_c_inline" != no && break
17381 done
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17385 $as_echo "$ac_cv_c_inline" >&6; }
17387 case $ac_cv_c_inline in
17388 inline | yes) ;;
17390 case $ac_cv_c_inline in
17391 no) ac_val=;;
17392 *) ac_val=$ac_cv_c_inline;;
17393 esac
17394 cat >>confdefs.h <<_ACEOF
17395 #ifndef __cplusplus
17396 #define inline $ac_val
17397 #endif
17398 _ACEOF
17400 esac
17402 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17403 if test "x$ac_cv_type_mode_t" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_MODE_T 1
17407 _ACEOF
17411 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17412 if test "x$ac_cv_type_off_t" = xyes; then :
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_OFF_T 1
17416 _ACEOF
17420 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17421 if test "x$ac_cv_type_pid_t" = xyes; then :
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_PID_T 1
17425 _ACEOF
17429 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17430 if test "x$ac_cv_type_size_t" = xyes; then :
17432 cat >>confdefs.h <<_ACEOF
17433 #define HAVE_SIZE_T 1
17434 _ACEOF
17438 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17439 if test "x$ac_cv_type_ssize_t" = xyes; then :
17441 cat >>confdefs.h <<_ACEOF
17442 #define HAVE_SSIZE_T 1
17443 _ACEOF
17447 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17448 if test "x$ac_cv_type_long_long" = xyes; then :
17450 cat >>confdefs.h <<_ACEOF
17451 #define HAVE_LONG_LONG 1
17452 _ACEOF
17456 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17457 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17459 cat >>confdefs.h <<_ACEOF
17460 #define HAVE_FSBLKCNT_T 1
17461 _ACEOF
17465 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17466 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17468 cat >>confdefs.h <<_ACEOF
17469 #define HAVE_FSFILCNT_T 1
17470 _ACEOF
17475 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17476 #include <signal.h>
17478 if test "x$ac_cv_type_sigset_t" = xyes; then :
17480 cat >>confdefs.h <<_ACEOF
17481 #define HAVE_SIGSET_T 1
17482 _ACEOF
17487 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17489 if test "x$ac_cv_type_request_sense" = xyes; then :
17491 cat >>confdefs.h <<_ACEOF
17492 #define HAVE_REQUEST_SENSE 1
17493 _ACEOF
17499 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17500 #ifdef HAVE_SYS_SOCKET_H
17501 #include <sys/socket.h>
17502 #endif
17503 #ifdef HAVE_SYS_SOCKETVAR_H
17504 #include <sys/socketvar.h>
17505 #endif
17506 #ifdef HAVE_NET_ROUTE_H
17507 #include <net/route.h>
17508 #endif
17509 #ifdef HAVE_NETINET_IN_H
17510 #include <netinet/in.h>
17511 #endif
17512 #ifdef HAVE_NETINET_IN_SYSTM_H
17513 #include <netinet/in_systm.h>
17514 #endif
17515 #ifdef HAVE_NETINET_IP_H
17516 #include <netinet/ip.h>
17517 #endif
17518 #ifdef HAVE_NETINET_IN_PCB_H
17519 #include <netinet/in_pcb.h>
17520 #endif
17522 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17524 cat >>confdefs.h <<_ACEOF
17525 #define HAVE_STRUCT_XINPGEN 1
17526 _ACEOF
17532 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17533 #include <link.h>
17534 #endif
17535 #ifdef HAVE_SYS_LINK_H
17536 #include <sys/link.h>
17537 #endif
17539 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17541 cat >>confdefs.h <<_ACEOF
17542 #define HAVE_STRUCT_R_DEBUG 1
17543 _ACEOF
17547 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17548 #include <link.h>
17549 #endif
17550 #ifdef HAVE_SYS_LINK_H
17551 #include <sys/link.h>
17552 #endif
17554 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17556 cat >>confdefs.h <<_ACEOF
17557 #define HAVE_STRUCT_LINK_MAP 1
17558 _ACEOF
17564 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17565 #include <linux/input.h>
17566 #endif
17568 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17570 cat >>confdefs.h <<_ACEOF
17571 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17572 _ACEOF
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17579 $as_echo_n "checking for if_nameindex... " >&6; }
17580 if ${wine_cv_have_if_nameindex+:} false; then :
17581 $as_echo_n "(cached) " >&6
17582 else
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #ifdef HAVE_SYS_TYPES_H
17586 #include <sys/types.h>
17587 #endif
17588 #ifdef HAVE_SYS_SOCKET_H
17589 #include <sys/socket.h>
17590 #endif
17591 #ifdef HAVE_NET_IF_H
17592 # include <net/if.h>
17593 #endif
17595 main ()
17597 struct if_nameindex *p = if_nameindex(); return p->if_index;
17599 return 0;
17601 _ACEOF
17602 if ac_fn_c_try_link "$LINENO"; then :
17603 wine_cv_have_if_nameindex=yes
17604 else
17605 wine_cv_have_if_nameindex=no
17607 rm -f core conftest.err conftest.$ac_objext \
17608 conftest$ac_exeext conftest.$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17611 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17612 if test "$wine_cv_have_if_nameindex" = "yes"
17613 then
17615 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17620 $as_echo_n "checking for sigaddset... " >&6; }
17621 if ${wine_cv_have_sigaddset+:} false; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #include <signal.h>
17628 main ()
17630 sigset_t set; sigaddset(&set,SIGTERM);
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 wine_cv_have_sigaddset=yes
17637 else
17638 wine_cv_have_sigaddset=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17644 $as_echo "$wine_cv_have_sigaddset" >&6; }
17645 if test "$wine_cv_have_sigaddset" = "yes"
17646 then
17648 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17654 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17655 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 #include <netdb.h>
17662 main ()
17665 char *name=0;
17666 struct hostent he;
17667 struct hostent *result;
17668 char *buf=0;
17669 int bufsize=0;
17670 int errnr;
17671 char *addr=0;
17672 int addrlen=0;
17673 int addrtype=0;
17674 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17675 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17678 return 0;
17680 _ACEOF
17681 if ac_fn_c_try_link "$LINENO"; then :
17682 wine_cv_linux_gethostbyname_r_6=yes
17683 else
17684 wine_cv_linux_gethostbyname_r_6=no
17687 rm -f core conftest.err conftest.$ac_objext \
17688 conftest$ac_exeext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17692 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17693 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17694 then
17696 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17700 if test "$ac_cv_header_linux_joystick_h" = "yes"
17701 then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17703 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17704 if ${wine_cv_linux_joystick_22_api+:} false; then :
17705 $as_echo_n "(cached) " >&6
17706 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17710 #include <sys/ioctl.h>
17711 #include <sys/types.h>
17712 #include <linux/joystick.h>
17714 struct js_event blub;
17715 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17716 #error "no 2.2 header"
17717 #endif
17720 main ()
17722 /*empty*/
17724 return 0;
17726 _ACEOF
17727 if ac_fn_c_try_compile "$LINENO"; then :
17728 wine_cv_linux_joystick_22_api=yes
17729 else
17730 wine_cv_linux_joystick_22_api=no
17732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17736 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17737 if test "$wine_cv_linux_joystick_22_api" = "yes"
17738 then
17740 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17746 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17747 #ifdef HAVE_SYS_PARAM_H
17748 # include <sys/param.h>
17749 #endif
17750 #ifdef HAVE_SYS_MOUNT_H
17751 # include <sys/mount.h>
17752 #endif
17753 #ifdef HAVE_SYS_VFS_H
17754 # include <sys/vfs.h>
17755 #endif
17756 #ifdef HAVE_SYS_STATFS_H
17757 # include <sys/statfs.h>
17758 #endif
17760 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17762 cat >>confdefs.h <<_ACEOF
17763 #define HAVE_STRUCT_STATFS_F_BFREE 1
17764 _ACEOF
17768 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17769 #ifdef HAVE_SYS_PARAM_H
17770 # include <sys/param.h>
17771 #endif
17772 #ifdef HAVE_SYS_MOUNT_H
17773 # include <sys/mount.h>
17774 #endif
17775 #ifdef HAVE_SYS_VFS_H
17776 # include <sys/vfs.h>
17777 #endif
17778 #ifdef HAVE_SYS_STATFS_H
17779 # include <sys/statfs.h>
17780 #endif
17782 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17784 cat >>confdefs.h <<_ACEOF
17785 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17786 _ACEOF
17790 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17791 #ifdef HAVE_SYS_PARAM_H
17792 # include <sys/param.h>
17793 #endif
17794 #ifdef HAVE_SYS_MOUNT_H
17795 # include <sys/mount.h>
17796 #endif
17797 #ifdef HAVE_SYS_VFS_H
17798 # include <sys/vfs.h>
17799 #endif
17800 #ifdef HAVE_SYS_STATFS_H
17801 # include <sys/statfs.h>
17802 #endif
17804 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17806 cat >>confdefs.h <<_ACEOF
17807 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17808 _ACEOF
17812 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17813 #ifdef HAVE_SYS_PARAM_H
17814 # include <sys/param.h>
17815 #endif
17816 #ifdef HAVE_SYS_MOUNT_H
17817 # include <sys/mount.h>
17818 #endif
17819 #ifdef HAVE_SYS_VFS_H
17820 # include <sys/vfs.h>
17821 #endif
17822 #ifdef HAVE_SYS_STATFS_H
17823 # include <sys/statfs.h>
17824 #endif
17826 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17828 cat >>confdefs.h <<_ACEOF
17829 #define HAVE_STRUCT_STATFS_F_FFREE 1
17830 _ACEOF
17834 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17835 #ifdef HAVE_SYS_PARAM_H
17836 # include <sys/param.h>
17837 #endif
17838 #ifdef HAVE_SYS_MOUNT_H
17839 # include <sys/mount.h>
17840 #endif
17841 #ifdef HAVE_SYS_VFS_H
17842 # include <sys/vfs.h>
17843 #endif
17844 #ifdef HAVE_SYS_STATFS_H
17845 # include <sys/statfs.h>
17846 #endif
17848 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17852 _ACEOF
17856 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17857 #ifdef HAVE_SYS_PARAM_H
17858 # include <sys/param.h>
17859 #endif
17860 #ifdef HAVE_SYS_MOUNT_H
17861 # include <sys/mount.h>
17862 #endif
17863 #ifdef HAVE_SYS_VFS_H
17864 # include <sys/vfs.h>
17865 #endif
17866 #ifdef HAVE_SYS_STATFS_H
17867 # include <sys/statfs.h>
17868 #endif
17870 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17872 cat >>confdefs.h <<_ACEOF
17873 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17874 _ACEOF
17880 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17881 #include <sys/statvfs.h>
17882 #endif
17884 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17886 cat >>confdefs.h <<_ACEOF
17887 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17888 _ACEOF
17894 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17895 #include <dirent.h>
17896 #endif
17898 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17900 cat >>confdefs.h <<_ACEOF
17901 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17902 _ACEOF
17908 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17909 #ifdef HAVE_SYS_SOCKET_H
17910 # include <sys/socket.h>
17911 #endif
17912 #ifdef HAVE_SYS_UN_H
17913 # include <sys/un.h>
17914 #endif
17916 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17918 cat >>confdefs.h <<_ACEOF
17919 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17920 _ACEOF
17924 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17925 #ifdef HAVE_SYS_SOCKET_H
17926 # include <sys/socket.h>
17927 #endif
17928 #ifdef HAVE_SYS_UN_H
17929 # include <sys/un.h>
17930 #endif
17932 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17934 cat >>confdefs.h <<_ACEOF
17935 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17936 _ACEOF
17940 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17941 #ifdef HAVE_SYS_SOCKET_H
17942 # include <sys/socket.h>
17943 #endif
17944 #ifdef HAVE_SYS_UN_H
17945 # include <sys/un.h>
17946 #endif
17948 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17950 cat >>confdefs.h <<_ACEOF
17951 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17952 _ACEOF
17958 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17959 #ifdef HAVE_SCSI_SG_H
17960 #include <scsi/sg.h>
17961 #endif
17963 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17965 cat >>confdefs.h <<_ACEOF
17966 #define HAVE_SCSIREQ_T_CMD 1
17967 _ACEOF
17971 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>
17972 #ifdef HAVE_SCSI_SG_H
17973 #include <scsi/sg.h>
17974 #endif
17976 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17980 _ACEOF
17986 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17988 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17990 cat >>confdefs.h <<_ACEOF
17991 #define HAVE_SIGINFO_T_SI_FD 1
17992 _ACEOF
17998 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17999 #ifdef HAVE_SYS_MTIO_H
18000 #include <sys/mtio.h>
18001 #endif
18003 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18005 cat >>confdefs.h <<_ACEOF
18006 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18007 _ACEOF
18011 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18012 #ifdef HAVE_SYS_MTIO_H
18013 #include <sys/mtio.h>
18014 #endif
18016 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18018 cat >>confdefs.h <<_ACEOF
18019 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18020 _ACEOF
18024 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18025 #ifdef HAVE_SYS_MTIO_H
18026 #include <sys/mtio.h>
18027 #endif
18029 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18033 _ACEOF
18039 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18040 #include <getopt.h>
18041 #endif
18043 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18045 cat >>confdefs.h <<_ACEOF
18046 #define HAVE_STRUCT_OPTION_NAME 1
18047 _ACEOF
18053 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18054 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18058 _ACEOF
18062 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18063 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_STRUCT_STAT_ST_MTIM 1
18067 _ACEOF
18071 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18072 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18076 _ACEOF
18080 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18081 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18083 cat >>confdefs.h <<_ACEOF
18084 #define HAVE_STRUCT_STAT_ST_CTIM 1
18085 _ACEOF
18089 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18090 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18092 cat >>confdefs.h <<_ACEOF
18093 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18094 _ACEOF
18098 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18099 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18101 cat >>confdefs.h <<_ACEOF
18102 #define HAVE_STRUCT_STAT_ST_ATIM 1
18103 _ACEOF
18107 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18108 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18110 cat >>confdefs.h <<_ACEOF
18111 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18112 _ACEOF
18116 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18117 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18119 cat >>confdefs.h <<_ACEOF
18120 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18121 _ACEOF
18125 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18126 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18128 cat >>confdefs.h <<_ACEOF
18129 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18130 _ACEOF
18134 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18135 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18137 cat >>confdefs.h <<_ACEOF
18138 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18139 _ACEOF
18143 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18144 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18146 cat >>confdefs.h <<_ACEOF
18147 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18148 _ACEOF
18152 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18153 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18155 cat >>confdefs.h <<_ACEOF
18156 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18157 _ACEOF
18163 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
18164 #include <sys/types.h>
18165 #endif
18166 #ifdef HAVE_NETINET_IN_H
18167 #include <netinet/in.h>
18168 #endif
18170 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18172 cat >>confdefs.h <<_ACEOF
18173 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18174 _ACEOF
18180 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18181 #include <sys/types.h>
18182 #endif
18183 #ifdef HAVE_NETINET_IN_H
18184 #include <netinet/in.h>
18185 #endif
18186 #ifdef HAVE_RESOLV_H
18187 #include <resolv.h>
18188 #endif
18190 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18192 cat >>confdefs.h <<_ACEOF
18193 #define HAVE_STRUCT___RES_STATE 1
18194 _ACEOF
18200 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
18201 #include <resolv.h>
18202 #endif
18204 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18206 cat >>confdefs.h <<_ACEOF
18207 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18208 _ACEOF
18214 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18215 #include <sys/types.h>
18216 #endif
18217 #ifdef HAVE_NETINET_IN_H
18218 # include <netinet/in.h>
18219 #endif
18220 #ifdef HAVE_ARPA_NAMESER_H
18221 # include <arpa/nameser.h>
18222 #endif
18224 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18226 cat >>confdefs.h <<_ACEOF
18227 #define HAVE_NS_MSG__MSG_PTR 1
18228 _ACEOF
18234 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18235 #include <sys/types.h>
18236 #endif
18237 #ifdef HAVE_NETINET_IN_H
18238 #include <netinet/in.h>
18239 #endif
18240 #ifdef HAVE_NETINET_IP_H
18241 #include <netinet/ip.h>
18242 #endif
18243 #ifdef HAVE_NETINET_IP_ICMP_H
18244 #include <netinet/ip_icmp.h>
18245 #endif
18246 #ifdef HAVE_NETINET_ICMP_VAR_H
18247 #include <netinet/icmp_var.h>
18248 #endif
18250 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18252 cat >>confdefs.h <<_ACEOF
18253 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18254 _ACEOF
18260 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18261 #include <sys/types.h>
18262 #endif
18263 #ifdef HAVE_ALIAS_H
18264 #include <alias.h>
18265 #endif
18266 #ifdef HAVE_SYS_SOCKET_H
18267 #include <sys/socket.h>
18268 #endif
18269 #ifdef HAVE_SYS_SOCKETVAR_H
18270 #include <sys/socketvar.h>
18271 #endif
18272 #ifdef HAVE_SYS_TIMEOUT_H
18273 #include <sys/timeout.h>
18274 #endif
18275 #ifdef HAVE_NETINET_IN_H
18276 #include <netinet/in.h>
18277 #endif
18278 #ifdef HAVE_NETINET_IN_SYSTM_H
18279 #include <netinet/in_systm.h>
18280 #endif
18281 #ifdef HAVE_NETINET_IP_H
18282 #include <netinet/ip.h>
18283 #endif
18284 #ifdef HAVE_NETINET_IP_VAR_H
18285 #include <netinet/ip_var.h>
18286 #endif
18287 #ifdef HAVE_NETINET_IP_ICMP_H
18288 #include <netinet/ip_icmp.h>
18289 #endif
18290 #ifdef HAVE_NETINET_ICMP_VAR_H
18291 #include <netinet/icmp_var.h>
18292 #endif
18294 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18296 cat >>confdefs.h <<_ACEOF
18297 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18298 _ACEOF
18304 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18305 #include <sys/types.h>
18306 #endif
18307 #ifdef HAVE_SYS_SOCKETVAR_H
18308 #include <sys/socketvar.h>
18309 #endif
18310 #ifdef HAVE_NETINET_IN_H
18311 #include <netinet/in.h>
18312 #endif
18313 #ifdef HAVE_NETINET_IP_VAR_H
18314 #include <netinet/ip_var.h>
18315 #endif
18317 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18321 _ACEOF
18327 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
18328 #include <netinet/ip_var.h>
18329 #endif
18331 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18333 cat >>confdefs.h <<_ACEOF
18334 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18335 _ACEOF
18341 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18342 #include <sys/types.h>
18343 #endif
18344 #ifdef HAVE_SYS_SOCKETVAR_H
18345 #include <sys/socketvar.h>
18346 #endif
18347 #ifdef HAVE_NETINET_IN_H
18348 #include <netinet/in.h>
18349 #endif
18350 #ifdef HAVE_NETINET_TCP_H
18351 #include <netinet/tcp.h>
18352 #endif
18353 #ifdef HAVE_NETINET_TCP_VAR_H
18354 #include <netinet/tcp_var.h>
18355 #endif
18357 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18359 cat >>confdefs.h <<_ACEOF
18360 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18361 _ACEOF
18367 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
18368 #include <netinet/tcp_var.h>
18369 #endif
18371 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18373 cat >>confdefs.h <<_ACEOF
18374 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18375 _ACEOF
18381 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18382 #include <sys/types.h>
18383 #endif
18384 #ifdef HAVE_NETINET_IN_H
18385 #include <netinet/in.h>
18386 #endif
18387 #ifdef HAVE_NETINET_IP_VAR_H
18388 #include <netinet/ip_var.h>
18389 #endif
18390 #ifdef HAVE_NETINET_UDP_H
18391 #include <netinet/udp.h>
18392 #endif
18393 #ifdef HAVE_NETINET_UDP_VAR_H
18394 #include <netinet/udp_var.h>
18395 #endif
18397 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18399 cat >>confdefs.h <<_ACEOF
18400 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18401 _ACEOF
18407 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18408 #include <sys/types.h>
18409 #endif
18410 #ifdef HAVE_NET_IF_H
18411 # include <net/if.h>
18412 #endif
18414 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18416 cat >>confdefs.h <<_ACEOF
18417 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18418 _ACEOF
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18425 $as_echo_n "checking for timezone variable... " >&6; }
18426 if ${ac_cv_have_timezone+:} false; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <time.h>
18433 main ()
18435 timezone = 1
18437 return 0;
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"; then :
18441 ac_cv_have_timezone="yes"
18442 else
18443 ac_cv_have_timezone="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_timezone" >&5
18449 $as_echo "$ac_cv_have_timezone" >&6; }
18450 if test "$ac_cv_have_timezone" = "yes"
18451 then
18453 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18457 $as_echo_n "checking for daylight variable... " >&6; }
18458 if ${ac_cv_have_daylight+:} false; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18463 #include <time.h>
18465 main ()
18467 daylight = 1
18469 return 0;
18471 _ACEOF
18472 if ac_fn_c_try_link "$LINENO"; then :
18473 ac_cv_have_daylight="yes"
18474 else
18475 ac_cv_have_daylight="no"
18477 rm -f core conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18481 $as_echo "$ac_cv_have_daylight" >&6; }
18482 if test "$ac_cv_have_daylight" = "yes"
18483 then
18485 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18489 ac_save_LIBS="$LIBS"
18490 LIBS="$LIBS -lm"
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18492 $as_echo_n "checking for isfinite... " >&6; }
18493 if ${ac_cv_have_isfinite+:} false; then :
18494 $as_echo_n "(cached) " >&6
18495 else
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 #define _GNU_SOURCE
18499 #include <math.h>
18501 main ()
18503 float f = 0.0; return isfinite(f)
18505 return 0;
18507 _ACEOF
18508 if ac_fn_c_try_link "$LINENO"; then :
18509 ac_cv_have_isfinite="yes"
18510 else
18511 ac_cv_have_isfinite="no"
18513 rm -f core conftest.err conftest.$ac_objext \
18514 conftest$ac_exeext conftest.$ac_ext
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18517 $as_echo "$ac_cv_have_isfinite" >&6; }
18518 if test "$ac_cv_have_isfinite" = "yes"
18519 then
18521 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18526 $as_echo_n "checking for isinf... " >&6; }
18527 if ${ac_cv_have_isinf+:} false; then :
18528 $as_echo_n "(cached) " >&6
18529 else
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #include <math.h>
18534 main ()
18536 float f = 0.0; return isinf(f)
18538 return 0;
18540 _ACEOF
18541 if ac_fn_c_try_link "$LINENO"; then :
18542 ac_cv_have_isinf="yes"
18543 else
18544 ac_cv_have_isinf="no"
18546 rm -f core conftest.err conftest.$ac_objext \
18547 conftest$ac_exeext conftest.$ac_ext
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18550 $as_echo "$ac_cv_have_isinf" >&6; }
18551 if test "$ac_cv_have_isinf" = "yes"
18552 then
18554 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18559 $as_echo_n "checking for isnan... " >&6; }
18560 if ${ac_cv_have_isnan+:} false; then :
18561 $as_echo_n "(cached) " >&6
18562 else
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <math.h>
18567 main ()
18569 float f = 0.0; return isnan(f)
18571 return 0;
18573 _ACEOF
18574 if ac_fn_c_try_link "$LINENO"; then :
18575 ac_cv_have_isnan="yes"
18576 else
18577 ac_cv_have_isnan="no"
18579 rm -f core conftest.err conftest.$ac_objext \
18580 conftest$ac_exeext conftest.$ac_ext
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18583 $as_echo "$ac_cv_have_isnan" >&6; }
18584 if test "$ac_cv_have_isnan" = "yes"
18585 then
18587 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18591 for ac_func in \
18592 acosh \
18593 acoshf \
18594 asinh \
18595 asinhf \
18596 atanh \
18597 atanhf \
18598 cbrt \
18599 cbrtf \
18600 erf \
18601 erfc \
18602 erfcf \
18603 erff \
18604 exp2 \
18605 exp2f \
18606 expm1 \
18607 expm1f \
18608 j0 \
18609 j1 \
18610 jn \
18611 lgamma \
18612 lgammaf \
18613 llrint \
18614 llrintf \
18615 llround \
18616 llroundf \
18617 log1p \
18618 log1pf \
18619 log2 \
18620 log2f \
18621 lrint \
18622 lrintf \
18623 lround \
18624 lroundf \
18625 nearbyint \
18626 nearbyintf \
18627 powl \
18628 remainder \
18629 remainderf \
18630 rint \
18631 rintf \
18632 round \
18633 roundf \
18634 trunc \
18635 truncf \
18636 y0 \
18637 y1 \
18640 do :
18641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18644 cat >>confdefs.h <<_ACEOF
18645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18646 _ACEOF
18649 done
18651 LIBS="$ac_save_LIBS"
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18654 $as_echo_n "checking for __builtin_clz... " >&6; }
18655 if ${ac_cv_have___builtin_clz+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18662 main ()
18664 return __builtin_clz(1)
18666 return 0;
18668 _ACEOF
18669 if ac_fn_c_try_link "$LINENO"; then :
18670 ac_cv_have___builtin_clz="yes"
18671 else
18672 ac_cv_have___builtin_clz="no"
18674 rm -f core conftest.err conftest.$ac_objext \
18675 conftest$ac_exeext conftest.$ac_ext
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18678 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18679 if test "$ac_cv_have___builtin_clz" = "yes"
18680 then
18682 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18687 $as_echo_n "checking for __builtin_popcount... " >&6; }
18688 if ${ac_cv_have___builtin_popcount+:} false; then :
18689 $as_echo_n "(cached) " >&6
18690 else
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18695 main ()
18697 return __builtin_popcount(1)
18699 return 0;
18701 _ACEOF
18702 if ac_fn_c_try_link "$LINENO"; then :
18703 ac_cv_have___builtin_popcount="yes"
18704 else
18705 ac_cv_have___builtin_popcount="no"
18707 rm -f core conftest.err conftest.$ac_objext \
18708 conftest$ac_exeext conftest.$ac_ext
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18711 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18712 if test "$ac_cv_have___builtin_popcount" = "yes"
18713 then
18715 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18720 $as_echo_n "checking for __clear_cache... " >&6; }
18721 if ${ac_cv_have___clear_cache+:} false; then :
18722 $as_echo_n "(cached) " >&6
18723 else
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18728 main ()
18730 __clear_cache((void*)0, (void*)0); return 0;
18732 return 0;
18734 _ACEOF
18735 if ac_fn_c_try_link "$LINENO"; then :
18736 ac_cv_have___clear_cache="yes"
18737 else
18738 ac_cv_have___clear_cache="no"
18740 rm -f core conftest.err conftest.$ac_objext \
18741 conftest$ac_exeext conftest.$ac_ext
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18744 $as_echo "$ac_cv_have___clear_cache" >&6; }
18745 if test "$ac_cv_have___clear_cache" = "yes"
18746 then
18748 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18753 case $host_cpu in
18754 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18755 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18756 if ${ac_cv_cpp_def___i386__+:} false; then :
18757 $as_echo_n "(cached) " >&6
18758 else
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 #ifndef __i386__
18763 #endif
18764 _ACEOF
18765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18766 $EGREP "yes" >/dev/null 2>&1; then :
18767 ac_cv_cpp_def___i386__=yes
18768 else
18769 ac_cv_cpp_def___i386__=no
18771 rm -f conftest*
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18775 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18776 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18777 CFLAGS="$CFLAGS -D__i386__"
18778 LINTFLAGS="$LINTFLAGS -D__i386__"
18779 fi ;;
18780 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18781 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18782 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18783 $as_echo_n "(cached) " >&6
18784 else
18785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 #ifndef __x86_64__
18789 #endif
18790 _ACEOF
18791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18792 $EGREP "yes" >/dev/null 2>&1; then :
18793 ac_cv_cpp_def___x86_64__=yes
18794 else
18795 ac_cv_cpp_def___x86_64__=no
18797 rm -f conftest*
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18801 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18802 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18803 CFLAGS="$CFLAGS -D__x86_64__"
18804 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18805 fi ;;
18806 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18807 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18808 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #ifndef __sparc64__
18815 #endif
18816 _ACEOF
18817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18818 $EGREP "yes" >/dev/null 2>&1; then :
18819 ac_cv_cpp_def___sparc64__=yes
18820 else
18821 ac_cv_cpp_def___sparc64__=no
18823 rm -f conftest*
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18827 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18828 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18829 CFLAGS="$CFLAGS -D__sparc64__"
18830 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18831 fi ;;
18832 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18833 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18834 if ${ac_cv_cpp_def___sparc__+:} false; then :
18835 $as_echo_n "(cached) " >&6
18836 else
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 #ifndef __sparc__
18841 #endif
18842 _ACEOF
18843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18844 $EGREP "yes" >/dev/null 2>&1; then :
18845 ac_cv_cpp_def___sparc__=yes
18846 else
18847 ac_cv_cpp_def___sparc__=no
18849 rm -f conftest*
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18853 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18854 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18855 CFLAGS="$CFLAGS -D__sparc__"
18856 LINTFLAGS="$LINTFLAGS -D__sparc__"
18857 fi ;;
18858 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18859 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18860 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18861 $as_echo_n "(cached) " >&6
18862 else
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 #ifndef __powerpc64__
18867 #endif
18868 _ACEOF
18869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18870 $EGREP "yes" >/dev/null 2>&1; then :
18871 ac_cv_cpp_def___powerpc64__=yes
18872 else
18873 ac_cv_cpp_def___powerpc64__=no
18875 rm -f conftest*
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18879 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18880 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18881 CFLAGS="$CFLAGS -D__powerpc64__"
18882 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18883 fi ;;
18884 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18885 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18886 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18887 $as_echo_n "(cached) " >&6
18888 else
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18891 #ifndef __powerpc__
18893 #endif
18894 _ACEOF
18895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18896 $EGREP "yes" >/dev/null 2>&1; then :
18897 ac_cv_cpp_def___powerpc__=yes
18898 else
18899 ac_cv_cpp_def___powerpc__=no
18901 rm -f conftest*
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18905 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18906 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18907 CFLAGS="$CFLAGS -D__powerpc__"
18908 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18909 fi ;;
18910 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18911 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18912 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18913 $as_echo_n "(cached) " >&6
18914 else
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 #ifndef __aarch64__
18919 #endif
18920 _ACEOF
18921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18922 $EGREP "yes" >/dev/null 2>&1; then :
18923 ac_cv_cpp_def___aarch64__=yes
18924 else
18925 ac_cv_cpp_def___aarch64__=no
18927 rm -f conftest*
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18931 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18932 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18933 CFLAGS="$CFLAGS -D__aarch64__"
18934 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18935 fi ;;
18936 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18937 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18938 if ${ac_cv_cpp_def___arm__+:} false; then :
18939 $as_echo_n "(cached) " >&6
18940 else
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 #ifndef __arm__
18945 #endif
18946 _ACEOF
18947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18948 $EGREP "yes" >/dev/null 2>&1; then :
18949 ac_cv_cpp_def___arm__=yes
18950 else
18951 ac_cv_cpp_def___arm__=no
18953 rm -f conftest*
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18957 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18958 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18959 CFLAGS="$CFLAGS -D__arm__"
18960 LINTFLAGS="$LINTFLAGS -D__arm__"
18961 fi ;;
18962 esac
18964 case $host_vendor in
18965 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18966 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18967 if ${ac_cv_cpp_def___sun__+:} false; then :
18968 $as_echo_n "(cached) " >&6
18969 else
18970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 #ifndef __sun__
18974 #endif
18975 _ACEOF
18976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18977 $EGREP "yes" >/dev/null 2>&1; then :
18978 ac_cv_cpp_def___sun__=yes
18979 else
18980 ac_cv_cpp_def___sun__=no
18982 rm -f conftest*
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18986 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18987 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18988 CFLAGS="$CFLAGS -D__sun__"
18989 LINTFLAGS="$LINTFLAGS -D__sun__"
18990 fi ;;
18991 esac
18997 ac_config_commands="$ac_config_commands include/stamp-h"
18999 $as_echo_n "creating Makefile rules..." >&6
19001 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19002 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19003 IOKIT_LIBS = $IOKIT_LIBS
19004 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19005 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19006 CORESERVICES_LIBS = $CORESERVICES_LIBS
19007 APPKIT_LIBS = $APPKIT_LIBS
19008 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19009 SECURITY_LIBS = $SECURITY_LIBS
19010 COREAUDIO_LIBS = $COREAUDIO_LIBS
19011 OPENAL_LIBS = $OPENAL_LIBS
19012 OPENCL_LIBS = $OPENCL_LIBS
19013 QUICKTIME_LIBS = $QUICKTIME_LIBS
19014 CARBON_LIBS = $CARBON_LIBS
19015 METAL_LIBS = $METAL_LIBS
19016 PTHREAD_LIBS = $PTHREAD_LIBS
19017 X_CFLAGS = $X_CFLAGS
19018 X_PRE_LIBS = $X_PRE_LIBS
19019 X_LIBS = $X_LIBS
19020 X_EXTRA_LIBS = $X_EXTRA_LIBS
19021 PCAP_LIBS = $PCAP_LIBS
19022 XML2_CFLAGS = $XML2_CFLAGS
19023 XML2_LIBS = $XML2_LIBS
19024 XSLT_CFLAGS = $XSLT_CFLAGS
19025 XSLT_LIBS = $XSLT_LIBS
19026 DBUS_CFLAGS = $DBUS_CFLAGS
19027 DBUS_LIBS = $DBUS_LIBS
19028 HAL_CFLAGS = $HAL_CFLAGS
19029 HAL_LIBS = $HAL_LIBS
19030 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19031 GNUTLS_LIBS = $GNUTLS_LIBS
19032 SANE_CFLAGS = $SANE_CFLAGS
19033 SANE_LIBS = $SANE_LIBS
19034 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19035 GPHOTO2_LIBS = $GPHOTO2_LIBS
19036 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19037 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19038 RESOLV_LIBS = $RESOLV_LIBS
19039 LCMS2_CFLAGS = $LCMS2_CFLAGS
19040 LCMS2_LIBS = $LCMS2_LIBS
19041 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19042 FREETYPE_LIBS = $FREETYPE_LIBS
19043 Z_LIBS = $Z_LIBS
19044 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19045 PULSE_CFLAGS = $PULSE_CFLAGS
19046 PULSE_LIBS = $PULSE_LIBS
19047 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19048 GSTREAMER_LIBS = $GSTREAMER_LIBS
19049 ALSA_LIBS = $ALSA_LIBS
19050 OSS4_CFLAGS = $OSS4_CFLAGS
19051 UDEV_CFLAGS = $UDEV_CFLAGS
19052 UDEV_LIBS = $UDEV_LIBS
19053 SDL2_CFLAGS = $SDL2_CFLAGS
19054 SDL2_LIBS = $SDL2_LIBS
19055 CAPI20_CFLAGS = $CAPI20_CFLAGS
19056 CAPI20_LIBS = $CAPI20_LIBS
19057 CUPS_CFLAGS = $CUPS_CFLAGS
19058 CUPS_LIBS = $CUPS_LIBS
19059 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19060 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19061 KRB5_CFLAGS = $KRB5_CFLAGS
19062 KRB5_LIBS = $KRB5_LIBS
19063 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19064 GSSAPI_LIBS = $GSSAPI_LIBS
19065 JPEG_CFLAGS = $JPEG_CFLAGS
19066 JPEG_LIBS = $JPEG_LIBS
19067 PNG_CFLAGS = $PNG_CFLAGS
19068 PNG_LIBS = $PNG_LIBS
19069 TIFF_CFLAGS = $TIFF_CFLAGS
19070 TIFF_LIBS = $TIFF_LIBS
19071 MPG123_CFLAGS = $MPG123_CFLAGS
19072 MPG123_LIBS = $MPG123_LIBS
19073 KSTAT_LIBS = $KSTAT_LIBS
19074 PROCSTAT_LIBS = $PROCSTAT_LIBS
19075 NETAPI_CFLAGS = $NETAPI_CFLAGS
19076 NETAPI_LIBS = $NETAPI_LIBS
19077 VKD3D_CFLAGS = $VKD3D_CFLAGS
19078 VKD3D_LIBS = $VKD3D_LIBS
19079 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19080 DL_LIBS = $DL_LIBS
19081 POLL_LIBS = $POLL_LIBS
19082 RT_LIBS = $RT_LIBS
19083 LDAP_CFLAGS = $LDAP_CFLAGS
19084 LDAP_LIBS = $LDAP_LIBS
19089 wine_fn_append_rule "
19090 # Rules automatically generated by configure
19092 .INIT: Makefile
19093 .MAKEFILEDEPS:
19094 all: Makefile
19095 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19096 @./config.status Make.tmp Makefile
19097 depend: \$(MAKEDEP) dummy
19098 \$(MAKEDEP)"
19100 if test "x$enable_fonts" != xno; then
19101 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19102 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19103 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19104 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19105 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19106 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19108 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19109 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19110 ac_config_links="$ac_config_links wine:tools/winewrapper"
19111 wine_fn_config_symlink wine
19112 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19113 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19114 wine_fn_config_symlink wine64
19117 wine_fn_config_makefile dlls/acledit enable_acledit
19118 wine_fn_config_makefile dlls/aclui enable_aclui
19119 wine_fn_config_makefile dlls/activeds enable_activeds
19120 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19121 wine_fn_config_makefile dlls/adsiid enable_adsiid
19122 wine_fn_config_makefile dlls/adsldp enable_adsldp
19123 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19124 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19125 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19126 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19127 wine_fn_config_makefile dlls/advpack enable_advpack
19128 wine_fn_config_makefile dlls/advpack/tests enable_tests
19129 wine_fn_config_makefile dlls/amstream enable_amstream
19130 wine_fn_config_makefile dlls/amstream/tests enable_tests
19131 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19133 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19134 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19136 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19141 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19149 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19151 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19155 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19156 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19157 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19162 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19163 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19165 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19166 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19169 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19173 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19175 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19180 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19186 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19192 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19193 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19198 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19201 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19205 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19207 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19208 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19209 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19210 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19211 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19214 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19221 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19222 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19223 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19226 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19227 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19228 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19230 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19232 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19233 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19234 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19236 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19237 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19238 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19239 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19240 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19241 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19242 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19244 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19245 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19246 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19247 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19248 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19249 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19250 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19251 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19252 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19253 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19254 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19255 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19256 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19257 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19258 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19259 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19261 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19262 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19263 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19264 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19265 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19266 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19267 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19268 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19269 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19270 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19271 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19272 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19273 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19274 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19275 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19276 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19277 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19278 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19279 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19280 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19281 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19282 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19283 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19284 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19285 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19286 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19287 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19288 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19289 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19290 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19291 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19292 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19293 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19294 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19295 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19296 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19297 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19298 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19299 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19300 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19301 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19302 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19303 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19304 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19305 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19306 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19307 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19308 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19309 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19310 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19311 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19312 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19313 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19314 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19315 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19316 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19317 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19318 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19319 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19320 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19321 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19322 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19323 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19324 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19325 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19326 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19327 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19328 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19329 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19330 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19331 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19332 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19333 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19334 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19335 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19336 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19337 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19338 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19339 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19340 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19341 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19342 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19343 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19344 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19345 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19346 wine_fn_config_makefile dlls/apphelp enable_apphelp
19347 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19348 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19349 wine_fn_config_makefile dlls/atl enable_atl
19350 wine_fn_config_makefile dlls/atl/tests enable_tests
19351 wine_fn_config_makefile dlls/atl100 enable_atl100
19352 wine_fn_config_makefile dlls/atl100/tests enable_tests
19353 wine_fn_config_makefile dlls/atl110 enable_atl110
19354 wine_fn_config_makefile dlls/atl80 enable_atl80
19355 wine_fn_config_makefile dlls/atl80/tests enable_tests
19356 wine_fn_config_makefile dlls/atl90 enable_atl90
19357 wine_fn_config_makefile dlls/atmlib enable_atmlib
19358 wine_fn_config_makefile dlls/authz enable_authz
19359 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19360 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19361 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19362 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19363 wine_fn_config_makefile dlls/avrt enable_avrt
19364 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19365 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19366 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19367 wine_fn_config_makefile dlls/browseui enable_browseui
19368 wine_fn_config_makefile dlls/browseui/tests enable_tests
19369 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19370 wine_fn_config_makefile dlls/cabinet enable_cabinet
19371 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19372 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19373 wine_fn_config_makefile dlls/cards enable_cards
19374 wine_fn_config_makefile dlls/cdosys enable_cdosys
19375 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19376 wine_fn_config_makefile dlls/clusapi enable_clusapi
19377 wine_fn_config_makefile dlls/combase enable_combase
19378 wine_fn_config_makefile dlls/combase/tests enable_tests
19379 wine_fn_config_makefile dlls/comcat enable_comcat
19380 wine_fn_config_makefile dlls/comcat/tests enable_tests
19381 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19382 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19383 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19384 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19385 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19386 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19387 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19388 wine_fn_config_makefile dlls/compstui enable_compstui
19389 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19390 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19391 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19392 wine_fn_config_makefile dlls/connect enable_connect
19393 wine_fn_config_makefile dlls/credui enable_credui
19394 wine_fn_config_makefile dlls/credui/tests enable_tests
19395 wine_fn_config_makefile dlls/crtdll enable_crtdll
19396 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19397 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19398 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19399 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19400 wine_fn_config_makefile dlls/cryptext enable_cryptext
19401 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19402 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19403 wine_fn_config_makefile dlls/cryptui enable_cryptui
19404 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19405 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19406 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19407 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19408 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19409 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19410 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19411 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19412 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19413 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19414 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19415 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19416 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19417 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19418 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19419 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19420 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19421 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19422 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19423 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19424 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19425 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19426 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19427 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19428 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19429 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19430 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19431 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19432 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19433 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19434 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19435 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19436 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19437 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19438 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19439 wine_fn_config_makefile dlls/d3dim enable_d3dim
19440 wine_fn_config_makefile dlls/d3drm enable_d3drm
19441 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19442 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19443 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19444 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19445 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19446 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19447 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19448 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19449 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19450 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19451 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19452 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19453 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19454 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19455 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19456 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19457 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19458 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19459 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19460 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19461 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19462 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19463 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19464 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19465 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19466 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19467 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19468 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19469 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19470 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19471 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19472 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19473 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19474 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19475 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19476 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19477 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19478 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19479 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19480 wine_fn_config_makefile dlls/davclnt enable_davclnt
19481 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19482 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19483 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19484 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19485 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19486 wine_fn_config_makefile dlls/ddraw enable_ddraw
19487 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19488 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19489 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19490 wine_fn_config_makefile dlls/devenum enable_devenum
19491 wine_fn_config_makefile dlls/devenum/tests enable_tests
19492 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19493 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19494 wine_fn_config_makefile dlls/difxapi enable_difxapi
19495 wine_fn_config_makefile dlls/dinput enable_dinput
19496 wine_fn_config_makefile dlls/dinput/tests enable_tests
19497 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19498 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19499 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19500 wine_fn_config_makefile dlls/dispex enable_dispex
19501 wine_fn_config_makefile dlls/dispex/tests enable_tests
19502 wine_fn_config_makefile dlls/display.drv16 enable_win16
19503 wine_fn_config_makefile dlls/dmband enable_dmband
19504 wine_fn_config_makefile dlls/dmband/tests enable_tests
19505 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19506 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19507 wine_fn_config_makefile dlls/dmime enable_dmime
19508 wine_fn_config_makefile dlls/dmime/tests enable_tests
19509 wine_fn_config_makefile dlls/dmloader enable_dmloader
19510 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19511 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19512 wine_fn_config_makefile dlls/dmscript enable_dmscript
19513 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19514 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19515 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19516 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19517 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19518 wine_fn_config_makefile dlls/dmusic enable_dmusic
19519 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19520 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19521 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19522 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19523 wine_fn_config_makefile dlls/dplay enable_dplay
19524 wine_fn_config_makefile dlls/dplayx enable_dplayx
19525 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19526 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19527 wine_fn_config_makefile dlls/dpnet enable_dpnet
19528 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19529 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19530 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19531 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19532 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19533 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19534 wine_fn_config_makefile dlls/drmclien enable_drmclien
19535 wine_fn_config_makefile dlls/dsound enable_dsound
19536 wine_fn_config_makefile dlls/dsound/tests enable_tests
19537 wine_fn_config_makefile dlls/dsquery enable_dsquery
19538 wine_fn_config_makefile dlls/dssenh enable_dssenh
19539 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19540 wine_fn_config_makefile dlls/dswave enable_dswave
19541 wine_fn_config_makefile dlls/dswave/tests enable_tests
19542 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19543 wine_fn_config_makefile dlls/dwrite enable_dwrite
19544 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19545 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19546 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19547 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19548 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19549 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19550 wine_fn_config_makefile dlls/dxgi enable_dxgi
19551 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19552 wine_fn_config_makefile dlls/dxguid enable_dxguid
19553 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19554 wine_fn_config_makefile dlls/esent enable_esent
19555 wine_fn_config_makefile dlls/evr enable_evr
19556 wine_fn_config_makefile dlls/evr/tests enable_tests
19557 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19558 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19559 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19560 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19561 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19562 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19563 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19564 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19565 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19566 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19567 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19568 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19583 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19584 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19588 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19589 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
19590 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19591 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19592 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19593 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19594 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19595 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19596 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19597 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19598 wine_fn_config_makefile dlls/faultrep enable_faultrep
19599 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19600 wine_fn_config_makefile dlls/feclient enable_feclient
19601 wine_fn_config_makefile dlls/fltlib enable_fltlib
19602 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19603 wine_fn_config_makefile dlls/fntcache enable_fntcache
19604 wine_fn_config_makefile dlls/fontsub enable_fontsub
19605 wine_fn_config_makefile dlls/fusion enable_fusion
19606 wine_fn_config_makefile dlls/fusion/tests enable_tests
19607 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19608 wine_fn_config_makefile dlls/gameux enable_gameux
19609 wine_fn_config_makefile dlls/gameux/tests enable_tests
19610 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19611 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19612 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19613 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19614 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19615 wine_fn_config_makefile dlls/glu32 enable_glu32
19616 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19617 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19618 wine_fn_config_makefile dlls/hal enable_hal
19619 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19620 wine_fn_config_makefile dlls/hid enable_hid
19621 wine_fn_config_makefile dlls/hid/tests enable_tests
19622 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19623 wine_fn_config_makefile dlls/hlink enable_hlink
19624 wine_fn_config_makefile dlls/hlink/tests enable_tests
19625 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19626 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19627 wine_fn_config_makefile dlls/httpapi enable_httpapi
19628 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19629 wine_fn_config_makefile dlls/iccvid enable_iccvid
19630 wine_fn_config_makefile dlls/icmp enable_icmp
19631 wine_fn_config_makefile dlls/ieframe enable_ieframe
19632 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19633 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19634 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19635 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19636 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19637 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19638 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19639 wine_fn_config_makefile dlls/imm32 enable_imm32
19640 wine_fn_config_makefile dlls/imm32/tests enable_tests
19641 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19642 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19643 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19644 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19645 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19646 wine_fn_config_makefile dlls/infosoft enable_infosoft
19647 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19648 wine_fn_config_makefile dlls/initpki enable_initpki
19649 wine_fn_config_makefile dlls/inkobj enable_inkobj
19650 wine_fn_config_makefile dlls/inseng enable_inseng
19651 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19652 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19653 wine_fn_config_makefile dlls/iprop enable_iprop
19654 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19655 wine_fn_config_makefile dlls/itircl enable_itircl
19656 wine_fn_config_makefile dlls/itss enable_itss
19657 wine_fn_config_makefile dlls/itss/tests enable_tests
19658 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19659 wine_fn_config_makefile dlls/jscript enable_jscript
19660 wine_fn_config_makefile dlls/jscript/tests enable_tests
19661 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19662 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19663 wine_fn_config_makefile dlls/kerberos enable_kerberos
19664 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19665 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19666 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19667 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19668 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19669 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19670 wine_fn_config_makefile dlls/ksuser enable_ksuser
19671 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19672 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19673 wine_fn_config_makefile dlls/loadperf enable_loadperf
19674 wine_fn_config_makefile dlls/localspl enable_localspl
19675 wine_fn_config_makefile dlls/localspl/tests enable_tests
19676 wine_fn_config_makefile dlls/localui enable_localui
19677 wine_fn_config_makefile dlls/localui/tests enable_tests
19678 wine_fn_config_makefile dlls/lz32 enable_lz32
19679 wine_fn_config_makefile dlls/lz32/tests enable_tests
19680 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19681 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19682 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19683 wine_fn_config_makefile dlls/mapistub enable_mapistub
19684 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19685 wine_fn_config_makefile dlls/mcicda enable_mcicda
19686 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19687 wine_fn_config_makefile dlls/mciseq enable_mciseq
19688 wine_fn_config_makefile dlls/mciwave enable_mciwave
19689 wine_fn_config_makefile dlls/mf enable_mf
19690 wine_fn_config_makefile dlls/mf/tests enable_tests
19691 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19692 wine_fn_config_makefile dlls/mfplat enable_mfplat
19693 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19694 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19695 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19696 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19697 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19698 wine_fn_config_makefile dlls/midimap enable_midimap
19699 wine_fn_config_makefile dlls/mlang enable_mlang
19700 wine_fn_config_makefile dlls/mlang/tests enable_tests
19701 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19702 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19703 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19704 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19705 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19706 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19707 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19708 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19709 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19710 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19711 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19712 wine_fn_config_makefile dlls/mpr enable_mpr
19713 wine_fn_config_makefile dlls/mpr/tests enable_tests
19714 wine_fn_config_makefile dlls/mprapi enable_mprapi
19715 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19716 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19717 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19718 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19719 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19720 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19721 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19722 wine_fn_config_makefile dlls/mscms enable_mscms
19723 wine_fn_config_makefile dlls/mscms/tests enable_tests
19724 wine_fn_config_makefile dlls/mscoree enable_mscoree
19725 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19726 wine_fn_config_makefile dlls/msctf enable_msctf
19727 wine_fn_config_makefile dlls/msctf/tests enable_tests
19728 wine_fn_config_makefile dlls/msctfp enable_msctfp
19729 wine_fn_config_makefile dlls/msdaps enable_msdaps
19730 wine_fn_config_makefile dlls/msdelta enable_msdelta
19731 wine_fn_config_makefile dlls/msdmo enable_msdmo
19732 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19733 wine_fn_config_makefile dlls/msdrm enable_msdrm
19734 wine_fn_config_makefile dlls/msftedit enable_msftedit
19735 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19736 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19737 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19738 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19739 wine_fn_config_makefile dlls/mshtml enable_mshtml
19740 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19741 wine_fn_config_makefile dlls/msi enable_msi
19742 wine_fn_config_makefile dlls/msi/tests enable_tests
19743 wine_fn_config_makefile dlls/msident enable_msident
19744 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19745 wine_fn_config_makefile dlls/msimsg enable_msimsg
19746 wine_fn_config_makefile dlls/msimtf enable_msimtf
19747 wine_fn_config_makefile dlls/msisip enable_msisip
19748 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19749 wine_fn_config_makefile dlls/msls31 enable_msls31
19750 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19751 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19752 wine_fn_config_makefile dlls/msports enable_msports
19753 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19754 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19755 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19756 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19757 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19758 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19759 wine_fn_config_makefile dlls/mstask enable_mstask
19760 wine_fn_config_makefile dlls/mstask/tests enable_tests
19761 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19762 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19763 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19764 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19765 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19766 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19767 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19768 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19769 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19770 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19771 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19772 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19773 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19774 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19775 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19776 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19777 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19778 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19779 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19780 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19781 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19782 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19783 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19784 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19785 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19786 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19787 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19788 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19789 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19790 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19791 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19792 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19793 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19794 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19795 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19796 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19797 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19798 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19799 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19800 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19801 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19802 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19803 wine_fn_config_makefile dlls/mswsock enable_mswsock
19804 wine_fn_config_makefile dlls/msxml enable_msxml
19805 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19806 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19807 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19808 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19809 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19810 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19811 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19812 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19813 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19814 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19815 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19816 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19817 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19818 wine_fn_config_makefile dlls/netprofm enable_netprofm
19819 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19820 wine_fn_config_makefile dlls/newdev enable_newdev
19821 wine_fn_config_makefile dlls/ninput enable_ninput
19822 wine_fn_config_makefile dlls/ninput/tests enable_tests
19823 wine_fn_config_makefile dlls/normaliz enable_normaliz
19824 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19825 wine_fn_config_makefile dlls/npptools enable_npptools
19826 wine_fn_config_makefile dlls/ntdll enable_ntdll
19827 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19828 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19829 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19830 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19831 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19832 wine_fn_config_makefile dlls/ntprint enable_ntprint
19833 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19834 wine_fn_config_makefile dlls/objsel enable_objsel
19835 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19836 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19837 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19838 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19839 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19840 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19841 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19842 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19843 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19844 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19845 wine_fn_config_makefile dlls/ole32 enable_ole32
19846 wine_fn_config_makefile dlls/ole32/tests enable_tests
19847 wine_fn_config_makefile dlls/oleacc enable_oleacc
19848 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19849 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19850 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19851 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19852 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19853 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19854 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19855 wine_fn_config_makefile dlls/oledlg enable_oledlg
19856 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19857 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19858 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19859 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19860 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19861 wine_fn_config_makefile dlls/opcservices enable_opcservices
19862 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19863 wine_fn_config_makefile dlls/openal32 enable_openal32
19864 wine_fn_config_makefile dlls/opencl enable_opencl
19865 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19866 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19867 wine_fn_config_makefile dlls/packager enable_packager
19868 wine_fn_config_makefile dlls/packager/tests enable_tests
19869 wine_fn_config_makefile dlls/pdh enable_pdh
19870 wine_fn_config_makefile dlls/pdh/tests enable_tests
19871 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19872 wine_fn_config_makefile dlls/pidgen enable_pidgen
19873 wine_fn_config_makefile dlls/powrprof enable_powrprof
19874 wine_fn_config_makefile dlls/printui enable_printui
19875 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19876 wine_fn_config_makefile dlls/propsys enable_propsys
19877 wine_fn_config_makefile dlls/propsys/tests enable_tests
19878 wine_fn_config_makefile dlls/psapi enable_psapi
19879 wine_fn_config_makefile dlls/psapi/tests enable_tests
19880 wine_fn_config_makefile dlls/pstorec enable_pstorec
19881 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19882 wine_fn_config_makefile dlls/qcap enable_qcap
19883 wine_fn_config_makefile dlls/qcap/tests enable_tests
19884 wine_fn_config_makefile dlls/qedit enable_qedit
19885 wine_fn_config_makefile dlls/qedit/tests enable_tests
19886 wine_fn_config_makefile dlls/qmgr enable_qmgr
19887 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19888 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19889 wine_fn_config_makefile dlls/quartz enable_quartz
19890 wine_fn_config_makefile dlls/quartz/tests enable_tests
19891 wine_fn_config_makefile dlls/query enable_query
19892 wine_fn_config_makefile dlls/qwave enable_qwave
19893 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19894 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19895 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19896 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19897 wine_fn_config_makefile dlls/regapi enable_regapi
19898 wine_fn_config_makefile dlls/resutils enable_resutils
19899 wine_fn_config_makefile dlls/riched20 enable_riched20
19900 wine_fn_config_makefile dlls/riched20/tests enable_tests
19901 wine_fn_config_makefile dlls/riched32 enable_riched32
19902 wine_fn_config_makefile dlls/riched32/tests enable_tests
19903 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19904 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19905 wine_fn_config_makefile dlls/rsabase enable_rsabase
19906 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19907 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19908 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19909 wine_fn_config_makefile dlls/rtutils enable_rtutils
19910 wine_fn_config_makefile dlls/samlib enable_samlib
19911 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19912 wine_fn_config_makefile dlls/sapi enable_sapi
19913 wine_fn_config_makefile dlls/sapi/tests enable_tests
19914 wine_fn_config_makefile dlls/sas enable_sas
19915 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19916 wine_fn_config_makefile dlls/sccbase enable_sccbase
19917 wine_fn_config_makefile dlls/schannel enable_schannel
19918 wine_fn_config_makefile dlls/schannel/tests enable_tests
19919 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19920 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19921 wine_fn_config_makefile dlls/scrobj enable_scrobj
19922 wine_fn_config_makefile dlls/scrrun enable_scrrun
19923 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19924 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19925 wine_fn_config_makefile dlls/secur32 enable_secur32
19926 wine_fn_config_makefile dlls/secur32/tests enable_tests
19927 wine_fn_config_makefile dlls/security enable_security
19928 wine_fn_config_makefile dlls/sensapi enable_sensapi
19929 wine_fn_config_makefile dlls/serialui enable_serialui
19930 wine_fn_config_makefile dlls/serialui/tests enable_tests
19931 wine_fn_config_makefile dlls/setupapi enable_setupapi
19932 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19933 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19934 wine_fn_config_makefile dlls/sfc enable_sfc
19935 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19936 wine_fn_config_makefile dlls/shcore enable_shcore
19937 wine_fn_config_makefile dlls/shcore/tests enable_tests
19938 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19939 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19940 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19941 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19942 wine_fn_config_makefile dlls/shell32 enable_shell32
19943 wine_fn_config_makefile dlls/shell32/tests enable_tests
19944 wine_fn_config_makefile dlls/shfolder enable_shfolder
19945 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19946 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19947 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19948 wine_fn_config_makefile dlls/slc enable_slc
19949 wine_fn_config_makefile dlls/slc/tests enable_tests
19950 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19951 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19952 wine_fn_config_makefile dlls/softpub enable_softpub
19953 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19954 wine_fn_config_makefile dlls/spoolss enable_spoolss
19955 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19956 wine_fn_config_makefile dlls/srclient enable_srclient
19957 wine_fn_config_makefile dlls/sspicli enable_sspicli
19958 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19959 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19960 wine_fn_config_makefile dlls/sti enable_sti
19961 wine_fn_config_makefile dlls/sti/tests enable_tests
19962 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19963 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19964 wine_fn_config_makefile dlls/strmbase enable_strmbase
19965 wine_fn_config_makefile dlls/strmdll enable_strmdll
19966 wine_fn_config_makefile dlls/strmiids enable_strmiids
19967 wine_fn_config_makefile dlls/svrapi enable_svrapi
19968 wine_fn_config_makefile dlls/sxs enable_sxs
19969 wine_fn_config_makefile dlls/sxs/tests enable_tests
19970 wine_fn_config_makefile dlls/system.drv16 enable_win16
19971 wine_fn_config_makefile dlls/t2embed enable_t2embed
19972 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19973 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19974 wine_fn_config_makefile dlls/taskschd enable_taskschd
19975 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19976 wine_fn_config_makefile dlls/tdh enable_tdh
19977 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19978 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19979 wine_fn_config_makefile dlls/traffic enable_traffic
19980 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19981 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19982 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19983 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19984 wine_fn_config_makefile dlls/tzres enable_tzres
19985 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19986 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19987 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19988 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19989 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19990 wine_fn_config_makefile dlls/unicows enable_unicows
19991 wine_fn_config_makefile dlls/updspapi enable_updspapi
19992 wine_fn_config_makefile dlls/url enable_url
19993 wine_fn_config_makefile dlls/urlmon enable_urlmon
19994 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19995 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19996 wine_fn_config_makefile dlls/user.exe16 enable_win16
19997 wine_fn_config_makefile dlls/user32 enable_user32
19998 wine_fn_config_makefile dlls/user32/tests enable_tests
19999 wine_fn_config_makefile dlls/userenv enable_userenv
20000 wine_fn_config_makefile dlls/userenv/tests enable_tests
20001 wine_fn_config_makefile dlls/usp10 enable_usp10
20002 wine_fn_config_makefile dlls/usp10/tests enable_tests
20003 wine_fn_config_makefile dlls/uuid enable_uuid
20004 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20005 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20006 wine_fn_config_makefile dlls/vbscript enable_vbscript
20007 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20008 wine_fn_config_makefile dlls/vcomp enable_vcomp
20009 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20010 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20011 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20012 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20013 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20014 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20015 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20016 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20017 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20018 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20019 wine_fn_config_makefile dlls/version enable_version
20020 wine_fn_config_makefile dlls/version/tests enable_tests
20021 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20022 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20023 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20024 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20025 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20026 wine_fn_config_makefile dlls/vssapi enable_vssapi
20027 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20028 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20029 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20030 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20031 wine_fn_config_makefile dlls/w32skrnl enable_win16
20032 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20033 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20034 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20035 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20036 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20037 wine_fn_config_makefile dlls/wdscore enable_wdscore
20038 wine_fn_config_makefile dlls/webservices enable_webservices
20039 wine_fn_config_makefile dlls/webservices/tests enable_tests
20040 wine_fn_config_makefile dlls/wer enable_wer
20041 wine_fn_config_makefile dlls/wer/tests enable_tests
20042 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20043 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20044 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20045 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20046 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20047 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20048 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20049 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20050 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20051 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20052 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20053 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20054 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20055 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20056 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20057 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20058 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20059 wine_fn_config_makefile dlls/wined3d enable_wined3d
20060 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20061 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20062 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20063 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20064 wine_fn_config_makefile dlls/winemapi enable_winemapi
20065 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20066 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20067 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20068 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20069 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20070 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20071 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20072 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20073 wine_fn_config_makefile dlls/wing32 enable_wing32
20074 wine_fn_config_makefile dlls/winhttp enable_winhttp
20075 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20076 wine_fn_config_makefile dlls/wininet enable_wininet
20077 wine_fn_config_makefile dlls/wininet/tests enable_tests
20078 wine_fn_config_makefile dlls/winmm enable_winmm
20079 wine_fn_config_makefile dlls/winmm/tests enable_tests
20080 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20081 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20082 wine_fn_config_makefile dlls/winscard enable_winscard
20083 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20084 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20085 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20086 wine_fn_config_makefile dlls/winsta enable_winsta
20087 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20088 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20089 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20090 wine_fn_config_makefile dlls/wintrust enable_wintrust
20091 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20092 wine_fn_config_makefile dlls/winusb enable_winusb
20093 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20094 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20095 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20096 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20097 wine_fn_config_makefile dlls/wmasf enable_wmasf
20098 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20099 wine_fn_config_makefile dlls/wmi enable_wmi
20100 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20101 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20102 wine_fn_config_makefile dlls/wmp enable_wmp
20103 wine_fn_config_makefile dlls/wmp/tests enable_tests
20104 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20105 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20106 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20107 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20108 wine_fn_config_makefile dlls/wow32 enable_win16
20109 wine_fn_config_makefile dlls/wpc enable_wpc
20110 wine_fn_config_makefile dlls/wpc/tests enable_tests
20111 wine_fn_config_makefile dlls/wpcap enable_wpcap
20112 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20113 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20114 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20115 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20116 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20117 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20118 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20119 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20120 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20121 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20122 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20123 wine_fn_config_makefile dlls/wuapi enable_wuapi
20124 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20125 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20126 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20127 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20128 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20129 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20130 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20131 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20132 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20133 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20134 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20135 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20136 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20137 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20138 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20139 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20140 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20141 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20142 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20143 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20144 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20145 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20146 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20147 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20148 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20149 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20150 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20151 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20152 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20153 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20154 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20155 wine_fn_config_makefile dlls/xmllite enable_xmllite
20156 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20157 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20158 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20159 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20160 wine_fn_config_makefile fonts enable_fonts
20161 wine_fn_config_makefile include enable_include
20162 wine_fn_config_makefile libs/port enable_port
20163 wine_fn_config_makefile libs/wine enable_wine
20164 wine_fn_config_makefile libs/wpp enable_wpp
20165 wine_fn_config_makefile loader enable_loader
20166 wine_fn_config_makefile po enable_po
20167 wine_fn_config_makefile programs/arp enable_arp
20168 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20169 wine_fn_config_makefile programs/attrib enable_attrib
20170 wine_fn_config_makefile programs/cabarc enable_cabarc
20171 wine_fn_config_makefile programs/cacls enable_cacls
20172 wine_fn_config_makefile programs/clock enable_clock
20173 wine_fn_config_makefile programs/cmd enable_cmd
20174 wine_fn_config_makefile programs/cmd/tests enable_tests
20175 wine_fn_config_makefile programs/conhost enable_conhost
20176 wine_fn_config_makefile programs/control enable_control
20177 wine_fn_config_makefile programs/cscript enable_cscript
20178 wine_fn_config_makefile programs/dism enable_dism
20179 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20180 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20181 wine_fn_config_makefile programs/eject enable_eject
20182 wine_fn_config_makefile programs/expand enable_expand
20183 wine_fn_config_makefile programs/explorer enable_explorer
20184 wine_fn_config_makefile programs/extrac32 enable_extrac32
20185 wine_fn_config_makefile programs/fc enable_fc
20186 wine_fn_config_makefile programs/find enable_find
20187 wine_fn_config_makefile programs/findstr enable_findstr
20188 wine_fn_config_makefile programs/fsutil enable_fsutil
20189 wine_fn_config_makefile programs/hh enable_hh
20190 wine_fn_config_makefile programs/hostname enable_hostname
20191 wine_fn_config_makefile programs/icacls enable_icacls
20192 wine_fn_config_makefile programs/icinfo enable_icinfo
20193 wine_fn_config_makefile programs/iexplore enable_iexplore
20194 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20195 wine_fn_config_makefile programs/lodctr enable_lodctr
20196 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20197 wine_fn_config_makefile programs/mshta enable_mshta
20198 wine_fn_config_makefile programs/msiexec enable_msiexec
20199 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20200 wine_fn_config_makefile programs/net enable_net
20201 wine_fn_config_makefile programs/netsh enable_netsh
20202 wine_fn_config_makefile programs/netstat enable_netstat
20203 wine_fn_config_makefile programs/ngen enable_ngen
20204 wine_fn_config_makefile programs/notepad enable_notepad
20205 wine_fn_config_makefile programs/oleview enable_oleview
20206 wine_fn_config_makefile programs/ping enable_ping
20207 wine_fn_config_makefile programs/plugplay enable_plugplay
20208 wine_fn_config_makefile programs/powershell enable_powershell
20209 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20210 wine_fn_config_makefile programs/progman enable_progman
20211 wine_fn_config_makefile programs/reg enable_reg
20212 wine_fn_config_makefile programs/reg/tests enable_tests
20213 wine_fn_config_makefile programs/regasm enable_regasm
20214 wine_fn_config_makefile programs/regedit enable_regedit
20215 wine_fn_config_makefile programs/regedit/tests enable_tests
20216 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20217 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20218 wine_fn_config_makefile programs/rpcss enable_rpcss
20219 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20220 wine_fn_config_makefile programs/rundll32 enable_rundll32
20221 wine_fn_config_makefile programs/sc enable_sc
20222 wine_fn_config_makefile programs/schtasks enable_schtasks
20223 wine_fn_config_makefile programs/schtasks/tests enable_tests
20224 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20225 wine_fn_config_makefile programs/secedit enable_secedit
20226 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20227 wine_fn_config_makefile programs/services enable_services
20228 wine_fn_config_makefile programs/services/tests enable_tests
20229 wine_fn_config_makefile programs/shutdown enable_shutdown
20230 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20231 wine_fn_config_makefile programs/start enable_start
20232 wine_fn_config_makefile programs/subst enable_subst
20233 wine_fn_config_makefile programs/svchost enable_svchost
20234 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20235 wine_fn_config_makefile programs/taskkill enable_taskkill
20236 wine_fn_config_makefile programs/tasklist enable_tasklist
20237 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20238 wine_fn_config_makefile programs/termsv enable_termsv
20239 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20240 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20241 wine_fn_config_makefile programs/view enable_view
20242 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20243 wine_fn_config_makefile programs/wineboot enable_wineboot
20244 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20245 wine_fn_config_makefile programs/winecfg enable_winecfg
20246 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20247 wine_fn_config_makefile programs/winedbg enable_winedbg
20248 wine_fn_config_makefile programs/winedevice enable_winedevice
20249 wine_fn_config_makefile programs/winefile enable_winefile
20250 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20251 wine_fn_config_makefile programs/winemine enable_winemine
20252 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20253 wine_fn_config_makefile programs/winepath enable_winepath
20254 wine_fn_config_makefile programs/winetest enable_winetest
20255 wine_fn_config_makefile programs/winevdm enable_win16
20256 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20257 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20258 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20259 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20260 wine_fn_config_makefile programs/winver enable_winver
20261 wine_fn_config_makefile programs/wmic enable_wmic
20262 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20263 wine_fn_config_makefile programs/wordpad enable_wordpad
20264 wine_fn_config_makefile programs/write enable_write
20265 wine_fn_config_makefile programs/wscript enable_wscript
20266 wine_fn_config_makefile programs/wscript/tests enable_tests
20267 wine_fn_config_makefile programs/wusa enable_wusa
20268 wine_fn_config_makefile programs/xcopy enable_xcopy
20269 wine_fn_config_makefile programs/xcopy/tests enable_tests
20270 wine_fn_config_makefile server enable_server
20271 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20272 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20273 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20274 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20275 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20276 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20277 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20278 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20279 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20282 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20283 wine_fn_append_file CONFIGURE_TARGETS "tags"
20284 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20285 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20286 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20287 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20288 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20289 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20291 if test "x$enable_tools" != xno
20292 then
20293 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20294 ac_config_commands="$ac_config_commands tools/makedep"
20298 ac_config_commands="$ac_config_commands Makefile"
20301 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20305 if test "x$enable_maintainer_mode" = xyes
20306 then
20307 wine_fn_append_rule "configure: configure.ac aclocal.m4
20308 autoconf --warnings=all
20309 include/config.h.in: include/stamp-h.in
20310 include/stamp-h.in: configure.ac aclocal.m4
20311 autoheader --warnings=all
20312 @echo timestamp > \$@"
20315 if test "x$enable_tools" != xno
20316 then
20317 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20318 @./config.status tools/makedep
20319 Makefile: tools/makedep$ac_exeext
20320 fonts: tools/sfnt2fon
20321 include: tools tools/widl"
20322 else
20323 wine_fn_append_rule "\$(MAKEDEP):
20324 @echo \"You need to run make in $TOOLSDIR first\" && false"
20327 if test -n "$with_wine64"
20328 then
20329 case "$with_wine64" in
20330 /*) reldir="" ;;
20331 *) reldir="../" ;;
20332 esac
20333 rm -f fonts server 2>/dev/null
20334 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20335 loader/wine64 loader/wine64-preloader:
20336 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20337 $with_wine64/loader/wine:
20338 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20339 $with_wine64/loader/wine-preloader:
20340 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20341 clean::
20342 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20343 else
20344 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20345 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20346 fonts \
20347 loader/l_intl.nls \
20348 loader/wine.inf \
20349 programs/msiexec/msiexec \
20350 programs/notepad/notepad \
20351 programs/regedit/regedit \
20352 programs/regsvr32/regsvr32 \
20353 programs/wineboot/wineboot \
20354 programs/winecfg/winecfg \
20355 programs/wineconsole/wineconsole \
20356 programs/winedbg/winedbg \
20357 programs/winefile/winefile \
20358 programs/winemine/winemine \
20359 programs/winepath/winepath \
20360 server/wineserver"
20362 case $host_os in
20363 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20364 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20365 esac
20368 $as_echo " done" >&6
20369 cat >confcache <<\_ACEOF
20370 # This file is a shell script that caches the results of configure
20371 # tests run on this system so they can be shared between configure
20372 # scripts and configure runs, see configure's option --config-cache.
20373 # It is not useful on other systems. If it contains results you don't
20374 # want to keep, you may remove or edit it.
20376 # config.status only pays attention to the cache file if you give it
20377 # the --recheck option to rerun configure.
20379 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20380 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20381 # following values.
20383 _ACEOF
20385 # The following way of writing the cache mishandles newlines in values,
20386 # but we know of no workaround that is simple, portable, and efficient.
20387 # So, we kill variables containing newlines.
20388 # Ultrix sh set writes to stderr and can't be redirected directly,
20389 # and sets the high bit in the cache file unless we assign to the vars.
20391 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20392 eval ac_val=\$$ac_var
20393 case $ac_val in #(
20394 *${as_nl}*)
20395 case $ac_var in #(
20396 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20397 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20398 esac
20399 case $ac_var in #(
20400 _ | IFS | as_nl) ;; #(
20401 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20402 *) { eval $ac_var=; unset $ac_var;} ;;
20403 esac ;;
20404 esac
20405 done
20407 (set) 2>&1 |
20408 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20409 *${as_nl}ac_space=\ *)
20410 # `set' does not quote correctly, so add quotes: double-quote
20411 # substitution turns \\\\ into \\, and sed turns \\ into \.
20412 sed -n \
20413 "s/'/'\\\\''/g;
20414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20415 ;; #(
20417 # `set' quotes correctly as required by POSIX, so do not add quotes.
20418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20420 esac |
20421 sort
20423 sed '
20424 /^ac_cv_env_/b end
20425 t clear
20426 :clear
20427 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20428 t end
20429 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20430 :end' >>confcache
20431 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20432 if test -w "$cache_file"; then
20433 if test "x$cache_file" != "x/dev/null"; then
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20435 $as_echo "$as_me: updating cache $cache_file" >&6;}
20436 if test ! -f "$cache_file" || test -h "$cache_file"; then
20437 cat confcache >"$cache_file"
20438 else
20439 case $cache_file in #(
20440 */* | ?:*)
20441 mv -f confcache "$cache_file"$$ &&
20442 mv -f "$cache_file"$$ "$cache_file" ;; #(
20444 mv -f confcache "$cache_file" ;;
20445 esac
20448 else
20449 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20450 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20453 rm -f confcache
20455 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20456 # Let make expand exec_prefix.
20457 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20459 DEFS=-DHAVE_CONFIG_H
20461 ac_libobjs=
20462 ac_ltlibobjs=
20464 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20465 # 1. Remove the extension, and $U if already installed.
20466 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20467 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20469 # will be set to the directory where LIBOBJS objects are built.
20470 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20471 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20472 done
20473 LIBOBJS=$ac_libobjs
20475 LTLIBOBJS=$ac_ltlibobjs
20479 : "${CONFIG_STATUS=./config.status}"
20480 ac_write_fail=0
20481 ac_clean_files_save=$ac_clean_files
20482 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20484 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20485 as_write_fail=0
20486 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20487 #! $SHELL
20488 # Generated by $as_me.
20489 # Run this file to recreate the current configuration.
20490 # Compiler output produced by configure, useful for debugging
20491 # configure, is in config.log if it exists.
20493 debug=false
20494 ac_cs_recheck=false
20495 ac_cs_silent=false
20497 SHELL=\${CONFIG_SHELL-$SHELL}
20498 export SHELL
20499 _ASEOF
20500 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20501 ## -------------------- ##
20502 ## M4sh Initialization. ##
20503 ## -------------------- ##
20505 # Be more Bourne compatible
20506 DUALCASE=1; export DUALCASE # for MKS sh
20507 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20508 emulate sh
20509 NULLCMD=:
20510 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20511 # is contrary to our usage. Disable this feature.
20512 alias -g '${1+"$@"}'='"$@"'
20513 setopt NO_GLOB_SUBST
20514 else
20515 case `(set -o) 2>/dev/null` in #(
20516 *posix*) :
20517 set -o posix ;; #(
20518 *) :
20520 esac
20524 as_nl='
20526 export as_nl
20527 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20528 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20529 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20530 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20531 # Prefer a ksh shell builtin over an external printf program on Solaris,
20532 # but without wasting forks for bash or zsh.
20533 if test -z "$BASH_VERSION$ZSH_VERSION" \
20534 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20535 as_echo='print -r --'
20536 as_echo_n='print -rn --'
20537 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20538 as_echo='printf %s\n'
20539 as_echo_n='printf %s'
20540 else
20541 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20542 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20543 as_echo_n='/usr/ucb/echo -n'
20544 else
20545 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20546 as_echo_n_body='eval
20547 arg=$1;
20548 case $arg in #(
20549 *"$as_nl"*)
20550 expr "X$arg" : "X\\(.*\\)$as_nl";
20551 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20552 esac;
20553 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20555 export as_echo_n_body
20556 as_echo_n='sh -c $as_echo_n_body as_echo'
20558 export as_echo_body
20559 as_echo='sh -c $as_echo_body as_echo'
20562 # The user is always right.
20563 if test "${PATH_SEPARATOR+set}" != set; then
20564 PATH_SEPARATOR=:
20565 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20566 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20567 PATH_SEPARATOR=';'
20572 # IFS
20573 # We need space, tab and new line, in precisely that order. Quoting is
20574 # there to prevent editors from complaining about space-tab.
20575 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20576 # splitting by setting IFS to empty value.)
20577 IFS=" "" $as_nl"
20579 # Find who we are. Look in the path if we contain no directory separator.
20580 as_myself=
20581 case $0 in #((
20582 *[\\/]* ) as_myself=$0 ;;
20583 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20584 for as_dir in $PATH
20586 IFS=$as_save_IFS
20587 test -z "$as_dir" && as_dir=.
20588 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20589 done
20590 IFS=$as_save_IFS
20593 esac
20594 # We did not find ourselves, most probably we were run as `sh COMMAND'
20595 # in which case we are not to be found in the path.
20596 if test "x$as_myself" = x; then
20597 as_myself=$0
20599 if test ! -f "$as_myself"; then
20600 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20601 exit 1
20604 # Unset variables that we do not need and which cause bugs (e.g. in
20605 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20606 # suppresses any "Segmentation fault" message there. '((' could
20607 # trigger a bug in pdksh 5.2.14.
20608 for as_var in BASH_ENV ENV MAIL MAILPATH
20609 do eval test x\${$as_var+set} = xset \
20610 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20611 done
20612 PS1='$ '
20613 PS2='> '
20614 PS4='+ '
20616 # NLS nuisances.
20617 LC_ALL=C
20618 export LC_ALL
20619 LANGUAGE=C
20620 export LANGUAGE
20622 # CDPATH.
20623 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20626 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20627 # ----------------------------------------
20628 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20629 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20630 # script with STATUS, using 1 if that was 0.
20631 as_fn_error ()
20633 as_status=$1; test $as_status -eq 0 && as_status=1
20634 if test "$4"; then
20635 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20636 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20638 $as_echo "$as_me: error: $2" >&2
20639 as_fn_exit $as_status
20640 } # as_fn_error
20643 # as_fn_set_status STATUS
20644 # -----------------------
20645 # Set $? to STATUS, without forking.
20646 as_fn_set_status ()
20648 return $1
20649 } # as_fn_set_status
20651 # as_fn_exit STATUS
20652 # -----------------
20653 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20654 as_fn_exit ()
20656 set +e
20657 as_fn_set_status $1
20658 exit $1
20659 } # as_fn_exit
20661 # as_fn_unset VAR
20662 # ---------------
20663 # Portably unset VAR.
20664 as_fn_unset ()
20666 { eval $1=; unset $1;}
20668 as_unset=as_fn_unset
20669 # as_fn_append VAR VALUE
20670 # ----------------------
20671 # Append the text in VALUE to the end of the definition contained in VAR. Take
20672 # advantage of any shell optimizations that allow amortized linear growth over
20673 # repeated appends, instead of the typical quadratic growth present in naive
20674 # implementations.
20675 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20676 eval 'as_fn_append ()
20678 eval $1+=\$2
20680 else
20681 as_fn_append ()
20683 eval $1=\$$1\$2
20685 fi # as_fn_append
20687 # as_fn_arith ARG...
20688 # ------------------
20689 # Perform arithmetic evaluation on the ARGs, and store the result in the
20690 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20691 # must be portable across $(()) and expr.
20692 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20693 eval 'as_fn_arith ()
20695 as_val=$(( $* ))
20697 else
20698 as_fn_arith ()
20700 as_val=`expr "$@" || test $? -eq 1`
20702 fi # as_fn_arith
20705 if expr a : '\(a\)' >/dev/null 2>&1 &&
20706 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20707 as_expr=expr
20708 else
20709 as_expr=false
20712 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20713 as_basename=basename
20714 else
20715 as_basename=false
20718 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20719 as_dirname=dirname
20720 else
20721 as_dirname=false
20724 as_me=`$as_basename -- "$0" ||
20725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20726 X"$0" : 'X\(//\)$' \| \
20727 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20728 $as_echo X/"$0" |
20729 sed '/^.*\/\([^/][^/]*\)\/*$/{
20730 s//\1/
20733 /^X\/\(\/\/\)$/{
20734 s//\1/
20737 /^X\/\(\/\).*/{
20738 s//\1/
20741 s/.*/./; q'`
20743 # Avoid depending upon Character Ranges.
20744 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20745 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20746 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20747 as_cr_digits='0123456789'
20748 as_cr_alnum=$as_cr_Letters$as_cr_digits
20750 ECHO_C= ECHO_N= ECHO_T=
20751 case `echo -n x` in #(((((
20752 -n*)
20753 case `echo 'xy\c'` in
20754 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20755 xy) ECHO_C='\c';;
20756 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20757 ECHO_T=' ';;
20758 esac;;
20760 ECHO_N='-n';;
20761 esac
20763 rm -f conf$$ conf$$.exe conf$$.file
20764 if test -d conf$$.dir; then
20765 rm -f conf$$.dir/conf$$.file
20766 else
20767 rm -f conf$$.dir
20768 mkdir conf$$.dir 2>/dev/null
20770 if (echo >conf$$.file) 2>/dev/null; then
20771 if ln -s conf$$.file conf$$ 2>/dev/null; then
20772 as_ln_s='ln -s'
20773 # ... but there are two gotchas:
20774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20776 # In both cases, we have to default to `cp -pR'.
20777 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20778 as_ln_s='cp -pR'
20779 elif ln conf$$.file conf$$ 2>/dev/null; then
20780 as_ln_s=ln
20781 else
20782 as_ln_s='cp -pR'
20784 else
20785 as_ln_s='cp -pR'
20787 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20788 rmdir conf$$.dir 2>/dev/null
20791 # as_fn_mkdir_p
20792 # -------------
20793 # Create "$as_dir" as a directory, including parents if necessary.
20794 as_fn_mkdir_p ()
20797 case $as_dir in #(
20798 -*) as_dir=./$as_dir;;
20799 esac
20800 test -d "$as_dir" || eval $as_mkdir_p || {
20801 as_dirs=
20802 while :; do
20803 case $as_dir in #(
20804 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20805 *) as_qdir=$as_dir;;
20806 esac
20807 as_dirs="'$as_qdir' $as_dirs"
20808 as_dir=`$as_dirname -- "$as_dir" ||
20809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20810 X"$as_dir" : 'X\(//\)[^/]' \| \
20811 X"$as_dir" : 'X\(//\)$' \| \
20812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20813 $as_echo X"$as_dir" |
20814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20815 s//\1/
20818 /^X\(\/\/\)[^/].*/{
20819 s//\1/
20822 /^X\(\/\/\)$/{
20823 s//\1/
20826 /^X\(\/\).*/{
20827 s//\1/
20830 s/.*/./; q'`
20831 test -d "$as_dir" && break
20832 done
20833 test -z "$as_dirs" || eval "mkdir $as_dirs"
20834 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20837 } # as_fn_mkdir_p
20838 if mkdir -p . 2>/dev/null; then
20839 as_mkdir_p='mkdir -p "$as_dir"'
20840 else
20841 test -d ./-p && rmdir ./-p
20842 as_mkdir_p=false
20846 # as_fn_executable_p FILE
20847 # -----------------------
20848 # Test if FILE is an executable regular file.
20849 as_fn_executable_p ()
20851 test -f "$1" && test -x "$1"
20852 } # as_fn_executable_p
20853 as_test_x='test -x'
20854 as_executable_p=as_fn_executable_p
20856 # Sed expression to map a string onto a valid CPP name.
20857 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20859 # Sed expression to map a string onto a valid variable name.
20860 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20863 exec 6>&1
20864 ## ----------------------------------- ##
20865 ## Main body of $CONFIG_STATUS script. ##
20866 ## ----------------------------------- ##
20867 _ASEOF
20868 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20871 # Save the log message, to keep $0 and so on meaningful, and to
20872 # report actual input values of CONFIG_FILES etc. instead of their
20873 # values after options handling.
20874 ac_log="
20875 This file was extended by Wine $as_me 4.1, which was
20876 generated by GNU Autoconf 2.69. Invocation command line was
20878 CONFIG_FILES = $CONFIG_FILES
20879 CONFIG_HEADERS = $CONFIG_HEADERS
20880 CONFIG_LINKS = $CONFIG_LINKS
20881 CONFIG_COMMANDS = $CONFIG_COMMANDS
20882 $ $0 $@
20884 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20887 _ACEOF
20889 case $ac_config_files in *"
20890 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20891 esac
20893 case $ac_config_headers in *"
20894 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20895 esac
20898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20899 # Files that config.status was made for.
20900 config_files="$ac_config_files"
20901 config_headers="$ac_config_headers"
20902 config_links="$ac_config_links"
20903 config_commands="$ac_config_commands"
20905 _ACEOF
20907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20908 ac_cs_usage="\
20909 \`$as_me' instantiates files and other configuration actions
20910 from templates according to the current configuration. Unless the files
20911 and actions are specified as TAGs, all are instantiated by default.
20913 Usage: $0 [OPTION]... [TAG]...
20915 -h, --help print this help, then exit
20916 -V, --version print version number and configuration settings, then exit
20917 --config print configuration, then exit
20918 -q, --quiet, --silent
20919 do not print progress messages
20920 -d, --debug don't remove temporary files
20921 --recheck update $as_me by reconfiguring in the same conditions
20922 --file=FILE[:TEMPLATE]
20923 instantiate the configuration file FILE
20924 --header=FILE[:TEMPLATE]
20925 instantiate the configuration header FILE
20927 Configuration files:
20928 $config_files
20930 Configuration headers:
20931 $config_headers
20933 Configuration links:
20934 $config_links
20936 Configuration commands:
20937 $config_commands
20939 Report bugs to <wine-devel@winehq.org>.
20940 Wine home page: <https://www.winehq.org>."
20942 _ACEOF
20943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20944 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20945 ac_cs_version="\\
20946 Wine config.status 4.1
20947 configured by $0, generated by GNU Autoconf 2.69,
20948 with options \\"\$ac_cs_config\\"
20950 Copyright (C) 2012 Free Software Foundation, Inc.
20951 This config.status script is free software; the Free Software Foundation
20952 gives unlimited permission to copy, distribute and modify it."
20954 ac_pwd='$ac_pwd'
20955 srcdir='$srcdir'
20956 test -n "\$AWK" || AWK=awk
20957 _ACEOF
20959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20960 # The default lists apply if the user does not specify any file.
20961 ac_need_defaults=:
20962 while test $# != 0
20964 case $1 in
20965 --*=?*)
20966 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20967 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20968 ac_shift=:
20970 --*=)
20971 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20972 ac_optarg=
20973 ac_shift=:
20976 ac_option=$1
20977 ac_optarg=$2
20978 ac_shift=shift
20980 esac
20982 case $ac_option in
20983 # Handling of the options.
20984 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20985 ac_cs_recheck=: ;;
20986 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20987 $as_echo "$ac_cs_version"; exit ;;
20988 --config | --confi | --conf | --con | --co | --c )
20989 $as_echo "$ac_cs_config"; exit ;;
20990 --debug | --debu | --deb | --de | --d | -d )
20991 debug=: ;;
20992 --file | --fil | --fi | --f )
20993 $ac_shift
20994 case $ac_optarg in
20995 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20996 '') as_fn_error $? "missing file argument" ;;
20997 esac
20998 as_fn_append CONFIG_FILES " '$ac_optarg'"
20999 ac_need_defaults=false;;
21000 --header | --heade | --head | --hea )
21001 $ac_shift
21002 case $ac_optarg in
21003 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21004 esac
21005 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21006 ac_need_defaults=false;;
21007 --he | --h)
21008 # Conflict between --help and --header
21009 as_fn_error $? "ambiguous option: \`$1'
21010 Try \`$0 --help' for more information.";;
21011 --help | --hel | -h )
21012 $as_echo "$ac_cs_usage"; exit ;;
21013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21014 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21015 ac_cs_silent=: ;;
21017 # This is an error.
21018 -*) as_fn_error $? "unrecognized option: \`$1'
21019 Try \`$0 --help' for more information." ;;
21021 *) as_fn_append ac_config_targets " $1"
21022 ac_need_defaults=false ;;
21024 esac
21025 shift
21026 done
21028 ac_configure_extra_args=
21030 if $ac_cs_silent; then
21031 exec 6>/dev/null
21032 ac_configure_extra_args="$ac_configure_extra_args --silent"
21035 _ACEOF
21036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21037 if \$ac_cs_recheck; then
21038 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21039 shift
21040 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21041 CONFIG_SHELL='$SHELL'
21042 export CONFIG_SHELL
21043 exec "\$@"
21046 _ACEOF
21047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21048 exec 5>>config.log
21050 echo
21051 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21052 ## Running $as_me. ##
21053 _ASBOX
21054 $as_echo "$ac_log"
21055 } >&5
21057 _ACEOF
21058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21060 # INIT-COMMANDS
21062 wine_fn_output_makedep ()
21064 as_dir=tools; as_fn_mkdir_p
21065 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21067 wine_fn_output_makefile ()
21069 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21070 `cat $wine_rules_file`
21071 _WINE_EOF
21072 as_fn_error $? "could not create Makefile" "$LINENO" 5
21075 _ACEOF
21077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21079 # Handling of arguments.
21080 for ac_config_target in $ac_config_targets
21082 case $ac_config_target in
21083 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21084 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21085 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21086 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21087 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21088 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21089 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21090 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21091 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21092 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21093 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21094 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21095 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21097 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21098 esac
21099 done
21102 # If the user did not use the arguments to specify the items to instantiate,
21103 # then the envvar interface is used. Set only those that are not.
21104 # We use the long form for the default assignment because of an extremely
21105 # bizarre bug on SunOS 4.1.3.
21106 if $ac_need_defaults; then
21107 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21108 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21109 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21110 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21113 # Have a temporary directory for convenience. Make it in the build tree
21114 # simply because there is no reason against having it here, and in addition,
21115 # creating and moving files from /tmp can sometimes cause problems.
21116 # Hook for its removal unless debugging.
21117 # Note that there is a small window in which the directory will not be cleaned:
21118 # after its creation but before its name has been assigned to `$tmp'.
21119 $debug ||
21121 tmp= ac_tmp=
21122 trap 'exit_status=$?
21123 : "${ac_tmp:=$tmp}"
21124 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21126 trap 'as_fn_exit 1' 1 2 13 15
21128 # Create a (secure) tmp directory for tmp files.
21131 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21132 test -d "$tmp"
21133 } ||
21135 tmp=./conf$$-$RANDOM
21136 (umask 077 && mkdir "$tmp")
21137 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21138 ac_tmp=$tmp
21140 # Set up the scripts for CONFIG_FILES section.
21141 # No need to generate them if there are no CONFIG_FILES.
21142 # This happens for instance with `./config.status config.h'.
21143 if test -n "$CONFIG_FILES"; then
21146 ac_cr=`echo X | tr X '\015'`
21147 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21148 # But we know of no other shell where ac_cr would be empty at this
21149 # point, so we can use a bashism as a fallback.
21150 if test "x$ac_cr" = x; then
21151 eval ac_cr=\$\'\\r\'
21153 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21154 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21155 ac_cs_awk_cr='\\r'
21156 else
21157 ac_cs_awk_cr=$ac_cr
21160 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21161 _ACEOF
21165 echo "cat >conf$$subs.awk <<_ACEOF" &&
21166 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21167 echo "_ACEOF"
21168 } >conf$$subs.sh ||
21169 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21170 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21171 ac_delim='%!_!# '
21172 for ac_last_try in false false false false false :; do
21173 . ./conf$$subs.sh ||
21174 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21176 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21177 if test $ac_delim_n = $ac_delim_num; then
21178 break
21179 elif $ac_last_try; then
21180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21181 else
21182 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21184 done
21185 rm -f conf$$subs.sh
21187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21188 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21189 _ACEOF
21190 sed -n '
21192 s/^/S["/; s/!.*/"]=/
21195 s/^[^!]*!//
21196 :repl
21197 t repl
21198 s/'"$ac_delim"'$//
21199 t delim
21202 s/\(.\{148\}\)..*/\1/
21203 t more1
21204 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21207 b repl
21208 :more1
21209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21212 s/.\{148\}//
21213 t nl
21214 :delim
21216 s/\(.\{148\}\)..*/\1/
21217 t more2
21218 s/["\\]/\\&/g; s/^/"/; s/$/"/
21221 :more2
21222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21225 s/.\{148\}//
21226 t delim
21227 ' <conf$$subs.awk | sed '
21228 /^[^""]/{
21230 s/\n//
21232 ' >>$CONFIG_STATUS || ac_write_fail=1
21233 rm -f conf$$subs.awk
21234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21235 _ACAWK
21236 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21237 for (key in S) S_is_set[key] = 1
21238 FS = "\a"
21242 line = $ 0
21243 nfields = split(line, field, "@")
21244 substed = 0
21245 len = length(field[1])
21246 for (i = 2; i < nfields; i++) {
21247 key = field[i]
21248 keylen = length(key)
21249 if (S_is_set[key]) {
21250 value = S[key]
21251 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21252 len += length(value) + length(field[++i])
21253 substed = 1
21254 } else
21255 len += 1 + keylen
21258 print line
21261 _ACAWK
21262 _ACEOF
21263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21264 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21265 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21266 else
21268 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21269 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21270 _ACEOF
21272 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21273 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21274 # trailing colons and then remove the whole line if VPATH becomes empty
21275 # (actually we leave an empty line to preserve line numbers).
21276 if test "x$srcdir" = x.; then
21277 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21279 s///
21280 s/^/:/
21281 s/[ ]*$/:/
21282 s/:\$(srcdir):/:/g
21283 s/:\${srcdir}:/:/g
21284 s/:@srcdir@:/:/g
21285 s/^:*//
21286 s/:*$//
21288 s/\(=[ ]*\).*/\1/
21290 s/\n//
21291 s/^[^=]*=[ ]*$//
21295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21296 fi # test -n "$CONFIG_FILES"
21298 # Set up the scripts for CONFIG_HEADERS section.
21299 # No need to generate them if there are no CONFIG_HEADERS.
21300 # This happens for instance with `./config.status Makefile'.
21301 if test -n "$CONFIG_HEADERS"; then
21302 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21303 BEGIN {
21304 _ACEOF
21306 # Transform confdefs.h into an awk script `defines.awk', embedded as
21307 # here-document in config.status, that substitutes the proper values into
21308 # config.h.in to produce config.h.
21310 # Create a delimiter string that does not exist in confdefs.h, to ease
21311 # handling of long lines.
21312 ac_delim='%!_!# '
21313 for ac_last_try in false false :; do
21314 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21315 if test -z "$ac_tt"; then
21316 break
21317 elif $ac_last_try; then
21318 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21319 else
21320 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21322 done
21324 # For the awk script, D is an array of macro values keyed by name,
21325 # likewise P contains macro parameters if any. Preserve backslash
21326 # newline sequences.
21328 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21329 sed -n '
21330 s/.\{148\}/&'"$ac_delim"'/g
21331 t rset
21332 :rset
21333 s/^[ ]*#[ ]*define[ ][ ]*/ /
21334 t def
21336 :def
21337 s/\\$//
21338 t bsnl
21339 s/["\\]/\\&/g
21340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21341 D["\1"]=" \3"/p
21342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21344 :bsnl
21345 s/["\\]/\\&/g
21346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21347 D["\1"]=" \3\\\\\\n"\\/p
21348 t cont
21349 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21350 t cont
21352 :cont
21354 s/.\{148\}/&'"$ac_delim"'/g
21355 t clear
21356 :clear
21357 s/\\$//
21358 t bsnlc
21359 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21361 :bsnlc
21362 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21363 b cont
21364 ' <confdefs.h | sed '
21365 s/'"$ac_delim"'/"\\\
21366 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21369 for (key in D) D_is_set[key] = 1
21370 FS = "\a"
21372 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21373 line = \$ 0
21374 split(line, arg, " ")
21375 if (arg[1] == "#") {
21376 defundef = arg[2]
21377 mac1 = arg[3]
21378 } else {
21379 defundef = substr(arg[1], 2)
21380 mac1 = arg[2]
21382 split(mac1, mac2, "(") #)
21383 macro = mac2[1]
21384 prefix = substr(line, 1, index(line, defundef) - 1)
21385 if (D_is_set[macro]) {
21386 # Preserve the white space surrounding the "#".
21387 print prefix "define", macro P[macro] D[macro]
21388 next
21389 } else {
21390 # Replace #undef with comments. This is necessary, for example,
21391 # in the case of _POSIX_SOURCE, which is predefined and required
21392 # on some systems where configure will not decide to define it.
21393 if (defundef == "undef") {
21394 print "/*", prefix defundef, macro, "*/"
21395 next
21399 { print }
21400 _ACAWK
21401 _ACEOF
21402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21403 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21404 fi # test -n "$CONFIG_HEADERS"
21407 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21408 shift
21409 for ac_tag
21411 case $ac_tag in
21412 :[FHLC]) ac_mode=$ac_tag; continue;;
21413 esac
21414 case $ac_mode$ac_tag in
21415 :[FHL]*:*);;
21416 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21417 :[FH]-) ac_tag=-:-;;
21418 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21419 esac
21420 ac_save_IFS=$IFS
21421 IFS=:
21422 set x $ac_tag
21423 IFS=$ac_save_IFS
21424 shift
21425 ac_file=$1
21426 shift
21428 case $ac_mode in
21429 :L) ac_source=$1;;
21430 :[FH])
21431 ac_file_inputs=
21432 for ac_f
21434 case $ac_f in
21435 -) ac_f="$ac_tmp/stdin";;
21436 *) # Look for the file first in the build tree, then in the source tree
21437 # (if the path is not absolute). The absolute path cannot be DOS-style,
21438 # because $ac_f cannot contain `:'.
21439 test -f "$ac_f" ||
21440 case $ac_f in
21441 [\\/$]*) false;;
21442 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21443 esac ||
21444 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21445 esac
21446 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21447 as_fn_append ac_file_inputs " '$ac_f'"
21448 done
21450 # Let's still pretend it is `configure' which instantiates (i.e., don't
21451 # use $as_me), people would be surprised to read:
21452 # /* config.h. Generated by config.status. */
21453 configure_input='Generated from '`
21454 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21455 `' by configure.'
21456 if test x"$ac_file" != x-; then
21457 configure_input="$ac_file. $configure_input"
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21459 $as_echo "$as_me: creating $ac_file" >&6;}
21461 # Neutralize special characters interpreted by sed in replacement strings.
21462 case $configure_input in #(
21463 *\&* | *\|* | *\\* )
21464 ac_sed_conf_input=`$as_echo "$configure_input" |
21465 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21466 *) ac_sed_conf_input=$configure_input;;
21467 esac
21469 case $ac_tag in
21470 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21471 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21472 esac
21474 esac
21476 ac_dir=`$as_dirname -- "$ac_file" ||
21477 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21478 X"$ac_file" : 'X\(//\)[^/]' \| \
21479 X"$ac_file" : 'X\(//\)$' \| \
21480 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21481 $as_echo X"$ac_file" |
21482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21483 s//\1/
21486 /^X\(\/\/\)[^/].*/{
21487 s//\1/
21490 /^X\(\/\/\)$/{
21491 s//\1/
21494 /^X\(\/\).*/{
21495 s//\1/
21498 s/.*/./; q'`
21499 as_dir="$ac_dir"; as_fn_mkdir_p
21500 ac_builddir=.
21502 case "$ac_dir" in
21503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21506 # A ".." for each directory in $ac_dir_suffix.
21507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21508 case $ac_top_builddir_sub in
21509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21511 esac ;;
21512 esac
21513 ac_abs_top_builddir=$ac_pwd
21514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21515 # for backward compatibility:
21516 ac_top_builddir=$ac_top_build_prefix
21518 case $srcdir in
21519 .) # We are building in place.
21520 ac_srcdir=.
21521 ac_top_srcdir=$ac_top_builddir_sub
21522 ac_abs_top_srcdir=$ac_pwd ;;
21523 [\\/]* | ?:[\\/]* ) # Absolute name.
21524 ac_srcdir=$srcdir$ac_dir_suffix;
21525 ac_top_srcdir=$srcdir
21526 ac_abs_top_srcdir=$srcdir ;;
21527 *) # Relative name.
21528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21529 ac_top_srcdir=$ac_top_build_prefix$srcdir
21530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21531 esac
21532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21535 case $ac_mode in
21538 # CONFIG_FILE
21541 _ACEOF
21543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21544 # If the template does not know about datarootdir, expand it.
21545 # FIXME: This hack should be removed a few years after 2.60.
21546 ac_datarootdir_hack=; ac_datarootdir_seen=
21547 ac_sed_dataroot='
21548 /datarootdir/ {
21552 /@datadir@/p
21553 /@docdir@/p
21554 /@infodir@/p
21555 /@localedir@/p
21556 /@mandir@/p'
21557 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21558 *datarootdir*) ac_datarootdir_seen=yes;;
21559 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21561 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21562 _ACEOF
21563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21564 ac_datarootdir_hack='
21565 s&@datadir@&$datadir&g
21566 s&@docdir@&$docdir&g
21567 s&@infodir@&$infodir&g
21568 s&@localedir@&$localedir&g
21569 s&@mandir@&$mandir&g
21570 s&\\\${datarootdir}&$datarootdir&g' ;;
21571 esac
21572 _ACEOF
21574 # Neutralize VPATH when `$srcdir' = `.'.
21575 # Shell code in configure.ac might set extrasub.
21576 # FIXME: do we really want to maintain this feature?
21577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21578 ac_sed_extra="$ac_vpsub
21579 $extrasub
21580 _ACEOF
21581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21584 s|@configure_input@|$ac_sed_conf_input|;t t
21585 s&@top_builddir@&$ac_top_builddir_sub&;t t
21586 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21587 s&@srcdir@&$ac_srcdir&;t t
21588 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21589 s&@top_srcdir@&$ac_top_srcdir&;t t
21590 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21591 s&@builddir@&$ac_builddir&;t t
21592 s&@abs_builddir@&$ac_abs_builddir&;t t
21593 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21594 $ac_datarootdir_hack
21596 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21597 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21599 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21600 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21602 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21604 which seems to be undefined. Please make sure it is defined" >&5
21605 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21606 which seems to be undefined. Please make sure it is defined" >&2;}
21608 rm -f "$ac_tmp/stdin"
21609 case $ac_file in
21610 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21611 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21612 esac \
21613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21617 # CONFIG_HEADER
21619 if test x"$ac_file" != x-; then
21621 $as_echo "/* $configure_input */" \
21622 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21623 } >"$ac_tmp/config.h" \
21624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21625 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21627 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21628 else
21629 rm -f "$ac_file"
21630 mv "$ac_tmp/config.h" "$ac_file" \
21631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21633 else
21634 $as_echo "/* $configure_input */" \
21635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21636 || as_fn_error $? "could not create -" "$LINENO" 5
21641 # CONFIG_LINK
21644 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21646 else
21647 # Prefer the file from the source tree if names are identical.
21648 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21649 ac_source=$srcdir/$ac_source
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21653 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21655 if test ! -r "$ac_source"; then
21656 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21658 rm -f "$ac_file"
21660 # Try a relative symlink, then a hard link, then a copy.
21661 case $ac_source in
21662 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21663 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21664 esac
21665 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21666 ln "$ac_source" "$ac_file" 2>/dev/null ||
21667 cp -p "$ac_source" "$ac_file" ||
21668 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21671 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21672 $as_echo "$as_me: executing $ac_file commands" >&6;}
21674 esac
21677 case $ac_file$ac_mode in
21678 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21679 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21680 "Makefile":C) wine_fn_output_makefile Makefile ;;
21682 esac
21683 done # for ac_tag
21686 as_fn_exit 0
21687 _ACEOF
21688 ac_clean_files=$ac_clean_files_save
21690 test $ac_write_fail = 0 ||
21691 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21694 # configure is writing to config.log, and then calls config.status.
21695 # config.status does its own redirection, appending to config.log.
21696 # Unfortunately, on DOS this fails, as config.log is still kept open
21697 # by configure, so config.status won't be able to write to it; its
21698 # output is simply discarded. So we exec the FD to /dev/null,
21699 # effectively closing config.log, so it can be properly (re)opened and
21700 # appended to by config.status. When coming back to configure, we
21701 # need to make the FD available again.
21702 if test "$no_create" != yes; then
21703 ac_cs_success=:
21704 ac_config_status_args=
21705 test "$silent" = yes &&
21706 ac_config_status_args="$ac_config_status_args --quiet"
21707 exec 5>/dev/null
21708 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21709 exec 5>>config.log
21710 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21711 # would make configure fail if this is the last instruction.
21712 $ac_cs_success || as_fn_exit 1
21714 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21716 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21720 if test "$no_create" = "yes"
21721 then
21722 exit 0
21725 ac_save_IFS="$IFS"
21726 if test "x$wine_notices" != x; then
21727 echo >&6
21728 IFS="|"
21729 for msg in $wine_notices; do
21730 IFS="$ac_save_IFS"
21731 if ${msg:+false} :; then :
21733 else
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21735 $as_echo "$as_me: $msg" >&6;}
21737 done
21739 IFS="|"
21740 for msg in $wine_warnings; do
21741 IFS="$ac_save_IFS"
21742 if ${msg:+false} :; then :
21744 else
21745 echo >&2
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21747 $as_echo "$as_me: WARNING: $msg" >&2;}
21749 done
21750 IFS="$ac_save_IFS"
21752 $as_echo "
21753 $as_me: Finished. Do '${ac_make}' to compile Wine.
21754 " >&6