kernel32: Add CreateRemoteThreadEx().
[wine.git] / configure
blob7ef096d18b44ac84b2d52d19e4625e2db5ba5ed0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.2'
584 PACKAGE_STRING='Wine 3.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 ALL_TEST_RESOURCES
729 CONFIGURE_TARGETS
730 DISABLED_SUBDIRS
731 SUBDIRS
732 READELF
733 OTOOL
735 WINELOADER_LDFLAGS
736 LDEXECFLAGS
737 LDRPATH_LOCAL
738 LDRPATH_INSTALL
739 DLLFLAGS
741 OPENGL_LIBS
742 ICOTOOL
743 CONVERT
744 RSVG
745 FONTFORGE
746 PKG_CONFIG
747 MSGFMT
748 LDCONFIG
749 EGREP
750 GREP
751 LN_S
752 RANLIB
753 ARFLAGS
754 STRIP
755 ac_ct_AR
757 BISON
758 FLEX
759 TOOLSDIR
760 wine64_disable
761 TARGETFLAGS
763 CPPBIN
764 ac_ct_CXX
765 CXXFLAGS
767 OBJEXT
768 EXEEXT
769 ac_ct_CC
770 CPPFLAGS
771 LDFLAGS
772 CFLAGS
774 SET_MAKE
775 host_os
776 host_vendor
777 host_cpu
778 host
779 build_os
780 build_vendor
781 build_cpu
782 build
783 target_alias
784 host_alias
785 build_alias
786 LIBS
787 ECHO_T
788 ECHO_N
789 ECHO_C
790 DEFS
791 mandir
792 localedir
793 libdir
794 psdir
795 pdfdir
796 dvidir
797 htmldir
798 infodir
799 docdir
800 oldincludedir
801 includedir
802 runstatedir
803 localstatedir
804 sharedstatedir
805 sysconfdir
806 datadir
807 datarootdir
808 libexecdir
809 sbindir
810 bindir
811 program_transform_name
812 prefix
813 exec_prefix
814 PACKAGE_URL
815 PACKAGE_BUGREPORT
816 PACKAGE_STRING
817 PACKAGE_VERSION
818 PACKAGE_TARNAME
819 PACKAGE_NAME
820 PATH_SEPARATOR
821 SHELL'
822 ac_subst_files=''
823 ac_user_opts='
824 enable_option_checking
825 enable_win16
826 enable_win64
827 enable_tests
828 enable_maintainer_mode
829 with_alsa
830 with_capi
831 with_cms
832 with_coreaudio
833 with_cups
834 with_curses
835 with_dbus
836 with_float_abi
837 with_fontconfig
838 with_freetype
839 with_gettext
840 with_gettextpo
841 with_gphoto
842 with_glu
843 with_gnutls
844 with_gsm
845 with_gssapi
846 with_gstreamer
847 with_hal
848 with_jpeg
849 with_krb5
850 with_ldap
851 with_mpg123
852 with_netapi
853 with_openal
854 with_opencl
855 with_opengl
856 with_osmesa
857 with_oss
858 with_pcap
859 with_png
860 with_pthread
861 with_pulse
862 with_sane
863 with_tiff
864 with_udev
865 with_sdl
866 with_v4l
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsldp
890 enable_adsldpc
891 enable_advapi32
892 enable_advpack
893 enable_amstream
894 enable_api_ms_win_appmodel_identity_l1_1_0
895 enable_api_ms_win_appmodel_runtime_l1_1_1
896 enable_api_ms_win_appmodel_runtime_l1_1_2
897 enable_api_ms_win_core_apiquery_l1_1_0
898 enable_api_ms_win_core_appcompat_l1_1_1
899 enable_api_ms_win_core_appinit_l1_1_0
900 enable_api_ms_win_core_atoms_l1_1_0
901 enable_api_ms_win_core_bem_l1_1_0
902 enable_api_ms_win_core_com_l1_1_0
903 enable_api_ms_win_core_com_l1_1_1
904 enable_api_ms_win_core_com_private_l1_1_0
905 enable_api_ms_win_core_console_l1_1_0
906 enable_api_ms_win_core_console_l2_1_0
907 enable_api_ms_win_core_crt_l1_1_0
908 enable_api_ms_win_core_crt_l2_1_0
909 enable_api_ms_win_core_datetime_l1_1_0
910 enable_api_ms_win_core_datetime_l1_1_1
911 enable_api_ms_win_core_debug_l1_1_0
912 enable_api_ms_win_core_debug_l1_1_1
913 enable_api_ms_win_core_delayload_l1_1_0
914 enable_api_ms_win_core_delayload_l1_1_1
915 enable_api_ms_win_core_errorhandling_l1_1_0
916 enable_api_ms_win_core_errorhandling_l1_1_1
917 enable_api_ms_win_core_errorhandling_l1_1_2
918 enable_api_ms_win_core_errorhandling_l1_1_3
919 enable_api_ms_win_core_fibers_l1_1_0
920 enable_api_ms_win_core_fibers_l1_1_1
921 enable_api_ms_win_core_file_l1_1_0
922 enable_api_ms_win_core_file_l1_2_0
923 enable_api_ms_win_core_file_l1_2_1
924 enable_api_ms_win_core_file_l1_2_2
925 enable_api_ms_win_core_file_l2_1_0
926 enable_api_ms_win_core_file_l2_1_1
927 enable_api_ms_win_core_file_l2_1_2
928 enable_api_ms_win_core_handle_l1_1_0
929 enable_api_ms_win_core_heap_l1_1_0
930 enable_api_ms_win_core_heap_l1_2_0
931 enable_api_ms_win_core_heap_l2_1_0
932 enable_api_ms_win_core_heap_obsolete_l1_1_0
933 enable_api_ms_win_core_interlocked_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_2_0
935 enable_api_ms_win_core_io_l1_1_0
936 enable_api_ms_win_core_io_l1_1_1
937 enable_api_ms_win_core_job_l1_1_0
938 enable_api_ms_win_core_job_l2_1_0
939 enable_api_ms_win_core_kernel32_legacy_l1_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_1
941 enable_api_ms_win_core_kernel32_private_l1_1_1
942 enable_api_ms_win_core_libraryloader_l1_1_0
943 enable_api_ms_win_core_libraryloader_l1_1_1
944 enable_api_ms_win_core_libraryloader_l1_2_0
945 enable_api_ms_win_core_libraryloader_l1_2_1
946 enable_api_ms_win_core_libraryloader_l1_2_2
947 enable_api_ms_win_core_localization_l1_1_0
948 enable_api_ms_win_core_localization_l1_2_0
949 enable_api_ms_win_core_localization_l1_2_1
950 enable_api_ms_win_core_localization_l2_1_0
951 enable_api_ms_win_core_localization_obsolete_l1_1_0
952 enable_api_ms_win_core_localization_obsolete_l1_2_0
953 enable_api_ms_win_core_localization_obsolete_l1_3_0
954 enable_api_ms_win_core_localization_private_l1_1_0
955 enable_api_ms_win_core_localregistry_l1_1_0
956 enable_api_ms_win_core_memory_l1_1_0
957 enable_api_ms_win_core_memory_l1_1_1
958 enable_api_ms_win_core_memory_l1_1_2
959 enable_api_ms_win_core_misc_l1_1_0
960 enable_api_ms_win_core_namedpipe_l1_1_0
961 enable_api_ms_win_core_namedpipe_l1_2_0
962 enable_api_ms_win_core_namespace_l1_1_0
963 enable_api_ms_win_core_normalization_l1_1_0
964 enable_api_ms_win_core_path_l1_1_0
965 enable_api_ms_win_core_privateprofile_l1_1_1
966 enable_api_ms_win_core_processenvironment_l1_1_0
967 enable_api_ms_win_core_processenvironment_l1_2_0
968 enable_api_ms_win_core_processthreads_l1_1_0
969 enable_api_ms_win_core_processthreads_l1_1_1
970 enable_api_ms_win_core_processthreads_l1_1_2
971 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
972 enable_api_ms_win_core_profile_l1_1_0
973 enable_api_ms_win_core_psapi_ansi_l1_1_0
974 enable_api_ms_win_core_psapi_l1_1_0
975 enable_api_ms_win_core_psapi_obsolete_l1_1_0
976 enable_api_ms_win_core_quirks_l1_1_0
977 enable_api_ms_win_core_realtime_l1_1_0
978 enable_api_ms_win_core_registry_l1_1_0
979 enable_api_ms_win_core_registry_l2_1_0
980 enable_api_ms_win_core_registryuserspecific_l1_1_0
981 enable_api_ms_win_core_rtlsupport_l1_1_0
982 enable_api_ms_win_core_rtlsupport_l1_2_0
983 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
984 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
985 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
986 enable_api_ms_win_core_shutdown_l1_1_0
987 enable_api_ms_win_core_sidebyside_l1_1_0
988 enable_api_ms_win_core_string_l1_1_0
989 enable_api_ms_win_core_string_l2_1_0
990 enable_api_ms_win_core_string_obsolete_l1_1_0
991 enable_api_ms_win_core_stringansi_l1_1_0
992 enable_api_ms_win_core_synch_ansi_l1_1_0
993 enable_api_ms_win_core_synch_l1_1_0
994 enable_api_ms_win_core_synch_l1_2_0
995 enable_api_ms_win_core_synch_l1_2_1
996 enable_api_ms_win_core_sysinfo_l1_1_0
997 enable_api_ms_win_core_sysinfo_l1_2_0
998 enable_api_ms_win_core_sysinfo_l1_2_1
999 enable_api_ms_win_core_threadpool_l1_1_0
1000 enable_api_ms_win_core_threadpool_l1_2_0
1001 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1002 enable_api_ms_win_core_threadpool_private_l1_1_0
1003 enable_api_ms_win_core_timezone_l1_1_0
1004 enable_api_ms_win_core_toolhelp_l1_1_0
1005 enable_api_ms_win_core_url_l1_1_0
1006 enable_api_ms_win_core_util_l1_1_0
1007 enable_api_ms_win_core_version_l1_1_0
1008 enable_api_ms_win_core_version_l1_1_1
1009 enable_api_ms_win_core_version_private_l1_1_0
1010 enable_api_ms_win_core_versionansi_l1_1_0
1011 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1012 enable_api_ms_win_core_winrt_error_l1_1_0
1013 enable_api_ms_win_core_winrt_error_l1_1_1
1014 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1015 enable_api_ms_win_core_winrt_l1_1_0
1016 enable_api_ms_win_core_winrt_registration_l1_1_0
1017 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1018 enable_api_ms_win_core_winrt_string_l1_1_0
1019 enable_api_ms_win_core_wow64_l1_1_0
1020 enable_api_ms_win_core_wow64_l1_1_1
1021 enable_api_ms_win_core_xstate_l1_1_0
1022 enable_api_ms_win_core_xstate_l2_1_0
1023 enable_api_ms_win_crt_conio_l1_1_0
1024 enable_api_ms_win_crt_convert_l1_1_0
1025 enable_api_ms_win_crt_environment_l1_1_0
1026 enable_api_ms_win_crt_filesystem_l1_1_0
1027 enable_api_ms_win_crt_heap_l1_1_0
1028 enable_api_ms_win_crt_locale_l1_1_0
1029 enable_api_ms_win_crt_math_l1_1_0
1030 enable_api_ms_win_crt_multibyte_l1_1_0
1031 enable_api_ms_win_crt_private_l1_1_0
1032 enable_api_ms_win_crt_process_l1_1_0
1033 enable_api_ms_win_crt_runtime_l1_1_0
1034 enable_api_ms_win_crt_stdio_l1_1_0
1035 enable_api_ms_win_crt_string_l1_1_0
1036 enable_api_ms_win_crt_time_l1_1_0
1037 enable_api_ms_win_crt_utility_l1_1_0
1038 enable_api_ms_win_devices_config_l1_1_1
1039 enable_api_ms_win_devices_query_l1_1_1
1040 enable_api_ms_win_downlevel_advapi32_l1_1_0
1041 enable_api_ms_win_downlevel_advapi32_l2_1_0
1042 enable_api_ms_win_downlevel_normaliz_l1_1_0
1043 enable_api_ms_win_downlevel_ole32_l1_1_0
1044 enable_api_ms_win_downlevel_shell32_l1_1_0
1045 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1046 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1047 enable_api_ms_win_downlevel_user32_l1_1_0
1048 enable_api_ms_win_downlevel_version_l1_1_0
1049 enable_api_ms_win_dx_d3dkmt_l1_1_0
1050 enable_api_ms_win_eventing_classicprovider_l1_1_0
1051 enable_api_ms_win_eventing_consumer_l1_1_0
1052 enable_api_ms_win_eventing_controller_l1_1_0
1053 enable_api_ms_win_eventing_legacy_l1_1_0
1054 enable_api_ms_win_eventing_provider_l1_1_0
1055 enable_api_ms_win_eventlog_legacy_l1_1_0
1056 enable_api_ms_win_mm_joystick_l1_1_0
1057 enable_api_ms_win_mm_misc_l1_1_1
1058 enable_api_ms_win_mm_mme_l1_1_0
1059 enable_api_ms_win_mm_time_l1_1_0
1060 enable_api_ms_win_ntuser_dc_access_l1_1_0
1061 enable_api_ms_win_ntuser_rectangle_l1_1_0
1062 enable_api_ms_win_perf_legacy_l1_1_0
1063 enable_api_ms_win_power_base_l1_1_0
1064 enable_api_ms_win_power_setting_l1_1_0
1065 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1066 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1067 enable_api_ms_win_security_audit_l1_1_1
1068 enable_api_ms_win_security_base_l1_1_0
1069 enable_api_ms_win_security_base_l1_2_0
1070 enable_api_ms_win_security_base_private_l1_1_1
1071 enable_api_ms_win_security_credentials_l1_1_0
1072 enable_api_ms_win_security_grouppolicy_l1_1_0
1073 enable_api_ms_win_security_lsalookup_l1_1_0
1074 enable_api_ms_win_security_lsalookup_l1_1_1
1075 enable_api_ms_win_security_lsalookup_l2_1_0
1076 enable_api_ms_win_security_lsalookup_l2_1_1
1077 enable_api_ms_win_security_lsapolicy_l1_1_0
1078 enable_api_ms_win_security_provider_l1_1_0
1079 enable_api_ms_win_security_sddl_l1_1_0
1080 enable_api_ms_win_security_systemfunctions_l1_1_0
1081 enable_api_ms_win_service_core_l1_1_0
1082 enable_api_ms_win_service_core_l1_1_1
1083 enable_api_ms_win_service_management_l1_1_0
1084 enable_api_ms_win_service_management_l2_1_0
1085 enable_api_ms_win_service_private_l1_1_1
1086 enable_api_ms_win_service_winsvc_l1_1_0
1087 enable_api_ms_win_service_winsvc_l1_2_0
1088 enable_api_ms_win_shcore_scaling_l1_1_1
1089 enable_api_ms_win_shell_shellcom_l1_1_0
1090 enable_api_ms_win_shell_shellfolders_l1_1_0
1091 enable_apphelp
1092 enable_appwiz_cpl
1093 enable_atl
1094 enable_atl100
1095 enable_atl110
1096 enable_atl80
1097 enable_atl90
1098 enable_authz
1099 enable_avicap32
1100 enable_avifil32
1101 enable_avrt
1102 enable_bcrypt
1103 enable_bluetoothapis
1104 enable_browseui
1105 enable_bthprops_cpl
1106 enable_cabinet
1107 enable_capi2032
1108 enable_cards
1109 enable_cdosys
1110 enable_cfgmgr32
1111 enable_clusapi
1112 enable_combase
1113 enable_comcat
1114 enable_comctl32
1115 enable_comdlg32
1116 enable_compstui
1117 enable_comsvcs
1118 enable_concrt140
1119 enable_connect
1120 enable_credui
1121 enable_crtdll
1122 enable_crypt32
1123 enable_cryptdlg
1124 enable_cryptdll
1125 enable_cryptext
1126 enable_cryptnet
1127 enable_cryptui
1128 enable_ctapi32
1129 enable_ctl3d32
1130 enable_d2d1
1131 enable_d3d10
1132 enable_d3d10_1
1133 enable_d3d10core
1134 enable_d3d11
1135 enable_d3d12
1136 enable_d3d8
1137 enable_d3d9
1138 enable_d3dcompiler_33
1139 enable_d3dcompiler_34
1140 enable_d3dcompiler_35
1141 enable_d3dcompiler_36
1142 enable_d3dcompiler_37
1143 enable_d3dcompiler_38
1144 enable_d3dcompiler_39
1145 enable_d3dcompiler_40
1146 enable_d3dcompiler_41
1147 enable_d3dcompiler_42
1148 enable_d3dcompiler_43
1149 enable_d3dcompiler_46
1150 enable_d3dcompiler_47
1151 enable_d3dim
1152 enable_d3drm
1153 enable_d3dx10_33
1154 enable_d3dx10_34
1155 enable_d3dx10_35
1156 enable_d3dx10_36
1157 enable_d3dx10_37
1158 enable_d3dx10_38
1159 enable_d3dx10_39
1160 enable_d3dx10_40
1161 enable_d3dx10_41
1162 enable_d3dx10_42
1163 enable_d3dx10_43
1164 enable_d3dx11_42
1165 enable_d3dx11_43
1166 enable_d3dx9_24
1167 enable_d3dx9_25
1168 enable_d3dx9_26
1169 enable_d3dx9_27
1170 enable_d3dx9_28
1171 enable_d3dx9_29
1172 enable_d3dx9_30
1173 enable_d3dx9_31
1174 enable_d3dx9_32
1175 enable_d3dx9_33
1176 enable_d3dx9_34
1177 enable_d3dx9_35
1178 enable_d3dx9_36
1179 enable_d3dx9_37
1180 enable_d3dx9_38
1181 enable_d3dx9_39
1182 enable_d3dx9_40
1183 enable_d3dx9_41
1184 enable_d3dx9_42
1185 enable_d3dx9_43
1186 enable_d3dxof
1187 enable_davclnt
1188 enable_dbgeng
1189 enable_dbghelp
1190 enable_dciman32
1191 enable_ddraw
1192 enable_ddrawex
1193 enable_devenum
1194 enable_dhcpcsvc
1195 enable_dhtmled_ocx
1196 enable_difxapi
1197 enable_dinput
1198 enable_dinput8
1199 enable_dispex
1200 enable_dmband
1201 enable_dmcompos
1202 enable_dmime
1203 enable_dmloader
1204 enable_dmscript
1205 enable_dmstyle
1206 enable_dmsynth
1207 enable_dmusic
1208 enable_dmusic32
1209 enable_dnsapi
1210 enable_dplay
1211 enable_dplayx
1212 enable_dpnaddr
1213 enable_dpnet
1214 enable_dpnhpast
1215 enable_dpnlobby
1216 enable_dpvoice
1217 enable_dpwsockx
1218 enable_drmclien
1219 enable_dsound
1220 enable_dsquery
1221 enable_dssenh
1222 enable_dswave
1223 enable_dwmapi
1224 enable_dwrite
1225 enable_dx8vb
1226 enable_dxdiagn
1227 enable_dxgi
1228 enable_dxva2
1229 enable_esent
1230 enable_evr
1231 enable_explorerframe
1232 enable_ext_ms_win_authz_context_l1_1_0
1233 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1234 enable_ext_ms_win_gdi_dc_create_l1_1_1
1235 enable_ext_ms_win_gdi_dc_l1_2_0
1236 enable_ext_ms_win_gdi_devcaps_l1_1_0
1237 enable_ext_ms_win_gdi_draw_l1_1_1
1238 enable_ext_ms_win_gdi_render_l1_1_0
1239 enable_ext_ms_win_kernel32_package_current_l1_1_0
1240 enable_ext_ms_win_kernel32_package_l1_1_1
1241 enable_ext_ms_win_ntuser_message_l1_1_1
1242 enable_ext_ms_win_ntuser_private_l1_1_1
1243 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1244 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1245 enable_ext_ms_win_ntuser_window_l1_1_1
1246 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1247 enable_ext_ms_win_ras_rasapi32_l1_1_0
1248 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1249 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1250 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1251 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1252 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1253 enable_ext_ms_win_security_credui_l1_1_0
1254 enable_ext_ms_win_security_cryptui_l1_1_0
1255 enable_faultrep
1256 enable_fltlib
1257 enable_fltmgr_sys
1258 enable_fntcache
1259 enable_fontsub
1260 enable_fusion
1261 enable_fwpuclnt
1262 enable_gameux
1263 enable_gdi32
1264 enable_gdiplus
1265 enable_glu32
1266 enable_gphoto2_ds
1267 enable_gpkcsp
1268 enable_hal
1269 enable_hhctrl_ocx
1270 enable_hid
1271 enable_hidclass_sys
1272 enable_hlink
1273 enable_hnetcfg
1274 enable_httpapi
1275 enable_iccvid
1276 enable_icmp
1277 enable_ieframe
1278 enable_ieproxy
1279 enable_imaadp32_acm
1280 enable_imagehlp
1281 enable_imm32
1282 enable_inetcomm
1283 enable_inetcpl_cpl
1284 enable_inetmib1
1285 enable_infosoft
1286 enable_initpki
1287 enable_inkobj
1288 enable_inseng
1289 enable_iphlpapi
1290 enable_iprop
1291 enable_irprops_cpl
1292 enable_itircl
1293 enable_itss
1294 enable_joy_cpl
1295 enable_jscript
1296 enable_jsproxy
1297 enable_kerberos
1298 enable_kernel32
1299 enable_kernelbase
1300 enable_ksuser
1301 enable_ktmw32
1302 enable_l3codeca_acm
1303 enable_loadperf
1304 enable_localspl
1305 enable_localui
1306 enable_lz32
1307 enable_mapi32
1308 enable_mapistub
1309 enable_mciavi32
1310 enable_mcicda
1311 enable_mciqtz32
1312 enable_mciseq
1313 enable_mciwave
1314 enable_mf
1315 enable_mf3216
1316 enable_mfplat
1317 enable_mfreadwrite
1318 enable_mgmtapi
1319 enable_midimap
1320 enable_mlang
1321 enable_mmcndmgr
1322 enable_mmdevapi
1323 enable_mountmgr_sys
1324 enable_mpr
1325 enable_mprapi
1326 enable_msacm32_drv
1327 enable_msacm32
1328 enable_msadp32_acm
1329 enable_msasn1
1330 enable_mscat32
1331 enable_mscms
1332 enable_mscoree
1333 enable_msctf
1334 enable_msctfp
1335 enable_msdaps
1336 enable_msdelta
1337 enable_msdmo
1338 enable_msdrm
1339 enable_msftedit
1340 enable_msg711_acm
1341 enable_msgsm32_acm
1342 enable_mshtml_tlb
1343 enable_mshtml
1344 enable_msi
1345 enable_msident
1346 enable_msimg32
1347 enable_msimsg
1348 enable_msimtf
1349 enable_msisip
1350 enable_msisys_ocx
1351 enable_msls31
1352 enable_msnet32
1353 enable_mspatcha
1354 enable_msports
1355 enable_msrle32
1356 enable_msscript_ocx
1357 enable_mssign32
1358 enable_mssip32
1359 enable_mstask
1360 enable_msvcirt
1361 enable_msvcm80
1362 enable_msvcm90
1363 enable_msvcp100
1364 enable_msvcp110
1365 enable_msvcp120
1366 enable_msvcp120_app
1367 enable_msvcp140
1368 enable_msvcp60
1369 enable_msvcp70
1370 enable_msvcp71
1371 enable_msvcp80
1372 enable_msvcp90
1373 enable_msvcr100
1374 enable_msvcr110
1375 enable_msvcr120
1376 enable_msvcr120_app
1377 enable_msvcr70
1378 enable_msvcr71
1379 enable_msvcr80
1380 enable_msvcr90
1381 enable_msvcrt
1382 enable_msvcrt20
1383 enable_msvcrt40
1384 enable_msvcrtd
1385 enable_msvfw32
1386 enable_msvidc32
1387 enable_mswsock
1388 enable_msxml
1389 enable_msxml2
1390 enable_msxml3
1391 enable_msxml4
1392 enable_msxml6
1393 enable_mtxdm
1394 enable_ncrypt
1395 enable_nddeapi
1396 enable_ndis_sys
1397 enable_netapi32
1398 enable_netcfgx
1399 enable_netprofm
1400 enable_newdev
1401 enable_normaliz
1402 enable_npmshtml
1403 enable_npptools
1404 enable_ntdll
1405 enable_ntdsapi
1406 enable_ntoskrnl_exe
1407 enable_ntprint
1408 enable_objsel
1409 enable_odbc32
1410 enable_odbccp32
1411 enable_odbccu32
1412 enable_ole32
1413 enable_oleacc
1414 enable_oleaut32
1415 enable_olecli32
1416 enable_oledb32
1417 enable_oledlg
1418 enable_olepro32
1419 enable_olesvr32
1420 enable_olethk32
1421 enable_openal32
1422 enable_opencl
1423 enable_opengl32
1424 enable_packager
1425 enable_pdh
1426 enable_photometadatahandler
1427 enable_pidgen
1428 enable_powrprof
1429 enable_printui
1430 enable_prntvpt
1431 enable_propsys
1432 enable_psapi
1433 enable_pstorec
1434 enable_qcap
1435 enable_qedit
1436 enable_qmgr
1437 enable_qmgrprxy
1438 enable_quartz
1439 enable_query
1440 enable_rasapi32
1441 enable_rasdlg
1442 enable_regapi
1443 enable_resutils
1444 enable_riched20
1445 enable_riched32
1446 enable_rpcrt4
1447 enable_rsabase
1448 enable_rsaenh
1449 enable_rstrtmgr
1450 enable_rtutils
1451 enable_samlib
1452 enable_sane_ds
1453 enable_sapi
1454 enable_scarddlg
1455 enable_sccbase
1456 enable_schannel
1457 enable_schedsvc
1458 enable_scrobj
1459 enable_scrrun
1460 enable_scsiport_sys
1461 enable_secur32
1462 enable_security
1463 enable_sensapi
1464 enable_serialui
1465 enable_setupapi
1466 enable_sfc
1467 enable_sfc_os
1468 enable_shcore
1469 enable_shdoclc
1470 enable_shdocvw
1471 enable_shell32
1472 enable_shfolder
1473 enable_shlwapi
1474 enable_slbcsp
1475 enable_slc
1476 enable_snmpapi
1477 enable_softpub
1478 enable_spoolss
1479 enable_sspicli
1480 enable_stdole2_tlb
1481 enable_stdole32_tlb
1482 enable_sti
1483 enable_svrapi
1484 enable_sxs
1485 enable_t2embed
1486 enable_tapi32
1487 enable_taskschd
1488 enable_tdh
1489 enable_tdi_sys
1490 enable_traffic
1491 enable_twain_32
1492 enable_ucrtbase
1493 enable_uiautomationcore
1494 enable_uiribbon
1495 enable_unicows
1496 enable_updspapi
1497 enable_url
1498 enable_urlmon
1499 enable_usbd_sys
1500 enable_user32
1501 enable_userenv
1502 enable_usp10
1503 enable_uxtheme
1504 enable_vbscript
1505 enable_vcomp
1506 enable_vcomp100
1507 enable_vcomp110
1508 enable_vcomp120
1509 enable_vcomp140
1510 enable_vcomp90
1511 enable_vcruntime140
1512 enable_vdmdbg
1513 enable_version
1514 enable_virtdisk
1515 enable_vssapi
1516 enable_wbemdisp
1517 enable_wbemprox
1518 enable_wdscore
1519 enable_webservices
1520 enable_wer
1521 enable_wevtapi
1522 enable_wiaservc
1523 enable_wimgapi
1524 enable_windowscodecs
1525 enable_windowscodecsext
1526 enable_winealsa_drv
1527 enable_wineandroid_drv
1528 enable_winebus_sys
1529 enable_winecoreaudio_drv
1530 enable_wined3d
1531 enable_winegstreamer
1532 enable_winehid_sys
1533 enable_winejoystick_drv
1534 enable_winemac_drv
1535 enable_winemapi
1536 enable_wineoss_drv
1537 enable_wineps_drv
1538 enable_winepulse_drv
1539 enable_wineqtdecoder
1540 enable_winex11_drv
1541 enable_wing32
1542 enable_winhttp
1543 enable_wininet
1544 enable_winmm
1545 enable_winnls32
1546 enable_winscard
1547 enable_winspool_drv
1548 enable_winsta
1549 enable_wintab32
1550 enable_wintrust
1551 enable_winusb
1552 enable_wlanapi
1553 enable_wldap32
1554 enable_wmasf
1555 enable_wmi
1556 enable_wmiutils
1557 enable_wmp
1558 enable_wmphoto
1559 enable_wmvcore
1560 enable_wnaspi32
1561 enable_wpc
1562 enable_wpcap
1563 enable_ws2_32
1564 enable_wsdapi
1565 enable_wshom_ocx
1566 enable_wsnmp32
1567 enable_wsock32
1568 enable_wtsapi32
1569 enable_wuapi
1570 enable_wuaueng
1571 enable_x3daudio1_0
1572 enable_x3daudio1_1
1573 enable_x3daudio1_2
1574 enable_x3daudio1_3
1575 enable_x3daudio1_4
1576 enable_x3daudio1_5
1577 enable_x3daudio1_6
1578 enable_x3daudio1_7
1579 enable_xapofx1_1
1580 enable_xapofx1_2
1581 enable_xapofx1_3
1582 enable_xapofx1_4
1583 enable_xapofx1_5
1584 enable_xaudio2_0
1585 enable_xaudio2_1
1586 enable_xaudio2_2
1587 enable_xaudio2_3
1588 enable_xaudio2_4
1589 enable_xaudio2_5
1590 enable_xaudio2_6
1591 enable_xaudio2_7
1592 enable_xaudio2_8
1593 enable_xaudio2_9
1594 enable_xinput1_1
1595 enable_xinput1_2
1596 enable_xinput1_3
1597 enable_xinput1_4
1598 enable_xinput9_1_0
1599 enable_xmllite
1600 enable_xolehlp
1601 enable_xpsprint
1602 enable_xpssvcs
1603 enable_fonts
1604 enable_include
1605 enable_libs_port
1606 enable_libs_wine
1607 enable_libs_wpp
1608 enable_loader
1609 enable_po
1610 enable_arp
1611 enable_aspnet_regiis
1612 enable_attrib
1613 enable_cabarc
1614 enable_cacls
1615 enable_clock
1616 enable_cmd
1617 enable_conhost
1618 enable_control
1619 enable_cscript
1620 enable_dpnsvr
1621 enable_dxdiag
1622 enable_eject
1623 enable_expand
1624 enable_explorer
1625 enable_extrac32
1626 enable_findstr
1627 enable_fsutil
1628 enable_hh
1629 enable_hostname
1630 enable_icacls
1631 enable_icinfo
1632 enable_iexplore
1633 enable_ipconfig
1634 enable_lodctr
1635 enable_mofcomp
1636 enable_mshta
1637 enable_msiexec
1638 enable_msinfo32
1639 enable_net
1640 enable_netsh
1641 enable_netstat
1642 enable_ngen
1643 enable_notepad
1644 enable_oleview
1645 enable_ping
1646 enable_plugplay
1647 enable_powershell
1648 enable_presentationfontcache
1649 enable_progman
1650 enable_reg
1651 enable_regasm
1652 enable_regedit
1653 enable_regsvcs
1654 enable_regsvr32
1655 enable_rpcss
1656 enable_rundll32
1657 enable_sc
1658 enable_schtasks
1659 enable_sdbinst
1660 enable_secedit
1661 enable_servicemodelreg
1662 enable_services
1663 enable_shutdown
1664 enable_spoolsv
1665 enable_start
1666 enable_subst
1667 enable_svchost
1668 enable_systeminfo
1669 enable_taskkill
1670 enable_tasklist
1671 enable_taskmgr
1672 enable_termsv
1673 enable_uninstaller
1674 enable_unlodctr
1675 enable_view
1676 enable_wevtutil
1677 enable_wineboot
1678 enable_winebrowser
1679 enable_winecfg
1680 enable_wineconsole
1681 enable_winedbg
1682 enable_winedevice
1683 enable_winefile
1684 enable_winemenubuilder
1685 enable_winemine
1686 enable_winemsibuilder
1687 enable_winepath
1688 enable_winetest
1689 enable_winhlp32
1690 enable_winver
1691 enable_wmic
1692 enable_wmplayer
1693 enable_wordpad
1694 enable_write
1695 enable_wscript
1696 enable_wusa
1697 enable_xcopy
1698 enable_server
1699 enable_tools
1701 ac_precious_vars='build_alias
1702 host_alias
1703 target_alias
1705 CFLAGS
1706 LDFLAGS
1707 LIBS
1708 CPPFLAGS
1710 CXXFLAGS
1713 XMKMF
1714 XML2_CFLAGS
1715 XML2_LIBS
1716 XSLT_CFLAGS
1717 XSLT_LIBS
1718 DBUS_CFLAGS
1719 DBUS_LIBS
1720 HAL_CFLAGS
1721 HAL_LIBS
1722 GNUTLS_CFLAGS
1723 GNUTLS_LIBS
1724 SANE_CFLAGS
1725 SANE_LIBS
1726 GPHOTO2_CFLAGS
1727 GPHOTO2_LIBS
1728 GPHOTO2_PORT_CFLAGS
1729 GPHOTO2_PORT_LIBS
1730 LCMS2_CFLAGS
1731 LCMS2_LIBS
1732 FREETYPE_CFLAGS
1733 FREETYPE_LIBS
1734 PULSE_CFLAGS
1735 PULSE_LIBS
1736 GSTREAMER_CFLAGS
1737 GSTREAMER_LIBS
1738 UDEV_CFLAGS
1739 UDEV_LIBS
1740 SDL2_CFLAGS
1741 SDL2_LIBS
1742 CAPI20_CFLAGS
1743 CAPI20_LIBS
1744 CUPS_CFLAGS
1745 CUPS_LIBS
1746 FONTCONFIG_CFLAGS
1747 FONTCONFIG_LIBS
1748 KRB5_CFLAGS
1749 KRB5_LIBS
1750 GSSAPI_CFLAGS
1751 GSSAPI_LIBS
1752 JPEG_CFLAGS
1753 JPEG_LIBS
1754 PNG_CFLAGS
1755 PNG_LIBS
1756 TIFF_CFLAGS
1757 TIFF_LIBS
1758 MPG123_CFLAGS
1759 MPG123_LIBS
1760 NETAPI_CFLAGS
1761 NETAPI_LIBS
1762 LDAP_CFLAGS
1763 LDAP_LIBS'
1766 # Initialize some variables set by options.
1767 ac_init_help=
1768 ac_init_version=false
1769 ac_unrecognized_opts=
1770 ac_unrecognized_sep=
1771 # The variables have the same names as the options, with
1772 # dashes changed to underlines.
1773 cache_file=/dev/null
1774 exec_prefix=NONE
1775 no_create=
1776 no_recursion=
1777 prefix=NONE
1778 program_prefix=NONE
1779 program_suffix=NONE
1780 program_transform_name=s,x,x,
1781 silent=
1782 site=
1783 srcdir=
1784 verbose=
1785 x_includes=NONE
1786 x_libraries=NONE
1788 # Installation directory options.
1789 # These are left unexpanded so users can "make install exec_prefix=/foo"
1790 # and all the variables that are supposed to be based on exec_prefix
1791 # by default will actually change.
1792 # Use braces instead of parens because sh, perl, etc. also accept them.
1793 # (The list follows the same order as the GNU Coding Standards.)
1794 bindir='${exec_prefix}/bin'
1795 sbindir='${exec_prefix}/sbin'
1796 libexecdir='${exec_prefix}/libexec'
1797 datarootdir='${prefix}/share'
1798 datadir='${datarootdir}'
1799 sysconfdir='${prefix}/etc'
1800 sharedstatedir='${prefix}/com'
1801 localstatedir='${prefix}/var'
1802 runstatedir='${localstatedir}/run'
1803 includedir='${prefix}/include'
1804 oldincludedir='/usr/include'
1805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1806 infodir='${datarootdir}/info'
1807 htmldir='${docdir}'
1808 dvidir='${docdir}'
1809 pdfdir='${docdir}'
1810 psdir='${docdir}'
1811 libdir='${exec_prefix}/lib'
1812 localedir='${datarootdir}/locale'
1813 mandir='${datarootdir}/man'
1815 ac_prev=
1816 ac_dashdash=
1817 for ac_option
1819 # If the previous option needs an argument, assign it.
1820 if test -n "$ac_prev"; then
1821 eval $ac_prev=\$ac_option
1822 ac_prev=
1823 continue
1826 case $ac_option in
1827 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1828 *=) ac_optarg= ;;
1829 *) ac_optarg=yes ;;
1830 esac
1832 # Accept the important Cygnus configure options, so we can diagnose typos.
1834 case $ac_dashdash$ac_option in
1836 ac_dashdash=yes ;;
1838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1839 ac_prev=bindir ;;
1840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1841 bindir=$ac_optarg ;;
1843 -build | --build | --buil | --bui | --bu)
1844 ac_prev=build_alias ;;
1845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1846 build_alias=$ac_optarg ;;
1848 -cache-file | --cache-file | --cache-fil | --cache-fi \
1849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1850 ac_prev=cache_file ;;
1851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1853 cache_file=$ac_optarg ;;
1855 --config-cache | -C)
1856 cache_file=config.cache ;;
1858 -datadir | --datadir | --datadi | --datad)
1859 ac_prev=datadir ;;
1860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1861 datadir=$ac_optarg ;;
1863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1864 | --dataroo | --dataro | --datar)
1865 ac_prev=datarootdir ;;
1866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1868 datarootdir=$ac_optarg ;;
1870 -disable-* | --disable-*)
1871 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1872 # Reject names that are not valid shell variable names.
1873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1874 as_fn_error $? "invalid feature name: $ac_useropt"
1875 ac_useropt_orig=$ac_useropt
1876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1877 case $ac_user_opts in
1879 "enable_$ac_useropt"
1880 "*) ;;
1881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1882 ac_unrecognized_sep=', ';;
1883 esac
1884 eval enable_$ac_useropt=no ;;
1886 -docdir | --docdir | --docdi | --doc | --do)
1887 ac_prev=docdir ;;
1888 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1889 docdir=$ac_optarg ;;
1891 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1892 ac_prev=dvidir ;;
1893 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1894 dvidir=$ac_optarg ;;
1896 -enable-* | --enable-*)
1897 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1898 # Reject names that are not valid shell variable names.
1899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1900 as_fn_error $? "invalid feature name: $ac_useropt"
1901 ac_useropt_orig=$ac_useropt
1902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1903 case $ac_user_opts in
1905 "enable_$ac_useropt"
1906 "*) ;;
1907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1908 ac_unrecognized_sep=', ';;
1909 esac
1910 eval enable_$ac_useropt=\$ac_optarg ;;
1912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1914 | --exec | --exe | --ex)
1915 ac_prev=exec_prefix ;;
1916 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1917 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1918 | --exec=* | --exe=* | --ex=*)
1919 exec_prefix=$ac_optarg ;;
1921 -gas | --gas | --ga | --g)
1922 # Obsolete; use --with-gas.
1923 with_gas=yes ;;
1925 -help | --help | --hel | --he | -h)
1926 ac_init_help=long ;;
1927 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1928 ac_init_help=recursive ;;
1929 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1930 ac_init_help=short ;;
1932 -host | --host | --hos | --ho)
1933 ac_prev=host_alias ;;
1934 -host=* | --host=* | --hos=* | --ho=*)
1935 host_alias=$ac_optarg ;;
1937 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1938 ac_prev=htmldir ;;
1939 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1940 | --ht=*)
1941 htmldir=$ac_optarg ;;
1943 -includedir | --includedir | --includedi | --included | --include \
1944 | --includ | --inclu | --incl | --inc)
1945 ac_prev=includedir ;;
1946 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1947 | --includ=* | --inclu=* | --incl=* | --inc=*)
1948 includedir=$ac_optarg ;;
1950 -infodir | --infodir | --infodi | --infod | --info | --inf)
1951 ac_prev=infodir ;;
1952 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1953 infodir=$ac_optarg ;;
1955 -libdir | --libdir | --libdi | --libd)
1956 ac_prev=libdir ;;
1957 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1958 libdir=$ac_optarg ;;
1960 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1961 | --libexe | --libex | --libe)
1962 ac_prev=libexecdir ;;
1963 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1964 | --libexe=* | --libex=* | --libe=*)
1965 libexecdir=$ac_optarg ;;
1967 -localedir | --localedir | --localedi | --localed | --locale)
1968 ac_prev=localedir ;;
1969 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1970 localedir=$ac_optarg ;;
1972 -localstatedir | --localstatedir | --localstatedi | --localstated \
1973 | --localstate | --localstat | --localsta | --localst | --locals)
1974 ac_prev=localstatedir ;;
1975 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1976 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1977 localstatedir=$ac_optarg ;;
1979 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1980 ac_prev=mandir ;;
1981 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1982 mandir=$ac_optarg ;;
1984 -nfp | --nfp | --nf)
1985 # Obsolete; use --without-fp.
1986 with_fp=no ;;
1988 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1989 | --no-cr | --no-c | -n)
1990 no_create=yes ;;
1992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1994 no_recursion=yes ;;
1996 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1997 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1998 | --oldin | --oldi | --old | --ol | --o)
1999 ac_prev=oldincludedir ;;
2000 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2001 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2002 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2003 oldincludedir=$ac_optarg ;;
2005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2006 ac_prev=prefix ;;
2007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2008 prefix=$ac_optarg ;;
2010 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2011 | --program-pre | --program-pr | --program-p)
2012 ac_prev=program_prefix ;;
2013 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2014 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2015 program_prefix=$ac_optarg ;;
2017 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2018 | --program-suf | --program-su | --program-s)
2019 ac_prev=program_suffix ;;
2020 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2021 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2022 program_suffix=$ac_optarg ;;
2024 -program-transform-name | --program-transform-name \
2025 | --program-transform-nam | --program-transform-na \
2026 | --program-transform-n | --program-transform- \
2027 | --program-transform | --program-transfor \
2028 | --program-transfo | --program-transf \
2029 | --program-trans | --program-tran \
2030 | --progr-tra | --program-tr | --program-t)
2031 ac_prev=program_transform_name ;;
2032 -program-transform-name=* | --program-transform-name=* \
2033 | --program-transform-nam=* | --program-transform-na=* \
2034 | --program-transform-n=* | --program-transform-=* \
2035 | --program-transform=* | --program-transfor=* \
2036 | --program-transfo=* | --program-transf=* \
2037 | --program-trans=* | --program-tran=* \
2038 | --progr-tra=* | --program-tr=* | --program-t=*)
2039 program_transform_name=$ac_optarg ;;
2041 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2042 ac_prev=pdfdir ;;
2043 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2044 pdfdir=$ac_optarg ;;
2046 -psdir | --psdir | --psdi | --psd | --ps)
2047 ac_prev=psdir ;;
2048 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2049 psdir=$ac_optarg ;;
2051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2052 | -silent | --silent | --silen | --sile | --sil)
2053 silent=yes ;;
2055 -runstatedir | --runstatedir | --runstatedi | --runstated \
2056 | --runstate | --runstat | --runsta | --runst | --runs \
2057 | --run | --ru | --r)
2058 ac_prev=runstatedir ;;
2059 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2060 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2061 | --run=* | --ru=* | --r=*)
2062 runstatedir=$ac_optarg ;;
2064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2065 ac_prev=sbindir ;;
2066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2067 | --sbi=* | --sb=*)
2068 sbindir=$ac_optarg ;;
2070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2072 | --sharedst | --shareds | --shared | --share | --shar \
2073 | --sha | --sh)
2074 ac_prev=sharedstatedir ;;
2075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2078 | --sha=* | --sh=*)
2079 sharedstatedir=$ac_optarg ;;
2081 -site | --site | --sit)
2082 ac_prev=site ;;
2083 -site=* | --site=* | --sit=*)
2084 site=$ac_optarg ;;
2086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2087 ac_prev=srcdir ;;
2088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2089 srcdir=$ac_optarg ;;
2091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2092 | --syscon | --sysco | --sysc | --sys | --sy)
2093 ac_prev=sysconfdir ;;
2094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2096 sysconfdir=$ac_optarg ;;
2098 -target | --target | --targe | --targ | --tar | --ta | --t)
2099 ac_prev=target_alias ;;
2100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2101 target_alias=$ac_optarg ;;
2103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2104 verbose=yes ;;
2106 -version | --version | --versio | --versi | --vers | -V)
2107 ac_init_version=: ;;
2109 -with-* | --with-*)
2110 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2111 # Reject names that are not valid shell variable names.
2112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2113 as_fn_error $? "invalid package name: $ac_useropt"
2114 ac_useropt_orig=$ac_useropt
2115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2116 case $ac_user_opts in
2118 "with_$ac_useropt"
2119 "*) ;;
2120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2121 ac_unrecognized_sep=', ';;
2122 esac
2123 eval with_$ac_useropt=\$ac_optarg ;;
2125 -without-* | --without-*)
2126 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2127 # Reject names that are not valid shell variable names.
2128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2129 as_fn_error $? "invalid package name: $ac_useropt"
2130 ac_useropt_orig=$ac_useropt
2131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2132 case $ac_user_opts in
2134 "with_$ac_useropt"
2135 "*) ;;
2136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2137 ac_unrecognized_sep=', ';;
2138 esac
2139 eval with_$ac_useropt=no ;;
2141 --x)
2142 # Obsolete; use --with-x.
2143 with_x=yes ;;
2145 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2146 | --x-incl | --x-inc | --x-in | --x-i)
2147 ac_prev=x_includes ;;
2148 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2149 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2150 x_includes=$ac_optarg ;;
2152 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2153 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2154 ac_prev=x_libraries ;;
2155 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2156 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2157 x_libraries=$ac_optarg ;;
2159 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2160 Try \`$0 --help' for more information"
2163 *=*)
2164 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2165 # Reject names that are not valid shell variable names.
2166 case $ac_envvar in #(
2167 '' | [0-9]* | *[!_$as_cr_alnum]* )
2168 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2169 esac
2170 eval $ac_envvar=\$ac_optarg
2171 export $ac_envvar ;;
2174 # FIXME: should be removed in autoconf 3.0.
2175 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2176 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2177 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2178 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2181 esac
2182 done
2184 if test -n "$ac_prev"; then
2185 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2186 as_fn_error $? "missing argument to $ac_option"
2189 if test -n "$ac_unrecognized_opts"; then
2190 case $enable_option_checking in
2191 no) ;;
2192 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2193 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2194 esac
2197 # Check all directory arguments for consistency.
2198 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2199 datadir sysconfdir sharedstatedir localstatedir includedir \
2200 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2201 libdir localedir mandir runstatedir
2203 eval ac_val=\$$ac_var
2204 # Remove trailing slashes.
2205 case $ac_val in
2206 */ )
2207 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2208 eval $ac_var=\$ac_val;;
2209 esac
2210 # Be sure to have absolute directory names.
2211 case $ac_val in
2212 [\\/$]* | ?:[\\/]* ) continue;;
2213 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2214 esac
2215 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2216 done
2218 # There might be people who depend on the old broken behavior: `$host'
2219 # used to hold the argument of --host etc.
2220 # FIXME: To remove some day.
2221 build=$build_alias
2222 host=$host_alias
2223 target=$target_alias
2225 # FIXME: To remove some day.
2226 if test "x$host_alias" != x; then
2227 if test "x$build_alias" = x; then
2228 cross_compiling=maybe
2229 elif test "x$build_alias" != "x$host_alias"; then
2230 cross_compiling=yes
2234 ac_tool_prefix=
2235 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2237 test "$silent" = yes && exec 6>/dev/null
2240 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2241 ac_ls_di=`ls -di .` &&
2242 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2243 as_fn_error $? "working directory cannot be determined"
2244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2245 as_fn_error $? "pwd does not report name of working directory"
2248 # Find the source files, if location was not specified.
2249 if test -z "$srcdir"; then
2250 ac_srcdir_defaulted=yes
2251 # Try the directory containing this script, then the parent directory.
2252 ac_confdir=`$as_dirname -- "$as_myself" ||
2253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2254 X"$as_myself" : 'X\(//\)[^/]' \| \
2255 X"$as_myself" : 'X\(//\)$' \| \
2256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2257 $as_echo X"$as_myself" |
2258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2259 s//\1/
2262 /^X\(\/\/\)[^/].*/{
2263 s//\1/
2266 /^X\(\/\/\)$/{
2267 s//\1/
2270 /^X\(\/\).*/{
2271 s//\1/
2274 s/.*/./; q'`
2275 srcdir=$ac_confdir
2276 if test ! -r "$srcdir/$ac_unique_file"; then
2277 srcdir=..
2279 else
2280 ac_srcdir_defaulted=no
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2283 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2284 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2286 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2287 ac_abs_confdir=`(
2288 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2289 pwd)`
2290 # When building in place, set srcdir=.
2291 if test "$ac_abs_confdir" = "$ac_pwd"; then
2292 srcdir=.
2294 # Remove unnecessary trailing slashes from srcdir.
2295 # Double slashes in file names in object file debugging info
2296 # mess up M-x gdb in Emacs.
2297 case $srcdir in
2298 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2299 esac
2300 for ac_var in $ac_precious_vars; do
2301 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2302 eval ac_env_${ac_var}_value=\$${ac_var}
2303 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2304 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2305 done
2308 # Report the --help message.
2310 if test "$ac_init_help" = "long"; then
2311 # Omit some internal or obsolete options to make the list less imposing.
2312 # This message is too long to be a string in the A/UX 3.1 sh.
2313 cat <<_ACEOF
2314 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2316 Usage: $0 [OPTION]... [VAR=VALUE]...
2318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2319 VAR=VALUE. See below for descriptions of some of the useful variables.
2321 Defaults for the options are specified in brackets.
2323 Configuration:
2324 -h, --help display this help and exit
2325 --help=short display options specific to this package
2326 --help=recursive display the short help of all the included packages
2327 -V, --version display version information and exit
2328 -q, --quiet, --silent do not print \`checking ...' messages
2329 --cache-file=FILE cache test results in FILE [disabled]
2330 -C, --config-cache alias for \`--cache-file=config.cache'
2331 -n, --no-create do not create output files
2332 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2334 Installation directories:
2335 --prefix=PREFIX install architecture-independent files in PREFIX
2336 [$ac_default_prefix]
2337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2338 [PREFIX]
2340 By default, \`make install' will install all the files in
2341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2343 for instance \`--prefix=\$HOME'.
2345 For better control, use the options below.
2347 Fine tuning of the installation directories:
2348 --bindir=DIR user executables [EPREFIX/bin]
2349 --sbindir=DIR system admin executables [EPREFIX/sbin]
2350 --libexecdir=DIR program executables [EPREFIX/libexec]
2351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2354 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2355 --libdir=DIR object code libraries [EPREFIX/lib]
2356 --includedir=DIR C header files [PREFIX/include]
2357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2360 --infodir=DIR info documentation [DATAROOTDIR/info]
2361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2362 --mandir=DIR man documentation [DATAROOTDIR/man]
2363 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2364 --htmldir=DIR html documentation [DOCDIR]
2365 --dvidir=DIR dvi documentation [DOCDIR]
2366 --pdfdir=DIR pdf documentation [DOCDIR]
2367 --psdir=DIR ps documentation [DOCDIR]
2368 _ACEOF
2370 cat <<\_ACEOF
2372 X features:
2373 --x-includes=DIR X include files are in DIR
2374 --x-libraries=DIR X library files are in DIR
2376 System types:
2377 --build=BUILD configure for building on BUILD [guessed]
2378 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2379 _ACEOF
2382 if test -n "$ac_init_help"; then
2383 case $ac_init_help in
2384 short | recursive ) echo "Configuration of Wine 3.2:";;
2385 esac
2386 cat <<\_ACEOF
2388 Optional Features:
2389 --disable-option-checking ignore unrecognized --enable/--with options
2390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2392 --disable-win16 do not include Win16 support
2393 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2394 binaries)
2395 --disable-tests do not build the regression tests
2396 --enable-maintainer-mode
2397 enable maintainer-specific build rules
2398 --disable-largefile omit support for large files
2400 Optional Packages:
2401 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2402 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2403 --without-alsa do not use the Alsa sound support
2404 --without-capi do not use CAPI (ISDN support)
2405 --without-cms do not use CMS (color management support)
2406 --without-coreaudio do not use the CoreAudio sound support
2407 --without-cups do not use CUPS
2408 --without-curses do not use (n)curses
2409 --without-dbus do not use DBus (dynamic device support)
2410 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2411 --without-fontconfig do not use fontconfig
2412 --without-freetype do not use the FreeType library
2413 --without-gettext do not use gettext
2414 --with-gettextpo use the GetTextPO library to rebuild po files
2415 --without-gphoto do not use gphoto (Digital Camera support)
2416 --without-glu do not use the GLU library
2417 --without-gnutls do not use GnuTLS (schannel support)
2418 --without-gsm do not use libgsm (GSM 06.10 codec support)
2419 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2420 --without-gstreamer do not use GStreamer (codecs support)
2421 --without-hal do not use HAL (dynamic device support)
2422 --without-jpeg do not use JPEG
2423 --without-krb5 do not use krb5 (Kerberos)
2424 --without-ldap do not use LDAP
2425 --without-mpg123 do not use the mpg123 library
2426 --without-netapi do not use the Samba NetAPI library
2427 --without-openal do not use OpenAL
2428 --without-opencl do not use OpenCL
2429 --without-opengl do not use OpenGL
2430 --without-osmesa do not use the OSMesa library
2431 --without-oss do not use the OSS sound support
2432 --without-pcap do not use the Packet Capture library
2433 --without-png do not use PNG
2434 --without-pthread do not use the pthread library
2435 --without-pulse do not use PulseAudio sound support
2436 --without-sane do not use SANE (scanner support)
2437 --without-tiff do not use TIFF
2438 --without-udev do not use udev (plug and play support)
2439 --without-sdl do not use SDL
2440 --without-v4l do not use v4l1 (v4l support)
2441 --without-xcomposite do not use the Xcomposite extension
2442 --without-xcursor do not use the Xcursor extension
2443 --without-xfixes do not use Xfixes for clipboard change notifications
2444 --without-xinerama do not use Xinerama (multi-monitor support)
2445 --without-xinput do not use the Xinput extension
2446 --without-xinput2 do not use the Xinput 2 extension
2447 --without-xml do not use XML
2448 --without-xrandr do not use Xrandr (resolution changes)
2449 --without-xrender do not use the Xrender extension
2450 --without-xshape do not use the Xshape extension
2451 --without-xshm do not use XShm (shared memory extension)
2452 --without-xslt do not use XSLT
2453 --without-xxf86vm do not use XFree video mode extension
2454 --without-zlib do not use Zlib (data compression)
2455 --with-wine-tools=DIR use Wine tools from directory DIR
2456 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2457 --with-x use the X Window System
2459 Some influential environment variables:
2460 CC C compiler command
2461 CFLAGS C compiler flags
2462 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2463 nonstandard directory <lib dir>
2464 LIBS libraries to pass to the linker, e.g. -l<library>
2465 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2466 you have headers in a nonstandard directory <include dir>
2467 CXX C++ compiler command
2468 CXXFLAGS C++ compiler flags
2469 CPP C preprocessor
2470 XMKMF Path to xmkmf, Makefile generator for X Window System
2471 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2472 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2473 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2474 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2475 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2476 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2477 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2478 HAL_LIBS Linker flags for hal, overriding pkg-config
2479 GNUTLS_CFLAGS
2480 C compiler flags for gnutls, overriding pkg-config
2481 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2482 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2483 SANE_LIBS Linker flags for libsane, overriding pkg-config
2484 GPHOTO2_CFLAGS
2485 C compiler flags for libgphoto2, overriding pkg-config
2486 GPHOTO2_LIBS
2487 Linker flags for libgphoto2, overriding pkg-config
2488 GPHOTO2_PORT_CFLAGS
2489 C compiler flags for libgphoto2_port, overriding pkg-config
2490 GPHOTO2_PORT_LIBS
2491 Linker flags for libgphoto2_port, overriding pkg-config
2492 LCMS2_CFLAGS
2493 C compiler flags for lcms2, overriding pkg-config
2494 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2495 FREETYPE_CFLAGS
2496 C compiler flags for freetype2, overriding pkg-config
2497 FREETYPE_LIBS
2498 Linker flags for freetype2, overriding pkg-config
2499 PULSE_CFLAGS
2500 C compiler flags for libpulse, overriding pkg-config
2501 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2502 GSTREAMER_CFLAGS
2503 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2504 gstreamer-audio-1.0, overriding pkg-config
2505 GSTREAMER_LIBS
2506 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2507 gstreamer-audio-1.0, overriding pkg-config
2508 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2509 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2510 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2511 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2512 CAPI20_CFLAGS
2513 C compiler flags for capi20, overriding pkg-config
2514 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2515 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2516 CUPS_LIBS Linker flags for cups, overriding pkg-config
2517 FONTCONFIG_CFLAGS
2518 C compiler flags for fontconfig, overriding pkg-config
2519 FONTCONFIG_LIBS
2520 Linker flags for fontconfig, overriding pkg-config
2521 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2522 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2523 GSSAPI_CFLAGS
2524 C compiler flags for krb5-gssapi, overriding pkg-config
2525 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2526 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2527 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2528 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2529 PNG_LIBS Linker flags for libpng, overriding pkg-config
2530 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2531 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2532 MPG123_CFLAGS
2533 C compiler flags for libmpg123, overriding pkg-config
2534 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2535 NETAPI_CFLAGS
2536 C compiler flags for netapi, overriding pkg-config
2537 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2538 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2539 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2541 Use these variables to override the choices made by `configure' or to help
2542 it to find libraries and programs with nonstandard names/locations.
2544 Report bugs to <wine-devel@winehq.org>.
2545 Wine home page: <https://www.winehq.org>.
2546 _ACEOF
2547 ac_status=$?
2550 if test "$ac_init_help" = "recursive"; then
2551 # If there are subdirs, report their specific --help.
2552 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2553 test -d "$ac_dir" ||
2554 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2555 continue
2556 ac_builddir=.
2558 case "$ac_dir" in
2559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2561 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2562 # A ".." for each directory in $ac_dir_suffix.
2563 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2564 case $ac_top_builddir_sub in
2565 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2566 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2567 esac ;;
2568 esac
2569 ac_abs_top_builddir=$ac_pwd
2570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2571 # for backward compatibility:
2572 ac_top_builddir=$ac_top_build_prefix
2574 case $srcdir in
2575 .) # We are building in place.
2576 ac_srcdir=.
2577 ac_top_srcdir=$ac_top_builddir_sub
2578 ac_abs_top_srcdir=$ac_pwd ;;
2579 [\\/]* | ?:[\\/]* ) # Absolute name.
2580 ac_srcdir=$srcdir$ac_dir_suffix;
2581 ac_top_srcdir=$srcdir
2582 ac_abs_top_srcdir=$srcdir ;;
2583 *) # Relative name.
2584 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2585 ac_top_srcdir=$ac_top_build_prefix$srcdir
2586 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2587 esac
2588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2590 cd "$ac_dir" || { ac_status=$?; continue; }
2591 # Check for guested configure.
2592 if test -f "$ac_srcdir/configure.gnu"; then
2593 echo &&
2594 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2595 elif test -f "$ac_srcdir/configure"; then
2596 echo &&
2597 $SHELL "$ac_srcdir/configure" --help=recursive
2598 else
2599 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2600 fi || ac_status=$?
2601 cd "$ac_pwd" || { ac_status=$?; break; }
2602 done
2605 test -n "$ac_init_help" && exit $ac_status
2606 if $ac_init_version; then
2607 cat <<\_ACEOF
2608 Wine configure 3.2
2609 generated by GNU Autoconf 2.69
2611 Copyright (C) 2012 Free Software Foundation, Inc.
2612 This configure script is free software; the Free Software Foundation
2613 gives unlimited permission to copy, distribute and modify it.
2614 _ACEOF
2615 exit
2618 ## ------------------------ ##
2619 ## Autoconf initialization. ##
2620 ## ------------------------ ##
2622 # ac_fn_c_try_compile LINENO
2623 # --------------------------
2624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2625 ac_fn_c_try_compile ()
2627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628 rm -f conftest.$ac_objext
2629 if { { ac_try="$ac_compile"
2630 case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2633 esac
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 $as_echo "$ac_try_echo"; } >&5
2636 (eval "$ac_compile") 2>conftest.err
2637 ac_status=$?
2638 if test -s conftest.err; then
2639 grep -v '^ *+' conftest.err >conftest.er1
2640 cat conftest.er1 >&5
2641 mv -f conftest.er1 conftest.err
2643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2644 test $ac_status = 0; } && {
2645 test -z "$ac_c_werror_flag" ||
2646 test ! -s conftest.err
2647 } && test -s conftest.$ac_objext; then :
2648 ac_retval=0
2649 else
2650 $as_echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2653 ac_retval=1
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656 as_fn_set_status $ac_retval
2658 } # ac_fn_c_try_compile
2660 # ac_fn_cxx_try_compile LINENO
2661 # ----------------------------
2662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2663 ac_fn_cxx_try_compile ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 rm -f conftest.$ac_objext
2667 if { { ac_try="$ac_compile"
2668 case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671 esac
2672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673 $as_echo "$ac_try_echo"; } >&5
2674 (eval "$ac_compile") 2>conftest.err
2675 ac_status=$?
2676 if test -s conftest.err; then
2677 grep -v '^ *+' conftest.err >conftest.er1
2678 cat conftest.er1 >&5
2679 mv -f conftest.er1 conftest.err
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; } && {
2683 test -z "$ac_cxx_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest.$ac_objext; then :
2686 ac_retval=0
2687 else
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 ac_retval=1
2693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2694 as_fn_set_status $ac_retval
2696 } # ac_fn_cxx_try_compile
2698 # ac_fn_c_try_link LINENO
2699 # -----------------------
2700 # Try to link conftest.$ac_ext, and return whether this succeeded.
2701 ac_fn_c_try_link ()
2703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2704 rm -f conftest.$ac_objext conftest$ac_exeext
2705 if { { ac_try="$ac_link"
2706 case "(($ac_try" in
2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2709 esac
2710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2711 $as_echo "$ac_try_echo"; } >&5
2712 (eval "$ac_link") 2>conftest.err
2713 ac_status=$?
2714 if test -s conftest.err; then
2715 grep -v '^ *+' conftest.err >conftest.er1
2716 cat conftest.er1 >&5
2717 mv -f conftest.er1 conftest.err
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; } && {
2721 test -z "$ac_c_werror_flag" ||
2722 test ! -s conftest.err
2723 } && test -s conftest$ac_exeext && {
2724 test "$cross_compiling" = yes ||
2725 test -x conftest$ac_exeext
2726 }; then :
2727 ac_retval=0
2728 else
2729 $as_echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 ac_retval=1
2734 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2735 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2736 # interfere with the next link command; also delete a directory that is
2737 # left behind by Apple's compiler. We do this before executing the actions.
2738 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 as_fn_set_status $ac_retval
2742 } # ac_fn_c_try_link
2744 # ac_fn_c_try_cpp LINENO
2745 # ----------------------
2746 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_c_try_cpp ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 if { { ac_try="$ac_cpp conftest.$ac_ext"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2758 ac_status=$?
2759 if test -s conftest.err; then
2760 grep -v '^ *+' conftest.err >conftest.er1
2761 cat conftest.er1 >&5
2762 mv -f conftest.er1 conftest.err
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; } > conftest.i && {
2766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2767 test ! -s conftest.err
2768 }; then :
2769 ac_retval=0
2770 else
2771 $as_echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2774 ac_retval=1
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 as_fn_set_status $ac_retval
2779 } # ac_fn_c_try_cpp
2781 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2782 # -------------------------------------------------------
2783 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2784 # the include files in INCLUDES and setting the cache variable VAR
2785 # accordingly.
2786 ac_fn_c_check_header_mongrel ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 if eval \${$3+:} false; then :
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2791 $as_echo_n "checking for $2... " >&6; }
2792 if eval \${$3+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 eval ac_res=\$$3
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 $as_echo "$ac_res" >&6; }
2798 else
2799 # Is the header compilable?
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2801 $as_echo_n "checking $2 usability... " >&6; }
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2805 #include <$2>
2806 _ACEOF
2807 if ac_fn_c_try_compile "$LINENO"; then :
2808 ac_header_compiler=yes
2809 else
2810 ac_header_compiler=no
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2814 $as_echo "$ac_header_compiler" >&6; }
2816 # Is the header present?
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2818 $as_echo_n "checking $2 presence... " >&6; }
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2821 #include <$2>
2822 _ACEOF
2823 if ac_fn_c_try_cpp "$LINENO"; then :
2824 ac_header_preproc=yes
2825 else
2826 ac_header_preproc=no
2828 rm -f conftest.err conftest.i conftest.$ac_ext
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2830 $as_echo "$ac_header_preproc" >&6; }
2832 # So? What about this header?
2833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2834 yes:no: )
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2836 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2840 no:yes:* )
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2842 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2844 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2846 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2848 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2850 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2851 ( $as_echo "## ------------------------------------ ##
2852 ## Report this to wine-devel@winehq.org ##
2853 ## ------------------------------------ ##"
2854 ) | sed "s/^/$as_me: WARNING: /" >&2
2856 esac
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 $as_echo_n "checking for $2... " >&6; }
2859 if eval \${$3+:} false; then :
2860 $as_echo_n "(cached) " >&6
2861 else
2862 eval "$3=\$ac_header_compiler"
2864 eval ac_res=\$$3
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2866 $as_echo "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_header_mongrel
2872 # ac_fn_c_try_run LINENO
2873 # ----------------------
2874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2875 # that executables *can* be run.
2876 ac_fn_c_try_run ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 if { { ac_try="$ac_link"
2880 case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 $as_echo "$ac_try_echo"; } >&5
2886 (eval "$ac_link") 2>&5
2887 ac_status=$?
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2890 { { case "(($ac_try" in
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2893 esac
2894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2895 $as_echo "$ac_try_echo"; } >&5
2896 (eval "$ac_try") 2>&5
2897 ac_status=$?
2898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899 test $ac_status = 0; }; }; then :
2900 ac_retval=0
2901 else
2902 $as_echo "$as_me: program exited with status $ac_status" >&5
2903 $as_echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_retval=$ac_status
2908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_c_try_run
2914 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2915 # -------------------------------------------------------
2916 # Tests whether HEADER exists and can be compiled using the include files in
2917 # INCLUDES, setting the cache variable VAR accordingly.
2918 ac_fn_c_check_header_compile ()
2920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2922 $as_echo_n "checking for $2... " >&6; }
2923 if eval \${$3+:} false; then :
2924 $as_echo_n "(cached) " >&6
2925 else
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2929 #include <$2>
2930 _ACEOF
2931 if ac_fn_c_try_compile "$LINENO"; then :
2932 eval "$3=yes"
2933 else
2934 eval "$3=no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 eval ac_res=\$$3
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2940 $as_echo "$ac_res" >&6; }
2941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 } # ac_fn_c_check_header_compile
2945 # ac_fn_c_check_func LINENO FUNC VAR
2946 # ----------------------------------
2947 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2948 ac_fn_c_check_func ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2952 $as_echo_n "checking for $2... " >&6; }
2953 if eval \${$3+:} false; then :
2954 $as_echo_n "(cached) " >&6
2955 else
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2958 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2960 #define $2 innocuous_$2
2962 /* System header to define __stub macros and hopefully few prototypes,
2963 which can conflict with char $2 (); below.
2964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2965 <limits.h> exists even on freestanding compilers. */
2967 #ifdef __STDC__
2968 # include <limits.h>
2969 #else
2970 # include <assert.h>
2971 #endif
2973 #undef $2
2975 /* Override any GCC internal prototype to avoid an error.
2976 Use char because int might match the return type of a GCC
2977 builtin and then its argument prototype would still apply. */
2978 #ifdef __cplusplus
2979 extern "C"
2980 #endif
2981 char $2 ();
2982 /* The GNU C library defines this for functions which it implements
2983 to always fail with ENOSYS. Some functions are actually named
2984 something starting with __ and the normal name is an alias. */
2985 #if defined __stub_$2 || defined __stub___$2
2986 choke me
2987 #endif
2990 main ()
2992 return $2 ();
2994 return 0;
2996 _ACEOF
2997 if ac_fn_c_try_link "$LINENO"; then :
2998 eval "$3=yes"
2999 else
3000 eval "$3=no"
3002 rm -f core conftest.err conftest.$ac_objext \
3003 conftest$ac_exeext conftest.$ac_ext
3005 eval ac_res=\$$3
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3007 $as_echo "$ac_res" >&6; }
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 } # ac_fn_c_check_func
3012 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3013 # ----------------------------------------------------
3014 # Tries to find if the field MEMBER exists in type AGGR, after including
3015 # INCLUDES, setting cache variable VAR accordingly.
3016 ac_fn_c_check_member ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3020 $as_echo_n "checking for $2.$3... " >&6; }
3021 if eval \${$4+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3028 main ()
3030 static $2 ac_aggr;
3031 if (ac_aggr.$3)
3032 return 0;
3034 return 0;
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 eval "$4=yes"
3039 else
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3044 main ()
3046 static $2 ac_aggr;
3047 if (sizeof ac_aggr.$3)
3048 return 0;
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 eval "$4=yes"
3055 else
3056 eval "$4=no"
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 eval ac_res=\$$4
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3064 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 } # ac_fn_c_check_member
3069 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3070 # -------------------------------------------
3071 # Tests whether TYPE exists after having included INCLUDES, setting cache
3072 # variable VAR accordingly.
3073 ac_fn_c_check_type ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3077 $as_echo_n "checking for $2... " >&6; }
3078 if eval \${$3+:} false; then :
3079 $as_echo_n "(cached) " >&6
3080 else
3081 eval "$3=no"
3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h. */
3086 main ()
3088 if (sizeof ($2))
3089 return 0;
3091 return 0;
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3099 main ()
3101 if (sizeof (($2)))
3102 return 0;
3104 return 0;
3106 _ACEOF
3107 if ac_fn_c_try_compile "$LINENO"; then :
3109 else
3110 eval "$3=yes"
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 eval ac_res=\$$3
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3118 $as_echo "$ac_res" >&6; }
3119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3121 } # ac_fn_c_check_type
3122 cat >config.log <<_ACEOF
3123 This file contains any messages produced by compilers while
3124 running configure, to aid debugging if configure makes a mistake.
3126 It was created by Wine $as_me 3.2, which was
3127 generated by GNU Autoconf 2.69. Invocation command line was
3129 $ $0 $@
3131 _ACEOF
3132 exec 5>>config.log
3134 cat <<_ASUNAME
3135 ## --------- ##
3136 ## Platform. ##
3137 ## --------- ##
3139 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3140 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3141 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3142 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3143 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3145 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3146 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3148 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3149 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3150 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3151 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3152 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3153 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3154 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3156 _ASUNAME
3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 for as_dir in $PATH
3161 IFS=$as_save_IFS
3162 test -z "$as_dir" && as_dir=.
3163 $as_echo "PATH: $as_dir"
3164 done
3165 IFS=$as_save_IFS
3167 } >&5
3169 cat >&5 <<_ACEOF
3172 ## ----------- ##
3173 ## Core tests. ##
3174 ## ----------- ##
3176 _ACEOF
3179 # Keep a trace of the command line.
3180 # Strip out --no-create and --no-recursion so they do not pile up.
3181 # Strip out --silent because we don't want to record it for future runs.
3182 # Also quote any args containing shell meta-characters.
3183 # Make two passes to allow for proper duplicate-argument suppression.
3184 ac_configure_args=
3185 ac_configure_args0=
3186 ac_configure_args1=
3187 ac_must_keep_next=false
3188 for ac_pass in 1 2
3190 for ac_arg
3192 case $ac_arg in
3193 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3195 | -silent | --silent | --silen | --sile | --sil)
3196 continue ;;
3197 *\'*)
3198 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3199 esac
3200 case $ac_pass in
3201 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3203 as_fn_append ac_configure_args1 " '$ac_arg'"
3204 if test $ac_must_keep_next = true; then
3205 ac_must_keep_next=false # Got value, back to normal.
3206 else
3207 case $ac_arg in
3208 *=* | --config-cache | -C | -disable-* | --disable-* \
3209 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3210 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3211 | -with-* | --with-* | -without-* | --without-* | --x)
3212 case "$ac_configure_args0 " in
3213 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3214 esac
3216 -* ) ac_must_keep_next=true ;;
3217 esac
3219 as_fn_append ac_configure_args " '$ac_arg'"
3221 esac
3222 done
3223 done
3224 { ac_configure_args0=; unset ac_configure_args0;}
3225 { ac_configure_args1=; unset ac_configure_args1;}
3227 # When interrupted or exit'd, cleanup temporary files, and complete
3228 # config.log. We remove comments because anyway the quotes in there
3229 # would cause problems or look ugly.
3230 # WARNING: Use '\'' to represent an apostrophe within the trap.
3231 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3232 trap 'exit_status=$?
3233 # Save into config.log some information that might help in debugging.
3235 echo
3237 $as_echo "## ---------------- ##
3238 ## Cache variables. ##
3239 ## ---------------- ##"
3240 echo
3241 # The following way of writing the cache mishandles newlines in values,
3243 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3244 eval ac_val=\$$ac_var
3245 case $ac_val in #(
3246 *${as_nl}*)
3247 case $ac_var in #(
3248 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3249 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3250 esac
3251 case $ac_var in #(
3252 _ | IFS | as_nl) ;; #(
3253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3254 *) { eval $ac_var=; unset $ac_var;} ;;
3255 esac ;;
3256 esac
3257 done
3258 (set) 2>&1 |
3259 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3260 *${as_nl}ac_space=\ *)
3261 sed -n \
3262 "s/'\''/'\''\\\\'\'''\''/g;
3263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3264 ;; #(
3266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3268 esac |
3269 sort
3271 echo
3273 $as_echo "## ----------------- ##
3274 ## Output variables. ##
3275 ## ----------------- ##"
3276 echo
3277 for ac_var in $ac_subst_vars
3279 eval ac_val=\$$ac_var
3280 case $ac_val in
3281 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3282 esac
3283 $as_echo "$ac_var='\''$ac_val'\''"
3284 done | sort
3285 echo
3287 if test -n "$ac_subst_files"; then
3288 $as_echo "## ------------------- ##
3289 ## File substitutions. ##
3290 ## ------------------- ##"
3291 echo
3292 for ac_var in $ac_subst_files
3294 eval ac_val=\$$ac_var
3295 case $ac_val in
3296 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3297 esac
3298 $as_echo "$ac_var='\''$ac_val'\''"
3299 done | sort
3300 echo
3303 if test -s confdefs.h; then
3304 $as_echo "## ----------- ##
3305 ## confdefs.h. ##
3306 ## ----------- ##"
3307 echo
3308 cat confdefs.h
3309 echo
3311 test "$ac_signal" != 0 &&
3312 $as_echo "$as_me: caught signal $ac_signal"
3313 $as_echo "$as_me: exit $exit_status"
3314 } >&5
3315 rm -f core *.core core.conftest.* &&
3316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3317 exit $exit_status
3319 for ac_signal in 1 2 13 15; do
3320 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3321 done
3322 ac_signal=0
3324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3325 rm -f -r conftest* confdefs.h
3327 $as_echo "/* confdefs.h */" > confdefs.h
3329 # Predefined preprocessor variables.
3331 cat >>confdefs.h <<_ACEOF
3332 #define PACKAGE_NAME "$PACKAGE_NAME"
3333 _ACEOF
3335 cat >>confdefs.h <<_ACEOF
3336 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3337 _ACEOF
3339 cat >>confdefs.h <<_ACEOF
3340 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3341 _ACEOF
3343 cat >>confdefs.h <<_ACEOF
3344 #define PACKAGE_STRING "$PACKAGE_STRING"
3345 _ACEOF
3347 cat >>confdefs.h <<_ACEOF
3348 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3349 _ACEOF
3351 cat >>confdefs.h <<_ACEOF
3352 #define PACKAGE_URL "$PACKAGE_URL"
3353 _ACEOF
3356 # Let the site file select an alternate cache file if it wants to.
3357 # Prefer an explicitly selected file to automatically selected ones.
3358 ac_site_file1=NONE
3359 ac_site_file2=NONE
3360 if test -n "$CONFIG_SITE"; then
3361 # We do not want a PATH search for config.site.
3362 case $CONFIG_SITE in #((
3363 -*) ac_site_file1=./$CONFIG_SITE;;
3364 */*) ac_site_file1=$CONFIG_SITE;;
3365 *) ac_site_file1=./$CONFIG_SITE;;
3366 esac
3367 elif test "x$prefix" != xNONE; then
3368 ac_site_file1=$prefix/share/config.site
3369 ac_site_file2=$prefix/etc/config.site
3370 else
3371 ac_site_file1=$ac_default_prefix/share/config.site
3372 ac_site_file2=$ac_default_prefix/etc/config.site
3374 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3376 test "x$ac_site_file" = xNONE && continue
3377 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3379 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3380 sed 's/^/| /' "$ac_site_file" >&5
3381 . "$ac_site_file" \
3382 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 as_fn_error $? "failed to load site script $ac_site_file
3385 See \`config.log' for more details" "$LINENO" 5; }
3387 done
3389 if test -r "$cache_file"; then
3390 # Some versions of bash will fail to source /dev/null (special files
3391 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3392 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3394 $as_echo "$as_me: loading cache $cache_file" >&6;}
3395 case $cache_file in
3396 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3397 *) . "./$cache_file";;
3398 esac
3400 else
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3402 $as_echo "$as_me: creating cache $cache_file" >&6;}
3403 >$cache_file
3406 # Check that the precious variables saved in the cache have kept the same
3407 # value.
3408 ac_cache_corrupted=false
3409 for ac_var in $ac_precious_vars; do
3410 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3411 eval ac_new_set=\$ac_env_${ac_var}_set
3412 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3413 eval ac_new_val=\$ac_env_${ac_var}_value
3414 case $ac_old_set,$ac_new_set in
3415 set,)
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3417 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3418 ac_cache_corrupted=: ;;
3419 ,set)
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3421 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3422 ac_cache_corrupted=: ;;
3423 ,);;
3425 if test "x$ac_old_val" != "x$ac_new_val"; then
3426 # differences in whitespace do not lead to failure.
3427 ac_old_val_w=`echo x $ac_old_val`
3428 ac_new_val_w=`echo x $ac_new_val`
3429 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3431 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3432 ac_cache_corrupted=:
3433 else
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3435 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3436 eval $ac_var=\$ac_old_val
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3439 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3441 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3442 fi;;
3443 esac
3444 # Pass precious variables to config.status.
3445 if test "$ac_new_set" = set; then
3446 case $ac_new_val in
3447 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3448 *) ac_arg=$ac_var=$ac_new_val ;;
3449 esac
3450 case " $ac_configure_args " in
3451 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3452 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3453 esac
3455 done
3456 if $ac_cache_corrupted; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3460 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3461 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3463 ## -------------------- ##
3464 ## Main body of script. ##
3465 ## -------------------- ##
3467 ac_ext=c
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 ac_config_headers="$ac_config_headers include/config.h"
3477 ac_aux_dir=
3478 for ac_dir in tools "$srcdir"/tools; do
3479 if test -f "$ac_dir/install-sh"; then
3480 ac_aux_dir=$ac_dir
3481 ac_install_sh="$ac_aux_dir/install-sh -c"
3482 break
3483 elif test -f "$ac_dir/install.sh"; then
3484 ac_aux_dir=$ac_dir
3485 ac_install_sh="$ac_aux_dir/install.sh -c"
3486 break
3487 elif test -f "$ac_dir/shtool"; then
3488 ac_aux_dir=$ac_dir
3489 ac_install_sh="$ac_aux_dir/shtool install -c"
3490 break
3492 done
3493 if test -z "$ac_aux_dir"; then
3494 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3497 # These three variables are undocumented and unsupported,
3498 # and are intended to be withdrawn in a future Autoconf release.
3499 # They can cause serious problems if a builder's source tree is in a directory
3500 # whose full name contains unusual characters.
3501 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3502 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3503 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3507 libwine_version="1.0"
3511 # Check whether --enable-win16 was given.
3512 if test "${enable_win16+set}" = set; then :
3513 enableval=$enable_win16;
3516 # Check whether --enable-win64 was given.
3517 if test "${enable_win64+set}" = set; then :
3518 enableval=$enable_win64;
3521 # Check whether --enable-tests was given.
3522 if test "${enable_tests+set}" = set; then :
3523 enableval=$enable_tests;
3526 # Check whether --enable-maintainer-mode was given.
3527 if test "${enable_maintainer_mode+set}" = set; then :
3528 enableval=$enable_maintainer_mode;
3533 # Check whether --with-alsa was given.
3534 if test "${with_alsa+set}" = set; then :
3535 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3539 # Check whether --with-capi was given.
3540 if test "${with_capi+set}" = set; then :
3541 withval=$with_capi;
3545 # Check whether --with-cms was given.
3546 if test "${with_cms+set}" = set; then :
3547 withval=$with_cms;
3551 # Check whether --with-coreaudio was given.
3552 if test "${with_coreaudio+set}" = set; then :
3553 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3557 # Check whether --with-cups was given.
3558 if test "${with_cups+set}" = set; then :
3559 withval=$with_cups;
3563 # Check whether --with-curses was given.
3564 if test "${with_curses+set}" = set; then :
3565 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3569 # Check whether --with-dbus was given.
3570 if test "${with_dbus+set}" = set; then :
3571 withval=$with_dbus;
3575 # Check whether --with-float-abi was given.
3576 if test "${with_float_abi+set}" = set; then :
3577 withval=$with_float_abi;
3581 # Check whether --with-fontconfig was given.
3582 if test "${with_fontconfig+set}" = set; then :
3583 withval=$with_fontconfig;
3587 # Check whether --with-freetype was given.
3588 if test "${with_freetype+set}" = set; then :
3589 withval=$with_freetype;
3593 # Check whether --with-gettext was given.
3594 if test "${with_gettext+set}" = set; then :
3595 withval=$with_gettext;
3599 # Check whether --with-gettextpo was given.
3600 if test "${with_gettextpo+set}" = set; then :
3601 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3605 # Check whether --with-gphoto was given.
3606 if test "${with_gphoto+set}" = set; then :
3607 withval=$with_gphoto;
3611 # Check whether --with-glu was given.
3612 if test "${with_glu+set}" = set; then :
3613 withval=$with_glu;
3617 # Check whether --with-gnutls was given.
3618 if test "${with_gnutls+set}" = set; then :
3619 withval=$with_gnutls;
3623 # Check whether --with-gsm was given.
3624 if test "${with_gsm+set}" = set; then :
3625 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3629 # Check whether --with-gssapi was given.
3630 if test "${with_gssapi+set}" = set; then :
3631 withval=$with_gssapi;
3635 # Check whether --with-gstreamer was given.
3636 if test "${with_gstreamer+set}" = set; then :
3637 withval=$with_gstreamer;
3641 # Check whether --with-hal was given.
3642 if test "${with_hal+set}" = set; then :
3643 withval=$with_hal;
3647 # Check whether --with-jpeg was given.
3648 if test "${with_jpeg+set}" = set; then :
3649 withval=$with_jpeg;
3653 # Check whether --with-krb5 was given.
3654 if test "${with_krb5+set}" = set; then :
3655 withval=$with_krb5;
3659 # Check whether --with-ldap was given.
3660 if test "${with_ldap+set}" = set; then :
3661 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3665 # Check whether --with-mpg123 was given.
3666 if test "${with_mpg123+set}" = set; then :
3667 withval=$with_mpg123;
3671 # Check whether --with-netapi was given.
3672 if test "${with_netapi+set}" = set; then :
3673 withval=$with_netapi;
3677 # Check whether --with-openal was given.
3678 if test "${with_openal+set}" = set; then :
3679 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3683 # Check whether --with-opencl was given.
3684 if test "${with_opencl+set}" = set; then :
3685 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3689 # Check whether --with-opengl was given.
3690 if test "${with_opengl+set}" = set; then :
3691 withval=$with_opengl;
3695 # Check whether --with-osmesa was given.
3696 if test "${with_osmesa+set}" = set; then :
3697 withval=$with_osmesa;
3701 # Check whether --with-oss was given.
3702 if test "${with_oss+set}" = set; then :
3703 withval=$with_oss;
3707 # Check whether --with-pcap was given.
3708 if test "${with_pcap+set}" = set; then :
3709 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3713 # Check whether --with-png was given.
3714 if test "${with_png+set}" = set; then :
3715 withval=$with_png;
3719 # Check whether --with-pthread was given.
3720 if test "${with_pthread+set}" = set; then :
3721 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3725 # Check whether --with-pulse was given.
3726 if test "${with_pulse+set}" = set; then :
3727 withval=$with_pulse;
3731 # Check whether --with-sane was given.
3732 if test "${with_sane+set}" = set; then :
3733 withval=$with_sane;
3737 # Check whether --with-tiff was given.
3738 if test "${with_tiff+set}" = set; then :
3739 withval=$with_tiff;
3743 # Check whether --with-udev was given.
3744 if test "${with_udev+set}" = set; then :
3745 withval=$with_udev;
3749 # Check whether --with-sdl was given.
3750 if test "${with_sdl+set}" = set; then :
3751 withval=$with_sdl;
3755 # Check whether --with-v4l was given.
3756 if test "${with_v4l+set}" = set; then :
3757 withval=$with_v4l;
3761 # Check whether --with-xcomposite was given.
3762 if test "${with_xcomposite+set}" = set; then :
3763 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3767 # Check whether --with-xcursor was given.
3768 if test "${with_xcursor+set}" = set; then :
3769 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3773 # Check whether --with-xfixes was given.
3774 if test "${with_xfixes+set}" = set; then :
3775 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3779 # Check whether --with-xinerama was given.
3780 if test "${with_xinerama+set}" = set; then :
3781 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3785 # Check whether --with-xinput was given.
3786 if test "${with_xinput+set}" = set; then :
3787 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3791 # Check whether --with-xinput2 was given.
3792 if test "${with_xinput2+set}" = set; then :
3793 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3797 # Check whether --with-xml was given.
3798 if test "${with_xml+set}" = set; then :
3799 withval=$with_xml;
3803 # Check whether --with-xrandr was given.
3804 if test "${with_xrandr+set}" = set; then :
3805 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3809 # Check whether --with-xrender was given.
3810 if test "${with_xrender+set}" = set; then :
3811 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3815 # Check whether --with-xshape was given.
3816 if test "${with_xshape+set}" = set; then :
3817 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3821 # Check whether --with-xshm was given.
3822 if test "${with_xshm+set}" = set; then :
3823 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3827 # Check whether --with-xslt was given.
3828 if test "${with_xslt+set}" = set; then :
3829 withval=$with_xslt;
3833 # Check whether --with-xxf86vm was given.
3834 if test "${with_xxf86vm+set}" = set; then :
3835 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
3839 # Check whether --with-zlib was given.
3840 if test "${with_zlib+set}" = set; then :
3841 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3846 # Check whether --with-wine-tools was given.
3847 if test "${with_wine_tools+set}" = set; then :
3848 withval=$with_wine_tools;
3852 # Check whether --with-wine64 was given.
3853 if test "${with_wine64+set}" = set; then :
3854 withval=$with_wine64;
3858 # Make sure we can run config.sub.
3859 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3860 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3863 $as_echo_n "checking build system type... " >&6; }
3864 if ${ac_cv_build+:} false; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 ac_build_alias=$build_alias
3868 test "x$ac_build_alias" = x &&
3869 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3870 test "x$ac_build_alias" = x &&
3871 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3873 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3877 $as_echo "$ac_cv_build" >&6; }
3878 case $ac_cv_build in
3879 *-*-*) ;;
3880 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3881 esac
3882 build=$ac_cv_build
3883 ac_save_IFS=$IFS; IFS='-'
3884 set x $ac_cv_build
3885 shift
3886 build_cpu=$1
3887 build_vendor=$2
3888 shift; shift
3889 # Remember, the first character of IFS is used to create $*,
3890 # except with old shells:
3891 build_os=$*
3892 IFS=$ac_save_IFS
3893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3897 $as_echo_n "checking host system type... " >&6; }
3898 if ${ac_cv_host+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test "x$host_alias" = x; then
3902 ac_cv_host=$ac_cv_build
3903 else
3904 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3905 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3910 $as_echo "$ac_cv_host" >&6; }
3911 case $ac_cv_host in
3912 *-*-*) ;;
3913 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3914 esac
3915 host=$ac_cv_host
3916 ac_save_IFS=$IFS; IFS='-'
3917 set x $ac_cv_host
3918 shift
3919 host_cpu=$1
3920 host_vendor=$2
3921 shift; shift
3922 # Remember, the first character of IFS is used to create $*,
3923 # except with old shells:
3924 host_os=$*
3925 IFS=$ac_save_IFS
3926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3930 case "$srcdir" in
3931 .) ;;
3932 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3933 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3934 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3935 fi ;;
3936 esac
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3940 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3941 set x ${MAKE-make}
3942 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3943 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3944 $as_echo_n "(cached) " >&6
3945 else
3946 cat >conftest.make <<\_ACEOF
3947 SHELL = /bin/sh
3948 all:
3949 @echo '@@@%%%=$(MAKE)=@@@%%%'
3950 _ACEOF
3951 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3952 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3953 *@@@%%%=?*=@@@%%%*)
3954 eval ac_cv_prog_make_${ac_make}_set=yes;;
3956 eval ac_cv_prog_make_${ac_make}_set=no;;
3957 esac
3958 rm -f conftest.make
3960 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3962 $as_echo "yes" >&6; }
3963 SET_MAKE=
3964 else
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3967 SET_MAKE="MAKE=${MAKE-make}"
3970 ac_ext=c
3971 ac_cpp='$CPP $CPPFLAGS'
3972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3975 if test -n "$ac_tool_prefix"; then
3976 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3977 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if ${ac_cv_prog_CC+:} false; then :
3981 $as_echo_n "(cached) " >&6
3982 else
3983 if test -n "$CC"; then
3984 ac_cv_prog_CC="$CC" # Let the user override the test.
3985 else
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 for as_dir in $PATH
3989 IFS=$as_save_IFS
3990 test -z "$as_dir" && as_dir=.
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 break 2
3997 done
3998 done
3999 IFS=$as_save_IFS
4003 CC=$ac_cv_prog_CC
4004 if test -n "$CC"; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4006 $as_echo "$CC" >&6; }
4007 else
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4014 if test -z "$ac_cv_prog_CC"; then
4015 ac_ct_CC=$CC
4016 # Extract the first word of "gcc", so it can be a program name with args.
4017 set dummy gcc; ac_word=$2
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4021 $as_echo_n "(cached) " >&6
4022 else
4023 if test -n "$ac_ct_CC"; then
4024 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4025 else
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 for as_dir in $PATH
4029 IFS=$as_save_IFS
4030 test -z "$as_dir" && as_dir=.
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4033 ac_cv_prog_ac_ct_CC="gcc"
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 break 2
4037 done
4038 done
4039 IFS=$as_save_IFS
4043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4044 if test -n "$ac_ct_CC"; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4046 $as_echo "$ac_ct_CC" >&6; }
4047 else
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4052 if test "x$ac_ct_CC" = x; then
4053 CC=""
4054 else
4055 case $cross_compiling:$ac_tool_warned in
4056 yes:)
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4059 ac_tool_warned=yes ;;
4060 esac
4061 CC=$ac_ct_CC
4063 else
4064 CC="$ac_cv_prog_CC"
4067 if test -z "$CC"; then
4068 if test -n "$ac_tool_prefix"; then
4069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4070 set dummy ${ac_tool_prefix}cc; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if ${ac_cv_prog_CC+:} false; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 if test -n "$CC"; then
4077 ac_cv_prog_CC="$CC" # Let the user override the test.
4078 else
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 for as_dir in $PATH
4082 IFS=$as_save_IFS
4083 test -z "$as_dir" && as_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4086 ac_cv_prog_CC="${ac_tool_prefix}cc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 break 2
4090 done
4091 done
4092 IFS=$as_save_IFS
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4108 if test -z "$CC"; then
4109 # Extract the first word of "cc", so it can be a program name with args.
4110 set dummy cc; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_CC+:} false; then :
4114 $as_echo_n "(cached) " >&6
4115 else
4116 if test -n "$CC"; then
4117 ac_cv_prog_CC="$CC" # Let the user override the test.
4118 else
4119 ac_prog_rejected=no
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 for as_dir in $PATH
4123 IFS=$as_save_IFS
4124 test -z "$as_dir" && as_dir=.
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4127 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4128 ac_prog_rejected=yes
4129 continue
4131 ac_cv_prog_CC="cc"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 break 2
4135 done
4136 done
4137 IFS=$as_save_IFS
4139 if test $ac_prog_rejected = yes; then
4140 # We found a bogon in the path, so make sure we never use it.
4141 set dummy $ac_cv_prog_CC
4142 shift
4143 if test $# != 0; then
4144 # We chose a different compiler from the bogus one.
4145 # However, it has the same basename, so the bogon will be chosen
4146 # first if we set CC to just the basename; use the full file name.
4147 shift
4148 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4153 CC=$ac_cv_prog_CC
4154 if test -n "$CC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4156 $as_echo "$CC" >&6; }
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4164 if test -z "$CC"; then
4165 if test -n "$ac_tool_prefix"; then
4166 for ac_prog in cl.exe
4168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_CC+:} false; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 if test -n "$CC"; then
4176 ac_cv_prog_CC="$CC" # Let the user override the test.
4177 else
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4181 IFS=$as_save_IFS
4182 test -z "$as_dir" && as_dir=.
4183 for ac_exec_ext in '' $ac_executable_extensions; do
4184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4185 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 break 2
4189 done
4190 done
4191 IFS=$as_save_IFS
4195 CC=$ac_cv_prog_CC
4196 if test -n "$CC"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4198 $as_echo "$CC" >&6; }
4199 else
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4205 test -n "$CC" && break
4206 done
4208 if test -z "$CC"; then
4209 ac_ct_CC=$CC
4210 for ac_prog in cl.exe
4212 # Extract the first word of "$ac_prog", so it can be a program name with args.
4213 set dummy $ac_prog; ac_word=$2
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 $as_echo_n "checking for $ac_word... " >&6; }
4216 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4217 $as_echo_n "(cached) " >&6
4218 else
4219 if test -n "$ac_ct_CC"; then
4220 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4221 else
4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4223 for as_dir in $PATH
4225 IFS=$as_save_IFS
4226 test -z "$as_dir" && as_dir=.
4227 for ac_exec_ext in '' $ac_executable_extensions; do
4228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229 ac_cv_prog_ac_ct_CC="$ac_prog"
4230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 break 2
4233 done
4234 done
4235 IFS=$as_save_IFS
4239 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4240 if test -n "$ac_ct_CC"; then
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4242 $as_echo "$ac_ct_CC" >&6; }
4243 else
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245 $as_echo "no" >&6; }
4249 test -n "$ac_ct_CC" && break
4250 done
4252 if test "x$ac_ct_CC" = x; then
4253 CC=""
4254 else
4255 case $cross_compiling:$ac_tool_warned in
4256 yes:)
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4259 ac_tool_warned=yes ;;
4260 esac
4261 CC=$ac_ct_CC
4268 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4270 as_fn_error $? "no acceptable C compiler found in \$PATH
4271 See \`config.log' for more details" "$LINENO" 5; }
4273 # Provide some information about the compiler.
4274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4275 set X $ac_compile
4276 ac_compiler=$2
4277 for ac_option in --version -v -V -qversion; do
4278 { { ac_try="$ac_compiler $ac_option >&5"
4279 case "(($ac_try" in
4280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281 *) ac_try_echo=$ac_try;;
4282 esac
4283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4284 $as_echo "$ac_try_echo"; } >&5
4285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4286 ac_status=$?
4287 if test -s conftest.err; then
4288 sed '10a\
4289 ... rest of stderr output deleted ...
4290 10q' conftest.err >conftest.er1
4291 cat conftest.er1 >&5
4293 rm -f conftest.er1 conftest.err
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }
4296 done
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4306 return 0;
4308 _ACEOF
4309 ac_clean_files_save=$ac_clean_files
4310 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4311 # Try to create an executable without -o first, disregard a.out.
4312 # It will help us diagnose broken compilers, and finding out an intuition
4313 # of exeext.
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4315 $as_echo_n "checking whether the C compiler works... " >&6; }
4316 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4318 # The possible output files:
4319 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4321 ac_rmfiles=
4322 for ac_file in $ac_files
4324 case $ac_file in
4325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4326 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4327 esac
4328 done
4329 rm -f $ac_rmfiles
4331 if { { ac_try="$ac_link_default"
4332 case "(($ac_try" in
4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4335 esac
4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_link_default") 2>&5
4339 ac_status=$?
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }; then :
4342 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4343 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4344 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4345 # so that the user can short-circuit this test for compilers unknown to
4346 # Autoconf.
4347 for ac_file in $ac_files ''
4349 test -f "$ac_file" || continue
4350 case $ac_file in
4351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4353 [ab].out )
4354 # We found the default executable, but exeext='' is most
4355 # certainly right.
4356 break;;
4357 *.* )
4358 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4359 then :; else
4360 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4362 # We set ac_cv_exeext here because the later test for it is not
4363 # safe: cross compilers may not add the suffix if given an `-o'
4364 # argument, so we may need to know it at that point already.
4365 # Even if this section looks crufty: it has the advantage of
4366 # actually working.
4367 break;;
4369 break;;
4370 esac
4371 done
4372 test "$ac_cv_exeext" = no && ac_cv_exeext=
4374 else
4375 ac_file=''
4377 if test -z "$ac_file"; then :
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4380 $as_echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4385 as_fn_error 77 "C compiler cannot create executables
4386 See \`config.log' for more details" "$LINENO" 5; }
4387 else
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4389 $as_echo "yes" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4392 $as_echo_n "checking for C compiler default output file name... " >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4394 $as_echo "$ac_file" >&6; }
4395 ac_exeext=$ac_cv_exeext
4397 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4398 ac_clean_files=$ac_clean_files_save
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4400 $as_echo_n "checking for suffix of executables... " >&6; }
4401 if { { ac_try="$ac_link"
4402 case "(($ac_try" in
4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4404 *) ac_try_echo=$ac_try;;
4405 esac
4406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4407 $as_echo "$ac_try_echo"; } >&5
4408 (eval "$ac_link") 2>&5
4409 ac_status=$?
4410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4411 test $ac_status = 0; }; then :
4412 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4413 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4414 # work properly (i.e., refer to `conftest.exe'), while it won't with
4415 # `rm'.
4416 for ac_file in conftest.exe conftest conftest.*; do
4417 test -f "$ac_file" || continue
4418 case $ac_file in
4419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4420 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4421 break;;
4422 * ) break;;
4423 esac
4424 done
4425 else
4426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4428 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4429 See \`config.log' for more details" "$LINENO" 5; }
4431 rm -f conftest conftest$ac_cv_exeext
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4433 $as_echo "$ac_cv_exeext" >&6; }
4435 rm -f conftest.$ac_ext
4436 EXEEXT=$ac_cv_exeext
4437 ac_exeext=$EXEEXT
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4440 #include <stdio.h>
4442 main ()
4444 FILE *f = fopen ("conftest.out", "w");
4445 return ferror (f) || fclose (f) != 0;
4448 return 0;
4450 _ACEOF
4451 ac_clean_files="$ac_clean_files conftest.out"
4452 # Check that the compiler produces executables we can run. If not, either
4453 # the compiler is broken, or we cross compile.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4455 $as_echo_n "checking whether we are cross compiling... " >&6; }
4456 if test "$cross_compiling" != yes; then
4457 { { ac_try="$ac_link"
4458 case "(($ac_try" in
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4461 esac
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_link") 2>&5
4465 ac_status=$?
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }
4468 if { ac_try='./conftest$ac_cv_exeext'
4469 { { case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_try") 2>&5
4476 ac_status=$?
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; }; then
4479 cross_compiling=no
4480 else
4481 if test "$cross_compiling" = maybe; then
4482 cross_compiling=yes
4483 else
4484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486 as_fn_error $? "cannot run C compiled programs.
4487 If you meant to cross compile, use \`--host'.
4488 See \`config.log' for more details" "$LINENO" 5; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4493 $as_echo "$cross_compiling" >&6; }
4495 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4496 ac_clean_files=$ac_clean_files_save
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4498 $as_echo_n "checking for suffix of object files... " >&6; }
4499 if ${ac_cv_objext+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.o conftest.obj
4514 if { { ac_try="$ac_compile"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compile") 2>&5
4522 ac_status=$?
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }; then :
4525 for ac_file in conftest.o conftest.obj conftest.*; do
4526 test -f "$ac_file" || continue;
4527 case $ac_file in
4528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4530 break;;
4531 esac
4532 done
4533 else
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "cannot compute suffix of object files: cannot compile
4540 See \`config.log' for more details" "$LINENO" 5; }
4542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4545 $as_echo "$ac_cv_objext" >&6; }
4546 OBJEXT=$ac_cv_objext
4547 ac_objext=$OBJEXT
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4550 if ${ac_cv_c_compiler_gnu+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4559 #ifndef __GNUC__
4560 choke me
4561 #endif
4564 return 0;
4566 _ACEOF
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 ac_compiler_gnu=yes
4569 else
4570 ac_compiler_gnu=no
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4578 if test $ac_compiler_gnu = yes; then
4579 GCC=yes
4580 else
4581 GCC=
4583 ac_test_CFLAGS=${CFLAGS+set}
4584 ac_save_CFLAGS=$CFLAGS
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4587 if ${ac_cv_prog_cc_g+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 ac_save_c_werror_flag=$ac_c_werror_flag
4591 ac_c_werror_flag=yes
4592 ac_cv_prog_cc_g=no
4593 CFLAGS="-g"
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_g=yes
4607 else
4608 CFLAGS=""
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4617 return 0;
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4622 else
4623 ac_c_werror_flag=$ac_save_c_werror_flag
4624 CFLAGS="-g"
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4629 main ()
4633 return 0;
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_cv_prog_cc_g=yes
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 ac_c_werror_flag=$ac_save_c_werror_flag
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4647 $as_echo "$ac_cv_prog_cc_g" >&6; }
4648 if test "$ac_test_CFLAGS" = set; then
4649 CFLAGS=$ac_save_CFLAGS
4650 elif test $ac_cv_prog_cc_g = yes; then
4651 if test "$GCC" = yes; then
4652 CFLAGS="-g -O2"
4653 else
4654 CFLAGS="-g"
4656 else
4657 if test "$GCC" = yes; then
4658 CFLAGS="-O2"
4659 else
4660 CFLAGS=
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4665 if ${ac_cv_prog_cc_c89+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_cv_prog_cc_c89=no
4669 ac_save_CC=$CC
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672 #include <stdarg.h>
4673 #include <stdio.h>
4674 struct stat;
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4679 char **p;
4680 int i;
4682 return p[i];
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4686 char *s;
4687 va_list v;
4688 va_start (v,p);
4689 s = g (p, va_arg (v,int));
4690 va_end (v);
4691 return s;
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4705 #define FOO(x) 'x'
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4712 int argc;
4713 char **argv;
4715 main ()
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4719 return 0;
4721 _ACEOF
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 done
4732 rm -f conftest.$ac_ext
4733 CC=$ac_save_CC
4736 # AC_CACHE_VAL
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4741 xno)
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 esac
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 ac_ext=cpp
4760 ac_cpp='$CXXCPP $CPPFLAGS'
4761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4764 if test -z "$CXX"; then
4765 if test -n "$CCC"; then
4766 CXX=$CCC
4767 else
4768 if test -n "$ac_tool_prefix"; then
4769 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_CXX+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 if test -n "$CXX"; then
4779 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4798 CXX=$ac_cv_prog_CXX
4799 if test -n "$CXX"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4801 $as_echo "$CXX" >&6; }
4802 else
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4808 test -n "$CXX" && break
4809 done
4811 if test -z "$CXX"; then
4812 ac_ct_CXX=$CXX
4813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4815 # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CXX"; then
4823 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CXX="$ac_prog"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4843 if test -n "$ac_ct_CXX"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4845 $as_echo "$ac_ct_CXX" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 test -n "$ac_ct_CXX" && break
4853 done
4855 if test "x$ac_ct_CXX" = x; then
4856 CXX="g++"
4857 else
4858 case $cross_compiling:$ac_tool_warned in
4859 yes:)
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4863 esac
4864 CXX=$ac_ct_CXX
4870 # Provide some information about the compiler.
4871 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4872 set X $ac_compile
4873 ac_compiler=$2
4874 for ac_option in --version -v -V -qversion; do
4875 { { ac_try="$ac_compiler $ac_option >&5"
4876 case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4883 ac_status=$?
4884 if test -s conftest.err; then
4885 sed '10a\
4886 ... rest of stderr output deleted ...
4887 10q' conftest.err >conftest.er1
4888 cat conftest.er1 >&5
4890 rm -f conftest.er1 conftest.err
4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }
4893 done
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4896 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4897 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4904 main ()
4906 #ifndef __GNUC__
4907 choke me
4908 #endif
4911 return 0;
4913 _ACEOF
4914 if ac_fn_cxx_try_compile "$LINENO"; then :
4915 ac_compiler_gnu=yes
4916 else
4917 ac_compiler_gnu=no
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4924 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4925 if test $ac_compiler_gnu = yes; then
4926 GXX=yes
4927 else
4928 GXX=
4930 ac_test_CXXFLAGS=${CXXFLAGS+set}
4931 ac_save_CXXFLAGS=$CXXFLAGS
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4933 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4934 if ${ac_cv_prog_cxx_g+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4938 ac_cxx_werror_flag=yes
4939 ac_cv_prog_cxx_g=no
4940 CXXFLAGS="-g"
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_cxx_try_compile "$LINENO"; then :
4953 ac_cv_prog_cxx_g=yes
4954 else
4955 CXXFLAGS=""
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 else
4970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4994 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4995 if test "$ac_test_CXXFLAGS" = set; then
4996 CXXFLAGS=$ac_save_CXXFLAGS
4997 elif test $ac_cv_prog_cxx_g = yes; then
4998 if test "$GXX" = yes; then
4999 CXXFLAGS="-g -O2"
5000 else
5001 CXXFLAGS="-g"
5003 else
5004 if test "$GXX" = yes; then
5005 CXXFLAGS="-O2"
5006 else
5007 CXXFLAGS=
5010 ac_ext=c
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5016 if test -n "$ac_tool_prefix"; then
5017 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5018 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if ${ac_cv_prog_CPPBIN+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 if test -n "$CPPBIN"; then
5025 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5038 done
5039 done
5040 IFS=$as_save_IFS
5044 CPPBIN=$ac_cv_prog_CPPBIN
5045 if test -n "$CPPBIN"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5047 $as_echo "$CPPBIN" >&6; }
5048 else
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5055 if test -z "$ac_cv_prog_CPPBIN"; then
5056 ac_ct_CPPBIN=$CPPBIN
5057 # Extract the first word of "cpp", so it can be a program name with args.
5058 set dummy cpp; ac_word=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5062 $as_echo_n "(cached) " >&6
5063 else
5064 if test -n "$ac_ct_CPPBIN"; then
5065 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5066 else
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068 for as_dir in $PATH
5070 IFS=$as_save_IFS
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_ac_ct_CPPBIN="cpp"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 break 2
5078 done
5079 done
5080 IFS=$as_save_IFS
5084 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5085 if test -n "$ac_ct_CPPBIN"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5087 $as_echo "$ac_ct_CPPBIN" >&6; }
5088 else
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5093 if test "x$ac_ct_CPPBIN" = x; then
5094 CPPBIN="cpp"
5095 else
5096 case $cross_compiling:$ac_tool_warned in
5097 yes:)
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned=yes ;;
5101 esac
5102 CPPBIN=$ac_ct_CPPBIN
5104 else
5105 CPPBIN="$ac_cv_prog_CPPBIN"
5109 cat >>confdefs.h <<_ACEOF
5110 #define EXEEXT "$ac_exeext"
5111 _ACEOF
5113 if test -n "$ac_tool_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5115 set dummy ${ac_tool_prefix}ld; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_LD+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$LD"; then
5122 ac_cv_prog_LD="$LD" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_LD="${ac_tool_prefix}ld"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 LD=$ac_cv_prog_LD
5142 if test -n "$LD"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5144 $as_echo "$LD" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5152 if test -z "$ac_cv_prog_LD"; then
5153 ac_ct_LD=$LD
5154 # Extract the first word of "ld", so it can be a program name with args.
5155 set dummy ld; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$ac_ct_LD"; then
5162 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_ac_ct_LD="ld"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5182 if test -n "$ac_ct_LD"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5184 $as_echo "$ac_ct_LD" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_ct_LD" = x; then
5191 LD=""
5192 else
5193 case $cross_compiling:$ac_tool_warned in
5194 yes:)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5198 esac
5199 LD=$ac_ct_LD
5201 else
5202 LD="$ac_cv_prog_LD"
5206 case $host in
5207 *-darwin*)
5208 with_fontconfig=${with_fontconfig:-no}
5210 *-mingw32*|*-cygwin*)
5211 enable_win16=${enable_win16:-no}
5212 CFLAGS="$CFLAGS -D_WIN32"
5214 esac
5216 case $host in
5217 x86_64*|amd64*)
5218 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5219 then
5220 CC="$CC -m32"
5221 CXX="$CXX -m32"
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5223 $as_echo_n "checking whether $CC works... " >&6; }
5225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h. */
5229 main ()
5233 return 0;
5235 _ACEOF
5236 if ac_fn_c_try_link "$LINENO"; then :
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5244 rm -f core conftest.err conftest.$ac_objext \
5245 conftest$ac_exeext conftest.$ac_ext
5246 host_cpu="i386"
5247 notice_platform="32-bit "
5248 TARGETFLAGS="-m32"
5250 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5251 export PKG_CONFIG_PATH
5252 enable_win16=${enable_win16:-yes}
5253 else
5254 if test "x${GCC}" = "xyes"
5255 then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5257 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5260 #include <stdarg.h>
5262 main ()
5264 void func(__builtin_ms_va_list *args);
5266 return 0;
5268 _ACEOF
5269 if ac_fn_c_try_compile "$LINENO"; then :
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5271 $as_echo "yes" >&6; }
5272 else
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5275 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279 CC="$CC -m64"
5280 CXX="$CXX -m64"
5281 host_cpu="x86_64"
5282 notice_platform="64-bit "
5283 TARGETFLAGS="-m64"
5287 arm*)
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5289 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5292 int ac_test(int i) { return i; }
5294 main ()
5296 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5298 return 0;
5300 _ACEOF
5301 if ac_fn_c_try_link "$LINENO"; then :
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303 $as_echo "yes" >&6; }
5304 else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5307 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5309 rm -f core conftest.err conftest.$ac_objext \
5310 conftest$ac_exeext conftest.$ac_ext
5311 case $with_float_abi in
5312 soft|softfp|hard)
5313 float_abi=$with_float_abi ;;
5315 case $host_os in
5316 *eabihf)
5317 float_abi=hard ;;
5319 float_abi=softfp
5320 saved_CFLAGS=$CFLAGS
5321 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5323 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main ()
5330 asm("vmrs r2,fpscr");
5332 return 0;
5334 _ACEOF
5335 if ac_fn_c_try_link "$LINENO"; then :
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5337 $as_echo "yes" >&6; }
5338 else
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5340 $as_echo "no" >&6; }
5341 float_abi=soft
5342 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5344 rm -f core conftest.err conftest.$ac_objext \
5345 conftest$ac_exeext conftest.$ac_ext
5346 CFLAGS=$saved_CFLAGS
5347 esac
5349 esac
5350 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5351 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5354 i[3456789]86*)
5355 enable_win16=${enable_win16:-yes}
5357 esac
5359 enable_win16=${enable_win16:-no}
5360 enable_win64=${enable_win64:-no}
5362 enable_winetest=${enable_winetest:-$enable_tests}
5364 if test -n "$with_wine64"
5365 then
5366 if test "x$enable_win64" = "xyes"
5367 then
5368 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5369 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5371 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5372 You should create a separate build directory and run configure from there." "$LINENO" 5
5373 enable_fonts=${enable_fonts:-no}
5374 enable_server=${enable_server:-no}
5375 wine64_disable=\#
5377 elif test "x$enable_win64" = "xyes"
5378 then
5379 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5383 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5384 if ${wine_cv_toolsdir+:} false; then :
5385 $as_echo_n "(cached) " >&6
5386 else
5387 wine_cv_toolsdir="$with_wine_tools"
5388 if test -z "$with_wine_tools"; then
5389 if test "$cross_compiling" = "yes"; then
5390 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5391 elif test -n "$with_wine64"; then
5392 wine_cv_toolsdir="$with_wine64"
5395 if test -z "$wine_cv_toolsdir"; then
5396 wine_makedep=tools/makedep
5397 wine_cv_toolsdir="\$(top_builddir)"
5398 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5399 wine_makedep=$wine_cv_toolsdir/tools/makedep
5400 case "$wine_cv_toolsdir" in
5401 /*) ;;
5402 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5403 esac
5404 enable_tools=${enable_tools:-no}
5405 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5406 else
5407 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5411 $as_echo "$wine_cv_toolsdir" >&6; }
5412 TOOLSDIR=$wine_cv_toolsdir
5414 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5415 then
5416 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5420 for ac_prog in flex
5422 # Extract the first word of "$ac_prog", so it can be a program name with args.
5423 set dummy $ac_prog; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_prog_FLEX+:} false; then :
5427 $as_echo_n "(cached) " >&6
5428 else
5429 if test -n "$FLEX"; then
5430 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5431 else
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in $PATH
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_prog_FLEX="$ac_prog"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 break 2
5443 done
5444 done
5445 IFS=$as_save_IFS
5449 FLEX=$ac_cv_prog_FLEX
5450 if test -n "$FLEX"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5452 $as_echo "$FLEX" >&6; }
5453 else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5459 test -n "$FLEX" && break
5460 done
5461 test -n "$FLEX" || FLEX="none"
5463 if test "$FLEX" = "none"
5464 then
5465 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5468 $as_echo_n "checking whether flex is recent enough... " >&6; }
5469 cat >conftest.l <<EOF
5470 %top{
5471 #include "prediluvian.h"
5475 if $FLEX -t conftest.l >/dev/null 2>&5
5476 then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5478 $as_echo "yes" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5482 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5485 for ac_prog in bison
5487 # Extract the first word of "$ac_prog", so it can be a program name with args.
5488 set dummy $ac_prog; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_BISON+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$BISON"; then
5495 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_BISON="$ac_prog"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 BISON=$ac_cv_prog_BISON
5515 if test -n "$BISON"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5517 $as_echo "$BISON" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5524 test -n "$BISON" && break
5525 done
5526 test -n "$BISON" || BISON="none"
5528 if test "$BISON" = "none"
5529 then
5530 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5533 if test -n "$ac_tool_prefix"; then
5534 for ac_prog in ar gar
5536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_AR+:} false; then :
5541 $as_echo_n "(cached) " >&6
5542 else
5543 if test -n "$AR"; then
5544 ac_cv_prog_AR="$AR" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 AR=$ac_cv_prog_AR
5564 if test -n "$AR"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5566 $as_echo "$AR" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5573 test -n "$AR" && break
5574 done
5576 if test -z "$AR"; then
5577 ac_ct_AR=$AR
5578 for ac_prog in ar gar
5580 # Extract the first word of "$ac_prog", so it can be a program name with args.
5581 set dummy $ac_prog; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$ac_ct_AR"; then
5588 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_ac_ct_AR="$ac_prog"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5608 if test -n "$ac_ct_AR"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5610 $as_echo "$ac_ct_AR" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5617 test -n "$ac_ct_AR" && break
5618 done
5620 if test "x$ac_ct_AR" = x; then
5621 AR="ar"
5622 else
5623 case $cross_compiling:$ac_tool_warned in
5624 yes:)
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5627 ac_tool_warned=yes ;;
5628 esac
5629 AR=$ac_ct_AR
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}strip; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_STRIP+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 if test -n "$STRIP"; then
5642 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 STRIP=$ac_cv_prog_STRIP
5662 if test -n "$STRIP"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5664 $as_echo "$STRIP" >&6; }
5665 else
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5672 if test -z "$ac_cv_prog_STRIP"; then
5673 ac_ct_STRIP=$STRIP
5674 # Extract the first word of "strip", so it can be a program name with args.
5675 set dummy strip; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$ac_ct_STRIP"; then
5682 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_STRIP="strip"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5702 if test -n "$ac_ct_STRIP"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5704 $as_echo "$ac_ct_STRIP" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5710 if test "x$ac_ct_STRIP" = x; then
5711 STRIP="strip"
5712 else
5713 case $cross_compiling:$ac_tool_warned in
5714 yes:)
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5717 ac_tool_warned=yes ;;
5718 esac
5719 STRIP=$ac_ct_STRIP
5721 else
5722 STRIP="$ac_cv_prog_STRIP"
5725 ARFLAGS=rc
5727 if test -n "$ac_tool_prefix"; then
5728 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5729 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_RANLIB+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 if test -n "$RANLIB"; then
5736 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5741 IFS=$as_save_IFS
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 break 2
5749 done
5750 done
5751 IFS=$as_save_IFS
5755 RANLIB=$ac_cv_prog_RANLIB
5756 if test -n "$RANLIB"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5758 $as_echo "$RANLIB" >&6; }
5759 else
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5766 if test -z "$ac_cv_prog_RANLIB"; then
5767 ac_ct_RANLIB=$RANLIB
5768 # Extract the first word of "ranlib", so it can be a program name with args.
5769 set dummy ranlib; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ac_ct_RANLIB"; then
5776 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_ac_ct_RANLIB="ranlib"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5796 if test -n "$ac_ct_RANLIB"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5798 $as_echo "$ac_ct_RANLIB" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5804 if test "x$ac_ct_RANLIB" = x; then
5805 RANLIB=":"
5806 else
5807 case $cross_compiling:$ac_tool_warned in
5808 yes:)
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5811 ac_tool_warned=yes ;;
5812 esac
5813 RANLIB=$ac_ct_RANLIB
5815 else
5816 RANLIB="$ac_cv_prog_RANLIB"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5820 $as_echo_n "checking whether ln -s works... " >&6; }
5821 LN_S=$as_ln_s
5822 if test "$LN_S" = "ln -s"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5824 $as_echo "yes" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5827 $as_echo "no, using $LN_S" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5831 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5832 if ${ac_cv_path_GREP+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if test -z "$GREP"; then
5836 ac_path_GREP_found=false
5837 # Loop through the user's path and test for each of PROGNAME-LIST
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5841 IFS=$as_save_IFS
5842 test -z "$as_dir" && as_dir=.
5843 for ac_prog in grep ggrep; do
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5846 as_fn_executable_p "$ac_path_GREP" || continue
5847 # Check for GNU ac_path_GREP and select it if it is found.
5848 # Check for GNU $ac_path_GREP
5849 case `"$ac_path_GREP" --version 2>&1` in
5850 *GNU*)
5851 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5853 ac_count=0
5854 $as_echo_n 0123456789 >"conftest.in"
5855 while :
5857 cat "conftest.in" "conftest.in" >"conftest.tmp"
5858 mv "conftest.tmp" "conftest.in"
5859 cp "conftest.in" "conftest.nl"
5860 $as_echo 'GREP' >> "conftest.nl"
5861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5863 as_fn_arith $ac_count + 1 && ac_count=$as_val
5864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5865 # Best one so far, save it but keep looking for a better one
5866 ac_cv_path_GREP="$ac_path_GREP"
5867 ac_path_GREP_max=$ac_count
5869 # 10*(2^10) chars as input seems more than enough
5870 test $ac_count -gt 10 && break
5871 done
5872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5873 esac
5875 $ac_path_GREP_found && break 3
5876 done
5877 done
5878 done
5879 IFS=$as_save_IFS
5880 if test -z "$ac_cv_path_GREP"; then
5881 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5883 else
5884 ac_cv_path_GREP=$GREP
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5889 $as_echo "$ac_cv_path_GREP" >&6; }
5890 GREP="$ac_cv_path_GREP"
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5894 $as_echo_n "checking for egrep... " >&6; }
5895 if ${ac_cv_path_EGREP+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5899 then ac_cv_path_EGREP="$GREP -E"
5900 else
5901 if test -z "$EGREP"; then
5902 ac_path_EGREP_found=false
5903 # Loop through the user's path and test for each of PROGNAME-LIST
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5907 IFS=$as_save_IFS
5908 test -z "$as_dir" && as_dir=.
5909 for ac_prog in egrep; do
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5912 as_fn_executable_p "$ac_path_EGREP" || continue
5913 # Check for GNU ac_path_EGREP and select it if it is found.
5914 # Check for GNU $ac_path_EGREP
5915 case `"$ac_path_EGREP" --version 2>&1` in
5916 *GNU*)
5917 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5919 ac_count=0
5920 $as_echo_n 0123456789 >"conftest.in"
5921 while :
5923 cat "conftest.in" "conftest.in" >"conftest.tmp"
5924 mv "conftest.tmp" "conftest.in"
5925 cp "conftest.in" "conftest.nl"
5926 $as_echo 'EGREP' >> "conftest.nl"
5927 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5928 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5929 as_fn_arith $ac_count + 1 && ac_count=$as_val
5930 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5931 # Best one so far, save it but keep looking for a better one
5932 ac_cv_path_EGREP="$ac_path_EGREP"
5933 ac_path_EGREP_max=$ac_count
5935 # 10*(2^10) chars as input seems more than enough
5936 test $ac_count -gt 10 && break
5937 done
5938 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5939 esac
5941 $ac_path_EGREP_found && break 3
5942 done
5943 done
5944 done
5945 IFS=$as_save_IFS
5946 if test -z "$ac_cv_path_EGREP"; then
5947 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5949 else
5950 ac_cv_path_EGREP=$EGREP
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5956 $as_echo "$ac_cv_path_EGREP" >&6; }
5957 EGREP="$ac_cv_path_EGREP"
5960 # Extract the first word of "ldconfig", so it can be a program name with args.
5961 set dummy ldconfig; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_path_LDCONFIG+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 case $LDCONFIG in
5968 [\\/]* | ?:[\\/]*)
5969 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in /sbin /usr/sbin $PATH
5975 IFS=$as_save_IFS
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5987 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5989 esac
5991 LDCONFIG=$ac_cv_path_LDCONFIG
5992 if test -n "$LDCONFIG"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5994 $as_echo "$LDCONFIG" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6001 for ac_prog in msgfmt
6003 # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 set dummy $ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_MSGFMT+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 if test -n "$MSGFMT"; then
6011 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_MSGFMT="$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 MSGFMT=$ac_cv_prog_MSGFMT
6031 if test -n "$MSGFMT"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6033 $as_echo "$MSGFMT" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6040 test -n "$MSGFMT" && break
6041 done
6042 test -n "$MSGFMT" || MSGFMT="false"
6044 if ${ac_tool_prefix+:} false; then :
6045 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 if test -n "$PKG_CONFIG"; then
6053 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6073 if test -n "$PKG_CONFIG"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6075 $as_echo "$PKG_CONFIG" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6083 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6084 if test "x$cross_compiling" = xyes; then :
6086 else
6087 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6088 # Extract the first word of "pkg-config", so it can be a program name with args.
6089 set dummy pkg-config; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6105 ac_cv_prog_PKG_CONFIG="pkg-config"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6118 $as_echo "$PKG_CONFIG" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 else
6127 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6130 if test "x$enable_maintainer_mode" != "xyes"
6131 then
6132 FONTFORGE=""
6133 RSVG=""
6134 CONVERT=""
6135 ICOTOOL=""
6136 else
6137 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6138 for ac_prog in fontforge
6140 # Extract the first word of "$ac_prog", so it can be a program name with args.
6141 set dummy $ac_prog; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if ${ac_cv_prog_FONTFORGE+:} false; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 if test -n "$FONTFORGE"; then
6148 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_FONTFORGE="$ac_prog"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 FONTFORGE=$ac_cv_prog_FONTFORGE
6168 if test -n "$FONTFORGE"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6170 $as_echo "$FONTFORGE" >&6; }
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6177 test -n "$FONTFORGE" && break
6178 done
6179 test -n "$FONTFORGE" || FONTFORGE="false"
6181 for ac_prog in rsvg-convert rsvg
6183 # Extract the first word of "$ac_prog", so it can be a program name with args.
6184 set dummy $ac_prog; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if ${ac_cv_prog_RSVG+:} false; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 if test -n "$RSVG"; then
6191 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_RSVG="$ac_prog"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 RSVG=$ac_cv_prog_RSVG
6211 if test -n "$RSVG"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6213 $as_echo "$RSVG" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6220 test -n "$RSVG" && break
6221 done
6222 test -n "$RSVG" || RSVG="false"
6224 for ac_prog in convert
6226 # Extract the first word of "$ac_prog", so it can be a program name with args.
6227 set dummy $ac_prog; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_CONVERT+:} false; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 if test -n "$CONVERT"; then
6234 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6239 IFS=$as_save_IFS
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_CONVERT="$ac_prog"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 break 2
6247 done
6248 done
6249 IFS=$as_save_IFS
6253 CONVERT=$ac_cv_prog_CONVERT
6254 if test -n "$CONVERT"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6256 $as_echo "$CONVERT" >&6; }
6257 else
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6263 test -n "$CONVERT" && break
6264 done
6265 test -n "$CONVERT" || CONVERT="false"
6267 for ac_prog in icotool
6269 # Extract the first word of "$ac_prog", so it can be a program name with args.
6270 set dummy $ac_prog; ac_word=$2
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 $as_echo_n "checking for $ac_word... " >&6; }
6273 if ${ac_cv_prog_ICOTOOL+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 if test -n "$ICOTOOL"; then
6277 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6278 else
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_ICOTOOL="$ac_prog"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 break 2
6290 done
6291 done
6292 IFS=$as_save_IFS
6296 ICOTOOL=$ac_cv_prog_ICOTOOL
6297 if test -n "$ICOTOOL"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6299 $as_echo "$ICOTOOL" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6306 test -n "$ICOTOOL" && break
6307 done
6308 test -n "$ICOTOOL" || ICOTOOL="false"
6310 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6311 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6313 if test "$CONVERT" = false
6314 then
6315 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6316 else
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6318 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6319 convert_version=`convert --version | head -n1`
6320 if test "x$convert_version" != "x"
6321 then
6322 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6323 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6324 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6325 then
6326 CONVERT=false
6329 if test "$CONVERT" = false
6330 then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6332 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6333 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6334 else
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6336 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6340 if test "$ICOTOOL" = false
6341 then
6342 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6343 else
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6345 $as_echo_n "checking for recent enough icotool... " >&6; }
6346 icotool_version=`icotool --version | head -n1`
6347 if test "x$icotool_version" != "x"
6348 then
6349 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6350 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6351 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6352 then
6353 ICOTOOL=false
6354 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6357 if test "$ICOTOOL" = false
6358 then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6360 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6361 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6362 else
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6364 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6368 with_gettext=yes
6369 with_gettextpo=yes
6370 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6373 test "x$with_gettext" != xno || MSGFMT=false
6374 if test "$MSGFMT" != "false"
6375 then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6377 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6378 cat >conftest.po <<EOF
6379 # comment
6380 msgctxt "ctxt"
6381 msgid "id"
6382 msgstr "str"
6384 if $MSGFMT -o /dev/null conftest.po 2>&5
6385 then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6387 $as_echo "yes" >&6; }
6388 else
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390 $as_echo "no" >&6; }
6391 MSGFMT=false
6394 if test "$MSGFMT" = false; then :
6395 case "x$with_gettext" in
6396 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6397 xno) ;;
6398 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6399 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6400 esac
6401 enable_po=${enable_po:-no}
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6406 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6407 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6408 $as_echo_n "(cached) " >&6
6409 else
6410 ac_check_lib_save_LIBS=$LIBS
6411 LIBS="-li386 $LIBS"
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6415 /* Override any GCC internal prototype to avoid an error.
6416 Use char because int might match the return type of a GCC
6417 builtin and then its argument prototype would still apply. */
6418 #ifdef __cplusplus
6419 extern "C"
6420 #endif
6421 char i386_set_ldt ();
6423 main ()
6425 return i386_set_ldt ();
6427 return 0;
6429 _ACEOF
6430 if ac_fn_c_try_link "$LINENO"; then :
6431 ac_cv_lib_i386_i386_set_ldt=yes
6432 else
6433 ac_cv_lib_i386_i386_set_ldt=no
6435 rm -f core conftest.err conftest.$ac_objext \
6436 conftest$ac_exeext conftest.$ac_ext
6437 LIBS=$ac_check_lib_save_LIBS
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6440 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6441 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6442 cat >>confdefs.h <<_ACEOF
6443 #define HAVE_LIBI386 1
6444 _ACEOF
6446 LIBS="-li386 $LIBS"
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6451 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6452 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 ac_check_lib_save_LIBS=$LIBS
6456 LIBS="-lossaudio $LIBS"
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6460 /* Override any GCC internal prototype to avoid an error.
6461 Use char because int might match the return type of a GCC
6462 builtin and then its argument prototype would still apply. */
6463 #ifdef __cplusplus
6464 extern "C"
6465 #endif
6466 char _oss_ioctl ();
6468 main ()
6470 return _oss_ioctl ();
6472 return 0;
6474 _ACEOF
6475 if ac_fn_c_try_link "$LINENO"; then :
6476 ac_cv_lib_ossaudio__oss_ioctl=yes
6477 else
6478 ac_cv_lib_ossaudio__oss_ioctl=no
6480 rm -f core conftest.err conftest.$ac_objext \
6481 conftest$ac_exeext conftest.$ac_ext
6482 LIBS=$ac_check_lib_save_LIBS
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6485 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6486 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6487 cat >>confdefs.h <<_ACEOF
6488 #define HAVE_LIBOSSAUDIO 1
6489 _ACEOF
6491 LIBS="-lossaudio $LIBS"
6496 OPENGL_LIBS=""
6500 # Check whether --enable-largefile was given.
6501 if test "${enable_largefile+set}" = set; then :
6502 enableval=$enable_largefile;
6505 if test "$enable_largefile" != no; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6508 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6509 if ${ac_cv_sys_largefile_CC+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 ac_cv_sys_largefile_CC=no
6513 if test "$GCC" != yes; then
6514 ac_save_CC=$CC
6515 while :; do
6516 # IRIX 6.2 and later do not support large files by default,
6517 # so use the C compiler's -n32 option if that helps.
6518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6520 #include <sys/types.h>
6521 /* Check that off_t can represent 2**63 - 1 correctly.
6522 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6523 since some C++ compilers masquerading as C compilers
6524 incorrectly reject 9223372036854775807. */
6525 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6526 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6527 && LARGE_OFF_T % 2147483647 == 1)
6528 ? 1 : -1];
6530 main ()
6534 return 0;
6536 _ACEOF
6537 if ac_fn_c_try_compile "$LINENO"; then :
6538 break
6540 rm -f core conftest.err conftest.$ac_objext
6541 CC="$CC -n32"
6542 if ac_fn_c_try_compile "$LINENO"; then :
6543 ac_cv_sys_largefile_CC=' -n32'; break
6545 rm -f core conftest.err conftest.$ac_objext
6546 break
6547 done
6548 CC=$ac_save_CC
6549 rm -f conftest.$ac_ext
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6553 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6554 if test "$ac_cv_sys_largefile_CC" != no; then
6555 CC=$CC$ac_cv_sys_largefile_CC
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6559 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6560 if ${ac_cv_sys_file_offset_bits+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 while :; do
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #include <sys/types.h>
6567 /* Check that off_t can represent 2**63 - 1 correctly.
6568 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6569 since some C++ compilers masquerading as C compilers
6570 incorrectly reject 9223372036854775807. */
6571 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6572 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6573 && LARGE_OFF_T % 2147483647 == 1)
6574 ? 1 : -1];
6576 main ()
6580 return 0;
6582 _ACEOF
6583 if ac_fn_c_try_compile "$LINENO"; then :
6584 ac_cv_sys_file_offset_bits=no; break
6586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6589 #define _FILE_OFFSET_BITS 64
6590 #include <sys/types.h>
6591 /* Check that off_t can represent 2**63 - 1 correctly.
6592 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6593 since some C++ compilers masquerading as C compilers
6594 incorrectly reject 9223372036854775807. */
6595 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6596 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6597 && LARGE_OFF_T % 2147483647 == 1)
6598 ? 1 : -1];
6600 main ()
6604 return 0;
6606 _ACEOF
6607 if ac_fn_c_try_compile "$LINENO"; then :
6608 ac_cv_sys_file_offset_bits=64; break
6610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6611 ac_cv_sys_file_offset_bits=unknown
6612 break
6613 done
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6616 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6617 case $ac_cv_sys_file_offset_bits in #(
6618 no | unknown) ;;
6620 cat >>confdefs.h <<_ACEOF
6621 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6622 _ACEOF
6624 esac
6625 rm -rf conftest*
6626 if test $ac_cv_sys_file_offset_bits = unknown; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6628 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6629 if ${ac_cv_sys_large_files+:} false; then :
6630 $as_echo_n "(cached) " >&6
6631 else
6632 while :; do
6633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #include <sys/types.h>
6636 /* Check that off_t can represent 2**63 - 1 correctly.
6637 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6638 since some C++ compilers masquerading as C compilers
6639 incorrectly reject 9223372036854775807. */
6640 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6641 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6642 && LARGE_OFF_T % 2147483647 == 1)
6643 ? 1 : -1];
6645 main ()
6649 return 0;
6651 _ACEOF
6652 if ac_fn_c_try_compile "$LINENO"; then :
6653 ac_cv_sys_large_files=no; break
6655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 #define _LARGE_FILES 1
6659 #include <sys/types.h>
6660 /* Check that off_t can represent 2**63 - 1 correctly.
6661 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6662 since some C++ compilers masquerading as C compilers
6663 incorrectly reject 9223372036854775807. */
6664 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6665 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6666 && LARGE_OFF_T % 2147483647 == 1)
6667 ? 1 : -1];
6669 main ()
6673 return 0;
6675 _ACEOF
6676 if ac_fn_c_try_compile "$LINENO"; then :
6677 ac_cv_sys_large_files=1; break
6679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6680 ac_cv_sys_large_files=unknown
6681 break
6682 done
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6685 $as_echo "$ac_cv_sys_large_files" >&6; }
6686 case $ac_cv_sys_large_files in #(
6687 no | unknown) ;;
6689 cat >>confdefs.h <<_ACEOF
6690 #define _LARGE_FILES $ac_cv_sys_large_files
6691 _ACEOF
6693 esac
6694 rm -rf conftest*
6701 ac_ext=c
6702 ac_cpp='$CPP $CPPFLAGS'
6703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6707 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6708 # On Suns, sometimes $CPP names a directory.
6709 if test -n "$CPP" && test -d "$CPP"; then
6710 CPP=
6712 if test -z "$CPP"; then
6713 if ${ac_cv_prog_CPP+:} false; then :
6714 $as_echo_n "(cached) " >&6
6715 else
6716 # Double quotes because CPP needs to be expanded
6717 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6719 ac_preproc_ok=false
6720 for ac_c_preproc_warn_flag in '' yes
6722 # Use a header file that comes with gcc, so configuring glibc
6723 # with a fresh cross-compiler works.
6724 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6725 # <limits.h> exists even on freestanding compilers.
6726 # On the NeXT, cc -E runs the code through the compiler's parser,
6727 # not just through cpp. "Syntax error" is here to catch this case.
6728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6730 #ifdef __STDC__
6731 # include <limits.h>
6732 #else
6733 # include <assert.h>
6734 #endif
6735 Syntax error
6736 _ACEOF
6737 if ac_fn_c_try_cpp "$LINENO"; then :
6739 else
6740 # Broken: fails on valid input.
6741 continue
6743 rm -f conftest.err conftest.i conftest.$ac_ext
6745 # OK, works on sane cases. Now check whether nonexistent headers
6746 # can be detected and how.
6747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6748 /* end confdefs.h. */
6749 #include <ac_nonexistent.h>
6750 _ACEOF
6751 if ac_fn_c_try_cpp "$LINENO"; then :
6752 # Broken: success on invalid input.
6753 continue
6754 else
6755 # Passes both tests.
6756 ac_preproc_ok=:
6757 break
6759 rm -f conftest.err conftest.i conftest.$ac_ext
6761 done
6762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6763 rm -f conftest.i conftest.err conftest.$ac_ext
6764 if $ac_preproc_ok; then :
6765 break
6768 done
6769 ac_cv_prog_CPP=$CPP
6772 CPP=$ac_cv_prog_CPP
6773 else
6774 ac_cv_prog_CPP=$CPP
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6777 $as_echo "$CPP" >&6; }
6778 ac_preproc_ok=false
6779 for ac_c_preproc_warn_flag in '' yes
6781 # Use a header file that comes with gcc, so configuring glibc
6782 # with a fresh cross-compiler works.
6783 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6784 # <limits.h> exists even on freestanding compilers.
6785 # On the NeXT, cc -E runs the code through the compiler's parser,
6786 # not just through cpp. "Syntax error" is here to catch this case.
6787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6789 #ifdef __STDC__
6790 # include <limits.h>
6791 #else
6792 # include <assert.h>
6793 #endif
6794 Syntax error
6795 _ACEOF
6796 if ac_fn_c_try_cpp "$LINENO"; then :
6798 else
6799 # Broken: fails on valid input.
6800 continue
6802 rm -f conftest.err conftest.i conftest.$ac_ext
6804 # OK, works on sane cases. Now check whether nonexistent headers
6805 # can be detected and how.
6806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6808 #include <ac_nonexistent.h>
6809 _ACEOF
6810 if ac_fn_c_try_cpp "$LINENO"; then :
6811 # Broken: success on invalid input.
6812 continue
6813 else
6814 # Passes both tests.
6815 ac_preproc_ok=:
6816 break
6818 rm -f conftest.err conftest.i conftest.$ac_ext
6820 done
6821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6822 rm -f conftest.i conftest.err conftest.$ac_ext
6823 if $ac_preproc_ok; then :
6825 else
6826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6828 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6829 See \`config.log' for more details" "$LINENO" 5; }
6832 ac_ext=c
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6840 $as_echo_n "checking for ANSI C header files... " >&6; }
6841 if ${ac_cv_header_stdc+:} false; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6846 #include <stdlib.h>
6847 #include <stdarg.h>
6848 #include <string.h>
6849 #include <float.h>
6852 main ()
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_header_stdc=yes
6861 else
6862 ac_cv_header_stdc=no
6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6866 if test $ac_cv_header_stdc = yes; then
6867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6870 #include <string.h>
6872 _ACEOF
6873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6874 $EGREP "memchr" >/dev/null 2>&1; then :
6876 else
6877 ac_cv_header_stdc=no
6879 rm -f conftest*
6883 if test $ac_cv_header_stdc = yes; then
6884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6887 #include <stdlib.h>
6889 _ACEOF
6890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6891 $EGREP "free" >/dev/null 2>&1; then :
6893 else
6894 ac_cv_header_stdc=no
6896 rm -f conftest*
6900 if test $ac_cv_header_stdc = yes; then
6901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6902 if test "$cross_compiling" = yes; then :
6904 else
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 #include <ctype.h>
6908 #include <stdlib.h>
6909 #if ((' ' & 0x0FF) == 0x020)
6910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6912 #else
6913 # define ISLOWER(c) \
6914 (('a' <= (c) && (c) <= 'i') \
6915 || ('j' <= (c) && (c) <= 'r') \
6916 || ('s' <= (c) && (c) <= 'z'))
6917 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6918 #endif
6920 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6922 main ()
6924 int i;
6925 for (i = 0; i < 256; i++)
6926 if (XOR (islower (i), ISLOWER (i))
6927 || toupper (i) != TOUPPER (i))
6928 return 2;
6929 return 0;
6931 _ACEOF
6932 if ac_fn_c_try_run "$LINENO"; then :
6934 else
6935 ac_cv_header_stdc=no
6937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6938 conftest.$ac_objext conftest.beam conftest.$ac_ext
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6944 $as_echo "$ac_cv_header_stdc" >&6; }
6945 if test $ac_cv_header_stdc = yes; then
6947 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6951 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6953 inttypes.h stdint.h unistd.h
6954 do :
6955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6958 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6959 cat >>confdefs.h <<_ACEOF
6960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6961 _ACEOF
6965 done
6968 for ac_header in \
6969 AL/al.h \
6970 ApplicationServices/ApplicationServices.h \
6971 AudioToolbox/AudioConverter.h \
6972 AudioUnit/AudioUnit.h \
6973 AudioUnit/AudioComponent.h \
6974 CL/cl.h \
6975 Carbon/Carbon.h \
6976 CommonCrypto/CommonCryptor.h \
6977 CoreAudio/CoreAudio.h \
6978 CoreServices/CoreServices.h \
6979 DiskArbitration/DiskArbitration.h \
6980 EGL/egl.h \
6981 IOKit/IOKitLib.h \
6982 IOKit/hid/IOHIDLib.h \
6983 OpenAL/al.h \
6984 OpenCL/opencl.h \
6985 QuickTime/ImageCompression.h \
6986 Security/Security.h \
6987 alias.h \
6988 alsa/asoundlib.h \
6989 arpa/inet.h \
6990 arpa/nameser.h \
6991 asm/types.h \
6992 asm/user.h \
6993 curses.h \
6994 direct.h \
6995 dirent.h \
6996 dlfcn.h \
6997 elf.h \
6998 float.h \
6999 fnmatch.h \
7000 getopt.h \
7001 gettext-po.h \
7002 grp.h \
7003 gsm.h \
7004 gsm/gsm.h \
7005 ieeefp.h \
7006 inet/mib2.h \
7007 io.h \
7008 kstat.h \
7009 libproc.h \
7010 link.h \
7011 linux/cdrom.h \
7012 linux/compiler.h \
7013 linux/filter.h \
7014 linux/hdreg.h \
7015 linux/hidraw.h \
7016 linux/input.h \
7017 linux/ioctl.h \
7018 linux/joystick.h \
7019 linux/major.h \
7020 linux/param.h \
7021 linux/serial.h \
7022 linux/types.h \
7023 linux/ucdrom.h \
7024 lwp.h \
7025 mach-o/nlist.h \
7026 mach-o/loader.h \
7027 mach/mach.h \
7028 mach/machine.h \
7029 machine/cpu.h \
7030 machine/limits.h \
7031 machine/sysarch.h \
7032 mntent.h \
7033 ncurses.h \
7034 netdb.h \
7035 netinet/in.h \
7036 netinet/in_systm.h \
7037 netinet/tcp.h \
7038 netinet/tcp_fsm.h \
7039 pcap/pcap.h \
7040 poll.h \
7041 port.h \
7042 process.h \
7043 pthread.h \
7044 pwd.h \
7045 sched.h \
7046 scsi/scsi.h \
7047 scsi/scsi_ioctl.h \
7048 scsi/sg.h \
7049 stdbool.h \
7050 stdint.h \
7051 stropts.h \
7052 sys/asoundlib.h \
7053 sys/attr.h \
7054 sys/auxv.h \
7055 sys/cdio.h \
7056 sys/elf32.h \
7057 sys/epoll.h \
7058 sys/event.h \
7059 sys/exec_elf.h \
7060 sys/filio.h \
7061 sys/inotify.h \
7062 sys/ioctl.h \
7063 sys/ipc.h \
7064 sys/limits.h \
7065 sys/link.h \
7066 sys/mman.h \
7067 sys/modem.h \
7068 sys/msg.h \
7069 sys/mtio.h \
7070 sys/param.h \
7071 sys/poll.h \
7072 sys/prctl.h \
7073 sys/protosw.h \
7074 sys/ptrace.h \
7075 sys/queue.h \
7076 sys/resource.h \
7077 sys/scsiio.h \
7078 sys/shm.h \
7079 sys/signal.h \
7080 sys/socket.h \
7081 sys/socketvar.h \
7082 sys/sockio.h \
7083 sys/statvfs.h \
7084 sys/strtio.h \
7085 sys/syscall.h \
7086 sys/sysinfo.h \
7087 sys/tihdr.h \
7088 sys/time.h \
7089 sys/timeout.h \
7090 sys/times.h \
7091 sys/uio.h \
7092 sys/user.h \
7093 sys/utsname.h \
7094 sys/vnode.h \
7095 sys/wait.h \
7096 syscall.h \
7097 termios.h \
7098 unistd.h \
7099 utime.h \
7100 valgrind/memcheck.h \
7101 valgrind/valgrind.h \
7102 zlib.h
7104 do :
7105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7108 cat >>confdefs.h <<_ACEOF
7109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 _ACEOF
7114 done
7116 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7117 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7119 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7124 if test $ac_cv_header_sys_mkdev_h = no; then
7125 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7126 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7128 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7135 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7136 if ${ac_cv_header_stat_broken+:} false; then :
7137 $as_echo_n "(cached) " >&6
7138 else
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <sys/types.h>
7142 #include <sys/stat.h>
7144 #if defined S_ISBLK && defined S_IFDIR
7145 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7146 #endif
7148 #if defined S_ISBLK && defined S_IFCHR
7149 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7150 #endif
7152 #if defined S_ISLNK && defined S_IFREG
7153 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7154 #endif
7156 #if defined S_ISSOCK && defined S_IFREG
7157 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7158 #endif
7160 _ACEOF
7161 if ac_fn_c_try_compile "$LINENO"; then :
7162 ac_cv_header_stat_broken=no
7163 else
7164 ac_cv_header_stat_broken=yes
7166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7169 $as_echo "$ac_cv_header_stat_broken" >&6; }
7170 if test $ac_cv_header_stat_broken = yes; then
7172 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7178 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7179 do :
7180 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7181 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7182 #ifdef HAVE_SYS_PARAM_H
7183 # include <sys/param.h>
7184 #endif
7186 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7187 cat >>confdefs.h <<_ACEOF
7188 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7189 _ACEOF
7193 done
7196 for ac_header in \
7197 netinet/ip.h \
7198 net/if.h \
7199 net/if_arp.h \
7200 net/if_dl.h \
7201 net/if_types.h \
7202 net/route.h \
7203 netinet/if_ether.h \
7204 netinet/if_inarp.h \
7205 netinet/in_pcb.h \
7206 netinet/ip_icmp.h \
7207 netinet/ip_var.h \
7208 netinet/udp.h \
7209 netipx/ipx.h \
7210 sys/un.h \
7212 do :
7213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7214 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7215 #ifdef HAVE_SYS_SOCKET_H
7216 # include <sys/socket.h>
7217 #endif
7218 #ifdef HAVE_SYS_SOCKETVAR_H
7219 # include <sys/socketvar.h>
7220 #endif
7221 #ifdef HAVE_NET_ROUTE_H
7222 # include <net/route.h>
7223 #endif
7224 #ifdef HAVE_NETINET_IN_H
7225 # include <netinet/in.h>
7226 #endif
7227 #ifdef HAVE_NETINET_IN_SYSTM_H
7228 # include <netinet/in_systm.h>
7229 #endif
7230 #ifdef HAVE_NET_IF_H
7231 # include <net/if.h>
7232 #endif
7233 #ifdef HAVE_NETINET_IP_H
7234 # include <netinet/ip.h>
7235 #endif
7237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 _ACEOF
7244 done
7247 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7248 do :
7249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7250 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7251 #ifdef HAVE_ALIAS_H
7252 # include <alias.h>
7253 #endif
7254 #ifdef HAVE_SYS_SOCKET_H
7255 # include <sys/socket.h>
7256 #endif
7257 #ifdef HAVE_SYS_SOCKETVAR_H
7258 # include <sys/socketvar.h>
7259 #endif
7260 #ifdef HAVE_SYS_TIMEOUT_H
7261 # include <sys/timeout.h>
7262 #endif
7263 #ifdef HAVE_NETINET_IN_H
7264 # include <netinet/in.h>
7265 #endif
7266 #ifdef HAVE_NETINET_IN_SYSTM_H
7267 # include <netinet/in_systm.h>
7268 #endif
7269 #ifdef HAVE_NETINET_IP_H
7270 # include <netinet/ip.h>
7271 #endif
7272 #ifdef HAVE_NETINET_IP_VAR_H
7273 # include <netinet/ip_var.h>
7274 #endif
7275 #ifdef HAVE_NETINET_IP_ICMP_H
7276 # include <netinet/ip_icmp.h>
7277 #endif
7278 #ifdef HAVE_NETINET_UDP_H
7279 # include <netinet/udp.h>
7280 #endif
7281 #ifdef HAVE_NETINET_TCP_H
7282 # include <netinet/tcp.h>
7283 #endif
7284 #ifdef HAVE_NETINET_TCP_TIMER_H
7285 #include <netinet/tcp_timer.h>
7286 #endif
7288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7289 cat >>confdefs.h <<_ACEOF
7290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7291 _ACEOF
7295 done
7298 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7299 do :
7300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7301 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7302 #ifdef HAVE_ASM_TYPES_H
7303 # include <asm/types.h>
7304 #endif
7305 #ifdef HAVE_SYS_SOCKET_H
7306 # include <sys/socket.h>
7307 #endif
7308 #ifdef HAVE_LINUX_TYPES_H
7309 # include <linux/types.h>
7310 #endif
7312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7313 cat >>confdefs.h <<_ACEOF
7314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7315 _ACEOF
7319 done
7322 for ac_header in mach-o/dyld_images.h
7323 do :
7324 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7325 # include <stdbool.h>
7326 #endif
7327 #ifdef HAVE_STDINT_H
7328 # include <stdint.h>
7329 #endif
7331 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7334 _ACEOF
7338 done
7341 for ac_header in resolv.h
7342 do :
7343 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7344 #ifdef HAVE_SYS_SOCKET_H
7345 # include <sys/socket.h>
7346 #endif
7347 #ifdef HAVE_NETINET_IN_H
7348 # include <netinet/in.h>
7349 #endif
7350 #ifdef HAVE_ARPA_NAMESER_H
7351 # include <arpa/nameser.h>
7352 #endif
7354 if test "x$ac_cv_header_resolv_h" = xyes; then :
7355 cat >>confdefs.h <<_ACEOF
7356 #define HAVE_RESOLV_H 1
7357 _ACEOF
7361 done
7364 for ac_header in ifaddrs.h
7365 do :
7366 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7368 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7369 cat >>confdefs.h <<_ACEOF
7370 #define HAVE_IFADDRS_H 1
7371 _ACEOF
7375 done
7378 for ac_header in sys/ucontext.h
7379 do :
7380 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7382 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_SYS_UCONTEXT_H 1
7385 _ACEOF
7389 done
7392 for ac_header in sys/thr.h
7393 do :
7394 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7395 #ifdef HAVE_SYS_UCONTEXT_H
7396 #include <sys/ucontext.h>
7397 #endif
7399 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7400 cat >>confdefs.h <<_ACEOF
7401 #define HAVE_SYS_THR_H 1
7402 _ACEOF
7406 done
7409 for ac_header in pthread_np.h
7410 do :
7411 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7412 #include <pthread.h>
7413 #endif
7415 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7416 cat >>confdefs.h <<_ACEOF
7417 #define HAVE_PTHREAD_NP_H 1
7418 _ACEOF
7422 done
7425 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7426 do :
7427 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7428 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7429 #include <sys/time.h>
7430 #endif
7431 #include <sys/types.h>
7432 #ifdef HAVE_ASM_TYPES_H
7433 #include <asm/types.h>
7434 #endif
7436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7437 cat >>confdefs.h <<_ACEOF
7438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7439 _ACEOF
7443 done
7446 for ac_header in libprocstat.h
7447 do :
7448 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7449 #include <sys/param.h>
7450 #endif
7451 #ifdef HAVE_SYS_QUEUE_H
7452 #include <sys/queue.h>
7453 #endif
7454 #ifdef HAVE_SYS_SOCKET_H
7455 #include <sys/socket.h>
7456 #endif
7458 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7459 cat >>confdefs.h <<_ACEOF
7460 #define HAVE_LIBPROCSTAT_H 1
7461 _ACEOF
7465 done
7469 DLLFLAGS="-D_REENTRANT"
7471 LDRPATH_INSTALL=""
7473 LDRPATH_LOCAL=""
7475 LDEXECFLAGS=""
7477 WINELOADER_LDFLAGS=""
7479 LIBEXT="so"
7480 DLLEXT=".so"
7481 IMPLIBEXT="def"
7482 # Extract the first word of "ldd", so it can be a program name with args.
7483 set dummy ldd; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if ${ac_cv_path_LDD+:} false; then :
7487 $as_echo_n "(cached) " >&6
7488 else
7489 case $LDD in
7490 [\\/]* | ?:[\\/]*)
7491 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 as_dummy="/sbin:/usr/sbin:$PATH"
7496 for as_dir in $as_dummy
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7510 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7512 esac
7514 LDD=$ac_cv_path_LDD
7515 if test -n "$LDD"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7517 $as_echo "$LDD" >&6; }
7518 else
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7524 if test -n "$ac_tool_prefix"; then
7525 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7526 set dummy ${ac_tool_prefix}otool; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_OTOOL+:} false; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 if test -n "$OTOOL"; then
7533 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 break 2
7546 done
7547 done
7548 IFS=$as_save_IFS
7552 OTOOL=$ac_cv_prog_OTOOL
7553 if test -n "$OTOOL"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7555 $as_echo "$OTOOL" >&6; }
7556 else
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7563 if test -z "$ac_cv_prog_OTOOL"; then
7564 ac_ct_OTOOL=$OTOOL
7565 # Extract the first word of "otool", so it can be a program name with args.
7566 set dummy otool; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7570 $as_echo_n "(cached) " >&6
7571 else
7572 if test -n "$ac_ct_OTOOL"; then
7573 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7578 IFS=$as_save_IFS
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_ac_ct_OTOOL="otool"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 break 2
7586 done
7587 done
7588 IFS=$as_save_IFS
7592 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7593 if test -n "$ac_ct_OTOOL"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7595 $as_echo "$ac_ct_OTOOL" >&6; }
7596 else
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7601 if test "x$ac_ct_OTOOL" = x; then
7602 OTOOL="otool"
7603 else
7604 case $cross_compiling:$ac_tool_warned in
7605 yes:)
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608 ac_tool_warned=yes ;;
7609 esac
7610 OTOOL=$ac_ct_OTOOL
7612 else
7613 OTOOL="$ac_cv_prog_OTOOL"
7616 if test -n "$ac_tool_prefix"; then
7617 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7618 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_READELF+:} false; then :
7622 $as_echo_n "(cached) " >&6
7623 else
7624 if test -n "$READELF"; then
7625 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7630 IFS=$as_save_IFS
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636 break 2
7638 done
7639 done
7640 IFS=$as_save_IFS
7644 READELF=$ac_cv_prog_READELF
7645 if test -n "$READELF"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7647 $as_echo "$READELF" >&6; }
7648 else
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7655 if test -z "$ac_cv_prog_READELF"; then
7656 ac_ct_READELF=$READELF
7657 # Extract the first word of "readelf", so it can be a program name with args.
7658 set dummy readelf; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7662 $as_echo_n "(cached) " >&6
7663 else
7664 if test -n "$ac_ct_READELF"; then
7665 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7666 else
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7668 for as_dir in $PATH
7670 IFS=$as_save_IFS
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_prog_ac_ct_READELF="readelf"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676 break 2
7678 done
7679 done
7680 IFS=$as_save_IFS
7684 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7685 if test -n "$ac_ct_READELF"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7687 $as_echo "$ac_ct_READELF" >&6; }
7688 else
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7693 if test "x$ac_ct_READELF" = x; then
7694 READELF="true"
7695 else
7696 case $cross_compiling:$ac_tool_warned in
7697 yes:)
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7700 ac_tool_warned=yes ;;
7701 esac
7702 READELF=$ac_ct_READELF
7704 else
7705 READELF="$ac_cv_prog_READELF"
7708 wine_rules_file=conf$$rules.make
7709 rm -f $wine_rules_file
7710 SUBDIRS=""
7712 DISABLED_SUBDIRS=""
7714 CONFIGURE_TARGETS=""
7716 ALL_TEST_RESOURCES=""
7719 wine_fn_append_file ()
7721 as_fn_append $1 " \\$as_nl $2"
7724 wine_fn_append_rule ()
7726 $as_echo "$1" >>$wine_rules_file
7729 wine_fn_all_rules ()
7731 wine_fn_append_file SUBDIRS $ac_dir
7734 wine_fn_disabled_rules ()
7736 wine_fn_append_file SUBDIRS $ac_dir
7737 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7740 wine_fn_config_makefile ()
7742 ac_dir=$1
7743 ac_enable=$2
7745 case $ac_dir in
7746 fonts|server) test -z "$with_wine64" || return ;;
7747 esac
7748 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7749 wine_fn_disabled_rules
7750 else
7751 wine_fn_all_rules
7755 wine_fn_config_lib ()
7757 ac_name=$1
7758 ac_dir=dlls/$ac_name
7760 wine_fn_all_rules
7763 wine_fn_config_dll ()
7765 ac_name=$1
7766 ac_dir=dlls/$ac_name
7767 ac_enable=$2
7768 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7769 wine_fn_disabled_rules
7770 else
7771 wine_fn_all_rules
7775 wine_fn_config_program ()
7777 ac_name=$1
7778 ac_dir=programs/$ac_name
7779 ac_enable=$2
7780 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7781 wine_fn_disabled_rules
7782 else
7783 wine_fn_all_rules
7787 wine_fn_config_test ()
7789 ac_dir=$1
7790 ac_name=$2
7792 if test "x$enable_tests" = xno; then :
7793 wine_fn_disabled_rules; return
7796 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7797 wine_fn_all_rules
7800 wine_fn_config_tool ()
7802 ac_dir=$1
7803 if test "x$enable_tools" = xno; then :
7804 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7807 wine_fn_all_rules
7809 wine_fn_append_rule "__tooldeps__: $ac_dir"
7810 wine_fn_append_rule "$ac_dir: libs/port"
7811 case $ac_dir in
7812 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7813 esac
7816 wine_fn_config_symlink ()
7818 ac_links=$@
7819 wine_fn_append_rule \
7820 "$ac_links:
7821 @./config.status \$@"
7822 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7825 wine_binary="wine"
7826 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7827 WINELOADER_PROGRAMS="$wine_binary"
7829 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7831 case $host_os in
7832 cygwin*|mingw32*)
7833 if test -n "$ac_tool_prefix"; then
7834 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7835 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7837 $as_echo_n "checking for $ac_word... " >&6; }
7838 if ${ac_cv_prog_DLLTOOL+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 if test -n "$DLLTOOL"; then
7842 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7843 else
7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 for as_dir in $PATH
7847 IFS=$as_save_IFS
7848 test -z "$as_dir" && as_dir=.
7849 for ac_exec_ext in '' $ac_executable_extensions; do
7850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7851 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 break 2
7855 done
7856 done
7857 IFS=$as_save_IFS
7861 DLLTOOL=$ac_cv_prog_DLLTOOL
7862 if test -n "$DLLTOOL"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7864 $as_echo "$DLLTOOL" >&6; }
7865 else
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7872 if test -z "$ac_cv_prog_DLLTOOL"; then
7873 ac_ct_DLLTOOL=$DLLTOOL
7874 # Extract the first word of "dlltool", so it can be a program name with args.
7875 set dummy dlltool; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 if test -n "$ac_ct_DLLTOOL"; then
7882 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7883 else
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 for as_dir in $PATH
7887 IFS=$as_save_IFS
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7891 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 break 2
7895 done
7896 done
7897 IFS=$as_save_IFS
7901 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7902 if test -n "$ac_ct_DLLTOOL"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7904 $as_echo "$ac_ct_DLLTOOL" >&6; }
7905 else
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7910 if test "x$ac_ct_DLLTOOL" = x; then
7911 DLLTOOL="false"
7912 else
7913 case $cross_compiling:$ac_tool_warned in
7914 yes:)
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7917 ac_tool_warned=yes ;;
7918 esac
7919 DLLTOOL=$ac_ct_DLLTOOL
7921 else
7922 DLLTOOL="$ac_cv_prog_DLLTOOL"
7925 LIBEXT="dll"
7926 DLLEXT=""
7927 IMPLIBEXT="a"
7928 enable_iphlpapi=${enable_iphlpapi:-no}
7929 enable_kernel32=${enable_kernel32:-no}
7930 enable_msvcrt=${enable_msvcrt:-no}
7931 enable_ntdll=${enable_ntdll:-no}
7932 enable_ws2_32=${enable_ws2_32:-no}
7933 enable_loader=${enable_loader:-no}
7934 enable_server=${enable_server:-no}
7935 with_x=${with_x:-no}
7936 with_pthread=${with_pthread:-no}
7938 crtlibs=""
7939 case $host_os in
7940 mingw32*)
7941 crtlibs="-lmsvcrt"
7942 SOCKET_LIBS="-lws2_32"
7944 esac
7946 LIBWINE_SHAREDLIB="libwine.dll"
7948 LIBWINE_IMPORTLIB="libwine.a"
7950 LIBWINE_INSTALL_LIB="libwine.dll"
7952 LIBWINE_INSTALL_DEV="libwine.a"
7954 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7956 LIBWINE_DEPENDS="wine.def"
7960 darwin*|macosx*)
7961 for ac_header in libunwind.h
7962 do :
7963 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7965 cat >>confdefs.h <<_ACEOF
7966 #define HAVE_LIBUNWIND_H 1
7967 _ACEOF
7971 done
7973 LIBEXT="dylib"
7974 DLLFLAGS="$DLLFLAGS -fPIC"
7975 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7976 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7977 COREFOUNDATION_LIBS="-framework CoreFoundation"
7979 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7981 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7983 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7985 CORESERVICES_LIBS="-framework CoreServices"
7987 APPKIT_LIBS="-framework AppKit"
7989 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7991 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7992 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7993 $as_echo_n "(cached) " >&6
7994 else
7995 ac_wine_try_cflags_saved=$CFLAGS
7996 CFLAGS="$CFLAGS -Wl,-no_pie"
7997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998 /* end confdefs.h. */
7999 int main(int argc, char **argv) { return 0; }
8000 _ACEOF
8001 if ac_fn_c_try_link "$LINENO"; then :
8002 ac_cv_cflags__Wl__no_pie=yes
8003 else
8004 ac_cv_cflags__Wl__no_pie=no
8006 rm -f core conftest.err conftest.$ac_objext \
8007 conftest$ac_exeext conftest.$ac_ext
8008 CFLAGS=$ac_wine_try_cflags_saved
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8011 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8012 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8013 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8015 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8016 then
8017 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8020 if test "$ac_cv_header_Security_Security_h" = "yes"
8021 then
8022 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8024 ac_save_LIBS="$LIBS"
8025 LIBS="$LIBS $SECURITY_LIBS"
8026 for ac_func in SSLCopyPeerCertificates
8027 do :
8028 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8029 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8030 cat >>confdefs.h <<_ACEOF
8031 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8032 _ACEOF
8035 done
8037 LIBS="$ac_save_LIBS"
8038 with_gnutls=${with_gnutls:-no}
8040 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8041 then
8042 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8043 then
8044 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8046 else
8047 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8050 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8051 ac_save_LIBS="$LIBS"
8052 LIBS="$LIBS $COREAUDIO_LIBS"
8053 for ac_func in AUGraphAddNode
8054 do :
8055 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8056 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8057 cat >>confdefs.h <<_ACEOF
8058 #define HAVE_AUGRAPHADDNODE 1
8059 _ACEOF
8062 done
8064 LIBS="$ac_save_LIBS"
8066 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8067 then
8068 OPENAL_LIBS="-framework OpenAL"
8071 cat >>confdefs.h <<_ACEOF
8072 #define HAVE_OPENAL 1
8073 _ACEOF
8075 ac_cv_lib_openal=yes
8077 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8078 then
8079 OPENCL_LIBS="-framework OpenCL"
8081 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8083 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8084 then
8085 ac_save_LIBS="$LIBS"
8086 LIBS="$LIBS $IOKIT_LIBS"
8087 for ac_func in IOHIDManagerCreate
8088 do :
8089 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8090 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8091 cat >>confdefs.h <<_ACEOF
8092 #define HAVE_IOHIDMANAGERCREATE 1
8093 _ACEOF
8096 done
8098 LIBS="$ac_save_LIBS"
8100 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8101 then
8102 ac_save_LIBS="$LIBS"
8103 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8105 $as_echo_n "checking for the QuickTime framework... " >&6; }
8106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8107 /* end confdefs.h. */
8108 #include <QuickTime/ImageCompression.h>
8110 main ()
8112 CodecManagerVersion(NULL);
8114 return 0;
8116 _ACEOF
8117 if ac_fn_c_try_link "$LINENO"; then :
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8119 $as_echo "yes" >&6; }
8120 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8122 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8123 else
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8126 ac_cv_header_QuickTime_ImageCompression_h=no
8128 rm -f core conftest.err conftest.$ac_objext \
8129 conftest$ac_exeext conftest.$ac_ext
8130 LIBS="$ac_save_LIBS"
8132 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8133 then
8134 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8136 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8137 then
8138 CARBON_LIBS="-framework Carbon"
8142 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8143 then
8144 ac_save_LIBS="$LIBS"
8145 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8146 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8147 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8148 enable_winemac_drv=${enable_winemac_drv:-yes}
8151 LIBS="$ac_save_LIBS"
8154 if test "x$enable_win16" = "xyes"
8155 then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8157 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8158 if test "$cross_compiling" = yes; then :
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8160 $as_echo "cross-compiling, assuming yes" >&6; }
8161 else
8162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8164 asm(".text\n"
8165 "bad:\tnop;nop\n"
8166 "good:\tnop;nop\n\t"
8167 ".globl _testfunc\n"
8168 "_testfunc:\tcallw good");
8169 extern void testfunc();
8171 main ()
8173 unsigned short *p = (unsigned short *)testfunc;
8174 return p[0] != 0xe866 || p[1] != 0xfffa
8176 return 0;
8178 _ACEOF
8179 if ac_fn_c_try_run "$LINENO"; then :
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8181 $as_echo "yes" >&6; }
8182 else
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8185 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
8187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8188 conftest.$ac_objext conftest.beam conftest.$ac_ext
8193 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8195 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8197 LIBWINE_INSTALL_DEV="libwine.dylib"
8199 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8201 WINELOADER_DEPENDS="wine_info.plist"
8205 linux-android*)
8206 DLLFLAGS="$DLLFLAGS -fPIC"
8207 LDEXECFLAGS="-Wl,-pie"
8208 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8210 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8211 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8222 else
8223 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8230 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8231 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8232 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8234 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8236 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8237 if eval \${$as_ac_var+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 eval "$as_ac_var=yes"
8248 else
8249 eval "$as_ac_var=no"
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 eval ac_res=\$$as_ac_var
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8257 $as_echo "$ac_res" >&6; }
8258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8259 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8260 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8261 else
8262 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8264 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8265 if eval \${$as_ac_var+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 ac_wine_try_cflags_saved=$CFLAGS
8269 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 int main(int argc, char **argv) { return 0; }
8273 _ACEOF
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 eval "$as_ac_var=yes"
8276 else
8277 eval "$as_ac_var=no"
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 CFLAGS=$ac_wine_try_cflags_saved
8283 eval ac_res=\$$as_ac_var
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8285 $as_echo "$ac_res" >&6; }
8286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8287 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8288 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8292 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8293 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 ac_wine_try_cflags_saved=$CFLAGS
8297 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8301 _ACEOF
8302 if ac_fn_c_try_link "$LINENO"; then :
8303 ac_cv_cflags__Wl___enable_new_dtags=yes
8304 else
8305 ac_cv_cflags__Wl___enable_new_dtags=no
8307 rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 CFLAGS=$ac_wine_try_cflags_saved
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8312 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8313 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8314 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8317 LIBWINE_SHAREDLIB="libwine.so"
8319 LIBWINE_INSTALL_LIB="libwine.so"
8321 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8325 $as_echo_n "checking for -lEGL... " >&6; }
8326 if ${ac_cv_lib_soname_EGL+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 ac_check_soname_save_LIBS=$LIBS
8330 LIBS="-lEGL $LIBS"
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8334 /* Override any GCC internal prototype to avoid an error.
8335 Use char because int might match the return type of a GCC
8336 builtin and then its argument prototype would still apply. */
8337 #ifdef __cplusplus
8338 extern "C"
8339 #endif
8340 char eglGetProcAddress ();
8342 main ()
8344 return eglGetProcAddress ();
8346 return 0;
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 case "$LIBEXT" in
8351 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8352 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'` ;;
8353 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8354 if ${ac_cv_lib_soname_EGL:+false} :; then :
8355 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8356 fi ;;
8357 esac
8359 rm -f core conftest.err conftest.$ac_objext \
8360 conftest$ac_exeext conftest.$ac_ext
8361 LIBS=$ac_check_soname_save_LIBS
8363 if ${ac_cv_lib_soname_EGL:+false} :; then :
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8365 $as_echo "not found" >&6; }
8367 else
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8369 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8371 cat >>confdefs.h <<_ACEOF
8372 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8373 _ACEOF
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8378 $as_echo_n "checking for -lGLESv2... " >&6; }
8379 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 ac_check_soname_save_LIBS=$LIBS
8383 LIBS="-lGLESv2 $LIBS"
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8387 /* Override any GCC internal prototype to avoid an error.
8388 Use char because int might match the return type of a GCC
8389 builtin and then its argument prototype would still apply. */
8390 #ifdef __cplusplus
8391 extern "C"
8392 #endif
8393 char glFlush ();
8395 main ()
8397 return glFlush ();
8399 return 0;
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 case "$LIBEXT" in
8404 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8405 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'` ;;
8406 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8407 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8408 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8409 fi ;;
8410 esac
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 LIBS=$ac_check_soname_save_LIBS
8416 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8418 $as_echo "not found" >&6; }
8420 else
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8422 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8424 cat >>confdefs.h <<_ACEOF
8425 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8426 _ACEOF
8431 if test "x$exec_prefix" = xNONE
8432 then
8433 case $host_cpu in
8434 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8435 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8436 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8437 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8438 esac
8443 DLLFLAGS="$DLLFLAGS -fPIC"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8445 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8446 if ${ac_cv_c_dll_gnuelf+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 void myfunc() {}
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_c_dll_gnuelf="yes"
8457 else
8458 ac_cv_c_dll_gnuelf="no"
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8465 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8466 if test "$ac_cv_c_dll_gnuelf" = "yes"
8467 then
8468 LIBWINE_LDFLAGS="-shared"
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8470 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8471 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8482 else
8483 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8490 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8491 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8492 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8493 else
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8495 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8496 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8507 else
8508 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8515 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8516 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8517 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8521 echo '{ global: *; };' >conftest.map
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8524 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8535 else
8536 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8543 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8544 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8545 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8547 rm -f conftest.map
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8551 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8562 else
8563 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8570 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8571 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8572 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8575 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8577 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8578 if eval \${$as_ac_var+:} false; then :
8579 $as_echo_n "(cached) " >&6
8580 else
8581 ac_wine_try_cflags_saved=$CFLAGS
8582 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8585 int main(int argc, char **argv) { return 0; }
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 eval "$as_ac_var=yes"
8589 else
8590 eval "$as_ac_var=no"
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 CFLAGS=$ac_wine_try_cflags_saved
8596 eval ac_res=\$$as_ac_var
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8598 $as_echo "$ac_res" >&6; }
8599 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8600 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8601 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8602 else
8603 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8605 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8606 if eval \${$as_ac_var+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 eval "$as_ac_var=yes"
8617 else
8618 eval "$as_ac_var=no"
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 eval ac_res=\$$as_ac_var
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8626 $as_echo "$ac_res" >&6; }
8627 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8628 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8629 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8634 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8635 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_cflags__Wl___enable_new_dtags=yes
8646 else
8647 ac_cv_cflags__Wl___enable_new_dtags=no
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8654 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8655 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8656 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8659 case $host_cpu in
8660 *i[3456789]86* | x86_64 | *aarch64*)
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8662 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8663 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8674 else
8675 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8682 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8683 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8684 case $host_os in
8685 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8686 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8687 esac
8688 else
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8690 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8691 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 ac_wine_try_cflags_saved=$CFLAGS
8695 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8698 int main(int argc, char **argv) { return 0; }
8699 _ACEOF
8700 if ac_fn_c_try_link "$LINENO"; then :
8701 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8702 else
8703 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8705 rm -f core conftest.err conftest.$ac_objext \
8706 conftest$ac_exeext conftest.$ac_ext
8707 CFLAGS=$ac_wine_try_cflags_saved
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8710 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8711 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8712 case $host_os in
8713 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8714 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8715 esac
8717 # Extract the first word of "prelink", so it can be a program name with args.
8718 set dummy prelink; ac_word=$2
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8720 $as_echo_n "checking for $ac_word... " >&6; }
8721 if ${ac_cv_path_PRELINK+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 case $PRELINK in
8725 [\\/]* | ?:[\\/]*)
8726 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8730 for as_dir in /sbin /usr/sbin $PATH
8732 IFS=$as_save_IFS
8733 test -z "$as_dir" && as_dir=.
8734 for ac_exec_ext in '' $ac_executable_extensions; do
8735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8736 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8738 break 2
8740 done
8741 done
8742 IFS=$as_save_IFS
8744 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8746 esac
8748 PRELINK=$ac_cv_path_PRELINK
8749 if test -n "$PRELINK"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8751 $as_echo "$PRELINK" >&6; }
8752 else
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 $as_echo "no" >&6; }
8758 if test "x$PRELINK" = xfalse
8759 then
8760 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8764 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8765 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8776 else
8777 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8784 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8785 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8786 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8789 esac
8791 else
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8793 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8794 if ${ac_cv_c_dll_unixware+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 void myfunc() {}
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_c_dll_unixware="yes"
8805 else
8806 ac_cv_c_dll_unixware="no"
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8813 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8814 if test "$ac_cv_c_dll_unixware" = "yes"
8815 then
8816 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8819 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8821 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8823 LIBWINE_INSTALL_DEV="libwine.so"
8825 LIBWINE_DEPENDS="wine.map"
8828 esac
8830 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8831 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8832 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8833 enable_winemac_drv=${enable_winemac_drv:-no}
8834 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8836 CROSSTARGET=""
8838 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8839 then
8840 case "$host_cpu" in
8841 arm*)
8842 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8843 i[3456789]86*)
8844 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
8845 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8846 mingw32-gcc" ;;
8847 x86_64)
8848 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
8849 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8851 ac_prefix_list="" ;;
8852 esac
8853 for ac_prog in $ac_prefix_list
8855 # Extract the first word of "$ac_prog", so it can be a program name with args.
8856 set dummy $ac_prog; ac_word=$2
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8858 $as_echo_n "checking for $ac_word... " >&6; }
8859 if ${ac_cv_prog_CROSSCC+:} false; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 if test -n "$CROSSCC"; then
8863 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8864 else
8865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8866 for as_dir in $PATH
8868 IFS=$as_save_IFS
8869 test -z "$as_dir" && as_dir=.
8870 for ac_exec_ext in '' $ac_executable_extensions; do
8871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8872 ac_cv_prog_CROSSCC="$ac_prog"
8873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8874 break 2
8876 done
8877 done
8878 IFS=$as_save_IFS
8882 CROSSCC=$ac_cv_prog_CROSSCC
8883 if test -n "$CROSSCC"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8885 $as_echo "$CROSSCC" >&6; }
8886 else
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8888 $as_echo "no" >&6; }
8892 test -n "$CROSSCC" && break
8893 done
8894 test -n "$CROSSCC" || CROSSCC="false"
8896 if test "$CROSSCC" != "false"
8897 then
8898 ac_save_CC="$CC"
8899 CC="$CROSSCC"
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8901 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8906 main ()
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_compile "$LINENO"; then :
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8915 $as_echo "yes" >&6; }
8916 set x $CROSSCC
8917 shift
8918 while test $# -ge 1
8920 case "$1" in
8921 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8922 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8923 esac
8924 shift
8925 done
8926 else
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928 $as_echo "no" >&6; }
8930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8931 CC="$ac_save_CC"
8932 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8938 if test "$ac_cv_header_pthread_h" = "yes"
8939 then
8940 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8941 if test "x$ac_cv_func_pthread_create" = xyes; then :
8943 else
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8945 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8946 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8947 $as_echo_n "(cached) " >&6
8948 else
8949 ac_check_lib_save_LIBS=$LIBS
8950 LIBS="-lpthread $LIBS"
8951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8954 /* Override any GCC internal prototype to avoid an error.
8955 Use char because int might match the return type of a GCC
8956 builtin and then its argument prototype would still apply. */
8957 #ifdef __cplusplus
8958 extern "C"
8959 #endif
8960 char pthread_create ();
8962 main ()
8964 return pthread_create ();
8966 return 0;
8968 _ACEOF
8969 if ac_fn_c_try_link "$LINENO"; then :
8970 ac_cv_lib_pthread_pthread_create=yes
8971 else
8972 ac_cv_lib_pthread_pthread_create=no
8974 rm -f core conftest.err conftest.$ac_objext \
8975 conftest$ac_exeext conftest.$ac_ext
8976 LIBS=$ac_check_lib_save_LIBS
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8979 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8980 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8981 PTHREAD_LIBS="-lpthread"
8988 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8989 case "x$with_pthread" in
8990 xno) ;;
8991 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8992 Wine cannot support threads without libpthread.
8993 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8994 esac
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9000 $as_echo_n "checking for X... " >&6; }
9003 # Check whether --with-x was given.
9004 if test "${with_x+set}" = set; then :
9005 withval=$with_x;
9008 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9009 if test "x$with_x" = xno; then
9010 # The user explicitly disabled X.
9011 have_x=disabled
9012 else
9013 case $x_includes,$x_libraries in #(
9014 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9015 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9016 $as_echo_n "(cached) " >&6
9017 else
9018 # One or both of the vars are not set, and there is no cached value.
9019 ac_x_includes=no ac_x_libraries=no
9020 rm -f -r conftest.dir
9021 if mkdir conftest.dir; then
9022 cd conftest.dir
9023 cat >Imakefile <<'_ACEOF'
9024 incroot:
9025 @echo incroot='${INCROOT}'
9026 usrlibdir:
9027 @echo usrlibdir='${USRLIBDIR}'
9028 libdir:
9029 @echo libdir='${LIBDIR}'
9030 _ACEOF
9031 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9032 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9033 for ac_var in incroot usrlibdir libdir; do
9034 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9035 done
9036 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9037 for ac_extension in a so sl dylib la dll; do
9038 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9039 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9040 ac_im_usrlibdir=$ac_im_libdir; break
9042 done
9043 # Screen out bogus values from the imake configuration. They are
9044 # bogus both because they are the default anyway, and because
9045 # using them would break gcc on systems where it needs fixed includes.
9046 case $ac_im_incroot in
9047 /usr/include) ac_x_includes= ;;
9048 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9049 esac
9050 case $ac_im_usrlibdir in
9051 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9052 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9053 esac
9055 cd ..
9056 rm -f -r conftest.dir
9059 # Standard set of common directories for X headers.
9060 # Check X11 before X11Rn because it is often a symlink to the current release.
9061 ac_x_header_dirs='
9062 /usr/X11/include
9063 /usr/X11R7/include
9064 /usr/X11R6/include
9065 /usr/X11R5/include
9066 /usr/X11R4/include
9068 /usr/include/X11
9069 /usr/include/X11R7
9070 /usr/include/X11R6
9071 /usr/include/X11R5
9072 /usr/include/X11R4
9074 /usr/local/X11/include
9075 /usr/local/X11R7/include
9076 /usr/local/X11R6/include
9077 /usr/local/X11R5/include
9078 /usr/local/X11R4/include
9080 /usr/local/include/X11
9081 /usr/local/include/X11R7
9082 /usr/local/include/X11R6
9083 /usr/local/include/X11R5
9084 /usr/local/include/X11R4
9086 /usr/X386/include
9087 /usr/x386/include
9088 /usr/XFree86/include/X11
9090 /usr/include
9091 /usr/local/include
9092 /usr/unsupported/include
9093 /usr/athena/include
9094 /usr/local/x11r5/include
9095 /usr/lpp/Xamples/include
9097 /usr/openwin/include
9098 /usr/openwin/share/include'
9100 if test "$ac_x_includes" = no; then
9101 # Guess where to find include files, by looking for Xlib.h.
9102 # First, try using that file with no special directory specified.
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9106 _ACEOF
9107 if ac_fn_c_try_cpp "$LINENO"; then :
9108 # We can compile using X headers with no special include directory.
9109 ac_x_includes=
9110 else
9111 for ac_dir in $ac_x_header_dirs; do
9112 if test -r "$ac_dir/X11/Xlib.h"; then
9113 ac_x_includes=$ac_dir
9114 break
9116 done
9118 rm -f conftest.err conftest.i conftest.$ac_ext
9119 fi # $ac_x_includes = no
9121 if test "$ac_x_libraries" = no; then
9122 # Check for the libraries.
9123 # See if we find them without any special options.
9124 # Don't add to $LIBS permanently.
9125 ac_save_LIBS=$LIBS
9126 LIBS="-lX11 $LIBS"
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9129 #include <X11/Xlib.h>
9131 main ()
9133 XrmInitialize ()
9135 return 0;
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 LIBS=$ac_save_LIBS
9140 # We can link X programs with no special library path.
9141 ac_x_libraries=
9142 else
9143 LIBS=$ac_save_LIBS
9144 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9146 # Don't even attempt the hair of trying to link an X program!
9147 for ac_extension in a so sl dylib la dll; do
9148 if test -r "$ac_dir/libX11.$ac_extension"; then
9149 ac_x_libraries=$ac_dir
9150 break 2
9152 done
9153 done
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 fi # $ac_x_libraries = no
9159 case $ac_x_includes,$ac_x_libraries in #(
9160 no,* | *,no | *\'*)
9161 # Didn't find X, or a directory has "'" in its name.
9162 ac_cv_have_x="have_x=no";; #(
9164 # Record where we found X for the cache.
9165 ac_cv_have_x="have_x=yes\
9166 ac_x_includes='$ac_x_includes'\
9167 ac_x_libraries='$ac_x_libraries'"
9168 esac
9170 ;; #(
9171 *) have_x=yes;;
9172 esac
9173 eval "$ac_cv_have_x"
9174 fi # $with_x != no
9176 if test "$have_x" != yes; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9178 $as_echo "$have_x" >&6; }
9179 no_x=yes
9180 else
9181 # If each of the values was on the command line, it overrides each guess.
9182 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9183 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9184 # Update the cache value to reflect the command line values.
9185 ac_cv_have_x="have_x=yes\
9186 ac_x_includes='$x_includes'\
9187 ac_x_libraries='$x_libraries'"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9189 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9192 if test "$no_x" = yes; then
9193 # Not all programs may use this symbol, but it does not hurt to define it.
9195 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9197 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9198 else
9199 if test -n "$x_includes"; then
9200 X_CFLAGS="$X_CFLAGS -I$x_includes"
9203 # It would also be nice to do this for all -L options, not just this one.
9204 if test -n "$x_libraries"; then
9205 X_LIBS="$X_LIBS -L$x_libraries"
9206 # For Solaris; some versions of Sun CC require a space after -R and
9207 # others require no space. Words are not sufficient . . . .
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9209 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9210 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9211 ac_xsave_c_werror_flag=$ac_c_werror_flag
9212 ac_c_werror_flag=yes
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9217 main ()
9221 return 0;
9223 _ACEOF
9224 if ac_fn_c_try_link "$LINENO"; then :
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9226 $as_echo "no" >&6; }
9227 X_LIBS="$X_LIBS -R$x_libraries"
9228 else
9229 LIBS="$ac_xsave_LIBS -R $x_libraries"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9234 main ()
9238 return 0;
9240 _ACEOF
9241 if ac_fn_c_try_link "$LINENO"; then :
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9243 $as_echo "yes" >&6; }
9244 X_LIBS="$X_LIBS -R $x_libraries"
9245 else
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9247 $as_echo "neither works" >&6; }
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 ac_c_werror_flag=$ac_xsave_c_werror_flag
9255 LIBS=$ac_xsave_LIBS
9258 # Check for system-dependent libraries X programs must link with.
9259 # Do this before checking for the system-independent R6 libraries
9260 # (-lICE), since we may need -lsocket or whatever for X linking.
9262 if test "$ISC" = yes; then
9263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9264 else
9265 # Martyn Johnson says this is needed for Ultrix, if the X
9266 # libraries were built with DECnet support. And Karl Berry says
9267 # the Alpha needs dnet_stub (dnet does not exist).
9268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9275 #ifdef __cplusplus
9276 extern "C"
9277 #endif
9278 char XOpenDisplay ();
9280 main ()
9282 return XOpenDisplay ();
9284 return 0;
9286 _ACEOF
9287 if ac_fn_c_try_link "$LINENO"; then :
9289 else
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9291 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9292 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-ldnet $LIBS"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9303 #ifdef __cplusplus
9304 extern "C"
9305 #endif
9306 char dnet_ntoa ();
9308 main ()
9310 return dnet_ntoa ();
9312 return 0;
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_lib_dnet_dnet_ntoa=yes
9317 else
9318 ac_cv_lib_dnet_dnet_ntoa=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9325 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9326 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9327 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9330 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9332 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9333 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_check_lib_save_LIBS=$LIBS
9337 LIBS="-ldnet_stub $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char dnet_ntoa ();
9349 main ()
9351 return dnet_ntoa ();
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9358 else
9359 ac_cv_lib_dnet_stub_dnet_ntoa=no
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 LIBS=$ac_check_lib_save_LIBS
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9366 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9367 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LIBS="$ac_xsave_LIBS"
9377 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9378 # to get the SysV transport functions.
9379 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9380 # needs -lnsl.
9381 # The nsl library prevents programs from opening the X display
9382 # on Irix 5.2, according to T.E. Dickey.
9383 # The functions gethostbyname, getservbyname, and inet_addr are
9384 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9385 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9386 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9390 if test $ac_cv_func_gethostbyname = no; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9392 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9393 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_check_lib_save_LIBS=$LIBS
9397 LIBS="-lnsl $LIBS"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9404 #ifdef __cplusplus
9405 extern "C"
9406 #endif
9407 char gethostbyname ();
9409 main ()
9411 return gethostbyname ();
9413 return 0;
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_lib_nsl_gethostbyname=yes
9418 else
9419 ac_cv_lib_nsl_gethostbyname=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_lib_save_LIBS
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9426 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9427 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9431 if test $ac_cv_lib_nsl_gethostbyname = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9433 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9434 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lbsd $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char gethostbyname ();
9450 main ()
9452 return gethostbyname ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_bsd_gethostbyname=yes
9459 else
9460 ac_cv_lib_bsd_gethostbyname=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9467 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9468 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9469 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9475 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9476 # socket/setsockopt and other routines are undefined under SCO ODT
9477 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9478 # on later versions), says Simon Leinen: it contains gethostby*
9479 # variants that don't use the name server (or something). -lsocket
9480 # must be given before -lnsl if both are needed. We assume that
9481 # if connect needs -lnsl, so does gethostbyname.
9482 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9483 if test "x$ac_cv_func_connect" = xyes; then :
9487 if test $ac_cv_func_connect = no; then
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9489 $as_echo_n "checking for connect in -lsocket... " >&6; }
9490 if ${ac_cv_lib_socket_connect+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 ac_check_lib_save_LIBS=$LIBS
9494 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9501 #ifdef __cplusplus
9502 extern "C"
9503 #endif
9504 char connect ();
9506 main ()
9508 return connect ();
9510 return 0;
9512 _ACEOF
9513 if ac_fn_c_try_link "$LINENO"; then :
9514 ac_cv_lib_socket_connect=yes
9515 else
9516 ac_cv_lib_socket_connect=no
9518 rm -f core conftest.err conftest.$ac_objext \
9519 conftest$ac_exeext conftest.$ac_ext
9520 LIBS=$ac_check_lib_save_LIBS
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9523 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9524 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9525 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9530 # Guillermo Gomez says -lposix is necessary on A/UX.
9531 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9532 if test "x$ac_cv_func_remove" = xyes; then :
9536 if test $ac_cv_func_remove = no; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9538 $as_echo_n "checking for remove in -lposix... " >&6; }
9539 if ${ac_cv_lib_posix_remove+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lposix $LIBS"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9550 #ifdef __cplusplus
9551 extern "C"
9552 #endif
9553 char remove ();
9555 main ()
9557 return remove ();
9559 return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_lib_posix_remove=yes
9564 else
9565 ac_cv_lib_posix_remove=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9572 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9573 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9579 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9580 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9581 if test "x$ac_cv_func_shmat" = xyes; then :
9585 if test $ac_cv_func_shmat = no; then
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9587 $as_echo_n "checking for shmat in -lipc... " >&6; }
9588 if ${ac_cv_lib_ipc_shmat+:} false; then :
9589 $as_echo_n "(cached) " >&6
9590 else
9591 ac_check_lib_save_LIBS=$LIBS
9592 LIBS="-lipc $LIBS"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9596 /* Override any GCC internal prototype to avoid an error.
9597 Use char because int might match the return type of a GCC
9598 builtin and then its argument prototype would still apply. */
9599 #ifdef __cplusplus
9600 extern "C"
9601 #endif
9602 char shmat ();
9604 main ()
9606 return shmat ();
9608 return 0;
9610 _ACEOF
9611 if ac_fn_c_try_link "$LINENO"; then :
9612 ac_cv_lib_ipc_shmat=yes
9613 else
9614 ac_cv_lib_ipc_shmat=no
9616 rm -f core conftest.err conftest.$ac_objext \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9621 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9622 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9623 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9629 # Check for libraries that X11R6 Xt/Xaw programs need.
9630 ac_save_LDFLAGS=$LDFLAGS
9631 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9632 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9633 # check for ICE first), but we must link in the order -lSM -lICE or
9634 # we get undefined symbols. So assume we have SM if we have ICE.
9635 # These have to be linked with before -lX11, unlike the other
9636 # libraries we check for below, so use a different variable.
9637 # John Interrante, Karl Berry
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9639 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9640 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char IceConnectionNumber ();
9656 main ()
9658 return IceConnectionNumber ();
9660 return 0;
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_lib_ICE_IceConnectionNumber=yes
9665 else
9666 ac_cv_lib_ICE_IceConnectionNumber=no
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_lib_save_LIBS
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9673 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9674 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9675 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9678 LDFLAGS=$ac_save_LDFLAGS
9683 if test "$have_x" = "yes"
9684 then
9685 ac_save_CPPFLAGS="$CPPFLAGS"
9686 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9689 $as_echo_n "checking for -lX11... " >&6; }
9690 if ${ac_cv_lib_soname_X11+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 ac_check_soname_save_LIBS=$LIBS
9694 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9701 #ifdef __cplusplus
9702 extern "C"
9703 #endif
9704 char XCreateWindow ();
9706 main ()
9708 return XCreateWindow ();
9710 return 0;
9712 _ACEOF
9713 if ac_fn_c_try_link "$LINENO"; then :
9714 case "$LIBEXT" in
9715 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9716 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'` ;;
9717 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9718 if ${ac_cv_lib_soname_X11:+false} :; then :
9719 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9720 fi ;;
9721 esac
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_soname_save_LIBS
9727 if ${ac_cv_lib_soname_X11:+false} :; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9731 else
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9733 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9735 cat >>confdefs.h <<_ACEOF
9736 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9737 _ACEOF
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9742 $as_echo_n "checking for -lXext... " >&6; }
9743 if ${ac_cv_lib_soname_Xext+:} false; then :
9744 $as_echo_n "(cached) " >&6
9745 else
9746 ac_check_soname_save_LIBS=$LIBS
9747 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9754 #ifdef __cplusplus
9755 extern "C"
9756 #endif
9757 char XextCreateExtension ();
9759 main ()
9761 return XextCreateExtension ();
9763 return 0;
9765 _ACEOF
9766 if ac_fn_c_try_link "$LINENO"; then :
9767 case "$LIBEXT" in
9768 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9769 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'` ;;
9770 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9771 if ${ac_cv_lib_soname_Xext:+false} :; then :
9772 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9773 fi ;;
9774 esac
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_soname_save_LIBS
9780 if ${ac_cv_lib_soname_Xext:+false} :; then :
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9782 $as_echo "not found" >&6; }
9784 else
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9786 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9788 cat >>confdefs.h <<_ACEOF
9789 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9790 _ACEOF
9792 X_LIBS="$X_LIBS -lXext"
9794 X_LIBS="$X_LIBS -lX11"
9796 for ac_header in X11/Xlib.h \
9797 X11/XKBlib.h \
9798 X11/Xutil.h \
9799 X11/Xcursor/Xcursor.h \
9800 X11/extensions/shape.h \
9801 X11/extensions/XInput.h \
9802 X11/extensions/XInput2.h \
9803 X11/extensions/XShm.h \
9804 X11/extensions/Xcomposite.h \
9805 X11/extensions/Xfixes.h \
9806 X11/extensions/Xinerama.h \
9807 X11/extensions/Xrandr.h \
9808 X11/extensions/Xrender.h \
9809 X11/extensions/xf86vmode.h \
9810 X11/extensions/xf86vmproto.h
9811 do :
9812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9813 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9814 # include <X11/Xlib.h>
9815 #endif
9816 #ifdef HAVE_X11_XUTIL_H
9817 # include <X11/Xutil.h>
9818 #endif
9820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9821 cat >>confdefs.h <<_ACEOF
9822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9823 _ACEOF
9827 done
9830 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9831 then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9833 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9834 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_check_lib_save_LIBS=$LIBS
9838 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9845 #ifdef __cplusplus
9846 extern "C"
9847 #endif
9848 char XkbQueryExtension ();
9850 main ()
9852 return XkbQueryExtension ();
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 ac_cv_lib_X11_XkbQueryExtension=yes
9859 else
9860 ac_cv_lib_X11_XkbQueryExtension=no
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_lib_save_LIBS
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9867 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9868 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9870 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9876 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9877 then
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9879 $as_echo_n "checking for -lXcursor... " >&6; }
9880 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9881 $as_echo_n "(cached) " >&6
9882 else
9883 ac_check_soname_save_LIBS=$LIBS
9884 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9891 #ifdef __cplusplus
9892 extern "C"
9893 #endif
9894 char XcursorImageLoadCursor ();
9896 main ()
9898 return XcursorImageLoadCursor ();
9900 return 0;
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"; then :
9904 case "$LIBEXT" in
9905 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9906 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'` ;;
9907 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9908 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9909 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9910 fi ;;
9911 esac
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 LIBS=$ac_check_soname_save_LIBS
9917 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9919 $as_echo "not found" >&6; }
9921 else
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9923 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9925 cat >>confdefs.h <<_ACEOF
9926 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9927 _ACEOF
9932 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9933 case "x$with_xcursor" in
9934 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9935 xno) ;;
9936 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9937 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9938 esac
9942 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9943 then
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9945 $as_echo_n "checking for -lXi... " >&6; }
9946 if ${ac_cv_lib_soname_Xi+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_check_soname_save_LIBS=$LIBS
9950 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9957 #ifdef __cplusplus
9958 extern "C"
9959 #endif
9960 char XOpenDevice ();
9962 main ()
9964 return XOpenDevice ();
9966 return 0;
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 case "$LIBEXT" in
9971 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9972 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'` ;;
9973 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9974 if ${ac_cv_lib_soname_Xi:+false} :; then :
9975 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 fi ;;
9977 esac
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_soname_save_LIBS
9983 if ${ac_cv_lib_soname_Xi:+false} :; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 $as_echo "not found" >&6; }
9987 else
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9989 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9991 cat >>confdefs.h <<_ACEOF
9992 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9993 _ACEOF
9998 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9999 case "x$with_xinput" in
10000 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10001 xno) ;;
10002 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10003 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10004 esac
10008 if test "x$ac_cv_lib_soname_Xi" != x
10009 then
10010 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10011 case "x$with_xinput2" in
10012 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10013 xno) ;;
10014 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10015 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10016 esac
10021 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10022 then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10024 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10025 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_check_lib_save_LIBS=$LIBS
10029 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 #ifdef __cplusplus
10037 extern "C"
10038 #endif
10039 char XShmQueryExtension ();
10041 main ()
10043 return XShmQueryExtension ();
10045 return 0;
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 ac_cv_lib_Xext_XShmQueryExtension=yes
10050 else
10051 ac_cv_lib_Xext_XShmQueryExtension=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LIBS=$ac_check_lib_save_LIBS
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10058 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10059 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10061 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10066 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10067 case "x$with_xshm" in
10068 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10069 xno) ;;
10070 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10071 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10072 esac
10076 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10077 then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10079 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10080 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_check_lib_save_LIBS=$LIBS
10084 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091 #ifdef __cplusplus
10092 extern "C"
10093 #endif
10094 char XShapeQueryExtension ();
10096 main ()
10098 return XShapeQueryExtension ();
10100 return 0;
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 ac_cv_lib_Xext_XShapeQueryExtension=yes
10105 else
10106 ac_cv_lib_Xext_XShapeQueryExtension=no
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 LIBS=$ac_check_lib_save_LIBS
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10113 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10114 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10116 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10121 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10122 case "x$with_xshape" in
10123 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10124 xno) ;;
10125 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10126 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10127 esac
10131 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10132 then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10134 $as_echo_n "checking for -lXxf86vm... " >&6; }
10135 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 ac_check_soname_save_LIBS=$LIBS
10139 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10143 /* Override any GCC internal prototype to avoid an error.
10144 Use char because int might match the return type of a GCC
10145 builtin and then its argument prototype would still apply. */
10146 #ifdef __cplusplus
10147 extern "C"
10148 #endif
10149 char XF86VidModeQueryExtension ();
10151 main ()
10153 return XF86VidModeQueryExtension ();
10155 return 0;
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 case "$LIBEXT" in
10160 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10161 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'` ;;
10162 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10163 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10164 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10165 fi ;;
10166 esac
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 $as_echo "not found" >&6; }
10176 else
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10178 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10180 cat >>confdefs.h <<_ACEOF
10181 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10182 _ACEOF
10187 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10188 case "x$with_xxf86vm" in
10189 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10190 xno) ;;
10191 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10192 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10193 esac
10197 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10198 then
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10200 $as_echo_n "checking for -lXrender... " >&6; }
10201 if ${ac_cv_lib_soname_Xrender+:} false; then :
10202 $as_echo_n "(cached) " >&6
10203 else
10204 ac_check_soname_save_LIBS=$LIBS
10205 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10209 /* Override any GCC internal prototype to avoid an error.
10210 Use char because int might match the return type of a GCC
10211 builtin and then its argument prototype would still apply. */
10212 #ifdef __cplusplus
10213 extern "C"
10214 #endif
10215 char XRenderQueryExtension ();
10217 main ()
10219 return XRenderQueryExtension ();
10221 return 0;
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 case "$LIBEXT" in
10226 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10227 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'` ;;
10228 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10229 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10230 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10231 fi ;;
10232 esac
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_soname_save_LIBS
10238 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10240 $as_echo "not found" >&6; }
10242 else
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10244 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10246 cat >>confdefs.h <<_ACEOF
10247 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10248 _ACEOF
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10251 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10252 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_lib_save_LIBS=$LIBS
10256 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRenderSetPictureTransform ();
10268 main ()
10270 return XRenderSetPictureTransform ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10277 else
10278 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10285 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10286 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10288 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10293 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10294 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10295 $as_echo_n "(cached) " >&6
10296 else
10297 ac_check_lib_save_LIBS=$LIBS
10298 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10305 #ifdef __cplusplus
10306 extern "C"
10307 #endif
10308 char XRenderCreateLinearGradient ();
10310 main ()
10312 return XRenderCreateLinearGradient ();
10314 return 0;
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10319 else
10320 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 LIBS=$ac_check_lib_save_LIBS
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10327 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10328 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10330 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10337 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10338 case "x$with_xrender" in
10339 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10340 xno) ;;
10341 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10342 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10343 esac
10347 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10348 then
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10351 #include <X11/Xlib.h>
10352 #include <X11/extensions/Xrandr.h>
10354 main ()
10356 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10358 return 0;
10360 _ACEOF
10361 if ac_fn_c_try_compile "$LINENO"; then :
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10363 $as_echo_n "checking for -lXrandr... " >&6; }
10364 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10365 $as_echo_n "(cached) " >&6
10366 else
10367 ac_check_soname_save_LIBS=$LIBS
10368 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10375 #ifdef __cplusplus
10376 extern "C"
10377 #endif
10378 char XRRQueryExtension ();
10380 main ()
10382 return XRRQueryExtension ();
10384 return 0;
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 case "$LIBEXT" in
10389 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10390 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'` ;;
10391 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10392 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10393 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10394 fi ;;
10395 esac
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_soname_save_LIBS
10401 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10403 $as_echo "not found" >&6; }
10405 else
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10407 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10409 cat >>confdefs.h <<_ACEOF
10410 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10411 _ACEOF
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 #include <X11/Xlib.h>
10416 #include <X11/extensions/Xrandr.h>
10418 main ()
10420 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_compile "$LINENO"; then :
10427 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10435 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10436 case "x$with_xrandr" in
10437 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10438 xno) ;;
10439 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10440 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10441 esac
10445 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10446 then
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10449 #include <X11/Xlib.h>
10450 #include <X11/extensions/Xfixes.h>
10452 main ()
10454 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10456 return 0;
10458 _ACEOF
10459 if ac_fn_c_try_compile "$LINENO"; then :
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10461 $as_echo_n "checking for -lXfixes... " >&6; }
10462 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_check_soname_save_LIBS=$LIBS
10466 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10470 /* Override any GCC internal prototype to avoid an error.
10471 Use char because int might match the return type of a GCC
10472 builtin and then its argument prototype would still apply. */
10473 #ifdef __cplusplus
10474 extern "C"
10475 #endif
10476 char XFixesQueryVersion ();
10478 main ()
10480 return XFixesQueryVersion ();
10482 return 0;
10484 _ACEOF
10485 if ac_fn_c_try_link "$LINENO"; then :
10486 case "$LIBEXT" in
10487 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10488 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'` ;;
10489 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10490 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10491 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10492 fi ;;
10493 esac
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_soname_save_LIBS
10499 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10501 $as_echo "not found" >&6; }
10503 else
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10505 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10507 cat >>confdefs.h <<_ACEOF
10508 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10509 _ACEOF
10514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10516 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10517 case "x$with_xfixes" in
10518 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10519 xno) ;;
10520 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10521 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10522 esac
10526 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10527 then
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 #include <X11/Xlib.h>
10531 #include <X11/extensions/Xinerama.h>
10533 main ()
10535 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10537 return 0;
10539 _ACEOF
10540 if ac_fn_c_try_compile "$LINENO"; then :
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10542 $as_echo_n "checking for -lXinerama... " >&6; }
10543 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10544 $as_echo_n "(cached) " >&6
10545 else
10546 ac_check_soname_save_LIBS=$LIBS
10547 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10554 #ifdef __cplusplus
10555 extern "C"
10556 #endif
10557 char XineramaQueryScreens ();
10559 main ()
10561 return XineramaQueryScreens ();
10563 return 0;
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 case "$LIBEXT" in
10568 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10569 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'` ;;
10570 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10571 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10572 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10573 fi ;;
10574 esac
10576 rm -f core conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 LIBS=$ac_check_soname_save_LIBS
10580 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10582 $as_echo "not found" >&6; }
10584 else
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10586 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10588 cat >>confdefs.h <<_ACEOF
10589 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10590 _ACEOF
10595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10597 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10598 case "x$with_xinerama" in
10599 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10600 xno) ;;
10601 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10602 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10603 esac
10607 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10608 then
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10610 $as_echo_n "checking for -lXcomposite... " >&6; }
10611 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10612 $as_echo_n "(cached) " >&6
10613 else
10614 ac_check_soname_save_LIBS=$LIBS
10615 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10619 /* Override any GCC internal prototype to avoid an error.
10620 Use char because int might match the return type of a GCC
10621 builtin and then its argument prototype would still apply. */
10622 #ifdef __cplusplus
10623 extern "C"
10624 #endif
10625 char XCompositeRedirectWindow ();
10627 main ()
10629 return XCompositeRedirectWindow ();
10631 return 0;
10633 _ACEOF
10634 if ac_fn_c_try_link "$LINENO"; then :
10635 case "$LIBEXT" in
10636 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10637 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'` ;;
10638 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10639 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10640 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10641 fi ;;
10642 esac
10644 rm -f core conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10646 LIBS=$ac_check_soname_save_LIBS
10648 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10650 $as_echo "not found" >&6; }
10652 else
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10654 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10656 cat >>confdefs.h <<_ACEOF
10657 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10658 _ACEOF
10663 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10664 case "x$with_xcomposite" in
10665 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10666 xno) ;;
10667 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10668 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10669 esac
10673 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10674 #include <X11/Xlib.h>
10675 #endif
10677 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10679 cat >>confdefs.h <<_ACEOF
10680 #define HAVE_XICCALLBACK_CALLBACK 1
10681 _ACEOF
10685 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10686 #include <X11/Xlib.h>
10687 #endif
10689 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10691 cat >>confdefs.h <<_ACEOF
10692 #define HAVE_XEVENT_XCOOKIE 1
10693 _ACEOF
10700 opengl_msg=""
10701 if test "x$with_opengl" != "xno"
10702 then
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10704 $as_echo_n "checking for -lGL... " >&6; }
10705 if ${ac_cv_lib_soname_GL+:} false; then :
10706 $as_echo_n "(cached) " >&6
10707 else
10708 ac_check_soname_save_LIBS=$LIBS
10709 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10716 #ifdef __cplusplus
10717 extern "C"
10718 #endif
10719 char glXCreateContext ();
10721 main ()
10723 return glXCreateContext ();
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 case "$LIBEXT" in
10730 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10731 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'` ;;
10732 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10733 if ${ac_cv_lib_soname_GL:+false} :; then :
10734 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10735 fi ;;
10736 esac
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_soname_save_LIBS
10742 if ${ac_cv_lib_soname_GL:+false} :; then :
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10744 $as_echo "not found" >&6; }
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10746 $as_echo_n "checking for -lGL... " >&6; }
10747 if ${ac_cv_lib_soname_GL+:} false; then :
10748 $as_echo_n "(cached) " >&6
10749 else
10750 ac_check_soname_save_LIBS=$LIBS
10751 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"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10758 #ifdef __cplusplus
10759 extern "C"
10760 #endif
10761 char glXCreateContext ();
10763 main ()
10765 return glXCreateContext ();
10767 return 0;
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771 case "$LIBEXT" in
10772 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10773 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'` ;;
10774 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10775 if ${ac_cv_lib_soname_GL:+false} :; then :
10776 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10777 fi ;;
10778 esac
10780 rm -f core conftest.err conftest.$ac_objext \
10781 conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_soname_save_LIBS
10784 if ${ac_cv_lib_soname_GL:+false} :; then :
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10786 $as_echo "not found" >&6; }
10787 if test -f /usr/X11R6/lib/libGL.a
10788 then
10789 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10790 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10791 else
10792 opengl_msg="No OpenGL library found on this system."
10794 else
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10796 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10798 cat >>confdefs.h <<_ACEOF
10799 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10800 _ACEOF
10802 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"
10804 else
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10806 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10808 cat >>confdefs.h <<_ACEOF
10809 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10810 _ACEOF
10812 OPENGL_LIBS="-lGL"
10814 if test "x$with_glu" != "xno"
10815 then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10817 $as_echo_n "checking for -lGLU... " >&6; }
10818 if ${ac_cv_lib_soname_GLU+:} false; then :
10819 $as_echo_n "(cached) " >&6
10820 else
10821 ac_check_soname_save_LIBS=$LIBS
10822 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10829 #ifdef __cplusplus
10830 extern "C"
10831 #endif
10832 char gluLookAt ();
10834 main ()
10836 return gluLookAt ();
10838 return 0;
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 case "$LIBEXT" in
10843 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if ${ac_cv_lib_soname_GLU:+false} :; then :
10847 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10848 fi ;;
10849 esac
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_soname_save_LIBS
10855 if ${ac_cv_lib_soname_GLU:+false} :; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10859 else
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10861 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10863 cat >>confdefs.h <<_ACEOF
10864 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10865 _ACEOF
10869 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10870 case "x$with_glu" in
10871 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10872 xno) ;;
10873 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10874 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10875 esac
10880 if test "x$with_osmesa" != "xno"
10881 then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10883 $as_echo_n "checking for -lOSMesa... " >&6; }
10884 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10885 $as_echo_n "(cached) " >&6
10886 else
10887 ac_check_soname_save_LIBS=$LIBS
10888 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10895 #ifdef __cplusplus
10896 extern "C"
10897 #endif
10898 char OSMesaGetProcAddress ();
10900 main ()
10902 return OSMesaGetProcAddress ();
10904 return 0;
10906 _ACEOF
10907 if ac_fn_c_try_link "$LINENO"; then :
10908 case "$LIBEXT" in
10909 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10910 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'` ;;
10911 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10912 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10913 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10914 fi ;;
10915 esac
10917 rm -f core conftest.err conftest.$ac_objext \
10918 conftest$ac_exeext conftest.$ac_ext
10919 LIBS=$ac_check_soname_save_LIBS
10921 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10923 $as_echo "not found" >&6; }
10925 else
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10927 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10929 cat >>confdefs.h <<_ACEOF
10930 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10931 _ACEOF
10935 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10936 case "x$with_osmesa" in
10937 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10938 xno) ;;
10939 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10940 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10941 esac
10946 if test -n "$opengl_msg"; then :
10947 case "x$with_opengl" in
10948 x) as_fn_append wine_warnings "|$opengl_msg
10949 OpenGL and Direct3D won't be supported." ;;
10950 xno) ;;
10951 *) as_fn_error $? "$opengl_msg
10952 OpenGL and Direct3D won't be supported.
10953 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10954 esac
10958 CPPFLAGS="$ac_save_CPPFLAGS"
10959 else
10960 X_CFLAGS=""
10961 X_LIBS=""
10964 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10965 then
10966 if test "x$X_LIBS" = "x"; then :
10967 case "x$with_x" in
10968 xno) ;;
10969 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10970 without X support, which probably isn't what you want. You will need
10971 to install ${notice_platform}development packages of Xlib at the very least.
10972 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10973 esac
10974 enable_winex11_drv=${enable_winex11_drv:-no}
10976 else
10977 if test "x$X_LIBS" = "x"; then :
10978 case "x$with_x" in
10979 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10980 xno) ;;
10981 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10982 This is an error since --with-x was requested." "$LINENO" 5 ;;
10983 esac
10984 enable_winex11_drv=${enable_winex11_drv:-no}
10988 if test "$ac_cv_header_CL_cl_h" = "yes"
10989 then
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10991 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10992 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10993 $as_echo_n "(cached) " >&6
10994 else
10995 ac_check_lib_save_LIBS=$LIBS
10996 LIBS="-lOpenCL $LIBS"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11003 #ifdef __cplusplus
11004 extern "C"
11005 #endif
11006 char clGetPlatformInfo ();
11008 main ()
11010 return clGetPlatformInfo ();
11012 return 0;
11014 _ACEOF
11015 if ac_fn_c_try_link "$LINENO"; then :
11016 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11017 else
11018 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11020 rm -f core conftest.err conftest.$ac_objext \
11021 conftest$ac_exeext conftest.$ac_ext
11022 LIBS=$ac_check_lib_save_LIBS
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11025 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11026 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11027 OPENCL_LIBS="-lOpenCL"
11032 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11033 case "x$with_opencl" in
11034 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11035 xno) ;;
11036 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11037 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11038 esac
11039 enable_opencl=${enable_opencl:-no}
11042 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11043 then
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11045 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11046 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11047 $as_echo_n "(cached) " >&6
11048 else
11049 ac_check_lib_save_LIBS=$LIBS
11050 LIBS="-lpcap $LIBS"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char pcap_create ();
11062 main ()
11064 return pcap_create ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_lib_pcap_pcap_create=yes
11071 else
11072 ac_cv_lib_pcap_pcap_create=no
11074 rm -f core conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11079 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11080 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11081 PCAP_LIBS="-lpcap"
11086 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11087 case "x$with_pcap" in
11088 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11089 xno) ;;
11090 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11091 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11092 esac
11093 enable_wpcap=${enable_wpcap:-no}
11097 if test "x$with_xml" != "xno"
11098 then
11099 if ${XML2_CFLAGS:+false} :; then :
11100 if ${PKG_CONFIG+:} false; then :
11101 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11104 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11105 if ${XML2_LIBS:+false} :; then :
11106 if ${PKG_CONFIG+:} false; then :
11107 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11110 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11111 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11112 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11113 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11114 ac_save_CPPFLAGS=$CPPFLAGS
11115 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11116 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11117 do :
11118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11119 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11120 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11121 cat >>confdefs.h <<_ACEOF
11122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11123 _ACEOF
11127 done
11129 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"
11130 then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11132 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11133 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-lxml2 $XML2_LIBS $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char xmlParseMemory ();
11149 main ()
11151 return xmlParseMemory ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_xml2_xmlParseMemory=yes
11158 else
11159 ac_cv_lib_xml2_xmlParseMemory=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11166 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11167 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11169 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11171 else
11172 XML2_LIBS=""
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11176 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11177 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11178 $as_echo_n "(cached) " >&6
11179 else
11180 ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-lxml2 $XML2_LIBS $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char xmlReadMemory ();
11193 main ()
11195 return xmlReadMemory ();
11197 return 0;
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_xml2_xmlReadMemory=yes
11202 else
11203 ac_cv_lib_xml2_xmlReadMemory=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11210 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11211 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11213 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11218 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11219 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lxml2 $XML2_LIBS $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char xmlNewDocPI ();
11235 main ()
11237 return xmlNewDocPI ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_xml2_xmlNewDocPI=yes
11244 else
11245 ac_cv_lib_xml2_xmlNewDocPI=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11252 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11253 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11255 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11260 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11261 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-lxml2 $XML2_LIBS $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char xmlSchemaSetParserStructuredErrors ();
11277 main ()
11279 return xmlSchemaSetParserStructuredErrors ();
11281 return 0;
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11286 else
11287 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11289 rm -f core conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11294 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11295 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11297 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11302 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11303 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_lib_save_LIBS=$LIBS
11307 LIBS="-lxml2 $XML2_LIBS $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char xmlSchemaSetValidStructuredErrors ();
11319 main ()
11321 return xmlSchemaSetValidStructuredErrors ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11328 else
11329 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11336 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11337 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11339 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11344 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11345 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lxml2 $XML2_LIBS $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char xmlFirstElementChild ();
11361 main ()
11363 return xmlFirstElementChild ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_xml2_xmlFirstElementChild=yes
11370 else
11371 ac_cv_lib_xml2_xmlFirstElementChild=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11378 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11379 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11381 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11385 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11387 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11389 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11393 else
11394 XML2_CFLAGS=""
11395 XML2_LIBS=""
11397 CPPFLAGS=$ac_save_CPPFLAGS
11398 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11399 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11402 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11403 case "x$with_xml" in
11404 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11405 xno) ;;
11406 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11407 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11408 esac
11412 if test "x$with_xslt" != "xno"
11413 then
11414 if ${XSLT_CFLAGS:+false} :; then :
11415 if ${PKG_CONFIG+:} false; then :
11416 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11419 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11420 if ${XSLT_LIBS:+false} :; then :
11421 if ${PKG_CONFIG+:} false; then :
11422 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11425 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11426 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11427 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11428 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11429 ac_save_CPPFLAGS=$CPPFLAGS
11430 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11431 for ac_header in libxslt/pattern.h libxslt/transform.h
11432 do :
11433 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11434 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11435 # include <libxslt/pattern.h>
11436 #endif
11438 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11439 cat >>confdefs.h <<_ACEOF
11440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11441 _ACEOF
11445 done
11447 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11448 then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11450 $as_echo_n "checking for -lxslt... " >&6; }
11451 if ${ac_cv_lib_soname_xslt+:} false; then :
11452 $as_echo_n "(cached) " >&6
11453 else
11454 ac_check_soname_save_LIBS=$LIBS
11455 LIBS="-lxslt $XSLT_LIBS $LIBS"
11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11462 #ifdef __cplusplus
11463 extern "C"
11464 #endif
11465 char xsltCompilePattern ();
11467 main ()
11469 return xsltCompilePattern ();
11471 return 0;
11473 _ACEOF
11474 if ac_fn_c_try_link "$LINENO"; then :
11475 case "$LIBEXT" in
11476 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11477 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'` ;;
11478 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11479 if ${ac_cv_lib_soname_xslt:+false} :; then :
11480 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11481 fi ;;
11482 esac
11484 rm -f core conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_soname_save_LIBS
11488 if ${ac_cv_lib_soname_xslt:+false} :; then :
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11490 $as_echo "not found" >&6; }
11492 else
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11494 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11496 cat >>confdefs.h <<_ACEOF
11497 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11498 _ACEOF
11502 else
11503 XSLT_CFLAGS=""
11505 CPPFLAGS=$ac_save_CPPFLAGS
11506 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11507 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11510 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11511 case "x$with_xslt" in
11512 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11513 xno) ;;
11514 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11515 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11516 esac
11520 if test "x$with_dbus" != "xno"
11521 then
11522 if ${DBUS_CFLAGS:+false} :; then :
11523 if ${PKG_CONFIG+:} false; then :
11524 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11528 if ${DBUS_LIBS:+false} :; then :
11529 if ${PKG_CONFIG+:} false; then :
11530 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11535 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11537 ac_save_CPPFLAGS=$CPPFLAGS
11538 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11539 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11540 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11542 $as_echo_n "checking for -ldbus-1... " >&6; }
11543 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_soname_save_LIBS=$LIBS
11547 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char dbus_connection_close ();
11559 main ()
11561 return dbus_connection_close ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 case "$LIBEXT" in
11568 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) 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'`
11571 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11572 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 fi ;;
11574 esac
11576 rm -f core conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_soname_save_LIBS
11580 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11582 $as_echo "not found" >&6; }
11583 DBUS_CFLAGS=""
11584 else
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11586 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11588 cat >>confdefs.h <<_ACEOF
11589 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11590 _ACEOF
11594 else
11595 DBUS_CFLAGS=""
11599 CPPFLAGS=$ac_save_CPPFLAGS
11600 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11601 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11604 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11605 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11606 case "x$with_dbus" in
11607 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11608 xno) ;;
11609 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11610 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11611 esac
11615 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11616 then
11617 if ${HAL_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false; then :
11619 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11623 if ${HAL_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false; then :
11625 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11629 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11630 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11632 ac_save_CPPFLAGS=$CPPFLAGS
11633 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11634 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11635 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11637 $as_echo_n "checking for -lhal... " >&6; }
11638 if ${ac_cv_lib_soname_hal+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 ac_check_soname_save_LIBS=$LIBS
11642 LIBS="-lhal $HAL_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 libhal_ctx_new ();
11654 main ()
11656 return libhal_ctx_new ();
11658 return 0;
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 case "$LIBEXT" in
11663 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11664 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'` ;;
11665 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11666 if ${ac_cv_lib_soname_hal:+false} :; then :
11667 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$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_hal:+false} :; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11677 $as_echo "not found" >&6; }
11678 HAL_CFLAGS=""
11679 else
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11681 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11683 cat >>confdefs.h <<_ACEOF
11684 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11685 _ACEOF
11689 else
11690 HAL_CFLAGS=""
11694 CPPFLAGS=$ac_save_CPPFLAGS
11695 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11699 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11700 case "x$with_hal" in
11701 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11702 xno) ;;
11703 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11704 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11705 esac
11710 if test "x$with_gnutls" != "xno"
11711 then
11712 if ${GNUTLS_CFLAGS:+false} :; then :
11713 if ${PKG_CONFIG+:} false; then :
11714 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11718 if ${GNUTLS_LIBS:+false} :; then :
11719 if ${PKG_CONFIG+:} false; then :
11720 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11725 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11726 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11727 ac_save_CPPFLAGS=$CPPFLAGS
11728 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11729 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11730 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11733 #include <gnutls/gnutls.h>
11734 #include <gnutls/crypto.h>
11736 main ()
11738 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_compile "$LINENO"; then :
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11745 $as_echo_n "checking for -lgnutls... " >&6; }
11746 if ${ac_cv_lib_soname_gnutls+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 ac_check_soname_save_LIBS=$LIBS
11750 LIBS="-lgnutls $GNUTLS_LIBS $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 gnutls_global_init ();
11762 main ()
11764 return gnutls_global_init ();
11766 return 0;
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 case "$LIBEXT" in
11771 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11772 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'` ;;
11773 *) 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'`
11774 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11775 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'`
11776 fi ;;
11777 esac
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_soname_save_LIBS
11783 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11785 $as_echo "not found" >&6; }
11786 GNUTLS_CFLAGS=""
11787 else
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11789 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11791 cat >>confdefs.h <<_ACEOF
11792 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11793 _ACEOF
11797 ac_wine_check_funcs_save_LIBS="$LIBS"
11798 LIBS="$LIBS $GNUTLS_LIBS"
11799 for ac_func in gnutls_cipher_init
11800 do :
11801 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11802 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11803 cat >>confdefs.h <<_ACEOF
11804 #define HAVE_GNUTLS_CIPHER_INIT 1
11805 _ACEOF
11807 else
11808 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11810 done
11812 LIBS="$ac_wine_check_funcs_save_LIBS"
11814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11815 else
11816 GNUTLS_CFLAGS=""
11820 CPPFLAGS=$ac_save_CPPFLAGS
11821 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11822 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11825 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11826 case "x$with_gnutls" in
11827 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11828 xno) ;;
11829 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11830 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11831 esac
11835 CURSES_LIBS=""
11836 if test "$ac_cv_header_ncurses_h" = "yes"
11837 then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11839 $as_echo_n "checking for -lncurses... " >&6; }
11840 if ${ac_cv_lib_soname_ncurses+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lncurses $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char waddch ();
11856 main ()
11858 return waddch ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) 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'`
11868 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11869 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11883 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11887 _ACEOF
11889 CURSES_LIBS="-lncurses"
11891 elif test "$ac_cv_header_curses_h" = "yes"
11892 then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11894 $as_echo_n "checking for -lcurses... " >&6; }
11895 if ${ac_cv_lib_soname_curses+:} false; then :
11896 $as_echo_n "(cached) " >&6
11897 else
11898 ac_check_soname_save_LIBS=$LIBS
11899 LIBS="-lcurses $LIBS"
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909 char waddch ();
11911 main ()
11913 return waddch ();
11915 return 0;
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 case "$LIBEXT" in
11920 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11921 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'` ;;
11922 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11923 if ${ac_cv_lib_soname_curses:+false} :; then :
11924 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11925 fi ;;
11926 esac
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_soname_save_LIBS
11932 if ${ac_cv_lib_soname_curses:+false} :; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11934 $as_echo "not found" >&6; }
11936 else
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11938 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11940 cat >>confdefs.h <<_ACEOF
11941 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11942 _ACEOF
11944 CURSES_LIBS="-lcurses"
11947 ac_save_LIBS="$LIBS"
11948 LIBS="$LIBS $CURSES_LIBS"
11949 for ac_func in mousemask
11950 do :
11951 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11952 if test "x$ac_cv_func_mousemask" = xyes; then :
11953 cat >>confdefs.h <<_ACEOF
11954 #define HAVE_MOUSEMASK 1
11955 _ACEOF
11958 done
11960 LIBS="$ac_save_LIBS"
11961 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11962 case "x$with_curses" in
11963 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11964 xno) ;;
11965 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11966 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11967 esac
11971 if test "x$with_sane" != "xno"
11972 then
11973 if ${SANE_CFLAGS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11978 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11979 if ${SANE_LIBS:+false} :; then :
11980 if ${PKG_CONFIG+:} false; then :
11981 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11984 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11988 ac_save_CPPFLAGS=$CPPFLAGS
11989 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11990 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11993 $as_echo_n "checking for -lsane... " >&6; }
11994 if ${ac_cv_lib_soname_sane+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_soname_save_LIBS=$LIBS
11998 LIBS="-lsane $SANE_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char sane_init ();
12010 main ()
12012 return sane_init ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 case "$LIBEXT" in
12019 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12020 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'` ;;
12021 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12022 if ${ac_cv_lib_soname_sane:+false} :; then :
12023 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12024 fi ;;
12025 esac
12027 rm -f core conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 LIBS=$ac_check_soname_save_LIBS
12031 if ${ac_cv_lib_soname_sane:+false} :; then :
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12033 $as_echo "not found" >&6; }
12034 SANE_CFLAGS=""
12035 else
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12037 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12039 cat >>confdefs.h <<_ACEOF
12040 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12041 _ACEOF
12045 else
12046 SANE_CFLAGS=""
12050 CPPFLAGS=$ac_save_CPPFLAGS
12051 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12052 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12055 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12056 case "x$with_sane" in
12057 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12060 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12061 esac
12065 if test "x$with_v4l" != "xno"
12066 then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12068 $as_echo_n "checking for -lv4l1... " >&6; }
12069 if ${ac_cv_lib_soname_v4l1+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_check_soname_save_LIBS=$LIBS
12073 LIBS="-lv4l1 $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char v4l1_open ();
12085 main ()
12087 return v4l1_open ();
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 case "$LIBEXT" in
12094 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12095 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'` ;;
12096 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12097 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12098 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12099 fi ;;
12100 esac
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_soname_save_LIBS
12106 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12108 $as_echo "not found" >&6; }
12110 else
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12112 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12114 cat >>confdefs.h <<_ACEOF
12115 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12116 _ACEOF
12121 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12122 case "x$with_v4l" in
12123 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12124 xno) ;;
12125 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12126 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12127 esac
12131 if test "x$with_gphoto" != "xno"
12132 then
12133 if ${GPHOTO2_CFLAGS:+false} :; then :
12134 if ${PKG_CONFIG+:} false; then :
12135 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12138 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12139 if ${GPHOTO2_LIBS:+false} :; then :
12140 if ${PKG_CONFIG+:} false; then :
12141 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12144 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12145 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12146 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12147 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12148 ac_save_CPPFLAGS=$CPPFLAGS
12149 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12150 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12151 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12153 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12154 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_check_lib_save_LIBS=$LIBS
12158 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 char gp_camera_new ();
12170 main ()
12172 return gp_camera_new ();
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 ac_cv_lib_gphoto2_gp_camera_new=yes
12179 else
12180 ac_cv_lib_gphoto2_gp_camera_new=no
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12187 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12188 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12190 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12192 else
12193 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12196 else
12197 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12201 CPPFLAGS=$ac_save_CPPFLAGS
12202 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12203 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12205 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12206 if ${PKG_CONFIG+:} false; then :
12207 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12210 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12211 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12212 if ${PKG_CONFIG+:} false; then :
12213 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12216 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12217 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12218 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12219 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12220 ac_save_CPPFLAGS=$CPPFLAGS
12221 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12222 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12223 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12225 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12226 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 ac_check_lib_save_LIBS=$LIBS
12230 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 char gp_port_info_list_new ();
12242 main ()
12244 return gp_port_info_list_new ();
12246 return 0;
12248 _ACEOF
12249 if ac_fn_c_try_link "$LINENO"; then :
12250 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12251 else
12252 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12254 rm -f core conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12256 LIBS=$ac_check_lib_save_LIBS
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12259 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12260 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12262 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12264 else
12265 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12268 else
12269 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12273 CPPFLAGS=$ac_save_CPPFLAGS
12274 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12275 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12278 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12279 case "x$with_gphoto" in
12280 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12281 xno) ;;
12282 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12283 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12284 esac
12287 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12288 case "x$with_gphoto" in
12289 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12290 xno) ;;
12291 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12292 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12293 esac
12298 if test "$ac_cv_header_resolv_h" = "yes"
12299 then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12301 $as_echo_n "checking for resolver library... " >&6; }
12302 if ${ac_cv_have_resolv+:} false; then :
12303 $as_echo_n "(cached) " >&6
12304 else
12305 ac_save_LIBS="$LIBS"
12306 for lib in '' -lresolv
12308 LIBS="$lib $ac_save_LIBS"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12311 #ifdef HAVE_NETINET_IN_H
12312 #include <netinet/in.h>
12313 #endif
12314 #include <resolv.h>
12316 main ()
12318 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12320 return 0;
12322 _ACEOF
12323 if ac_fn_c_try_link "$LINENO"; then :
12324 ac_cv_have_resolv=${lib:-"none required"}
12325 else
12326 ac_cv_have_resolv="not found"
12328 rm -f core conftest.err conftest.$ac_objext \
12329 conftest$ac_exeext conftest.$ac_ext
12330 test "x$ac_cv_have_resolv" = "xnot found" || break
12331 done
12332 LIBS="$ac_save_LIBS"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12335 $as_echo "$ac_cv_have_resolv" >&6; }
12337 case "$ac_cv_have_resolv" in
12338 "not found") ;;
12339 "none required")
12341 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12344 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12346 RESOLV_LIBS=$ac_cv_have_resolv
12348 esac
12351 if test "x$with_cms" != "xno"
12352 then
12353 if ${LCMS2_CFLAGS:+false} :; then :
12354 if ${PKG_CONFIG+:} false; then :
12355 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12359 if ${LCMS2_LIBS:+false} :; then :
12360 if ${PKG_CONFIG+:} false; then :
12361 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12365 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12366 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12367 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12368 ac_save_CPPFLAGS=$CPPFLAGS
12369 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12370 for ac_header in lcms2.h
12371 do :
12372 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12373 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12374 cat >>confdefs.h <<_ACEOF
12375 #define HAVE_LCMS2_H 1
12376 _ACEOF
12380 done
12382 if test "$ac_cv_header_lcms2_h" = "yes"
12383 then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12385 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12386 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12387 $as_echo_n "(cached) " >&6
12388 else
12389 ac_check_lib_save_LIBS=$LIBS
12390 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12397 #ifdef __cplusplus
12398 extern "C"
12399 #endif
12400 char cmsOpenProfileFromFile ();
12402 main ()
12404 return cmsOpenProfileFromFile ();
12406 return 0;
12408 _ACEOF
12409 if ac_fn_c_try_link "$LINENO"; then :
12410 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12411 else
12412 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12414 rm -f core conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_lib_save_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12419 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12420 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12422 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12424 else
12425 LCMS2_LIBS=""
12428 else
12429 LCMS2_CFLAGS=""
12430 LCMS2_LIBS=""
12432 CPPFLAGS=$ac_save_CPPFLAGS
12433 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12434 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12437 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12438 case "x$with_cms" in
12439 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12440 xno) ;;
12441 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12442 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12443 esac
12447 if test "x$with_freetype" != "xno"
12448 then
12449 if ${FREETYPE_CFLAGS:+false} :; then :
12450 if ${PKG_CONFIG+:} false; then :
12451 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12454 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12455 if ${FREETYPE_LIBS:+false} :; then :
12456 if ${PKG_CONFIG+:} false; then :
12457 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12460 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12461 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12462 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12463 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12464 ac_save_CPPFLAGS=$CPPFLAGS
12465 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12466 for ac_header in ft2build.h
12467 do :
12468 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12469 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define HAVE_FT2BUILD_H 1
12472 _ACEOF
12476 done
12478 if test "$ac_cv_header_ft2build_h" = "yes"
12479 then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12481 $as_echo_n "checking for -lfreetype... " >&6; }
12482 if ${ac_cv_lib_soname_freetype+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_check_soname_save_LIBS=$LIBS
12486 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12493 #ifdef __cplusplus
12494 extern "C"
12495 #endif
12496 char FT_Init_FreeType ();
12498 main ()
12500 return FT_Init_FreeType ();
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_link "$LINENO"; then :
12506 case "$LIBEXT" in
12507 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12508 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'` ;;
12509 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12510 if ${ac_cv_lib_soname_freetype:+false} :; then :
12511 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12512 fi ;;
12513 esac
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_soname_save_LIBS
12519 if ${ac_cv_lib_soname_freetype:+false} :; then :
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12521 $as_echo "not found" >&6; }
12522 FREETYPE_LIBS=""
12523 else
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12525 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12527 cat >>confdefs.h <<_ACEOF
12528 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12529 _ACEOF
12532 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12534 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12535 #include FT_MODULE_H
12537 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12539 cat >>confdefs.h <<_ACEOF
12540 #define HAVE_FT_TRUETYPEENGINETYPE 1
12541 _ACEOF
12547 else
12548 FREETYPE_CFLAGS=""
12549 FREETYPE_LIBS=""
12551 CPPFLAGS=$ac_save_CPPFLAGS
12552 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12553 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12556 if test "x$ac_cv_lib_soname_freetype" = x; then :
12557 case "x$with_freetype" in
12558 xno) ;;
12559 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12560 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12561 esac
12562 enable_fonts=${enable_fonts:-no}
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12566 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12567 if ${ac_cv_c_ppdev+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #ifdef HAVE_SYS_IOCTL_H
12573 # include <sys/ioctl.h>
12574 #endif
12575 #include <linux/ppdev.h>
12577 main ()
12579 ioctl (1,PPCLAIM,0)
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_compile "$LINENO"; then :
12585 ac_cv_c_ppdev="yes"
12586 else
12587 ac_cv_c_ppdev="no"
12589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12592 $as_echo "$ac_cv_c_ppdev" >&6; }
12593 if test "$ac_cv_c_ppdev" = "yes"
12594 then
12596 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12600 ac_wine_check_funcs_save_LIBS="$LIBS"
12601 LIBS="$LIBS $PTHREAD_LIBS"
12602 for ac_func in \
12603 pthread_attr_get_np \
12604 pthread_getattr_np \
12605 pthread_getthreadid_np \
12606 pthread_get_stackaddr_np \
12607 pthread_get_stacksize_np
12608 do :
12609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12612 cat >>confdefs.h <<_ACEOF
12613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12614 _ACEOF
12617 done
12619 LIBS="$ac_wine_check_funcs_save_LIBS"
12621 if test "$ac_cv_header_zlib_h" = "yes"
12622 then
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12624 $as_echo_n "checking for inflate in -lz... " >&6; }
12625 if ${ac_cv_lib_z_inflate+:} false; then :
12626 $as_echo_n "(cached) " >&6
12627 else
12628 ac_check_lib_save_LIBS=$LIBS
12629 LIBS="-lz $LIBS"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12636 #ifdef __cplusplus
12637 extern "C"
12638 #endif
12639 char inflate ();
12641 main ()
12643 return inflate ();
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_link "$LINENO"; then :
12649 ac_cv_lib_z_inflate=yes
12650 else
12651 ac_cv_lib_z_inflate=no
12653 rm -f core conftest.err conftest.$ac_objext \
12654 conftest$ac_exeext conftest.$ac_ext
12655 LIBS=$ac_check_lib_save_LIBS
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12658 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12659 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12661 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12663 Z_LIBS="-lz"
12668 if test "x$Z_LIBS" = "x"; then :
12669 case "x$with_zlib" in
12670 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12671 xno) ;;
12672 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12673 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12674 esac
12678 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12679 then
12680 if test "$ac_cv_header_gettext_po_h" = "yes"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12683 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12684 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_lib_save_LIBS=$LIBS
12688 LIBS="-lgettextpo $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char po_message_msgctxt ();
12700 main ()
12702 return po_message_msgctxt ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12709 else
12710 ac_cv_lib_gettextpo_po_message_msgctxt=no
12712 rm -f core conftest.err conftest.$ac_objext \
12713 conftest$ac_exeext conftest.$ac_ext
12714 LIBS=$ac_check_lib_save_LIBS
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12717 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12718 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12720 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12722 GETTEXTPO_LIBS="-lgettextpo"
12727 if test "x$GETTEXTPO_LIBS" = "x"; then :
12728 case "x$with_gettextpo" in
12729 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12730 xno) ;;
12731 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12732 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12733 esac
12736 if test "$srcdir" != .; then :
12737 case "x$with_gettextpo" in
12738 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12739 xno) ;;
12740 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12741 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12742 esac
12747 if test "x$with_pulse" != "xno";
12748 then
12749 if ${PULSE_CFLAGS:+false} :; then :
12750 if ${PKG_CONFIG+:} false; then :
12751 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12755 if ${PULSE_LIBS:+false} :; then :
12756 if ${PKG_CONFIG+:} false; then :
12757 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12762 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12763 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12764 ac_save_CPPFLAGS=$CPPFLAGS
12765 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12766 for ac_header in pulse/pulseaudio.h
12767 do :
12768 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12770 cat >>confdefs.h <<_ACEOF
12771 #define HAVE_PULSE_PULSEAUDIO_H 1
12772 _ACEOF
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12774 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12775 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12776 $as_echo_n "(cached) " >&6
12777 else
12778 ac_check_lib_save_LIBS=$LIBS
12779 LIBS="-lpulse $PULSE_LIBS $LIBS"
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12786 #ifdef __cplusplus
12787 extern "C"
12788 #endif
12789 char pa_stream_is_corked ();
12791 main ()
12793 return pa_stream_is_corked ();
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_link "$LINENO"; then :
12799 ac_cv_lib_pulse_pa_stream_is_corked=yes
12800 else
12801 ac_cv_lib_pulse_pa_stream_is_corked=no
12803 rm -f core conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 LIBS=$ac_check_lib_save_LIBS
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12808 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12809 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12811 else
12812 PULSE_LIBS=""
12815 else
12816 PULSE_LIBS=""
12819 done
12821 CPPFLAGS=$ac_save_CPPFLAGS
12822 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12823 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12826 if test -z "$PULSE_LIBS"; then :
12827 case "x$with_pulse" in
12828 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12829 xno) ;;
12830 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12831 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12832 esac
12833 enable_winepulse_drv=${enable_winepulse_drv:-no}
12836 if test "x$with_gstreamer" != "xno"
12837 then
12838 if ${GSTREAMER_CFLAGS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12844 if ${GSTREAMER_LIBS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12851 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12853 ac_save_CPPFLAGS=$CPPFLAGS
12854 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12855 ac_gst_incl=""
12856 for i in $GSTREAMER_CFLAGS
12858 case "$i" in
12859 -I*) ac_gst_incl="$ac_gst_incl $i";;
12860 esac
12861 done
12862 GSTREAMER_CFLAGS=$ac_gst_incl
12863 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12864 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12867 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12870 #include <gst/gst.h>
12872 main ()
12874 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_compile "$LINENO"; then :
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12881 $as_echo "yes" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12883 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12884 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char gst_pad_new ();
12900 main ()
12902 return gst_pad_new ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12909 else
12910 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12917 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12918 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12922 else
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12924 $as_echo "no" >&6; }
12925 ac_glib2_broken=yes
12926 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12932 CPPFLAGS=$ac_save_CPPFLAGS
12933 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12934 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12937 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 :
12938 case "x$with_gstreamer" in
12939 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12940 xno) ;;
12941 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12942 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12943 esac
12946 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12948 ALSA_LIBS=""
12950 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12951 then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12953 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12954 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_check_lib_save_LIBS=$LIBS
12958 LIBS="-lasound $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 #ifdef __cplusplus
12966 extern "C"
12967 #endif
12968 char snd_pcm_hw_params_get_access_mask ();
12970 main ()
12972 return snd_pcm_hw_params_get_access_mask ();
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_link "$LINENO"; then :
12978 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12979 else
12980 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 LIBS=$ac_check_lib_save_LIBS
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12987 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12988 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12991 #ifdef HAVE_ALSA_ASOUNDLIB_H
12992 #include <alsa/asoundlib.h>
12993 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12994 #include <sys/asoundlib.h>
12995 #endif
12997 main ()
12999 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_compile "$LINENO"; then :
13005 ALSA_LIBS="-lasound"
13007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13011 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13013 if test "x$with_oss" != xno
13014 then
13015 ac_save_CPPFLAGS="$CPPFLAGS"
13016 if test -f /etc/oss.conf
13017 then
13018 . /etc/oss.conf
13020 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13021 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13022 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13023 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13024 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13026 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13028 cat >>confdefs.h <<_ACEOF
13029 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13030 _ACEOF
13032 OSS4_CFLAGS="$ac_oss_incl"
13039 CPPFLAGS="$ac_save_CPPFLAGS"
13041 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13042 case "x$with_oss" in
13043 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13044 xno) ;;
13045 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13046 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13047 esac
13048 enable_wineoss_drv=${enable_wineoss_drv:-no}
13051 if test "x$with_udev" != "xno"
13052 then
13053 if ${UDEV_CFLAGS:+false} :; then :
13054 if ${PKG_CONFIG+:} false; then :
13055 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13059 if ${UDEV_LIBS:+false} :; then :
13060 if ${PKG_CONFIG+:} false; then :
13061 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13065 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13066 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13067 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13068 ac_save_CPPFLAGS=$CPPFLAGS
13069 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13070 for ac_header in libudev.h
13071 do :
13072 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13073 if test "x$ac_cv_header_libudev_h" = xyes; then :
13074 cat >>confdefs.h <<_ACEOF
13075 #define HAVE_LIBUDEV_H 1
13076 _ACEOF
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13078 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13079 if ${ac_cv_lib_udev_udev_new+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_check_lib_save_LIBS=$LIBS
13083 LIBS="-ludev $UDEV_LIBS $LIBS"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char udev_new ();
13095 main ()
13097 return udev_new ();
13099 return 0;
13101 _ACEOF
13102 if ac_fn_c_try_link "$LINENO"; then :
13103 ac_cv_lib_udev_udev_new=yes
13104 else
13105 ac_cv_lib_udev_udev_new=no
13107 rm -f core conftest.err conftest.$ac_objext \
13108 conftest$ac_exeext conftest.$ac_ext
13109 LIBS=$ac_check_lib_save_LIBS
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13112 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13113 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13115 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13117 else
13118 UDEV_LIBS=""
13121 else
13122 UDEV_LIBS=""
13125 done
13127 CPPFLAGS=$ac_save_CPPFLAGS
13128 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13129 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13132 if test "x$UDEV_LIBS" = "x"; then :
13133 case "x$with_udev" in
13134 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13135 xno) ;;
13136 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13137 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13138 esac
13142 if test "x$with_sdl" != "xno"
13143 then
13144 if ${SDL2_CFLAGS:+false} :; then :
13145 if ${PKG_CONFIG+:} false; then :
13146 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13150 if ${SDL2_LIBS:+false} :; then :
13151 if ${PKG_CONFIG+:} false; then :
13152 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13156 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13157 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13158 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13159 ac_save_CPPFLAGS=$CPPFLAGS
13160 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13161 for ac_header in SDL2/SDL.h
13162 do :
13163 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13164 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13165 cat >>confdefs.h <<_ACEOF
13166 #define HAVE_SDL2_SDL_H 1
13167 _ACEOF
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13169 $as_echo_n "checking for -lSDL2... " >&6; }
13170 if ${ac_cv_lib_soname_SDL2+:} false; then :
13171 $as_echo_n "(cached) " >&6
13172 else
13173 ac_check_soname_save_LIBS=$LIBS
13174 LIBS="-lSDL2 $LIBS"
13175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h. */
13178 /* Override any GCC internal prototype to avoid an error.
13179 Use char because int might match the return type of a GCC
13180 builtin and then its argument prototype would still apply. */
13181 #ifdef __cplusplus
13182 extern "C"
13183 #endif
13184 char SDL_Init ();
13186 main ()
13188 return SDL_Init ();
13190 return 0;
13192 _ACEOF
13193 if ac_fn_c_try_link "$LINENO"; then :
13194 case "$LIBEXT" in
13195 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13196 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'` ;;
13197 *) 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'`
13198 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13199 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13200 fi ;;
13201 esac
13203 rm -f core conftest.err conftest.$ac_objext \
13204 conftest$ac_exeext conftest.$ac_ext
13205 LIBS=$ac_check_soname_save_LIBS
13207 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13209 $as_echo "not found" >&6; }
13211 else
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13213 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13215 cat >>confdefs.h <<_ACEOF
13216 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13217 _ACEOF
13223 done
13225 CPPFLAGS=$ac_save_CPPFLAGS
13226 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13227 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13230 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13231 case "x$with_sdl" in
13232 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13233 xno) ;;
13234 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13235 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13236 esac
13240 if test "x$with_capi" != "xno"
13241 then
13242 if ${CAPI20_CFLAGS:+false} :; then :
13243 if ${PKG_CONFIG+:} false; then :
13244 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13248 if ${CAPI20_LIBS:+false} :; then :
13249 if ${PKG_CONFIG+:} false; then :
13250 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13255 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13257 ac_save_CPPFLAGS=$CPPFLAGS
13258 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13259 for ac_header in capi20.h linux/capi.h
13260 do :
13261 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13262 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13267 _ACEOF
13271 done
13273 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13274 then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13276 $as_echo_n "checking for -lcapi20... " >&6; }
13277 if ${ac_cv_lib_soname_capi20+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_soname_save_LIBS=$LIBS
13281 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 #ifdef __cplusplus
13289 extern "C"
13290 #endif
13291 char capi20_register ();
13293 main ()
13295 return capi20_register ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 case "$LIBEXT" in
13302 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13305 if ${ac_cv_lib_soname_capi20:+false} :; then :
13306 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13307 fi ;;
13308 esac
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 LIBS=$ac_check_soname_save_LIBS
13314 if ${ac_cv_lib_soname_capi20:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13318 else
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13320 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13322 cat >>confdefs.h <<_ACEOF
13323 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13324 _ACEOF
13329 CPPFLAGS=$ac_save_CPPFLAGS
13330 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13331 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13334 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13335 case "x$with_capi" in
13336 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13337 xno) ;;
13338 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13339 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13340 esac
13344 if test "x$with_cups" != "xno"
13345 then
13346 if ${CUPS_CFLAGS:+false} :; then :
13347 if ${PKG_CONFIG+:} false; then :
13348 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13351 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13352 if ${CUPS_LIBS:+false} :; then :
13353 if ${PKG_CONFIG+:} false; then :
13354 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13357 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13358 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13359 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13360 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13361 ac_save_CPPFLAGS=$CPPFLAGS
13362 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13363 for ac_header in cups/cups.h cups/ppd.h
13364 do :
13365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13366 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13367 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13368 cat >>confdefs.h <<_ACEOF
13369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13370 _ACEOF
13374 done
13376 if test "$ac_cv_header_cups_cups_h" = "yes"
13377 then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13379 $as_echo_n "checking for -lcups... " >&6; }
13380 if ${ac_cv_lib_soname_cups+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_soname_save_LIBS=$LIBS
13384 LIBS="-lcups $CUPS_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char cupsGetDefault ();
13396 main ()
13398 return cupsGetDefault ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 case "$LIBEXT" in
13405 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13406 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'` ;;
13407 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13408 if ${ac_cv_lib_soname_cups:+false} :; then :
13409 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13410 fi ;;
13411 esac
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_soname_save_LIBS
13417 if ${ac_cv_lib_soname_cups:+false} :; then :
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13419 $as_echo "not found" >&6; }
13420 CUPS_LIBS=""
13421 else
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13423 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13427 _ACEOF
13431 else
13432 CUPS_CFLAGS=""
13433 CUPS_LIBS=""
13435 CPPFLAGS=$ac_save_CPPFLAGS
13436 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13437 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13440 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13441 case "x$with_cups" in
13442 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13443 xno) ;;
13444 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13445 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13446 esac
13450 if test "x$with_fontconfig" != "xno"
13451 then
13452 if ${FONTCONFIG_CFLAGS:+false} :; then :
13453 if ${PKG_CONFIG+:} false; then :
13454 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13457 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13458 if ${FONTCONFIG_LIBS:+false} :; then :
13459 if ${PKG_CONFIG+:} false; then :
13460 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13463 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13465 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13466 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13467 ac_save_CPPFLAGS=$CPPFLAGS
13468 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13469 for ac_header in fontconfig/fontconfig.h
13470 do :
13471 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13472 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13473 cat >>confdefs.h <<_ACEOF
13474 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13475 _ACEOF
13479 done
13481 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13482 then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13484 $as_echo_n "checking for -lfontconfig... " >&6; }
13485 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13486 $as_echo_n "(cached) " >&6
13487 else
13488 ac_check_soname_save_LIBS=$LIBS
13489 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13496 #ifdef __cplusplus
13497 extern "C"
13498 #endif
13499 char FcInit ();
13501 main ()
13503 return FcInit ();
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 case "$LIBEXT" in
13510 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13511 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'` ;;
13512 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13513 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13514 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13515 fi ;;
13516 esac
13518 rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520 LIBS=$ac_check_soname_save_LIBS
13522 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13524 $as_echo "not found" >&6; }
13525 FONTCONFIG_CFLAGS=""
13526 else
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13528 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13530 cat >>confdefs.h <<_ACEOF
13531 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13532 _ACEOF
13536 else
13537 FONTCONFIG_CFLAGS=""
13539 CPPFLAGS=$ac_save_CPPFLAGS
13540 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13541 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13544 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13545 case "x$with_fontconfig" in
13546 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13547 xno) ;;
13548 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13549 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13550 esac
13554 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13555 then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13557 $as_echo_n "checking for -lgsm... " >&6; }
13558 if ${ac_cv_lib_soname_gsm+:} false; then :
13559 $as_echo_n "(cached) " >&6
13560 else
13561 ac_check_soname_save_LIBS=$LIBS
13562 LIBS="-lgsm $LIBS"
13563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply. */
13569 #ifdef __cplusplus
13570 extern "C"
13571 #endif
13572 char gsm_create ();
13574 main ()
13576 return gsm_create ();
13578 return 0;
13580 _ACEOF
13581 if ac_fn_c_try_link "$LINENO"; then :
13582 case "$LIBEXT" in
13583 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13584 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'` ;;
13585 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13586 if ${ac_cv_lib_soname_gsm:+false} :; then :
13587 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13588 fi ;;
13589 esac
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS=$ac_check_soname_save_LIBS
13595 if ${ac_cv_lib_soname_gsm:+false} :; then :
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13597 $as_echo "not found" >&6; }
13599 else
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13601 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13603 cat >>confdefs.h <<_ACEOF
13604 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13605 _ACEOF
13610 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13611 case "x$with_gsm" in
13612 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13613 xno) ;;
13614 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13615 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13616 esac
13620 if test "x$with_krb5" != "xno"
13621 then
13622 if ${KRB5_CFLAGS:+false} :; then :
13623 if ${PKG_CONFIG+:} false; then :
13624 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13627 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13628 if ${KRB5_LIBS:+false} :; then :
13629 if ${PKG_CONFIG+:} false; then :
13630 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13633 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13635 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13637 ac_save_CPPFLAGS=$CPPFLAGS
13638 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13639 for ac_header in krb5/krb5.h
13640 do :
13641 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13642 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13643 cat >>confdefs.h <<_ACEOF
13644 #define HAVE_KRB5_KRB5_H 1
13645 _ACEOF
13649 done
13651 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13652 then
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13654 $as_echo_n "checking for -lkrb5... " >&6; }
13655 if ${ac_cv_lib_soname_krb5+:} false; then :
13656 $as_echo_n "(cached) " >&6
13657 else
13658 ac_check_soname_save_LIBS=$LIBS
13659 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13663 /* Override any GCC internal prototype to avoid an error.
13664 Use char because int might match the return type of a GCC
13665 builtin and then its argument prototype would still apply. */
13666 #ifdef __cplusplus
13667 extern "C"
13668 #endif
13669 char krb5_init_context ();
13671 main ()
13673 return krb5_init_context ();
13675 return 0;
13677 _ACEOF
13678 if ac_fn_c_try_link "$LINENO"; then :
13679 case "$LIBEXT" in
13680 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13681 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'` ;;
13682 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13683 if ${ac_cv_lib_soname_krb5:+false} :; then :
13684 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13685 fi ;;
13686 esac
13688 rm -f core conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13690 LIBS=$ac_check_soname_save_LIBS
13692 if ${ac_cv_lib_soname_krb5:+false} :; then :
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13694 $as_echo "not found" >&6; }
13695 KRB5_CFLAGS=""
13696 else
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13698 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13700 cat >>confdefs.h <<_ACEOF
13701 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13702 _ACEOF
13706 else
13707 KRB5_CFLAGS=""
13709 CPPFLAGS=$ac_save_CPPFLAGS
13710 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13711 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13714 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13715 case "x$with_krb5" in
13716 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13717 xno) ;;
13718 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13719 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13720 esac
13724 if test "x$with_gssapi" != "xno"
13725 then
13726 if ${GSSAPI_CFLAGS:+false} :; then :
13727 if ${PKG_CONFIG+:} false; then :
13728 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13731 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13732 if ${GSSAPI_LIBS:+false} :; then :
13733 if ${PKG_CONFIG+:} false; then :
13734 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13737 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13739 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13740 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13741 ac_save_CPPFLAGS=$CPPFLAGS
13742 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13743 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13744 do :
13745 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13746 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13748 cat >>confdefs.h <<_ACEOF
13749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13750 _ACEOF
13754 done
13756 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13757 then
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13759 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13760 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13761 $as_echo_n "(cached) " >&6
13762 else
13763 ac_check_soname_save_LIBS=$LIBS
13764 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13768 /* Override any GCC internal prototype to avoid an error.
13769 Use char because int might match the return type of a GCC
13770 builtin and then its argument prototype would still apply. */
13771 #ifdef __cplusplus
13772 extern "C"
13773 #endif
13774 char gss_init_sec_context ();
13776 main ()
13778 return gss_init_sec_context ();
13780 return 0;
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 case "$LIBEXT" in
13785 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13786 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'` ;;
13787 *) 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'`
13788 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13789 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13790 fi ;;
13791 esac
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13795 LIBS=$ac_check_soname_save_LIBS
13797 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13799 $as_echo "not found" >&6; }
13800 GSSAPI_CFLAGS=""
13801 else
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13803 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13805 cat >>confdefs.h <<_ACEOF
13806 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13807 _ACEOF
13811 else
13812 GSSAPI_CFLAGS=""
13814 CPPFLAGS=$ac_save_CPPFLAGS
13815 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13816 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13819 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13820 case "x$with_gssapi" in
13821 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13822 xno) ;;
13823 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13824 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13825 esac
13829 if test "x$with_jpeg" != "xno"
13830 then
13831 if ${JPEG_CFLAGS:+false} :; then :
13832 if ${PKG_CONFIG+:} false; then :
13833 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13837 if ${JPEG_LIBS:+false} :; then :
13838 if ${PKG_CONFIG+:} false; then :
13839 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13844 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13845 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13846 ac_save_CPPFLAGS=$CPPFLAGS
13847 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13848 for ac_header in jpeglib.h
13849 do :
13850 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13851 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13852 cat >>confdefs.h <<_ACEOF
13853 #define HAVE_JPEGLIB_H 1
13854 _ACEOF
13858 done
13860 if test "$ac_cv_header_jpeglib_h" = "yes"
13861 then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13863 $as_echo_n "checking for -ljpeg... " >&6; }
13864 if ${ac_cv_lib_soname_jpeg+:} false; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 ac_check_soname_save_LIBS=$LIBS
13868 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13872 /* Override any GCC internal prototype to avoid an error.
13873 Use char because int might match the return type of a GCC
13874 builtin and then its argument prototype would still apply. */
13875 #ifdef __cplusplus
13876 extern "C"
13877 #endif
13878 char jpeg_start_decompress ();
13880 main ()
13882 return jpeg_start_decompress ();
13884 return 0;
13886 _ACEOF
13887 if ac_fn_c_try_link "$LINENO"; then :
13888 case "$LIBEXT" in
13889 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13890 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'` ;;
13891 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13892 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13893 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13894 fi ;;
13895 esac
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 LIBS=$ac_check_soname_save_LIBS
13901 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13903 $as_echo "not found" >&6; }
13904 JPEG_CFLAGS=""
13905 else
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13907 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13909 cat >>confdefs.h <<_ACEOF
13910 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13911 _ACEOF
13915 else
13916 JPEG_CFLAGS=""
13918 CPPFLAGS=$ac_save_CPPFLAGS
13919 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13920 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13923 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13924 case "x$with_jpeg" in
13925 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13926 xno) ;;
13927 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13928 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13929 esac
13933 if test "x$with_png" != "xno"
13934 then
13935 if ${PNG_CFLAGS:+false} :; then :
13936 if ${PKG_CONFIG+:} false; then :
13937 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13940 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13941 if ${PNG_LIBS:+false} :; then :
13942 if ${PKG_CONFIG+:} false; then :
13943 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13946 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13948 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13949 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13950 ac_save_CPPFLAGS=$CPPFLAGS
13951 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13952 for ac_header in png.h
13953 do :
13954 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13955 if test "x$ac_cv_header_png_h" = xyes; then :
13956 cat >>confdefs.h <<_ACEOF
13957 #define HAVE_PNG_H 1
13958 _ACEOF
13962 done
13964 if test "$ac_cv_header_png_h" = "yes"
13965 then
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13967 $as_echo_n "checking for -lpng... " >&6; }
13968 if ${ac_cv_lib_soname_png+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 ac_check_soname_save_LIBS=$LIBS
13972 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13976 /* Override any GCC internal prototype to avoid an error.
13977 Use char because int might match the return type of a GCC
13978 builtin and then its argument prototype would still apply. */
13979 #ifdef __cplusplus
13980 extern "C"
13981 #endif
13982 char png_create_read_struct ();
13984 main ()
13986 return png_create_read_struct ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 case "$LIBEXT" in
13993 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13994 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'` ;;
13995 *) 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'`
13996 if ${ac_cv_lib_soname_png:+false} :; then :
13997 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13998 fi ;;
13999 esac
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14003 LIBS=$ac_check_soname_save_LIBS
14005 if ${ac_cv_lib_soname_png:+false} :; then :
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14007 $as_echo "not found" >&6; }
14008 PNG_CFLAGS=""
14009 else
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14011 $as_echo "$ac_cv_lib_soname_png" >&6; }
14013 cat >>confdefs.h <<_ACEOF
14014 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14015 _ACEOF
14019 else
14020 PNG_CFLAGS=""
14022 CPPFLAGS=$ac_save_CPPFLAGS
14023 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14024 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14027 if test "x$ac_cv_lib_soname_png" = "x"; then :
14028 case "x$with_png" in
14029 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14030 xno) ;;
14031 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14032 This is an error since --with-png was requested." "$LINENO" 5 ;;
14033 esac
14037 if test "x$with_tiff" != "xno"
14038 then
14039 if ${TIFF_CFLAGS:+false} :; then :
14040 if ${PKG_CONFIG+:} false; then :
14041 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14045 if ${TIFF_LIBS:+false} :; then :
14046 if ${PKG_CONFIG+:} false; then :
14047 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14052 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14053 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14054 ac_save_CPPFLAGS=$CPPFLAGS
14055 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14056 for ac_header in tiffio.h
14057 do :
14058 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14059 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14060 cat >>confdefs.h <<_ACEOF
14061 #define HAVE_TIFFIO_H 1
14062 _ACEOF
14066 done
14068 if test "$ac_cv_header_tiffio_h" = "yes"
14069 then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14071 $as_echo_n "checking for -ltiff... " >&6; }
14072 if ${ac_cv_lib_soname_tiff+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_check_soname_save_LIBS=$LIBS
14076 LIBS="-ltiff $TIFF_LIBS $LIBS"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 #ifdef __cplusplus
14084 extern "C"
14085 #endif
14086 char TIFFClientOpen ();
14088 main ()
14090 return TIFFClientOpen ();
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 case "$LIBEXT" in
14097 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14098 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'` ;;
14099 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14100 if ${ac_cv_lib_soname_tiff:+false} :; then :
14101 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14102 fi ;;
14103 esac
14105 rm -f core conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_soname_save_LIBS
14109 if ${ac_cv_lib_soname_tiff:+false} :; then :
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14111 $as_echo "not found" >&6; }
14113 else
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14115 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14117 cat >>confdefs.h <<_ACEOF
14118 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14119 _ACEOF
14124 CPPFLAGS=$ac_save_CPPFLAGS
14125 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14126 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14129 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14130 case "x$with_tiff" in
14131 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14132 xno) ;;
14133 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14134 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14135 esac
14139 if test "x$with_mpg123" != "xno"
14140 then
14141 if ${MPG123_CFLAGS:+false} :; then :
14142 if ${PKG_CONFIG+:} false; then :
14143 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14147 if ${MPG123_LIBS:+false} :; then :
14148 if ${PKG_CONFIG+:} false; then :
14149 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14153 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14154 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14155 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14156 ac_save_CPPFLAGS=$CPPFLAGS
14157 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14158 for ac_header in mpg123.h
14159 do :
14160 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14161 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14162 cat >>confdefs.h <<_ACEOF
14163 #define HAVE_MPG123_H 1
14164 _ACEOF
14168 done
14170 if test "$ac_cv_header_mpg123_h" = "yes"
14171 then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14173 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14174 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_check_lib_save_LIBS=$LIBS
14178 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14185 #ifdef __cplusplus
14186 extern "C"
14187 #endif
14188 char mpg123_feed ();
14190 main ()
14192 return mpg123_feed ();
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_lib_mpg123_mpg123_feed=yes
14199 else
14200 ac_cv_lib_mpg123_mpg123_feed=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14207 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14208 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14210 else
14211 MPG123_LIBS=""
14214 else
14215 MPG123_CFLAGS=""
14216 MPG123_LIBS=""
14218 CPPFLAGS=$ac_save_CPPFLAGS
14219 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14220 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14223 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14224 case "x$with_mpg123" in
14225 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14226 xno) ;;
14227 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14228 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14229 esac
14230 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14233 if test "$ac_cv_header_AL_al_h" = "yes"
14234 then
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14236 $as_echo_n "checking for -lopenal... " >&6; }
14237 if ${ac_cv_lib_soname_openal+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 ac_check_soname_save_LIBS=$LIBS
14241 LIBS="-lopenal $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14245 /* Override any GCC internal prototype to avoid an error.
14246 Use char because int might match the return type of a GCC
14247 builtin and then its argument prototype would still apply. */
14248 #ifdef __cplusplus
14249 extern "C"
14250 #endif
14251 char alGetSource3i ();
14253 main ()
14255 return alGetSource3i ();
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 case "$LIBEXT" in
14262 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14263 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'` ;;
14264 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14265 if ${ac_cv_lib_soname_openal:+false} :; then :
14266 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14267 fi ;;
14268 esac
14270 rm -f core conftest.err conftest.$ac_objext \
14271 conftest$ac_exeext conftest.$ac_ext
14272 LIBS=$ac_check_soname_save_LIBS
14274 if ${ac_cv_lib_soname_openal:+false} :; then :
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14276 $as_echo "not found" >&6; }
14278 else
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14280 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14282 cat >>confdefs.h <<_ACEOF
14283 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14284 _ACEOF
14286 OPENAL_LIBS="-lopenal"
14288 ac_cv_lib_openal=yes
14290 cat >>confdefs.h <<_ACEOF
14291 #define HAVE_OPENAL 1
14292 _ACEOF
14296 if test "x$ac_cv_lib_openal" != xyes; then :
14297 case "x$with_openal" in
14298 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14299 xno) ;;
14300 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14301 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14302 esac
14303 enable_openal32=${enable_openal32:-no}
14306 if test "x$ac_cv_lib_openal" = xyes
14307 then
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14309 $as_echo_n "checking for openal-soft... " >&6; }
14310 if ${ac_cv_have_openalsoft+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 #include <AL/al.h>
14316 #include <AL/alc.h>
14317 #include <AL/alext.h>
14318 LPALCRENDERSAMPLESSOFT x;
14320 main ()
14324 return 0;
14326 _ACEOF
14327 if ac_fn_c_try_compile "$LINENO"; then :
14328 ac_cv_have_openalsoft=yes
14329 else
14330 ac_cv_have_openalsoft=no
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14335 $as_echo "$ac_cv_have_openalsoft" >&6; }
14337 if test "x$ac_cv_have_openalsoft" != xyes
14338 then
14339 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14340 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14341 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14342 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14343 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14344 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14345 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14346 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14347 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14348 enable_xapofx1_1=${enable_xapofx1_1:-no}
14349 enable_xapofx1_2=${enable_xapofx1_2:-no}
14350 enable_xapofx1_3=${enable_xapofx1_3:-no}
14351 enable_xapofx1_4=${enable_xapofx1_4:-no}
14352 enable_xapofx1_5=${enable_xapofx1_5:-no}
14353 enable_xaudio2_0=${enable_xaudio2_0:-no}
14354 enable_xaudio2_1=${enable_xaudio2_1:-no}
14355 enable_xaudio2_2=${enable_xaudio2_2:-no}
14356 enable_xaudio2_3=${enable_xaudio2_3:-no}
14357 enable_xaudio2_4=${enable_xaudio2_4:-no}
14358 enable_xaudio2_5=${enable_xaudio2_5:-no}
14359 enable_xaudio2_6=${enable_xaudio2_6:-no}
14360 enable_xaudio2_7=${enable_xaudio2_7:-no}
14361 enable_xaudio2_8=${enable_xaudio2_8:-no}
14362 enable_xaudio2_9=${enable_xaudio2_9:-no}
14365 if test "$ac_cv_header_kstat_h" = "yes"
14366 then
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14368 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14369 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_check_lib_save_LIBS=$LIBS
14373 LIBS="-lkstat $LIBS"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14377 /* Override any GCC internal prototype to avoid an error.
14378 Use char because int might match the return type of a GCC
14379 builtin and then its argument prototype would still apply. */
14380 #ifdef __cplusplus
14381 extern "C"
14382 #endif
14383 char kstat_open ();
14385 main ()
14387 return kstat_open ();
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_lib_kstat_kstat_open=yes
14394 else
14395 ac_cv_lib_kstat_kstat_open=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_lib_save_LIBS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14402 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14403 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14405 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14407 KSTAT_LIBS="-lkstat"
14413 if test "$ac_cv_header_libprocstat_h" = "yes"
14414 then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14416 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14417 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_check_lib_save_LIBS=$LIBS
14421 LIBS="-lprocstat $LIBS"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14425 /* Override any GCC internal prototype to avoid an error.
14426 Use char because int might match the return type of a GCC
14427 builtin and then its argument prototype would still apply. */
14428 #ifdef __cplusplus
14429 extern "C"
14430 #endif
14431 char procstat_open_sysctl ();
14433 main ()
14435 return procstat_open_sysctl ();
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_lib_procstat_procstat_open_sysctl=yes
14442 else
14443 ac_cv_lib_procstat_procstat_open_sysctl=no
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_lib_save_LIBS
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14450 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14451 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14453 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14455 PROCSTAT_LIBS="-lprocstat"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14462 $as_echo_n "checking for -lodbc... " >&6; }
14463 if ${ac_cv_lib_soname_odbc+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 ac_check_soname_save_LIBS=$LIBS
14467 LIBS="-lodbc $LIBS"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 #ifdef __cplusplus
14475 extern "C"
14476 #endif
14477 char SQLConnect ();
14479 main ()
14481 return SQLConnect ();
14483 return 0;
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 case "$LIBEXT" in
14488 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14489 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'` ;;
14490 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14491 if ${ac_cv_lib_soname_odbc:+false} :; then :
14492 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14493 fi ;;
14494 esac
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 LIBS=$ac_check_soname_save_LIBS
14500 if ${ac_cv_lib_soname_odbc:+false} :; then :
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14502 $as_echo "not found" >&6; }
14503 cat >>confdefs.h <<_ACEOF
14504 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14505 _ACEOF
14507 else
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14509 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14511 cat >>confdefs.h <<_ACEOF
14512 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14513 _ACEOF
14518 if test "x$with_netapi" != "xno"
14519 then
14520 if ${NETAPI_CFLAGS:+false} :; then :
14521 if ${PKG_CONFIG+:} false; then :
14522 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14526 if ${NETAPI_LIBS:+false} :; then :
14527 if ${PKG_CONFIG+:} false; then :
14528 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14533 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14534 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14535 ac_save_CPPFLAGS=$CPPFLAGS
14536 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14538 $as_echo_n "checking for -lnetapi... " >&6; }
14539 if ${ac_cv_lib_soname_netapi+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_check_soname_save_LIBS=$LIBS
14543 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14550 #ifdef __cplusplus
14551 extern "C"
14552 #endif
14553 char libnetapi_init ();
14555 main ()
14557 return libnetapi_init ();
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 case "$LIBEXT" in
14564 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14565 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'` ;;
14566 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14567 if ${ac_cv_lib_soname_netapi:+false} :; then :
14568 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14569 fi ;;
14570 esac
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 LIBS=$ac_check_soname_save_LIBS
14576 if ${ac_cv_lib_soname_netapi:+false} :; then :
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14578 $as_echo "not found" >&6; }
14579 cat >>confdefs.h <<_ACEOF
14580 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14581 _ACEOF
14583 else
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14585 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14587 cat >>confdefs.h <<_ACEOF
14588 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14589 _ACEOF
14593 CPPFLAGS=$ac_save_CPPFLAGS
14594 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14595 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14599 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14600 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14601 then
14602 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14606 EXTRACFLAGS=""
14608 if test "x${GCC}" = "xyes"
14609 then
14610 EXTRACFLAGS="-Wall -pipe"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14613 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14614 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 if test "$cross_compiling" = yes; then :
14618 ac_cv_c_gcc_strength_bug="no"
14619 else
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 int L[4] = {0,1,2,3};
14624 main ()
14626 static int Array[3];
14627 unsigned int B = 3;
14628 int i;
14629 for(i=0; i<B; i++) Array[i] = i - 3;
14630 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14631 L[i] = 4;
14632 return (Array[1] != -2 || L[2] != 3)
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_run "$LINENO"; then :
14638 ac_cv_c_gcc_strength_bug="no"
14639 else
14640 ac_cv_c_gcc_strength_bug="yes"
14642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14643 conftest.$ac_objext conftest.beam conftest.$ac_ext
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14648 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14649 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14650 then
14651 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14655 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14656 if ${ac_cv_cflags__fno_builtin+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 ac_wine_try_cflags_saved=$CFLAGS
14660 CFLAGS="$CFLAGS -fno-builtin"
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14663 int main(int argc, char **argv) { return 0; }
14664 _ACEOF
14665 if ac_fn_c_try_link "$LINENO"; then :
14666 ac_cv_cflags__fno_builtin=yes
14667 else
14668 ac_cv_cflags__fno_builtin=no
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext conftest.$ac_ext
14672 CFLAGS=$ac_wine_try_cflags_saved
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14675 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14676 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14677 BUILTINFLAG="-fno-builtin"
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14681 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14682 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 ac_wine_try_cflags_saved=$CFLAGS
14686 CFLAGS="$CFLAGS -fno-strict-aliasing"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 int main(int argc, char **argv) { return 0; }
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_cflags__fno_strict_aliasing=yes
14693 else
14694 ac_cv_cflags__fno_strict_aliasing=no
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14698 CFLAGS=$ac_wine_try_cflags_saved
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14701 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14702 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14703 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14706 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14707 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_wine_try_cflags_saved=$CFLAGS
14711 CFLAGS="$CFLAGS -fexcess-precision=standard"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14714 int main(int argc, char **argv) { return 0; }
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"; then :
14717 ac_cv_cflags__fexcess_precision_standard=yes
14718 else
14719 ac_cv_cflags__fexcess_precision_standard=no
14721 rm -f core conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 CFLAGS=$ac_wine_try_cflags_saved
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14726 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14727 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14728 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14731 saved_CFLAGS=$CFLAGS
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14733 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14734 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 ac_wine_try_cflags_saved=$CFLAGS
14738 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14741 int main(int argc, char **argv) { return 0; }
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 ac_cv_cflags__Werror_unknown_warning_option=yes
14745 else
14746 ac_cv_cflags__Werror_unknown_warning_option=no
14748 rm -f core conftest.err conftest.$ac_objext \
14749 conftest$ac_exeext conftest.$ac_ext
14750 CFLAGS=$ac_wine_try_cflags_saved
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14753 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14754 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14755 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14758 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14759 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14760 $as_echo_n "(cached) " >&6
14761 else
14762 ac_wine_try_cflags_saved=$CFLAGS
14763 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14766 int main(int argc, char **argv) { return 0; }
14767 _ACEOF
14768 if ac_fn_c_try_link "$LINENO"; then :
14769 ac_cv_cflags__Wdeclaration_after_statement=yes
14770 else
14771 ac_cv_cflags__Wdeclaration_after_statement=no
14773 rm -f core conftest.err conftest.$ac_objext \
14774 conftest$ac_exeext conftest.$ac_ext
14775 CFLAGS=$ac_wine_try_cflags_saved
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14778 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14779 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14780 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14783 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14784 if ${ac_cv_cflags__Wempty_body+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 ac_wine_try_cflags_saved=$CFLAGS
14788 CFLAGS="$CFLAGS -Wempty-body"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14791 int main(int argc, char **argv) { return 0; }
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_cflags__Wempty_body=yes
14795 else
14796 ac_cv_cflags__Wempty_body=no
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14800 CFLAGS=$ac_wine_try_cflags_saved
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14803 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14804 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14805 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14808 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14809 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_wine_try_cflags_saved=$CFLAGS
14813 CFLAGS="$CFLAGS -Wignored-qualifiers"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int main(int argc, char **argv) { return 0; }
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_cflags__Wignored_qualifiers=yes
14820 else
14821 ac_cv_cflags__Wignored_qualifiers=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 CFLAGS=$ac_wine_try_cflags_saved
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14828 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14829 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14830 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14833 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14834 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 ac_wine_try_cflags_saved=$CFLAGS
14838 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14841 int main(int argc, char **argv) { return 0; }
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"; then :
14844 ac_cv_cflags__Wpacked_not_aligned=yes
14845 else
14846 ac_cv_cflags__Wpacked_not_aligned=no
14848 rm -f core conftest.err conftest.$ac_objext \
14849 conftest$ac_exeext conftest.$ac_ext
14850 CFLAGS=$ac_wine_try_cflags_saved
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14853 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14854 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14855 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14858 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14859 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 ac_wine_try_cflags_saved=$CFLAGS
14863 CFLAGS="$CFLAGS -Wpragma-pack"
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 int main(int argc, char **argv) { return 0; }
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_cflags__Wpragma_pack=yes
14870 else
14871 ac_cv_cflags__Wpragma_pack=no
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14875 CFLAGS=$ac_wine_try_cflags_saved
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14878 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14879 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14880 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14883 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14884 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14885 $as_echo_n "(cached) " >&6
14886 else
14887 ac_wine_try_cflags_saved=$CFLAGS
14888 CFLAGS="$CFLAGS -Wshift-overflow=2"
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 int main(int argc, char **argv) { return 0; }
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 ac_cv_cflags__Wshift_overflow_2=yes
14895 else
14896 ac_cv_cflags__Wshift_overflow_2=no
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext conftest.$ac_ext
14900 CFLAGS=$ac_wine_try_cflags_saved
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14903 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14904 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14905 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14908 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14909 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 ac_wine_try_cflags_saved=$CFLAGS
14913 CFLAGS="$CFLAGS -Wstrict-prototypes"
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 int main(int argc, char **argv) { return 0; }
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_cflags__Wstrict_prototypes=yes
14920 else
14921 ac_cv_cflags__Wstrict_prototypes=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 CFLAGS=$ac_wine_try_cflags_saved
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14928 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14929 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14930 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14933 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14934 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 ac_wine_try_cflags_saved=$CFLAGS
14938 CFLAGS="$CFLAGS -Wtype-limits"
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14941 int main(int argc, char **argv) { return 0; }
14942 _ACEOF
14943 if ac_fn_c_try_link "$LINENO"; then :
14944 ac_cv_cflags__Wtype_limits=yes
14945 else
14946 ac_cv_cflags__Wtype_limits=no
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14950 CFLAGS=$ac_wine_try_cflags_saved
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14953 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14954 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14955 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14958 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14959 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 ac_wine_try_cflags_saved=$CFLAGS
14963 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 int main(int argc, char **argv) { return 0; }
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 ac_cv_cflags__Wunused_but_set_parameter=yes
14970 else
14971 ac_cv_cflags__Wunused_but_set_parameter=no
14973 rm -f core conftest.err conftest.$ac_objext \
14974 conftest$ac_exeext conftest.$ac_ext
14975 CFLAGS=$ac_wine_try_cflags_saved
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14978 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14979 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14980 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14983 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14984 if ${ac_cv_cflags__Wvla+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 ac_wine_try_cflags_saved=$CFLAGS
14988 CFLAGS="$CFLAGS -Wvla"
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 int main(int argc, char **argv) { return 0; }
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_cflags__Wvla=yes
14995 else
14996 ac_cv_cflags__Wvla=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 CFLAGS=$ac_wine_try_cflags_saved
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15003 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15004 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15005 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15008 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15009 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_wine_try_cflags_saved=$CFLAGS
15013 CFLAGS="$CFLAGS -Wwrite-strings"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 int main(int argc, char **argv) { return 0; }
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_cflags__Wwrite_strings=yes
15020 else
15021 ac_cv_cflags__Wwrite_strings=no
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 CFLAGS=$ac_wine_try_cflags_saved
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15028 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15029 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15030 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15034 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15035 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 ac_wine_try_cflags_saved=$CFLAGS
15039 CFLAGS="$CFLAGS -Wpointer-arith"
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15042 int main(int argc, char **argv) { return 0; }
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 ac_cv_cflags__Wpointer_arith=yes
15046 else
15047 ac_cv_cflags__Wpointer_arith=no
15049 rm -f core conftest.err conftest.$ac_objext \
15050 conftest$ac_exeext conftest.$ac_ext
15051 CFLAGS=$ac_wine_try_cflags_saved
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15054 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15055 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15056 saved_string_h_CFLAGS=$CFLAGS
15057 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15059 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15060 if ${ac_cv_c_string_h_warnings+:} false; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15065 #include <string.h>
15067 main ()
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_compile "$LINENO"; then :
15075 ac_cv_c_string_h_warnings=no
15076 else
15077 ac_cv_c_string_h_warnings=yes
15079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15082 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15083 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15084 CFLAGS=$saved_string_h_CFLAGS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15088 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15089 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15090 $as_echo_n "(cached) " >&6
15091 else
15092 ac_wine_try_cflags_saved=$CFLAGS
15093 CFLAGS="$CFLAGS -Wlogical-op"
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 int main(int argc, char **argv) { return 0; }
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 ac_cv_cflags__Wlogical_op=yes
15100 else
15101 ac_cv_cflags__Wlogical_op=no
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 CFLAGS=$ac_wine_try_cflags_saved
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15108 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15109 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15110 saved_string_h_CFLAGS=$CFLAGS
15111 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15113 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15114 if ${ac_cv_c_logicalop_noisy+:} false; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 #include <string.h>
15120 char*f(const char *h,char n) {return strchr(h,n);}
15122 main ()
15126 return 0;
15128 _ACEOF
15129 if ac_fn_c_try_compile "$LINENO"; then :
15130 ac_cv_c_logicalop_noisy=no
15131 else
15132 ac_cv_c_logicalop_noisy=yes
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15137 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15138 CFLAGS=$saved_string_h_CFLAGS
15139 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15142 CFLAGS=$saved_CFLAGS
15144 for ac_flag in $CFLAGS; do
15145 case $ac_flag in
15146 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15147 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15148 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 ac_wine_try_cflags_saved=$CFLAGS
15152 CFLAGS="$CFLAGS -gdwarf-2"
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15155 int main(int argc, char **argv) { return 0; }
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_cflags__gdwarf_2=yes
15159 else
15160 ac_cv_cflags__gdwarf_2=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15164 CFLAGS=$ac_wine_try_cflags_saved
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15167 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15168 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15169 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15172 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15173 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 ac_wine_try_cflags_saved=$CFLAGS
15177 CFLAGS="$CFLAGS -gstrict-dwarf"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15180 int main(int argc, char **argv) { return 0; }
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"; then :
15183 ac_cv_cflags__gstrict_dwarf=yes
15184 else
15185 ac_cv_cflags__gstrict_dwarf=no
15187 rm -f core conftest.err conftest.$ac_objext \
15188 conftest$ac_exeext conftest.$ac_ext
15189 CFLAGS=$ac_wine_try_cflags_saved
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15192 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15193 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15194 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15195 fi ;;
15196 esac
15197 done
15199 case $host_cpu in
15200 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15201 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15202 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 ac_wine_try_cflags_saved=$CFLAGS
15206 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15209 int main(int argc, char **argv) { return 0; }
15210 _ACEOF
15211 if ac_fn_c_try_link "$LINENO"; then :
15212 ac_cv_cflags__fno_omit_frame_pointer=yes
15213 else
15214 ac_cv_cflags__fno_omit_frame_pointer=no
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15218 CFLAGS=$ac_wine_try_cflags_saved
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15221 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15222 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15223 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15224 fi ;;
15225 esac
15227 case $host in
15228 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15229 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15230 if ${ac_cv_cflags__Wno_format+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_wine_try_cflags_saved=$CFLAGS
15234 CFLAGS="$CFLAGS -Wno-format"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15237 int main(int argc, char **argv) { return 0; }
15238 _ACEOF
15239 if ac_fn_c_try_link "$LINENO"; then :
15240 ac_cv_cflags__Wno_format=yes
15241 else
15242 ac_cv_cflags__Wno_format=no
15244 rm -f core conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext conftest.$ac_ext
15246 CFLAGS=$ac_wine_try_cflags_saved
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15249 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15250 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15251 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15252 fi ;;
15253 esac
15255 if test "x$enable_maintainer_mode" = "xyes"
15256 then
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15258 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15259 if ${ac_cv_cflags__Werror+:} false; then :
15260 $as_echo_n "(cached) " >&6
15261 else
15262 ac_wine_try_cflags_saved=$CFLAGS
15263 CFLAGS="$CFLAGS -Werror"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15266 int main(int argc, char **argv) { return 0; }
15267 _ACEOF
15268 if ac_fn_c_try_link "$LINENO"; then :
15269 ac_cv_cflags__Werror=yes
15270 else
15271 ac_cv_cflags__Werror=no
15273 rm -f core conftest.err conftest.$ac_objext \
15274 conftest$ac_exeext conftest.$ac_ext
15275 CFLAGS=$ac_wine_try_cflags_saved
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15278 $as_echo "$ac_cv_cflags__Werror" >&6; }
15279 if test "x$ac_cv_cflags__Werror" = xyes; then :
15280 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15284 saved_CFLAGS="$CFLAGS"
15285 CFLAGS="$CFLAGS -Werror"
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15287 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15288 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15293 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15295 main ()
15299 return 0;
15301 _ACEOF
15302 if ac_fn_c_try_compile "$LINENO"; then :
15303 ac_cv_have_ms_hook_prologue="yes"
15304 else
15305 ac_cv_have_ms_hook_prologue="no"
15307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15310 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15311 CFLAGS="$saved_CFLAGS"
15312 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15313 then
15315 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15317 else
15318 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15325 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15326 if ${ac_cv_c_fortify_enabled+:} false; then :
15327 $as_echo_n "(cached) " >&6
15328 else
15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 /* end confdefs.h. */
15331 #include <string.h>
15333 main ()
15335 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15336 #error Fortify enabled
15337 #endif
15339 return 0;
15341 _ACEOF
15342 if ac_fn_c_try_compile "$LINENO"; then :
15343 ac_cv_c_fortify_enabled=no
15344 else
15345 ac_cv_c_fortify_enabled=yes
15347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15350 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15351 if test "$ac_cv_c_fortify_enabled" = yes
15352 then
15353 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15358 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15359 if ${ac_cv_c_extern_prefix+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15364 extern int ac_test;
15366 main ()
15368 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_link "$LINENO"; then :
15374 ac_cv_c_extern_prefix="yes"
15375 else
15376 ac_cv_c_extern_prefix="no"
15378 rm -f core conftest.err conftest.$ac_objext \
15379 conftest$ac_exeext conftest.$ac_ext
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15382 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15384 case $host_cpu in
15385 *i[3456789]86*)
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15387 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15388 if ${ac_cv_c_stdcall_suffix+:} false; then :
15389 $as_echo_n "(cached) " >&6
15390 else
15391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15392 /* end confdefs.h. */
15393 #ifndef _MSC_VER
15394 #define __stdcall __attribute__((__stdcall__))
15395 #endif
15396 int __stdcall ac_test(int i) { return i; }
15398 main ()
15400 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15402 return 0;
15404 _ACEOF
15405 if ac_fn_c_try_link "$LINENO"; then :
15406 ac_cv_c_stdcall_suffix="yes"
15407 else
15408 ac_cv_c_stdcall_suffix="no"
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15414 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15415 *) ac_cv_c_stdcall_suffix="no" ;;
15416 esac
15419 if test "$ac_cv_c_extern_prefix" = "yes"
15420 then
15421 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15423 asm_name_prefix="_"
15424 else
15425 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15427 asm_name_prefix=""
15431 if test "$ac_cv_c_stdcall_suffix" = "yes"
15432 then
15433 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15435 else
15436 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15442 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15443 if ${ac_cv_asm_func_def+:} false; then :
15444 $as_echo_n "(cached) " >&6
15445 else
15446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15450 main ()
15452 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15454 return 0;
15456 _ACEOF
15457 if ac_fn_c_try_link "$LINENO"; then :
15458 ac_cv_asm_func_def=".def"
15459 else
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15464 main ()
15466 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 ac_cv_asm_func_def=".type @function"
15473 else
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15478 main ()
15480 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15482 return 0;
15484 _ACEOF
15485 if ac_fn_c_try_link "$LINENO"; then :
15486 ac_cv_asm_func_def=".type 2"
15487 else
15488 ac_cv_asm_func_def="unknown"
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext conftest.$ac_ext
15493 rm -f core conftest.err conftest.$ac_objext \
15494 conftest$ac_exeext conftest.$ac_ext
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15500 $as_echo "$ac_cv_asm_func_def" >&6; }
15503 case "$ac_cv_asm_func_def" in
15504 ".def")
15505 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15507 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15508 ".type @function")
15509 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15511 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15512 ".type 2")
15513 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15515 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15517 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15519 asm_func_header="" ;;
15520 esac
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15523 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15524 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15525 $as_echo_n "(cached) " >&6
15526 else
15527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15529 asm(".text\n\t.long 0");
15531 main ()
15535 return 0;
15537 _ACEOF
15538 if ac_fn_c_try_compile "$LINENO"; then :
15539 ac_cv_c_asm_outside_funcs="yes"
15540 else
15541 ac_cv_c_asm_outside_funcs="no"
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15546 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15549 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15550 if ${ac_cv_c_dot_previous+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15554 /* end confdefs.h. */
15557 main ()
15559 asm(".text\nac_test:\t.long 0\n\t.previous");
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"; then :
15565 ac_cv_c_dot_previous="yes"
15566 else
15567 ac_cv_c_dot_previous="no"
15569 rm -f core conftest.err conftest.$ac_objext \
15570 conftest$ac_exeext conftest.$ac_ext
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15573 $as_echo "$ac_cv_c_dot_previous" >&6; }
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15576 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15577 if ${ac_cv_c_cfi_support+:} false; then :
15578 $as_echo_n "(cached) " >&6
15579 else
15580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15582 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15584 main ()
15588 return 0;
15590 _ACEOF
15591 if ac_fn_c_try_compile "$LINENO"; then :
15592 ac_cv_c_cfi_support="yes"
15593 else
15594 ac_cv_c_cfi_support="no"
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15599 $as_echo "$ac_cv_c_cfi_support" >&6; }
15601 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15602 asm_func_trailer=""
15603 if test "$ac_cv_c_dot_previous" = "yes"
15604 then
15605 asm_func_trailer="\\n\\t.previous"
15607 if test "$ac_cv_c_cfi_support" = "yes"
15608 then
15609 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15610 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15612 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15614 UNWINDFLAGS=-fasynchronous-unwind-tables
15616 else
15617 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15619 if test "x$enable_win64" = "xyes"
15620 then
15621 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15625 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15628 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15629 then
15630 cat >>confdefs.h <<_ACEOF
15631 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15632 _ACEOF
15634 else
15635 cat >>confdefs.h <<_ACEOF
15636 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15637 _ACEOF
15641 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15644 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15648 case $build_os in
15649 cygwin*|mingw32*) TOOLSEXT=".exe"
15651 esac
15653 case $host_os in
15654 linux*)
15655 case $host_cpu in
15656 *i[3456789]86*|x86_64*|*aarch64*)
15657 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15658 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15660 esac
15662 esac
15665 ac_save_CFLAGS="$CFLAGS"
15666 CFLAGS="$CFLAGS $BUILTINFLAG"
15667 for ac_func in \
15668 __res_get_state \
15669 __res_getservers \
15670 _finite \
15671 _isnan \
15672 _pclose \
15673 _popen \
15674 _snprintf \
15675 _spawnvp \
15676 _strdup \
15677 _stricmp \
15678 _strnicmp \
15679 _strtoi64 \
15680 _strtoui64 \
15681 _vsnprintf \
15682 asctime_r \
15683 chsize \
15684 dlopen \
15685 epoll_create \
15686 ffs \
15687 finitef \
15688 fnmatch \
15689 fork \
15690 fpclass \
15691 fstatfs \
15692 fstatvfs \
15693 ftruncate \
15694 futimens \
15695 futimes \
15696 futimesat \
15697 getattrlist \
15698 getauxval \
15699 getifaddrs \
15700 getopt_long_only \
15701 getpwuid \
15702 gettimeofday \
15703 getuid \
15704 isnanf \
15705 kqueue \
15706 lstat \
15707 memmove \
15708 mmap \
15709 pclose \
15710 pipe2 \
15711 poll \
15712 popen \
15713 port_create \
15714 prctl \
15715 pread \
15716 proc_pidinfo \
15717 pwrite \
15718 readdir \
15719 readlink \
15720 sched_yield \
15721 select \
15722 setproctitle \
15723 setprogname \
15724 setrlimit \
15725 settimeofday \
15726 sigaltstack \
15727 sigprocmask \
15728 snprintf \
15729 statfs \
15730 statvfs \
15731 strcasecmp \
15732 strdup \
15733 strerror \
15734 strncasecmp \
15735 strnlen \
15736 strtold \
15737 strtoll \
15738 strtoull \
15739 symlink \
15740 sysinfo \
15741 tcdrain \
15742 thr_kill2 \
15743 timegm \
15744 usleep \
15745 vsnprintf
15747 do :
15748 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15750 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15753 _ACEOF
15756 done
15758 CFLAGS="$ac_save_CFLAGS"
15760 if test "$ac_cv_func_dlopen" = no
15761 then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15763 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15764 if ${ac_cv_lib_dl_dlopen+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 ac_check_lib_save_LIBS=$LIBS
15768 LIBS="-ldl $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 #ifdef __cplusplus
15776 extern "C"
15777 #endif
15778 char dlopen ();
15780 main ()
15782 return dlopen ();
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"; then :
15788 ac_cv_lib_dl_dlopen=yes
15789 else
15790 ac_cv_lib_dl_dlopen=no
15792 rm -f core conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext conftest.$ac_ext
15794 LIBS=$ac_check_lib_save_LIBS
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15797 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15798 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15799 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15800 DL_LIBS="-ldl"
15805 ac_wine_check_funcs_save_LIBS="$LIBS"
15806 LIBS="$LIBS $DL_LIBS"
15807 for ac_func in dladdr
15808 do :
15809 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15810 if test "x$ac_cv_func_dladdr" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_DLADDR 1
15813 _ACEOF
15816 done
15818 LIBS="$ac_wine_check_funcs_save_LIBS"
15820 if test "$ac_cv_func_poll" = no
15821 then
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15823 $as_echo_n "checking for poll in -lpoll... " >&6; }
15824 if ${ac_cv_lib_poll_poll+:} false; then :
15825 $as_echo_n "(cached) " >&6
15826 else
15827 ac_check_lib_save_LIBS=$LIBS
15828 LIBS="-lpoll $LIBS"
15829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15830 /* end confdefs.h. */
15832 /* Override any GCC internal prototype to avoid an error.
15833 Use char because int might match the return type of a GCC
15834 builtin and then its argument prototype would still apply. */
15835 #ifdef __cplusplus
15836 extern "C"
15837 #endif
15838 char poll ();
15840 main ()
15842 return poll ();
15844 return 0;
15846 _ACEOF
15847 if ac_fn_c_try_link "$LINENO"; then :
15848 ac_cv_lib_poll_poll=yes
15849 else
15850 ac_cv_lib_poll_poll=no
15852 rm -f core conftest.err conftest.$ac_objext \
15853 conftest$ac_exeext conftest.$ac_ext
15854 LIBS=$ac_check_lib_save_LIBS
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15857 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15858 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15859 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15860 POLL_LIBS="-lpoll"
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15867 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15868 if ${ac_cv_search_gethostbyname+:} false; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 ac_func_search_save_LIBS=$LIBS
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15875 /* Override any GCC internal prototype to avoid an error.
15876 Use char because int might match the return type of a GCC
15877 builtin and then its argument prototype would still apply. */
15878 #ifdef __cplusplus
15879 extern "C"
15880 #endif
15881 char gethostbyname ();
15883 main ()
15885 return gethostbyname ();
15887 return 0;
15889 _ACEOF
15890 for ac_lib in '' nsl; do
15891 if test -z "$ac_lib"; then
15892 ac_res="none required"
15893 else
15894 ac_res=-l$ac_lib
15895 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15897 if ac_fn_c_try_link "$LINENO"; then :
15898 ac_cv_search_gethostbyname=$ac_res
15900 rm -f core conftest.err conftest.$ac_objext \
15901 conftest$ac_exeext
15902 if ${ac_cv_search_gethostbyname+:} false; then :
15903 break
15905 done
15906 if ${ac_cv_search_gethostbyname+:} false; then :
15908 else
15909 ac_cv_search_gethostbyname=no
15911 rm conftest.$ac_ext
15912 LIBS=$ac_func_search_save_LIBS
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15915 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15916 ac_res=$ac_cv_search_gethostbyname
15917 if test "$ac_res" != no; then :
15918 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15924 $as_echo_n "checking for library containing connect... " >&6; }
15925 if ${ac_cv_search_connect+:} false; then :
15926 $as_echo_n "(cached) " >&6
15927 else
15928 ac_func_search_save_LIBS=$LIBS
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15935 #ifdef __cplusplus
15936 extern "C"
15937 #endif
15938 char connect ();
15940 main ()
15942 return connect ();
15944 return 0;
15946 _ACEOF
15947 for ac_lib in '' socket; do
15948 if test -z "$ac_lib"; then
15949 ac_res="none required"
15950 else
15951 ac_res=-l$ac_lib
15952 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15954 if ac_fn_c_try_link "$LINENO"; then :
15955 ac_cv_search_connect=$ac_res
15957 rm -f core conftest.err conftest.$ac_objext \
15958 conftest$ac_exeext
15959 if ${ac_cv_search_connect+:} false; then :
15960 break
15962 done
15963 if ${ac_cv_search_connect+:} false; then :
15965 else
15966 ac_cv_search_connect=no
15968 rm conftest.$ac_ext
15969 LIBS=$ac_func_search_save_LIBS
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15972 $as_echo "$ac_cv_search_connect" >&6; }
15973 ac_res=$ac_cv_search_connect
15974 if test "$ac_res" != no; then :
15975 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15981 $as_echo_n "checking for library containing inet_aton... " >&6; }
15982 if ${ac_cv_search_inet_aton+:} false; then :
15983 $as_echo_n "(cached) " >&6
15984 else
15985 ac_func_search_save_LIBS=$LIBS
15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15989 /* Override any GCC internal prototype to avoid an error.
15990 Use char because int might match the return type of a GCC
15991 builtin and then its argument prototype would still apply. */
15992 #ifdef __cplusplus
15993 extern "C"
15994 #endif
15995 char inet_aton ();
15997 main ()
15999 return inet_aton ();
16001 return 0;
16003 _ACEOF
16004 for ac_lib in '' resolv; do
16005 if test -z "$ac_lib"; then
16006 ac_res="none required"
16007 else
16008 ac_res=-l$ac_lib
16009 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_search_inet_aton=$ac_res
16014 rm -f core conftest.err conftest.$ac_objext \
16015 conftest$ac_exeext
16016 if ${ac_cv_search_inet_aton+:} false; then :
16017 break
16019 done
16020 if ${ac_cv_search_inet_aton+:} false; then :
16022 else
16023 ac_cv_search_inet_aton=no
16025 rm conftest.$ac_ext
16026 LIBS=$ac_func_search_save_LIBS
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16029 $as_echo "$ac_cv_search_inet_aton" >&6; }
16030 ac_res=$ac_cv_search_inet_aton
16031 if test "$ac_res" != no; then :
16032 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16037 for ac_func in \
16038 getaddrinfo \
16039 getnameinfo \
16040 getnetbyname \
16041 getprotobyname \
16042 getprotobynumber \
16043 getservbyport \
16044 inet_addr \
16045 inet_network \
16046 inet_ntop \
16047 inet_pton \
16048 sendmsg \
16049 socketpair \
16051 do :
16052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16057 _ACEOF
16060 done
16063 ac_save_LIBS=$LIBS
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16065 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16066 if ${ac_cv_search_clock_gettime+:} false; then :
16067 $as_echo_n "(cached) " >&6
16068 else
16069 ac_func_search_save_LIBS=$LIBS
16070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071 /* end confdefs.h. */
16073 /* Override any GCC internal prototype to avoid an error.
16074 Use char because int might match the return type of a GCC
16075 builtin and then its argument prototype would still apply. */
16076 #ifdef __cplusplus
16077 extern "C"
16078 #endif
16079 char clock_gettime ();
16081 main ()
16083 return clock_gettime ();
16085 return 0;
16087 _ACEOF
16088 for ac_lib in '' rt; do
16089 if test -z "$ac_lib"; then
16090 ac_res="none required"
16091 else
16092 ac_res=-l$ac_lib
16093 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16095 if ac_fn_c_try_link "$LINENO"; then :
16096 ac_cv_search_clock_gettime=$ac_res
16098 rm -f core conftest.err conftest.$ac_objext \
16099 conftest$ac_exeext
16100 if ${ac_cv_search_clock_gettime+:} false; then :
16101 break
16103 done
16104 if ${ac_cv_search_clock_gettime+:} false; then :
16106 else
16107 ac_cv_search_clock_gettime=no
16109 rm conftest.$ac_ext
16110 LIBS=$ac_func_search_save_LIBS
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16113 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16114 ac_res=$ac_cv_search_clock_gettime
16115 if test "$ac_res" != no; then :
16116 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16118 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16120 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16124 LIBS=$ac_save_LIBS
16126 if test "x$with_ldap" != "xno"
16127 then
16128 if ${LDAP_CFLAGS:+false} :; then :
16129 if ${PKG_CONFIG+:} false; then :
16130 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16134 if ${LDAP_LIBS:+false} :; then :
16135 if ${PKG_CONFIG+:} false; then :
16136 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16140 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16141 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16142 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16143 ac_save_CPPFLAGS=$CPPFLAGS
16144 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16145 for ac_header in ldap.h lber.h
16146 do :
16147 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16148 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16149 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16152 _ACEOF
16156 done
16158 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16159 then
16160 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16162 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16164 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16165 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 ac_check_lib_save_LIBS=$LIBS
16169 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16173 /* Override any GCC internal prototype to avoid an error.
16174 Use char because int might match the return type of a GCC
16175 builtin and then its argument prototype would still apply. */
16176 #ifdef __cplusplus
16177 extern "C"
16178 #endif
16179 char ldap_initialize ();
16181 main ()
16183 return ldap_initialize ();
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"; then :
16189 ac_cv_lib_ldap_r_ldap_initialize=yes
16190 else
16191 ac_cv_lib_ldap_r_ldap_initialize=no
16193 rm -f core conftest.err conftest.$ac_objext \
16194 conftest$ac_exeext conftest.$ac_ext
16195 LIBS=$ac_check_lib_save_LIBS
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16198 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16199 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16201 $as_echo_n "checking for ber_init in -llber... " >&6; }
16202 if ${ac_cv_lib_lber_ber_init+:} false; then :
16203 $as_echo_n "(cached) " >&6
16204 else
16205 ac_check_lib_save_LIBS=$LIBS
16206 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16210 /* Override any GCC internal prototype to avoid an error.
16211 Use char because int might match the return type of a GCC
16212 builtin and then its argument prototype would still apply. */
16213 #ifdef __cplusplus
16214 extern "C"
16215 #endif
16216 char ber_init ();
16218 main ()
16220 return ber_init ();
16222 return 0;
16224 _ACEOF
16225 if ac_fn_c_try_link "$LINENO"; then :
16226 ac_cv_lib_lber_ber_init=yes
16227 else
16228 ac_cv_lib_lber_ber_init=no
16230 rm -f core conftest.err conftest.$ac_objext \
16231 conftest$ac_exeext conftest.$ac_ext
16232 LIBS=$ac_check_lib_save_LIBS
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16235 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16236 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16238 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16240 else
16241 LDAP_LIBS=""
16244 else
16245 LDAP_LIBS=""
16248 else
16249 LDAP_LIBS=""
16252 ac_wine_check_funcs_save_LIBS="$LIBS"
16253 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16254 for ac_func in \
16255 ldap_count_references \
16256 ldap_first_reference \
16257 ldap_next_reference \
16258 ldap_parse_reference \
16259 ldap_parse_sort_control \
16260 ldap_parse_sortresponse_control \
16261 ldap_parse_vlv_control \
16262 ldap_parse_vlvresponse_control
16263 do :
16264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16269 _ACEOF
16272 done
16274 LIBS="$ac_wine_check_funcs_save_LIBS"
16275 else
16276 LDAP_LIBS=""
16278 CPPFLAGS=$ac_save_CPPFLAGS
16279 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16280 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16283 if test "x$LDAP_LIBS" = "x"; then :
16284 case "x$with_ldap" in
16285 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16286 xno) ;;
16287 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16288 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16289 esac
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16294 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16295 if ${wine_cv_one_arg_mkdir+:} false; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h. */
16300 #include <sys/stat.h>
16302 main ()
16304 mkdir("foo");
16306 return 0;
16308 _ACEOF
16309 if ac_fn_c_try_compile "$LINENO"; then :
16310 wine_cv_one_arg_mkdir=yes
16311 else
16312 wine_cv_one_arg_mkdir=no
16314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16317 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16318 if test "$wine_cv_one_arg_mkdir" = "yes"
16319 then
16321 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16326 $as_echo_n "checking for sched_setaffinity... " >&6; }
16327 if ${wine_cv_have_sched_setaffinity+:} false; then :
16328 $as_echo_n "(cached) " >&6
16329 else
16330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16331 /* end confdefs.h. */
16332 #define _GNU_SOURCE
16333 #include <sched.h>
16335 main ()
16337 sched_setaffinity(0, 0, 0);
16339 return 0;
16341 _ACEOF
16342 if ac_fn_c_try_link "$LINENO"; then :
16343 wine_cv_have_sched_setaffinity=yes
16344 else
16345 wine_cv_have_sched_setaffinity=no
16347 rm -f core conftest.err conftest.$ac_objext \
16348 conftest$ac_exeext conftest.$ac_ext
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16351 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16352 if test "$wine_cv_have_sched_setaffinity" = "yes"
16353 then
16355 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16360 $as_echo_n "checking for fallocate... " >&6; }
16361 if ${wine_cv_have_fallocate+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16366 #define _GNU_SOURCE
16367 #include <fcntl.h>
16369 main ()
16371 fallocate(-1, 0, 0, 0);
16373 return 0;
16375 _ACEOF
16376 if ac_fn_c_try_link "$LINENO"; then :
16377 wine_cv_have_fallocate=yes
16378 else
16379 wine_cv_have_fallocate=no
16381 rm -f core conftest.err conftest.$ac_objext \
16382 conftest$ac_exeext conftest.$ac_ext
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16385 $as_echo "$wine_cv_have_fallocate" >&6; }
16386 if test "$wine_cv_have_fallocate" = "yes"
16387 then
16389 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16395 $as_echo_n "checking for inline... " >&6; }
16396 if ${ac_cv_c_inline+:} false; then :
16397 $as_echo_n "(cached) " >&6
16398 else
16399 ac_cv_c_inline=no
16400 for ac_kw in inline __inline__ __inline; do
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 #ifndef __cplusplus
16404 typedef int foo_t;
16405 static $ac_kw foo_t static_foo () {return 0; }
16406 $ac_kw foo_t foo () {return 0; }
16407 #endif
16409 _ACEOF
16410 if ac_fn_c_try_compile "$LINENO"; then :
16411 ac_cv_c_inline=$ac_kw
16413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16414 test "$ac_cv_c_inline" != no && break
16415 done
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16419 $as_echo "$ac_cv_c_inline" >&6; }
16421 case $ac_cv_c_inline in
16422 inline | yes) ;;
16424 case $ac_cv_c_inline in
16425 no) ac_val=;;
16426 *) ac_val=$ac_cv_c_inline;;
16427 esac
16428 cat >>confdefs.h <<_ACEOF
16429 #ifndef __cplusplus
16430 #define inline $ac_val
16431 #endif
16432 _ACEOF
16434 esac
16436 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16437 if test "x$ac_cv_type_mode_t" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_MODE_T 1
16441 _ACEOF
16445 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16446 if test "x$ac_cv_type_off_t" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_OFF_T 1
16450 _ACEOF
16454 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16455 if test "x$ac_cv_type_pid_t" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_PID_T 1
16459 _ACEOF
16463 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16464 if test "x$ac_cv_type_size_t" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_SIZE_T 1
16468 _ACEOF
16472 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16473 if test "x$ac_cv_type_ssize_t" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_SSIZE_T 1
16477 _ACEOF
16481 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16482 if test "x$ac_cv_type_long_long" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_LONG_LONG 1
16486 _ACEOF
16490 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16491 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16493 cat >>confdefs.h <<_ACEOF
16494 #define HAVE_FSBLKCNT_T 1
16495 _ACEOF
16499 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16500 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_FSFILCNT_T 1
16504 _ACEOF
16509 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16510 #include <signal.h>
16512 if test "x$ac_cv_type_sigset_t" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_SIGSET_T 1
16516 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16523 if test "x$ac_cv_type_request_sense" = xyes; then :
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_REQUEST_SENSE 1
16527 _ACEOF
16533 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16534 #ifdef HAVE_SYS_SOCKET_H
16535 #include <sys/socket.h>
16536 #endif
16537 #ifdef HAVE_SYS_SOCKETVAR_H
16538 #include <sys/socketvar.h>
16539 #endif
16540 #ifdef HAVE_NET_ROUTE_H
16541 #include <net/route.h>
16542 #endif
16543 #ifdef HAVE_NETINET_IN_H
16544 #include <netinet/in.h>
16545 #endif
16546 #ifdef HAVE_NETINET_IN_SYSTM_H
16547 #include <netinet/in_systm.h>
16548 #endif
16549 #ifdef HAVE_NETINET_IP_H
16550 #include <netinet/ip.h>
16551 #endif
16552 #ifdef HAVE_NETINET_IN_PCB_H
16553 #include <netinet/in_pcb.h>
16554 #endif
16556 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_STRUCT_XINPGEN 1
16560 _ACEOF
16566 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16567 #include <link.h>
16568 #endif
16569 #ifdef HAVE_SYS_LINK_H
16570 #include <sys/link.h>
16571 #endif
16573 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_R_DEBUG 1
16577 _ACEOF
16581 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16582 #include <link.h>
16583 #endif
16584 #ifdef HAVE_SYS_LINK_H
16585 #include <sys/link.h>
16586 #endif
16588 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_LINK_MAP 1
16592 _ACEOF
16598 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16599 #include <linux/input.h>
16600 #endif
16602 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16606 _ACEOF
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16613 $as_echo_n "checking for if_nameindex... " >&6; }
16614 if ${wine_cv_have_if_nameindex+:} false; then :
16615 $as_echo_n "(cached) " >&6
16616 else
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 #ifdef HAVE_SYS_TYPES_H
16620 #include <sys/types.h>
16621 #endif
16622 #ifdef HAVE_SYS_SOCKET_H
16623 #include <sys/socket.h>
16624 #endif
16625 #ifdef HAVE_NET_IF_H
16626 # include <net/if.h>
16627 #endif
16629 main ()
16631 struct if_nameindex *p = if_nameindex(); return p->if_index;
16633 return 0;
16635 _ACEOF
16636 if ac_fn_c_try_link "$LINENO"; then :
16637 wine_cv_have_if_nameindex=yes
16638 else
16639 wine_cv_have_if_nameindex=no
16641 rm -f core conftest.err conftest.$ac_objext \
16642 conftest$ac_exeext conftest.$ac_ext
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16645 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16646 if test "$wine_cv_have_if_nameindex" = "yes"
16647 then
16649 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16654 $as_echo_n "checking for sigaddset... " >&6; }
16655 if ${wine_cv_have_sigaddset+:} false; then :
16656 $as_echo_n "(cached) " >&6
16657 else
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <signal.h>
16662 main ()
16664 sigset_t set; sigaddset(&set,SIGTERM);
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 wine_cv_have_sigaddset=yes
16671 else
16672 wine_cv_have_sigaddset=no
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16678 $as_echo "$wine_cv_have_sigaddset" >&6; }
16679 if test "$wine_cv_have_sigaddset" = "yes"
16680 then
16682 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16688 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16689 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <netdb.h>
16696 main ()
16699 char *name=0;
16700 struct hostent he;
16701 struct hostent *result;
16702 char *buf=0;
16703 int bufsize=0;
16704 int errnr;
16705 char *addr=0;
16706 int addrlen=0;
16707 int addrtype=0;
16708 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16709 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16712 return 0;
16714 _ACEOF
16715 if ac_fn_c_try_link "$LINENO"; then :
16716 wine_cv_linux_gethostbyname_r_6=yes
16717 else
16718 wine_cv_linux_gethostbyname_r_6=no
16721 rm -f core conftest.err conftest.$ac_objext \
16722 conftest$ac_exeext conftest.$ac_ext
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16726 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16727 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16728 then
16730 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16734 if test "$ac_cv_header_linux_joystick_h" = "yes"
16735 then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16737 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16738 if ${wine_cv_linux_joystick_22_api+:} false; then :
16739 $as_echo_n "(cached) " >&6
16740 else
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16744 #include <sys/ioctl.h>
16745 #include <sys/types.h>
16746 #include <linux/joystick.h>
16748 struct js_event blub;
16749 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16750 #error "no 2.2 header"
16751 #endif
16754 main ()
16756 /*empty*/
16758 return 0;
16760 _ACEOF
16761 if ac_fn_c_try_compile "$LINENO"; then :
16762 wine_cv_linux_joystick_22_api=yes
16763 else
16764 wine_cv_linux_joystick_22_api=no
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16770 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16771 if test "$wine_cv_linux_joystick_22_api" = "yes"
16772 then
16774 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16780 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16781 #ifdef HAVE_SYS_PARAM_H
16782 # include <sys/param.h>
16783 #endif
16784 #ifdef HAVE_SYS_MOUNT_H
16785 # include <sys/mount.h>
16786 #endif
16787 #ifdef HAVE_SYS_VFS_H
16788 # include <sys/vfs.h>
16789 #endif
16790 #ifdef HAVE_SYS_STATFS_H
16791 # include <sys/statfs.h>
16792 #endif
16794 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_STRUCT_STATFS_F_BFREE 1
16798 _ACEOF
16802 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16803 #ifdef HAVE_SYS_PARAM_H
16804 # include <sys/param.h>
16805 #endif
16806 #ifdef HAVE_SYS_MOUNT_H
16807 # include <sys/mount.h>
16808 #endif
16809 #ifdef HAVE_SYS_VFS_H
16810 # include <sys/vfs.h>
16811 #endif
16812 #ifdef HAVE_SYS_STATFS_H
16813 # include <sys/statfs.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16820 _ACEOF
16824 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16825 #ifdef HAVE_SYS_PARAM_H
16826 # include <sys/param.h>
16827 #endif
16828 #ifdef HAVE_SYS_MOUNT_H
16829 # include <sys/mount.h>
16830 #endif
16831 #ifdef HAVE_SYS_VFS_H
16832 # include <sys/vfs.h>
16833 #endif
16834 #ifdef HAVE_SYS_STATFS_H
16835 # include <sys/statfs.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16842 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16847 #ifdef HAVE_SYS_PARAM_H
16848 # include <sys/param.h>
16849 #endif
16850 #ifdef HAVE_SYS_MOUNT_H
16851 # include <sys/mount.h>
16852 #endif
16853 #ifdef HAVE_SYS_VFS_H
16854 # include <sys/vfs.h>
16855 #endif
16856 #ifdef HAVE_SYS_STATFS_H
16857 # include <sys/statfs.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_STATFS_F_FFREE 1
16864 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16869 #ifdef HAVE_SYS_PARAM_H
16870 # include <sys/param.h>
16871 #endif
16872 #ifdef HAVE_SYS_MOUNT_H
16873 # include <sys/mount.h>
16874 #endif
16875 #ifdef HAVE_SYS_VFS_H
16876 # include <sys/vfs.h>
16877 #endif
16878 #ifdef HAVE_SYS_STATFS_H
16879 # include <sys/statfs.h>
16880 #endif
16882 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16886 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16891 #ifdef HAVE_SYS_PARAM_H
16892 # include <sys/param.h>
16893 #endif
16894 #ifdef HAVE_SYS_MOUNT_H
16895 # include <sys/mount.h>
16896 #endif
16897 #ifdef HAVE_SYS_VFS_H
16898 # include <sys/vfs.h>
16899 #endif
16900 #ifdef HAVE_SYS_STATFS_H
16901 # include <sys/statfs.h>
16902 #endif
16904 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16908 _ACEOF
16914 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16915 #include <sys/statvfs.h>
16916 #endif
16918 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16920 cat >>confdefs.h <<_ACEOF
16921 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16922 _ACEOF
16928 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16929 #include <dirent.h>
16930 #endif
16932 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16934 cat >>confdefs.h <<_ACEOF
16935 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16936 _ACEOF
16942 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16943 #ifdef HAVE_SYS_SOCKET_H
16944 # include <sys/socket.h>
16945 #endif
16946 #ifdef HAVE_SYS_UN_H
16947 # include <sys/un.h>
16948 #endif
16950 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16952 cat >>confdefs.h <<_ACEOF
16953 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16954 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16959 #ifdef HAVE_SYS_SOCKET_H
16960 # include <sys/socket.h>
16961 #endif
16962 #ifdef HAVE_SYS_UN_H
16963 # include <sys/un.h>
16964 #endif
16966 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16968 cat >>confdefs.h <<_ACEOF
16969 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16970 _ACEOF
16974 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16975 #ifdef HAVE_SYS_SOCKET_H
16976 # include <sys/socket.h>
16977 #endif
16978 #ifdef HAVE_SYS_UN_H
16979 # include <sys/un.h>
16980 #endif
16982 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16984 cat >>confdefs.h <<_ACEOF
16985 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16986 _ACEOF
16992 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16993 #ifdef HAVE_SCSI_SG_H
16994 #include <scsi/sg.h>
16995 #endif
16997 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_SCSIREQ_T_CMD 1
17001 _ACEOF
17005 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>
17006 #ifdef HAVE_SCSI_SG_H
17007 #include <scsi/sg.h>
17008 #endif
17010 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17014 _ACEOF
17020 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17022 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_SIGINFO_T_SI_FD 1
17026 _ACEOF
17032 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17033 #ifdef HAVE_SYS_MTIO_H
17034 #include <sys/mtio.h>
17035 #endif
17037 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17041 _ACEOF
17045 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17046 #ifdef HAVE_SYS_MTIO_H
17047 #include <sys/mtio.h>
17048 #endif
17050 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17054 _ACEOF
17058 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17059 #ifdef HAVE_SYS_MTIO_H
17060 #include <sys/mtio.h>
17061 #endif
17063 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17065 cat >>confdefs.h <<_ACEOF
17066 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17067 _ACEOF
17073 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17074 #include <getopt.h>
17075 #endif
17077 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17079 cat >>confdefs.h <<_ACEOF
17080 #define HAVE_STRUCT_OPTION_NAME 1
17081 _ACEOF
17087 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17088 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17092 _ACEOF
17096 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17097 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_STRUCT_STAT_ST_MTIM 1
17101 _ACEOF
17105 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17106 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17108 cat >>confdefs.h <<_ACEOF
17109 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17110 _ACEOF
17114 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17115 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17117 cat >>confdefs.h <<_ACEOF
17118 #define HAVE_STRUCT_STAT_ST_CTIM 1
17119 _ACEOF
17123 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17124 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17126 cat >>confdefs.h <<_ACEOF
17127 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17128 _ACEOF
17132 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17133 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17135 cat >>confdefs.h <<_ACEOF
17136 #define HAVE_STRUCT_STAT_ST_ATIM 1
17137 _ACEOF
17141 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17142 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17144 cat >>confdefs.h <<_ACEOF
17145 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17146 _ACEOF
17150 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17151 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17153 cat >>confdefs.h <<_ACEOF
17154 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17155 _ACEOF
17159 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17160 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17164 _ACEOF
17168 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17169 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17171 cat >>confdefs.h <<_ACEOF
17172 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17173 _ACEOF
17177 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17178 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17180 cat >>confdefs.h <<_ACEOF
17181 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17182 _ACEOF
17186 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17187 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17189 cat >>confdefs.h <<_ACEOF
17190 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17191 _ACEOF
17197 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
17198 #include <sys/types.h>
17199 #endif
17200 #ifdef HAVE_NETINET_IN_H
17201 #include <netinet/in.h>
17202 #endif
17204 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17206 cat >>confdefs.h <<_ACEOF
17207 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17208 _ACEOF
17214 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17215 #include <sys/types.h>
17216 #endif
17217 #ifdef HAVE_NETINET_IN_H
17218 #include <netinet/in.h>
17219 #endif
17220 #ifdef HAVE_RESOLV_H
17221 #include <resolv.h>
17222 #endif
17224 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17226 cat >>confdefs.h <<_ACEOF
17227 #define HAVE_STRUCT___RES_STATE 1
17228 _ACEOF
17234 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
17235 #include <resolv.h>
17236 #endif
17238 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17240 cat >>confdefs.h <<_ACEOF
17241 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17242 _ACEOF
17248 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17249 #include <sys/types.h>
17250 #endif
17251 #ifdef HAVE_NETINET_IN_H
17252 # include <netinet/in.h>
17253 #endif
17254 #ifdef HAVE_ARPA_NAMESER_H
17255 # include <arpa/nameser.h>
17256 #endif
17258 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17260 cat >>confdefs.h <<_ACEOF
17261 #define HAVE_NS_MSG__MSG_PTR 1
17262 _ACEOF
17268 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17269 #include <sys/types.h>
17270 #endif
17271 #ifdef HAVE_NETINET_IN_H
17272 #include <netinet/in.h>
17273 #endif
17274 #ifdef HAVE_NETINET_IP_H
17275 #include <netinet/ip.h>
17276 #endif
17277 #ifdef HAVE_NETINET_IP_ICMP_H
17278 #include <netinet/ip_icmp.h>
17279 #endif
17280 #ifdef HAVE_NETINET_ICMP_VAR_H
17281 #include <netinet/icmp_var.h>
17282 #endif
17284 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17286 cat >>confdefs.h <<_ACEOF
17287 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17288 _ACEOF
17294 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17295 #include <sys/types.h>
17296 #endif
17297 #ifdef HAVE_ALIAS_H
17298 #include <alias.h>
17299 #endif
17300 #ifdef HAVE_SYS_SOCKET_H
17301 #include <sys/socket.h>
17302 #endif
17303 #ifdef HAVE_SYS_SOCKETVAR_H
17304 #include <sys/socketvar.h>
17305 #endif
17306 #ifdef HAVE_SYS_TIMEOUT_H
17307 #include <sys/timeout.h>
17308 #endif
17309 #ifdef HAVE_NETINET_IN_H
17310 #include <netinet/in.h>
17311 #endif
17312 #ifdef HAVE_NETINET_IN_SYSTM_H
17313 #include <netinet/in_systm.h>
17314 #endif
17315 #ifdef HAVE_NETINET_IP_H
17316 #include <netinet/ip.h>
17317 #endif
17318 #ifdef HAVE_NETINET_IP_VAR_H
17319 #include <netinet/ip_var.h>
17320 #endif
17321 #ifdef HAVE_NETINET_IP_ICMP_H
17322 #include <netinet/ip_icmp.h>
17323 #endif
17324 #ifdef HAVE_NETINET_ICMP_VAR_H
17325 #include <netinet/icmp_var.h>
17326 #endif
17328 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17330 cat >>confdefs.h <<_ACEOF
17331 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17332 _ACEOF
17338 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17339 #include <sys/types.h>
17340 #endif
17341 #ifdef HAVE_SYS_SOCKETVAR_H
17342 #include <sys/socketvar.h>
17343 #endif
17344 #ifdef HAVE_NETINET_IN_H
17345 #include <netinet/in.h>
17346 #endif
17347 #ifdef HAVE_NETINET_IP_VAR_H
17348 #include <netinet/ip_var.h>
17349 #endif
17351 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17353 cat >>confdefs.h <<_ACEOF
17354 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17355 _ACEOF
17361 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
17362 #include <netinet/ip_var.h>
17363 #endif
17365 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17367 cat >>confdefs.h <<_ACEOF
17368 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17369 _ACEOF
17375 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17376 #include <sys/types.h>
17377 #endif
17378 #ifdef HAVE_SYS_SOCKETVAR_H
17379 #include <sys/socketvar.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IN_H
17382 #include <netinet/in.h>
17383 #endif
17384 #ifdef HAVE_NETINET_TCP_H
17385 #include <netinet/tcp.h>
17386 #endif
17387 #ifdef HAVE_NETINET_TCP_VAR_H
17388 #include <netinet/tcp_var.h>
17389 #endif
17391 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17393 cat >>confdefs.h <<_ACEOF
17394 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17395 _ACEOF
17401 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
17402 #include <netinet/tcp_var.h>
17403 #endif
17405 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17409 _ACEOF
17415 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17416 #include <sys/types.h>
17417 #endif
17418 #ifdef HAVE_NETINET_IN_H
17419 #include <netinet/in.h>
17420 #endif
17421 #ifdef HAVE_NETINET_IP_VAR_H
17422 #include <netinet/ip_var.h>
17423 #endif
17424 #ifdef HAVE_NETINET_UDP_H
17425 #include <netinet/udp.h>
17426 #endif
17427 #ifdef HAVE_NETINET_UDP_VAR_H
17428 #include <netinet/udp_var.h>
17429 #endif
17431 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17435 _ACEOF
17441 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17442 #include <sys/types.h>
17443 #endif
17444 #ifdef HAVE_NET_IF_H
17445 # include <net/if.h>
17446 #endif
17448 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17450 cat >>confdefs.h <<_ACEOF
17451 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17452 _ACEOF
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17459 $as_echo_n "checking for timezone variable... " >&6; }
17460 if ${ac_cv_have_timezone+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 #include <time.h>
17467 main ()
17469 timezone = 1
17471 return 0;
17473 _ACEOF
17474 if ac_fn_c_try_link "$LINENO"; then :
17475 ac_cv_have_timezone="yes"
17476 else
17477 ac_cv_have_timezone="no"
17479 rm -f core conftest.err conftest.$ac_objext \
17480 conftest$ac_exeext conftest.$ac_ext
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17483 $as_echo "$ac_cv_have_timezone" >&6; }
17484 if test "$ac_cv_have_timezone" = "yes"
17485 then
17487 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17491 $as_echo_n "checking for daylight variable... " >&6; }
17492 if ${ac_cv_have_daylight+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17497 #include <time.h>
17499 main ()
17501 daylight = 1
17503 return 0;
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"; then :
17507 ac_cv_have_daylight="yes"
17508 else
17509 ac_cv_have_daylight="no"
17511 rm -f core conftest.err conftest.$ac_objext \
17512 conftest$ac_exeext conftest.$ac_ext
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17515 $as_echo "$ac_cv_have_daylight" >&6; }
17516 if test "$ac_cv_have_daylight" = "yes"
17517 then
17519 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17523 ac_save_LIBS="$LIBS"
17524 LIBS="$LIBS -lm"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17526 $as_echo_n "checking for isfinite... " >&6; }
17527 if ${ac_cv_have_isfinite+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #define _GNU_SOURCE
17533 #include <math.h>
17535 main ()
17537 float f = 0.0; return isfinite(f)
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_link "$LINENO"; then :
17543 ac_cv_have_isfinite="yes"
17544 else
17545 ac_cv_have_isfinite="no"
17547 rm -f core conftest.err conftest.$ac_objext \
17548 conftest$ac_exeext conftest.$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17551 $as_echo "$ac_cv_have_isfinite" >&6; }
17552 if test "$ac_cv_have_isfinite" = "yes"
17553 then
17555 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17560 $as_echo_n "checking for isinf... " >&6; }
17561 if ${ac_cv_have_isinf+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 #include <math.h>
17568 main ()
17570 float f = 0.0; return isinf(f)
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_link "$LINENO"; then :
17576 ac_cv_have_isinf="yes"
17577 else
17578 ac_cv_have_isinf="no"
17580 rm -f core conftest.err conftest.$ac_objext \
17581 conftest$ac_exeext conftest.$ac_ext
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17584 $as_echo "$ac_cv_have_isinf" >&6; }
17585 if test "$ac_cv_have_isinf" = "yes"
17586 then
17588 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17593 $as_echo_n "checking for isnan... " >&6; }
17594 if ${ac_cv_have_isnan+:} false; then :
17595 $as_echo_n "(cached) " >&6
17596 else
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 #include <math.h>
17601 main ()
17603 float f = 0.0; return isnan(f)
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_link "$LINENO"; then :
17609 ac_cv_have_isnan="yes"
17610 else
17611 ac_cv_have_isnan="no"
17613 rm -f core conftest.err conftest.$ac_objext \
17614 conftest$ac_exeext conftest.$ac_ext
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17617 $as_echo "$ac_cv_have_isnan" >&6; }
17618 if test "$ac_cv_have_isnan" = "yes"
17619 then
17621 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17625 for ac_func in \
17626 acosh \
17627 acoshf \
17628 asinh \
17629 asinhf \
17630 atanh \
17631 atanhf \
17632 cbrt \
17633 cbrtf \
17634 erf \
17635 erfc \
17636 erfcf \
17637 erff \
17638 exp2 \
17639 exp2f \
17640 expm1 \
17641 expm1f \
17642 lgamma \
17643 lgammaf \
17644 llrint \
17645 llrintf \
17646 llround \
17647 llroundf \
17648 log1p \
17649 log1pf \
17650 log2 \
17651 log2f \
17652 lrint \
17653 lrintf \
17654 lround \
17655 lroundf \
17656 nearbyint \
17657 nearbyintf \
17658 powl \
17659 remainder \
17660 remainderf \
17661 rint \
17662 rintf \
17663 round \
17664 roundf \
17665 trunc \
17666 truncf
17668 do :
17669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17672 cat >>confdefs.h <<_ACEOF
17673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17674 _ACEOF
17677 done
17679 LIBS="$ac_save_LIBS"
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17682 $as_echo_n "checking for __builtin_clz... " >&6; }
17683 if ${ac_cv_have___builtin_clz+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17690 main ()
17692 return __builtin_clz(1)
17694 return 0;
17696 _ACEOF
17697 if ac_fn_c_try_link "$LINENO"; then :
17698 ac_cv_have___builtin_clz="yes"
17699 else
17700 ac_cv_have___builtin_clz="no"
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17706 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17707 if test "$ac_cv_have___builtin_clz" = "yes"
17708 then
17710 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17715 $as_echo_n "checking for __builtin_popcount... " >&6; }
17716 if ${ac_cv_have___builtin_popcount+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17723 main ()
17725 return __builtin_popcount(1)
17727 return 0;
17729 _ACEOF
17730 if ac_fn_c_try_link "$LINENO"; then :
17731 ac_cv_have___builtin_popcount="yes"
17732 else
17733 ac_cv_have___builtin_popcount="no"
17735 rm -f core conftest.err conftest.$ac_objext \
17736 conftest$ac_exeext conftest.$ac_ext
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17739 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17740 if test "$ac_cv_have___builtin_popcount" = "yes"
17741 then
17743 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17748 $as_echo_n "checking for __clear_cache... " >&6; }
17749 if ${ac_cv_have___clear_cache+:} false; then :
17750 $as_echo_n "(cached) " >&6
17751 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17756 main ()
17758 __clear_cache((void*)0, (void*)0); return 0;
17760 return 0;
17762 _ACEOF
17763 if ac_fn_c_try_link "$LINENO"; then :
17764 ac_cv_have___clear_cache="yes"
17765 else
17766 ac_cv_have___clear_cache="no"
17768 rm -f core conftest.err conftest.$ac_objext \
17769 conftest$ac_exeext conftest.$ac_ext
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17772 $as_echo "$ac_cv_have___clear_cache" >&6; }
17773 if test "$ac_cv_have___clear_cache" = "yes"
17774 then
17776 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17781 case $host_cpu in
17782 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17783 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17784 if ${ac_cv_cpp_def___i386__+:} false; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #ifndef __i386__
17791 #endif
17792 _ACEOF
17793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17794 $EGREP "yes" >/dev/null 2>&1; then :
17795 ac_cv_cpp_def___i386__=yes
17796 else
17797 ac_cv_cpp_def___i386__=no
17799 rm -f conftest*
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17803 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17804 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17805 CFLAGS="$CFLAGS -D__i386__"
17806 LINTFLAGS="$LINTFLAGS -D__i386__"
17807 fi ;;
17808 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17809 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17810 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17815 #ifndef __x86_64__
17817 #endif
17818 _ACEOF
17819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17820 $EGREP "yes" >/dev/null 2>&1; then :
17821 ac_cv_cpp_def___x86_64__=yes
17822 else
17823 ac_cv_cpp_def___x86_64__=no
17825 rm -f conftest*
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17829 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17830 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17831 CFLAGS="$CFLAGS -D__x86_64__"
17832 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17833 fi ;;
17834 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17835 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17836 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17837 $as_echo_n "(cached) " >&6
17838 else
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #ifndef __sparc64__
17843 #endif
17844 _ACEOF
17845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17846 $EGREP "yes" >/dev/null 2>&1; then :
17847 ac_cv_cpp_def___sparc64__=yes
17848 else
17849 ac_cv_cpp_def___sparc64__=no
17851 rm -f conftest*
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17855 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17856 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17857 CFLAGS="$CFLAGS -D__sparc64__"
17858 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17859 fi ;;
17860 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17861 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17862 if ${ac_cv_cpp_def___sparc__+:} false; then :
17863 $as_echo_n "(cached) " >&6
17864 else
17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17867 #ifndef __sparc__
17869 #endif
17870 _ACEOF
17871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17872 $EGREP "yes" >/dev/null 2>&1; then :
17873 ac_cv_cpp_def___sparc__=yes
17874 else
17875 ac_cv_cpp_def___sparc__=no
17877 rm -f conftest*
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17881 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17882 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17883 CFLAGS="$CFLAGS -D__sparc__"
17884 LINTFLAGS="$LINTFLAGS -D__sparc__"
17885 fi ;;
17886 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17887 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17888 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #ifndef __powerpc64__
17895 #endif
17896 _ACEOF
17897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17898 $EGREP "yes" >/dev/null 2>&1; then :
17899 ac_cv_cpp_def___powerpc64__=yes
17900 else
17901 ac_cv_cpp_def___powerpc64__=no
17903 rm -f conftest*
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17907 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17908 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17909 CFLAGS="$CFLAGS -D__powerpc64__"
17910 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17911 fi ;;
17912 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17913 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17914 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #ifndef __powerpc__
17921 #endif
17922 _ACEOF
17923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17924 $EGREP "yes" >/dev/null 2>&1; then :
17925 ac_cv_cpp_def___powerpc__=yes
17926 else
17927 ac_cv_cpp_def___powerpc__=no
17929 rm -f conftest*
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17933 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17934 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17935 CFLAGS="$CFLAGS -D__powerpc__"
17936 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17937 fi ;;
17938 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17939 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17940 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17945 #ifndef __aarch64__
17947 #endif
17948 _ACEOF
17949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17950 $EGREP "yes" >/dev/null 2>&1; then :
17951 ac_cv_cpp_def___aarch64__=yes
17952 else
17953 ac_cv_cpp_def___aarch64__=no
17955 rm -f conftest*
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17959 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17960 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17961 CFLAGS="$CFLAGS -D__aarch64__"
17962 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17963 fi ;;
17964 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17965 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17966 if ${ac_cv_cpp_def___arm__+:} false; then :
17967 $as_echo_n "(cached) " >&6
17968 else
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #ifndef __arm__
17973 #endif
17974 _ACEOF
17975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17976 $EGREP "yes" >/dev/null 2>&1; then :
17977 ac_cv_cpp_def___arm__=yes
17978 else
17979 ac_cv_cpp_def___arm__=no
17981 rm -f conftest*
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17985 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17986 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17987 CFLAGS="$CFLAGS -D__arm__"
17988 LINTFLAGS="$LINTFLAGS -D__arm__"
17989 fi ;;
17990 esac
17992 case $host_vendor in
17993 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17994 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17995 if ${ac_cv_cpp_def___sun__+:} false; then :
17996 $as_echo_n "(cached) " >&6
17997 else
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #ifndef __sun__
18002 #endif
18003 _ACEOF
18004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18005 $EGREP "yes" >/dev/null 2>&1; then :
18006 ac_cv_cpp_def___sun__=yes
18007 else
18008 ac_cv_cpp_def___sun__=no
18010 rm -f conftest*
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18014 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18015 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18016 CFLAGS="$CFLAGS -D__sun__"
18017 LINTFLAGS="$LINTFLAGS -D__sun__"
18018 fi ;;
18019 esac
18025 ac_config_commands="$ac_config_commands include/stamp-h"
18027 $as_echo_n "creating Makefile rules..." >&6
18029 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18030 SOCKET_LIBS = $SOCKET_LIBS
18031 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18032 IOKIT_LIBS = $IOKIT_LIBS
18033 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18034 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18035 CORESERVICES_LIBS = $CORESERVICES_LIBS
18036 APPKIT_LIBS = $APPKIT_LIBS
18037 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18038 SECURITY_LIBS = $SECURITY_LIBS
18039 COREAUDIO_LIBS = $COREAUDIO_LIBS
18040 OPENAL_LIBS = $OPENAL_LIBS
18041 OPENCL_LIBS = $OPENCL_LIBS
18042 QUICKTIME_LIBS = $QUICKTIME_LIBS
18043 CARBON_LIBS = $CARBON_LIBS
18044 PTHREAD_LIBS = $PTHREAD_LIBS
18045 X_CFLAGS = $X_CFLAGS
18046 X_PRE_LIBS = $X_PRE_LIBS
18047 X_LIBS = $X_LIBS
18048 X_EXTRA_LIBS = $X_EXTRA_LIBS
18049 PCAP_LIBS = $PCAP_LIBS
18050 XML2_CFLAGS = $XML2_CFLAGS
18051 XML2_LIBS = $XML2_LIBS
18052 XSLT_CFLAGS = $XSLT_CFLAGS
18053 XSLT_LIBS = $XSLT_LIBS
18054 DBUS_CFLAGS = $DBUS_CFLAGS
18055 DBUS_LIBS = $DBUS_LIBS
18056 HAL_CFLAGS = $HAL_CFLAGS
18057 HAL_LIBS = $HAL_LIBS
18058 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18059 GNUTLS_LIBS = $GNUTLS_LIBS
18060 SANE_CFLAGS = $SANE_CFLAGS
18061 SANE_LIBS = $SANE_LIBS
18062 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18063 GPHOTO2_LIBS = $GPHOTO2_LIBS
18064 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18065 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18066 RESOLV_LIBS = $RESOLV_LIBS
18067 LCMS2_CFLAGS = $LCMS2_CFLAGS
18068 LCMS2_LIBS = $LCMS2_LIBS
18069 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18070 FREETYPE_LIBS = $FREETYPE_LIBS
18071 Z_LIBS = $Z_LIBS
18072 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18073 PULSE_CFLAGS = $PULSE_CFLAGS
18074 PULSE_LIBS = $PULSE_LIBS
18075 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18076 GSTREAMER_LIBS = $GSTREAMER_LIBS
18077 ALSA_LIBS = $ALSA_LIBS
18078 OSS4_CFLAGS = $OSS4_CFLAGS
18079 UDEV_CFLAGS = $UDEV_CFLAGS
18080 UDEV_LIBS = $UDEV_LIBS
18081 SDL2_CFLAGS = $SDL2_CFLAGS
18082 SDL2_LIBS = $SDL2_LIBS
18083 CAPI20_CFLAGS = $CAPI20_CFLAGS
18084 CAPI20_LIBS = $CAPI20_LIBS
18085 CUPS_CFLAGS = $CUPS_CFLAGS
18086 CUPS_LIBS = $CUPS_LIBS
18087 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18088 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18089 KRB5_CFLAGS = $KRB5_CFLAGS
18090 KRB5_LIBS = $KRB5_LIBS
18091 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18092 GSSAPI_LIBS = $GSSAPI_LIBS
18093 JPEG_CFLAGS = $JPEG_CFLAGS
18094 JPEG_LIBS = $JPEG_LIBS
18095 PNG_CFLAGS = $PNG_CFLAGS
18096 PNG_LIBS = $PNG_LIBS
18097 TIFF_CFLAGS = $TIFF_CFLAGS
18098 TIFF_LIBS = $TIFF_LIBS
18099 MPG123_CFLAGS = $MPG123_CFLAGS
18100 MPG123_LIBS = $MPG123_LIBS
18101 KSTAT_LIBS = $KSTAT_LIBS
18102 PROCSTAT_LIBS = $PROCSTAT_LIBS
18103 NETAPI_CFLAGS = $NETAPI_CFLAGS
18104 NETAPI_LIBS = $NETAPI_LIBS
18105 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18106 DL_LIBS = $DL_LIBS
18107 POLL_LIBS = $POLL_LIBS
18108 RT_LIBS = $RT_LIBS
18109 LDAP_CFLAGS = $LDAP_CFLAGS
18110 LDAP_LIBS = $LDAP_LIBS
18115 wine_fn_append_rule "
18116 # Rules automatically generated by configure
18118 .INIT: Makefile
18119 .MAKEFILEDEPS:
18120 all: Makefile
18121 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18122 @./config.status Make.tmp Makefile
18123 depend: \$(MAKEDEP) dummy
18124 \$(MAKEDEP)"
18126 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18127 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18129 if test "x$enable_fonts" != xno; then
18130 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18131 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18132 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18133 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18134 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18135 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18137 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18138 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18139 ac_config_links="$ac_config_links wine:tools/winewrapper"
18140 wine_fn_config_symlink wine
18141 if test "x$enable_win64" != xno; then
18142 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18143 wine_fn_config_symlink wine64
18146 wine_fn_config_dll acledit enable_acledit
18147 wine_fn_config_dll aclui enable_aclui
18148 wine_fn_config_dll activeds enable_activeds
18149 wine_fn_config_dll actxprxy enable_actxprxy
18150 wine_fn_config_lib adsiid
18151 wine_fn_config_dll adsldp enable_adsldp
18152 wine_fn_config_test dlls/adsldp/tests adsldp_test
18153 wine_fn_config_dll adsldpc enable_adsldpc
18154 wine_fn_config_dll advapi32 enable_advapi32
18155 wine_fn_config_test dlls/advapi32/tests advapi32_test
18156 wine_fn_config_dll advpack enable_advpack
18157 wine_fn_config_test dlls/advpack/tests advpack_test
18158 wine_fn_config_dll amstream enable_amstream
18159 wine_fn_config_test dlls/amstream/tests amstream_test
18160 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18161 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18162 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18163 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18164 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18165 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18166 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18167 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18168 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18169 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18170 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18171 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18172 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18173 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18174 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18175 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18176 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18177 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18178 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18179 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18181 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18182 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18183 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18184 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18185 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18186 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18187 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18188 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18189 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18190 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18191 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18192 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18193 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18194 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18195 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18196 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18197 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18198 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18199 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18200 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18201 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18202 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18203 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18204 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18205 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18206 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18207 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18208 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18209 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18210 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18211 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18212 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18213 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18214 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18215 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18216 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18217 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18218 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18219 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18220 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18221 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18222 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18224 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18225 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18226 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18227 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18228 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18229 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18230 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18232 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18233 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18234 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18235 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18236 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18237 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18238 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18239 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18240 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18241 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18242 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18244 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18245 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18246 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18247 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18248 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18249 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18250 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18251 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18252 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18254 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18256 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18257 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18258 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18259 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18261 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18262 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18263 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18264 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18265 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18266 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18267 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18268 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18270 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18271 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18272 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18273 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18274 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18275 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18276 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18277 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18278 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18279 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18280 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18281 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18282 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18283 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18284 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18285 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18286 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18287 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18288 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18289 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18290 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18291 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18292 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18293 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18294 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18295 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18296 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18297 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18298 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18299 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18300 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18301 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18302 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18303 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18304 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18305 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18306 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18307 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18308 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18309 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18310 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18311 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18312 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18313 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18314 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18315 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18316 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18317 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18318 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18319 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18320 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18321 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18322 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18323 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18324 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18325 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18326 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18327 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18328 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18329 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18330 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18331 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18332 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18333 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18334 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18335 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18336 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18337 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18338 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18339 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18340 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18341 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18342 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18343 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18344 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18345 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18346 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18347 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18348 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18349 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18350 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18351 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18352 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18353 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18354 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18355 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18356 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18357 wine_fn_config_dll apphelp enable_apphelp
18358 wine_fn_config_test dlls/apphelp/tests apphelp_test
18359 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18360 wine_fn_config_dll atl enable_atl
18361 wine_fn_config_test dlls/atl/tests atl_test
18362 wine_fn_config_dll atl100 enable_atl100
18363 wine_fn_config_test dlls/atl100/tests atl100_test
18364 wine_fn_config_dll atl110 enable_atl110
18365 wine_fn_config_dll atl80 enable_atl80
18366 wine_fn_config_test dlls/atl80/tests atl80_test
18367 wine_fn_config_dll atl90 enable_atl90
18368 wine_fn_config_dll authz enable_authz
18369 wine_fn_config_dll avicap32 enable_avicap32
18370 wine_fn_config_dll avifil32 enable_avifil32
18371 wine_fn_config_test dlls/avifil32/tests avifil32_test
18372 wine_fn_config_dll avifile.dll16 enable_win16
18373 wine_fn_config_dll avrt enable_avrt
18374 wine_fn_config_dll bcrypt enable_bcrypt
18375 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18376 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18377 wine_fn_config_dll browseui enable_browseui
18378 wine_fn_config_test dlls/browseui/tests browseui_test
18379 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18380 wine_fn_config_dll cabinet enable_cabinet
18381 wine_fn_config_test dlls/cabinet/tests cabinet_test
18382 wine_fn_config_dll capi2032 enable_capi2032
18383 wine_fn_config_dll cards enable_cards
18384 wine_fn_config_dll cdosys enable_cdosys
18385 wine_fn_config_dll cfgmgr32 enable_cfgmgr32
18386 wine_fn_config_dll clusapi enable_clusapi
18387 wine_fn_config_dll combase enable_combase
18388 wine_fn_config_test dlls/combase/tests combase_test
18389 wine_fn_config_dll comcat enable_comcat
18390 wine_fn_config_test dlls/comcat/tests comcat_test
18391 wine_fn_config_dll comctl32 enable_comctl32
18392 wine_fn_config_test dlls/comctl32/tests comctl32_test
18393 wine_fn_config_dll comdlg32 enable_comdlg32
18394 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18395 wine_fn_config_dll comm.drv16 enable_win16
18396 wine_fn_config_dll commdlg.dll16 enable_win16
18397 wine_fn_config_dll compobj.dll16 enable_win16
18398 wine_fn_config_dll compstui enable_compstui
18399 wine_fn_config_dll comsvcs enable_comsvcs
18400 wine_fn_config_dll concrt140 enable_concrt140
18401 wine_fn_config_dll connect enable_connect
18402 wine_fn_config_dll credui enable_credui
18403 wine_fn_config_test dlls/credui/tests credui_test
18404 wine_fn_config_dll crtdll enable_crtdll
18405 wine_fn_config_dll crypt32 enable_crypt32
18406 wine_fn_config_test dlls/crypt32/tests crypt32_test
18407 wine_fn_config_dll cryptdlg enable_cryptdlg
18408 wine_fn_config_dll cryptdll enable_cryptdll
18409 wine_fn_config_dll cryptext enable_cryptext
18410 wine_fn_config_dll cryptnet enable_cryptnet
18411 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18412 wine_fn_config_dll cryptui enable_cryptui
18413 wine_fn_config_test dlls/cryptui/tests cryptui_test
18414 wine_fn_config_dll ctapi32 enable_ctapi32
18415 wine_fn_config_dll ctl3d.dll16 enable_win16
18416 wine_fn_config_dll ctl3d32 enable_ctl3d32
18417 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18418 wine_fn_config_dll d2d1 enable_d2d1
18419 wine_fn_config_test dlls/d2d1/tests d2d1_test
18420 wine_fn_config_dll d3d10 enable_d3d10
18421 wine_fn_config_test dlls/d3d10/tests d3d10_test
18422 wine_fn_config_dll d3d10_1 enable_d3d10_1
18423 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18424 wine_fn_config_dll d3d10core enable_d3d10core
18425 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18426 wine_fn_config_dll d3d11 enable_d3d11
18427 wine_fn_config_test dlls/d3d11/tests d3d11_test
18428 wine_fn_config_dll d3d12 enable_d3d12
18429 wine_fn_config_test dlls/d3d12/tests d3d12_test
18430 wine_fn_config_dll d3d8 enable_d3d8
18431 wine_fn_config_test dlls/d3d8/tests d3d8_test
18432 wine_fn_config_dll d3d9 enable_d3d9
18433 wine_fn_config_test dlls/d3d9/tests d3d9_test
18434 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18435 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18436 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18437 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18438 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18439 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18440 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18441 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18442 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18443 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18444 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43
18445 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18446 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18447 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18448 wine_fn_config_dll d3dim enable_d3dim
18449 wine_fn_config_dll d3drm enable_d3drm
18450 wine_fn_config_test dlls/d3drm/tests d3drm_test
18451 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18452 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18453 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18454 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18455 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18456 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18457 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18458 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18459 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18460 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18461 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
18462 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18463 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18464 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
18465 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18466 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18467 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18468 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18469 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18470 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18471 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18472 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18473 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18474 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18475 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18476 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18477 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18478 wine_fn_config_dll d3dx9_36 enable_d3dx9_36
18479 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18480 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18481 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18482 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18483 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18484 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18485 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18486 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18487 wine_fn_config_dll d3dxof enable_d3dxof
18488 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18489 wine_fn_config_dll davclnt enable_davclnt
18490 wine_fn_config_dll dbgeng enable_dbgeng
18491 wine_fn_config_dll dbghelp enable_dbghelp
18492 wine_fn_config_dll dciman32 enable_dciman32
18493 wine_fn_config_dll ddeml.dll16 enable_win16
18494 wine_fn_config_dll ddraw enable_ddraw
18495 wine_fn_config_test dlls/ddraw/tests ddraw_test
18496 wine_fn_config_dll ddrawex enable_ddrawex
18497 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18498 wine_fn_config_dll devenum enable_devenum
18499 wine_fn_config_test dlls/devenum/tests devenum_test
18500 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18501 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18502 wine_fn_config_dll difxapi enable_difxapi
18503 wine_fn_config_dll dinput enable_dinput
18504 wine_fn_config_test dlls/dinput/tests dinput_test
18505 wine_fn_config_dll dinput8 enable_dinput8
18506 wine_fn_config_test dlls/dinput8/tests dinput8_test
18507 wine_fn_config_dll dispdib.dll16 enable_win16
18508 wine_fn_config_dll dispex enable_dispex
18509 wine_fn_config_test dlls/dispex/tests dispex_test
18510 wine_fn_config_dll display.drv16 enable_win16
18511 wine_fn_config_dll dmband enable_dmband
18512 wine_fn_config_test dlls/dmband/tests dmband_test
18513 wine_fn_config_dll dmcompos enable_dmcompos
18514 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18515 wine_fn_config_dll dmime enable_dmime
18516 wine_fn_config_test dlls/dmime/tests dmime_test
18517 wine_fn_config_dll dmloader enable_dmloader
18518 wine_fn_config_test dlls/dmloader/tests dmloader_test
18519 wine_fn_config_dll dmscript enable_dmscript
18520 wine_fn_config_test dlls/dmscript/tests dmscript_test
18521 wine_fn_config_dll dmstyle enable_dmstyle
18522 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18523 wine_fn_config_dll dmsynth enable_dmsynth
18524 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18525 wine_fn_config_dll dmusic enable_dmusic
18526 wine_fn_config_test dlls/dmusic/tests dmusic_test
18527 wine_fn_config_dll dmusic32 enable_dmusic32
18528 wine_fn_config_dll dnsapi enable_dnsapi
18529 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18530 wine_fn_config_dll dplay enable_dplay
18531 wine_fn_config_dll dplayx enable_dplayx
18532 wine_fn_config_test dlls/dplayx/tests dplayx_test
18533 wine_fn_config_dll dpnaddr enable_dpnaddr
18534 wine_fn_config_dll dpnet enable_dpnet
18535 wine_fn_config_test dlls/dpnet/tests dpnet_test
18536 wine_fn_config_dll dpnhpast enable_dpnhpast
18537 wine_fn_config_dll dpnlobby enable_dpnlobby
18538 wine_fn_config_dll dpvoice enable_dpvoice
18539 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18540 wine_fn_config_dll dpwsockx enable_dpwsockx
18541 wine_fn_config_dll drmclien enable_drmclien
18542 wine_fn_config_dll dsound enable_dsound
18543 wine_fn_config_test dlls/dsound/tests dsound_test
18544 wine_fn_config_dll dsquery enable_dsquery
18545 wine_fn_config_dll dssenh enable_dssenh
18546 wine_fn_config_test dlls/dssenh/tests dssenh_test
18547 wine_fn_config_dll dswave enable_dswave
18548 wine_fn_config_test dlls/dswave/tests dswave_test
18549 wine_fn_config_dll dwmapi enable_dwmapi
18550 wine_fn_config_dll dwrite enable_dwrite
18551 wine_fn_config_test dlls/dwrite/tests dwrite_test
18552 wine_fn_config_dll dx8vb enable_dx8vb
18553 wine_fn_config_dll dxdiagn enable_dxdiagn
18554 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18555 wine_fn_config_lib dxerr8
18556 wine_fn_config_lib dxerr9
18557 wine_fn_config_dll dxgi enable_dxgi
18558 wine_fn_config_test dlls/dxgi/tests dxgi_test
18559 wine_fn_config_lib dxguid
18560 wine_fn_config_dll dxva2 enable_dxva2
18561 wine_fn_config_dll esent enable_esent
18562 wine_fn_config_dll evr enable_evr
18563 wine_fn_config_test dlls/evr/tests evr_test
18564 wine_fn_config_dll explorerframe enable_explorerframe
18565 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18566 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18567 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18568 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18569 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18570 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18571 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18572 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18573 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18574 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18575 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18576 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18577 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18578 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18579 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18580 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18581 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18582 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18583 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18584 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18585 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18586 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18587 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18588 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18589 wine_fn_config_dll faultrep enable_faultrep
18590 wine_fn_config_test dlls/faultrep/tests faultrep_test
18591 wine_fn_config_dll fltlib enable_fltlib
18592 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18593 wine_fn_config_dll fntcache enable_fntcache
18594 wine_fn_config_dll fontsub enable_fontsub
18595 wine_fn_config_dll fusion enable_fusion
18596 wine_fn_config_test dlls/fusion/tests fusion_test
18597 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18598 wine_fn_config_dll gameux enable_gameux
18599 wine_fn_config_test dlls/gameux/tests gameux_test
18600 wine_fn_config_dll gdi.exe16 enable_win16
18601 wine_fn_config_dll gdi32 enable_gdi32
18602 wine_fn_config_test dlls/gdi32/tests gdi32_test
18603 wine_fn_config_dll gdiplus enable_gdiplus
18604 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18605 wine_fn_config_dll glu32 enable_glu32
18606 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18607 wine_fn_config_dll gpkcsp enable_gpkcsp
18608 wine_fn_config_dll hal enable_hal
18609 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
18610 wine_fn_config_dll hid enable_hid
18611 wine_fn_config_test dlls/hid/tests hid_test
18612 wine_fn_config_dll hidclass.sys enable_hidclass_sys
18613 wine_fn_config_dll hlink enable_hlink
18614 wine_fn_config_test dlls/hlink/tests hlink_test
18615 wine_fn_config_dll hnetcfg enable_hnetcfg
18616 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18617 wine_fn_config_dll httpapi enable_httpapi
18618 wine_fn_config_test dlls/httpapi/tests httpapi_test
18619 wine_fn_config_dll iccvid enable_iccvid
18620 wine_fn_config_dll icmp enable_icmp
18621 wine_fn_config_dll ieframe enable_ieframe
18622 wine_fn_config_test dlls/ieframe/tests ieframe_test
18623 wine_fn_config_dll ieproxy enable_ieproxy
18624 wine_fn_config_dll ifsmgr.vxd enable_win16
18625 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18626 wine_fn_config_dll imagehlp enable_imagehlp
18627 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18628 wine_fn_config_dll imm.dll16 enable_win16
18629 wine_fn_config_dll imm32 enable_imm32
18630 wine_fn_config_test dlls/imm32/tests imm32_test
18631 wine_fn_config_dll inetcomm enable_inetcomm
18632 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18633 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18634 wine_fn_config_dll inetmib1 enable_inetmib1
18635 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18636 wine_fn_config_dll infosoft enable_infosoft
18637 wine_fn_config_test dlls/infosoft/tests infosoft_test
18638 wine_fn_config_dll initpki enable_initpki
18639 wine_fn_config_dll inkobj enable_inkobj
18640 wine_fn_config_dll inseng enable_inseng
18641 wine_fn_config_dll iphlpapi enable_iphlpapi
18642 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18643 wine_fn_config_dll iprop enable_iprop
18644 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18645 wine_fn_config_dll itircl enable_itircl
18646 wine_fn_config_dll itss enable_itss
18647 wine_fn_config_test dlls/itss/tests itss_test
18648 wine_fn_config_dll joy.cpl enable_joy_cpl
18649 wine_fn_config_dll jscript enable_jscript
18650 wine_fn_config_test dlls/jscript/tests jscript_test
18651 wine_fn_config_dll jsproxy enable_jsproxy
18652 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18653 wine_fn_config_dll kerberos enable_kerberos
18654 wine_fn_config_dll kernel32 enable_kernel32
18655 wine_fn_config_test dlls/kernel32/tests kernel32_test
18656 wine_fn_config_dll kernelbase enable_kernelbase
18657 wine_fn_config_dll keyboard.drv16 enable_win16
18658 wine_fn_config_dll krnl386.exe16 enable_win16
18659 wine_fn_config_dll ksuser enable_ksuser
18660 wine_fn_config_dll ktmw32 enable_ktmw32
18661 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18662 wine_fn_config_dll loadperf enable_loadperf
18663 wine_fn_config_dll localspl enable_localspl
18664 wine_fn_config_test dlls/localspl/tests localspl_test
18665 wine_fn_config_dll localui enable_localui
18666 wine_fn_config_test dlls/localui/tests localui_test
18667 wine_fn_config_dll lz32 enable_lz32
18668 wine_fn_config_test dlls/lz32/tests lz32_test
18669 wine_fn_config_dll lzexpand.dll16 enable_win16
18670 wine_fn_config_dll mapi32 enable_mapi32
18671 wine_fn_config_test dlls/mapi32/tests mapi32_test
18672 wine_fn_config_dll mapistub enable_mapistub
18673 wine_fn_config_dll mciavi32 enable_mciavi32
18674 wine_fn_config_dll mcicda enable_mcicda
18675 wine_fn_config_dll mciqtz32 enable_mciqtz32
18676 wine_fn_config_dll mciseq enable_mciseq
18677 wine_fn_config_dll mciwave enable_mciwave
18678 wine_fn_config_dll mf enable_mf
18679 wine_fn_config_test dlls/mf/tests mf_test
18680 wine_fn_config_dll mf3216 enable_mf3216
18681 wine_fn_config_dll mfplat enable_mfplat
18682 wine_fn_config_test dlls/mfplat/tests mfplat_test
18683 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18684 wine_fn_config_lib mfuuid
18685 wine_fn_config_dll mgmtapi enable_mgmtapi
18686 wine_fn_config_dll midimap enable_midimap
18687 wine_fn_config_dll mlang enable_mlang
18688 wine_fn_config_test dlls/mlang/tests mlang_test
18689 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18690 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18691 wine_fn_config_dll mmdevapi enable_mmdevapi
18692 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18693 wine_fn_config_dll mmdevldr.vxd enable_win16
18694 wine_fn_config_dll mmsystem.dll16 enable_win16
18695 wine_fn_config_dll monodebg.vxd enable_win16
18696 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18697 wine_fn_config_dll mouse.drv16 enable_win16
18698 wine_fn_config_dll mpr enable_mpr
18699 wine_fn_config_test dlls/mpr/tests mpr_test
18700 wine_fn_config_dll mprapi enable_mprapi
18701 wine_fn_config_dll msacm.dll16 enable_win16
18702 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18703 wine_fn_config_dll msacm32 enable_msacm32
18704 wine_fn_config_test dlls/msacm32/tests msacm32_test
18705 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18706 wine_fn_config_dll msasn1 enable_msasn1
18707 wine_fn_config_dll mscat32 enable_mscat32
18708 wine_fn_config_dll mscms enable_mscms
18709 wine_fn_config_test dlls/mscms/tests mscms_test
18710 wine_fn_config_dll mscoree enable_mscoree
18711 wine_fn_config_test dlls/mscoree/tests mscoree_test
18712 wine_fn_config_dll msctf enable_msctf
18713 wine_fn_config_test dlls/msctf/tests msctf_test
18714 wine_fn_config_dll msctfp enable_msctfp
18715 wine_fn_config_dll msdaps enable_msdaps
18716 wine_fn_config_dll msdelta enable_msdelta
18717 wine_fn_config_dll msdmo enable_msdmo
18718 wine_fn_config_test dlls/msdmo/tests msdmo_test
18719 wine_fn_config_dll msdrm enable_msdrm
18720 wine_fn_config_dll msftedit enable_msftedit
18721 wine_fn_config_dll msg711.acm enable_msg711_acm
18722 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18723 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18724 wine_fn_config_dll mshtml enable_mshtml
18725 wine_fn_config_test dlls/mshtml/tests mshtml_test
18726 wine_fn_config_dll msi enable_msi
18727 wine_fn_config_test dlls/msi/tests msi_test
18728 wine_fn_config_dll msident enable_msident
18729 wine_fn_config_dll msimg32 enable_msimg32
18730 wine_fn_config_dll msimsg enable_msimsg
18731 wine_fn_config_dll msimtf enable_msimtf
18732 wine_fn_config_dll msisip enable_msisip
18733 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18734 wine_fn_config_dll msls31 enable_msls31
18735 wine_fn_config_dll msnet32 enable_msnet32
18736 wine_fn_config_dll mspatcha enable_mspatcha
18737 wine_fn_config_dll msports enable_msports
18738 wine_fn_config_dll msrle32 enable_msrle32
18739 wine_fn_config_test dlls/msrle32/tests msrle32_test
18740 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18741 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test
18742 wine_fn_config_dll mssign32 enable_mssign32
18743 wine_fn_config_dll mssip32 enable_mssip32
18744 wine_fn_config_dll mstask enable_mstask
18745 wine_fn_config_test dlls/mstask/tests mstask_test
18746 wine_fn_config_dll msvcirt enable_msvcirt
18747 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18748 wine_fn_config_dll msvcm80 enable_msvcm80
18749 wine_fn_config_dll msvcm90 enable_msvcm90
18750 wine_fn_config_dll msvcp100 enable_msvcp100
18751 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18752 wine_fn_config_dll msvcp110 enable_msvcp110
18753 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18754 wine_fn_config_dll msvcp120 enable_msvcp120
18755 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18756 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18757 wine_fn_config_dll msvcp140 enable_msvcp140
18758 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18759 wine_fn_config_dll msvcp60 enable_msvcp60
18760 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18761 wine_fn_config_dll msvcp70 enable_msvcp70
18762 wine_fn_config_dll msvcp71 enable_msvcp71
18763 wine_fn_config_dll msvcp80 enable_msvcp80
18764 wine_fn_config_dll msvcp90 enable_msvcp90
18765 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18766 wine_fn_config_dll msvcr100 enable_msvcr100
18767 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18768 wine_fn_config_dll msvcr110 enable_msvcr110
18769 wine_fn_config_dll msvcr120 enable_msvcr120
18770 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18771 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18772 wine_fn_config_dll msvcr70 enable_msvcr70
18773 wine_fn_config_dll msvcr71 enable_msvcr71
18774 wine_fn_config_dll msvcr80 enable_msvcr80
18775 wine_fn_config_dll msvcr90 enable_msvcr90
18776 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18777 wine_fn_config_dll msvcrt enable_msvcrt
18778 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18779 wine_fn_config_dll msvcrt20 enable_msvcrt20
18780 wine_fn_config_dll msvcrt40 enable_msvcrt40
18781 wine_fn_config_dll msvcrtd enable_msvcrtd
18782 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18783 wine_fn_config_dll msvfw32 enable_msvfw32
18784 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18785 wine_fn_config_dll msvidc32 enable_msvidc32
18786 wine_fn_config_dll msvideo.dll16 enable_win16
18787 wine_fn_config_dll mswsock enable_mswsock
18788 wine_fn_config_dll msxml enable_msxml
18789 wine_fn_config_dll msxml2 enable_msxml2
18790 wine_fn_config_dll msxml3 enable_msxml3
18791 wine_fn_config_test dlls/msxml3/tests msxml3_test
18792 wine_fn_config_dll msxml4 enable_msxml4
18793 wine_fn_config_dll msxml6 enable_msxml6
18794 wine_fn_config_dll mtxdm enable_mtxdm
18795 wine_fn_config_dll ncrypt enable_ncrypt
18796 wine_fn_config_dll nddeapi enable_nddeapi
18797 wine_fn_config_dll ndis.sys enable_ndis_sys
18798 wine_fn_config_dll netapi32 enable_netapi32
18799 wine_fn_config_test dlls/netapi32/tests netapi32_test
18800 wine_fn_config_dll netcfgx enable_netcfgx
18801 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18802 wine_fn_config_dll netprofm enable_netprofm
18803 wine_fn_config_test dlls/netprofm/tests netprofm_test
18804 wine_fn_config_dll newdev enable_newdev
18805 wine_fn_config_dll normaliz enable_normaliz
18806 wine_fn_config_dll npmshtml enable_npmshtml
18807 wine_fn_config_dll npptools enable_npptools
18808 wine_fn_config_dll ntdll enable_ntdll
18809 wine_fn_config_test dlls/ntdll/tests ntdll_test
18810 wine_fn_config_dll ntdsapi enable_ntdsapi
18811 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18812 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe
18813 wine_fn_config_dll ntprint enable_ntprint
18814 wine_fn_config_test dlls/ntprint/tests ntprint_test
18815 wine_fn_config_dll objsel enable_objsel
18816 wine_fn_config_dll odbc32 enable_odbc32
18817 wine_fn_config_dll odbccp32 enable_odbccp32
18818 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18819 wine_fn_config_dll odbccu32 enable_odbccu32
18820 wine_fn_config_dll ole2.dll16 enable_win16
18821 wine_fn_config_dll ole2conv.dll16 enable_win16
18822 wine_fn_config_dll ole2disp.dll16 enable_win16
18823 wine_fn_config_dll ole2nls.dll16 enable_win16
18824 wine_fn_config_dll ole2prox.dll16 enable_win16
18825 wine_fn_config_dll ole2thk.dll16 enable_win16
18826 wine_fn_config_dll ole32 enable_ole32
18827 wine_fn_config_test dlls/ole32/tests ole32_test
18828 wine_fn_config_dll oleacc enable_oleacc
18829 wine_fn_config_test dlls/oleacc/tests oleacc_test
18830 wine_fn_config_dll oleaut32 enable_oleaut32
18831 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
18832 wine_fn_config_dll olecli.dll16 enable_win16
18833 wine_fn_config_dll olecli32 enable_olecli32
18834 wine_fn_config_dll oledb32 enable_oledb32
18835 wine_fn_config_test dlls/oledb32/tests oledb32_test
18836 wine_fn_config_dll oledlg enable_oledlg
18837 wine_fn_config_test dlls/oledlg/tests oledlg_test
18838 wine_fn_config_dll olepro32 enable_olepro32
18839 wine_fn_config_dll olesvr.dll16 enable_win16
18840 wine_fn_config_dll olesvr32 enable_olesvr32
18841 wine_fn_config_dll olethk32 enable_olethk32
18842 wine_fn_config_dll openal32 enable_openal32
18843 wine_fn_config_dll opencl enable_opencl
18844 wine_fn_config_dll opengl32 enable_opengl32
18845 wine_fn_config_test dlls/opengl32/tests opengl32_test
18846 wine_fn_config_dll packager enable_packager
18847 wine_fn_config_test dlls/packager/tests packager_test
18848 wine_fn_config_dll pdh enable_pdh
18849 wine_fn_config_test dlls/pdh/tests pdh_test
18850 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18851 wine_fn_config_dll pidgen enable_pidgen
18852 wine_fn_config_dll powrprof enable_powrprof
18853 wine_fn_config_dll printui enable_printui
18854 wine_fn_config_dll prntvpt enable_prntvpt
18855 wine_fn_config_dll propsys enable_propsys
18856 wine_fn_config_test dlls/propsys/tests propsys_test
18857 wine_fn_config_dll psapi enable_psapi
18858 wine_fn_config_test dlls/psapi/tests psapi_test
18859 wine_fn_config_dll pstorec enable_pstorec
18860 wine_fn_config_test dlls/pstorec/tests pstorec_test
18861 wine_fn_config_dll qcap enable_qcap
18862 wine_fn_config_test dlls/qcap/tests qcap_test
18863 wine_fn_config_dll qedit enable_qedit
18864 wine_fn_config_test dlls/qedit/tests qedit_test
18865 wine_fn_config_dll qmgr enable_qmgr
18866 wine_fn_config_test dlls/qmgr/tests qmgr_test
18867 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18868 wine_fn_config_dll quartz enable_quartz
18869 wine_fn_config_test dlls/quartz/tests quartz_test
18870 wine_fn_config_dll query enable_query
18871 wine_fn_config_dll rasapi16.dll16 enable_win16
18872 wine_fn_config_dll rasapi32 enable_rasapi32
18873 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18874 wine_fn_config_dll rasdlg enable_rasdlg
18875 wine_fn_config_dll regapi enable_regapi
18876 wine_fn_config_dll resutils enable_resutils
18877 wine_fn_config_dll riched20 enable_riched20
18878 wine_fn_config_test dlls/riched20/tests riched20_test
18879 wine_fn_config_dll riched32 enable_riched32
18880 wine_fn_config_test dlls/riched32/tests riched32_test
18881 wine_fn_config_dll rpcrt4 enable_rpcrt4
18882 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
18883 wine_fn_config_dll rsabase enable_rsabase
18884 wine_fn_config_dll rsaenh enable_rsaenh
18885 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18886 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18887 wine_fn_config_dll rtutils enable_rtutils
18888 wine_fn_config_dll samlib enable_samlib
18889 wine_fn_config_dll sane.ds enable_sane_ds
18890 wine_fn_config_dll sapi enable_sapi
18891 wine_fn_config_test dlls/sapi/tests sapi_test
18892 wine_fn_config_dll scarddlg enable_scarddlg
18893 wine_fn_config_dll sccbase enable_sccbase
18894 wine_fn_config_dll schannel enable_schannel
18895 wine_fn_config_test dlls/schannel/tests schannel_test
18896 wine_fn_config_dll schedsvc enable_schedsvc
18897 wine_fn_config_test dlls/schedsvc/tests schedsvc_test
18898 wine_fn_config_dll scrobj enable_scrobj
18899 wine_fn_config_dll scrrun enable_scrrun
18900 wine_fn_config_test dlls/scrrun/tests scrrun_test
18901 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18902 wine_fn_config_dll secur32 enable_secur32
18903 wine_fn_config_test dlls/secur32/tests secur32_test
18904 wine_fn_config_dll security enable_security
18905 wine_fn_config_dll sensapi enable_sensapi
18906 wine_fn_config_dll serialui enable_serialui
18907 wine_fn_config_test dlls/serialui/tests serialui_test
18908 wine_fn_config_dll setupapi enable_setupapi
18909 wine_fn_config_test dlls/setupapi/tests setupapi_test
18910 wine_fn_config_dll setupx.dll16 enable_win16
18911 wine_fn_config_dll sfc enable_sfc
18912 wine_fn_config_dll sfc_os enable_sfc_os
18913 wine_fn_config_dll shcore enable_shcore
18914 wine_fn_config_dll shdoclc enable_shdoclc
18915 wine_fn_config_dll shdocvw enable_shdocvw
18916 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18917 wine_fn_config_dll shell.dll16 enable_win16
18918 wine_fn_config_dll shell32 enable_shell32
18919 wine_fn_config_test dlls/shell32/tests shell32_test
18920 wine_fn_config_dll shfolder enable_shfolder
18921 wine_fn_config_dll shlwapi enable_shlwapi
18922 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18923 wine_fn_config_dll slbcsp enable_slbcsp
18924 wine_fn_config_dll slc enable_slc
18925 wine_fn_config_test dlls/slc/tests slc_test
18926 wine_fn_config_dll snmpapi enable_snmpapi
18927 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18928 wine_fn_config_dll softpub enable_softpub
18929 wine_fn_config_dll sound.drv16 enable_win16
18930 wine_fn_config_dll spoolss enable_spoolss
18931 wine_fn_config_test dlls/spoolss/tests spoolss_test
18932 wine_fn_config_dll sspicli enable_sspicli
18933 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
18934 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
18935 wine_fn_config_dll sti enable_sti
18936 wine_fn_config_test dlls/sti/tests sti_test
18937 wine_fn_config_dll storage.dll16 enable_win16
18938 wine_fn_config_dll stress.dll16 enable_win16
18939 wine_fn_config_lib strmbase
18940 wine_fn_config_lib strmiids
18941 wine_fn_config_dll svrapi enable_svrapi
18942 wine_fn_config_dll sxs enable_sxs
18943 wine_fn_config_test dlls/sxs/tests sxs_test
18944 wine_fn_config_dll system.drv16 enable_win16
18945 wine_fn_config_dll t2embed enable_t2embed
18946 wine_fn_config_test dlls/t2embed/tests t2embed_test
18947 wine_fn_config_dll tapi32 enable_tapi32
18948 wine_fn_config_dll taskschd enable_taskschd
18949 wine_fn_config_test dlls/taskschd/tests taskschd_test
18950 wine_fn_config_dll tdh enable_tdh
18951 wine_fn_config_dll tdi.sys enable_tdi_sys
18952 wine_fn_config_dll toolhelp.dll16 enable_win16
18953 wine_fn_config_dll traffic enable_traffic
18954 wine_fn_config_dll twain.dll16 enable_win16
18955 wine_fn_config_dll twain_32 enable_twain_32
18956 wine_fn_config_test dlls/twain_32/tests twain_32_test
18957 wine_fn_config_dll typelib.dll16 enable_win16
18958 wine_fn_config_dll ucrtbase enable_ucrtbase
18959 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18960 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18961 wine_fn_config_dll uiribbon enable_uiribbon
18962 wine_fn_config_dll unicows enable_unicows
18963 wine_fn_config_dll updspapi enable_updspapi
18964 wine_fn_config_dll url enable_url
18965 wine_fn_config_dll urlmon enable_urlmon
18966 wine_fn_config_test dlls/urlmon/tests urlmon_test
18967 wine_fn_config_dll usbd.sys enable_usbd_sys
18968 wine_fn_config_dll user.exe16 enable_win16
18969 wine_fn_config_dll user32 enable_user32
18970 wine_fn_config_test dlls/user32/tests user32_test
18971 wine_fn_config_dll userenv enable_userenv
18972 wine_fn_config_test dlls/userenv/tests userenv_test
18973 wine_fn_config_dll usp10 enable_usp10
18974 wine_fn_config_test dlls/usp10/tests usp10_test
18975 wine_fn_config_lib uuid
18976 wine_fn_config_dll uxtheme enable_uxtheme
18977 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18978 wine_fn_config_dll vbscript enable_vbscript
18979 wine_fn_config_test dlls/vbscript/tests vbscript_test
18980 wine_fn_config_dll vcomp enable_vcomp
18981 wine_fn_config_test dlls/vcomp/tests vcomp_test
18982 wine_fn_config_dll vcomp100 enable_vcomp100
18983 wine_fn_config_dll vcomp110 enable_vcomp110
18984 wine_fn_config_dll vcomp120 enable_vcomp120
18985 wine_fn_config_dll vcomp140 enable_vcomp140
18986 wine_fn_config_dll vcomp90 enable_vcomp90
18987 wine_fn_config_dll vcruntime140 enable_vcruntime140
18988 wine_fn_config_dll vdhcp.vxd enable_win16
18989 wine_fn_config_dll vdmdbg enable_vdmdbg
18990 wine_fn_config_dll ver.dll16 enable_win16
18991 wine_fn_config_dll version enable_version
18992 wine_fn_config_test dlls/version/tests version_test
18993 wine_fn_config_dll virtdisk enable_virtdisk
18994 wine_fn_config_dll vmm.vxd enable_win16
18995 wine_fn_config_dll vnbt.vxd enable_win16
18996 wine_fn_config_dll vnetbios.vxd enable_win16
18997 wine_fn_config_dll vssapi enable_vssapi
18998 wine_fn_config_dll vtdapi.vxd enable_win16
18999 wine_fn_config_dll vwin32.vxd enable_win16
19000 wine_fn_config_dll w32skrnl enable_win16
19001 wine_fn_config_dll w32sys.dll16 enable_win16
19002 wine_fn_config_dll wbemdisp enable_wbemdisp
19003 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19004 wine_fn_config_dll wbemprox enable_wbemprox
19005 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19006 wine_fn_config_dll wdscore enable_wdscore
19007 wine_fn_config_dll webservices enable_webservices
19008 wine_fn_config_test dlls/webservices/tests webservices_test
19009 wine_fn_config_dll wer enable_wer
19010 wine_fn_config_test dlls/wer/tests wer_test
19011 wine_fn_config_dll wevtapi enable_wevtapi
19012 wine_fn_config_dll wiaservc enable_wiaservc
19013 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19014 wine_fn_config_dll wimgapi enable_wimgapi
19015 wine_fn_config_dll win32s16.dll16 enable_win16
19016 wine_fn_config_dll win87em.dll16 enable_win16
19017 wine_fn_config_dll winaspi.dll16 enable_win16
19018 wine_fn_config_dll windebug.dll16 enable_win16
19019 wine_fn_config_dll windowscodecs enable_windowscodecs
19020 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19021 wine_fn_config_dll windowscodecsext enable_windowscodecsext
19022 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19023 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19024 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19025 wine_fn_config_dll winebus.sys enable_winebus_sys
19026 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19027 wine_fn_config_lib winecrt0
19028 wine_fn_config_dll wined3d enable_wined3d
19029 wine_fn_config_dll winegstreamer enable_winegstreamer
19030 wine_fn_config_dll winehid.sys enable_winehid_sys
19031 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19032 wine_fn_config_dll winemac.drv enable_winemac_drv
19033 wine_fn_config_dll winemapi enable_winemapi
19034 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19035 wine_fn_config_dll wineps.drv enable_wineps_drv
19036 wine_fn_config_dll wineps16.drv16 enable_win16
19037 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19038 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19039 wine_fn_config_dll winex11.drv enable_winex11_drv
19040 wine_fn_config_dll wing.dll16 enable_win16
19041 wine_fn_config_dll wing32 enable_wing32
19042 wine_fn_config_dll winhttp enable_winhttp
19043 wine_fn_config_test dlls/winhttp/tests winhttp_test
19044 wine_fn_config_dll wininet enable_wininet
19045 wine_fn_config_test dlls/wininet/tests wininet_test
19046 wine_fn_config_dll winmm enable_winmm
19047 wine_fn_config_test dlls/winmm/tests winmm_test
19048 wine_fn_config_dll winnls.dll16 enable_win16
19049 wine_fn_config_dll winnls32 enable_winnls32
19050 wine_fn_config_dll winscard enable_winscard
19051 wine_fn_config_dll winsock.dll16 enable_win16
19052 wine_fn_config_dll winspool.drv enable_winspool_drv
19053 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19054 wine_fn_config_dll winsta enable_winsta
19055 wine_fn_config_dll wintab.dll16 enable_win16
19056 wine_fn_config_dll wintab32 enable_wintab32
19057 wine_fn_config_test dlls/wintab32/tests wintab32_test
19058 wine_fn_config_dll wintrust enable_wintrust
19059 wine_fn_config_test dlls/wintrust/tests wintrust_test
19060 wine_fn_config_dll winusb enable_winusb
19061 wine_fn_config_dll wlanapi enable_wlanapi
19062 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19063 wine_fn_config_dll wldap32 enable_wldap32
19064 wine_fn_config_test dlls/wldap32/tests wldap32_test
19065 wine_fn_config_dll wmasf enable_wmasf
19066 wine_fn_config_dll wmi enable_wmi
19067 wine_fn_config_dll wmiutils enable_wmiutils
19068 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19069 wine_fn_config_dll wmp enable_wmp
19070 wine_fn_config_test dlls/wmp/tests wmp_test
19071 wine_fn_config_dll wmphoto enable_wmphoto
19072 wine_fn_config_dll wmvcore enable_wmvcore
19073 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19074 wine_fn_config_dll wnaspi32 enable_wnaspi32
19075 wine_fn_config_dll wow32 enable_win16
19076 wine_fn_config_dll wpc enable_wpc
19077 wine_fn_config_test dlls/wpc/tests wpc_test
19078 wine_fn_config_dll wpcap enable_wpcap
19079 wine_fn_config_dll ws2_32 enable_ws2_32
19080 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19081 wine_fn_config_dll wsdapi enable_wsdapi
19082 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19083 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19084 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
19085 wine_fn_config_dll wsnmp32 enable_wsnmp32
19086 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19087 wine_fn_config_dll wsock32 enable_wsock32
19088 wine_fn_config_dll wtsapi32 enable_wtsapi32
19089 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19090 wine_fn_config_dll wuapi enable_wuapi
19091 wine_fn_config_dll wuaueng enable_wuaueng
19092 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19093 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19094 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19095 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19096 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19097 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19098 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19099 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19100 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19101 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19102 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19103 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19104 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19105 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19106 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19107 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19108 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19109 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19110 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19111 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19112 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19113 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19114 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19115 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19116 wine_fn_config_dll xinput1_1 enable_xinput1_1
19117 wine_fn_config_dll xinput1_2 enable_xinput1_2
19118 wine_fn_config_dll xinput1_3 enable_xinput1_3
19119 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19120 wine_fn_config_dll xinput1_4 enable_xinput1_4
19121 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19122 wine_fn_config_dll xmllite enable_xmllite
19123 wine_fn_config_test dlls/xmllite/tests xmllite_test
19124 wine_fn_config_dll xolehlp enable_xolehlp
19125 wine_fn_config_dll xpsprint enable_xpsprint
19126 wine_fn_config_dll xpssvcs enable_xpssvcs
19127 wine_fn_config_makefile fonts enable_fonts
19128 wine_fn_config_makefile include enable_include
19129 wine_fn_config_makefile libs/port enable_libs_port
19130 wine_fn_config_makefile libs/wine enable_libs_wine
19131 wine_fn_config_makefile libs/wpp enable_libs_wpp
19132 wine_fn_config_makefile loader enable_loader
19133 wine_fn_config_makefile po enable_po
19134 wine_fn_config_program arp enable_arp
19135 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
19136 wine_fn_config_program attrib enable_attrib
19137 wine_fn_config_program cabarc enable_cabarc
19138 wine_fn_config_program cacls enable_cacls
19139 wine_fn_config_program clock enable_clock
19140 wine_fn_config_program cmd enable_cmd
19141 wine_fn_config_test programs/cmd/tests cmd.exe_test
19142 wine_fn_config_program conhost enable_conhost
19143 wine_fn_config_program control enable_control
19144 wine_fn_config_program cscript enable_cscript
19145 wine_fn_config_program dpnsvr enable_dpnsvr
19146 wine_fn_config_program dxdiag enable_dxdiag
19147 wine_fn_config_program eject enable_eject
19148 wine_fn_config_program expand enable_expand
19149 wine_fn_config_program explorer enable_explorer
19150 wine_fn_config_program extrac32 enable_extrac32
19151 wine_fn_config_program findstr enable_findstr
19152 wine_fn_config_program fsutil enable_fsutil
19153 wine_fn_config_program hh enable_hh
19154 wine_fn_config_program hostname enable_hostname
19155 wine_fn_config_program icacls enable_icacls
19156 wine_fn_config_program icinfo enable_icinfo
19157 wine_fn_config_program iexplore enable_iexplore
19158 wine_fn_config_program ipconfig enable_ipconfig
19159 wine_fn_config_program lodctr enable_lodctr
19160 wine_fn_config_program mofcomp enable_mofcomp
19161 wine_fn_config_program mshta enable_mshta
19162 wine_fn_config_program msiexec enable_msiexec
19163 wine_fn_config_program msinfo32 enable_msinfo32
19164 wine_fn_config_program net enable_net
19165 wine_fn_config_program netsh enable_netsh
19166 wine_fn_config_program netstat enable_netstat
19167 wine_fn_config_program ngen enable_ngen
19168 wine_fn_config_program notepad enable_notepad
19169 wine_fn_config_program oleview enable_oleview
19170 wine_fn_config_program ping enable_ping
19171 wine_fn_config_program plugplay enable_plugplay
19172 wine_fn_config_program powershell enable_powershell
19173 wine_fn_config_program presentationfontcache enable_presentationfontcache
19174 wine_fn_config_program progman enable_progman
19175 wine_fn_config_program reg enable_reg
19176 wine_fn_config_test programs/reg/tests reg.exe_test
19177 wine_fn_config_program regasm enable_regasm
19178 wine_fn_config_program regedit enable_regedit
19179 wine_fn_config_test programs/regedit/tests regedit.exe_test
19180 wine_fn_config_program regsvcs enable_regsvcs
19181 wine_fn_config_program regsvr32 enable_regsvr32
19182 wine_fn_config_program rpcss enable_rpcss
19183 wine_fn_config_program rundll.exe16 enable_win16
19184 wine_fn_config_program rundll32 enable_rundll32
19185 wine_fn_config_program sc enable_sc
19186 wine_fn_config_program schtasks enable_schtasks
19187 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19188 wine_fn_config_program sdbinst enable_sdbinst
19189 wine_fn_config_program secedit enable_secedit
19190 wine_fn_config_program servicemodelreg enable_servicemodelreg
19191 wine_fn_config_program services enable_services
19192 wine_fn_config_test programs/services/tests services.exe_test
19193 wine_fn_config_program shutdown enable_shutdown
19194 wine_fn_config_program spoolsv enable_spoolsv
19195 wine_fn_config_program start enable_start
19196 wine_fn_config_program subst enable_subst
19197 wine_fn_config_program svchost enable_svchost
19198 wine_fn_config_program systeminfo enable_systeminfo
19199 wine_fn_config_program taskkill enable_taskkill
19200 wine_fn_config_program tasklist enable_tasklist
19201 wine_fn_config_program taskmgr enable_taskmgr
19202 wine_fn_config_program termsv enable_termsv
19203 wine_fn_config_program uninstaller enable_uninstaller
19204 wine_fn_config_program unlodctr enable_unlodctr
19205 wine_fn_config_program view enable_view
19206 wine_fn_config_program wevtutil enable_wevtutil
19207 wine_fn_config_program wineboot enable_wineboot
19208 wine_fn_config_program winebrowser enable_winebrowser
19209 wine_fn_config_program winecfg enable_winecfg
19210 wine_fn_config_program wineconsole enable_wineconsole
19211 wine_fn_config_program winedbg enable_winedbg
19212 wine_fn_config_program winedevice enable_winedevice
19213 wine_fn_config_program winefile enable_winefile
19214 wine_fn_config_program winemenubuilder enable_winemenubuilder
19215 wine_fn_config_program winemine enable_winemine
19216 wine_fn_config_program winemsibuilder enable_winemsibuilder
19217 wine_fn_config_program winepath enable_winepath
19218 wine_fn_config_program winetest enable_winetest
19219 wine_fn_config_program winevdm enable_win16
19220 wine_fn_config_program winhelp.exe16 enable_win16
19221 wine_fn_config_program winhlp32 enable_winhlp32
19222 wine_fn_config_program winoldap.mod16 enable_win16
19223 wine_fn_config_program winver enable_winver
19224 wine_fn_config_program wmic enable_wmic
19225 wine_fn_config_program wmplayer enable_wmplayer
19226 wine_fn_config_program wordpad enable_wordpad
19227 wine_fn_config_program write enable_write
19228 wine_fn_config_program wscript enable_wscript
19229 wine_fn_config_test programs/wscript/tests wscript.exe_test
19230 wine_fn_config_program wusa enable_wusa
19231 wine_fn_config_program xcopy enable_xcopy
19232 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19233 wine_fn_config_makefile server enable_server
19234 wine_fn_config_tool tools
19235 wine_fn_config_tool tools/sfnt2fon
19236 wine_fn_config_tool tools/widl
19237 wine_fn_config_tool tools/winebuild
19238 wine_fn_config_tool tools/winedump
19239 wine_fn_config_tool tools/winegcc
19240 wine_fn_config_tool tools/winemaker
19241 wine_fn_config_tool tools/wmc
19242 wine_fn_config_tool tools/wrc
19245 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19246 wine_fn_append_file CONFIGURE_TARGETS "tags"
19247 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19248 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19249 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19250 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19251 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19252 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19254 if test "x$enable_tools" != xno
19255 then
19256 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19257 ac_config_commands="$ac_config_commands tools/makedep"
19261 ac_config_commands="$ac_config_commands Makefile"
19264 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19268 if test "x$enable_maintainer_mode" = xyes
19269 then
19270 wine_fn_append_rule "configure: configure.ac aclocal.m4
19271 autoconf --warnings=all
19272 include/config.h.in: include/stamp-h.in
19273 include/stamp-h.in: configure.ac aclocal.m4
19274 autoheader --warnings=all
19275 @echo timestamp > \$@"
19278 if test "x$enable_tools" != xno
19279 then
19280 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19281 @./config.status tools/makedep
19282 Makefile: tools/makedep$ac_exeext"
19283 else
19284 wine_fn_append_rule "\$(MAKEDEP):
19285 @echo \"You need to run make in $TOOLSDIR first\" && false"
19288 if test -n "$with_wine64"
19289 then
19290 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19291 fonts server:
19292 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19293 $with_wine64/loader/wine:
19294 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19295 $with_wine64/loader/wine-preloader:
19296 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19297 clean::
19298 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19299 else
19300 WINELOADER_INSTALL="wine.inf l_intl.nls"
19302 case $host_os in
19303 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19304 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19305 esac
19308 $as_echo " done" >&6
19309 cat >confcache <<\_ACEOF
19310 # This file is a shell script that caches the results of configure
19311 # tests run on this system so they can be shared between configure
19312 # scripts and configure runs, see configure's option --config-cache.
19313 # It is not useful on other systems. If it contains results you don't
19314 # want to keep, you may remove or edit it.
19316 # config.status only pays attention to the cache file if you give it
19317 # the --recheck option to rerun configure.
19319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19321 # following values.
19323 _ACEOF
19325 # The following way of writing the cache mishandles newlines in values,
19326 # but we know of no workaround that is simple, portable, and efficient.
19327 # So, we kill variables containing newlines.
19328 # Ultrix sh set writes to stderr and can't be redirected directly,
19329 # and sets the high bit in the cache file unless we assign to the vars.
19331 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19332 eval ac_val=\$$ac_var
19333 case $ac_val in #(
19334 *${as_nl}*)
19335 case $ac_var in #(
19336 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19337 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19338 esac
19339 case $ac_var in #(
19340 _ | IFS | as_nl) ;; #(
19341 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19342 *) { eval $ac_var=; unset $ac_var;} ;;
19343 esac ;;
19344 esac
19345 done
19347 (set) 2>&1 |
19348 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19349 *${as_nl}ac_space=\ *)
19350 # `set' does not quote correctly, so add quotes: double-quote
19351 # substitution turns \\\\ into \\, and sed turns \\ into \.
19352 sed -n \
19353 "s/'/'\\\\''/g;
19354 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19355 ;; #(
19357 # `set' quotes correctly as required by POSIX, so do not add quotes.
19358 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19360 esac |
19361 sort
19363 sed '
19364 /^ac_cv_env_/b end
19365 t clear
19366 :clear
19367 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19368 t end
19369 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19370 :end' >>confcache
19371 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19372 if test -w "$cache_file"; then
19373 if test "x$cache_file" != "x/dev/null"; then
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19375 $as_echo "$as_me: updating cache $cache_file" >&6;}
19376 if test ! -f "$cache_file" || test -h "$cache_file"; then
19377 cat confcache >"$cache_file"
19378 else
19379 case $cache_file in #(
19380 */* | ?:*)
19381 mv -f confcache "$cache_file"$$ &&
19382 mv -f "$cache_file"$$ "$cache_file" ;; #(
19384 mv -f confcache "$cache_file" ;;
19385 esac
19388 else
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19390 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19393 rm -f confcache
19395 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19396 # Let make expand exec_prefix.
19397 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19399 DEFS=-DHAVE_CONFIG_H
19401 ac_libobjs=
19402 ac_ltlibobjs=
19404 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19405 # 1. Remove the extension, and $U if already installed.
19406 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19407 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19408 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19409 # will be set to the directory where LIBOBJS objects are built.
19410 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19411 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19412 done
19413 LIBOBJS=$ac_libobjs
19415 LTLIBOBJS=$ac_ltlibobjs
19419 : "${CONFIG_STATUS=./config.status}"
19420 ac_write_fail=0
19421 ac_clean_files_save=$ac_clean_files
19422 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19424 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19425 as_write_fail=0
19426 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19427 #! $SHELL
19428 # Generated by $as_me.
19429 # Run this file to recreate the current configuration.
19430 # Compiler output produced by configure, useful for debugging
19431 # configure, is in config.log if it exists.
19433 debug=false
19434 ac_cs_recheck=false
19435 ac_cs_silent=false
19437 SHELL=\${CONFIG_SHELL-$SHELL}
19438 export SHELL
19439 _ASEOF
19440 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19441 ## -------------------- ##
19442 ## M4sh Initialization. ##
19443 ## -------------------- ##
19445 # Be more Bourne compatible
19446 DUALCASE=1; export DUALCASE # for MKS sh
19447 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19448 emulate sh
19449 NULLCMD=:
19450 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19451 # is contrary to our usage. Disable this feature.
19452 alias -g '${1+"$@"}'='"$@"'
19453 setopt NO_GLOB_SUBST
19454 else
19455 case `(set -o) 2>/dev/null` in #(
19456 *posix*) :
19457 set -o posix ;; #(
19458 *) :
19460 esac
19464 as_nl='
19466 export as_nl
19467 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19468 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19469 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19470 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19471 # Prefer a ksh shell builtin over an external printf program on Solaris,
19472 # but without wasting forks for bash or zsh.
19473 if test -z "$BASH_VERSION$ZSH_VERSION" \
19474 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19475 as_echo='print -r --'
19476 as_echo_n='print -rn --'
19477 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19478 as_echo='printf %s\n'
19479 as_echo_n='printf %s'
19480 else
19481 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19482 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19483 as_echo_n='/usr/ucb/echo -n'
19484 else
19485 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19486 as_echo_n_body='eval
19487 arg=$1;
19488 case $arg in #(
19489 *"$as_nl"*)
19490 expr "X$arg" : "X\\(.*\\)$as_nl";
19491 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19492 esac;
19493 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19495 export as_echo_n_body
19496 as_echo_n='sh -c $as_echo_n_body as_echo'
19498 export as_echo_body
19499 as_echo='sh -c $as_echo_body as_echo'
19502 # The user is always right.
19503 if test "${PATH_SEPARATOR+set}" != set; then
19504 PATH_SEPARATOR=:
19505 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19506 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19507 PATH_SEPARATOR=';'
19512 # IFS
19513 # We need space, tab and new line, in precisely that order. Quoting is
19514 # there to prevent editors from complaining about space-tab.
19515 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19516 # splitting by setting IFS to empty value.)
19517 IFS=" "" $as_nl"
19519 # Find who we are. Look in the path if we contain no directory separator.
19520 as_myself=
19521 case $0 in #((
19522 *[\\/]* ) as_myself=$0 ;;
19523 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19524 for as_dir in $PATH
19526 IFS=$as_save_IFS
19527 test -z "$as_dir" && as_dir=.
19528 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19529 done
19530 IFS=$as_save_IFS
19533 esac
19534 # We did not find ourselves, most probably we were run as `sh COMMAND'
19535 # in which case we are not to be found in the path.
19536 if test "x$as_myself" = x; then
19537 as_myself=$0
19539 if test ! -f "$as_myself"; then
19540 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19541 exit 1
19544 # Unset variables that we do not need and which cause bugs (e.g. in
19545 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19546 # suppresses any "Segmentation fault" message there. '((' could
19547 # trigger a bug in pdksh 5.2.14.
19548 for as_var in BASH_ENV ENV MAIL MAILPATH
19549 do eval test x\${$as_var+set} = xset \
19550 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19551 done
19552 PS1='$ '
19553 PS2='> '
19554 PS4='+ '
19556 # NLS nuisances.
19557 LC_ALL=C
19558 export LC_ALL
19559 LANGUAGE=C
19560 export LANGUAGE
19562 # CDPATH.
19563 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19566 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19567 # ----------------------------------------
19568 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19569 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19570 # script with STATUS, using 1 if that was 0.
19571 as_fn_error ()
19573 as_status=$1; test $as_status -eq 0 && as_status=1
19574 if test "$4"; then
19575 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19576 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19578 $as_echo "$as_me: error: $2" >&2
19579 as_fn_exit $as_status
19580 } # as_fn_error
19583 # as_fn_set_status STATUS
19584 # -----------------------
19585 # Set $? to STATUS, without forking.
19586 as_fn_set_status ()
19588 return $1
19589 } # as_fn_set_status
19591 # as_fn_exit STATUS
19592 # -----------------
19593 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19594 as_fn_exit ()
19596 set +e
19597 as_fn_set_status $1
19598 exit $1
19599 } # as_fn_exit
19601 # as_fn_unset VAR
19602 # ---------------
19603 # Portably unset VAR.
19604 as_fn_unset ()
19606 { eval $1=; unset $1;}
19608 as_unset=as_fn_unset
19609 # as_fn_append VAR VALUE
19610 # ----------------------
19611 # Append the text in VALUE to the end of the definition contained in VAR. Take
19612 # advantage of any shell optimizations that allow amortized linear growth over
19613 # repeated appends, instead of the typical quadratic growth present in naive
19614 # implementations.
19615 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19616 eval 'as_fn_append ()
19618 eval $1+=\$2
19620 else
19621 as_fn_append ()
19623 eval $1=\$$1\$2
19625 fi # as_fn_append
19627 # as_fn_arith ARG...
19628 # ------------------
19629 # Perform arithmetic evaluation on the ARGs, and store the result in the
19630 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19631 # must be portable across $(()) and expr.
19632 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19633 eval 'as_fn_arith ()
19635 as_val=$(( $* ))
19637 else
19638 as_fn_arith ()
19640 as_val=`expr "$@" || test $? -eq 1`
19642 fi # as_fn_arith
19645 if expr a : '\(a\)' >/dev/null 2>&1 &&
19646 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19647 as_expr=expr
19648 else
19649 as_expr=false
19652 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19653 as_basename=basename
19654 else
19655 as_basename=false
19658 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19659 as_dirname=dirname
19660 else
19661 as_dirname=false
19664 as_me=`$as_basename -- "$0" ||
19665 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19666 X"$0" : 'X\(//\)$' \| \
19667 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19668 $as_echo X/"$0" |
19669 sed '/^.*\/\([^/][^/]*\)\/*$/{
19670 s//\1/
19673 /^X\/\(\/\/\)$/{
19674 s//\1/
19677 /^X\/\(\/\).*/{
19678 s//\1/
19681 s/.*/./; q'`
19683 # Avoid depending upon Character Ranges.
19684 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19685 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19686 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19687 as_cr_digits='0123456789'
19688 as_cr_alnum=$as_cr_Letters$as_cr_digits
19690 ECHO_C= ECHO_N= ECHO_T=
19691 case `echo -n x` in #(((((
19692 -n*)
19693 case `echo 'xy\c'` in
19694 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19695 xy) ECHO_C='\c';;
19696 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19697 ECHO_T=' ';;
19698 esac;;
19700 ECHO_N='-n';;
19701 esac
19703 rm -f conf$$ conf$$.exe conf$$.file
19704 if test -d conf$$.dir; then
19705 rm -f conf$$.dir/conf$$.file
19706 else
19707 rm -f conf$$.dir
19708 mkdir conf$$.dir 2>/dev/null
19710 if (echo >conf$$.file) 2>/dev/null; then
19711 if ln -s conf$$.file conf$$ 2>/dev/null; then
19712 as_ln_s='ln -s'
19713 # ... but there are two gotchas:
19714 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19715 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19716 # In both cases, we have to default to `cp -pR'.
19717 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19718 as_ln_s='cp -pR'
19719 elif ln conf$$.file conf$$ 2>/dev/null; then
19720 as_ln_s=ln
19721 else
19722 as_ln_s='cp -pR'
19724 else
19725 as_ln_s='cp -pR'
19727 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19728 rmdir conf$$.dir 2>/dev/null
19731 # as_fn_mkdir_p
19732 # -------------
19733 # Create "$as_dir" as a directory, including parents if necessary.
19734 as_fn_mkdir_p ()
19737 case $as_dir in #(
19738 -*) as_dir=./$as_dir;;
19739 esac
19740 test -d "$as_dir" || eval $as_mkdir_p || {
19741 as_dirs=
19742 while :; do
19743 case $as_dir in #(
19744 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19745 *) as_qdir=$as_dir;;
19746 esac
19747 as_dirs="'$as_qdir' $as_dirs"
19748 as_dir=`$as_dirname -- "$as_dir" ||
19749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19750 X"$as_dir" : 'X\(//\)[^/]' \| \
19751 X"$as_dir" : 'X\(//\)$' \| \
19752 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19753 $as_echo X"$as_dir" |
19754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19755 s//\1/
19758 /^X\(\/\/\)[^/].*/{
19759 s//\1/
19762 /^X\(\/\/\)$/{
19763 s//\1/
19766 /^X\(\/\).*/{
19767 s//\1/
19770 s/.*/./; q'`
19771 test -d "$as_dir" && break
19772 done
19773 test -z "$as_dirs" || eval "mkdir $as_dirs"
19774 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19777 } # as_fn_mkdir_p
19778 if mkdir -p . 2>/dev/null; then
19779 as_mkdir_p='mkdir -p "$as_dir"'
19780 else
19781 test -d ./-p && rmdir ./-p
19782 as_mkdir_p=false
19786 # as_fn_executable_p FILE
19787 # -----------------------
19788 # Test if FILE is an executable regular file.
19789 as_fn_executable_p ()
19791 test -f "$1" && test -x "$1"
19792 } # as_fn_executable_p
19793 as_test_x='test -x'
19794 as_executable_p=as_fn_executable_p
19796 # Sed expression to map a string onto a valid CPP name.
19797 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19799 # Sed expression to map a string onto a valid variable name.
19800 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19803 exec 6>&1
19804 ## ----------------------------------- ##
19805 ## Main body of $CONFIG_STATUS script. ##
19806 ## ----------------------------------- ##
19807 _ASEOF
19808 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19811 # Save the log message, to keep $0 and so on meaningful, and to
19812 # report actual input values of CONFIG_FILES etc. instead of their
19813 # values after options handling.
19814 ac_log="
19815 This file was extended by Wine $as_me 3.2, which was
19816 generated by GNU Autoconf 2.69. Invocation command line was
19818 CONFIG_FILES = $CONFIG_FILES
19819 CONFIG_HEADERS = $CONFIG_HEADERS
19820 CONFIG_LINKS = $CONFIG_LINKS
19821 CONFIG_COMMANDS = $CONFIG_COMMANDS
19822 $ $0 $@
19824 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19827 _ACEOF
19829 case $ac_config_files in *"
19830 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19831 esac
19833 case $ac_config_headers in *"
19834 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19835 esac
19838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19839 # Files that config.status was made for.
19840 config_files="$ac_config_files"
19841 config_headers="$ac_config_headers"
19842 config_links="$ac_config_links"
19843 config_commands="$ac_config_commands"
19845 _ACEOF
19847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19848 ac_cs_usage="\
19849 \`$as_me' instantiates files and other configuration actions
19850 from templates according to the current configuration. Unless the files
19851 and actions are specified as TAGs, all are instantiated by default.
19853 Usage: $0 [OPTION]... [TAG]...
19855 -h, --help print this help, then exit
19856 -V, --version print version number and configuration settings, then exit
19857 --config print configuration, then exit
19858 -q, --quiet, --silent
19859 do not print progress messages
19860 -d, --debug don't remove temporary files
19861 --recheck update $as_me by reconfiguring in the same conditions
19862 --file=FILE[:TEMPLATE]
19863 instantiate the configuration file FILE
19864 --header=FILE[:TEMPLATE]
19865 instantiate the configuration header FILE
19867 Configuration files:
19868 $config_files
19870 Configuration headers:
19871 $config_headers
19873 Configuration links:
19874 $config_links
19876 Configuration commands:
19877 $config_commands
19879 Report bugs to <wine-devel@winehq.org>.
19880 Wine home page: <https://www.winehq.org>."
19882 _ACEOF
19883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19884 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19885 ac_cs_version="\\
19886 Wine config.status 3.2
19887 configured by $0, generated by GNU Autoconf 2.69,
19888 with options \\"\$ac_cs_config\\"
19890 Copyright (C) 2012 Free Software Foundation, Inc.
19891 This config.status script is free software; the Free Software Foundation
19892 gives unlimited permission to copy, distribute and modify it."
19894 ac_pwd='$ac_pwd'
19895 srcdir='$srcdir'
19896 test -n "\$AWK" || AWK=awk
19897 _ACEOF
19899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19900 # The default lists apply if the user does not specify any file.
19901 ac_need_defaults=:
19902 while test $# != 0
19904 case $1 in
19905 --*=?*)
19906 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19907 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19908 ac_shift=:
19910 --*=)
19911 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19912 ac_optarg=
19913 ac_shift=:
19916 ac_option=$1
19917 ac_optarg=$2
19918 ac_shift=shift
19920 esac
19922 case $ac_option in
19923 # Handling of the options.
19924 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19925 ac_cs_recheck=: ;;
19926 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19927 $as_echo "$ac_cs_version"; exit ;;
19928 --config | --confi | --conf | --con | --co | --c )
19929 $as_echo "$ac_cs_config"; exit ;;
19930 --debug | --debu | --deb | --de | --d | -d )
19931 debug=: ;;
19932 --file | --fil | --fi | --f )
19933 $ac_shift
19934 case $ac_optarg in
19935 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19936 '') as_fn_error $? "missing file argument" ;;
19937 esac
19938 as_fn_append CONFIG_FILES " '$ac_optarg'"
19939 ac_need_defaults=false;;
19940 --header | --heade | --head | --hea )
19941 $ac_shift
19942 case $ac_optarg in
19943 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19944 esac
19945 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19946 ac_need_defaults=false;;
19947 --he | --h)
19948 # Conflict between --help and --header
19949 as_fn_error $? "ambiguous option: \`$1'
19950 Try \`$0 --help' for more information.";;
19951 --help | --hel | -h )
19952 $as_echo "$ac_cs_usage"; exit ;;
19953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19954 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19955 ac_cs_silent=: ;;
19957 # This is an error.
19958 -*) as_fn_error $? "unrecognized option: \`$1'
19959 Try \`$0 --help' for more information." ;;
19961 *) as_fn_append ac_config_targets " $1"
19962 ac_need_defaults=false ;;
19964 esac
19965 shift
19966 done
19968 ac_configure_extra_args=
19970 if $ac_cs_silent; then
19971 exec 6>/dev/null
19972 ac_configure_extra_args="$ac_configure_extra_args --silent"
19975 _ACEOF
19976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19977 if \$ac_cs_recheck; then
19978 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19979 shift
19980 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19981 CONFIG_SHELL='$SHELL'
19982 export CONFIG_SHELL
19983 exec "\$@"
19986 _ACEOF
19987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19988 exec 5>>config.log
19990 echo
19991 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19992 ## Running $as_me. ##
19993 _ASBOX
19994 $as_echo "$ac_log"
19995 } >&5
19997 _ACEOF
19998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20000 # INIT-COMMANDS
20002 wine_fn_output_makedep ()
20004 as_dir=tools; as_fn_mkdir_p
20005 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20007 wine_fn_output_makefile ()
20009 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20010 `cat $wine_rules_file`
20011 _WINE_EOF
20012 as_fn_error $? "could not create Makefile" "$LINENO" 5
20015 _ACEOF
20017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20019 # Handling of arguments.
20020 for ac_config_target in $ac_config_targets
20022 case $ac_config_target in
20023 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20024 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20025 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20026 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20027 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20028 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20029 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20030 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20031 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20032 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20033 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20034 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20035 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20037 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20038 esac
20039 done
20042 # If the user did not use the arguments to specify the items to instantiate,
20043 # then the envvar interface is used. Set only those that are not.
20044 # We use the long form for the default assignment because of an extremely
20045 # bizarre bug on SunOS 4.1.3.
20046 if $ac_need_defaults; then
20047 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20048 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20049 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20050 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20053 # Have a temporary directory for convenience. Make it in the build tree
20054 # simply because there is no reason against having it here, and in addition,
20055 # creating and moving files from /tmp can sometimes cause problems.
20056 # Hook for its removal unless debugging.
20057 # Note that there is a small window in which the directory will not be cleaned:
20058 # after its creation but before its name has been assigned to `$tmp'.
20059 $debug ||
20061 tmp= ac_tmp=
20062 trap 'exit_status=$?
20063 : "${ac_tmp:=$tmp}"
20064 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20066 trap 'as_fn_exit 1' 1 2 13 15
20068 # Create a (secure) tmp directory for tmp files.
20071 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20072 test -d "$tmp"
20073 } ||
20075 tmp=./conf$$-$RANDOM
20076 (umask 077 && mkdir "$tmp")
20077 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20078 ac_tmp=$tmp
20080 # Set up the scripts for CONFIG_FILES section.
20081 # No need to generate them if there are no CONFIG_FILES.
20082 # This happens for instance with `./config.status config.h'.
20083 if test -n "$CONFIG_FILES"; then
20086 ac_cr=`echo X | tr X '\015'`
20087 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20088 # But we know of no other shell where ac_cr would be empty at this
20089 # point, so we can use a bashism as a fallback.
20090 if test "x$ac_cr" = x; then
20091 eval ac_cr=\$\'\\r\'
20093 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20094 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20095 ac_cs_awk_cr='\\r'
20096 else
20097 ac_cs_awk_cr=$ac_cr
20100 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20101 _ACEOF
20105 echo "cat >conf$$subs.awk <<_ACEOF" &&
20106 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20107 echo "_ACEOF"
20108 } >conf$$subs.sh ||
20109 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20110 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20111 ac_delim='%!_!# '
20112 for ac_last_try in false false false false false :; do
20113 . ./conf$$subs.sh ||
20114 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20116 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20117 if test $ac_delim_n = $ac_delim_num; then
20118 break
20119 elif $ac_last_try; then
20120 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20121 else
20122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20124 done
20125 rm -f conf$$subs.sh
20127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20128 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20129 _ACEOF
20130 sed -n '
20132 s/^/S["/; s/!.*/"]=/
20135 s/^[^!]*!//
20136 :repl
20137 t repl
20138 s/'"$ac_delim"'$//
20139 t delim
20142 s/\(.\{148\}\)..*/\1/
20143 t more1
20144 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20147 b repl
20148 :more1
20149 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20152 s/.\{148\}//
20153 t nl
20154 :delim
20156 s/\(.\{148\}\)..*/\1/
20157 t more2
20158 s/["\\]/\\&/g; s/^/"/; s/$/"/
20161 :more2
20162 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20165 s/.\{148\}//
20166 t delim
20167 ' <conf$$subs.awk | sed '
20168 /^[^""]/{
20170 s/\n//
20172 ' >>$CONFIG_STATUS || ac_write_fail=1
20173 rm -f conf$$subs.awk
20174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20175 _ACAWK
20176 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20177 for (key in S) S_is_set[key] = 1
20178 FS = "\a"
20182 line = $ 0
20183 nfields = split(line, field, "@")
20184 substed = 0
20185 len = length(field[1])
20186 for (i = 2; i < nfields; i++) {
20187 key = field[i]
20188 keylen = length(key)
20189 if (S_is_set[key]) {
20190 value = S[key]
20191 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20192 len += length(value) + length(field[++i])
20193 substed = 1
20194 } else
20195 len += 1 + keylen
20198 print line
20201 _ACAWK
20202 _ACEOF
20203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20204 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20205 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20206 else
20208 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20209 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20210 _ACEOF
20212 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20213 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20214 # trailing colons and then remove the whole line if VPATH becomes empty
20215 # (actually we leave an empty line to preserve line numbers).
20216 if test "x$srcdir" = x.; then
20217 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20219 s///
20220 s/^/:/
20221 s/[ ]*$/:/
20222 s/:\$(srcdir):/:/g
20223 s/:\${srcdir}:/:/g
20224 s/:@srcdir@:/:/g
20225 s/^:*//
20226 s/:*$//
20228 s/\(=[ ]*\).*/\1/
20230 s/\n//
20231 s/^[^=]*=[ ]*$//
20235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20236 fi # test -n "$CONFIG_FILES"
20238 # Set up the scripts for CONFIG_HEADERS section.
20239 # No need to generate them if there are no CONFIG_HEADERS.
20240 # This happens for instance with `./config.status Makefile'.
20241 if test -n "$CONFIG_HEADERS"; then
20242 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20243 BEGIN {
20244 _ACEOF
20246 # Transform confdefs.h into an awk script `defines.awk', embedded as
20247 # here-document in config.status, that substitutes the proper values into
20248 # config.h.in to produce config.h.
20250 # Create a delimiter string that does not exist in confdefs.h, to ease
20251 # handling of long lines.
20252 ac_delim='%!_!# '
20253 for ac_last_try in false false :; do
20254 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20255 if test -z "$ac_tt"; then
20256 break
20257 elif $ac_last_try; then
20258 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20259 else
20260 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20262 done
20264 # For the awk script, D is an array of macro values keyed by name,
20265 # likewise P contains macro parameters if any. Preserve backslash
20266 # newline sequences.
20268 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20269 sed -n '
20270 s/.\{148\}/&'"$ac_delim"'/g
20271 t rset
20272 :rset
20273 s/^[ ]*#[ ]*define[ ][ ]*/ /
20274 t def
20276 :def
20277 s/\\$//
20278 t bsnl
20279 s/["\\]/\\&/g
20280 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20281 D["\1"]=" \3"/p
20282 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20284 :bsnl
20285 s/["\\]/\\&/g
20286 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20287 D["\1"]=" \3\\\\\\n"\\/p
20288 t cont
20289 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20290 t cont
20292 :cont
20294 s/.\{148\}/&'"$ac_delim"'/g
20295 t clear
20296 :clear
20297 s/\\$//
20298 t bsnlc
20299 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20301 :bsnlc
20302 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20303 b cont
20304 ' <confdefs.h | sed '
20305 s/'"$ac_delim"'/"\\\
20306 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20309 for (key in D) D_is_set[key] = 1
20310 FS = "\a"
20312 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20313 line = \$ 0
20314 split(line, arg, " ")
20315 if (arg[1] == "#") {
20316 defundef = arg[2]
20317 mac1 = arg[3]
20318 } else {
20319 defundef = substr(arg[1], 2)
20320 mac1 = arg[2]
20322 split(mac1, mac2, "(") #)
20323 macro = mac2[1]
20324 prefix = substr(line, 1, index(line, defundef) - 1)
20325 if (D_is_set[macro]) {
20326 # Preserve the white space surrounding the "#".
20327 print prefix "define", macro P[macro] D[macro]
20328 next
20329 } else {
20330 # Replace #undef with comments. This is necessary, for example,
20331 # in the case of _POSIX_SOURCE, which is predefined and required
20332 # on some systems where configure will not decide to define it.
20333 if (defundef == "undef") {
20334 print "/*", prefix defundef, macro, "*/"
20335 next
20339 { print }
20340 _ACAWK
20341 _ACEOF
20342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20343 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20344 fi # test -n "$CONFIG_HEADERS"
20347 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20348 shift
20349 for ac_tag
20351 case $ac_tag in
20352 :[FHLC]) ac_mode=$ac_tag; continue;;
20353 esac
20354 case $ac_mode$ac_tag in
20355 :[FHL]*:*);;
20356 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20357 :[FH]-) ac_tag=-:-;;
20358 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20359 esac
20360 ac_save_IFS=$IFS
20361 IFS=:
20362 set x $ac_tag
20363 IFS=$ac_save_IFS
20364 shift
20365 ac_file=$1
20366 shift
20368 case $ac_mode in
20369 :L) ac_source=$1;;
20370 :[FH])
20371 ac_file_inputs=
20372 for ac_f
20374 case $ac_f in
20375 -) ac_f="$ac_tmp/stdin";;
20376 *) # Look for the file first in the build tree, then in the source tree
20377 # (if the path is not absolute). The absolute path cannot be DOS-style,
20378 # because $ac_f cannot contain `:'.
20379 test -f "$ac_f" ||
20380 case $ac_f in
20381 [\\/$]*) false;;
20382 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20383 esac ||
20384 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20385 esac
20386 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20387 as_fn_append ac_file_inputs " '$ac_f'"
20388 done
20390 # Let's still pretend it is `configure' which instantiates (i.e., don't
20391 # use $as_me), people would be surprised to read:
20392 # /* config.h. Generated by config.status. */
20393 configure_input='Generated from '`
20394 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20395 `' by configure.'
20396 if test x"$ac_file" != x-; then
20397 configure_input="$ac_file. $configure_input"
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20399 $as_echo "$as_me: creating $ac_file" >&6;}
20401 # Neutralize special characters interpreted by sed in replacement strings.
20402 case $configure_input in #(
20403 *\&* | *\|* | *\\* )
20404 ac_sed_conf_input=`$as_echo "$configure_input" |
20405 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20406 *) ac_sed_conf_input=$configure_input;;
20407 esac
20409 case $ac_tag in
20410 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20411 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20412 esac
20414 esac
20416 ac_dir=`$as_dirname -- "$ac_file" ||
20417 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20418 X"$ac_file" : 'X\(//\)[^/]' \| \
20419 X"$ac_file" : 'X\(//\)$' \| \
20420 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20421 $as_echo X"$ac_file" |
20422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20423 s//\1/
20426 /^X\(\/\/\)[^/].*/{
20427 s//\1/
20430 /^X\(\/\/\)$/{
20431 s//\1/
20434 /^X\(\/\).*/{
20435 s//\1/
20438 s/.*/./; q'`
20439 as_dir="$ac_dir"; as_fn_mkdir_p
20440 ac_builddir=.
20442 case "$ac_dir" in
20443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20446 # A ".." for each directory in $ac_dir_suffix.
20447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20448 case $ac_top_builddir_sub in
20449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20451 esac ;;
20452 esac
20453 ac_abs_top_builddir=$ac_pwd
20454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20455 # for backward compatibility:
20456 ac_top_builddir=$ac_top_build_prefix
20458 case $srcdir in
20459 .) # We are building in place.
20460 ac_srcdir=.
20461 ac_top_srcdir=$ac_top_builddir_sub
20462 ac_abs_top_srcdir=$ac_pwd ;;
20463 [\\/]* | ?:[\\/]* ) # Absolute name.
20464 ac_srcdir=$srcdir$ac_dir_suffix;
20465 ac_top_srcdir=$srcdir
20466 ac_abs_top_srcdir=$srcdir ;;
20467 *) # Relative name.
20468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20469 ac_top_srcdir=$ac_top_build_prefix$srcdir
20470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20471 esac
20472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20475 case $ac_mode in
20478 # CONFIG_FILE
20481 _ACEOF
20483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20484 # If the template does not know about datarootdir, expand it.
20485 # FIXME: This hack should be removed a few years after 2.60.
20486 ac_datarootdir_hack=; ac_datarootdir_seen=
20487 ac_sed_dataroot='
20488 /datarootdir/ {
20492 /@datadir@/p
20493 /@docdir@/p
20494 /@infodir@/p
20495 /@localedir@/p
20496 /@mandir@/p'
20497 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20498 *datarootdir*) ac_datarootdir_seen=yes;;
20499 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20501 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20502 _ACEOF
20503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20504 ac_datarootdir_hack='
20505 s&@datadir@&$datadir&g
20506 s&@docdir@&$docdir&g
20507 s&@infodir@&$infodir&g
20508 s&@localedir@&$localedir&g
20509 s&@mandir@&$mandir&g
20510 s&\\\${datarootdir}&$datarootdir&g' ;;
20511 esac
20512 _ACEOF
20514 # Neutralize VPATH when `$srcdir' = `.'.
20515 # Shell code in configure.ac might set extrasub.
20516 # FIXME: do we really want to maintain this feature?
20517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20518 ac_sed_extra="$ac_vpsub
20519 $extrasub
20520 _ACEOF
20521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20524 s|@configure_input@|$ac_sed_conf_input|;t t
20525 s&@top_builddir@&$ac_top_builddir_sub&;t t
20526 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20527 s&@srcdir@&$ac_srcdir&;t t
20528 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20529 s&@top_srcdir@&$ac_top_srcdir&;t t
20530 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20531 s&@builddir@&$ac_builddir&;t t
20532 s&@abs_builddir@&$ac_abs_builddir&;t t
20533 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20534 $ac_datarootdir_hack
20536 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20537 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20539 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20540 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20541 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20542 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20544 which seems to be undefined. Please make sure it is defined" >&5
20545 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20546 which seems to be undefined. Please make sure it is defined" >&2;}
20548 rm -f "$ac_tmp/stdin"
20549 case $ac_file in
20550 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20551 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20552 esac \
20553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20557 # CONFIG_HEADER
20559 if test x"$ac_file" != x-; then
20561 $as_echo "/* $configure_input */" \
20562 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20563 } >"$ac_tmp/config.h" \
20564 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20565 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20567 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20568 else
20569 rm -f "$ac_file"
20570 mv "$ac_tmp/config.h" "$ac_file" \
20571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20573 else
20574 $as_echo "/* $configure_input */" \
20575 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20576 || as_fn_error $? "could not create -" "$LINENO" 5
20581 # CONFIG_LINK
20584 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20586 else
20587 # Prefer the file from the source tree if names are identical.
20588 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20589 ac_source=$srcdir/$ac_source
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20593 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20595 if test ! -r "$ac_source"; then
20596 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20598 rm -f "$ac_file"
20600 # Try a relative symlink, then a hard link, then a copy.
20601 case $ac_source in
20602 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20603 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20604 esac
20605 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20606 ln "$ac_source" "$ac_file" 2>/dev/null ||
20607 cp -p "$ac_source" "$ac_file" ||
20608 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20611 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20612 $as_echo "$as_me: executing $ac_file commands" >&6;}
20614 esac
20617 case $ac_file$ac_mode in
20618 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20619 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20620 "Makefile":C) wine_fn_output_makefile Makefile ;;
20622 esac
20623 done # for ac_tag
20626 as_fn_exit 0
20627 _ACEOF
20628 ac_clean_files=$ac_clean_files_save
20630 test $ac_write_fail = 0 ||
20631 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20634 # configure is writing to config.log, and then calls config.status.
20635 # config.status does its own redirection, appending to config.log.
20636 # Unfortunately, on DOS this fails, as config.log is still kept open
20637 # by configure, so config.status won't be able to write to it; its
20638 # output is simply discarded. So we exec the FD to /dev/null,
20639 # effectively closing config.log, so it can be properly (re)opened and
20640 # appended to by config.status. When coming back to configure, we
20641 # need to make the FD available again.
20642 if test "$no_create" != yes; then
20643 ac_cs_success=:
20644 ac_config_status_args=
20645 test "$silent" = yes &&
20646 ac_config_status_args="$ac_config_status_args --quiet"
20647 exec 5>/dev/null
20648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20649 exec 5>>config.log
20650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20651 # would make configure fail if this is the last instruction.
20652 $ac_cs_success || as_fn_exit 1
20654 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20656 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20660 if test "$no_create" = "yes"
20661 then
20662 exit 0
20665 ac_save_IFS="$IFS"
20666 if test "x$wine_notices" != x; then
20667 echo >&6
20668 IFS="|"
20669 for msg in $wine_notices; do
20670 IFS="$ac_save_IFS"
20671 if ${msg:+false} :; then :
20673 else
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20675 $as_echo "$as_me: $msg" >&6;}
20677 done
20679 IFS="|"
20680 for msg in $wine_warnings; do
20681 IFS="$ac_save_IFS"
20682 if ${msg:+false} :; then :
20684 else
20685 echo >&2
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20687 $as_echo "$as_me: WARNING: $msg" >&2;}
20689 done
20690 IFS="$ac_save_IFS"
20692 $as_echo "
20693 $as_me: Finished. Do '${ac_make}' to compile Wine.
20694 " >&6