Release 2.0.4
[wine.git] / configure
blob9ae516ff6d1fd4f4d60d0f1eb246f23890243170
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.0.4.
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='2.0.4'
584 PACKAGE_STRING='Wine 2.0.4'
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 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_realtime_l1_1_0
949 enable_api_ms_win_core_registry_l1_1_0
950 enable_api_ms_win_core_registryuserspecific_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_2_0
953 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
954 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
955 enable_api_ms_win_core_sidebyside_l1_1_0
956 enable_api_ms_win_core_string_l1_1_0
957 enable_api_ms_win_core_string_l2_1_0
958 enable_api_ms_win_core_string_obsolete_l1_1_0
959 enable_api_ms_win_core_stringansi_l1_1_0
960 enable_api_ms_win_core_synch_l1_1_0
961 enable_api_ms_win_core_synch_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_1_0
963 enable_api_ms_win_core_sysinfo_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_2_1
965 enable_api_ms_win_core_threadpool_l1_1_0
966 enable_api_ms_win_core_threadpool_l1_2_0
967 enable_api_ms_win_core_threadpool_legacy_l1_1_0
968 enable_api_ms_win_core_timezone_l1_1_0
969 enable_api_ms_win_core_toolhelp_l1_1_0
970 enable_api_ms_win_core_url_l1_1_0
971 enable_api_ms_win_core_util_l1_1_0
972 enable_api_ms_win_core_version_l1_1_0
973 enable_api_ms_win_core_version_private_l1_1_0
974 enable_api_ms_win_core_versionansi_l1_1_0
975 enable_api_ms_win_core_windowserrorreporting_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_1
978 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
979 enable_api_ms_win_core_winrt_l1_1_0
980 enable_api_ms_win_core_winrt_registration_l1_1_0
981 enable_api_ms_win_core_winrt_string_l1_1_0
982 enable_api_ms_win_core_wow64_l1_1_0
983 enable_api_ms_win_core_xstate_l1_1_0
984 enable_api_ms_win_core_xstate_l2_1_0
985 enable_api_ms_win_crt_conio_l1_1_0
986 enable_api_ms_win_crt_convert_l1_1_0
987 enable_api_ms_win_crt_environment_l1_1_0
988 enable_api_ms_win_crt_filesystem_l1_1_0
989 enable_api_ms_win_crt_heap_l1_1_0
990 enable_api_ms_win_crt_locale_l1_1_0
991 enable_api_ms_win_crt_math_l1_1_0
992 enable_api_ms_win_crt_multibyte_l1_1_0
993 enable_api_ms_win_crt_private_l1_1_0
994 enable_api_ms_win_crt_process_l1_1_0
995 enable_api_ms_win_crt_runtime_l1_1_0
996 enable_api_ms_win_crt_stdio_l1_1_0
997 enable_api_ms_win_crt_string_l1_1_0
998 enable_api_ms_win_crt_time_l1_1_0
999 enable_api_ms_win_crt_utility_l1_1_0
1000 enable_api_ms_win_devices_config_l1_1_1
1001 enable_api_ms_win_devices_query_l1_1_1
1002 enable_api_ms_win_downlevel_advapi32_l1_1_0
1003 enable_api_ms_win_downlevel_advapi32_l2_1_0
1004 enable_api_ms_win_downlevel_normaliz_l1_1_0
1005 enable_api_ms_win_downlevel_ole32_l1_1_0
1006 enable_api_ms_win_downlevel_shell32_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1008 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1009 enable_api_ms_win_downlevel_user32_l1_1_0
1010 enable_api_ms_win_downlevel_version_l1_1_0
1011 enable_api_ms_win_dx_d3dkmt_l1_1_0
1012 enable_api_ms_win_eventing_classicprovider_l1_1_0
1013 enable_api_ms_win_eventing_consumer_l1_1_0
1014 enable_api_ms_win_eventing_controller_l1_1_0
1015 enable_api_ms_win_eventing_provider_l1_1_0
1016 enable_api_ms_win_eventlog_legacy_l1_1_0
1017 enable_api_ms_win_ntuser_dc_access_l1_1_0
1018 enable_api_ms_win_power_base_l1_1_0
1019 enable_api_ms_win_power_setting_l1_1_0
1020 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1021 enable_api_ms_win_security_audit_l1_1_1
1022 enable_api_ms_win_security_base_l1_1_0
1023 enable_api_ms_win_security_base_l1_2_0
1024 enable_api_ms_win_security_base_private_l1_1_1
1025 enable_api_ms_win_security_lsalookup_l1_1_0
1026 enable_api_ms_win_security_lsalookup_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l2_1_1
1028 enable_api_ms_win_security_lsapolicy_l1_1_0
1029 enable_api_ms_win_security_sddl_l1_1_0
1030 enable_api_ms_win_service_core_l1_1_0
1031 enable_api_ms_win_service_core_l1_1_1
1032 enable_api_ms_win_service_management_l1_1_0
1033 enable_api_ms_win_service_management_l2_1_0
1034 enable_api_ms_win_service_private_l1_1_1
1035 enable_api_ms_win_service_winsvc_l1_1_0
1036 enable_api_ms_win_service_winsvc_l1_2_0
1037 enable_api_ms_win_shell_shellcom_l1_1_0
1038 enable_api_ms_win_shell_shellfolders_l1_1_0
1039 enable_apphelp
1040 enable_appwiz_cpl
1041 enable_atl
1042 enable_atl100
1043 enable_atl110
1044 enable_atl80
1045 enable_atl90
1046 enable_authz
1047 enable_avicap32
1048 enable_avifil32
1049 enable_avrt
1050 enable_bcrypt
1051 enable_bluetoothapis
1052 enable_browseui
1053 enable_bthprops_cpl
1054 enable_cabinet
1055 enable_capi2032
1056 enable_cards
1057 enable_cfgmgr32
1058 enable_clusapi
1059 enable_combase
1060 enable_comcat
1061 enable_comctl32
1062 enable_comdlg32
1063 enable_compstui
1064 enable_comsvcs
1065 enable_concrt140
1066 enable_connect
1067 enable_credui
1068 enable_crtdll
1069 enable_crypt32
1070 enable_cryptdlg
1071 enable_cryptdll
1072 enable_cryptext
1073 enable_cryptnet
1074 enable_cryptui
1075 enable_ctapi32
1076 enable_ctl3d32
1077 enable_d2d1
1078 enable_d3d10
1079 enable_d3d10_1
1080 enable_d3d10core
1081 enable_d3d11
1082 enable_d3d8
1083 enable_d3d9
1084 enable_d3dcompiler_33
1085 enable_d3dcompiler_34
1086 enable_d3dcompiler_35
1087 enable_d3dcompiler_36
1088 enable_d3dcompiler_37
1089 enable_d3dcompiler_38
1090 enable_d3dcompiler_39
1091 enable_d3dcompiler_40
1092 enable_d3dcompiler_41
1093 enable_d3dcompiler_42
1094 enable_d3dcompiler_43
1095 enable_d3dcompiler_46
1096 enable_d3dcompiler_47
1097 enable_d3dim
1098 enable_d3drm
1099 enable_d3dx10_33
1100 enable_d3dx10_34
1101 enable_d3dx10_35
1102 enable_d3dx10_36
1103 enable_d3dx10_37
1104 enable_d3dx10_38
1105 enable_d3dx10_39
1106 enable_d3dx10_40
1107 enable_d3dx10_41
1108 enable_d3dx10_42
1109 enable_d3dx10_43
1110 enable_d3dx11_42
1111 enable_d3dx11_43
1112 enable_d3dx9_24
1113 enable_d3dx9_25
1114 enable_d3dx9_26
1115 enable_d3dx9_27
1116 enable_d3dx9_28
1117 enable_d3dx9_29
1118 enable_d3dx9_30
1119 enable_d3dx9_31
1120 enable_d3dx9_32
1121 enable_d3dx9_33
1122 enable_d3dx9_34
1123 enable_d3dx9_35
1124 enable_d3dx9_36
1125 enable_d3dx9_37
1126 enable_d3dx9_38
1127 enable_d3dx9_39
1128 enable_d3dx9_40
1129 enable_d3dx9_41
1130 enable_d3dx9_42
1131 enable_d3dx9_43
1132 enable_d3dxof
1133 enable_davclnt
1134 enable_dbgeng
1135 enable_dbghelp
1136 enable_dciman32
1137 enable_ddraw
1138 enable_ddrawex
1139 enable_devenum
1140 enable_dhcpcsvc
1141 enable_difxapi
1142 enable_dinput
1143 enable_dinput8
1144 enable_dispex
1145 enable_dmband
1146 enable_dmcompos
1147 enable_dmime
1148 enable_dmloader
1149 enable_dmscript
1150 enable_dmstyle
1151 enable_dmsynth
1152 enable_dmusic
1153 enable_dmusic32
1154 enable_dnsapi
1155 enable_dplay
1156 enable_dplayx
1157 enable_dpnaddr
1158 enable_dpnet
1159 enable_dpnhpast
1160 enable_dpnlobby
1161 enable_dpvoice
1162 enable_dpwsockx
1163 enable_drmclien
1164 enable_dsound
1165 enable_dssenh
1166 enable_dswave
1167 enable_dwmapi
1168 enable_dwrite
1169 enable_dxdiagn
1170 enable_dxgi
1171 enable_dxva2
1172 enable_esent
1173 enable_evr
1174 enable_explorerframe
1175 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1176 enable_ext_ms_win_gdi_dc_create_l1_1_1
1177 enable_ext_ms_win_gdi_dc_l1_2_0
1178 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_ext_ms_win_gdi_draw_l1_1_1
1180 enable_ext_ms_win_gdi_render_l1_1_0
1181 enable_ext_ms_win_kernel32_package_current_l1_1_0
1182 enable_ext_ms_win_ntuser_message_l1_1_1
1183 enable_ext_ms_win_ntuser_private_l1_1_1
1184 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1185 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1186 enable_ext_ms_win_ntuser_window_l1_1_1
1187 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1188 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1189 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1190 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1191 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1192 enable_faultrep
1193 enable_fltlib
1194 enable_fltmgr_sys
1195 enable_fntcache
1196 enable_fontsub
1197 enable_fusion
1198 enable_fwpuclnt
1199 enable_gameux
1200 enable_gdi32
1201 enable_gdiplus
1202 enable_glu32
1203 enable_gphoto2_ds
1204 enable_gpkcsp
1205 enable_hal
1206 enable_hhctrl_ocx
1207 enable_hid
1208 enable_hidclass_sys
1209 enable_hlink
1210 enable_hnetcfg
1211 enable_httpapi
1212 enable_iccvid
1213 enable_icmp
1214 enable_ieframe
1215 enable_imaadp32_acm
1216 enable_imagehlp
1217 enable_imm32
1218 enable_inetcomm
1219 enable_inetcpl_cpl
1220 enable_inetmib1
1221 enable_infosoft
1222 enable_initpki
1223 enable_inkobj
1224 enable_inseng
1225 enable_iphlpapi
1226 enable_iprop
1227 enable_irprops_cpl
1228 enable_itircl
1229 enable_itss
1230 enable_joy_cpl
1231 enable_jscript
1232 enable_jsproxy
1233 enable_kernel32
1234 enable_kernelbase
1235 enable_ksuser
1236 enable_ktmw32
1237 enable_loadperf
1238 enable_localspl
1239 enable_localui
1240 enable_lz32
1241 enable_mapi32
1242 enable_mapistub
1243 enable_mciavi32
1244 enable_mcicda
1245 enable_mciqtz32
1246 enable_mciseq
1247 enable_mciwave
1248 enable_mf
1249 enable_mfplat
1250 enable_mfreadwrite
1251 enable_mgmtapi
1252 enable_midimap
1253 enable_mlang
1254 enable_mmcndmgr
1255 enable_mmdevapi
1256 enable_mountmgr_sys
1257 enable_mpr
1258 enable_mprapi
1259 enable_msacm32_drv
1260 enable_msacm32
1261 enable_msadp32_acm
1262 enable_msasn1
1263 enable_mscat32
1264 enable_mscms
1265 enable_mscoree
1266 enable_msctf
1267 enable_msctfp
1268 enable_msdaps
1269 enable_msdelta
1270 enable_msdmo
1271 enable_msdrm
1272 enable_msftedit
1273 enable_msg711_acm
1274 enable_msgsm32_acm
1275 enable_mshtml_tlb
1276 enable_mshtml
1277 enable_msi
1278 enable_msident
1279 enable_msimg32
1280 enable_msimsg
1281 enable_msimtf
1282 enable_msisip
1283 enable_msisys_ocx
1284 enable_msls31
1285 enable_msnet32
1286 enable_mspatcha
1287 enable_msports
1288 enable_msrle32
1289 enable_msscript_ocx
1290 enable_mssign32
1291 enable_mssip32
1292 enable_mstask
1293 enable_msvcirt
1294 enable_msvcm80
1295 enable_msvcm90
1296 enable_msvcp100
1297 enable_msvcp110
1298 enable_msvcp120
1299 enable_msvcp120_app
1300 enable_msvcp140
1301 enable_msvcp60
1302 enable_msvcp70
1303 enable_msvcp71
1304 enable_msvcp80
1305 enable_msvcp90
1306 enable_msvcr100
1307 enable_msvcr110
1308 enable_msvcr120
1309 enable_msvcr120_app
1310 enable_msvcr70
1311 enable_msvcr71
1312 enable_msvcr80
1313 enable_msvcr90
1314 enable_msvcrt
1315 enable_msvcrt20
1316 enable_msvcrt40
1317 enable_msvcrtd
1318 enable_msvfw32
1319 enable_msvidc32
1320 enable_mswsock
1321 enable_msxml
1322 enable_msxml2
1323 enable_msxml3
1324 enable_msxml4
1325 enable_msxml6
1326 enable_ncrypt
1327 enable_nddeapi
1328 enable_ndis_sys
1329 enable_netapi32
1330 enable_netcfgx
1331 enable_netprofm
1332 enable_newdev
1333 enable_normaliz
1334 enable_npmshtml
1335 enable_npptools
1336 enable_ntdll
1337 enable_ntdsapi
1338 enable_ntoskrnl_exe
1339 enable_ntprint
1340 enable_objsel
1341 enable_odbc32
1342 enable_odbccp32
1343 enable_odbccu32
1344 enable_ole32
1345 enable_oleacc
1346 enable_oleaut32
1347 enable_olecli32
1348 enable_oledb32
1349 enable_oledlg
1350 enable_olepro32
1351 enable_olesvr32
1352 enable_olethk32
1353 enable_openal32
1354 enable_opencl
1355 enable_opengl32
1356 enable_packager
1357 enable_pdh
1358 enable_photometadatahandler
1359 enable_pidgen
1360 enable_powrprof
1361 enable_printui
1362 enable_prntvpt
1363 enable_propsys
1364 enable_psapi
1365 enable_pstorec
1366 enable_qcap
1367 enable_qedit
1368 enable_qmgr
1369 enable_qmgrprxy
1370 enable_quartz
1371 enable_query
1372 enable_rasapi32
1373 enable_rasdlg
1374 enable_regapi
1375 enable_resutils
1376 enable_riched20
1377 enable_riched32
1378 enable_rpcrt4
1379 enable_rsabase
1380 enable_rsaenh
1381 enable_rstrtmgr
1382 enable_rtutils
1383 enable_samlib
1384 enable_sane_ds
1385 enable_scarddlg
1386 enable_sccbase
1387 enable_schannel
1388 enable_schedsvc
1389 enable_scrrun
1390 enable_scsiport_sys
1391 enable_secur32
1392 enable_security
1393 enable_sensapi
1394 enable_serialui
1395 enable_setupapi
1396 enable_sfc
1397 enable_sfc_os
1398 enable_shdoclc
1399 enable_shdocvw
1400 enable_shell32
1401 enable_shfolder
1402 enable_shlwapi
1403 enable_slbcsp
1404 enable_slc
1405 enable_snmpapi
1406 enable_softpub
1407 enable_spoolss
1408 enable_sspicli
1409 enable_stdole2_tlb
1410 enable_stdole32_tlb
1411 enable_sti
1412 enable_svrapi
1413 enable_sxs
1414 enable_t2embed
1415 enable_tapi32
1416 enable_taskschd
1417 enable_tdi_sys
1418 enable_traffic
1419 enable_twain_32
1420 enable_ucrtbase
1421 enable_unicows
1422 enable_updspapi
1423 enable_url
1424 enable_urlmon
1425 enable_usbd_sys
1426 enable_user32
1427 enable_userenv
1428 enable_usp10
1429 enable_uxtheme
1430 enable_vbscript
1431 enable_vcomp
1432 enable_vcomp100
1433 enable_vcomp110
1434 enable_vcomp120
1435 enable_vcomp140
1436 enable_vcomp90
1437 enable_vcruntime140
1438 enable_vdmdbg
1439 enable_version
1440 enable_vssapi
1441 enable_wbemdisp
1442 enable_wbemprox
1443 enable_webservices
1444 enable_wer
1445 enable_wevtapi
1446 enable_wiaservc
1447 enable_wimgapi
1448 enable_windowscodecs
1449 enable_windowscodecsext
1450 enable_winealsa_drv
1451 enable_winebus_sys
1452 enable_winecoreaudio_drv
1453 enable_wined3d
1454 enable_winegstreamer
1455 enable_winehid_sys
1456 enable_winejoystick_drv
1457 enable_winemac_drv
1458 enable_winemapi
1459 enable_winemp3_acm
1460 enable_wineoss_drv
1461 enable_wineps_drv
1462 enable_winepulse_drv
1463 enable_wineqtdecoder
1464 enable_winex11_drv
1465 enable_wing32
1466 enable_winhttp
1467 enable_wininet
1468 enable_winmm
1469 enable_winnls32
1470 enable_winscard
1471 enable_winspool_drv
1472 enable_winsta
1473 enable_wintab32
1474 enable_wintrust
1475 enable_wlanapi
1476 enable_wldap32
1477 enable_wmasf
1478 enable_wmi
1479 enable_wmiutils
1480 enable_wmp
1481 enable_wmvcore
1482 enable_wnaspi32
1483 enable_wpc
1484 enable_wpcap
1485 enable_ws2_32
1486 enable_wshom_ocx
1487 enable_wsnmp32
1488 enable_wsock32
1489 enable_wtsapi32
1490 enable_wuapi
1491 enable_wuaueng
1492 enable_x3daudio1_0
1493 enable_x3daudio1_1
1494 enable_x3daudio1_2
1495 enable_x3daudio1_3
1496 enable_x3daudio1_4
1497 enable_x3daudio1_5
1498 enable_x3daudio1_6
1499 enable_x3daudio1_7
1500 enable_xapofx1_1
1501 enable_xapofx1_2
1502 enable_xapofx1_3
1503 enable_xapofx1_4
1504 enable_xapofx1_5
1505 enable_xaudio2_0
1506 enable_xaudio2_1
1507 enable_xaudio2_2
1508 enable_xaudio2_3
1509 enable_xaudio2_4
1510 enable_xaudio2_5
1511 enable_xaudio2_6
1512 enable_xaudio2_7
1513 enable_xaudio2_8
1514 enable_xaudio2_9
1515 enable_xinput1_1
1516 enable_xinput1_2
1517 enable_xinput1_3
1518 enable_xinput1_4
1519 enable_xinput9_1_0
1520 enable_xmllite
1521 enable_xolehlp
1522 enable_xpsprint
1523 enable_xpssvcs
1524 enable_fonts
1525 enable_include
1526 enable_libs_port
1527 enable_libs_wine
1528 enable_libs_wpp
1529 enable_loader
1530 enable_po
1531 enable_arp
1532 enable_aspnet_regiis
1533 enable_attrib
1534 enable_cabarc
1535 enable_cacls
1536 enable_clock
1537 enable_cmd
1538 enable_conhost
1539 enable_control
1540 enable_cscript
1541 enable_dpnsvr
1542 enable_dxdiag
1543 enable_eject
1544 enable_expand
1545 enable_explorer
1546 enable_extrac32
1547 enable_findstr
1548 enable_fsutil
1549 enable_hh
1550 enable_hostname
1551 enable_icacls
1552 enable_icinfo
1553 enable_iexplore
1554 enable_ipconfig
1555 enable_lodctr
1556 enable_mofcomp
1557 enable_mshta
1558 enable_msiexec
1559 enable_msinfo32
1560 enable_net
1561 enable_netsh
1562 enable_netstat
1563 enable_ngen
1564 enable_notepad
1565 enable_oleview
1566 enable_ping
1567 enable_plugplay
1568 enable_presentationfontcache
1569 enable_progman
1570 enable_reg
1571 enable_regasm
1572 enable_regedit
1573 enable_regsvcs
1574 enable_regsvr32
1575 enable_rpcss
1576 enable_rundll32
1577 enable_sc
1578 enable_schtasks
1579 enable_sdbinst
1580 enable_secedit
1581 enable_servicemodelreg
1582 enable_services
1583 enable_shutdown
1584 enable_spoolsv
1585 enable_start
1586 enable_subst
1587 enable_svchost
1588 enable_systeminfo
1589 enable_taskkill
1590 enable_tasklist
1591 enable_taskmgr
1592 enable_termsv
1593 enable_uninstaller
1594 enable_unlodctr
1595 enable_view
1596 enable_wevtutil
1597 enable_wineboot
1598 enable_winebrowser
1599 enable_winecfg
1600 enable_wineconsole
1601 enable_winedbg
1602 enable_winedevice
1603 enable_winefile
1604 enable_winemenubuilder
1605 enable_winemine
1606 enable_winemsibuilder
1607 enable_winepath
1608 enable_winetest
1609 enable_winhlp32
1610 enable_winver
1611 enable_wmic
1612 enable_wmplayer
1613 enable_wordpad
1614 enable_write
1615 enable_wscript
1616 enable_wusa
1617 enable_xcopy
1618 enable_server
1619 enable_tools
1621 ac_precious_vars='build_alias
1622 host_alias
1623 target_alias
1625 CFLAGS
1626 LDFLAGS
1627 LIBS
1628 CPPFLAGS
1630 CXXFLAGS
1633 XMKMF
1634 XML2_CFLAGS
1635 XML2_LIBS
1636 XSLT_CFLAGS
1637 XSLT_LIBS
1638 DBUS_CFLAGS
1639 DBUS_LIBS
1640 HAL_CFLAGS
1641 HAL_LIBS
1642 GNUTLS_CFLAGS
1643 GNUTLS_LIBS
1644 SANE_CFLAGS
1645 SANE_LIBS
1646 GPHOTO2_CFLAGS
1647 GPHOTO2_LIBS
1648 GPHOTO2_PORT_CFLAGS
1649 GPHOTO2_PORT_LIBS
1650 LCMS2_CFLAGS
1651 LCMS2_LIBS
1652 FREETYPE_CFLAGS
1653 FREETYPE_LIBS
1654 PULSE_CFLAGS
1655 PULSE_LIBS
1656 GSTREAMER_CFLAGS
1657 GSTREAMER_LIBS
1658 UDEV_CFLAGS
1659 UDEV_LIBS
1660 CAPI20_CFLAGS
1661 CAPI20_LIBS
1662 FONTCONFIG_CFLAGS
1663 FONTCONFIG_LIBS
1664 JPEG_CFLAGS
1665 JPEG_LIBS
1666 PNG_CFLAGS
1667 PNG_LIBS
1668 TIFF_CFLAGS
1669 TIFF_LIBS
1670 MPG123_CFLAGS
1671 MPG123_LIBS
1672 NETAPI_CFLAGS
1673 NETAPI_LIBS'
1676 # Initialize some variables set by options.
1677 ac_init_help=
1678 ac_init_version=false
1679 ac_unrecognized_opts=
1680 ac_unrecognized_sep=
1681 # The variables have the same names as the options, with
1682 # dashes changed to underlines.
1683 cache_file=/dev/null
1684 exec_prefix=NONE
1685 no_create=
1686 no_recursion=
1687 prefix=NONE
1688 program_prefix=NONE
1689 program_suffix=NONE
1690 program_transform_name=s,x,x,
1691 silent=
1692 site=
1693 srcdir=
1694 verbose=
1695 x_includes=NONE
1696 x_libraries=NONE
1698 # Installation directory options.
1699 # These are left unexpanded so users can "make install exec_prefix=/foo"
1700 # and all the variables that are supposed to be based on exec_prefix
1701 # by default will actually change.
1702 # Use braces instead of parens because sh, perl, etc. also accept them.
1703 # (The list follows the same order as the GNU Coding Standards.)
1704 bindir='${exec_prefix}/bin'
1705 sbindir='${exec_prefix}/sbin'
1706 libexecdir='${exec_prefix}/libexec'
1707 datarootdir='${prefix}/share'
1708 datadir='${datarootdir}'
1709 sysconfdir='${prefix}/etc'
1710 sharedstatedir='${prefix}/com'
1711 localstatedir='${prefix}/var'
1712 runstatedir='${localstatedir}/run'
1713 includedir='${prefix}/include'
1714 oldincludedir='/usr/include'
1715 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1716 infodir='${datarootdir}/info'
1717 htmldir='${docdir}'
1718 dvidir='${docdir}'
1719 pdfdir='${docdir}'
1720 psdir='${docdir}'
1721 libdir='${exec_prefix}/lib'
1722 localedir='${datarootdir}/locale'
1723 mandir='${datarootdir}/man'
1725 ac_prev=
1726 ac_dashdash=
1727 for ac_option
1729 # If the previous option needs an argument, assign it.
1730 if test -n "$ac_prev"; then
1731 eval $ac_prev=\$ac_option
1732 ac_prev=
1733 continue
1736 case $ac_option in
1737 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1738 *=) ac_optarg= ;;
1739 *) ac_optarg=yes ;;
1740 esac
1742 # Accept the important Cygnus configure options, so we can diagnose typos.
1744 case $ac_dashdash$ac_option in
1746 ac_dashdash=yes ;;
1748 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1749 ac_prev=bindir ;;
1750 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1751 bindir=$ac_optarg ;;
1753 -build | --build | --buil | --bui | --bu)
1754 ac_prev=build_alias ;;
1755 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1756 build_alias=$ac_optarg ;;
1758 -cache-file | --cache-file | --cache-fil | --cache-fi \
1759 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1760 ac_prev=cache_file ;;
1761 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1762 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1763 cache_file=$ac_optarg ;;
1765 --config-cache | -C)
1766 cache_file=config.cache ;;
1768 -datadir | --datadir | --datadi | --datad)
1769 ac_prev=datadir ;;
1770 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1771 datadir=$ac_optarg ;;
1773 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1774 | --dataroo | --dataro | --datar)
1775 ac_prev=datarootdir ;;
1776 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1777 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1778 datarootdir=$ac_optarg ;;
1780 -disable-* | --disable-*)
1781 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1784 as_fn_error $? "invalid feature name: $ac_useropt"
1785 ac_useropt_orig=$ac_useropt
1786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "enable_$ac_useropt"
1790 "*) ;;
1791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1792 ac_unrecognized_sep=', ';;
1793 esac
1794 eval enable_$ac_useropt=no ;;
1796 -docdir | --docdir | --docdi | --doc | --do)
1797 ac_prev=docdir ;;
1798 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1799 docdir=$ac_optarg ;;
1801 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1802 ac_prev=dvidir ;;
1803 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1804 dvidir=$ac_optarg ;;
1806 -enable-* | --enable-*)
1807 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1810 as_fn_error $? "invalid feature name: $ac_useropt"
1811 ac_useropt_orig=$ac_useropt
1812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1815 "enable_$ac_useropt"
1816 "*) ;;
1817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1818 ac_unrecognized_sep=', ';;
1819 esac
1820 eval enable_$ac_useropt=\$ac_optarg ;;
1822 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1823 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1824 | --exec | --exe | --ex)
1825 ac_prev=exec_prefix ;;
1826 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1827 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1828 | --exec=* | --exe=* | --ex=*)
1829 exec_prefix=$ac_optarg ;;
1831 -gas | --gas | --ga | --g)
1832 # Obsolete; use --with-gas.
1833 with_gas=yes ;;
1835 -help | --help | --hel | --he | -h)
1836 ac_init_help=long ;;
1837 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1838 ac_init_help=recursive ;;
1839 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1840 ac_init_help=short ;;
1842 -host | --host | --hos | --ho)
1843 ac_prev=host_alias ;;
1844 -host=* | --host=* | --hos=* | --ho=*)
1845 host_alias=$ac_optarg ;;
1847 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1848 ac_prev=htmldir ;;
1849 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1850 | --ht=*)
1851 htmldir=$ac_optarg ;;
1853 -includedir | --includedir | --includedi | --included | --include \
1854 | --includ | --inclu | --incl | --inc)
1855 ac_prev=includedir ;;
1856 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1857 | --includ=* | --inclu=* | --incl=* | --inc=*)
1858 includedir=$ac_optarg ;;
1860 -infodir | --infodir | --infodi | --infod | --info | --inf)
1861 ac_prev=infodir ;;
1862 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1863 infodir=$ac_optarg ;;
1865 -libdir | --libdir | --libdi | --libd)
1866 ac_prev=libdir ;;
1867 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1868 libdir=$ac_optarg ;;
1870 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1871 | --libexe | --libex | --libe)
1872 ac_prev=libexecdir ;;
1873 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1874 | --libexe=* | --libex=* | --libe=*)
1875 libexecdir=$ac_optarg ;;
1877 -localedir | --localedir | --localedi | --localed | --locale)
1878 ac_prev=localedir ;;
1879 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1880 localedir=$ac_optarg ;;
1882 -localstatedir | --localstatedir | --localstatedi | --localstated \
1883 | --localstate | --localstat | --localsta | --localst | --locals)
1884 ac_prev=localstatedir ;;
1885 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1886 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1887 localstatedir=$ac_optarg ;;
1889 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1890 ac_prev=mandir ;;
1891 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1892 mandir=$ac_optarg ;;
1894 -nfp | --nfp | --nf)
1895 # Obsolete; use --without-fp.
1896 with_fp=no ;;
1898 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1899 | --no-cr | --no-c | -n)
1900 no_create=yes ;;
1902 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1903 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1904 no_recursion=yes ;;
1906 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1907 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1908 | --oldin | --oldi | --old | --ol | --o)
1909 ac_prev=oldincludedir ;;
1910 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1911 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1912 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1913 oldincludedir=$ac_optarg ;;
1915 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1916 ac_prev=prefix ;;
1917 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1918 prefix=$ac_optarg ;;
1920 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1921 | --program-pre | --program-pr | --program-p)
1922 ac_prev=program_prefix ;;
1923 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1924 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1925 program_prefix=$ac_optarg ;;
1927 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1928 | --program-suf | --program-su | --program-s)
1929 ac_prev=program_suffix ;;
1930 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1931 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1932 program_suffix=$ac_optarg ;;
1934 -program-transform-name | --program-transform-name \
1935 | --program-transform-nam | --program-transform-na \
1936 | --program-transform-n | --program-transform- \
1937 | --program-transform | --program-transfor \
1938 | --program-transfo | --program-transf \
1939 | --program-trans | --program-tran \
1940 | --progr-tra | --program-tr | --program-t)
1941 ac_prev=program_transform_name ;;
1942 -program-transform-name=* | --program-transform-name=* \
1943 | --program-transform-nam=* | --program-transform-na=* \
1944 | --program-transform-n=* | --program-transform-=* \
1945 | --program-transform=* | --program-transfor=* \
1946 | --program-transfo=* | --program-transf=* \
1947 | --program-trans=* | --program-tran=* \
1948 | --progr-tra=* | --program-tr=* | --program-t=*)
1949 program_transform_name=$ac_optarg ;;
1951 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1952 ac_prev=pdfdir ;;
1953 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1954 pdfdir=$ac_optarg ;;
1956 -psdir | --psdir | --psdi | --psd | --ps)
1957 ac_prev=psdir ;;
1958 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1959 psdir=$ac_optarg ;;
1961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1962 | -silent | --silent | --silen | --sile | --sil)
1963 silent=yes ;;
1965 -runstatedir | --runstatedir | --runstatedi | --runstated \
1966 | --runstate | --runstat | --runsta | --runst | --runs \
1967 | --run | --ru | --r)
1968 ac_prev=runstatedir ;;
1969 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1970 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1971 | --run=* | --ru=* | --r=*)
1972 runstatedir=$ac_optarg ;;
1974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1975 ac_prev=sbindir ;;
1976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1977 | --sbi=* | --sb=*)
1978 sbindir=$ac_optarg ;;
1980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1982 | --sharedst | --shareds | --shared | --share | --shar \
1983 | --sha | --sh)
1984 ac_prev=sharedstatedir ;;
1985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1988 | --sha=* | --sh=*)
1989 sharedstatedir=$ac_optarg ;;
1991 -site | --site | --sit)
1992 ac_prev=site ;;
1993 -site=* | --site=* | --sit=*)
1994 site=$ac_optarg ;;
1996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1997 ac_prev=srcdir ;;
1998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1999 srcdir=$ac_optarg ;;
2001 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2002 | --syscon | --sysco | --sysc | --sys | --sy)
2003 ac_prev=sysconfdir ;;
2004 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2005 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2006 sysconfdir=$ac_optarg ;;
2008 -target | --target | --targe | --targ | --tar | --ta | --t)
2009 ac_prev=target_alias ;;
2010 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2011 target_alias=$ac_optarg ;;
2013 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2014 verbose=yes ;;
2016 -version | --version | --versio | --versi | --vers | -V)
2017 ac_init_version=: ;;
2019 -with-* | --with-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid package name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "with_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval with_$ac_useropt=\$ac_optarg ;;
2035 -without-* | --without-*)
2036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2039 as_fn_error $? "invalid package name: $ac_useropt"
2040 ac_useropt_orig=$ac_useropt
2041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2044 "with_$ac_useropt"
2045 "*) ;;
2046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2047 ac_unrecognized_sep=', ';;
2048 esac
2049 eval with_$ac_useropt=no ;;
2051 --x)
2052 # Obsolete; use --with-x.
2053 with_x=yes ;;
2055 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2056 | --x-incl | --x-inc | --x-in | --x-i)
2057 ac_prev=x_includes ;;
2058 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2059 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2060 x_includes=$ac_optarg ;;
2062 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2063 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2064 ac_prev=x_libraries ;;
2065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2067 x_libraries=$ac_optarg ;;
2069 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2070 Try \`$0 --help' for more information"
2073 *=*)
2074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2075 # Reject names that are not valid shell variable names.
2076 case $ac_envvar in #(
2077 '' | [0-9]* | *[!_$as_cr_alnum]* )
2078 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2079 esac
2080 eval $ac_envvar=\$ac_optarg
2081 export $ac_envvar ;;
2084 # FIXME: should be removed in autoconf 3.0.
2085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2088 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2091 esac
2092 done
2094 if test -n "$ac_prev"; then
2095 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2096 as_fn_error $? "missing argument to $ac_option"
2099 if test -n "$ac_unrecognized_opts"; then
2100 case $enable_option_checking in
2101 no) ;;
2102 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2104 esac
2107 # Check all directory arguments for consistency.
2108 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2109 datadir sysconfdir sharedstatedir localstatedir includedir \
2110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2111 libdir localedir mandir runstatedir
2113 eval ac_val=\$$ac_var
2114 # Remove trailing slashes.
2115 case $ac_val in
2116 */ )
2117 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2118 eval $ac_var=\$ac_val;;
2119 esac
2120 # Be sure to have absolute directory names.
2121 case $ac_val in
2122 [\\/$]* | ?:[\\/]* ) continue;;
2123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2124 esac
2125 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2126 done
2128 # There might be people who depend on the old broken behavior: `$host'
2129 # used to hold the argument of --host etc.
2130 # FIXME: To remove some day.
2131 build=$build_alias
2132 host=$host_alias
2133 target=$target_alias
2135 # FIXME: To remove some day.
2136 if test "x$host_alias" != x; then
2137 if test "x$build_alias" = x; then
2138 cross_compiling=maybe
2139 elif test "x$build_alias" != "x$host_alias"; then
2140 cross_compiling=yes
2144 ac_tool_prefix=
2145 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2147 test "$silent" = yes && exec 6>/dev/null
2150 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2151 ac_ls_di=`ls -di .` &&
2152 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2153 as_fn_error $? "working directory cannot be determined"
2154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2155 as_fn_error $? "pwd does not report name of working directory"
2158 # Find the source files, if location was not specified.
2159 if test -z "$srcdir"; then
2160 ac_srcdir_defaulted=yes
2161 # Try the directory containing this script, then the parent directory.
2162 ac_confdir=`$as_dirname -- "$as_myself" ||
2163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2164 X"$as_myself" : 'X\(//\)[^/]' \| \
2165 X"$as_myself" : 'X\(//\)$' \| \
2166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2167 $as_echo X"$as_myself" |
2168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2169 s//\1/
2172 /^X\(\/\/\)[^/].*/{
2173 s//\1/
2176 /^X\(\/\/\)$/{
2177 s//\1/
2180 /^X\(\/\).*/{
2181 s//\1/
2184 s/.*/./; q'`
2185 srcdir=$ac_confdir
2186 if test ! -r "$srcdir/$ac_unique_file"; then
2187 srcdir=..
2189 else
2190 ac_srcdir_defaulted=no
2192 if test ! -r "$srcdir/$ac_unique_file"; then
2193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2194 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2197 ac_abs_confdir=`(
2198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2199 pwd)`
2200 # When building in place, set srcdir=.
2201 if test "$ac_abs_confdir" = "$ac_pwd"; then
2202 srcdir=.
2204 # Remove unnecessary trailing slashes from srcdir.
2205 # Double slashes in file names in object file debugging info
2206 # mess up M-x gdb in Emacs.
2207 case $srcdir in
2208 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2209 esac
2210 for ac_var in $ac_precious_vars; do
2211 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2212 eval ac_env_${ac_var}_value=\$${ac_var}
2213 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2214 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2215 done
2218 # Report the --help message.
2220 if test "$ac_init_help" = "long"; then
2221 # Omit some internal or obsolete options to make the list less imposing.
2222 # This message is too long to be a string in the A/UX 3.1 sh.
2223 cat <<_ACEOF
2224 \`configure' configures Wine 2.0.4 to adapt to many kinds of systems.
2226 Usage: $0 [OPTION]... [VAR=VALUE]...
2228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2229 VAR=VALUE. See below for descriptions of some of the useful variables.
2231 Defaults for the options are specified in brackets.
2233 Configuration:
2234 -h, --help display this help and exit
2235 --help=short display options specific to this package
2236 --help=recursive display the short help of all the included packages
2237 -V, --version display version information and exit
2238 -q, --quiet, --silent do not print \`checking ...' messages
2239 --cache-file=FILE cache test results in FILE [disabled]
2240 -C, --config-cache alias for \`--cache-file=config.cache'
2241 -n, --no-create do not create output files
2242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2244 Installation directories:
2245 --prefix=PREFIX install architecture-independent files in PREFIX
2246 [$ac_default_prefix]
2247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2248 [PREFIX]
2250 By default, \`make install' will install all the files in
2251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2253 for instance \`--prefix=\$HOME'.
2255 For better control, use the options below.
2257 Fine tuning of the installation directories:
2258 --bindir=DIR user executables [EPREFIX/bin]
2259 --sbindir=DIR system admin executables [EPREFIX/sbin]
2260 --libexecdir=DIR program executables [EPREFIX/libexec]
2261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2264 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2265 --libdir=DIR object code libraries [EPREFIX/lib]
2266 --includedir=DIR C header files [PREFIX/include]
2267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2270 --infodir=DIR info documentation [DATAROOTDIR/info]
2271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2272 --mandir=DIR man documentation [DATAROOTDIR/man]
2273 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2274 --htmldir=DIR html documentation [DOCDIR]
2275 --dvidir=DIR dvi documentation [DOCDIR]
2276 --pdfdir=DIR pdf documentation [DOCDIR]
2277 --psdir=DIR ps documentation [DOCDIR]
2278 _ACEOF
2280 cat <<\_ACEOF
2282 X features:
2283 --x-includes=DIR X include files are in DIR
2284 --x-libraries=DIR X library files are in DIR
2286 System types:
2287 --build=BUILD configure for building on BUILD [guessed]
2288 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2289 _ACEOF
2292 if test -n "$ac_init_help"; then
2293 case $ac_init_help in
2294 short | recursive ) echo "Configuration of Wine 2.0.4:";;
2295 esac
2296 cat <<\_ACEOF
2298 Optional Features:
2299 --disable-option-checking ignore unrecognized --enable/--with options
2300 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2301 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2302 --disable-win16 do not include Win16 support
2303 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2304 binaries)
2305 --disable-tests do not build the regression tests
2306 --enable-maintainer-mode
2307 enable maintainer-specific build rules
2308 --disable-largefile omit support for large files
2310 Optional Packages:
2311 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2312 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2313 --without-alsa do not use the Alsa sound support
2314 --without-capi do not use CAPI (ISDN support)
2315 --without-cms do not use CMS (color management support)
2316 --without-coreaudio do not use the CoreAudio sound support
2317 --without-cups do not use CUPS
2318 --without-curses do not use (n)curses
2319 --without-dbus do not use DBus (dynamic device support)
2320 --without-fontconfig do not use fontconfig
2321 --without-freetype do not use the FreeType library
2322 --without-gettext do not use gettext
2323 --with-gettextpo use the GetTextPO library to rebuild po files
2324 --without-gphoto do not use gphoto (Digital Camera support)
2325 --without-glu do not use the GLU library
2326 --without-gnutls do not use GnuTLS (schannel support)
2327 --without-gsm do not use libgsm (GSM 06.10 codec support)
2328 --without-gstreamer do not use GStreamer (codecs support)
2329 --without-hal do not use HAL (dynamic device support)
2330 --without-jpeg do not use JPEG
2331 --without-ldap do not use LDAP
2332 --without-mpg123 do not use the mpg123 library
2333 --without-netapi do not use the Samba NetAPI library
2334 --without-openal do not use OpenAL
2335 --without-opencl do not use OpenCL
2336 --without-opengl do not use OpenGL
2337 --without-osmesa do not use the OSMesa library
2338 --without-oss do not use the OSS sound support
2339 --without-pcap do not use the Packet Capture library
2340 --without-png do not use PNG
2341 --without-pthread do not use the pthread library
2342 --without-pulse do not use PulseAudio sound support
2343 --without-sane do not use SANE (scanner support)
2344 --without-tiff do not use TIFF
2345 --without-udev do not use udev (plug and play support)
2346 --without-v4l do not use v4l1 (v4l support)
2347 --without-xcomposite do not use the Xcomposite extension
2348 --without-xcursor do not use the Xcursor extension
2349 --without-xinerama do not use Xinerama (multi-monitor support)
2350 --without-xinput do not use the Xinput extension
2351 --without-xinput2 do not use the Xinput 2 extension
2352 --without-xml do not use XML
2353 --without-xrandr do not use Xrandr (resolution changes)
2354 --without-xrender do not use the Xrender extension
2355 --without-xshape do not use the Xshape extension
2356 --without-xshm do not use XShm (shared memory extension)
2357 --without-xslt do not use XSLT
2358 --without-xxf86vm do not use XFree video mode extension
2359 --without-zlib do not use Zlib (data compression)
2360 --with-wine-tools=DIR use Wine tools from directory DIR
2361 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2362 --with-x use the X Window System
2364 Some influential environment variables:
2365 CC C compiler command
2366 CFLAGS C compiler flags
2367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2368 nonstandard directory <lib dir>
2369 LIBS libraries to pass to the linker, e.g. -l<library>
2370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2371 you have headers in a nonstandard directory <include dir>
2372 CXX C++ compiler command
2373 CXXFLAGS C++ compiler flags
2374 CPP C preprocessor
2375 XMKMF Path to xmkmf, Makefile generator for X Window System
2376 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2377 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2378 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2379 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2380 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2381 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2382 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2383 HAL_LIBS Linker flags for hal, overriding pkg-config
2384 GNUTLS_CFLAGS
2385 C compiler flags for gnutls, overriding pkg-config
2386 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2387 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2388 SANE_LIBS Linker flags for libsane, overriding pkg-config
2389 GPHOTO2_CFLAGS
2390 C compiler flags for libgphoto2, overriding pkg-config
2391 GPHOTO2_LIBS
2392 Linker flags for libgphoto2, overriding pkg-config
2393 GPHOTO2_PORT_CFLAGS
2394 C compiler flags for libgphoto2_port, overriding pkg-config
2395 GPHOTO2_PORT_LIBS
2396 Linker flags for libgphoto2_port, overriding pkg-config
2397 LCMS2_CFLAGS
2398 C compiler flags for lcms2, overriding pkg-config
2399 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2400 FREETYPE_CFLAGS
2401 C compiler flags for freetype2, overriding pkg-config
2402 FREETYPE_LIBS
2403 Linker flags for freetype2, overriding pkg-config
2404 PULSE_CFLAGS
2405 C compiler flags for libpulse, overriding pkg-config
2406 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2407 GSTREAMER_CFLAGS
2408 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2409 gstreamer-audio-1.0, overriding pkg-config
2410 GSTREAMER_LIBS
2411 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2412 gstreamer-audio-1.0, overriding pkg-config
2413 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2414 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2415 CAPI20_CFLAGS
2416 C compiler flags for capi20, overriding pkg-config
2417 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2418 FONTCONFIG_CFLAGS
2419 C compiler flags for fontconfig, overriding pkg-config
2420 FONTCONFIG_LIBS
2421 Linker flags for fontconfig, overriding pkg-config
2422 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2423 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2424 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2425 PNG_LIBS Linker flags for libpng, overriding pkg-config
2426 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2427 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2428 MPG123_CFLAGS
2429 C compiler flags for libmpg123, overriding pkg-config
2430 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2431 NETAPI_CFLAGS
2432 C compiler flags for netapi, overriding pkg-config
2433 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2435 Use these variables to override the choices made by `configure' or to help
2436 it to find libraries and programs with nonstandard names/locations.
2438 Report bugs to <wine-devel@winehq.org>.
2439 Wine home page: <https://www.winehq.org>.
2440 _ACEOF
2441 ac_status=$?
2444 if test "$ac_init_help" = "recursive"; then
2445 # If there are subdirs, report their specific --help.
2446 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2447 test -d "$ac_dir" ||
2448 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2449 continue
2450 ac_builddir=.
2452 case "$ac_dir" in
2453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2455 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2456 # A ".." for each directory in $ac_dir_suffix.
2457 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2458 case $ac_top_builddir_sub in
2459 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2460 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2461 esac ;;
2462 esac
2463 ac_abs_top_builddir=$ac_pwd
2464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2465 # for backward compatibility:
2466 ac_top_builddir=$ac_top_build_prefix
2468 case $srcdir in
2469 .) # We are building in place.
2470 ac_srcdir=.
2471 ac_top_srcdir=$ac_top_builddir_sub
2472 ac_abs_top_srcdir=$ac_pwd ;;
2473 [\\/]* | ?:[\\/]* ) # Absolute name.
2474 ac_srcdir=$srcdir$ac_dir_suffix;
2475 ac_top_srcdir=$srcdir
2476 ac_abs_top_srcdir=$srcdir ;;
2477 *) # Relative name.
2478 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2479 ac_top_srcdir=$ac_top_build_prefix$srcdir
2480 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2481 esac
2482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2484 cd "$ac_dir" || { ac_status=$?; continue; }
2485 # Check for guested configure.
2486 if test -f "$ac_srcdir/configure.gnu"; then
2487 echo &&
2488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2489 elif test -f "$ac_srcdir/configure"; then
2490 echo &&
2491 $SHELL "$ac_srcdir/configure" --help=recursive
2492 else
2493 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2494 fi || ac_status=$?
2495 cd "$ac_pwd" || { ac_status=$?; break; }
2496 done
2499 test -n "$ac_init_help" && exit $ac_status
2500 if $ac_init_version; then
2501 cat <<\_ACEOF
2502 Wine configure 2.0.4
2503 generated by GNU Autoconf 2.69
2505 Copyright (C) 2012 Free Software Foundation, Inc.
2506 This configure script is free software; the Free Software Foundation
2507 gives unlimited permission to copy, distribute and modify it.
2508 _ACEOF
2509 exit
2512 ## ------------------------ ##
2513 ## Autoconf initialization. ##
2514 ## ------------------------ ##
2516 # ac_fn_c_try_compile LINENO
2517 # --------------------------
2518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2519 ac_fn_c_try_compile ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 rm -f conftest.$ac_objext
2523 if { { ac_try="$ac_compile"
2524 case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_compile") 2>conftest.err
2531 ac_status=$?
2532 if test -s conftest.err; then
2533 grep -v '^ *+' conftest.err >conftest.er1
2534 cat conftest.er1 >&5
2535 mv -f conftest.er1 conftest.err
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; } && {
2539 test -z "$ac_c_werror_flag" ||
2540 test ! -s conftest.err
2541 } && test -s conftest.$ac_objext; then :
2542 ac_retval=0
2543 else
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2547 ac_retval=1
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_c_try_compile
2554 # ac_fn_cxx_try_compile LINENO
2555 # ----------------------------
2556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2557 ac_fn_cxx_try_compile ()
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 rm -f conftest.$ac_objext
2561 if { { ac_try="$ac_compile"
2562 case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565 esac
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_compile") 2>conftest.err
2569 ac_status=$?
2570 if test -s conftest.err; then
2571 grep -v '^ *+' conftest.err >conftest.er1
2572 cat conftest.er1 >&5
2573 mv -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } && {
2577 test -z "$ac_cxx_werror_flag" ||
2578 test ! -s conftest.err
2579 } && test -s conftest.$ac_objext; then :
2580 ac_retval=0
2581 else
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 ac_retval=1
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status $ac_retval
2590 } # ac_fn_cxx_try_compile
2592 # ac_fn_c_try_link LINENO
2593 # -----------------------
2594 # Try to link conftest.$ac_ext, and return whether this succeeded.
2595 ac_fn_c_try_link ()
2597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2598 rm -f conftest.$ac_objext conftest$ac_exeext
2599 if { { ac_try="$ac_link"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_link") 2>conftest.err
2607 ac_status=$?
2608 if test -s conftest.err; then
2609 grep -v '^ *+' conftest.err >conftest.er1
2610 cat conftest.er1 >&5
2611 mv -f conftest.er1 conftest.err
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } && {
2615 test -z "$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest$ac_exeext && {
2618 test "$cross_compiling" = yes ||
2619 test -x conftest$ac_exeext
2620 }; then :
2621 ac_retval=0
2622 else
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_retval=1
2628 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2629 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2630 # interfere with the next link command; also delete a directory that is
2631 # left behind by Apple's compiler. We do this before executing the actions.
2632 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2634 as_fn_set_status $ac_retval
2636 } # ac_fn_c_try_link
2638 # ac_fn_c_try_cpp LINENO
2639 # ----------------------
2640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2641 ac_fn_c_try_cpp ()
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 if { { ac_try="$ac_cpp conftest.$ac_ext"
2645 case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2652 ac_status=$?
2653 if test -s conftest.err; then
2654 grep -v '^ *+' conftest.err >conftest.er1
2655 cat conftest.er1 >&5
2656 mv -f conftest.er1 conftest.err
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } > conftest.i && {
2660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2662 }; then :
2663 ac_retval=0
2664 else
2665 $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 ac_retval=1
2670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2671 as_fn_set_status $ac_retval
2673 } # ac_fn_c_try_cpp
2675 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2676 # -------------------------------------------------------
2677 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2678 # the include files in INCLUDES and setting the cache variable VAR
2679 # accordingly.
2680 ac_fn_c_check_header_mongrel ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 if eval \${$3+:} false; then :
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2685 $as_echo_n "checking for $2... " >&6; }
2686 if eval \${$3+:} false; then :
2687 $as_echo_n "(cached) " >&6
2689 eval ac_res=\$$3
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2691 $as_echo "$ac_res" >&6; }
2692 else
2693 # Is the header compilable?
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2695 $as_echo_n "checking $2 usability... " >&6; }
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2699 #include <$2>
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702 ac_header_compiler=yes
2703 else
2704 ac_header_compiler=no
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2708 $as_echo "$ac_header_compiler" >&6; }
2710 # Is the header present?
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2712 $as_echo_n "checking $2 presence... " >&6; }
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2715 #include <$2>
2716 _ACEOF
2717 if ac_fn_c_try_cpp "$LINENO"; then :
2718 ac_header_preproc=yes
2719 else
2720 ac_header_preproc=no
2722 rm -f conftest.err conftest.i conftest.$ac_ext
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2724 $as_echo "$ac_header_preproc" >&6; }
2726 # So? What about this header?
2727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2728 yes:no: )
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2730 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2734 no:yes:* )
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2736 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2738 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2740 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2742 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2745 ( $as_echo "## ------------------------------------ ##
2746 ## Report this to wine-devel@winehq.org ##
2747 ## ------------------------------------ ##"
2748 ) | sed "s/^/$as_me: WARNING: /" >&2
2750 esac
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2752 $as_echo_n "checking for $2... " >&6; }
2753 if eval \${$3+:} false; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 eval "$3=\$ac_header_compiler"
2758 eval ac_res=\$$3
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_header_mongrel
2766 # ac_fn_c_try_run LINENO
2767 # ----------------------
2768 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2769 # that executables *can* be run.
2770 ac_fn_c_try_run ()
2772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2773 if { { ac_try="$ac_link"
2774 case "(($ac_try" in
2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2777 esac
2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 $as_echo "$ac_try_echo"; } >&5
2780 (eval "$ac_link") 2>&5
2781 ac_status=$?
2782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2784 { { case "(($ac_try" in
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2787 esac
2788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2789 $as_echo "$ac_try_echo"; } >&5
2790 (eval "$ac_try") 2>&5
2791 ac_status=$?
2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2793 test $ac_status = 0; }; }; then :
2794 ac_retval=0
2795 else
2796 $as_echo "$as_me: program exited with status $ac_status" >&5
2797 $as_echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 ac_retval=$ac_status
2802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_c_try_run
2808 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2809 # -------------------------------------------------------
2810 # Tests whether HEADER exists and can be compiled using the include files in
2811 # INCLUDES, setting the cache variable VAR accordingly.
2812 ac_fn_c_check_header_compile ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 $as_echo_n "checking for $2... " >&6; }
2817 if eval \${$3+:} false; then :
2818 $as_echo_n "(cached) " >&6
2819 else
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2823 #include <$2>
2824 _ACEOF
2825 if ac_fn_c_try_compile "$LINENO"; then :
2826 eval "$3=yes"
2827 else
2828 eval "$3=no"
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 eval ac_res=\$$3
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 $as_echo "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_header_compile
2839 # ac_fn_c_check_func LINENO FUNC VAR
2840 # ----------------------------------
2841 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2842 ac_fn_c_check_func ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 $as_echo_n "checking for $2... " >&6; }
2847 if eval \${$3+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2852 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2854 #define $2 innocuous_$2
2856 /* System header to define __stub macros and hopefully few prototypes,
2857 which can conflict with char $2 (); below.
2858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2859 <limits.h> exists even on freestanding compilers. */
2861 #ifdef __STDC__
2862 # include <limits.h>
2863 #else
2864 # include <assert.h>
2865 #endif
2867 #undef $2
2869 /* Override any GCC internal prototype to avoid an error.
2870 Use char because int might match the return type of a GCC
2871 builtin and then its argument prototype would still apply. */
2872 #ifdef __cplusplus
2873 extern "C"
2874 #endif
2875 char $2 ();
2876 /* The GNU C library defines this for functions which it implements
2877 to always fail with ENOSYS. Some functions are actually named
2878 something starting with __ and the normal name is an alias. */
2879 #if defined __stub_$2 || defined __stub___$2
2880 choke me
2881 #endif
2884 main ()
2886 return $2 ();
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_link "$LINENO"; then :
2892 eval "$3=yes"
2893 else
2894 eval "$3=no"
2896 rm -f core conftest.err conftest.$ac_objext \
2897 conftest$ac_exeext conftest.$ac_ext
2899 eval ac_res=\$$3
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 $as_echo "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_c_check_func
2906 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2907 # ----------------------------------------------------
2908 # Tries to find if the field MEMBER exists in type AGGR, after including
2909 # INCLUDES, setting cache variable VAR accordingly.
2910 ac_fn_c_check_member ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2914 $as_echo_n "checking for $2.$3... " >&6; }
2915 if eval \${$4+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917 else
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2922 main ()
2924 static $2 ac_aggr;
2925 if (ac_aggr.$3)
2926 return 0;
2928 return 0;
2930 _ACEOF
2931 if ac_fn_c_try_compile "$LINENO"; then :
2932 eval "$4=yes"
2933 else
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2938 main ()
2940 static $2 ac_aggr;
2941 if (sizeof ac_aggr.$3)
2942 return 0;
2944 return 0;
2946 _ACEOF
2947 if ac_fn_c_try_compile "$LINENO"; then :
2948 eval "$4=yes"
2949 else
2950 eval "$4=no"
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 eval ac_res=\$$4
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2958 $as_echo "$ac_res" >&6; }
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 } # ac_fn_c_check_member
2963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2964 # -------------------------------------------
2965 # Tests whether TYPE exists after having included INCLUDES, setting cache
2966 # variable VAR accordingly.
2967 ac_fn_c_check_type ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 eval "$3=no"
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2980 main ()
2982 if (sizeof ($2))
2983 return 0;
2985 return 0;
2987 _ACEOF
2988 if ac_fn_c_try_compile "$LINENO"; then :
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2993 main ()
2995 if (sizeof (($2)))
2996 return 0;
2998 return 0;
3000 _ACEOF
3001 if ac_fn_c_try_compile "$LINENO"; then :
3003 else
3004 eval "$3=yes"
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 eval ac_res=\$$3
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3012 $as_echo "$ac_res" >&6; }
3013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 } # ac_fn_c_check_type
3016 cat >config.log <<_ACEOF
3017 This file contains any messages produced by compilers while
3018 running configure, to aid debugging if configure makes a mistake.
3020 It was created by Wine $as_me 2.0.4, which was
3021 generated by GNU Autoconf 2.69. Invocation command line was
3023 $ $0 $@
3025 _ACEOF
3026 exec 5>>config.log
3028 cat <<_ASUNAME
3029 ## --------- ##
3030 ## Platform. ##
3031 ## --------- ##
3033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3050 _ASUNAME
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3055 IFS=$as_save_IFS
3056 test -z "$as_dir" && as_dir=.
3057 $as_echo "PATH: $as_dir"
3058 done
3059 IFS=$as_save_IFS
3061 } >&5
3063 cat >&5 <<_ACEOF
3066 ## ----------- ##
3067 ## Core tests. ##
3068 ## ----------- ##
3070 _ACEOF
3073 # Keep a trace of the command line.
3074 # Strip out --no-create and --no-recursion so they do not pile up.
3075 # Strip out --silent because we don't want to record it for future runs.
3076 # Also quote any args containing shell meta-characters.
3077 # Make two passes to allow for proper duplicate-argument suppression.
3078 ac_configure_args=
3079 ac_configure_args0=
3080 ac_configure_args1=
3081 ac_must_keep_next=false
3082 for ac_pass in 1 2
3084 for ac_arg
3086 case $ac_arg in
3087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3089 | -silent | --silent | --silen | --sile | --sil)
3090 continue ;;
3091 *\'*)
3092 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3093 esac
3094 case $ac_pass in
3095 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3097 as_fn_append ac_configure_args1 " '$ac_arg'"
3098 if test $ac_must_keep_next = true; then
3099 ac_must_keep_next=false # Got value, back to normal.
3100 else
3101 case $ac_arg in
3102 *=* | --config-cache | -C | -disable-* | --disable-* \
3103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3105 | -with-* | --with-* | -without-* | --without-* | --x)
3106 case "$ac_configure_args0 " in
3107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3108 esac
3110 -* ) ac_must_keep_next=true ;;
3111 esac
3113 as_fn_append ac_configure_args " '$ac_arg'"
3115 esac
3116 done
3117 done
3118 { ac_configure_args0=; unset ac_configure_args0;}
3119 { ac_configure_args1=; unset ac_configure_args1;}
3121 # When interrupted or exit'd, cleanup temporary files, and complete
3122 # config.log. We remove comments because anyway the quotes in there
3123 # would cause problems or look ugly.
3124 # WARNING: Use '\'' to represent an apostrophe within the trap.
3125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3126 trap 'exit_status=$?
3127 # Save into config.log some information that might help in debugging.
3129 echo
3131 $as_echo "## ---------------- ##
3132 ## Cache variables. ##
3133 ## ---------------- ##"
3134 echo
3135 # The following way of writing the cache mishandles newlines in values,
3137 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3138 eval ac_val=\$$ac_var
3139 case $ac_val in #(
3140 *${as_nl}*)
3141 case $ac_var in #(
3142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3144 esac
3145 case $ac_var in #(
3146 _ | IFS | as_nl) ;; #(
3147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3148 *) { eval $ac_var=; unset $ac_var;} ;;
3149 esac ;;
3150 esac
3151 done
3152 (set) 2>&1 |
3153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3154 *${as_nl}ac_space=\ *)
3155 sed -n \
3156 "s/'\''/'\''\\\\'\'''\''/g;
3157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3158 ;; #(
3160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3162 esac |
3163 sort
3165 echo
3167 $as_echo "## ----------------- ##
3168 ## Output variables. ##
3169 ## ----------------- ##"
3170 echo
3171 for ac_var in $ac_subst_vars
3173 eval ac_val=\$$ac_var
3174 case $ac_val in
3175 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3176 esac
3177 $as_echo "$ac_var='\''$ac_val'\''"
3178 done | sort
3179 echo
3181 if test -n "$ac_subst_files"; then
3182 $as_echo "## ------------------- ##
3183 ## File substitutions. ##
3184 ## ------------------- ##"
3185 echo
3186 for ac_var in $ac_subst_files
3188 eval ac_val=\$$ac_var
3189 case $ac_val in
3190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3191 esac
3192 $as_echo "$ac_var='\''$ac_val'\''"
3193 done | sort
3194 echo
3197 if test -s confdefs.h; then
3198 $as_echo "## ----------- ##
3199 ## confdefs.h. ##
3200 ## ----------- ##"
3201 echo
3202 cat confdefs.h
3203 echo
3205 test "$ac_signal" != 0 &&
3206 $as_echo "$as_me: caught signal $ac_signal"
3207 $as_echo "$as_me: exit $exit_status"
3208 } >&5
3209 rm -f core *.core core.conftest.* &&
3210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3211 exit $exit_status
3213 for ac_signal in 1 2 13 15; do
3214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3215 done
3216 ac_signal=0
3218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3219 rm -f -r conftest* confdefs.h
3221 $as_echo "/* confdefs.h */" > confdefs.h
3223 # Predefined preprocessor variables.
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_NAME "$PACKAGE_NAME"
3227 _ACEOF
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3231 _ACEOF
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3235 _ACEOF
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_STRING "$PACKAGE_STRING"
3239 _ACEOF
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3243 _ACEOF
3245 cat >>confdefs.h <<_ACEOF
3246 #define PACKAGE_URL "$PACKAGE_URL"
3247 _ACEOF
3250 # Let the site file select an alternate cache file if it wants to.
3251 # Prefer an explicitly selected file to automatically selected ones.
3252 ac_site_file1=NONE
3253 ac_site_file2=NONE
3254 if test -n "$CONFIG_SITE"; then
3255 # We do not want a PATH search for config.site.
3256 case $CONFIG_SITE in #((
3257 -*) ac_site_file1=./$CONFIG_SITE;;
3258 */*) ac_site_file1=$CONFIG_SITE;;
3259 *) ac_site_file1=./$CONFIG_SITE;;
3260 esac
3261 elif test "x$prefix" != xNONE; then
3262 ac_site_file1=$prefix/share/config.site
3263 ac_site_file2=$prefix/etc/config.site
3264 else
3265 ac_site_file1=$ac_default_prefix/share/config.site
3266 ac_site_file2=$ac_default_prefix/etc/config.site
3268 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3270 test "x$ac_site_file" = xNONE && continue
3271 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3273 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3274 sed 's/^/| /' "$ac_site_file" >&5
3275 . "$ac_site_file" \
3276 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $? "failed to load site script $ac_site_file
3279 See \`config.log' for more details" "$LINENO" 5; }
3281 done
3283 if test -r "$cache_file"; then
3284 # Some versions of bash will fail to source /dev/null (special files
3285 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3286 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3288 $as_echo "$as_me: loading cache $cache_file" >&6;}
3289 case $cache_file in
3290 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3291 *) . "./$cache_file";;
3292 esac
3294 else
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3296 $as_echo "$as_me: creating cache $cache_file" >&6;}
3297 >$cache_file
3300 # Check that the precious variables saved in the cache have kept the same
3301 # value.
3302 ac_cache_corrupted=false
3303 for ac_var in $ac_precious_vars; do
3304 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3305 eval ac_new_set=\$ac_env_${ac_var}_set
3306 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3307 eval ac_new_val=\$ac_env_${ac_var}_value
3308 case $ac_old_set,$ac_new_set in
3309 set,)
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3312 ac_cache_corrupted=: ;;
3313 ,set)
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3316 ac_cache_corrupted=: ;;
3317 ,);;
3319 if test "x$ac_old_val" != "x$ac_new_val"; then
3320 # differences in whitespace do not lead to failure.
3321 ac_old_val_w=`echo x $ac_old_val`
3322 ac_new_val_w=`echo x $ac_new_val`
3323 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3326 ac_cache_corrupted=:
3327 else
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3330 eval $ac_var=\$ac_old_val
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3333 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3335 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3336 fi;;
3337 esac
3338 # Pass precious variables to config.status.
3339 if test "$ac_new_set" = set; then
3340 case $ac_new_val in
3341 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3342 *) ac_arg=$ac_var=$ac_new_val ;;
3343 esac
3344 case " $ac_configure_args " in
3345 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3346 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3347 esac
3349 done
3350 if $ac_cache_corrupted; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3355 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3357 ## -------------------- ##
3358 ## Main body of script. ##
3359 ## -------------------- ##
3361 ac_ext=c
3362 ac_cpp='$CPP $CPPFLAGS'
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 ac_config_headers="$ac_config_headers include/config.h"
3371 ac_aux_dir=
3372 for ac_dir in tools "$srcdir"/tools; do
3373 if test -f "$ac_dir/install-sh"; then
3374 ac_aux_dir=$ac_dir
3375 ac_install_sh="$ac_aux_dir/install-sh -c"
3376 break
3377 elif test -f "$ac_dir/install.sh"; then
3378 ac_aux_dir=$ac_dir
3379 ac_install_sh="$ac_aux_dir/install.sh -c"
3380 break
3381 elif test -f "$ac_dir/shtool"; then
3382 ac_aux_dir=$ac_dir
3383 ac_install_sh="$ac_aux_dir/shtool install -c"
3384 break
3386 done
3387 if test -z "$ac_aux_dir"; then
3388 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3391 # These three variables are undocumented and unsupported,
3392 # and are intended to be withdrawn in a future Autoconf release.
3393 # They can cause serious problems if a builder's source tree is in a directory
3394 # whose full name contains unusual characters.
3395 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3396 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3397 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3401 libwine_version="1.0"
3405 # Check whether --enable-win16 was given.
3406 if test "${enable_win16+set}" = set; then :
3407 enableval=$enable_win16;
3410 # Check whether --enable-win64 was given.
3411 if test "${enable_win64+set}" = set; then :
3412 enableval=$enable_win64;
3415 # Check whether --enable-tests was given.
3416 if test "${enable_tests+set}" = set; then :
3417 enableval=$enable_tests;
3420 # Check whether --enable-maintainer-mode was given.
3421 if test "${enable_maintainer_mode+set}" = set; then :
3422 enableval=$enable_maintainer_mode;
3427 # Check whether --with-alsa was given.
3428 if test "${with_alsa+set}" = set; then :
3429 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3433 # Check whether --with-capi was given.
3434 if test "${with_capi+set}" = set; then :
3435 withval=$with_capi;
3439 # Check whether --with-cms was given.
3440 if test "${with_cms+set}" = set; then :
3441 withval=$with_cms;
3445 # Check whether --with-coreaudio was given.
3446 if test "${with_coreaudio+set}" = set; then :
3447 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3451 # Check whether --with-cups was given.
3452 if test "${with_cups+set}" = set; then :
3453 withval=$with_cups;
3457 # Check whether --with-curses was given.
3458 if test "${with_curses+set}" = set; then :
3459 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3463 # Check whether --with-dbus was given.
3464 if test "${with_dbus+set}" = set; then :
3465 withval=$with_dbus;
3469 # Check whether --with-fontconfig was given.
3470 if test "${with_fontconfig+set}" = set; then :
3471 withval=$with_fontconfig;
3475 # Check whether --with-freetype was given.
3476 if test "${with_freetype+set}" = set; then :
3477 withval=$with_freetype;
3481 # Check whether --with-gettext was given.
3482 if test "${with_gettext+set}" = set; then :
3483 withval=$with_gettext;
3487 # Check whether --with-gettextpo was given.
3488 if test "${with_gettextpo+set}" = set; then :
3489 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3493 # Check whether --with-gphoto was given.
3494 if test "${with_gphoto+set}" = set; then :
3495 withval=$with_gphoto;
3499 # Check whether --with-glu was given.
3500 if test "${with_glu+set}" = set; then :
3501 withval=$with_glu;
3505 # Check whether --with-gnutls was given.
3506 if test "${with_gnutls+set}" = set; then :
3507 withval=$with_gnutls;
3511 # Check whether --with-gsm was given.
3512 if test "${with_gsm+set}" = set; then :
3513 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3517 # Check whether --with-gstreamer was given.
3518 if test "${with_gstreamer+set}" = set; then :
3519 withval=$with_gstreamer;
3523 # Check whether --with-hal was given.
3524 if test "${with_hal+set}" = set; then :
3525 withval=$with_hal;
3529 # Check whether --with-jpeg was given.
3530 if test "${with_jpeg+set}" = set; then :
3531 withval=$with_jpeg;
3535 # Check whether --with-ldap was given.
3536 if test "${with_ldap+set}" = set; then :
3537 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3541 # Check whether --with-mpg123 was given.
3542 if test "${with_mpg123+set}" = set; then :
3543 withval=$with_mpg123;
3547 # Check whether --with-netapi was given.
3548 if test "${with_netapi+set}" = set; then :
3549 withval=$with_netapi;
3553 # Check whether --with-openal was given.
3554 if test "${with_openal+set}" = set; then :
3555 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3559 # Check whether --with-opencl was given.
3560 if test "${with_opencl+set}" = set; then :
3561 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3565 # Check whether --with-opengl was given.
3566 if test "${with_opengl+set}" = set; then :
3567 withval=$with_opengl;
3571 # Check whether --with-osmesa was given.
3572 if test "${with_osmesa+set}" = set; then :
3573 withval=$with_osmesa;
3577 # Check whether --with-oss was given.
3578 if test "${with_oss+set}" = set; then :
3579 withval=$with_oss;
3583 # Check whether --with-pcap was given.
3584 if test "${with_pcap+set}" = set; then :
3585 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3589 # Check whether --with-png was given.
3590 if test "${with_png+set}" = set; then :
3591 withval=$with_png;
3595 # Check whether --with-pthread was given.
3596 if test "${with_pthread+set}" = set; then :
3597 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3601 # Check whether --with-pulse was given.
3602 if test "${with_pulse+set}" = set; then :
3603 withval=$with_pulse;
3607 # Check whether --with-sane was given.
3608 if test "${with_sane+set}" = set; then :
3609 withval=$with_sane;
3613 # Check whether --with-tiff was given.
3614 if test "${with_tiff+set}" = set; then :
3615 withval=$with_tiff;
3619 # Check whether --with-udev was given.
3620 if test "${with_udev+set}" = set; then :
3621 withval=$with_udev;
3625 # Check whether --with-v4l was given.
3626 if test "${with_v4l+set}" = set; then :
3627 withval=$with_v4l;
3631 # Check whether --with-xcomposite was given.
3632 if test "${with_xcomposite+set}" = set; then :
3633 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3637 # Check whether --with-xcursor was given.
3638 if test "${with_xcursor+set}" = set; then :
3639 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3643 # Check whether --with-xinerama was given.
3644 if test "${with_xinerama+set}" = set; then :
3645 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3649 # Check whether --with-xinput was given.
3650 if test "${with_xinput+set}" = set; then :
3651 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3655 # Check whether --with-xinput2 was given.
3656 if test "${with_xinput2+set}" = set; then :
3657 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3661 # Check whether --with-xml was given.
3662 if test "${with_xml+set}" = set; then :
3663 withval=$with_xml;
3667 # Check whether --with-xrandr was given.
3668 if test "${with_xrandr+set}" = set; then :
3669 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3673 # Check whether --with-xrender was given.
3674 if test "${with_xrender+set}" = set; then :
3675 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3679 # Check whether --with-xshape was given.
3680 if test "${with_xshape+set}" = set; then :
3681 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3685 # Check whether --with-xshm was given.
3686 if test "${with_xshm+set}" = set; then :
3687 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3691 # Check whether --with-xslt was given.
3692 if test "${with_xslt+set}" = set; then :
3693 withval=$with_xslt;
3697 # Check whether --with-xxf86vm was given.
3698 if test "${with_xxf86vm+set}" = set; then :
3699 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
3703 # Check whether --with-zlib was given.
3704 if test "${with_zlib+set}" = set; then :
3705 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3710 # Check whether --with-wine-tools was given.
3711 if test "${with_wine_tools+set}" = set; then :
3712 withval=$with_wine_tools;
3716 # Check whether --with-wine64 was given.
3717 if test "${with_wine64+set}" = set; then :
3718 withval=$with_wine64;
3722 # Make sure we can run config.sub.
3723 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3724 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3727 $as_echo_n "checking build system type... " >&6; }
3728 if ${ac_cv_build+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 ac_build_alias=$build_alias
3732 test "x$ac_build_alias" = x &&
3733 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3734 test "x$ac_build_alias" = x &&
3735 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3736 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3737 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3741 $as_echo "$ac_cv_build" >&6; }
3742 case $ac_cv_build in
3743 *-*-*) ;;
3744 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3745 esac
3746 build=$ac_cv_build
3747 ac_save_IFS=$IFS; IFS='-'
3748 set x $ac_cv_build
3749 shift
3750 build_cpu=$1
3751 build_vendor=$2
3752 shift; shift
3753 # Remember, the first character of IFS is used to create $*,
3754 # except with old shells:
3755 build_os=$*
3756 IFS=$ac_save_IFS
3757 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3761 $as_echo_n "checking host system type... " >&6; }
3762 if ${ac_cv_host+:} false; then :
3763 $as_echo_n "(cached) " >&6
3764 else
3765 if test "x$host_alias" = x; then
3766 ac_cv_host=$ac_cv_build
3767 else
3768 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3769 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3774 $as_echo "$ac_cv_host" >&6; }
3775 case $ac_cv_host in
3776 *-*-*) ;;
3777 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3778 esac
3779 host=$ac_cv_host
3780 ac_save_IFS=$IFS; IFS='-'
3781 set x $ac_cv_host
3782 shift
3783 host_cpu=$1
3784 host_vendor=$2
3785 shift; shift
3786 # Remember, the first character of IFS is used to create $*,
3787 # except with old shells:
3788 host_os=$*
3789 IFS=$ac_save_IFS
3790 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3794 case "$srcdir" in
3795 .) ;;
3796 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3797 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3798 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3799 fi ;;
3800 esac
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3804 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3805 set x ${MAKE-make}
3806 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3807 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 cat >conftest.make <<\_ACEOF
3811 SHELL = /bin/sh
3812 all:
3813 @echo '@@@%%%=$(MAKE)=@@@%%%'
3814 _ACEOF
3815 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3816 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3817 *@@@%%%=?*=@@@%%%*)
3818 eval ac_cv_prog_make_${ac_make}_set=yes;;
3820 eval ac_cv_prog_make_${ac_make}_set=no;;
3821 esac
3822 rm -f conftest.make
3824 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3826 $as_echo "yes" >&6; }
3827 SET_MAKE=
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3831 SET_MAKE="MAKE=${MAKE-make}"
3834 ac_ext=c
3835 ac_cpp='$CPP $CPPFLAGS'
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839 if test -n "$ac_tool_prefix"; then
3840 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3841 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 CC=$ac_cv_prog_CC
3868 if test -n "$CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3870 $as_echo "$CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3878 if test -z "$ac_cv_prog_CC"; then
3879 ac_ct_CC=$CC
3880 # Extract the first word of "gcc", so it can be a program name with args.
3881 set dummy gcc; ac_word=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test -n "$ac_ct_CC"; then
3888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3889 else
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3893 IFS=$as_save_IFS
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_ac_ct_CC="gcc"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 break 2
3901 done
3902 done
3903 IFS=$as_save_IFS
3907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3908 if test -n "$ac_ct_CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3910 $as_echo "$ac_ct_CC" >&6; }
3911 else
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3916 if test "x$ac_ct_CC" = x; then
3917 CC=""
3918 else
3919 case $cross_compiling:$ac_tool_warned in
3920 yes:)
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3923 ac_tool_warned=yes ;;
3924 esac
3925 CC=$ac_ct_CC
3927 else
3928 CC="$ac_cv_prog_CC"
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}cc; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CC+:} false; then :
3938 $as_echo_n "(cached) " >&6
3939 else
3940 if test -n "$CC"; then
3941 ac_cv_prog_CC="$CC" # Let the user override the test.
3942 else
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 for as_dir in $PATH
3946 IFS=$as_save_IFS
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_prog_CC="${ac_tool_prefix}cc"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 break 2
3954 done
3955 done
3956 IFS=$as_save_IFS
3960 CC=$ac_cv_prog_CC
3961 if test -n "$CC"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3963 $as_echo "$CC" >&6; }
3964 else
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3972 if test -z "$CC"; then
3973 # Extract the first word of "cc", so it can be a program name with args.
3974 set dummy cc; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$CC"; then
3981 ac_cv_prog_CC="$CC" # Let the user override the test.
3982 else
3983 ac_prog_rejected=no
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3992 ac_prog_rejected=yes
3993 continue
3995 ac_cv_prog_CC="cc"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 break 2
3999 done
4000 done
4001 IFS=$as_save_IFS
4003 if test $ac_prog_rejected = yes; then
4004 # We found a bogon in the path, so make sure we never use it.
4005 set dummy $ac_cv_prog_CC
4006 shift
4007 if test $# != 0; then
4008 # We chose a different compiler from the bogus one.
4009 # However, it has the same basename, so the bogon will be chosen
4010 # first if we set CC to just the basename; use the full file name.
4011 shift
4012 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4017 CC=$ac_cv_prog_CC
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4021 else
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$CC"; then
4029 if test -n "$ac_tool_prefix"; then
4030 for ac_prog in cl.exe
4032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC="$CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4055 IFS=$as_save_IFS
4059 CC=$ac_cv_prog_CC
4060 if test -n "$CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4062 $as_echo "$CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4069 test -n "$CC" && break
4070 done
4072 if test -z "$CC"; then
4073 ac_ct_CC=$CC
4074 for ac_prog in cl.exe
4076 # Extract the first word of "$ac_prog", so it can be a program name with args.
4077 set dummy $ac_prog; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 if test -n "$ac_ct_CC"; then
4084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4085 else
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 for as_dir in $PATH
4089 IFS=$as_save_IFS
4090 test -z "$as_dir" && as_dir=.
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_ac_ct_CC="$ac_prog"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 break 2
4097 done
4098 done
4099 IFS=$as_save_IFS
4103 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4104 if test -n "$ac_ct_CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4106 $as_echo "$ac_ct_CC" >&6; }
4107 else
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4113 test -n "$ac_ct_CC" && break
4114 done
4116 if test "x$ac_ct_CC" = x; then
4117 CC=""
4118 else
4119 case $cross_compiling:$ac_tool_warned in
4120 yes:)
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4123 ac_tool_warned=yes ;;
4124 esac
4125 CC=$ac_ct_CC
4132 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error $? "no acceptable C compiler found in \$PATH
4135 See \`config.log' for more details" "$LINENO" 5; }
4137 # Provide some information about the compiler.
4138 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4139 set X $ac_compile
4140 ac_compiler=$2
4141 for ac_option in --version -v -V -qversion; do
4142 { { ac_try="$ac_compiler $ac_option >&5"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4150 ac_status=$?
4151 if test -s conftest.err; then
4152 sed '10a\
4153 ... rest of stderr output deleted ...
4154 10q' conftest.err >conftest.er1
4155 cat conftest.er1 >&5
4157 rm -f conftest.er1 conftest.err
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }
4160 done
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 ac_clean_files_save=$ac_clean_files
4174 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4175 # Try to create an executable without -o first, disregard a.out.
4176 # It will help us diagnose broken compilers, and finding out an intuition
4177 # of exeext.
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4179 $as_echo_n "checking whether the C compiler works... " >&6; }
4180 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4182 # The possible output files:
4183 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4185 ac_rmfiles=
4186 for ac_file in $ac_files
4188 case $ac_file in
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4190 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4191 esac
4192 done
4193 rm -f $ac_rmfiles
4195 if { { ac_try="$ac_link_default"
4196 case "(($ac_try" in
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4199 esac
4200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4201 $as_echo "$ac_try_echo"; } >&5
4202 (eval "$ac_link_default") 2>&5
4203 ac_status=$?
4204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4205 test $ac_status = 0; }; then :
4206 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4207 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4208 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4209 # so that the user can short-circuit this test for compilers unknown to
4210 # Autoconf.
4211 for ac_file in $ac_files ''
4213 test -f "$ac_file" || continue
4214 case $ac_file in
4215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4217 [ab].out )
4218 # We found the default executable, but exeext='' is most
4219 # certainly right.
4220 break;;
4221 *.* )
4222 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4223 then :; else
4224 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4226 # We set ac_cv_exeext here because the later test for it is not
4227 # safe: cross compilers may not add the suffix if given an `-o'
4228 # argument, so we may need to know it at that point already.
4229 # Even if this section looks crufty: it has the advantage of
4230 # actually working.
4231 break;;
4233 break;;
4234 esac
4235 done
4236 test "$ac_cv_exeext" = no && ac_cv_exeext=
4238 else
4239 ac_file=''
4241 if test -z "$ac_file"; then :
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4244 $as_echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 as_fn_error 77 "C compiler cannot create executables
4250 See \`config.log' for more details" "$LINENO" 5; }
4251 else
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4253 $as_echo "yes" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4256 $as_echo_n "checking for C compiler default output file name... " >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4258 $as_echo "$ac_file" >&6; }
4259 ac_exeext=$ac_cv_exeext
4261 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4262 ac_clean_files=$ac_clean_files_save
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4264 $as_echo_n "checking for suffix of executables... " >&6; }
4265 if { { ac_try="$ac_link"
4266 case "(($ac_try" in
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4269 esac
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_link") 2>&5
4273 ac_status=$?
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4278 # work properly (i.e., refer to `conftest.exe'), while it won't with
4279 # `rm'.
4280 for ac_file in conftest.exe conftest conftest.*; do
4281 test -f "$ac_file" || continue
4282 case $ac_file in
4283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4285 break;;
4286 * ) break;;
4287 esac
4288 done
4289 else
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4293 See \`config.log' for more details" "$LINENO" 5; }
4295 rm -f conftest conftest$ac_cv_exeext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4297 $as_echo "$ac_cv_exeext" >&6; }
4299 rm -f conftest.$ac_ext
4300 EXEEXT=$ac_cv_exeext
4301 ac_exeext=$EXEEXT
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4304 #include <stdio.h>
4306 main ()
4308 FILE *f = fopen ("conftest.out", "w");
4309 return ferror (f) || fclose (f) != 0;
4312 return 0;
4314 _ACEOF
4315 ac_clean_files="$ac_clean_files conftest.out"
4316 # Check that the compiler produces executables we can run. If not, either
4317 # the compiler is broken, or we cross compile.
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4319 $as_echo_n "checking whether we are cross compiling... " >&6; }
4320 if test "$cross_compiling" != yes; then
4321 { { ac_try="$ac_link"
4322 case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_link") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }
4332 if { ac_try='./conftest$ac_cv_exeext'
4333 { { case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_try") 2>&5
4340 ac_status=$?
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }; }; then
4343 cross_compiling=no
4344 else
4345 if test "$cross_compiling" = maybe; then
4346 cross_compiling=yes
4347 else
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error $? "cannot run C compiled programs.
4351 If you meant to cross compile, use \`--host'.
4352 See \`config.log' for more details" "$LINENO" 5; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4357 $as_echo "$cross_compiling" >&6; }
4359 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4360 ac_clean_files=$ac_clean_files_save
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4362 $as_echo_n "checking for suffix of object files... " >&6; }
4363 if ${ac_cv_objext+:} false; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4370 main ()
4374 return 0;
4376 _ACEOF
4377 rm -f conftest.o conftest.obj
4378 if { { ac_try="$ac_compile"
4379 case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4382 esac
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_compile") 2>&5
4386 ac_status=$?
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then :
4389 for ac_file in conftest.o conftest.obj conftest.*; do
4390 test -f "$ac_file" || continue;
4391 case $ac_file in
4392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4393 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4394 break;;
4395 esac
4396 done
4397 else
4398 $as_echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.$ac_ext >&5
4401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403 as_fn_error $? "cannot compute suffix of object files: cannot compile
4404 See \`config.log' for more details" "$LINENO" 5; }
4406 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4409 $as_echo "$ac_cv_objext" >&6; }
4410 OBJEXT=$ac_cv_objext
4411 ac_objext=$OBJEXT
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4413 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4414 if ${ac_cv_c_compiler_gnu+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4421 main ()
4423 #ifndef __GNUC__
4424 choke me
4425 #endif
4428 return 0;
4430 _ACEOF
4431 if ac_fn_c_try_compile "$LINENO"; then :
4432 ac_compiler_gnu=yes
4433 else
4434 ac_compiler_gnu=no
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4441 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4442 if test $ac_compiler_gnu = yes; then
4443 GCC=yes
4444 else
4445 GCC=
4447 ac_test_CFLAGS=${CFLAGS+set}
4448 ac_save_CFLAGS=$CFLAGS
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4450 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4451 if ${ac_cv_prog_cc_g+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 ac_save_c_werror_flag=$ac_c_werror_flag
4455 ac_c_werror_flag=yes
4456 ac_cv_prog_cc_g=no
4457 CFLAGS="-g"
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4462 main ()
4466 return 0;
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470 ac_cv_prog_cc_g=yes
4471 else
4472 CFLAGS=""
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"; then :
4486 else
4487 ac_c_werror_flag=$ac_save_c_werror_flag
4488 CFLAGS="-g"
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_prog_cc_g=yes
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 ac_c_werror_flag=$ac_save_c_werror_flag
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4511 $as_echo "$ac_cv_prog_cc_g" >&6; }
4512 if test "$ac_test_CFLAGS" = set; then
4513 CFLAGS=$ac_save_CFLAGS
4514 elif test $ac_cv_prog_cc_g = yes; then
4515 if test "$GCC" = yes; then
4516 CFLAGS="-g -O2"
4517 else
4518 CFLAGS="-g"
4520 else
4521 if test "$GCC" = yes; then
4522 CFLAGS="-O2"
4523 else
4524 CFLAGS=
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4528 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4529 if ${ac_cv_prog_cc_c89+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 ac_cv_prog_cc_c89=no
4533 ac_save_CC=$CC
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536 #include <stdarg.h>
4537 #include <stdio.h>
4538 struct stat;
4539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4540 struct buf { int x; };
4541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4542 static char *e (p, i)
4543 char **p;
4544 int i;
4546 return p[i];
4548 static char *f (char * (*g) (char **, int), char **p, ...)
4550 char *s;
4551 va_list v;
4552 va_start (v,p);
4553 s = g (p, va_arg (v,int));
4554 va_end (v);
4555 return s;
4558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4559 function prototypes and stuff, but not '\xHH' hex character constants.
4560 These don't provoke an error unfortunately, instead are silently treated
4561 as 'x'. The following induces an error, until -std is added to get
4562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4563 array size at least. It's necessary to write '\x00'==0 to get something
4564 that's true only with -std. */
4565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4568 inside strings and character constants. */
4569 #define FOO(x) 'x'
4570 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4572 int test (int i, double x);
4573 struct s1 {int (*f) (int a);};
4574 struct s2 {int (*f) (double a);};
4575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4576 int argc;
4577 char **argv;
4579 main ()
4581 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4583 return 0;
4585 _ACEOF
4586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4587 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4589 CC="$ac_save_CC $ac_arg"
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_c89=$ac_arg
4593 rm -f core conftest.err conftest.$ac_objext
4594 test "x$ac_cv_prog_cc_c89" != "xno" && break
4595 done
4596 rm -f conftest.$ac_ext
4597 CC=$ac_save_CC
4600 # AC_CACHE_VAL
4601 case "x$ac_cv_prog_cc_c89" in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4604 $as_echo "none needed" >&6; } ;;
4605 xno)
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4607 $as_echo "unsupported" >&6; } ;;
4609 CC="$CC $ac_cv_prog_cc_c89"
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4611 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4612 esac
4613 if test "x$ac_cv_prog_cc_c89" != xno; then :
4617 ac_ext=c
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4623 ac_ext=cpp
4624 ac_cpp='$CXXCPP $CPPFLAGS'
4625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4628 if test -z "$CXX"; then
4629 if test -n "$CCC"; then
4630 CXX=$CCC
4631 else
4632 if test -n "$ac_tool_prefix"; then
4633 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if ${ac_cv_prog_CXX+:} false; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 if test -n "$CXX"; then
4643 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4644 else
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH
4648 IFS=$as_save_IFS
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 break 2
4656 done
4657 done
4658 IFS=$as_save_IFS
4662 CXX=$ac_cv_prog_CXX
4663 if test -n "$CXX"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4665 $as_echo "$CXX" >&6; }
4666 else
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$CXX" && break
4673 done
4675 if test -z "$CXX"; then
4676 ac_ct_CXX=$CXX
4677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4679 # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy $ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$ac_ct_CXX"; then
4687 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CXX="$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4707 if test -n "$ac_ct_CXX"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4709 $as_echo "$ac_ct_CXX" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$ac_ct_CXX" && break
4717 done
4719 if test "x$ac_ct_CXX" = x; then
4720 CXX="g++"
4721 else
4722 case $cross_compiling:$ac_tool_warned in
4723 yes:)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4727 esac
4728 CXX=$ac_ct_CXX
4734 # Provide some information about the compiler.
4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4736 set X $ac_compile
4737 ac_compiler=$2
4738 for ac_option in --version -v -V -qversion; do
4739 { { ac_try="$ac_compiler $ac_option >&5"
4740 case "(($ac_try" in
4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4743 esac
4744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4747 ac_status=$?
4748 if test -s conftest.err; then
4749 sed '10a\
4750 ... rest of stderr output deleted ...
4751 10q' conftest.err >conftest.er1
4752 cat conftest.er1 >&5
4754 rm -f conftest.er1 conftest.err
4755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4756 test $ac_status = 0; }
4757 done
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4760 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4761 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4770 #ifndef __GNUC__
4771 choke me
4772 #endif
4775 return 0;
4777 _ACEOF
4778 if ac_fn_cxx_try_compile "$LINENO"; then :
4779 ac_compiler_gnu=yes
4780 else
4781 ac_compiler_gnu=no
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4788 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4789 if test $ac_compiler_gnu = yes; then
4790 GXX=yes
4791 else
4792 GXX=
4794 ac_test_CXXFLAGS=${CXXFLAGS+set}
4795 ac_save_CXXFLAGS=$CXXFLAGS
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4797 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4798 if ${ac_cv_prog_cxx_g+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800 else
4801 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4802 ac_cxx_werror_flag=yes
4803 ac_cv_prog_cxx_g=no
4804 CXXFLAGS="-g"
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4809 main ()
4813 return 0;
4815 _ACEOF
4816 if ac_fn_cxx_try_compile "$LINENO"; then :
4817 ac_cv_prog_cxx_g=yes
4818 else
4819 CXXFLAGS=""
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4833 else
4834 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4835 CXXFLAGS="-g"
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4840 main ()
4844 return 0;
4846 _ACEOF
4847 if ac_fn_cxx_try_compile "$LINENO"; then :
4848 ac_cv_prog_cxx_g=yes
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4858 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4859 if test "$ac_test_CXXFLAGS" = set; then
4860 CXXFLAGS=$ac_save_CXXFLAGS
4861 elif test $ac_cv_prog_cxx_g = yes; then
4862 if test "$GXX" = yes; then
4863 CXXFLAGS="-g -O2"
4864 else
4865 CXXFLAGS="-g"
4867 else
4868 if test "$GXX" = yes; then
4869 CXXFLAGS="-O2"
4870 else
4871 CXXFLAGS=
4874 ac_ext=c
4875 ac_cpp='$CPP $CPPFLAGS'
4876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_CPPBIN+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$CPPBIN"; then
4889 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 CPPBIN=$ac_cv_prog_CPPBIN
4909 if test -n "$CPPBIN"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4911 $as_echo "$CPPBIN" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_CPPBIN"; then
4920 ac_ct_CPPBIN=$CPPBIN
4921 # Extract the first word of "cpp", so it can be a program name with args.
4922 set dummy cpp; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$ac_ct_CPPBIN"; then
4929 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_CPPBIN="cpp"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4949 if test -n "$ac_ct_CPPBIN"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4951 $as_echo "$ac_ct_CPPBIN" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_CPPBIN" = x; then
4958 CPPBIN="cpp"
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 CPPBIN=$ac_ct_CPPBIN
4968 else
4969 CPPBIN="$ac_cv_prog_CPPBIN"
4973 cat >>confdefs.h <<_ACEOF
4974 #define EXEEXT "$ac_exeext"
4975 _ACEOF
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4979 set dummy ${ac_tool_prefix}ld; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_LD+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 if test -n "$LD"; then
4986 ac_cv_prog_LD="$LD" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_LD="${ac_tool_prefix}ld"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 LD=$ac_cv_prog_LD
5006 if test -n "$LD"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5008 $as_echo "$LD" >&6; }
5009 else
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5016 if test -z "$ac_cv_prog_LD"; then
5017 ac_ct_LD=$LD
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD="ld"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5048 $as_echo "$ac_ct_LD" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5054 if test "x$ac_ct_LD" = x; then
5055 LD=""
5056 else
5057 case $cross_compiling:$ac_tool_warned in
5058 yes:)
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned=yes ;;
5062 esac
5063 LD=$ac_ct_LD
5065 else
5066 LD="$ac_cv_prog_LD"
5070 case $host in
5071 *-darwin*)
5072 with_fontconfig=${with_fontconfig:-no}
5074 *-mingw32*|*-cygwin*)
5075 enable_win16=${enable_win16:-no}
5076 CFLAGS="$CFLAGS -D_WIN32"
5078 esac
5080 case $host in
5081 x86_64*|amd64*)
5082 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5083 then
5084 CC="$CC -m32"
5085 CXX="$CXX -m32"
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5087 $as_echo_n "checking whether $CC works... " >&6; }
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5093 main ()
5097 return 0;
5099 _ACEOF
5100 if ac_fn_c_try_link "$LINENO"; then :
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5102 $as_echo "yes" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5106 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5108 rm -f core conftest.err conftest.$ac_objext \
5109 conftest$ac_exeext conftest.$ac_ext
5110 host_cpu="i386"
5111 notice_platform="32-bit "
5112 TARGETFLAGS="-m32"
5114 enable_win16=${enable_win16:-yes}
5115 else
5116 if test "x${GCC}" = "xyes"
5117 then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5119 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 #include <stdarg.h>
5124 main ()
5126 void func(__builtin_ms_va_list *args);
5128 return 0;
5130 _ACEOF
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5133 $as_echo "yes" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5141 CC="$CC -m64"
5142 CXX="$CXX -m64"
5143 host_cpu="x86_64"
5144 notice_platform="64-bit "
5145 TARGETFLAGS="-m64"
5149 arm*)
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5151 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 int ac_test(int i) { return i; }
5156 main ()
5158 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5160 return 0;
5162 _ACEOF
5163 if ac_fn_c_try_link "$LINENO"; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5165 $as_echo "yes" >&6; }
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5171 rm -f core conftest.err conftest.$ac_objext \
5172 conftest$ac_exeext conftest.$ac_ext
5173 CFLAGS="$CFLAGS -marm"
5174 TARGETFLAGS="-marm"
5177 i[3456789]86*)
5178 enable_win16=${enable_win16:-yes}
5180 esac
5182 enable_win16=${enable_win16:-no}
5183 enable_win64=${enable_win64:-no}
5185 enable_winetest=${enable_winetest:-$enable_tests}
5187 if test -n "$with_wine64"
5188 then
5189 if test "x$enable_win64" = "xyes"
5190 then
5191 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5192 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5194 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5195 You should create a separate build directory and run configure from there." "$LINENO" 5
5196 enable_fonts=${enable_fonts:-no}
5197 enable_server=${enable_server:-no}
5198 elif test "x$enable_win64" = "xyes"
5199 then
5200 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5204 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5205 if ${wine_cv_toolsdir+:} false; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 wine_cv_toolsdir="$with_wine_tools"
5209 if test -z "$with_wine_tools"; then
5210 if test "$cross_compiling" = "yes"; then
5211 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5212 elif test -n "$with_wine64"; then
5213 wine_cv_toolsdir="$with_wine64"
5216 if test -z "$wine_cv_toolsdir"; then
5217 wine_makedep=tools/makedep
5218 wine_cv_toolsdir="\$(top_builddir)"
5219 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5220 wine_makedep=$wine_cv_toolsdir/tools/makedep
5221 case "$wine_cv_toolsdir" in
5222 /*) ;;
5223 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5224 esac
5225 enable_tools=${enable_tools:-no}
5226 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5227 else
5228 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5232 $as_echo "$wine_cv_toolsdir" >&6; }
5233 TOOLSDIR=$wine_cv_toolsdir
5235 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5236 then
5237 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5241 for ac_prog in flex
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy $ac_prog; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_FLEX+:} false; then :
5248 $as_echo_n "(cached) " >&6
5249 else
5250 if test -n "$FLEX"; then
5251 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5252 else
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_FLEX="$ac_prog"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 break 2
5264 done
5265 done
5266 IFS=$as_save_IFS
5270 FLEX=$ac_cv_prog_FLEX
5271 if test -n "$FLEX"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5273 $as_echo "$FLEX" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 test -n "$FLEX" && break
5281 done
5282 test -n "$FLEX" || FLEX="none"
5284 if test "$FLEX" = "none"
5285 then
5286 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5289 $as_echo_n "checking whether flex is recent enough... " >&6; }
5290 cat >conftest.l <<EOF
5291 %top{
5292 #include "prediluvian.h"
5296 if $FLEX -t conftest.l >/dev/null 2>&5
5297 then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5300 else
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5303 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5306 for ac_prog in bison
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy $ac_prog; ac_word=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_BISON+:} false; then :
5313 $as_echo_n "(cached) " >&6
5314 else
5315 if test -n "$BISON"; then
5316 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_BISON="$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5331 IFS=$as_save_IFS
5335 BISON=$ac_cv_prog_BISON
5336 if test -n "$BISON"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5338 $as_echo "$BISON" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$BISON" && break
5346 done
5347 test -n "$BISON" || BISON="none"
5349 if test "$BISON" = "none"
5350 then
5351 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5354 if test -n "$ac_tool_prefix"; then
5355 for ac_prog in ar gar
5357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if ${ac_cv_prog_AR+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 if test -n "$AR"; then
5365 ac_cv_prog_AR="$AR" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 AR=$ac_cv_prog_AR
5385 if test -n "$AR"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5387 $as_echo "$AR" >&6; }
5388 else
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5394 test -n "$AR" && break
5395 done
5397 if test -z "$AR"; then
5398 ac_ct_AR=$AR
5399 for ac_prog in ar gar
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402 set dummy $ac_prog; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 if test -n "$ac_ct_AR"; then
5409 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_AR="$ac_prog"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5428 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5429 if test -n "$ac_ct_AR"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5431 $as_echo "$ac_ct_AR" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5438 test -n "$ac_ct_AR" && break
5439 done
5441 if test "x$ac_ct_AR" = x; then
5442 AR="ar"
5443 else
5444 case $cross_compiling:$ac_tool_warned in
5445 yes:)
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5448 ac_tool_warned=yes ;;
5449 esac
5450 AR=$ac_ct_AR
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}strip; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_STRIP+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$STRIP"; then
5463 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 STRIP=$ac_cv_prog_STRIP
5483 if test -n "$STRIP"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5485 $as_echo "$STRIP" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_STRIP"; then
5494 ac_ct_STRIP=$STRIP
5495 # Extract the first word of "strip", so it can be a program name with args.
5496 set dummy strip; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$ac_ct_STRIP"; then
5503 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_ac_ct_STRIP="strip"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5523 if test -n "$ac_ct_STRIP"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5525 $as_echo "$ac_ct_STRIP" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_STRIP" = x; then
5532 STRIP="strip"
5533 else
5534 case $cross_compiling:$ac_tool_warned in
5535 yes:)
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned=yes ;;
5539 esac
5540 STRIP=$ac_ct_STRIP
5542 else
5543 STRIP="$ac_cv_prog_STRIP"
5546 ARFLAGS=rc
5548 if test -n "$ac_tool_prefix"; then
5549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5550 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_RANLIB+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if test -n "$RANLIB"; then
5557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 RANLIB=$ac_cv_prog_RANLIB
5577 if test -n "$RANLIB"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5579 $as_echo "$RANLIB" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5587 if test -z "$ac_cv_prog_RANLIB"; then
5588 ac_ct_RANLIB=$RANLIB
5589 # Extract the first word of "ranlib", so it can be a program name with args.
5590 set dummy ranlib; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$ac_ct_RANLIB"; then
5597 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_ac_ct_RANLIB="ranlib"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5617 if test -n "$ac_ct_RANLIB"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5619 $as_echo "$ac_ct_RANLIB" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5625 if test "x$ac_ct_RANLIB" = x; then
5626 RANLIB=":"
5627 else
5628 case $cross_compiling:$ac_tool_warned in
5629 yes:)
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632 ac_tool_warned=yes ;;
5633 esac
5634 RANLIB=$ac_ct_RANLIB
5636 else
5637 RANLIB="$ac_cv_prog_RANLIB"
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5641 $as_echo_n "checking whether ln -s works... " >&6; }
5642 LN_S=$as_ln_s
5643 if test "$LN_S" = "ln -s"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5645 $as_echo "yes" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5648 $as_echo "no, using $LN_S" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5653 if ${ac_cv_path_GREP+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 if test -z "$GREP"; then
5657 ac_path_GREP_found=false
5658 # Loop through the user's path and test for each of PROGNAME-LIST
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5662 IFS=$as_save_IFS
5663 test -z "$as_dir" && as_dir=.
5664 for ac_prog in grep ggrep; do
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5667 as_fn_executable_p "$ac_path_GREP" || continue
5668 # Check for GNU ac_path_GREP and select it if it is found.
5669 # Check for GNU $ac_path_GREP
5670 case `"$ac_path_GREP" --version 2>&1` in
5671 *GNU*)
5672 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5674 ac_count=0
5675 $as_echo_n 0123456789 >"conftest.in"
5676 while :
5678 cat "conftest.in" "conftest.in" >"conftest.tmp"
5679 mv "conftest.tmp" "conftest.in"
5680 cp "conftest.in" "conftest.nl"
5681 $as_echo 'GREP' >> "conftest.nl"
5682 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5683 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5684 as_fn_arith $ac_count + 1 && ac_count=$as_val
5685 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5686 # Best one so far, save it but keep looking for a better one
5687 ac_cv_path_GREP="$ac_path_GREP"
5688 ac_path_GREP_max=$ac_count
5690 # 10*(2^10) chars as input seems more than enough
5691 test $ac_count -gt 10 && break
5692 done
5693 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5694 esac
5696 $ac_path_GREP_found && break 3
5697 done
5698 done
5699 done
5700 IFS=$as_save_IFS
5701 if test -z "$ac_cv_path_GREP"; then
5702 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5704 else
5705 ac_cv_path_GREP=$GREP
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5710 $as_echo "$ac_cv_path_GREP" >&6; }
5711 GREP="$ac_cv_path_GREP"
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5715 $as_echo_n "checking for egrep... " >&6; }
5716 if ${ac_cv_path_EGREP+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5720 then ac_cv_path_EGREP="$GREP -E"
5721 else
5722 if test -z "$EGREP"; then
5723 ac_path_EGREP_found=false
5724 # Loop through the user's path and test for each of PROGNAME-LIST
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_prog in egrep; do
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5733 as_fn_executable_p "$ac_path_EGREP" || continue
5734 # Check for GNU ac_path_EGREP and select it if it is found.
5735 # Check for GNU $ac_path_EGREP
5736 case `"$ac_path_EGREP" --version 2>&1` in
5737 *GNU*)
5738 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5740 ac_count=0
5741 $as_echo_n 0123456789 >"conftest.in"
5742 while :
5744 cat "conftest.in" "conftest.in" >"conftest.tmp"
5745 mv "conftest.tmp" "conftest.in"
5746 cp "conftest.in" "conftest.nl"
5747 $as_echo 'EGREP' >> "conftest.nl"
5748 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5750 as_fn_arith $ac_count + 1 && ac_count=$as_val
5751 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5752 # Best one so far, save it but keep looking for a better one
5753 ac_cv_path_EGREP="$ac_path_EGREP"
5754 ac_path_EGREP_max=$ac_count
5756 # 10*(2^10) chars as input seems more than enough
5757 test $ac_count -gt 10 && break
5758 done
5759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5760 esac
5762 $ac_path_EGREP_found && break 3
5763 done
5764 done
5765 done
5766 IFS=$as_save_IFS
5767 if test -z "$ac_cv_path_EGREP"; then
5768 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5770 else
5771 ac_cv_path_EGREP=$EGREP
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5777 $as_echo "$ac_cv_path_EGREP" >&6; }
5778 EGREP="$ac_cv_path_EGREP"
5781 # Extract the first word of "ldconfig", so it can be a program name with args.
5782 set dummy ldconfig; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_path_LDCONFIG+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 case $LDCONFIG in
5789 [\\/]* | ?:[\\/]*)
5790 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in /sbin /usr/sbin $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5808 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5810 esac
5812 LDCONFIG=$ac_cv_path_LDCONFIG
5813 if test -n "$LDCONFIG"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5815 $as_echo "$LDCONFIG" >&6; }
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5822 for ac_prog in msgfmt
5824 # Extract the first word of "$ac_prog", so it can be a program name with args.
5825 set dummy $ac_prog; ac_word=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_MSGFMT+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 if test -n "$MSGFMT"; then
5832 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5833 else
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 for as_dir in $PATH
5837 IFS=$as_save_IFS
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_MSGFMT="$ac_prog"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 break 2
5845 done
5846 done
5847 IFS=$as_save_IFS
5851 MSGFMT=$ac_cv_prog_MSGFMT
5852 if test -n "$MSGFMT"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5854 $as_echo "$MSGFMT" >&6; }
5855 else
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 test -n "$MSGFMT" && break
5862 done
5863 test -n "$MSGFMT" || MSGFMT="false"
5865 if ${ac_tool_prefix+:} false; then :
5866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$PKG_CONFIG"; then
5874 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5894 if test -n "$PKG_CONFIG"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5896 $as_echo "$PKG_CONFIG" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5904 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5905 if test "x$cross_compiling" = xyes; then :
5907 else
5908 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5909 # Extract the first word of "pkg-config", so it can be a program name with args.
5910 set dummy pkg-config; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$PKG_CONFIG"; then
5917 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_PKG_CONFIG="pkg-config"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5937 if test -n "$PKG_CONFIG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5939 $as_echo "$PKG_CONFIG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 else
5948 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5951 if test "x$enable_maintainer_mode" != "xyes"
5952 then
5953 FONTFORGE=""
5954 RSVG=""
5955 CONVERT=""
5956 ICOTOOL=""
5957 else
5958 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5959 for ac_prog in fontforge
5961 # Extract the first word of "$ac_prog", so it can be a program name with args.
5962 set dummy $ac_prog; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_FONTFORGE+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 if test -n "$FONTFORGE"; then
5969 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_FONTFORGE="$ac_prog"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 break 2
5982 done
5983 done
5984 IFS=$as_save_IFS
5988 FONTFORGE=$ac_cv_prog_FONTFORGE
5989 if test -n "$FONTFORGE"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5991 $as_echo "$FONTFORGE" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 test -n "$FONTFORGE" && break
5999 done
6000 test -n "$FONTFORGE" || FONTFORGE="false"
6002 for ac_prog in rsvg-convert rsvg
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RSVG+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$RSVG"; then
6012 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_RSVG="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 RSVG=$ac_cv_prog_RSVG
6032 if test -n "$RSVG"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6034 $as_echo "$RSVG" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$RSVG" && break
6042 done
6043 test -n "$RSVG" || RSVG="false"
6045 for ac_prog in convert
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_CONVERT+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$CONVERT"; then
6055 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_CONVERT="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 CONVERT=$ac_cv_prog_CONVERT
6075 if test -n "$CONVERT"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6077 $as_echo "$CONVERT" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$CONVERT" && break
6085 done
6086 test -n "$CONVERT" || CONVERT="false"
6088 for ac_prog in icotool
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_ICOTOOL+:} false; then :
6095 $as_echo_n "(cached) " >&6
6096 else
6097 if test -n "$ICOTOOL"; then
6098 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_ICOTOOL="$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6111 done
6112 done
6113 IFS=$as_save_IFS
6117 ICOTOOL=$ac_cv_prog_ICOTOOL
6118 if test -n "$ICOTOOL"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6120 $as_echo "$ICOTOOL" >&6; }
6121 else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$ICOTOOL" && break
6128 done
6129 test -n "$ICOTOOL" || ICOTOOL="false"
6131 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6132 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6134 if test "$CONVERT" = false
6135 then
6136 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6139 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6140 convert_version=`convert --version | head -n1`
6141 if test "x$convert_version" != "x"
6142 then
6143 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6144 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6145 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6146 then
6147 CONVERT=false
6150 if test "$CONVERT" = false
6151 then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6153 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6154 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6157 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6161 if test "$ICOTOOL" = false
6162 then
6163 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6164 else
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6166 $as_echo_n "checking for recent enough icotool... " >&6; }
6167 icotool_version=`icotool --version | head -n1`
6168 if test "x$icotool_version" != "x"
6169 then
6170 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6171 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6172 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6173 then
6174 ICOTOOL=false
6175 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6178 if test "$ICOTOOL" = false
6179 then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6181 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6182 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6185 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6189 with_gettext=yes
6190 with_gettextpo=yes
6191 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6194 test "x$with_gettext" != xno || MSGFMT=false
6195 if test "$MSGFMT" != "false"
6196 then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6198 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6199 cat >conftest.po <<EOF
6200 # comment
6201 msgctxt "ctxt"
6202 msgid "id"
6203 msgstr "str"
6205 if $MSGFMT -o /dev/null conftest.po 2>&5
6206 then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6208 $as_echo "yes" >&6; }
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6212 MSGFMT=false
6215 if test "$MSGFMT" = false; then :
6216 case "x$with_gettext" in
6217 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6218 xno) ;;
6219 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6220 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6221 esac
6222 enable_po=${enable_po:-no}
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6227 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6228 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 ac_check_lib_save_LIBS=$LIBS
6232 LIBS="-li386 $LIBS"
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6236 /* Override any GCC internal prototype to avoid an error.
6237 Use char because int might match the return type of a GCC
6238 builtin and then its argument prototype would still apply. */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 char i386_set_ldt ();
6244 main ()
6246 return i386_set_ldt ();
6248 return 0;
6250 _ACEOF
6251 if ac_fn_c_try_link "$LINENO"; then :
6252 ac_cv_lib_i386_i386_set_ldt=yes
6253 else
6254 ac_cv_lib_i386_i386_set_ldt=no
6256 rm -f core conftest.err conftest.$ac_objext \
6257 conftest$ac_exeext conftest.$ac_ext
6258 LIBS=$ac_check_lib_save_LIBS
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6261 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6262 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6263 cat >>confdefs.h <<_ACEOF
6264 #define HAVE_LIBI386 1
6265 _ACEOF
6267 LIBS="-li386 $LIBS"
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6272 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6273 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 ac_check_lib_save_LIBS=$LIBS
6277 LIBS="-lossaudio $LIBS"
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6281 /* Override any GCC internal prototype to avoid an error.
6282 Use char because int might match the return type of a GCC
6283 builtin and then its argument prototype would still apply. */
6284 #ifdef __cplusplus
6285 extern "C"
6286 #endif
6287 char _oss_ioctl ();
6289 main ()
6291 return _oss_ioctl ();
6293 return 0;
6295 _ACEOF
6296 if ac_fn_c_try_link "$LINENO"; then :
6297 ac_cv_lib_ossaudio__oss_ioctl=yes
6298 else
6299 ac_cv_lib_ossaudio__oss_ioctl=no
6301 rm -f core conftest.err conftest.$ac_objext \
6302 conftest$ac_exeext conftest.$ac_ext
6303 LIBS=$ac_check_lib_save_LIBS
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6306 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6307 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6308 cat >>confdefs.h <<_ACEOF
6309 #define HAVE_LIBOSSAUDIO 1
6310 _ACEOF
6312 LIBS="-lossaudio $LIBS"
6317 OPENGL_LIBS=""
6321 # Check whether --enable-largefile was given.
6322 if test "${enable_largefile+set}" = set; then :
6323 enableval=$enable_largefile;
6326 if test "$enable_largefile" != no; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6329 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6330 if ${ac_cv_sys_largefile_CC+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 ac_cv_sys_largefile_CC=no
6334 if test "$GCC" != yes; then
6335 ac_save_CC=$CC
6336 while :; do
6337 # IRIX 6.2 and later do not support large files by default,
6338 # so use the C compiler's -n32 option if that helps.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <sys/types.h>
6342 /* Check that off_t can represent 2**63 - 1 correctly.
6343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6344 since some C++ compilers masquerading as C compilers
6345 incorrectly reject 9223372036854775807. */
6346 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6348 && LARGE_OFF_T % 2147483647 == 1)
6349 ? 1 : -1];
6351 main ()
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_compile "$LINENO"; then :
6359 break
6361 rm -f core conftest.err conftest.$ac_objext
6362 CC="$CC -n32"
6363 if ac_fn_c_try_compile "$LINENO"; then :
6364 ac_cv_sys_largefile_CC=' -n32'; break
6366 rm -f core conftest.err conftest.$ac_objext
6367 break
6368 done
6369 CC=$ac_save_CC
6370 rm -f conftest.$ac_ext
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6374 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6375 if test "$ac_cv_sys_largefile_CC" != no; then
6376 CC=$CC$ac_cv_sys_largefile_CC
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6380 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6381 if ${ac_cv_sys_file_offset_bits+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 while :; do
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #include <sys/types.h>
6388 /* Check that off_t can represent 2**63 - 1 correctly.
6389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6390 since some C++ compilers masquerading as C compilers
6391 incorrectly reject 9223372036854775807. */
6392 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6394 && LARGE_OFF_T % 2147483647 == 1)
6395 ? 1 : -1];
6397 main ()
6401 return 0;
6403 _ACEOF
6404 if ac_fn_c_try_compile "$LINENO"; then :
6405 ac_cv_sys_file_offset_bits=no; break
6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6410 #define _FILE_OFFSET_BITS 64
6411 #include <sys/types.h>
6412 /* Check that off_t can represent 2**63 - 1 correctly.
6413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6414 since some C++ compilers masquerading as C compilers
6415 incorrectly reject 9223372036854775807. */
6416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6418 && LARGE_OFF_T % 2147483647 == 1)
6419 ? 1 : -1];
6421 main ()
6425 return 0;
6427 _ACEOF
6428 if ac_fn_c_try_compile "$LINENO"; then :
6429 ac_cv_sys_file_offset_bits=64; break
6431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6432 ac_cv_sys_file_offset_bits=unknown
6433 break
6434 done
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6437 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6438 case $ac_cv_sys_file_offset_bits in #(
6439 no | unknown) ;;
6441 cat >>confdefs.h <<_ACEOF
6442 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6443 _ACEOF
6445 esac
6446 rm -rf conftest*
6447 if test $ac_cv_sys_file_offset_bits = unknown; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6449 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6450 if ${ac_cv_sys_large_files+:} false; then :
6451 $as_echo_n "(cached) " >&6
6452 else
6453 while :; do
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #include <sys/types.h>
6457 /* Check that off_t can represent 2**63 - 1 correctly.
6458 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6459 since some C++ compilers masquerading as C compilers
6460 incorrectly reject 9223372036854775807. */
6461 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6462 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6463 && LARGE_OFF_T % 2147483647 == 1)
6464 ? 1 : -1];
6466 main ()
6470 return 0;
6472 _ACEOF
6473 if ac_fn_c_try_compile "$LINENO"; then :
6474 ac_cv_sys_large_files=no; break
6476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #define _LARGE_FILES 1
6480 #include <sys/types.h>
6481 /* Check that off_t can represent 2**63 - 1 correctly.
6482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6483 since some C++ compilers masquerading as C compilers
6484 incorrectly reject 9223372036854775807. */
6485 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6487 && LARGE_OFF_T % 2147483647 == 1)
6488 ? 1 : -1];
6490 main ()
6494 return 0;
6496 _ACEOF
6497 if ac_fn_c_try_compile "$LINENO"; then :
6498 ac_cv_sys_large_files=1; break
6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6501 ac_cv_sys_large_files=unknown
6502 break
6503 done
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6506 $as_echo "$ac_cv_sys_large_files" >&6; }
6507 case $ac_cv_sys_large_files in #(
6508 no | unknown) ;;
6510 cat >>confdefs.h <<_ACEOF
6511 #define _LARGE_FILES $ac_cv_sys_large_files
6512 _ACEOF
6514 esac
6515 rm -rf conftest*
6522 ac_ext=c
6523 ac_cpp='$CPP $CPPFLAGS'
6524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6528 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6529 # On Suns, sometimes $CPP names a directory.
6530 if test -n "$CPP" && test -d "$CPP"; then
6531 CPP=
6533 if test -z "$CPP"; then
6534 if ${ac_cv_prog_CPP+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 # Double quotes because CPP needs to be expanded
6538 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6540 ac_preproc_ok=false
6541 for ac_c_preproc_warn_flag in '' yes
6543 # Use a header file that comes with gcc, so configuring glibc
6544 # with a fresh cross-compiler works.
6545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6546 # <limits.h> exists even on freestanding compilers.
6547 # On the NeXT, cc -E runs the code through the compiler's parser,
6548 # not just through cpp. "Syntax error" is here to catch this case.
6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6551 #ifdef __STDC__
6552 # include <limits.h>
6553 #else
6554 # include <assert.h>
6555 #endif
6556 Syntax error
6557 _ACEOF
6558 if ac_fn_c_try_cpp "$LINENO"; then :
6560 else
6561 # Broken: fails on valid input.
6562 continue
6564 rm -f conftest.err conftest.i conftest.$ac_ext
6566 # OK, works on sane cases. Now check whether nonexistent headers
6567 # can be detected and how.
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <ac_nonexistent.h>
6571 _ACEOF
6572 if ac_fn_c_try_cpp "$LINENO"; then :
6573 # Broken: success on invalid input.
6574 continue
6575 else
6576 # Passes both tests.
6577 ac_preproc_ok=:
6578 break
6580 rm -f conftest.err conftest.i conftest.$ac_ext
6582 done
6583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6584 rm -f conftest.i conftest.err conftest.$ac_ext
6585 if $ac_preproc_ok; then :
6586 break
6589 done
6590 ac_cv_prog_CPP=$CPP
6593 CPP=$ac_cv_prog_CPP
6594 else
6595 ac_cv_prog_CPP=$CPP
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6598 $as_echo "$CPP" >&6; }
6599 ac_preproc_ok=false
6600 for ac_c_preproc_warn_flag in '' yes
6602 # Use a header file that comes with gcc, so configuring glibc
6603 # with a fresh cross-compiler works.
6604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6605 # <limits.h> exists even on freestanding compilers.
6606 # On the NeXT, cc -E runs the code through the compiler's parser,
6607 # not just through cpp. "Syntax error" is here to catch this case.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #ifdef __STDC__
6611 # include <limits.h>
6612 #else
6613 # include <assert.h>
6614 #endif
6615 Syntax error
6616 _ACEOF
6617 if ac_fn_c_try_cpp "$LINENO"; then :
6619 else
6620 # Broken: fails on valid input.
6621 continue
6623 rm -f conftest.err conftest.i conftest.$ac_ext
6625 # OK, works on sane cases. Now check whether nonexistent headers
6626 # can be detected and how.
6627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h. */
6629 #include <ac_nonexistent.h>
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6632 # Broken: success on invalid input.
6633 continue
6634 else
6635 # Passes both tests.
6636 ac_preproc_ok=:
6637 break
6639 rm -f conftest.err conftest.i conftest.$ac_ext
6641 done
6642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6643 rm -f conftest.i conftest.err conftest.$ac_ext
6644 if $ac_preproc_ok; then :
6646 else
6647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6649 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6650 See \`config.log' for more details" "$LINENO" 5; }
6653 ac_ext=c
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6661 $as_echo_n "checking for ANSI C header files... " >&6; }
6662 if ${ac_cv_header_stdc+:} false; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <stdlib.h>
6668 #include <stdarg.h>
6669 #include <string.h>
6670 #include <float.h>
6673 main ()
6677 return 0;
6679 _ACEOF
6680 if ac_fn_c_try_compile "$LINENO"; then :
6681 ac_cv_header_stdc=yes
6682 else
6683 ac_cv_header_stdc=no
6685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6687 if test $ac_cv_header_stdc = yes; then
6688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 #include <string.h>
6693 _ACEOF
6694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6695 $EGREP "memchr" >/dev/null 2>&1; then :
6697 else
6698 ac_cv_header_stdc=no
6700 rm -f conftest*
6704 if test $ac_cv_header_stdc = yes; then
6705 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6708 #include <stdlib.h>
6710 _ACEOF
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 $EGREP "free" >/dev/null 2>&1; then :
6714 else
6715 ac_cv_header_stdc=no
6717 rm -f conftest*
6721 if test $ac_cv_header_stdc = yes; then
6722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6723 if test "$cross_compiling" = yes; then :
6725 else
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6728 #include <ctype.h>
6729 #include <stdlib.h>
6730 #if ((' ' & 0x0FF) == 0x020)
6731 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6732 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6733 #else
6734 # define ISLOWER(c) \
6735 (('a' <= (c) && (c) <= 'i') \
6736 || ('j' <= (c) && (c) <= 'r') \
6737 || ('s' <= (c) && (c) <= 'z'))
6738 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6739 #endif
6741 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6743 main ()
6745 int i;
6746 for (i = 0; i < 256; i++)
6747 if (XOR (islower (i), ISLOWER (i))
6748 || toupper (i) != TOUPPER (i))
6749 return 2;
6750 return 0;
6752 _ACEOF
6753 if ac_fn_c_try_run "$LINENO"; then :
6755 else
6756 ac_cv_header_stdc=no
6758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6759 conftest.$ac_objext conftest.beam conftest.$ac_ext
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6765 $as_echo "$ac_cv_header_stdc" >&6; }
6766 if test $ac_cv_header_stdc = yes; then
6768 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6772 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6773 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6774 inttypes.h stdint.h unistd.h
6775 do :
6776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6780 cat >>confdefs.h <<_ACEOF
6781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6782 _ACEOF
6786 done
6789 for ac_header in \
6790 AL/al.h \
6791 ApplicationServices/ApplicationServices.h \
6792 AudioToolbox/AudioConverter.h \
6793 AudioUnit/AudioUnit.h \
6794 AudioUnit/AudioComponent.h \
6795 CL/cl.h \
6796 Carbon/Carbon.h \
6797 CommonCrypto/CommonDigest.h \
6798 CoreAudio/CoreAudio.h \
6799 CoreServices/CoreServices.h \
6800 DiskArbitration/DiskArbitration.h \
6801 IOKit/IOKitLib.h \
6802 IOKit/hid/IOHIDLib.h \
6803 OpenAL/al.h \
6804 OpenCL/opencl.h \
6805 QuickTime/ImageCompression.h \
6806 Security/Security.h \
6807 alias.h \
6808 alsa/asoundlib.h \
6809 arpa/inet.h \
6810 arpa/nameser.h \
6811 asm/types.h \
6812 asm/user.h \
6813 curses.h \
6814 direct.h \
6815 dirent.h \
6816 dlfcn.h \
6817 elf.h \
6818 float.h \
6819 fnmatch.h \
6820 getopt.h \
6821 gettext-po.h \
6822 grp.h \
6823 gsm.h \
6824 gsm/gsm.h \
6825 ieeefp.h \
6826 inet/mib2.h \
6827 io.h \
6828 kstat.h \
6829 lber.h \
6830 ldap.h \
6831 libproc.h \
6832 link.h \
6833 linux/cdrom.h \
6834 linux/compiler.h \
6835 linux/filter.h \
6836 linux/hdreg.h \
6837 linux/hidraw.h \
6838 linux/input.h \
6839 linux/ioctl.h \
6840 linux/joystick.h \
6841 linux/major.h \
6842 linux/param.h \
6843 linux/serial.h \
6844 linux/types.h \
6845 linux/ucdrom.h \
6846 lwp.h \
6847 mach-o/nlist.h \
6848 mach-o/loader.h \
6849 mach/mach.h \
6850 mach/machine.h \
6851 machine/cpu.h \
6852 machine/limits.h \
6853 machine/sysarch.h \
6854 mntent.h \
6855 ncurses.h \
6856 netdb.h \
6857 netinet/in.h \
6858 netinet/in_systm.h \
6859 netinet/tcp.h \
6860 netinet/tcp_fsm.h \
6861 pcap/pcap.h \
6862 poll.h \
6863 port.h \
6864 process.h \
6865 pthread.h \
6866 pwd.h \
6867 sched.h \
6868 scsi/scsi.h \
6869 scsi/scsi_ioctl.h \
6870 scsi/sg.h \
6871 stdbool.h \
6872 stdint.h \
6873 stropts.h \
6874 sys/asoundlib.h \
6875 sys/attr.h \
6876 sys/cdio.h \
6877 sys/elf32.h \
6878 sys/epoll.h \
6879 sys/event.h \
6880 sys/exec_elf.h \
6881 sys/filio.h \
6882 sys/inotify.h \
6883 sys/ioctl.h \
6884 sys/ipc.h \
6885 sys/limits.h \
6886 sys/link.h \
6887 sys/mman.h \
6888 sys/modem.h \
6889 sys/msg.h \
6890 sys/mtio.h \
6891 sys/param.h \
6892 sys/poll.h \
6893 sys/prctl.h \
6894 sys/protosw.h \
6895 sys/ptrace.h \
6896 sys/queue.h \
6897 sys/resource.h \
6898 sys/scsiio.h \
6899 sys/shm.h \
6900 sys/signal.h \
6901 sys/socket.h \
6902 sys/socketvar.h \
6903 sys/sockio.h \
6904 sys/statvfs.h \
6905 sys/strtio.h \
6906 sys/syscall.h \
6907 sys/sysinfo.h \
6908 sys/tihdr.h \
6909 sys/time.h \
6910 sys/timeout.h \
6911 sys/times.h \
6912 sys/uio.h \
6913 sys/user.h \
6914 sys/utsname.h \
6915 sys/vm86.h \
6916 sys/vnode.h \
6917 sys/wait.h \
6918 syscall.h \
6919 termios.h \
6920 unistd.h \
6921 utime.h \
6922 valgrind/memcheck.h \
6923 valgrind/valgrind.h \
6924 zlib.h
6926 do :
6927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6928 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6929 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6930 cat >>confdefs.h <<_ACEOF
6931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6932 _ACEOF
6936 done
6938 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6939 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6941 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6946 if test $ac_cv_header_sys_mkdev_h = no; then
6947 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6948 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6950 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6957 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6958 if ${ac_cv_header_stat_broken+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6964 #include <sys/stat.h>
6966 #if defined S_ISBLK && defined S_IFDIR
6967 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6968 #endif
6970 #if defined S_ISBLK && defined S_IFCHR
6971 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6972 #endif
6974 #if defined S_ISLNK && defined S_IFREG
6975 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6976 #endif
6978 #if defined S_ISSOCK && defined S_IFREG
6979 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6980 #endif
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_header_stat_broken=no
6985 else
6986 ac_cv_header_stat_broken=yes
6988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6991 $as_echo "$ac_cv_header_stat_broken" >&6; }
6992 if test $ac_cv_header_stat_broken = yes; then
6994 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7000 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7001 do :
7002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7003 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7004 #ifdef HAVE_SYS_PARAM_H
7005 # include <sys/param.h>
7006 #endif
7008 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7009 cat >>confdefs.h <<_ACEOF
7010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7011 _ACEOF
7015 done
7018 for ac_header in \
7019 netinet/ip.h \
7020 net/if.h \
7021 net/if_arp.h \
7022 net/if_dl.h \
7023 net/if_types.h \
7024 net/route.h \
7025 netinet/if_ether.h \
7026 netinet/if_inarp.h \
7027 netinet/in_pcb.h \
7028 netinet/ip_icmp.h \
7029 netinet/ip_var.h \
7030 netinet/udp.h \
7031 netipx/ipx.h \
7032 sys/un.h \
7034 do :
7035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7036 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7037 #ifdef HAVE_SYS_SOCKET_H
7038 # include <sys/socket.h>
7039 #endif
7040 #ifdef HAVE_SYS_SOCKETVAR_H
7041 # include <sys/socketvar.h>
7042 #endif
7043 #ifdef HAVE_NET_ROUTE_H
7044 # include <net/route.h>
7045 #endif
7046 #ifdef HAVE_NETINET_IN_H
7047 # include <netinet/in.h>
7048 #endif
7049 #ifdef HAVE_NETINET_IN_SYSTM_H
7050 # include <netinet/in_systm.h>
7051 #endif
7052 #ifdef HAVE_NET_IF_H
7053 # include <net/if.h>
7054 #endif
7055 #ifdef HAVE_NETINET_IP_H
7056 # include <netinet/ip.h>
7057 #endif
7059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7062 _ACEOF
7066 done
7069 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7070 do :
7071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7073 #ifdef HAVE_ALIAS_H
7074 # include <alias.h>
7075 #endif
7076 #ifdef HAVE_SYS_SOCKET_H
7077 # include <sys/socket.h>
7078 #endif
7079 #ifdef HAVE_SYS_SOCKETVAR_H
7080 # include <sys/socketvar.h>
7081 #endif
7082 #ifdef HAVE_SYS_TIMEOUT_H
7083 # include <sys/timeout.h>
7084 #endif
7085 #ifdef HAVE_NETINET_IN_H
7086 # include <netinet/in.h>
7087 #endif
7088 #ifdef HAVE_NETINET_IN_SYSTM_H
7089 # include <netinet/in_systm.h>
7090 #endif
7091 #ifdef HAVE_NETINET_IP_H
7092 # include <netinet/ip.h>
7093 #endif
7094 #ifdef HAVE_NETINET_IP_VAR_H
7095 # include <netinet/ip_var.h>
7096 #endif
7097 #ifdef HAVE_NETINET_IP_ICMP_H
7098 # include <netinet/ip_icmp.h>
7099 #endif
7100 #ifdef HAVE_NETINET_UDP_H
7101 # include <netinet/udp.h>
7102 #endif
7103 #ifdef HAVE_NETINET_TCP_H
7104 # include <netinet/tcp.h>
7105 #endif
7106 #ifdef HAVE_NETINET_TCP_TIMER_H
7107 #include <netinet/tcp_timer.h>
7108 #endif
7110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7111 cat >>confdefs.h <<_ACEOF
7112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7113 _ACEOF
7117 done
7120 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7121 do :
7122 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7123 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7124 #ifdef HAVE_ASM_TYPES_H
7125 # include <asm/types.h>
7126 #endif
7127 #ifdef HAVE_SYS_SOCKET_H
7128 # include <sys/socket.h>
7129 #endif
7130 #ifdef HAVE_LINUX_TYPES_H
7131 # include <linux/types.h>
7132 #endif
7134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7135 cat >>confdefs.h <<_ACEOF
7136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7137 _ACEOF
7141 done
7144 for ac_header in mach-o/dyld_images.h
7145 do :
7146 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7147 # include <stdbool.h>
7148 #endif
7149 #ifdef HAVE_STDINT_H
7150 # include <stdint.h>
7151 #endif
7153 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7154 cat >>confdefs.h <<_ACEOF
7155 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7156 _ACEOF
7160 done
7163 for ac_header in resolv.h
7164 do :
7165 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7166 #ifdef HAVE_SYS_SOCKET_H
7167 # include <sys/socket.h>
7168 #endif
7169 #ifdef HAVE_NETINET_IN_H
7170 # include <netinet/in.h>
7171 #endif
7172 #ifdef HAVE_ARPA_NAMESER_H
7173 # include <arpa/nameser.h>
7174 #endif
7176 if test "x$ac_cv_header_resolv_h" = xyes; then :
7177 cat >>confdefs.h <<_ACEOF
7178 #define HAVE_RESOLV_H 1
7179 _ACEOF
7183 done
7186 for ac_header in ifaddrs.h
7187 do :
7188 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7190 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_IFADDRS_H 1
7193 _ACEOF
7197 done
7200 for ac_header in sys/ucontext.h
7201 do :
7202 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7204 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7205 cat >>confdefs.h <<_ACEOF
7206 #define HAVE_SYS_UCONTEXT_H 1
7207 _ACEOF
7211 done
7214 for ac_header in sys/thr.h
7215 do :
7216 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7217 #ifdef HAVE_SYS_UCONTEXT_H
7218 #include <sys/ucontext.h>
7219 #endif
7221 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_SYS_THR_H 1
7224 _ACEOF
7228 done
7231 for ac_header in pthread_np.h
7232 do :
7233 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7234 #include <pthread.h>
7235 #endif
7237 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define HAVE_PTHREAD_NP_H 1
7240 _ACEOF
7244 done
7247 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.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" "#ifdef HAVE_SYS_TIME_H
7251 #include <sys/time.h>
7252 #endif
7253 #include <sys/types.h>
7254 #ifdef HAVE_ASM_TYPES_H
7255 #include <asm/types.h>
7256 #endif
7258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 _ACEOF
7265 done
7268 for ac_header in libprocstat.h
7269 do :
7270 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7271 #include <sys/param.h>
7272 #endif
7273 #ifdef HAVE_SYS_QUEUE_H
7274 #include <sys/queue.h>
7275 #endif
7276 #ifdef HAVE_SYS_SOCKET_H
7277 #include <sys/socket.h>
7278 #endif
7280 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7281 cat >>confdefs.h <<_ACEOF
7282 #define HAVE_LIBPROCSTAT_H 1
7283 _ACEOF
7287 done
7291 dlldir="\${libdir}/wine"
7293 DLLFLAGS="-D_REENTRANT"
7295 LDRPATH_INSTALL=""
7297 LDRPATH_LOCAL=""
7299 LDEXECFLAGS=""
7301 LIBEXT="so"
7302 DLLEXT=".so"
7303 IMPLIBEXT="def"
7304 # Extract the first word of "ldd", so it can be a program name with args.
7305 set dummy ldd; ac_word=$2
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 $as_echo_n "checking for $ac_word... " >&6; }
7308 if ${ac_cv_path_LDD+:} false; then :
7309 $as_echo_n "(cached) " >&6
7310 else
7311 case $LDD in
7312 [\\/]* | ?:[\\/]*)
7313 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 as_dummy="/sbin:/usr/sbin:$PATH"
7318 for as_dir in $as_dummy
7320 IFS=$as_save_IFS
7321 test -z "$as_dir" && as_dir=.
7322 for ac_exec_ext in '' $ac_executable_extensions; do
7323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 break 2
7328 done
7329 done
7330 IFS=$as_save_IFS
7332 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7334 esac
7336 LDD=$ac_cv_path_LDD
7337 if test -n "$LDD"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7339 $as_echo "$LDD" >&6; }
7340 else
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}otool; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_OTOOL+:} false; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$OTOOL"; then
7355 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 OTOOL=$ac_cv_prog_OTOOL
7375 if test -n "$OTOOL"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7377 $as_echo "$OTOOL" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_OTOOL"; then
7386 ac_ct_OTOOL=$OTOOL
7387 # Extract the first word of "otool", so it can be a program name with args.
7388 set dummy otool; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_OTOOL"; then
7395 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_OTOOL="otool"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7415 if test -n "$ac_ct_OTOOL"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7417 $as_echo "$ac_ct_OTOOL" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_OTOOL" = x; then
7424 OTOOL="otool"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 OTOOL=$ac_ct_OTOOL
7434 else
7435 OTOOL="$ac_cv_prog_OTOOL"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_READELF+:} false; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$READELF"; then
7447 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 READELF=$ac_cv_prog_READELF
7467 if test -n "$READELF"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7469 $as_echo "$READELF" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_READELF"; then
7478 ac_ct_READELF=$READELF
7479 # Extract the first word of "readelf", so it can be a program name with args.
7480 set dummy readelf; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_READELF"; then
7487 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_ac_ct_READELF="readelf"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7507 if test -n "$ac_ct_READELF"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7509 $as_echo "$ac_ct_READELF" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_READELF" = x; then
7516 READELF="true"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 READELF=$ac_ct_READELF
7526 else
7527 READELF="$ac_cv_prog_READELF"
7530 wine_rules_file=conf$$rules.make
7531 rm -f $wine_rules_file
7532 SUBDIRS=""
7534 DISABLED_SUBDIRS=""
7536 CONFIGURE_TARGETS=""
7538 ALL_TEST_RESOURCES=""
7541 wine_fn_append_file ()
7543 as_fn_append $1 " \\$as_nl $2"
7546 wine_fn_append_rule ()
7548 $as_echo "$1" >>$wine_rules_file
7551 wine_fn_has_flag ()
7553 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7556 wine_fn_all_rules ()
7558 wine_fn_append_file SUBDIRS $ac_dir
7559 wine_fn_append_rule \
7560 "all: $ac_dir
7561 .PHONY: $ac_dir
7562 $ac_dir: dummy
7563 @cd $ac_dir && \$(MAKE)"
7566 wine_fn_install_rules ()
7568 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7570 wine_fn_append_rule \
7571 ".PHONY: $ac_dir/install $ac_dir/uninstall
7572 $ac_dir/install:: $ac_dir
7573 @cd $ac_dir && \$(MAKE) install
7574 $ac_dir/uninstall::
7575 @cd $ac_dir && \$(MAKE) uninstall
7576 install:: $ac_dir/install
7577 __uninstall__: $ac_dir/uninstall"
7579 if wine_fn_has_flag install-lib
7580 then
7581 wine_fn_append_rule \
7582 ".PHONY: $ac_dir/install-lib
7583 $ac_dir/install-lib:: $ac_dir
7584 @cd $ac_dir && \$(MAKE) install-lib
7585 install-lib:: $ac_dir/install-lib"
7588 if wine_fn_has_flag install-dev
7589 then
7590 wine_fn_append_rule \
7591 ".PHONY: $ac_dir/install-dev
7592 $ac_dir/install-dev:: $ac_dir
7593 @cd $ac_dir && \$(MAKE) install-dev
7594 install-dev:: $ac_dir/install-dev"
7598 wine_fn_clean_rules ()
7600 ac_clean=$@
7602 if wine_fn_has_flag clean
7603 then
7604 wine_fn_append_rule \
7605 "$ac_dir/clean: dummy
7606 @cd $ac_dir && \$(MAKE) clean"
7607 else
7608 wine_fn_append_rule \
7609 "$ac_dir/clean: dummy
7610 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7612 wine_fn_append_rule \
7613 "__clean__: $ac_dir/clean
7614 .PHONY: $ac_dir/clean"
7617 wine_fn_disabled_rules ()
7619 ac_clean=$@
7621 wine_fn_append_file SUBDIRS $ac_dir
7622 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7623 wine_fn_append_rule \
7624 "__clean__: $ac_dir/clean
7625 .PHONY: $ac_dir/clean
7626 $ac_dir/clean: dummy
7627 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7630 wine_fn_config_makefile ()
7632 ac_dir=$1
7633 ac_enable=$2
7634 ac_flags=$3
7636 case $ac_dir in
7637 fonts|server) test -z "$with_wine64" || return ;;
7638 esac
7639 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7640 wine_fn_disabled_rules; return
7642 wine_fn_all_rules
7643 wine_fn_install_rules
7644 wine_fn_clean_rules
7647 wine_fn_config_lib ()
7649 ac_name=$1
7650 ac_flags=$2
7651 ac_dir=dlls/$ac_name
7652 ac_deps="include"
7654 if test "x$enable_tools" = xno; then :
7656 else
7657 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7659 wine_fn_all_rules
7660 wine_fn_clean_rules
7662 wine_fn_append_rule \
7663 ".PHONY: $ac_dir/install $ac_dir/uninstall
7664 $ac_dir/install:: $ac_dir
7665 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7668 install install-dev:: $ac_dir/install
7669 __uninstall__: $ac_dir/uninstall
7670 __builddeps__: $ac_dir
7671 $ac_dir: $ac_deps"
7674 wine_fn_config_dll ()
7676 ac_name=$1
7677 ac_dir=dlls/$ac_name
7678 ac_enable=$2
7679 ac_flags=$3
7680 ac_implib=${4:-$ac_name}
7681 ac_file=$ac_dir/lib$ac_implib
7682 ac_dll=$ac_name
7683 ac_deps="include"
7684 ac_implibflags=""
7686 if test "x$enable_tools" = xno; then :
7688 else
7689 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7691 case $ac_name in
7692 *16) ac_implibflags=" -m16" ;;
7693 *.*) ;;
7694 *) ac_dll=$ac_dll.dll ;;
7695 esac
7697 ac_clean=
7698 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7699 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7701 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7702 if test "$ac_enable" != enable_win16
7703 then
7704 wine_fn_clean_rules $ac_clean
7705 wine_fn_append_file SUBDIRS $ac_dir
7706 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7707 else
7708 wine_fn_disabled_rules $ac_clean
7709 return
7711 else
7712 wine_fn_all_rules
7713 wine_fn_clean_rules $ac_clean
7714 wine_fn_append_rule \
7715 "$ac_dir: __builddeps__
7716 manpages htmlpages sgmlpages xmlpages::
7717 @cd $ac_dir && \$(MAKE) \$@
7718 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7719 install install-lib:: $ac_dir/install-lib
7720 __uninstall__: $ac_dir/uninstall"
7721 if test -n "$DLLEXT"
7722 then
7723 wine_fn_append_rule \
7724 "$ac_dir/install-lib:: $ac_dir
7725 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7726 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7727 $ac_dir/uninstall::
7728 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7729 else
7730 wine_fn_append_rule \
7731 "$ac_dir/install-lib:: $ac_dir
7732 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7738 if wine_fn_has_flag staticimplib
7739 then
7740 wine_fn_append_rule \
7741 "__builddeps__: $ac_file.a
7742 $ac_file.a $ac_file.cross.a: $ac_deps
7743 $ac_file.a: dummy
7744 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7745 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7746 $ac_dir/install-dev:: $ac_file.a
7747 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7748 $ac_dir/uninstall::
7749 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7750 install install-dev:: $ac_dir/install-dev
7751 __uninstall__: $ac_dir/uninstall"
7753 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7754 then
7755 wine_fn_append_rule \
7756 "__builddeps__: $ac_file.cross.a
7757 $ac_file.cross.a: dummy
7758 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7761 elif wine_fn_has_flag implib
7762 then
7763 wine_fn_append_rule \
7764 "__builddeps__: $ac_file.$IMPLIBEXT
7765 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7766 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7767 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7768 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7769 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7770 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7771 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7774 install install-dev:: $ac_dir/install-dev
7775 __uninstall__: $ac_dir/uninstall"
7776 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7777 then
7778 wine_fn_append_rule \
7779 "__builddeps__: $ac_file.cross.a
7780 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7781 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7786 wine_fn_config_program ()
7788 ac_name=$1
7789 ac_dir=programs/$ac_name
7790 ac_enable=$2
7791 ac_flags=$3
7792 ac_program=$ac_name
7794 case $ac_name in
7795 *.*) ;;
7796 *) ac_program=$ac_program.exe ;;
7797 esac
7799 ac_clean=
7800 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7801 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7803 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7804 wine_fn_disabled_rules $ac_clean; return
7807 wine_fn_all_rules
7808 wine_fn_clean_rules $ac_clean
7809 wine_fn_append_rule "$ac_dir: __builddeps__"
7811 wine_fn_has_flag install || return
7812 wine_fn_append_rule \
7813 ".PHONY: $ac_dir/install $ac_dir/uninstall
7814 install install-lib:: $ac_dir/install
7815 __uninstall__: $ac_dir/uninstall"
7817 if test -n "$DLLEXT"
7818 then
7819 wine_fn_append_rule \
7820 "$ac_dir/install:: $ac_dir
7821 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7822 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7823 $ac_dir/uninstall::
7824 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7826 if test -z "$with_wine64" && wine_fn_has_flag installbin
7827 then
7828 wine_fn_append_rule \
7829 "$ac_dir/install:: __tooldeps__
7830 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7831 $ac_dir/uninstall::
7832 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7834 else
7835 wine_fn_append_rule \
7836 "$ac_dir/install:: $ac_dir
7837 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7838 $ac_dir/uninstall::
7839 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7842 if test -z "$with_wine64" && wine_fn_has_flag manpage
7843 then
7844 wine_fn_append_rule \
7845 "$ac_dir/install:: $ac_dir
7846 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7847 $ac_dir/uninstall::
7848 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7852 wine_fn_config_test ()
7854 ac_dir=$1
7855 ac_name=$2
7856 ac_flags=$3
7858 ac_clean=
7859 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7860 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7862 if test "x$enable_tests" = xno; then :
7863 wine_fn_disabled_rules $ac_clean; return
7866 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7867 wine_fn_all_rules
7868 wine_fn_clean_rules $ac_clean
7870 wine_fn_append_rule \
7871 "$ac_dir: __builddeps__
7872 programs/winetest: $ac_dir
7873 check test: $ac_dir/test
7874 .PHONY: $ac_dir/test
7875 $ac_dir/test: dummy
7876 @cd $ac_dir && \$(MAKE) test
7877 testclean::
7878 \$(RM) $ac_dir/*.ok"
7880 if test -n "$CROSSTARGET"
7881 then
7882 wine_fn_append_rule \
7883 "crosstest: $ac_dir/crosstest
7884 .PHONY: $ac_dir/crosstest
7885 $ac_dir/crosstest: __builddeps__ dummy
7886 @cd $ac_dir && \$(MAKE) crosstest"
7890 wine_fn_config_tool ()
7892 ac_dir=$1
7893 ac_flags=$2
7894 if test "x$enable_tools" = xno; then :
7895 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7898 wine_fn_all_rules
7899 wine_fn_install_rules
7900 wine_fn_clean_rules
7902 wine_fn_append_rule "__tooldeps__: $ac_dir"
7903 wine_fn_append_rule "$ac_dir: libs/port"
7904 case $ac_dir in
7905 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7906 esac
7909 wine_fn_config_symlink ()
7911 ac_linkdir=
7912 if test "x$1" = "x-d"
7913 then
7914 ac_linkdir=$2
7915 shift; shift
7917 ac_links=$@
7918 wine_fn_append_rule \
7919 "$ac_links:
7920 @./config.status \$@"
7921 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7922 test -n "$ac_linkdir" || return
7923 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7926 wine_binary="wine"
7927 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7928 WINELOADER_PROGRAMS="$wine_binary"
7930 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7932 case $host_os in
7933 cygwin*|mingw32*)
7934 if test -n "$ac_tool_prefix"; then
7935 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7936 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_DLLTOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 if test -n "$DLLTOOL"; then
7943 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7962 DLLTOOL=$ac_cv_prog_DLLTOOL
7963 if test -n "$DLLTOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7965 $as_echo "$DLLTOOL" >&6; }
7966 else
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7973 if test -z "$ac_cv_prog_DLLTOOL"; then
7974 ac_ct_DLLTOOL=$DLLTOOL
7975 # Extract the first word of "dlltool", so it can be a program name with args.
7976 set dummy dlltool; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$ac_ct_DLLTOOL"; then
7983 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8003 if test -n "$ac_ct_DLLTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8005 $as_echo "$ac_ct_DLLTOOL" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8011 if test "x$ac_ct_DLLTOOL" = x; then
8012 DLLTOOL="false"
8013 else
8014 case $cross_compiling:$ac_tool_warned in
8015 yes:)
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8018 ac_tool_warned=yes ;;
8019 esac
8020 DLLTOOL=$ac_ct_DLLTOOL
8022 else
8023 DLLTOOL="$ac_cv_prog_DLLTOOL"
8026 LIBEXT="dll"
8027 DLLEXT=""
8028 IMPLIBEXT="a"
8029 enable_iphlpapi=${enable_iphlpapi:-no}
8030 enable_kernel32=${enable_kernel32:-no}
8031 enable_msvcrt=${enable_msvcrt:-no}
8032 enable_ntdll=${enable_ntdll:-no}
8033 enable_ws2_32=${enable_ws2_32:-no}
8034 enable_loader=${enable_loader:-no}
8035 enable_server=${enable_server:-no}
8036 with_x=${with_x:-no}
8037 with_pthread=${with_pthread:-no}
8039 crtlibs=""
8040 case $host_os in
8041 mingw32*)
8042 crtlibs="-lmsvcrt"
8043 SOCKET_LIBS="-lws2_32"
8045 esac
8047 LIBWINE_SHAREDLIB="libwine.dll"
8049 LIBWINE_IMPORTLIB="libwine.a"
8051 LIBWINE_INSTALL_LIB="libwine.dll"
8053 LIBWINE_INSTALL_DEV="libwine.a"
8055 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8057 LIBWINE_DEPENDS="wine.def"
8061 darwin*|macosx*)
8062 for ac_header in libunwind.h
8063 do :
8064 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8066 cat >>confdefs.h <<_ACEOF
8067 #define HAVE_LIBUNWIND_H 1
8068 _ACEOF
8072 done
8074 LIBEXT="dylib"
8075 DLLFLAGS="$DLLFLAGS -fPIC"
8076 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8077 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8078 COREFOUNDATION_LIBS="-framework CoreFoundation"
8080 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8082 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8084 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8086 CORESERVICES_LIBS="-framework CoreServices"
8088 APPKIT_LIBS="-framework AppKit"
8090 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8092 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8093 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 ac_wine_try_cflags_saved=$CFLAGS
8097 CFLAGS="$CFLAGS -Wl,-no_pie"
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100 int main(int argc, char **argv) { return 0; }
8101 _ACEOF
8102 if ac_fn_c_try_link "$LINENO"; then :
8103 ac_cv_cflags__Wl__no_pie=yes
8104 else
8105 ac_cv_cflags__Wl__no_pie=no
8107 rm -f core conftest.err conftest.$ac_objext \
8108 conftest$ac_exeext conftest.$ac_ext
8109 CFLAGS=$ac_wine_try_cflags_saved
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8112 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8113 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8114 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8116 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8117 then
8118 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8121 if test "$ac_cv_header_Security_Security_h" = "yes"
8122 then
8123 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8125 ac_save_LIBS="$LIBS"
8126 LIBS="$LIBS $SECURITY_LIBS"
8127 for ac_func in SSLCopyPeerCertificates
8128 do :
8129 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8130 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8131 cat >>confdefs.h <<_ACEOF
8132 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8133 _ACEOF
8136 done
8138 LIBS="$ac_save_LIBS"
8139 with_gnutls=${with_gnutls:-no}
8141 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8142 then
8143 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8144 then
8145 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8147 else
8148 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8151 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8152 ac_save_LIBS="$LIBS"
8153 LIBS="$LIBS $COREAUDIO_LIBS"
8154 for ac_func in AUGraphAddNode
8155 do :
8156 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8157 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8158 cat >>confdefs.h <<_ACEOF
8159 #define HAVE_AUGRAPHADDNODE 1
8160 _ACEOF
8163 done
8165 LIBS="$ac_save_LIBS"
8167 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8168 then
8169 OPENAL_LIBS="-framework OpenAL"
8172 cat >>confdefs.h <<_ACEOF
8173 #define HAVE_OPENAL 1
8174 _ACEOF
8176 ac_cv_lib_openal=yes
8178 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8179 then
8180 OPENCL_LIBS="-framework OpenCL"
8182 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8184 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8185 then
8186 ac_save_LIBS="$LIBS"
8187 LIBS="$LIBS $IOKIT_LIBS"
8188 for ac_func in IOHIDManagerCreate
8189 do :
8190 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8191 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_IOHIDMANAGERCREATE 1
8194 _ACEOF
8197 done
8199 LIBS="$ac_save_LIBS"
8201 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8202 then
8203 ac_save_LIBS="$LIBS"
8204 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8206 $as_echo_n "checking for the QuickTime framework... " >&6; }
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 #include <QuickTime/ImageCompression.h>
8211 main ()
8213 CodecManagerVersion(NULL);
8215 return 0;
8217 _ACEOF
8218 if ac_fn_c_try_link "$LINENO"; then :
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8220 $as_echo "yes" >&6; }
8221 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8223 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8224 else
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8227 ac_cv_header_QuickTime_ImageCompression_h=no
8229 rm -f core conftest.err conftest.$ac_objext \
8230 conftest$ac_exeext conftest.$ac_ext
8231 LIBS="$ac_save_LIBS"
8233 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8234 then
8235 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8237 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8238 then
8239 CARBON_LIBS="-framework Carbon"
8243 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8244 then
8245 ac_save_LIBS="$LIBS"
8246 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8247 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8248 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8249 enable_winemac_drv=${enable_winemac_drv:-yes}
8252 LIBS="$ac_save_LIBS"
8255 if test "x$enable_win16" = "xyes"
8256 then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8258 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8259 if test "$cross_compiling" = yes; then :
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8261 $as_echo "cross-compiling, assuming yes" >&6; }
8262 else
8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 asm(".text\n"
8266 "bad:\tnop;nop\n"
8267 "good:\tnop;nop\n\t"
8268 ".globl _testfunc\n"
8269 "_testfunc:\tcallw good");
8270 extern void testfunc();
8272 main ()
8274 unsigned short *p = (unsigned short *)testfunc;
8275 return p[0] != 0xe866 || p[1] != 0xfffa
8277 return 0;
8279 _ACEOF
8280 if ac_fn_c_try_run "$LINENO"; then :
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8282 $as_echo "yes" >&6; }
8283 else
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8285 $as_echo "no" >&6; }
8286 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
8288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8289 conftest.$ac_objext conftest.beam conftest.$ac_ext
8294 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8296 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8298 LIBWINE_INSTALL_DEV="libwine.dylib"
8300 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8302 WINELOADER_DEPENDS="wine_info.plist"
8306 linux-android*)
8307 DLLFLAGS="$DLLFLAGS -fPIC"
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8309 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8310 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 ac_wine_try_cflags_saved=$CFLAGS
8314 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 int main(int argc, char **argv) { return 0; }
8318 _ACEOF
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8321 else
8322 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8324 rm -f core conftest.err conftest.$ac_objext \
8325 conftest$ac_exeext conftest.$ac_ext
8326 CFLAGS=$ac_wine_try_cflags_saved
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8329 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8330 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8331 LDEXECFLAGS="-Wl,--export-dynamic"
8333 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8335 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8336 if eval \${$as_ac_var+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 eval "$as_ac_var=yes"
8347 else
8348 eval "$as_ac_var=no"
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 eval ac_res=\$$as_ac_var
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8356 $as_echo "$ac_res" >&6; }
8357 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8358 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8359 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8360 else
8361 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8363 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8364 if eval \${$as_ac_var+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 ac_wine_try_cflags_saved=$CFLAGS
8368 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 int main(int argc, char **argv) { return 0; }
8372 _ACEOF
8373 if ac_fn_c_try_link "$LINENO"; then :
8374 eval "$as_ac_var=yes"
8375 else
8376 eval "$as_ac_var=no"
8378 rm -f core conftest.err conftest.$ac_objext \
8379 conftest$ac_exeext conftest.$ac_ext
8380 CFLAGS=$ac_wine_try_cflags_saved
8382 eval ac_res=\$$as_ac_var
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8384 $as_echo "$ac_res" >&6; }
8385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8386 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8387 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8392 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8393 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_wine_try_cflags_saved=$CFLAGS
8397 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 ac_cv_cflags__Wl___enable_new_dtags=yes
8404 else
8405 ac_cv_cflags__Wl___enable_new_dtags=no
8407 rm -f core conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 CFLAGS=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8412 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8413 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8414 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8417 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8418 if ${ac_cv_cflags__Wl__pie+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -Wl,-pie"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_cflags__Wl__pie=yes
8429 else
8430 ac_cv_cflags__Wl__pie=no
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8437 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8438 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8439 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8442 LIBWINE_SHAREDLIB="libwine.so"
8444 LIBWINE_INSTALL_LIB="libwine.so"
8446 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8451 DLLFLAGS="$DLLFLAGS -fPIC"
8452 LDEXECFLAGS=""
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8454 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8455 if ${ac_cv_c_dll_gnuelf+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 void myfunc() {}
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_c_dll_gnuelf="yes"
8466 else
8467 ac_cv_c_dll_gnuelf="no"
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8474 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8475 if test "$ac_cv_c_dll_gnuelf" = "yes"
8476 then
8477 LIBWINE_LDFLAGS="-shared"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8480 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8491 else
8492 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8499 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8500 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8501 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8502 else
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8505 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_wine_try_cflags_saved=$CFLAGS
8509 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8513 _ACEOF
8514 if ac_fn_c_try_link "$LINENO"; then :
8515 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8516 else
8517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8526 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8530 echo '{ global: *; };' >conftest.map
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8532 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8533 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 ac_wine_try_cflags_saved=$CFLAGS
8537 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 int main(int argc, char **argv) { return 0; }
8541 _ACEOF
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8544 else
8545 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8549 CFLAGS=$ac_wine_try_cflags_saved
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8552 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8553 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8554 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8556 rm -f conftest.map
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8559 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8560 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 int main(int argc, char **argv) { return 0; }
8568 _ACEOF
8569 if ac_fn_c_try_link "$LINENO"; then :
8570 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8571 else
8572 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8574 rm -f core conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 CFLAGS=$ac_wine_try_cflags_saved
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8579 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8580 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8581 LDEXECFLAGS="-Wl,--export-dynamic"
8584 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8586 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8587 if eval \${$as_ac_var+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8595 _ACEOF
8596 if ac_fn_c_try_link "$LINENO"; then :
8597 eval "$as_ac_var=yes"
8598 else
8599 eval "$as_ac_var=no"
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 CFLAGS=$ac_wine_try_cflags_saved
8605 eval ac_res=\$$as_ac_var
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8607 $as_echo "$ac_res" >&6; }
8608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8609 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8610 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8611 else
8612 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8614 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8615 if eval \${$as_ac_var+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8623 _ACEOF
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 eval "$as_ac_var=yes"
8626 else
8627 eval "$as_ac_var=no"
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 CFLAGS=$ac_wine_try_cflags_saved
8633 eval ac_res=\$$as_ac_var
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8635 $as_echo "$ac_res" >&6; }
8636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8637 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8638 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8644 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 ac_wine_try_cflags_saved=$CFLAGS
8648 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8652 _ACEOF
8653 if ac_fn_c_try_link "$LINENO"; then :
8654 ac_cv_cflags__Wl___enable_new_dtags=yes
8655 else
8656 ac_cv_cflags__Wl___enable_new_dtags=no
8658 rm -f core conftest.err conftest.$ac_objext \
8659 conftest$ac_exeext conftest.$ac_ext
8660 CFLAGS=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8663 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8664 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8665 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8668 case $host_cpu in
8669 *i[3456789]86* | x86_64)
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8671 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8672 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8683 else
8684 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8691 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8692 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8693 case $host_os in
8694 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8695 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8696 esac
8697 else
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8699 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8700 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8711 else
8712 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8719 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8720 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8721 case $host_os in
8722 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8723 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8724 esac
8726 # Extract the first word of "prelink", so it can be a program name with args.
8727 set dummy prelink; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_path_PRELINK+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 case $PRELINK in
8734 [\\/]* | ?:[\\/]*)
8735 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8739 for as_dir in /sbin /usr/sbin $PATH
8741 IFS=$as_save_IFS
8742 test -z "$as_dir" && as_dir=.
8743 for ac_exec_ext in '' $ac_executable_extensions; do
8744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8745 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8747 break 2
8749 done
8750 done
8751 IFS=$as_save_IFS
8753 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8755 esac
8757 PRELINK=$ac_cv_path_PRELINK
8758 if test -n "$PRELINK"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8760 $as_echo "$PRELINK" >&6; }
8761 else
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8767 if test "x$PRELINK" = xfalse
8768 then
8769 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8773 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8774 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 int main(int argc, char **argv) { return 0; }
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8785 else
8786 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 CFLAGS=$ac_wine_try_cflags_saved
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8793 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8794 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8795 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8798 esac
8800 else
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8802 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8803 if ${ac_cv_c_dll_unixware+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 ac_wine_try_cflags_saved=$CFLAGS
8807 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8810 void myfunc() {}
8811 _ACEOF
8812 if ac_fn_c_try_link "$LINENO"; then :
8813 ac_cv_c_dll_unixware="yes"
8814 else
8815 ac_cv_c_dll_unixware="no"
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 CFLAGS=$ac_wine_try_cflags_saved
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8822 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8823 if test "$ac_cv_c_dll_unixware" = "yes"
8824 then
8825 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8828 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8830 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8832 LIBWINE_INSTALL_DEV="libwine.so"
8834 LIBWINE_DEPENDS="wine.map"
8837 esac
8839 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8840 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8841 enable_winemac_drv=${enable_winemac_drv:-no}
8842 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8844 CROSSTARGET=""
8846 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8847 then
8848 case "$host_cpu" in
8849 arm*)
8850 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8851 i[3456789]86*)
8852 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
8853 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8854 mingw32-gcc" ;;
8855 x86_64)
8856 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
8857 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8859 ac_prefix_list="" ;;
8860 esac
8861 for ac_prog in $ac_prefix_list
8863 # Extract the first word of "$ac_prog", so it can be a program name with args.
8864 set dummy $ac_prog; ac_word=$2
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8866 $as_echo_n "checking for $ac_word... " >&6; }
8867 if ${ac_cv_prog_CROSSCC+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 if test -n "$CROSSCC"; then
8871 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8872 else
8873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8874 for as_dir in $PATH
8876 IFS=$as_save_IFS
8877 test -z "$as_dir" && as_dir=.
8878 for ac_exec_ext in '' $ac_executable_extensions; do
8879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8880 ac_cv_prog_CROSSCC="$ac_prog"
8881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8882 break 2
8884 done
8885 done
8886 IFS=$as_save_IFS
8890 CROSSCC=$ac_cv_prog_CROSSCC
8891 if test -n "$CROSSCC"; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8893 $as_echo "$CROSSCC" >&6; }
8894 else
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8900 test -n "$CROSSCC" && break
8901 done
8902 test -n "$CROSSCC" || CROSSCC="false"
8904 if test "$CROSSCC" != "false"
8905 then
8906 ac_save_CC="$CC"
8907 CC="$CROSSCC"
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8909 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8914 main ()
8918 return 0;
8920 _ACEOF
8921 if ac_fn_c_try_compile "$LINENO"; then :
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8923 $as_echo "yes" >&6; }
8924 set x $CROSSCC
8925 shift
8926 while test $# -ge 1
8928 case "$1" in
8929 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8930 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8931 esac
8932 shift
8933 done
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8939 CC="$ac_save_CC"
8944 if test "$ac_cv_header_pthread_h" = "yes"
8945 then
8946 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8947 if test "x$ac_cv_func_pthread_create" = xyes; then :
8949 else
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8951 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8952 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8953 $as_echo_n "(cached) " >&6
8954 else
8955 ac_check_lib_save_LIBS=$LIBS
8956 LIBS="-lpthread $LIBS"
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8963 #ifdef __cplusplus
8964 extern "C"
8965 #endif
8966 char pthread_create ();
8968 main ()
8970 return pthread_create ();
8972 return 0;
8974 _ACEOF
8975 if ac_fn_c_try_link "$LINENO"; then :
8976 ac_cv_lib_pthread_pthread_create=yes
8977 else
8978 ac_cv_lib_pthread_pthread_create=no
8980 rm -f core conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8982 LIBS=$ac_check_lib_save_LIBS
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8985 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8986 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8987 PTHREAD_LIBS="-lpthread"
8994 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8995 case "x$with_pthread" in
8996 xno) ;;
8997 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8998 Wine cannot support threads without libpthread.
8999 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9000 esac
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9006 $as_echo_n "checking for X... " >&6; }
9009 # Check whether --with-x was given.
9010 if test "${with_x+set}" = set; then :
9011 withval=$with_x;
9014 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9015 if test "x$with_x" = xno; then
9016 # The user explicitly disabled X.
9017 have_x=disabled
9018 else
9019 case $x_includes,$x_libraries in #(
9020 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9021 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9022 $as_echo_n "(cached) " >&6
9023 else
9024 # One or both of the vars are not set, and there is no cached value.
9025 ac_x_includes=no ac_x_libraries=no
9026 rm -f -r conftest.dir
9027 if mkdir conftest.dir; then
9028 cd conftest.dir
9029 cat >Imakefile <<'_ACEOF'
9030 incroot:
9031 @echo incroot='${INCROOT}'
9032 usrlibdir:
9033 @echo usrlibdir='${USRLIBDIR}'
9034 libdir:
9035 @echo libdir='${LIBDIR}'
9036 _ACEOF
9037 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9038 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9039 for ac_var in incroot usrlibdir libdir; do
9040 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9041 done
9042 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9043 for ac_extension in a so sl dylib la dll; do
9044 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9045 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9046 ac_im_usrlibdir=$ac_im_libdir; break
9048 done
9049 # Screen out bogus values from the imake configuration. They are
9050 # bogus both because they are the default anyway, and because
9051 # using them would break gcc on systems where it needs fixed includes.
9052 case $ac_im_incroot in
9053 /usr/include) ac_x_includes= ;;
9054 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9055 esac
9056 case $ac_im_usrlibdir in
9057 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9058 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9059 esac
9061 cd ..
9062 rm -f -r conftest.dir
9065 # Standard set of common directories for X headers.
9066 # Check X11 before X11Rn because it is often a symlink to the current release.
9067 ac_x_header_dirs='
9068 /usr/X11/include
9069 /usr/X11R7/include
9070 /usr/X11R6/include
9071 /usr/X11R5/include
9072 /usr/X11R4/include
9074 /usr/include/X11
9075 /usr/include/X11R7
9076 /usr/include/X11R6
9077 /usr/include/X11R5
9078 /usr/include/X11R4
9080 /usr/local/X11/include
9081 /usr/local/X11R7/include
9082 /usr/local/X11R6/include
9083 /usr/local/X11R5/include
9084 /usr/local/X11R4/include
9086 /usr/local/include/X11
9087 /usr/local/include/X11R7
9088 /usr/local/include/X11R6
9089 /usr/local/include/X11R5
9090 /usr/local/include/X11R4
9092 /usr/X386/include
9093 /usr/x386/include
9094 /usr/XFree86/include/X11
9096 /usr/include
9097 /usr/local/include
9098 /usr/unsupported/include
9099 /usr/athena/include
9100 /usr/local/x11r5/include
9101 /usr/lpp/Xamples/include
9103 /usr/openwin/include
9104 /usr/openwin/share/include'
9106 if test "$ac_x_includes" = no; then
9107 # Guess where to find include files, by looking for Xlib.h.
9108 # First, try using that file with no special directory specified.
9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 #include <X11/Xlib.h>
9112 _ACEOF
9113 if ac_fn_c_try_cpp "$LINENO"; then :
9114 # We can compile using X headers with no special include directory.
9115 ac_x_includes=
9116 else
9117 for ac_dir in $ac_x_header_dirs; do
9118 if test -r "$ac_dir/X11/Xlib.h"; then
9119 ac_x_includes=$ac_dir
9120 break
9122 done
9124 rm -f conftest.err conftest.i conftest.$ac_ext
9125 fi # $ac_x_includes = no
9127 if test "$ac_x_libraries" = no; then
9128 # Check for the libraries.
9129 # See if we find them without any special options.
9130 # Don't add to $LIBS permanently.
9131 ac_save_LIBS=$LIBS
9132 LIBS="-lX11 $LIBS"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 #include <X11/Xlib.h>
9137 main ()
9139 XrmInitialize ()
9141 return 0;
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 LIBS=$ac_save_LIBS
9146 # We can link X programs with no special library path.
9147 ac_x_libraries=
9148 else
9149 LIBS=$ac_save_LIBS
9150 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9152 # Don't even attempt the hair of trying to link an X program!
9153 for ac_extension in a so sl dylib la dll; do
9154 if test -r "$ac_dir/libX11.$ac_extension"; then
9155 ac_x_libraries=$ac_dir
9156 break 2
9158 done
9159 done
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 fi # $ac_x_libraries = no
9165 case $ac_x_includes,$ac_x_libraries in #(
9166 no,* | *,no | *\'*)
9167 # Didn't find X, or a directory has "'" in its name.
9168 ac_cv_have_x="have_x=no";; #(
9170 # Record where we found X for the cache.
9171 ac_cv_have_x="have_x=yes\
9172 ac_x_includes='$ac_x_includes'\
9173 ac_x_libraries='$ac_x_libraries'"
9174 esac
9176 ;; #(
9177 *) have_x=yes;;
9178 esac
9179 eval "$ac_cv_have_x"
9180 fi # $with_x != no
9182 if test "$have_x" != yes; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9184 $as_echo "$have_x" >&6; }
9185 no_x=yes
9186 else
9187 # If each of the values was on the command line, it overrides each guess.
9188 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9189 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9190 # Update the cache value to reflect the command line values.
9191 ac_cv_have_x="have_x=yes\
9192 ac_x_includes='$x_includes'\
9193 ac_x_libraries='$x_libraries'"
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9195 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9198 if test "$no_x" = yes; then
9199 # Not all programs may use this symbol, but it does not hurt to define it.
9201 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9203 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9204 else
9205 if test -n "$x_includes"; then
9206 X_CFLAGS="$X_CFLAGS -I$x_includes"
9209 # It would also be nice to do this for all -L options, not just this one.
9210 if test -n "$x_libraries"; then
9211 X_LIBS="$X_LIBS -L$x_libraries"
9212 # For Solaris; some versions of Sun CC require a space after -R and
9213 # others require no space. Words are not sufficient . . . .
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9215 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9216 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9217 ac_xsave_c_werror_flag=$ac_c_werror_flag
9218 ac_c_werror_flag=yes
9219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9223 main ()
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9232 $as_echo "no" >&6; }
9233 X_LIBS="$X_LIBS -R$x_libraries"
9234 else
9235 LIBS="$ac_xsave_LIBS -R $x_libraries"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9240 main ()
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9249 $as_echo "yes" >&6; }
9250 X_LIBS="$X_LIBS -R $x_libraries"
9251 else
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9253 $as_echo "neither works" >&6; }
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 ac_c_werror_flag=$ac_xsave_c_werror_flag
9261 LIBS=$ac_xsave_LIBS
9264 # Check for system-dependent libraries X programs must link with.
9265 # Do this before checking for the system-independent R6 libraries
9266 # (-lICE), since we may need -lsocket or whatever for X linking.
9268 if test "$ISC" = yes; then
9269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9270 else
9271 # Martyn Johnson says this is needed for Ultrix, if the X
9272 # libraries were built with DECnet support. And Karl Berry says
9273 # the Alpha needs dnet_stub (dnet does not exist).
9274 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9278 /* Override any GCC internal prototype to avoid an error.
9279 Use char because int might match the return type of a GCC
9280 builtin and then its argument prototype would still apply. */
9281 #ifdef __cplusplus
9282 extern "C"
9283 #endif
9284 char XOpenDisplay ();
9286 main ()
9288 return XOpenDisplay ();
9290 return 0;
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9295 else
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9297 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9298 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_check_lib_save_LIBS=$LIBS
9302 LIBS="-ldnet $LIBS"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 char dnet_ntoa ();
9314 main ()
9316 return dnet_ntoa ();
9318 return 0;
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9322 ac_cv_lib_dnet_dnet_ntoa=yes
9323 else
9324 ac_cv_lib_dnet_dnet_ntoa=no
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 LIBS=$ac_check_lib_save_LIBS
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9331 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9332 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9333 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9336 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9338 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9339 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_check_lib_save_LIBS=$LIBS
9343 LIBS="-ldnet_stub $LIBS"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9347 /* Override any GCC internal prototype to avoid an error.
9348 Use char because int might match the return type of a GCC
9349 builtin and then its argument prototype would still apply. */
9350 #ifdef __cplusplus
9351 extern "C"
9352 #endif
9353 char dnet_ntoa ();
9355 main ()
9357 return dnet_ntoa ();
9359 return 0;
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9364 else
9365 ac_cv_lib_dnet_stub_dnet_ntoa=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 LIBS=$ac_check_lib_save_LIBS
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9372 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9373 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9374 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LIBS="$ac_xsave_LIBS"
9383 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9384 # to get the SysV transport functions.
9385 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9386 # needs -lnsl.
9387 # The nsl library prevents programs from opening the X display
9388 # on Irix 5.2, according to T.E. Dickey.
9389 # The functions gethostbyname, getservbyname, and inet_addr are
9390 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9391 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9392 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9396 if test $ac_cv_func_gethostbyname = no; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9398 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9399 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9400 $as_echo_n "(cached) " >&6
9401 else
9402 ac_check_lib_save_LIBS=$LIBS
9403 LIBS="-lnsl $LIBS"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9410 #ifdef __cplusplus
9411 extern "C"
9412 #endif
9413 char gethostbyname ();
9415 main ()
9417 return gethostbyname ();
9419 return 0;
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_lib_nsl_gethostbyname=yes
9424 else
9425 ac_cv_lib_nsl_gethostbyname=no
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 LIBS=$ac_check_lib_save_LIBS
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9432 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9433 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9434 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9437 if test $ac_cv_lib_nsl_gethostbyname = no; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9439 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9440 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9441 $as_echo_n "(cached) " >&6
9442 else
9443 ac_check_lib_save_LIBS=$LIBS
9444 LIBS="-lbsd $LIBS"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9448 /* Override any GCC internal prototype to avoid an error.
9449 Use char because int might match the return type of a GCC
9450 builtin and then its argument prototype would still apply. */
9451 #ifdef __cplusplus
9452 extern "C"
9453 #endif
9454 char gethostbyname ();
9456 main ()
9458 return gethostbyname ();
9460 return 0;
9462 _ACEOF
9463 if ac_fn_c_try_link "$LINENO"; then :
9464 ac_cv_lib_bsd_gethostbyname=yes
9465 else
9466 ac_cv_lib_bsd_gethostbyname=no
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 LIBS=$ac_check_lib_save_LIBS
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9473 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9474 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9475 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9481 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9482 # socket/setsockopt and other routines are undefined under SCO ODT
9483 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9484 # on later versions), says Simon Leinen: it contains gethostby*
9485 # variants that don't use the name server (or something). -lsocket
9486 # must be given before -lnsl if both are needed. We assume that
9487 # if connect needs -lnsl, so does gethostbyname.
9488 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9489 if test "x$ac_cv_func_connect" = xyes; then :
9493 if test $ac_cv_func_connect = no; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9495 $as_echo_n "checking for connect in -lsocket... " >&6; }
9496 if ${ac_cv_lib_socket_connect+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
9499 ac_check_lib_save_LIBS=$LIBS
9500 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9504 /* Override any GCC internal prototype to avoid an error.
9505 Use char because int might match the return type of a GCC
9506 builtin and then its argument prototype would still apply. */
9507 #ifdef __cplusplus
9508 extern "C"
9509 #endif
9510 char connect ();
9512 main ()
9514 return connect ();
9516 return 0;
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 ac_cv_lib_socket_connect=yes
9521 else
9522 ac_cv_lib_socket_connect=no
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 LIBS=$ac_check_lib_save_LIBS
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9529 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9530 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9531 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9536 # Guillermo Gomez says -lposix is necessary on A/UX.
9537 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9538 if test "x$ac_cv_func_remove" = xyes; then :
9542 if test $ac_cv_func_remove = no; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9544 $as_echo_n "checking for remove in -lposix... " >&6; }
9545 if ${ac_cv_lib_posix_remove+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 ac_check_lib_save_LIBS=$LIBS
9549 LIBS="-lposix $LIBS"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9556 #ifdef __cplusplus
9557 extern "C"
9558 #endif
9559 char remove ();
9561 main ()
9563 return remove ();
9565 return 0;
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_lib_posix_remove=yes
9570 else
9571 ac_cv_lib_posix_remove=no
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 LIBS=$ac_check_lib_save_LIBS
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9578 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9579 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9580 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9585 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9586 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9587 if test "x$ac_cv_func_shmat" = xyes; then :
9591 if test $ac_cv_func_shmat = no; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9593 $as_echo_n "checking for shmat in -lipc... " >&6; }
9594 if ${ac_cv_lib_ipc_shmat+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-lipc $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char shmat ();
9610 main ()
9612 return shmat ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 ac_cv_lib_ipc_shmat=yes
9619 else
9620 ac_cv_lib_ipc_shmat=no
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9627 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9628 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9635 # Check for libraries that X11R6 Xt/Xaw programs need.
9636 ac_save_LDFLAGS=$LDFLAGS
9637 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9638 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9639 # check for ICE first), but we must link in the order -lSM -lICE or
9640 # we get undefined symbols. So assume we have SM if we have ICE.
9641 # These have to be linked with before -lX11, unlike the other
9642 # libraries we check for below, so use a different variable.
9643 # John Interrante, Karl Berry
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9645 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9646 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 ac_check_lib_save_LIBS=$LIBS
9650 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9657 #ifdef __cplusplus
9658 extern "C"
9659 #endif
9660 char IceConnectionNumber ();
9662 main ()
9664 return IceConnectionNumber ();
9666 return 0;
9668 _ACEOF
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 ac_cv_lib_ICE_IceConnectionNumber=yes
9671 else
9672 ac_cv_lib_ICE_IceConnectionNumber=no
9674 rm -f core conftest.err conftest.$ac_objext \
9675 conftest$ac_exeext conftest.$ac_ext
9676 LIBS=$ac_check_lib_save_LIBS
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9679 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9680 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9681 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9684 LDFLAGS=$ac_save_LDFLAGS
9689 if test "$have_x" = "yes"
9690 then
9691 ac_save_CPPFLAGS="$CPPFLAGS"
9692 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9695 $as_echo_n "checking for -lX11... " >&6; }
9696 if ${ac_cv_lib_soname_X11+:} false; then :
9697 $as_echo_n "(cached) " >&6
9698 else
9699 ac_check_soname_save_LIBS=$LIBS
9700 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9704 /* Override any GCC internal prototype to avoid an error.
9705 Use char because int might match the return type of a GCC
9706 builtin and then its argument prototype would still apply. */
9707 #ifdef __cplusplus
9708 extern "C"
9709 #endif
9710 char XCreateWindow ();
9712 main ()
9714 return XCreateWindow ();
9716 return 0;
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 case "$LIBEXT" in
9721 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9722 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'` ;;
9723 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9724 if ${ac_cv_lib_soname_X11:+false} :; then :
9725 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9726 fi ;;
9727 esac
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 LIBS=$ac_check_soname_save_LIBS
9733 if ${ac_cv_lib_soname_X11:+false} :; then :
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9735 $as_echo "not found" >&6; }
9737 else
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9739 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9741 cat >>confdefs.h <<_ACEOF
9742 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9743 _ACEOF
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9748 $as_echo_n "checking for -lXext... " >&6; }
9749 if ${ac_cv_lib_soname_Xext+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_check_soname_save_LIBS=$LIBS
9753 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 char XextCreateExtension ();
9765 main ()
9767 return XextCreateExtension ();
9769 return 0;
9771 _ACEOF
9772 if ac_fn_c_try_link "$LINENO"; then :
9773 case "$LIBEXT" in
9774 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9775 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'` ;;
9776 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9777 if ${ac_cv_lib_soname_Xext:+false} :; then :
9778 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9779 fi ;;
9780 esac
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 LIBS=$ac_check_soname_save_LIBS
9786 if ${ac_cv_lib_soname_Xext:+false} :; then :
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9788 $as_echo "not found" >&6; }
9790 else
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9792 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9794 cat >>confdefs.h <<_ACEOF
9795 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9796 _ACEOF
9798 X_LIBS="$X_LIBS -lXext"
9800 X_LIBS="$X_LIBS -lX11"
9802 for ac_header in X11/Xlib.h \
9803 X11/XKBlib.h \
9804 X11/Xutil.h \
9805 X11/Xcursor/Xcursor.h \
9806 X11/extensions/shape.h \
9807 X11/extensions/XInput.h \
9808 X11/extensions/XInput2.h \
9809 X11/extensions/XShm.h \
9810 X11/extensions/Xcomposite.h \
9811 X11/extensions/Xinerama.h \
9812 X11/extensions/Xrandr.h \
9813 X11/extensions/Xrender.h \
9814 X11/extensions/xf86vmode.h \
9815 X11/extensions/xf86vmproto.h
9816 do :
9817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9818 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9819 # include <X11/Xlib.h>
9820 #endif
9821 #ifdef HAVE_X11_XUTIL_H
9822 # include <X11/Xutil.h>
9823 #endif
9825 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9826 cat >>confdefs.h <<_ACEOF
9827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9828 _ACEOF
9832 done
9835 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9836 then
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9838 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9839 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_lib_save_LIBS=$LIBS
9843 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XkbQueryExtension ();
9855 main ()
9857 return XkbQueryExtension ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 ac_cv_lib_X11_XkbQueryExtension=yes
9864 else
9865 ac_cv_lib_X11_XkbQueryExtension=no
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_lib_save_LIBS
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9872 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9873 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9875 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9881 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9882 then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9884 $as_echo_n "checking for -lXcursor... " >&6; }
9885 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_check_soname_save_LIBS=$LIBS
9889 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9896 #ifdef __cplusplus
9897 extern "C"
9898 #endif
9899 char XcursorImageLoadCursor ();
9901 main ()
9903 return XcursorImageLoadCursor ();
9905 return 0;
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 case "$LIBEXT" in
9910 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9911 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'` ;;
9912 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9913 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9914 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9915 fi ;;
9916 esac
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_soname_save_LIBS
9922 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9924 $as_echo "not found" >&6; }
9926 else
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9928 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9930 cat >>confdefs.h <<_ACEOF
9931 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9932 _ACEOF
9937 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9938 case "x$with_xcursor" in
9939 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9940 xno) ;;
9941 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9942 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9943 esac
9947 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9948 then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9950 $as_echo_n "checking for -lXi... " >&6; }
9951 if ${ac_cv_lib_soname_Xi+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_check_soname_save_LIBS=$LIBS
9955 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9962 #ifdef __cplusplus
9963 extern "C"
9964 #endif
9965 char XOpenDevice ();
9967 main ()
9969 return XOpenDevice ();
9971 return 0;
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 case "$LIBEXT" in
9976 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9977 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'` ;;
9978 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9979 if ${ac_cv_lib_soname_Xi:+false} :; then :
9980 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9981 fi ;;
9982 esac
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 LIBS=$ac_check_soname_save_LIBS
9988 if ${ac_cv_lib_soname_Xi:+false} :; then :
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9990 $as_echo "not found" >&6; }
9992 else
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9994 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9996 cat >>confdefs.h <<_ACEOF
9997 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9998 _ACEOF
10003 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10004 case "x$with_xinput" in
10005 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10006 xno) ;;
10007 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10008 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10009 esac
10013 if test "x$ac_cv_lib_soname_Xi" != x
10014 then
10015 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10016 case "x$with_xinput2" in
10017 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10018 xno) ;;
10019 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10020 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10021 esac
10026 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10027 then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10029 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10030 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10031 $as_echo_n "(cached) " >&6
10032 else
10033 ac_check_lib_save_LIBS=$LIBS
10034 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 char XShmQueryExtension ();
10046 main ()
10048 return XShmQueryExtension ();
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"; then :
10054 ac_cv_lib_Xext_XShmQueryExtension=yes
10055 else
10056 ac_cv_lib_Xext_XShmQueryExtension=no
10058 rm -f core conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10063 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10064 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10066 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10071 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10072 case "x$with_xshm" in
10073 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10074 xno) ;;
10075 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10076 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10077 esac
10081 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10082 then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10084 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10085 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_check_lib_save_LIBS=$LIBS
10089 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char XShapeQueryExtension ();
10101 main ()
10103 return XShapeQueryExtension ();
10105 return 0;
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_lib_Xext_XShapeQueryExtension=yes
10110 else
10111 ac_cv_lib_Xext_XShapeQueryExtension=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_lib_save_LIBS
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10118 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10119 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10121 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10126 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10127 case "x$with_xshape" in
10128 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10129 xno) ;;
10130 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10131 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10132 esac
10136 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10137 then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10139 $as_echo_n "checking for -lXxf86vm... " >&6; }
10140 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_soname_save_LIBS=$LIBS
10144 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char XF86VidModeQueryExtension ();
10156 main ()
10158 return XF86VidModeQueryExtension ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 case "$LIBEXT" in
10165 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10166 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'` ;;
10167 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10168 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10169 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 fi ;;
10171 esac
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10179 $as_echo "not found" >&6; }
10181 else
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10183 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10185 cat >>confdefs.h <<_ACEOF
10186 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10187 _ACEOF
10192 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10193 case "x$with_xxf86vm" in
10194 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10195 xno) ;;
10196 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10197 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10198 esac
10202 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10203 then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10205 $as_echo_n "checking for -lXrender... " >&6; }
10206 if ${ac_cv_lib_soname_Xrender+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_soname_save_LIBS=$LIBS
10210 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char XRenderQueryExtension ();
10222 main ()
10224 return XRenderQueryExtension ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 case "$LIBEXT" in
10231 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10232 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'` ;;
10233 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10234 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10235 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10236 fi ;;
10237 esac
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 LIBS=$ac_check_soname_save_LIBS
10243 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10245 $as_echo "not found" >&6; }
10247 else
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10249 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10251 cat >>confdefs.h <<_ACEOF
10252 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10253 _ACEOF
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10256 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10257 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 ac_check_lib_save_LIBS=$LIBS
10261 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10268 #ifdef __cplusplus
10269 extern "C"
10270 #endif
10271 char XRenderSetPictureTransform ();
10273 main ()
10275 return XRenderSetPictureTransform ();
10277 return 0;
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10282 else
10283 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_lib_save_LIBS
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10290 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10291 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10293 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10298 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10299 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_check_lib_save_LIBS=$LIBS
10303 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10310 #ifdef __cplusplus
10311 extern "C"
10312 #endif
10313 char XRenderCreateLinearGradient ();
10315 main ()
10317 return XRenderCreateLinearGradient ();
10319 return 0;
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10324 else
10325 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 LIBS=$ac_check_lib_save_LIBS
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10332 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10333 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10335 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10342 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10343 case "x$with_xrender" in
10344 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10345 xno) ;;
10346 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10347 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10348 esac
10352 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10353 then
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <X11/Xlib.h>
10357 #include <X11/extensions/Xrandr.h>
10359 main ()
10361 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_compile "$LINENO"; then :
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10368 $as_echo_n "checking for -lXrandr... " >&6; }
10369 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_check_soname_save_LIBS=$LIBS
10373 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char XRRQueryExtension ();
10385 main ()
10387 return XRRQueryExtension ();
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 case "$LIBEXT" in
10394 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10395 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'` ;;
10396 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10397 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10398 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10399 fi ;;
10400 esac
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 LIBS=$ac_check_soname_save_LIBS
10406 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10408 $as_echo "not found" >&6; }
10410 else
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10412 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10414 cat >>confdefs.h <<_ACEOF
10415 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10416 _ACEOF
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 #include <X11/Xlib.h>
10421 #include <X11/extensions/Xrandr.h>
10423 main ()
10425 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_compile "$LINENO"; then :
10432 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10440 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10441 case "x$with_xrandr" in
10442 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10443 xno) ;;
10444 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10445 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10446 esac
10450 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10451 then
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 #include <X11/Xlib.h>
10455 #include <X11/extensions/Xinerama.h>
10457 main ()
10459 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10461 return 0;
10463 _ACEOF
10464 if ac_fn_c_try_compile "$LINENO"; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10466 $as_echo_n "checking for -lXinerama... " >&6; }
10467 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_check_soname_save_LIBS=$LIBS
10471 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10478 #ifdef __cplusplus
10479 extern "C"
10480 #endif
10481 char XineramaQueryScreens ();
10483 main ()
10485 return XineramaQueryScreens ();
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 case "$LIBEXT" in
10492 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10493 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'` ;;
10494 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10495 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10496 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10497 fi ;;
10498 esac
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_soname_save_LIBS
10504 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10506 $as_echo "not found" >&6; }
10508 else
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10510 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10512 cat >>confdefs.h <<_ACEOF
10513 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10514 _ACEOF
10519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10521 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10522 case "x$with_xinerama" in
10523 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10524 xno) ;;
10525 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10526 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10527 esac
10531 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10532 then
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10534 $as_echo_n "checking for -lXcomposite... " >&6; }
10535 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_check_soname_save_LIBS=$LIBS
10539 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10543 /* Override any GCC internal prototype to avoid an error.
10544 Use char because int might match the return type of a GCC
10545 builtin and then its argument prototype would still apply. */
10546 #ifdef __cplusplus
10547 extern "C"
10548 #endif
10549 char XCompositeRedirectWindow ();
10551 main ()
10553 return XCompositeRedirectWindow ();
10555 return 0;
10557 _ACEOF
10558 if ac_fn_c_try_link "$LINENO"; then :
10559 case "$LIBEXT" in
10560 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10561 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'` ;;
10562 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10563 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10564 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10565 fi ;;
10566 esac
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_soname_save_LIBS
10572 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10574 $as_echo "not found" >&6; }
10576 else
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10578 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10580 cat >>confdefs.h <<_ACEOF
10581 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10582 _ACEOF
10587 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10588 case "x$with_xcomposite" in
10589 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10590 xno) ;;
10591 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10592 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10593 esac
10597 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10598 #include <X11/Xlib.h>
10599 #endif
10601 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10603 cat >>confdefs.h <<_ACEOF
10604 #define HAVE_XICCALLBACK_CALLBACK 1
10605 _ACEOF
10609 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10610 #include <X11/Xlib.h>
10611 #endif
10613 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10615 cat >>confdefs.h <<_ACEOF
10616 #define HAVE_XEVENT_XCOOKIE 1
10617 _ACEOF
10624 opengl_msg=""
10625 if test "x$with_opengl" != "xno"
10626 then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10628 $as_echo_n "checking for -lGL... " >&6; }
10629 if ${ac_cv_lib_soname_GL+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_check_soname_save_LIBS=$LIBS
10633 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10640 #ifdef __cplusplus
10641 extern "C"
10642 #endif
10643 char glXCreateContext ();
10645 main ()
10647 return glXCreateContext ();
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 case "$LIBEXT" in
10654 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10655 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'` ;;
10656 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10657 if ${ac_cv_lib_soname_GL:+false} :; then :
10658 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10659 fi ;;
10660 esac
10662 rm -f core conftest.err conftest.$ac_objext \
10663 conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_soname_save_LIBS
10666 if ${ac_cv_lib_soname_GL:+false} :; then :
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10668 $as_echo "not found" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10670 $as_echo_n "checking for -lGL... " >&6; }
10671 if ${ac_cv_lib_soname_GL+:} false; then :
10672 $as_echo_n "(cached) " >&6
10673 else
10674 ac_check_soname_save_LIBS=$LIBS
10675 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"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10682 #ifdef __cplusplus
10683 extern "C"
10684 #endif
10685 char glXCreateContext ();
10687 main ()
10689 return glXCreateContext ();
10691 return 0;
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"; then :
10695 case "$LIBEXT" in
10696 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10697 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'` ;;
10698 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10699 if ${ac_cv_lib_soname_GL:+false} :; then :
10700 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10701 fi ;;
10702 esac
10704 rm -f core conftest.err conftest.$ac_objext \
10705 conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_soname_save_LIBS
10708 if ${ac_cv_lib_soname_GL:+false} :; then :
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10710 $as_echo "not found" >&6; }
10711 if test -f /usr/X11R6/lib/libGL.a
10712 then
10713 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10714 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10715 else
10716 opengl_msg="No OpenGL library found on this system."
10718 else
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10720 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10722 cat >>confdefs.h <<_ACEOF
10723 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10724 _ACEOF
10726 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"
10728 else
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10730 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10732 cat >>confdefs.h <<_ACEOF
10733 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10734 _ACEOF
10736 OPENGL_LIBS="-lGL"
10738 if test "x$with_glu" != "xno"
10739 then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10741 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10742 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 ac_check_lib_save_LIBS=$LIBS
10746 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char gluLookAt ();
10758 main ()
10760 return gluLookAt ();
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 ac_cv_lib_GLU_gluLookAt=yes
10767 else
10768 ac_cv_lib_GLU_gluLookAt=no
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10775 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10776 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10780 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10781 case "x$with_glu" in
10782 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10785 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10786 esac
10791 if test "x$with_osmesa" != "xno"
10792 then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10794 $as_echo_n "checking for -lOSMesa... " >&6; }
10795 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 ac_check_soname_save_LIBS=$LIBS
10799 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char glAccum ();
10811 main ()
10813 return glAccum ();
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 case "$LIBEXT" in
10820 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10821 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'` ;;
10822 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10823 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10824 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10825 fi ;;
10826 esac
10828 rm -f core conftest.err conftest.$ac_objext \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_soname_save_LIBS
10832 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10834 $as_echo "not found" >&6; }
10836 else
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10838 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10840 cat >>confdefs.h <<_ACEOF
10841 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10842 _ACEOF
10846 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10847 case "x$with_osmesa" in
10848 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10849 xno) ;;
10850 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10851 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10852 esac
10857 if test -n "$opengl_msg"; then :
10858 case "x$with_opengl" in
10859 x) as_fn_append wine_warnings "|$opengl_msg
10860 OpenGL and Direct3D won't be supported." ;;
10861 xno) ;;
10862 *) as_fn_error $? "$opengl_msg
10863 OpenGL and Direct3D won't be supported.
10864 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10865 esac
10869 CPPFLAGS="$ac_save_CPPFLAGS"
10870 else
10871 X_CFLAGS=""
10872 X_LIBS=""
10874 if test "x$X_LIBS" = "x"; then :
10875 case "x$with_x" in
10876 xno) ;;
10877 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10878 without X support, which probably isn't what you want. You will need
10879 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10880 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10881 esac
10882 enable_winex11_drv=${enable_winex11_drv:-no}
10885 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10887 if test "$ac_cv_header_CL_cl_h" = "yes"
10888 then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10890 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10891 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10892 $as_echo_n "(cached) " >&6
10893 else
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-lOpenCL $LIBS"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 #endif
10905 char clGetPlatformInfo ();
10907 main ()
10909 return clGetPlatformInfo ();
10911 return 0;
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10916 else
10917 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10924 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10925 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10926 OPENCL_LIBS="-lOpenCL"
10931 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10932 case "x$with_opencl" in
10933 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10934 xno) ;;
10935 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10936 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10937 esac
10938 enable_opencl=${enable_opencl:-no}
10941 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10942 then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10944 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10945 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10946 $as_echo_n "(cached) " >&6
10947 else
10948 ac_check_lib_save_LIBS=$LIBS
10949 LIBS="-lpcap $LIBS"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10956 #ifdef __cplusplus
10957 extern "C"
10958 #endif
10959 char pcap_create ();
10961 main ()
10963 return pcap_create ();
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 ac_cv_lib_pcap_pcap_create=yes
10970 else
10971 ac_cv_lib_pcap_pcap_create=no
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10978 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10979 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10980 PCAP_LIBS="-lpcap"
10985 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10986 case "x$with_pcap" in
10987 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10988 xno) ;;
10989 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10990 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10991 esac
10992 enable_wpcap=${enable_wpcap:-no}
10996 if test "x$with_xml" != "xno"
10997 then
10998 if ${XML2_CFLAGS:+false} :; then :
10999 if ${PKG_CONFIG+:} false; then :
11000 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11003 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11004 if ${XML2_LIBS:+false} :; then :
11005 if ${PKG_CONFIG+:} false; then :
11006 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11009 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11010 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11011 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11012 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11013 ac_save_CPPFLAGS=$CPPFLAGS
11014 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11015 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11016 do :
11017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11018 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11019 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11020 cat >>confdefs.h <<_ACEOF
11021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11022 _ACEOF
11026 done
11028 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"
11029 then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11031 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11032 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11033 $as_echo_n "(cached) " >&6
11034 else
11035 ac_check_lib_save_LIBS=$LIBS
11036 LIBS="-lxml2 $XML2_LIBS $LIBS"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11043 #ifdef __cplusplus
11044 extern "C"
11045 #endif
11046 char xmlParseMemory ();
11048 main ()
11050 return xmlParseMemory ();
11052 return 0;
11054 _ACEOF
11055 if ac_fn_c_try_link "$LINENO"; then :
11056 ac_cv_lib_xml2_xmlParseMemory=yes
11057 else
11058 ac_cv_lib_xml2_xmlParseMemory=no
11060 rm -f core conftest.err conftest.$ac_objext \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_lib_save_LIBS
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11065 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11066 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11068 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11070 else
11071 XML2_LIBS=""
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11075 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11076 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11077 $as_echo_n "(cached) " >&6
11078 else
11079 ac_check_lib_save_LIBS=$LIBS
11080 LIBS="-lxml2 $XML2_LIBS $LIBS"
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11087 #ifdef __cplusplus
11088 extern "C"
11089 #endif
11090 char xmlReadMemory ();
11092 main ()
11094 return xmlReadMemory ();
11096 return 0;
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 ac_cv_lib_xml2_xmlReadMemory=yes
11101 else
11102 ac_cv_lib_xml2_xmlReadMemory=no
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_lib_save_LIBS
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11109 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11110 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11112 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11117 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11118 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11119 $as_echo_n "(cached) " >&6
11120 else
11121 ac_check_lib_save_LIBS=$LIBS
11122 LIBS="-lxml2 $XML2_LIBS $LIBS"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char xmlNewDocPI ();
11134 main ()
11136 return xmlNewDocPI ();
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 ac_cv_lib_xml2_xmlNewDocPI=yes
11143 else
11144 ac_cv_lib_xml2_xmlNewDocPI=no
11146 rm -f core conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_lib_save_LIBS
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11151 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11152 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11154 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11159 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11160 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-lxml2 $XML2_LIBS $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char xmlSchemaSetParserStructuredErrors ();
11176 main ()
11178 return xmlSchemaSetParserStructuredErrors ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11185 else
11186 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11193 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11194 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11196 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11201 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11202 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11203 $as_echo_n "(cached) " >&6
11204 else
11205 ac_check_lib_save_LIBS=$LIBS
11206 LIBS="-lxml2 $XML2_LIBS $LIBS"
11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 char xmlSchemaSetValidStructuredErrors ();
11218 main ()
11220 return xmlSchemaSetValidStructuredErrors ();
11222 return 0;
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"; then :
11226 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11227 else
11228 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11230 rm -f core conftest.err conftest.$ac_objext \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_lib_save_LIBS
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11235 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11236 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11238 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11243 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11244 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-lxml2 $XML2_LIBS $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char xmlFirstElementChild ();
11260 main ()
11262 return xmlFirstElementChild ();
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 ac_cv_lib_xml2_xmlFirstElementChild=yes
11269 else
11270 ac_cv_lib_xml2_xmlFirstElementChild=no
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11277 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11278 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11280 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11284 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11286 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11288 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11292 else
11293 XML2_CFLAGS=""
11294 XML2_LIBS=""
11296 CPPFLAGS=$ac_save_CPPFLAGS
11297 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11298 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11301 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11302 case "x$with_xml" in
11303 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11304 xno) ;;
11305 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11306 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11307 esac
11311 if test "x$with_xslt" != "xno"
11312 then
11313 if ${XSLT_CFLAGS:+false} :; then :
11314 if ${PKG_CONFIG+:} false; then :
11315 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11318 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11319 if ${XSLT_LIBS:+false} :; then :
11320 if ${PKG_CONFIG+:} false; then :
11321 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11324 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11325 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11326 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11327 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11328 ac_save_CPPFLAGS=$CPPFLAGS
11329 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11330 for ac_header in libxslt/pattern.h libxslt/transform.h
11331 do :
11332 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11333 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11334 # include <libxslt/pattern.h>
11335 #endif
11337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11338 cat >>confdefs.h <<_ACEOF
11339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11340 _ACEOF
11344 done
11346 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11347 then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11349 $as_echo_n "checking for -lxslt... " >&6; }
11350 if ${ac_cv_lib_soname_xslt+:} false; then :
11351 $as_echo_n "(cached) " >&6
11352 else
11353 ac_check_soname_save_LIBS=$LIBS
11354 LIBS="-lxslt $XSLT_LIBS $LIBS"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11361 #ifdef __cplusplus
11362 extern "C"
11363 #endif
11364 char xsltCompilePattern ();
11366 main ()
11368 return xsltCompilePattern ();
11370 return 0;
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"; then :
11374 case "$LIBEXT" in
11375 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11376 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'` ;;
11377 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11378 if ${ac_cv_lib_soname_xslt:+false} :; then :
11379 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11380 fi ;;
11381 esac
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_soname_save_LIBS
11387 if ${ac_cv_lib_soname_xslt:+false} :; then :
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11389 $as_echo "not found" >&6; }
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11393 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11395 cat >>confdefs.h <<_ACEOF
11396 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11397 _ACEOF
11401 else
11402 XSLT_CFLAGS=""
11404 CPPFLAGS=$ac_save_CPPFLAGS
11405 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11406 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11409 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11410 case "x$with_xslt" in
11411 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11412 xno) ;;
11413 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11414 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11415 esac
11419 if test "x$with_dbus" != "xno"
11420 then
11421 if ${DBUS_CFLAGS:+false} :; then :
11422 if ${PKG_CONFIG+:} false; then :
11423 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11427 if ${DBUS_LIBS:+false} :; then :
11428 if ${PKG_CONFIG+:} false; then :
11429 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11434 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11436 ac_save_CPPFLAGS=$CPPFLAGS
11437 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11438 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11439 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11441 $as_echo_n "checking for -ldbus-1... " >&6; }
11442 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_soname_save_LIBS=$LIBS
11446 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dbus_connection_close ();
11458 main ()
11460 return dbus_connection_close ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 case "$LIBEXT" in
11467 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11468 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'` ;;
11469 *) 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'`
11470 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11471 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11472 fi ;;
11473 esac
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_soname_save_LIBS
11479 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11481 $as_echo "not found" >&6; }
11482 DBUS_CFLAGS=""
11483 else
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11485 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11487 cat >>confdefs.h <<_ACEOF
11488 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11489 _ACEOF
11493 else
11494 DBUS_CFLAGS=""
11498 CPPFLAGS=$ac_save_CPPFLAGS
11499 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11500 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11503 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11504 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11505 case "x$with_dbus" in
11506 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11507 xno) ;;
11508 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11509 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11510 esac
11514 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11515 then
11516 if ${HAL_CFLAGS:+false} :; then :
11517 if ${PKG_CONFIG+:} false; then :
11518 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11522 if ${HAL_LIBS:+false} :; then :
11523 if ${PKG_CONFIG+:} false; then :
11524 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11528 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11529 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11530 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11531 ac_save_CPPFLAGS=$CPPFLAGS
11532 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11533 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11534 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11536 $as_echo_n "checking for -lhal... " >&6; }
11537 if ${ac_cv_lib_soname_hal+:} false; then :
11538 $as_echo_n "(cached) " >&6
11539 else
11540 ac_check_soname_save_LIBS=$LIBS
11541 LIBS="-lhal $HAL_LIBS $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char libhal_ctx_new ();
11553 main ()
11555 return libhal_ctx_new ();
11557 return 0;
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 case "$LIBEXT" in
11562 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11565 if ${ac_cv_lib_soname_hal:+false} :; then :
11566 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11567 fi ;;
11568 esac
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_hal:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11577 HAL_CFLAGS=""
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11580 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11584 _ACEOF
11588 else
11589 HAL_CFLAGS=""
11593 CPPFLAGS=$ac_save_CPPFLAGS
11594 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11597 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11599 case "x$with_hal" in
11600 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11601 xno) ;;
11602 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11603 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11604 esac
11609 if test "x$with_gnutls" != "xno"
11610 then
11611 if ${GNUTLS_CFLAGS:+false} :; then :
11612 if ${PKG_CONFIG+:} false; then :
11613 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11617 if ${GNUTLS_LIBS:+false} :; then :
11618 if ${PKG_CONFIG+:} false; then :
11619 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11624 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11626 ac_save_CPPFLAGS=$CPPFLAGS
11627 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11628 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11629 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11632 #include <gnutls/gnutls.h>
11633 #include <gnutls/crypto.h>
11635 main ()
11637 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11639 return 0;
11641 _ACEOF
11642 if ac_fn_c_try_compile "$LINENO"; then :
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11644 $as_echo_n "checking for -lgnutls... " >&6; }
11645 if ${ac_cv_lib_soname_gnutls+:} false; then :
11646 $as_echo_n "(cached) " >&6
11647 else
11648 ac_check_soname_save_LIBS=$LIBS
11649 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11656 #ifdef __cplusplus
11657 extern "C"
11658 #endif
11659 char gnutls_global_init ();
11661 main ()
11663 return gnutls_global_init ();
11665 return 0;
11667 _ACEOF
11668 if ac_fn_c_try_link "$LINENO"; then :
11669 case "$LIBEXT" in
11670 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11671 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'` ;;
11672 *) 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'`
11673 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11674 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'`
11675 fi ;;
11676 esac
11678 rm -f core conftest.err conftest.$ac_objext \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_soname_save_LIBS
11682 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11684 $as_echo "not found" >&6; }
11685 GNUTLS_CFLAGS=""
11686 else
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11688 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11690 cat >>confdefs.h <<_ACEOF
11691 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11692 _ACEOF
11696 ac_wine_check_funcs_save_LIBS="$LIBS"
11697 LIBS="$LIBS $GNUTLS_LIBS"
11698 for ac_func in gnutls_hash
11699 do :
11700 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11701 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11702 cat >>confdefs.h <<_ACEOF
11703 #define HAVE_GNUTLS_HASH 1
11704 _ACEOF
11706 else
11707 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11709 done
11711 LIBS="$ac_wine_check_funcs_save_LIBS"
11713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11714 else
11715 GNUTLS_CFLAGS=""
11719 CPPFLAGS=$ac_save_CPPFLAGS
11720 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11721 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11724 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11725 case "x$with_gnutls" in
11726 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11727 xno) ;;
11728 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11729 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11730 esac
11734 CURSES_LIBS=""
11735 if test "$ac_cv_header_ncurses_h" = "yes"
11736 then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11738 $as_echo_n "checking for -lncurses... " >&6; }
11739 if ${ac_cv_lib_soname_ncurses+:} false; then :
11740 $as_echo_n "(cached) " >&6
11741 else
11742 ac_check_soname_save_LIBS=$LIBS
11743 LIBS="-lncurses $LIBS"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char waddch ();
11755 main ()
11757 return waddch ();
11759 return 0;
11761 _ACEOF
11762 if ac_fn_c_try_link "$LINENO"; then :
11763 case "$LIBEXT" in
11764 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11765 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'` ;;
11766 *) 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'`
11767 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11768 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11769 fi ;;
11770 esac
11772 rm -f core conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_soname_save_LIBS
11776 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11778 $as_echo "not found" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11782 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11784 cat >>confdefs.h <<_ACEOF
11785 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11786 _ACEOF
11788 CURSES_LIBS="-lncurses"
11790 elif test "$ac_cv_header_curses_h" = "yes"
11791 then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11793 $as_echo_n "checking for -lcurses... " >&6; }
11794 if ${ac_cv_lib_soname_curses+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_soname_save_LIBS=$LIBS
11798 LIBS="-lcurses $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char waddch ();
11810 main ()
11812 return waddch ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 case "$LIBEXT" in
11819 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11822 if ${ac_cv_lib_soname_curses:+false} :; then :
11823 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11824 fi ;;
11825 esac
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_curses:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11837 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11841 _ACEOF
11843 CURSES_LIBS="-lcurses"
11846 ac_save_LIBS="$LIBS"
11847 LIBS="$LIBS $CURSES_LIBS"
11848 for ac_func in mousemask
11849 do :
11850 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11851 if test "x$ac_cv_func_mousemask" = xyes; then :
11852 cat >>confdefs.h <<_ACEOF
11853 #define HAVE_MOUSEMASK 1
11854 _ACEOF
11857 done
11859 LIBS="$ac_save_LIBS"
11860 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11861 case "x$with_curses" in
11862 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11865 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11866 esac
11870 if test "x$with_sane" != "xno"
11871 then
11872 if ${SANE_CFLAGS:+false} :; then :
11873 if ${PKG_CONFIG+:} false; then :
11874 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11877 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11878 if ${SANE_LIBS:+false} :; then :
11879 if ${PKG_CONFIG+:} false; then :
11880 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11883 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11885 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11887 ac_save_CPPFLAGS=$CPPFLAGS
11888 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11889 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11890 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11892 $as_echo_n "checking for -lsane... " >&6; }
11893 if ${ac_cv_lib_soname_sane+:} false; then :
11894 $as_echo_n "(cached) " >&6
11895 else
11896 ac_check_soname_save_LIBS=$LIBS
11897 LIBS="-lsane $SANE_LIBS $LIBS"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11901 /* Override any GCC internal prototype to avoid an error.
11902 Use char because int might match the return type of a GCC
11903 builtin and then its argument prototype would still apply. */
11904 #ifdef __cplusplus
11905 extern "C"
11906 #endif
11907 char sane_init ();
11909 main ()
11911 return sane_init ();
11913 return 0;
11915 _ACEOF
11916 if ac_fn_c_try_link "$LINENO"; then :
11917 case "$LIBEXT" in
11918 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11919 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'` ;;
11920 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11921 if ${ac_cv_lib_soname_sane:+false} :; then :
11922 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11923 fi ;;
11924 esac
11926 rm -f core conftest.err conftest.$ac_objext \
11927 conftest$ac_exeext conftest.$ac_ext
11928 LIBS=$ac_check_soname_save_LIBS
11930 if ${ac_cv_lib_soname_sane:+false} :; then :
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11932 $as_echo "not found" >&6; }
11933 SANE_CFLAGS=""
11934 else
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11936 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11938 cat >>confdefs.h <<_ACEOF
11939 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11940 _ACEOF
11944 else
11945 SANE_CFLAGS=""
11949 CPPFLAGS=$ac_save_CPPFLAGS
11950 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11951 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11954 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11955 case "x$with_sane" in
11956 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11957 xno) ;;
11958 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11959 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11960 esac
11964 if test "x$with_v4l" != "xno"
11965 then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11967 $as_echo_n "checking for -lv4l1... " >&6; }
11968 if ${ac_cv_lib_soname_v4l1+:} false; then :
11969 $as_echo_n "(cached) " >&6
11970 else
11971 ac_check_soname_save_LIBS=$LIBS
11972 LIBS="-lv4l1 $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 #ifdef __cplusplus
11980 extern "C"
11981 #endif
11982 char v4l1_open ();
11984 main ()
11986 return v4l1_open ();
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 case "$LIBEXT" in
11993 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11997 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11998 fi ;;
11999 esac
12001 rm -f core conftest.err conftest.$ac_objext \
12002 conftest$ac_exeext conftest.$ac_ext
12003 LIBS=$ac_check_soname_save_LIBS
12005 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12007 $as_echo "not found" >&6; }
12009 else
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12011 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12013 cat >>confdefs.h <<_ACEOF
12014 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12015 _ACEOF
12020 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12021 case "x$with_v4l" in
12022 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12023 xno) ;;
12024 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12025 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12026 esac
12030 if test "x$with_gphoto" != "xno"
12031 then
12032 if ${GPHOTO2_CFLAGS:+false} :; then :
12033 if ${PKG_CONFIG+:} false; then :
12034 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12037 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12038 if ${GPHOTO2_LIBS:+false} :; then :
12039 if ${PKG_CONFIG+:} false; then :
12040 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12043 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12044 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12045 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12049 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12050 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12052 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12053 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12054 $as_echo_n "(cached) " >&6
12055 else
12056 ac_check_lib_save_LIBS=$LIBS
12057 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 char gp_camera_new ();
12069 main ()
12071 return gp_camera_new ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 ac_cv_lib_gphoto2_gp_camera_new=yes
12078 else
12079 ac_cv_lib_gphoto2_gp_camera_new=no
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12086 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12087 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12089 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12091 else
12092 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12095 else
12096 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12100 CPPFLAGS=$ac_save_CPPFLAGS
12101 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12102 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12104 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12105 if ${PKG_CONFIG+:} false; then :
12106 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12109 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12110 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12111 if ${PKG_CONFIG+:} false; then :
12112 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12115 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12116 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12117 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12119 ac_save_CPPFLAGS=$CPPFLAGS
12120 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12121 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12122 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12124 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12125 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12126 $as_echo_n "(cached) " >&6
12127 else
12128 ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 #endif
12139 char gp_port_info_list_new ();
12141 main ()
12143 return gp_port_info_list_new ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"; then :
12149 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12150 else
12151 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12153 rm -f core conftest.err conftest.$ac_objext \
12154 conftest$ac_exeext conftest.$ac_ext
12155 LIBS=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12158 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12159 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12161 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12163 else
12164 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12167 else
12168 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12172 CPPFLAGS=$ac_save_CPPFLAGS
12173 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12174 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12177 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12178 case "x$with_gphoto" in
12179 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12180 xno) ;;
12181 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12182 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12183 esac
12186 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12187 case "x$with_gphoto" in
12188 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12189 xno) ;;
12190 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12191 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12192 esac
12197 if test "$ac_cv_header_resolv_h" = "yes"
12198 then
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12200 $as_echo_n "checking for resolver library... " >&6; }
12201 if ${ac_cv_have_resolv+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 ac_save_LIBS="$LIBS"
12205 for lib in '' -lresolv
12207 LIBS="$lib $ac_save_LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 #ifdef HAVE_NETINET_IN_H
12211 #include <netinet/in.h>
12212 #endif
12213 #include <resolv.h>
12215 main ()
12217 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_link "$LINENO"; then :
12223 ac_cv_have_resolv=${lib:-"none required"}
12224 else
12225 ac_cv_have_resolv="not found"
12227 rm -f core conftest.err conftest.$ac_objext \
12228 conftest$ac_exeext conftest.$ac_ext
12229 test "x$ac_cv_have_resolv" = "xnot found" || break
12230 done
12231 LIBS="$ac_save_LIBS"
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12234 $as_echo "$ac_cv_have_resolv" >&6; }
12236 case "$ac_cv_have_resolv" in
12237 "not found") ;;
12238 "none required")
12240 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12243 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12245 RESOLV_LIBS=$ac_cv_have_resolv
12247 esac
12250 if test "x$with_cms" != "xno"
12251 then
12252 if ${LCMS2_CFLAGS:+false} :; then :
12253 if ${PKG_CONFIG+:} false; then :
12254 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12258 if ${LCMS2_LIBS:+false} :; then :
12259 if ${PKG_CONFIG+:} false; then :
12260 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12264 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12265 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12266 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12267 ac_save_CPPFLAGS=$CPPFLAGS
12268 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12269 for ac_header in lcms2.h
12270 do :
12271 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12272 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12273 cat >>confdefs.h <<_ACEOF
12274 #define HAVE_LCMS2_H 1
12275 _ACEOF
12279 done
12281 if test "$ac_cv_header_lcms2_h" = "yes"
12282 then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12284 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12285 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 ac_check_lib_save_LIBS=$LIBS
12289 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char cmsOpenProfileFromFile ();
12301 main ()
12303 return cmsOpenProfileFromFile ();
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_link "$LINENO"; then :
12309 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12310 else
12311 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12313 rm -f core conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LIBS=$ac_check_lib_save_LIBS
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12318 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12319 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12321 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12323 else
12324 LCMS2_LIBS=""
12327 else
12328 LCMS2_CFLAGS=""
12329 LCMS2_LIBS=""
12331 CPPFLAGS=$ac_save_CPPFLAGS
12332 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12333 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12336 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12337 case "x$with_cms" in
12338 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12339 xno) ;;
12340 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12341 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12342 esac
12346 if test "x$with_freetype" != "xno"
12347 then
12348 if ${FREETYPE_CFLAGS:+false} :; then :
12349 if ${PKG_CONFIG+:} false; then :
12350 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12353 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12354 if ${FREETYPE_LIBS:+false} :; then :
12355 if ${PKG_CONFIG+:} false; then :
12356 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12359 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12360 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12361 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12362 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12363 ac_save_CPPFLAGS=$CPPFLAGS
12364 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12365 for ac_header in ft2build.h
12366 do :
12367 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12368 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12369 cat >>confdefs.h <<_ACEOF
12370 #define HAVE_FT2BUILD_H 1
12371 _ACEOF
12375 done
12377 if test "$ac_cv_header_ft2build_h" = "yes"
12378 then
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12380 $as_echo_n "checking for -lfreetype... " >&6; }
12381 if ${ac_cv_lib_soname_freetype+:} false; then :
12382 $as_echo_n "(cached) " >&6
12383 else
12384 ac_check_soname_save_LIBS=$LIBS
12385 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12392 #ifdef __cplusplus
12393 extern "C"
12394 #endif
12395 char FT_Init_FreeType ();
12397 main ()
12399 return FT_Init_FreeType ();
12401 return 0;
12403 _ACEOF
12404 if ac_fn_c_try_link "$LINENO"; then :
12405 case "$LIBEXT" in
12406 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12407 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'` ;;
12408 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12409 if ${ac_cv_lib_soname_freetype:+false} :; then :
12410 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12411 fi ;;
12412 esac
12414 rm -f core conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_soname_save_LIBS
12418 if ${ac_cv_lib_soname_freetype:+false} :; then :
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12420 $as_echo "not found" >&6; }
12421 FREETYPE_LIBS=""
12422 else
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12424 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12426 cat >>confdefs.h <<_ACEOF
12427 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12428 _ACEOF
12431 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12433 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12434 #include FT_MODULE_H
12436 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12438 cat >>confdefs.h <<_ACEOF
12439 #define HAVE_FT_TRUETYPEENGINETYPE 1
12440 _ACEOF
12446 else
12447 FREETYPE_CFLAGS=""
12448 FREETYPE_LIBS=""
12450 CPPFLAGS=$ac_save_CPPFLAGS
12451 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12452 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if test "x$ac_cv_lib_soname_freetype" = x; then :
12456 case "x$with_freetype" in
12457 xno) ;;
12458 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12459 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12460 esac
12461 enable_fonts=${enable_fonts:-no}
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12465 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12466 if ${ac_cv_c_ppdev+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12471 #ifdef HAVE_SYS_IOCTL_H
12472 # include <sys/ioctl.h>
12473 #endif
12474 #include <linux/ppdev.h>
12476 main ()
12478 ioctl (1,PPCLAIM,0)
12480 return 0;
12482 _ACEOF
12483 if ac_fn_c_try_compile "$LINENO"; then :
12484 ac_cv_c_ppdev="yes"
12485 else
12486 ac_cv_c_ppdev="no"
12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12491 $as_echo "$ac_cv_c_ppdev" >&6; }
12492 if test "$ac_cv_c_ppdev" = "yes"
12493 then
12495 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12499 ac_wine_check_funcs_save_LIBS="$LIBS"
12500 LIBS="$LIBS $PTHREAD_LIBS"
12501 for ac_func in \
12502 pthread_attr_get_np \
12503 pthread_getattr_np \
12504 pthread_getthreadid_np \
12505 pthread_get_stackaddr_np \
12506 pthread_get_stacksize_np
12507 do :
12508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12510 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12511 cat >>confdefs.h <<_ACEOF
12512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12513 _ACEOF
12516 done
12518 LIBS="$ac_wine_check_funcs_save_LIBS"
12520 if test "$ac_cv_header_zlib_h" = "yes"
12521 then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12523 $as_echo_n "checking for inflate in -lz... " >&6; }
12524 if ${ac_cv_lib_z_inflate+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 ac_check_lib_save_LIBS=$LIBS
12528 LIBS="-lz $LIBS"
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12535 #ifdef __cplusplus
12536 extern "C"
12537 #endif
12538 char inflate ();
12540 main ()
12542 return inflate ();
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 ac_cv_lib_z_inflate=yes
12549 else
12550 ac_cv_lib_z_inflate=no
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12557 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12558 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12560 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12562 Z_LIBS="-lz"
12567 if test "x$Z_LIBS" = "x"; then :
12568 case "x$with_zlib" in
12569 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12570 xno) ;;
12571 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12572 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12573 esac
12577 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12578 then
12579 if test "$ac_cv_header_gettext_po_h" = "yes"
12580 then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12582 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12583 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12584 $as_echo_n "(cached) " >&6
12585 else
12586 ac_check_lib_save_LIBS=$LIBS
12587 LIBS="-lgettextpo $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 #ifdef __cplusplus
12595 extern "C"
12596 #endif
12597 char po_message_msgctxt ();
12599 main ()
12601 return po_message_msgctxt ();
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_link "$LINENO"; then :
12607 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12608 else
12609 ac_cv_lib_gettextpo_po_message_msgctxt=no
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12616 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12617 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12619 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12621 GETTEXTPO_LIBS="-lgettextpo"
12626 if test "x$GETTEXTPO_LIBS" = "x"; then :
12627 case "x$with_gettextpo" in
12628 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12629 xno) ;;
12630 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12631 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12632 esac
12635 if test "$srcdir" != .; then :
12636 case "x$with_gettextpo" in
12637 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12638 xno) ;;
12639 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12640 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12641 esac
12646 if test "x$with_pulse" != "xno";
12647 then
12648 if ${PULSE_CFLAGS:+false} :; then :
12649 if ${PKG_CONFIG+:} false; then :
12650 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12654 if ${PULSE_LIBS:+false} :; then :
12655 if ${PKG_CONFIG+:} false; then :
12656 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12661 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12662 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12663 ac_save_CPPFLAGS=$CPPFLAGS
12664 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12665 for ac_header in pulse/pulseaudio.h
12666 do :
12667 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12668 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12669 cat >>confdefs.h <<_ACEOF
12670 #define HAVE_PULSE_PULSEAUDIO_H 1
12671 _ACEOF
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12673 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12674 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12675 $as_echo_n "(cached) " >&6
12676 else
12677 ac_check_lib_save_LIBS=$LIBS
12678 LIBS="-lpulse $PULSE_LIBS $LIBS"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12685 #ifdef __cplusplus
12686 extern "C"
12687 #endif
12688 char pa_stream_is_corked ();
12690 main ()
12692 return pa_stream_is_corked ();
12694 return 0;
12696 _ACEOF
12697 if ac_fn_c_try_link "$LINENO"; then :
12698 ac_cv_lib_pulse_pa_stream_is_corked=yes
12699 else
12700 ac_cv_lib_pulse_pa_stream_is_corked=no
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12707 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12708 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12710 else
12711 PULSE_LIBS=""
12714 else
12715 PULSE_LIBS=""
12718 done
12720 CPPFLAGS=$ac_save_CPPFLAGS
12721 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12722 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12725 if test -z "$PULSE_LIBS"; then :
12726 case "x$with_pulse" in
12727 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12728 xno) ;;
12729 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12730 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12731 esac
12732 enable_winepulse_drv=${enable_winepulse_drv:-no}
12735 if test "x$with_gstreamer" != "xno"
12736 then
12737 if ${GSTREAMER_CFLAGS:+false} :; then :
12738 if ${PKG_CONFIG+:} false; then :
12739 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12743 if ${GSTREAMER_LIBS:+false} :; then :
12744 if ${PKG_CONFIG+:} false; then :
12745 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12750 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12751 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12752 ac_save_CPPFLAGS=$CPPFLAGS
12753 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12754 ac_gst_incl=""
12755 for i in $GSTREAMER_CFLAGS
12757 case "$i" in
12758 -I*) ac_gst_incl="$ac_gst_incl $i";;
12759 esac
12760 done
12761 GSTREAMER_CFLAGS=$ac_gst_incl
12762 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12763 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12764 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12766 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12769 #include <gst/gst.h>
12771 main ()
12773 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_compile "$LINENO"; then :
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12780 $as_echo "yes" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12782 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12783 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12784 $as_echo_n "(cached) " >&6
12785 else
12786 ac_check_lib_save_LIBS=$LIBS
12787 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12794 #ifdef __cplusplus
12795 extern "C"
12796 #endif
12797 char gst_pad_new ();
12799 main ()
12801 return gst_pad_new ();
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_link "$LINENO"; then :
12807 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12808 else
12809 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12811 rm -f core conftest.err conftest.$ac_objext \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LIBS=$ac_check_lib_save_LIBS
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12816 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12817 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12823 $as_echo "no" >&6; }
12824 ac_glib2_broken=yes
12825 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12831 CPPFLAGS=$ac_save_CPPFLAGS
12832 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12833 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12836 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 :
12837 case "x$with_gstreamer" in
12838 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12839 xno) ;;
12840 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12841 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12842 esac
12845 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12847 ALSA_LIBS=""
12849 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12850 then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12852 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12853 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12854 $as_echo_n "(cached) " >&6
12855 else
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lasound $LIBS"
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12864 #ifdef __cplusplus
12865 extern "C"
12866 #endif
12867 char snd_pcm_hw_params_get_access_mask ();
12869 main ()
12871 return snd_pcm_hw_params_get_access_mask ();
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_link "$LINENO"; then :
12877 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12878 else
12879 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12886 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12887 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12890 #ifdef HAVE_ALSA_ASOUNDLIB_H
12891 #include <alsa/asoundlib.h>
12892 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12893 #include <sys/asoundlib.h>
12894 #endif
12896 main ()
12898 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12900 return 0;
12902 _ACEOF
12903 if ac_fn_c_try_compile "$LINENO"; then :
12904 ALSA_LIBS="-lasound"
12906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12910 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12912 if test "x$with_oss" != xno
12913 then
12914 ac_save_CPPFLAGS="$CPPFLAGS"
12915 if test -f /etc/oss.conf
12916 then
12917 . /etc/oss.conf
12919 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12920 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12921 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12922 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12923 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12925 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12927 cat >>confdefs.h <<_ACEOF
12928 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12929 _ACEOF
12931 OSS4_CFLAGS="$ac_oss_incl"
12938 CPPFLAGS="$ac_save_CPPFLAGS"
12940 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12941 case "x$with_oss" in
12942 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12943 xno) ;;
12944 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12945 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12946 esac
12947 enable_wineoss_drv=${enable_wineoss_drv:-no}
12950 if test "x$with_udev" != "xno"
12951 then
12952 if ${UDEV_CFLAGS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12958 if ${UDEV_LIBS:+false} :; then :
12959 if ${PKG_CONFIG+:} false; then :
12960 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12964 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12967 ac_save_CPPFLAGS=$CPPFLAGS
12968 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12969 for ac_header in libudev.h
12970 do :
12971 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12972 if test "x$ac_cv_header_libudev_h" = xyes; then :
12973 cat >>confdefs.h <<_ACEOF
12974 #define HAVE_LIBUDEV_H 1
12975 _ACEOF
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12977 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12978 if ${ac_cv_lib_udev_udev_new+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-ludev $UDEV_LIBS $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char udev_new ();
12994 main ()
12996 return udev_new ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_udev_udev_new=yes
13003 else
13004 ac_cv_lib_udev_udev_new=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13011 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13012 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13014 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13016 else
13017 UDEV_LIBS=""
13020 else
13021 UDEV_LIBS=""
13024 done
13026 CPPFLAGS=$ac_save_CPPFLAGS
13027 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13028 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13031 if test "x$UDEV_LIBS" = "x"; then :
13032 case "x$with_udev" in
13033 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13034 xno) ;;
13035 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13036 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13037 esac
13041 if test "x$with_capi" != "xno"
13042 then
13043 if ${CAPI20_CFLAGS:+false} :; then :
13044 if ${PKG_CONFIG+:} false; then :
13045 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13049 if ${CAPI20_LIBS:+false} :; then :
13050 if ${PKG_CONFIG+:} false; then :
13051 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13056 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13057 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13058 ac_save_CPPFLAGS=$CPPFLAGS
13059 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13060 for ac_header in capi20.h linux/capi.h
13061 do :
13062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13066 cat >>confdefs.h <<_ACEOF
13067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13068 _ACEOF
13072 done
13074 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13075 then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13077 $as_echo_n "checking for -lcapi20... " >&6; }
13078 if ${ac_cv_lib_soname_capi20+:} false; then :
13079 $as_echo_n "(cached) " >&6
13080 else
13081 ac_check_soname_save_LIBS=$LIBS
13082 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13089 #ifdef __cplusplus
13090 extern "C"
13091 #endif
13092 char capi20_register ();
13094 main ()
13096 return capi20_register ();
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"; then :
13102 case "$LIBEXT" in
13103 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13104 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'` ;;
13105 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13106 if ${ac_cv_lib_soname_capi20:+false} :; then :
13107 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13108 fi ;;
13109 esac
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_soname_save_LIBS
13115 if ${ac_cv_lib_soname_capi20:+false} :; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13117 $as_echo "not found" >&6; }
13119 else
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13121 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13123 cat >>confdefs.h <<_ACEOF
13124 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13125 _ACEOF
13130 CPPFLAGS=$ac_save_CPPFLAGS
13131 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13132 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13135 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13136 case "x$with_capi" in
13137 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13138 xno) ;;
13139 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13140 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13141 esac
13145 CUPS_CFLAGS=""
13147 if test "x$with_cups" != "xno"
13148 then
13149 ac_save_CPPFLAGS="$CPPFLAGS"
13150 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13151 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13152 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13153 for ac_header in cups/cups.h
13154 do :
13155 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13156 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13157 cat >>confdefs.h <<_ACEOF
13158 #define HAVE_CUPS_CUPS_H 1
13159 _ACEOF
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13161 $as_echo_n "checking for -lcups... " >&6; }
13162 if ${ac_cv_lib_soname_cups+:} false; then :
13163 $as_echo_n "(cached) " >&6
13164 else
13165 ac_check_soname_save_LIBS=$LIBS
13166 LIBS="-lcups $ac_cups_libs $LIBS"
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 /* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
13173 #ifdef __cplusplus
13174 extern "C"
13175 #endif
13176 char cupsGetDefault ();
13178 main ()
13180 return cupsGetDefault ();
13182 return 0;
13184 _ACEOF
13185 if ac_fn_c_try_link "$LINENO"; then :
13186 case "$LIBEXT" in
13187 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13188 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'` ;;
13189 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13190 if ${ac_cv_lib_soname_cups:+false} :; then :
13191 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13192 fi ;;
13193 esac
13195 rm -f core conftest.err conftest.$ac_objext \
13196 conftest$ac_exeext conftest.$ac_ext
13197 LIBS=$ac_check_soname_save_LIBS
13199 if ${ac_cv_lib_soname_cups:+false} :; then :
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13201 $as_echo "not found" >&6; }
13203 else
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13205 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13207 cat >>confdefs.h <<_ACEOF
13208 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13209 _ACEOF
13211 CUPS_CFLAGS="$ac_cups_cflags"
13213 for ac_header in cups/ppd.h
13214 do :
13215 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13216 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13217 cat >>confdefs.h <<_ACEOF
13218 #define HAVE_CUPS_PPD_H 1
13219 _ACEOF
13223 done
13227 done
13229 CPPFLAGS="$ac_save_CPPFLAGS"
13231 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13232 case "x$with_cups" in
13233 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13234 xno) ;;
13235 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13236 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13237 esac
13241 if test "x$with_fontconfig" != "xno"
13242 then
13243 if ${FONTCONFIG_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13248 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13249 if ${FONTCONFIG_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13254 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13256 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13260 for ac_header in fontconfig/fontconfig.h
13261 do :
13262 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13263 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13264 cat >>confdefs.h <<_ACEOF
13265 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13266 _ACEOF
13270 done
13272 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13273 then
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13275 $as_echo_n "checking for -lfontconfig... " >&6; }
13276 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13277 $as_echo_n "(cached) " >&6
13278 else
13279 ac_check_soname_save_LIBS=$LIBS
13280 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13287 #ifdef __cplusplus
13288 extern "C"
13289 #endif
13290 char FcInit ();
13292 main ()
13294 return FcInit ();
13296 return 0;
13298 _ACEOF
13299 if ac_fn_c_try_link "$LINENO"; then :
13300 case "$LIBEXT" in
13301 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13302 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'` ;;
13303 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13304 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13305 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13306 fi ;;
13307 esac
13309 rm -f core conftest.err conftest.$ac_objext \
13310 conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_soname_save_LIBS
13313 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13315 $as_echo "not found" >&6; }
13316 FONTCONFIG_CFLAGS=""
13317 else
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13319 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13321 cat >>confdefs.h <<_ACEOF
13322 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13323 _ACEOF
13327 else
13328 FONTCONFIG_CFLAGS=""
13330 CPPFLAGS=$ac_save_CPPFLAGS
13331 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13335 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13336 case "x$with_fontconfig" in
13337 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13338 xno) ;;
13339 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13340 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13341 esac
13345 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13346 then
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13348 $as_echo_n "checking for -lgsm... " >&6; }
13349 if ${ac_cv_lib_soname_gsm+:} false; then :
13350 $as_echo_n "(cached) " >&6
13351 else
13352 ac_check_soname_save_LIBS=$LIBS
13353 LIBS="-lgsm $LIBS"
13354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 /* Override any GCC internal prototype to avoid an error.
13358 Use char because int might match the return type of a GCC
13359 builtin and then its argument prototype would still apply. */
13360 #ifdef __cplusplus
13361 extern "C"
13362 #endif
13363 char gsm_create ();
13365 main ()
13367 return gsm_create ();
13369 return 0;
13371 _ACEOF
13372 if ac_fn_c_try_link "$LINENO"; then :
13373 case "$LIBEXT" in
13374 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13375 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'` ;;
13376 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13377 if ${ac_cv_lib_soname_gsm:+false} :; then :
13378 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13379 fi ;;
13380 esac
13382 rm -f core conftest.err conftest.$ac_objext \
13383 conftest$ac_exeext conftest.$ac_ext
13384 LIBS=$ac_check_soname_save_LIBS
13386 if ${ac_cv_lib_soname_gsm:+false} :; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13388 $as_echo "not found" >&6; }
13390 else
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13392 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13394 cat >>confdefs.h <<_ACEOF
13395 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13396 _ACEOF
13401 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13402 case "x$with_gsm" in
13403 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13404 xno) ;;
13405 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13406 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13407 esac
13411 if test "x$with_jpeg" != "xno"
13412 then
13413 if ${JPEG_CFLAGS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13419 if ${JPEG_LIBS:+false} :; then :
13420 if ${PKG_CONFIG+:} false; then :
13421 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13426 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13427 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13428 ac_save_CPPFLAGS=$CPPFLAGS
13429 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13430 for ac_header in jpeglib.h
13431 do :
13432 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13433 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13434 cat >>confdefs.h <<_ACEOF
13435 #define HAVE_JPEGLIB_H 1
13436 _ACEOF
13440 done
13442 if test "$ac_cv_header_jpeglib_h" = "yes"
13443 then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13445 $as_echo_n "checking for -ljpeg... " >&6; }
13446 if ${ac_cv_lib_soname_jpeg+:} false; then :
13447 $as_echo_n "(cached) " >&6
13448 else
13449 ac_check_soname_save_LIBS=$LIBS
13450 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13457 #ifdef __cplusplus
13458 extern "C"
13459 #endif
13460 char jpeg_start_decompress ();
13462 main ()
13464 return jpeg_start_decompress ();
13466 return 0;
13468 _ACEOF
13469 if ac_fn_c_try_link "$LINENO"; then :
13470 case "$LIBEXT" in
13471 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 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'` ;;
13473 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13474 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13475 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13476 fi ;;
13477 esac
13479 rm -f core conftest.err conftest.$ac_objext \
13480 conftest$ac_exeext conftest.$ac_ext
13481 LIBS=$ac_check_soname_save_LIBS
13483 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13485 $as_echo "not found" >&6; }
13486 JPEG_CFLAGS=""
13487 else
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13489 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13491 cat >>confdefs.h <<_ACEOF
13492 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13493 _ACEOF
13497 else
13498 JPEG_CFLAGS=""
13500 CPPFLAGS=$ac_save_CPPFLAGS
13501 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13502 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13505 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13506 case "x$with_jpeg" in
13507 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13508 xno) ;;
13509 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13510 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13511 esac
13515 if test "x$with_png" != "xno"
13516 then
13517 if ${PNG_CFLAGS:+false} :; then :
13518 if ${PKG_CONFIG+:} false; then :
13519 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13522 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13523 if ${PNG_LIBS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13528 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13530 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13532 ac_save_CPPFLAGS=$CPPFLAGS
13533 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13534 for ac_header in png.h
13535 do :
13536 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13537 if test "x$ac_cv_header_png_h" = xyes; then :
13538 cat >>confdefs.h <<_ACEOF
13539 #define HAVE_PNG_H 1
13540 _ACEOF
13544 done
13546 if test "$ac_cv_header_png_h" = "yes"
13547 then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13549 $as_echo_n "checking for -lpng... " >&6; }
13550 if ${ac_cv_lib_soname_png+:} false; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 ac_check_soname_save_LIBS=$LIBS
13554 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13558 /* Override any GCC internal prototype to avoid an error.
13559 Use char because int might match the return type of a GCC
13560 builtin and then its argument prototype would still apply. */
13561 #ifdef __cplusplus
13562 extern "C"
13563 #endif
13564 char png_create_read_struct ();
13566 main ()
13568 return png_create_read_struct ();
13570 return 0;
13572 _ACEOF
13573 if ac_fn_c_try_link "$LINENO"; then :
13574 case "$LIBEXT" in
13575 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13576 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'` ;;
13577 *) 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'`
13578 if ${ac_cv_lib_soname_png:+false} :; then :
13579 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13580 fi ;;
13581 esac
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
13585 LIBS=$ac_check_soname_save_LIBS
13587 if ${ac_cv_lib_soname_png:+false} :; then :
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13589 $as_echo "not found" >&6; }
13590 PNG_CFLAGS=""
13591 else
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13593 $as_echo "$ac_cv_lib_soname_png" >&6; }
13595 cat >>confdefs.h <<_ACEOF
13596 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13597 _ACEOF
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 #include <png.h>
13603 main ()
13605 typeof(png_set_expand_gray_1_2_4_to_8) *p
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_compile "$LINENO"; then :
13612 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617 else
13618 PNG_CFLAGS=""
13620 CPPFLAGS=$ac_save_CPPFLAGS
13621 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13622 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13625 if test "x$ac_cv_lib_soname_png" = "x"; then :
13626 case "x$with_png" in
13627 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13628 xno) ;;
13629 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13630 This is an error since --with-png was requested." "$LINENO" 5 ;;
13631 esac
13635 if test "x$with_tiff" != "xno"
13636 then
13637 if ${TIFF_CFLAGS:+false} :; then :
13638 if ${PKG_CONFIG+:} false; then :
13639 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13643 if ${TIFF_LIBS:+false} :; then :
13644 if ${PKG_CONFIG+:} false; then :
13645 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13650 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13651 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13652 ac_save_CPPFLAGS=$CPPFLAGS
13653 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13654 for ac_header in tiffio.h
13655 do :
13656 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13657 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13658 cat >>confdefs.h <<_ACEOF
13659 #define HAVE_TIFFIO_H 1
13660 _ACEOF
13664 done
13666 if test "$ac_cv_header_tiffio_h" = "yes"
13667 then
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13669 $as_echo_n "checking for -ltiff... " >&6; }
13670 if ${ac_cv_lib_soname_tiff+:} false; then :
13671 $as_echo_n "(cached) " >&6
13672 else
13673 ac_check_soname_save_LIBS=$LIBS
13674 LIBS="-ltiff $TIFF_LIBS $LIBS"
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13678 /* Override any GCC internal prototype to avoid an error.
13679 Use char because int might match the return type of a GCC
13680 builtin and then its argument prototype would still apply. */
13681 #ifdef __cplusplus
13682 extern "C"
13683 #endif
13684 char TIFFClientOpen ();
13686 main ()
13688 return TIFFClientOpen ();
13690 return 0;
13692 _ACEOF
13693 if ac_fn_c_try_link "$LINENO"; then :
13694 case "$LIBEXT" in
13695 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13696 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'` ;;
13697 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13698 if ${ac_cv_lib_soname_tiff:+false} :; then :
13699 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13700 fi ;;
13701 esac
13703 rm -f core conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 LIBS=$ac_check_soname_save_LIBS
13707 if ${ac_cv_lib_soname_tiff:+false} :; then :
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13709 $as_echo "not found" >&6; }
13711 else
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13713 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13715 cat >>confdefs.h <<_ACEOF
13716 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13717 _ACEOF
13722 CPPFLAGS=$ac_save_CPPFLAGS
13723 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13724 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13727 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13728 case "x$with_tiff" in
13729 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13730 xno) ;;
13731 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13732 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13733 esac
13737 if test "x$with_mpg123" != "xno"
13738 then
13739 if ${MPG123_CFLAGS:+false} :; then :
13740 if ${PKG_CONFIG+:} false; then :
13741 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13745 if ${MPG123_LIBS:+false} :; then :
13746 if ${PKG_CONFIG+:} false; then :
13747 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13751 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13752 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13754 ac_save_CPPFLAGS=$CPPFLAGS
13755 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13756 for ac_header in mpg123.h
13757 do :
13758 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13759 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13760 cat >>confdefs.h <<_ACEOF
13761 #define HAVE_MPG123_H 1
13762 _ACEOF
13766 done
13768 if test "$ac_cv_header_mpg123_h" = "yes"
13769 then
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13771 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13772 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 ac_check_lib_save_LIBS=$LIBS
13776 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13783 #ifdef __cplusplus
13784 extern "C"
13785 #endif
13786 char mpg123_feed ();
13788 main ()
13790 return mpg123_feed ();
13792 return 0;
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 ac_cv_lib_mpg123_mpg123_feed=yes
13797 else
13798 ac_cv_lib_mpg123_mpg123_feed=no
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13802 LIBS=$ac_check_lib_save_LIBS
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13805 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13806 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13808 else
13809 MPG123_LIBS=""
13812 else
13813 MPG123_CFLAGS=""
13814 MPG123_LIBS=""
13816 CPPFLAGS=$ac_save_CPPFLAGS
13817 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13818 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13821 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13822 case "x$with_mpg123" in
13823 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13824 xno) ;;
13825 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13826 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13827 esac
13828 enable_winemp3_acm=${enable_winemp3_acm:-no}
13831 if test "$ac_cv_header_AL_al_h" = "yes"
13832 then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13834 $as_echo_n "checking for -lopenal... " >&6; }
13835 if ${ac_cv_lib_soname_openal+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_soname_save_LIBS=$LIBS
13839 LIBS="-lopenal $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char alGetSource3i ();
13851 main ()
13853 return alGetSource3i ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 case "$LIBEXT" in
13860 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13861 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'` ;;
13862 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13863 if ${ac_cv_lib_soname_openal:+false} :; then :
13864 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13865 fi ;;
13866 esac
13868 rm -f core conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 LIBS=$ac_check_soname_save_LIBS
13872 if ${ac_cv_lib_soname_openal:+false} :; then :
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13874 $as_echo "not found" >&6; }
13876 else
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13878 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13880 cat >>confdefs.h <<_ACEOF
13881 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13882 _ACEOF
13884 OPENAL_LIBS="-lopenal"
13886 ac_cv_lib_openal=yes
13888 cat >>confdefs.h <<_ACEOF
13889 #define HAVE_OPENAL 1
13890 _ACEOF
13894 if test "x$ac_cv_lib_openal" != xyes; then :
13895 case "x$with_openal" in
13896 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13897 xno) ;;
13898 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13899 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13900 esac
13901 enable_openal32=${enable_openal32:-no}
13904 if test "x$ac_cv_lib_openal" = xyes
13905 then
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13907 $as_echo_n "checking for openal-soft... " >&6; }
13908 if ${ac_cv_have_openalsoft+:} false; then :
13909 $as_echo_n "(cached) " >&6
13910 else
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13913 #include <AL/al.h>
13914 #include <AL/alc.h>
13915 #include <AL/alext.h>
13916 LPALCRENDERSAMPLESSOFT x;
13918 main ()
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_compile "$LINENO"; then :
13926 ac_cv_have_openalsoft=yes
13927 else
13928 ac_cv_have_openalsoft=no
13930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13933 $as_echo "$ac_cv_have_openalsoft" >&6; }
13935 if test "x$ac_cv_have_openalsoft" != xyes
13936 then
13937 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13938 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13939 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13940 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13941 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13942 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13943 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13944 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13945 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13946 enable_xapofx1_1=${enable_xapofx1_1:-no}
13947 enable_xapofx1_2=${enable_xapofx1_2:-no}
13948 enable_xapofx1_3=${enable_xapofx1_3:-no}
13949 enable_xapofx1_4=${enable_xapofx1_4:-no}
13950 enable_xapofx1_5=${enable_xapofx1_5:-no}
13951 enable_xaudio2_0=${enable_xaudio2_0:-no}
13952 enable_xaudio2_1=${enable_xaudio2_1:-no}
13953 enable_xaudio2_2=${enable_xaudio2_2:-no}
13954 enable_xaudio2_3=${enable_xaudio2_3:-no}
13955 enable_xaudio2_4=${enable_xaudio2_4:-no}
13956 enable_xaudio2_5=${enable_xaudio2_5:-no}
13957 enable_xaudio2_6=${enable_xaudio2_6:-no}
13958 enable_xaudio2_7=${enable_xaudio2_7:-no}
13959 enable_xaudio2_8=${enable_xaudio2_8:-no}
13960 enable_xaudio2_9=${enable_xaudio2_9:-no}
13963 if test "$ac_cv_header_kstat_h" = "yes"
13964 then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13966 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13967 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 ac_check_lib_save_LIBS=$LIBS
13971 LIBS="-lkstat $LIBS"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 #ifdef __cplusplus
13979 extern "C"
13980 #endif
13981 char kstat_open ();
13983 main ()
13985 return kstat_open ();
13987 return 0;
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 ac_cv_lib_kstat_kstat_open=yes
13992 else
13993 ac_cv_lib_kstat_kstat_open=no
13995 rm -f core conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 LIBS=$ac_check_lib_save_LIBS
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14000 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14001 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14003 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14005 KSTAT_LIBS="-lkstat"
14011 if test "$ac_cv_header_libprocstat_h" = "yes"
14012 then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14014 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14015 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 ac_check_lib_save_LIBS=$LIBS
14019 LIBS="-lprocstat $LIBS"
14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14023 /* Override any GCC internal prototype to avoid an error.
14024 Use char because int might match the return type of a GCC
14025 builtin and then its argument prototype would still apply. */
14026 #ifdef __cplusplus
14027 extern "C"
14028 #endif
14029 char procstat_open_sysctl ();
14031 main ()
14033 return procstat_open_sysctl ();
14035 return 0;
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 ac_cv_lib_procstat_procstat_open_sysctl=yes
14040 else
14041 ac_cv_lib_procstat_procstat_open_sysctl=no
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 LIBS=$ac_check_lib_save_LIBS
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14048 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14049 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14051 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14053 PROCSTAT_LIBS="-lprocstat"
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14060 $as_echo_n "checking for -lodbc... " >&6; }
14061 if ${ac_cv_lib_soname_odbc+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_check_soname_save_LIBS=$LIBS
14065 LIBS="-lodbc $LIBS"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14072 #ifdef __cplusplus
14073 extern "C"
14074 #endif
14075 char SQLConnect ();
14077 main ()
14079 return SQLConnect ();
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 case "$LIBEXT" in
14086 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14087 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'` ;;
14088 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14089 if ${ac_cv_lib_soname_odbc:+false} :; then :
14090 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14091 fi ;;
14092 esac
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 LIBS=$ac_check_soname_save_LIBS
14098 if ${ac_cv_lib_soname_odbc:+false} :; then :
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14100 $as_echo "not found" >&6; }
14101 cat >>confdefs.h <<_ACEOF
14102 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14103 _ACEOF
14105 else
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14107 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14109 cat >>confdefs.h <<_ACEOF
14110 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14111 _ACEOF
14116 if test "x$with_netapi" != "xno"
14117 then
14118 if ${NETAPI_CFLAGS:+false} :; then :
14119 if ${PKG_CONFIG+:} false; then :
14120 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14124 if ${NETAPI_LIBS:+false} :; then :
14125 if ${PKG_CONFIG+:} false; then :
14126 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14131 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14132 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14133 ac_save_CPPFLAGS=$CPPFLAGS
14134 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14136 $as_echo_n "checking for -lnetapi... " >&6; }
14137 if ${ac_cv_lib_soname_netapi+:} false; then :
14138 $as_echo_n "(cached) " >&6
14139 else
14140 ac_check_soname_save_LIBS=$LIBS
14141 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14148 #ifdef __cplusplus
14149 extern "C"
14150 #endif
14151 char libnetapi_init ();
14153 main ()
14155 return libnetapi_init ();
14157 return 0;
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"; then :
14161 case "$LIBEXT" in
14162 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14163 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'` ;;
14164 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14165 if ${ac_cv_lib_soname_netapi:+false} :; then :
14166 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14167 fi ;;
14168 esac
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 LIBS=$ac_check_soname_save_LIBS
14174 if ${ac_cv_lib_soname_netapi:+false} :; then :
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14176 $as_echo "not found" >&6; }
14177 cat >>confdefs.h <<_ACEOF
14178 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14179 _ACEOF
14181 else
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14183 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14185 cat >>confdefs.h <<_ACEOF
14186 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14187 _ACEOF
14191 CPPFLAGS=$ac_save_CPPFLAGS
14192 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14193 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14197 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14198 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14199 then
14200 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14204 EXTRACFLAGS=""
14206 if test "x${GCC}" = "xyes"
14207 then
14208 EXTRACFLAGS="-Wall -pipe"
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14211 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14212 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 if test "$cross_compiling" = yes; then :
14216 ac_cv_c_gcc_strength_bug="no"
14217 else
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14220 int L[4] = {0,1,2,3};
14222 main ()
14224 static int Array[3];
14225 unsigned int B = 3;
14226 int i;
14227 for(i=0; i<B; i++) Array[i] = i - 3;
14228 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14229 L[i] = 4;
14230 return (Array[1] != -2 || L[2] != 3)
14232 return 0;
14234 _ACEOF
14235 if ac_fn_c_try_run "$LINENO"; then :
14236 ac_cv_c_gcc_strength_bug="no"
14237 else
14238 ac_cv_c_gcc_strength_bug="yes"
14240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14241 conftest.$ac_objext conftest.beam conftest.$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14246 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14247 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14248 then
14249 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14253 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14254 if ${ac_cv_cflags__fno_builtin+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_wine_try_cflags_saved=$CFLAGS
14258 CFLAGS="$CFLAGS -fno-builtin"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 int main(int argc, char **argv) { return 0; }
14262 _ACEOF
14263 if ac_fn_c_try_link "$LINENO"; then :
14264 ac_cv_cflags__fno_builtin=yes
14265 else
14266 ac_cv_cflags__fno_builtin=no
14268 rm -f core conftest.err conftest.$ac_objext \
14269 conftest$ac_exeext conftest.$ac_ext
14270 CFLAGS=$ac_wine_try_cflags_saved
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14273 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14274 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14275 BUILTINFLAG="-fno-builtin"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14279 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14280 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_wine_try_cflags_saved=$CFLAGS
14284 CFLAGS="$CFLAGS -fno-strict-aliasing"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_cflags__fno_strict_aliasing=yes
14291 else
14292 ac_cv_cflags__fno_strict_aliasing=no
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 CFLAGS=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14299 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14300 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14301 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14304 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14305 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -fexcess-precision=standard"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int main(int argc, char **argv) { return 0; }
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"; then :
14315 ac_cv_cflags__fexcess_precision_standard=yes
14316 else
14317 ac_cv_cflags__fexcess_precision_standard=no
14319 rm -f core conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 CFLAGS=$ac_wine_try_cflags_saved
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14324 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14325 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14326 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14329 saved_CFLAGS=$CFLAGS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14331 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14332 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14333 $as_echo_n "(cached) " >&6
14334 else
14335 ac_wine_try_cflags_saved=$CFLAGS
14336 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 int main(int argc, char **argv) { return 0; }
14340 _ACEOF
14341 if ac_fn_c_try_link "$LINENO"; then :
14342 ac_cv_cflags__Werror_unknown_warning_option=yes
14343 else
14344 ac_cv_cflags__Werror_unknown_warning_option=no
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 CFLAGS=$ac_wine_try_cflags_saved
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14351 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14352 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14353 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14356 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14357 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 ac_wine_try_cflags_saved=$CFLAGS
14361 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 int main(int argc, char **argv) { return 0; }
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_cflags__Wdeclaration_after_statement=yes
14368 else
14369 ac_cv_cflags__Wdeclaration_after_statement=no
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 CFLAGS=$ac_wine_try_cflags_saved
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14376 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14377 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14378 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14381 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14382 if ${ac_cv_cflags__Wempty_body+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 ac_wine_try_cflags_saved=$CFLAGS
14386 CFLAGS="$CFLAGS -Wempty-body"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_cflags__Wempty_body=yes
14393 else
14394 ac_cv_cflags__Wempty_body=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 CFLAGS=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14401 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14402 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14403 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14406 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14407 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 ac_wine_try_cflags_saved=$CFLAGS
14411 CFLAGS="$CFLAGS -Wignored-qualifiers"
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 int main(int argc, char **argv) { return 0; }
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_cflags__Wignored_qualifiers=yes
14418 else
14419 ac_cv_cflags__Wignored_qualifiers=no
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 CFLAGS=$ac_wine_try_cflags_saved
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14426 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14427 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14428 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14431 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14432 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 ac_wine_try_cflags_saved=$CFLAGS
14436 CFLAGS="$CFLAGS -Wshift-overflow=2"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 int main(int argc, char **argv) { return 0; }
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_cflags__Wshift_overflow_2=yes
14443 else
14444 ac_cv_cflags__Wshift_overflow_2=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 CFLAGS=$ac_wine_try_cflags_saved
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14451 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14452 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14453 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14456 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14457 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 ac_wine_try_cflags_saved=$CFLAGS
14461 CFLAGS="$CFLAGS -Wstrict-prototypes"
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 int main(int argc, char **argv) { return 0; }
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_cflags__Wstrict_prototypes=yes
14468 else
14469 ac_cv_cflags__Wstrict_prototypes=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 CFLAGS=$ac_wine_try_cflags_saved
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14476 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14477 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14478 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14481 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14482 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 ac_wine_try_cflags_saved=$CFLAGS
14486 CFLAGS="$CFLAGS -Wtype-limits"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int main(int argc, char **argv) { return 0; }
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_cflags__Wtype_limits=yes
14493 else
14494 ac_cv_cflags__Wtype_limits=no
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 CFLAGS=$ac_wine_try_cflags_saved
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14501 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14502 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14503 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14506 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14507 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 ac_wine_try_cflags_saved=$CFLAGS
14511 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 int main(int argc, char **argv) { return 0; }
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_cflags__Wunused_but_set_parameter=yes
14518 else
14519 ac_cv_cflags__Wunused_but_set_parameter=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 CFLAGS=$ac_wine_try_cflags_saved
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14526 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14527 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14528 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14531 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14532 if ${ac_cv_cflags__Wvla+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_wine_try_cflags_saved=$CFLAGS
14536 CFLAGS="$CFLAGS -Wvla"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_cflags__Wvla=yes
14543 else
14544 ac_cv_cflags__Wvla=no
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 CFLAGS=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14551 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14552 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14553 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14556 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14557 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14558 $as_echo_n "(cached) " >&6
14559 else
14560 ac_wine_try_cflags_saved=$CFLAGS
14561 CFLAGS="$CFLAGS -Wwrite-strings"
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14564 int main(int argc, char **argv) { return 0; }
14565 _ACEOF
14566 if ac_fn_c_try_link "$LINENO"; then :
14567 ac_cv_cflags__Wwrite_strings=yes
14568 else
14569 ac_cv_cflags__Wwrite_strings=no
14571 rm -f core conftest.err conftest.$ac_objext \
14572 conftest$ac_exeext conftest.$ac_ext
14573 CFLAGS=$ac_wine_try_cflags_saved
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14576 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14577 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14578 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14582 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14583 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -Wpointer-arith"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__Wpointer_arith=yes
14594 else
14595 ac_cv_cflags__Wpointer_arith=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14602 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14603 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14604 saved_string_h_CFLAGS=$CFLAGS
14605 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14607 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14608 if ${ac_cv_c_string_h_warnings+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14613 #include <string.h>
14615 main ()
14619 return 0;
14621 _ACEOF
14622 if ac_fn_c_try_compile "$LINENO"; then :
14623 ac_cv_c_string_h_warnings=no
14624 else
14625 ac_cv_c_string_h_warnings=yes
14627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14630 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14631 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14632 CFLAGS=$saved_string_h_CFLAGS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14636 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14637 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_wine_try_cflags_saved=$CFLAGS
14641 CFLAGS="$CFLAGS -Wlogical-op"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 int main(int argc, char **argv) { return 0; }
14645 _ACEOF
14646 if ac_fn_c_try_link "$LINENO"; then :
14647 ac_cv_cflags__Wlogical_op=yes
14648 else
14649 ac_cv_cflags__Wlogical_op=no
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 CFLAGS=$ac_wine_try_cflags_saved
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14656 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14657 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14658 saved_string_h_CFLAGS=$CFLAGS
14659 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14661 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14662 if ${ac_cv_c_logicalop_noisy+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 #include <string.h>
14668 char*f(const char *h,char n) {return strchr(h,n);}
14670 main ()
14674 return 0;
14676 _ACEOF
14677 if ac_fn_c_try_compile "$LINENO"; then :
14678 ac_cv_c_logicalop_noisy=no
14679 else
14680 ac_cv_c_logicalop_noisy=yes
14682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14685 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14686 CFLAGS=$saved_string_h_CFLAGS
14687 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14690 CFLAGS=$saved_CFLAGS
14692 for ac_flag in $CFLAGS; do
14693 case $ac_flag in
14694 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14695 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14696 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -gdwarf-2"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__gdwarf_2=yes
14707 else
14708 ac_cv_cflags__gdwarf_2=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14715 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14716 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14717 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14720 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14721 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 ac_wine_try_cflags_saved=$CFLAGS
14725 CFLAGS="$CFLAGS -gstrict-dwarf"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 int main(int argc, char **argv) { return 0; }
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 ac_cv_cflags__gstrict_dwarf=yes
14732 else
14733 ac_cv_cflags__gstrict_dwarf=no
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 CFLAGS=$ac_wine_try_cflags_saved
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14740 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14741 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14742 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14743 fi ;;
14744 esac
14745 done
14747 case $host_cpu in
14748 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14749 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14750 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_wine_try_cflags_saved=$CFLAGS
14754 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14757 int main(int argc, char **argv) { return 0; }
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"; then :
14760 ac_cv_cflags__fno_omit_frame_pointer=yes
14761 else
14762 ac_cv_cflags__fno_omit_frame_pointer=no
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext conftest.$ac_ext
14766 CFLAGS=$ac_wine_try_cflags_saved
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14769 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14770 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14771 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14772 fi ;;
14773 esac
14775 case $host in
14776 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14777 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14778 if ${ac_cv_cflags__Wno_format+:} false; then :
14779 $as_echo_n "(cached) " >&6
14780 else
14781 ac_wine_try_cflags_saved=$CFLAGS
14782 CFLAGS="$CFLAGS -Wno-format"
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int main(int argc, char **argv) { return 0; }
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_cflags__Wno_format=yes
14789 else
14790 ac_cv_cflags__Wno_format=no
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 CFLAGS=$ac_wine_try_cflags_saved
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14797 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14798 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14799 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14800 fi ;;
14801 esac
14803 if test "x$enable_maintainer_mode" = "xyes"
14804 then
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14806 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14807 if ${ac_cv_cflags__Werror+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_wine_try_cflags_saved=$CFLAGS
14811 CFLAGS="$CFLAGS -Werror"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int main(int argc, char **argv) { return 0; }
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_cflags__Werror=yes
14818 else
14819 ac_cv_cflags__Werror=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 CFLAGS=$ac_wine_try_cflags_saved
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14826 $as_echo "$ac_cv_cflags__Werror" >&6; }
14827 if test "x$ac_cv_cflags__Werror" = xyes; then :
14828 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14832 saved_CFLAGS="$CFLAGS"
14833 CFLAGS="$CFLAGS -Werror"
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14835 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14836 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14841 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14843 main ()
14847 return 0;
14849 _ACEOF
14850 if ac_fn_c_try_compile "$LINENO"; then :
14851 ac_cv_have_ms_hook_prologue="yes"
14852 else
14853 ac_cv_have_ms_hook_prologue="no"
14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14858 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14859 CFLAGS="$saved_CFLAGS"
14860 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14861 then
14863 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14865 else
14866 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14873 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14874 if ${ac_cv_c_fortify_enabled+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 #include <string.h>
14881 main ()
14883 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14884 #error Fortify enabled
14885 #endif
14887 return 0;
14889 _ACEOF
14890 if ac_fn_c_try_compile "$LINENO"; then :
14891 ac_cv_c_fortify_enabled=no
14892 else
14893 ac_cv_c_fortify_enabled=yes
14895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14898 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14899 if test "$ac_cv_c_fortify_enabled" = yes
14900 then
14901 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14906 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14907 if ${ac_cv_c_extern_prefix+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14912 extern int ac_test;
14914 main ()
14916 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"; then :
14922 ac_cv_c_extern_prefix="yes"
14923 else
14924 ac_cv_c_extern_prefix="no"
14926 rm -f core conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14930 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14932 case $host_cpu in
14933 *i[3456789]86*)
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14935 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14936 if ${ac_cv_c_stdcall_suffix+:} false; then :
14937 $as_echo_n "(cached) " >&6
14938 else
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14941 #ifndef _MSC_VER
14942 #define __stdcall __attribute__((__stdcall__))
14943 #endif
14944 int __stdcall ac_test(int i) { return i; }
14946 main ()
14948 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14950 return 0;
14952 _ACEOF
14953 if ac_fn_c_try_link "$LINENO"; then :
14954 ac_cv_c_stdcall_suffix="yes"
14955 else
14956 ac_cv_c_stdcall_suffix="no"
14958 rm -f core conftest.err conftest.$ac_objext \
14959 conftest$ac_exeext conftest.$ac_ext
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14962 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14963 *) ac_cv_c_stdcall_suffix="no" ;;
14964 esac
14967 if test "$ac_cv_c_extern_prefix" = "yes"
14968 then
14969 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14971 asm_name_prefix="_"
14972 else
14973 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14975 asm_name_prefix=""
14979 if test "$ac_cv_c_stdcall_suffix" = "yes"
14980 then
14981 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14983 else
14984 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14990 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14991 if ${ac_cv_asm_func_def+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14998 main ()
15000 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 ac_cv_asm_func_def=".def"
15007 else
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15012 main ()
15014 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 ac_cv_asm_func_def=".type @function"
15021 else
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15026 main ()
15028 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15030 return 0;
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_asm_func_def=".type 2"
15035 else
15036 ac_cv_asm_func_def="unknown"
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15041 rm -f core conftest.err conftest.$ac_objext \
15042 conftest$ac_exeext conftest.$ac_ext
15044 rm -f core conftest.err conftest.$ac_objext \
15045 conftest$ac_exeext conftest.$ac_ext
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15048 $as_echo "$ac_cv_asm_func_def" >&6; }
15051 case "$ac_cv_asm_func_def" in
15052 ".def")
15053 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15055 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15056 ".type @function")
15057 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15059 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15060 ".type 2")
15061 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15063 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15065 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15067 asm_func_header="" ;;
15068 esac
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15071 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15072 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077 asm(".text\n\t.long 0");
15079 main ()
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_compile "$LINENO"; then :
15087 ac_cv_c_asm_outside_funcs="yes"
15088 else
15089 ac_cv_c_asm_outside_funcs="no"
15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15094 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15097 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15098 if ${ac_cv_c_dot_previous+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15105 main ()
15107 asm(".text\nac_test:\t.long 0\n\t.previous");
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_link "$LINENO"; then :
15113 ac_cv_c_dot_previous="yes"
15114 else
15115 ac_cv_c_dot_previous="no"
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext conftest.$ac_ext
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15121 $as_echo "$ac_cv_c_dot_previous" >&6; }
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15124 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15125 if ${ac_cv_c_cfi_support+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15132 main ()
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"; then :
15140 ac_cv_c_cfi_support="yes"
15141 else
15142 ac_cv_c_cfi_support="no"
15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15147 $as_echo "$ac_cv_c_cfi_support" >&6; }
15149 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15150 asm_func_trailer=""
15151 if test "$ac_cv_c_dot_previous" = "yes"
15152 then
15153 asm_func_trailer="\\n\\t.previous"
15155 if test "$ac_cv_c_cfi_support" = "yes"
15156 then
15157 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15158 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15160 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15162 UNWINDFLAGS=-fasynchronous-unwind-tables
15164 else
15165 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15167 if test "x$enable_win64" = "xyes"
15168 then
15169 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15173 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15176 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15177 then
15178 cat >>confdefs.h <<_ACEOF
15179 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15180 _ACEOF
15182 else
15183 cat >>confdefs.h <<_ACEOF
15184 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15185 _ACEOF
15189 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15192 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15196 case $build_os in
15197 cygwin*|mingw32*) TOOLSEXT=".exe"
15199 esac
15201 case $host_os in
15202 linux-android*) ;;
15203 linux*)
15204 case $host_cpu in
15205 *i[3456789]86*|x86_64*)
15206 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15207 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15209 esac
15211 esac
15214 ac_save_CFLAGS="$CFLAGS"
15215 CFLAGS="$CFLAGS $BUILTINFLAG"
15216 for ac_func in \
15217 __res_get_state \
15218 __res_getservers \
15219 _finite \
15220 _isnan \
15221 _pclose \
15222 _popen \
15223 _snprintf \
15224 _spawnvp \
15225 _strdup \
15226 _stricmp \
15227 _strnicmp \
15228 _strtoi64 \
15229 _strtoui64 \
15230 _vsnprintf \
15231 asctime_r \
15232 chsize \
15233 dlopen \
15234 epoll_create \
15235 ffs \
15236 finitef \
15237 fnmatch \
15238 fork \
15239 fpclass \
15240 fstatfs \
15241 fstatvfs \
15242 ftruncate \
15243 futimens \
15244 futimes \
15245 futimesat \
15246 getattrlist \
15247 getopt_long_only \
15248 getpwuid \
15249 gettimeofday \
15250 getuid \
15251 if_nameindex \
15252 isnanf \
15253 kqueue \
15254 lstat \
15255 memmove \
15256 mmap \
15257 pclose \
15258 pipe2 \
15259 poll \
15260 popen \
15261 port_create \
15262 prctl \
15263 pread \
15264 proc_pidinfo \
15265 pwrite \
15266 readdir \
15267 readlink \
15268 sched_yield \
15269 select \
15270 setproctitle \
15271 setprogname \
15272 setrlimit \
15273 settimeofday \
15274 sigaltstack \
15275 sigprocmask \
15276 snprintf \
15277 statfs \
15278 statvfs \
15279 strcasecmp \
15280 strdup \
15281 strerror \
15282 strncasecmp \
15283 strtold \
15284 strtoll \
15285 strtoull \
15286 symlink \
15287 sysinfo \
15288 tcdrain \
15289 thr_kill2 \
15290 timegm \
15291 usleep \
15292 vsnprintf
15294 do :
15295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15297 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15300 _ACEOF
15303 done
15305 CFLAGS="$ac_save_CFLAGS"
15307 if test "$ac_cv_func_dlopen" = no
15308 then
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15310 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15311 if ${ac_cv_lib_dl_dlopen+:} false; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15314 ac_check_lib_save_LIBS=$LIBS
15315 LIBS="-ldl $LIBS"
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15319 /* Override any GCC internal prototype to avoid an error.
15320 Use char because int might match the return type of a GCC
15321 builtin and then its argument prototype would still apply. */
15322 #ifdef __cplusplus
15323 extern "C"
15324 #endif
15325 char dlopen ();
15327 main ()
15329 return dlopen ();
15331 return 0;
15333 _ACEOF
15334 if ac_fn_c_try_link "$LINENO"; then :
15335 ac_cv_lib_dl_dlopen=yes
15336 else
15337 ac_cv_lib_dl_dlopen=no
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_lib_save_LIBS
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15344 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15345 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15346 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15347 DL_LIBS="-ldl"
15352 ac_wine_check_funcs_save_LIBS="$LIBS"
15353 LIBS="$LIBS $DL_LIBS"
15354 for ac_func in dladdr
15355 do :
15356 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15357 if test "x$ac_cv_func_dladdr" = xyes; then :
15358 cat >>confdefs.h <<_ACEOF
15359 #define HAVE_DLADDR 1
15360 _ACEOF
15363 done
15365 LIBS="$ac_wine_check_funcs_save_LIBS"
15367 if test "$ac_cv_func_poll" = no
15368 then
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15370 $as_echo_n "checking for poll in -lpoll... " >&6; }
15371 if ${ac_cv_lib_poll_poll+:} false; then :
15372 $as_echo_n "(cached) " >&6
15373 else
15374 ac_check_lib_save_LIBS=$LIBS
15375 LIBS="-lpoll $LIBS"
15376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15382 #ifdef __cplusplus
15383 extern "C"
15384 #endif
15385 char poll ();
15387 main ()
15389 return poll ();
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_link "$LINENO"; then :
15395 ac_cv_lib_poll_poll=yes
15396 else
15397 ac_cv_lib_poll_poll=no
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_lib_save_LIBS
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15404 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15405 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15406 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15407 POLL_LIBS="-lpoll"
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15414 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15415 if ${ac_cv_search_gethostbyname+:} false; then :
15416 $as_echo_n "(cached) " >&6
15417 else
15418 ac_func_search_save_LIBS=$LIBS
15419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15425 #ifdef __cplusplus
15426 extern "C"
15427 #endif
15428 char gethostbyname ();
15430 main ()
15432 return gethostbyname ();
15434 return 0;
15436 _ACEOF
15437 for ac_lib in '' nsl; do
15438 if test -z "$ac_lib"; then
15439 ac_res="none required"
15440 else
15441 ac_res=-l$ac_lib
15442 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 ac_cv_search_gethostbyname=$ac_res
15447 rm -f core conftest.err conftest.$ac_objext \
15448 conftest$ac_exeext
15449 if ${ac_cv_search_gethostbyname+:} false; then :
15450 break
15452 done
15453 if ${ac_cv_search_gethostbyname+:} false; then :
15455 else
15456 ac_cv_search_gethostbyname=no
15458 rm conftest.$ac_ext
15459 LIBS=$ac_func_search_save_LIBS
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15462 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15463 ac_res=$ac_cv_search_gethostbyname
15464 if test "$ac_res" != no; then :
15465 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15471 $as_echo_n "checking for library containing connect... " >&6; }
15472 if ${ac_cv_search_connect+:} false; then :
15473 $as_echo_n "(cached) " >&6
15474 else
15475 ac_func_search_save_LIBS=$LIBS
15476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15479 /* Override any GCC internal prototype to avoid an error.
15480 Use char because int might match the return type of a GCC
15481 builtin and then its argument prototype would still apply. */
15482 #ifdef __cplusplus
15483 extern "C"
15484 #endif
15485 char connect ();
15487 main ()
15489 return connect ();
15491 return 0;
15493 _ACEOF
15494 for ac_lib in '' socket; do
15495 if test -z "$ac_lib"; then
15496 ac_res="none required"
15497 else
15498 ac_res=-l$ac_lib
15499 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 ac_cv_search_connect=$ac_res
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext
15506 if ${ac_cv_search_connect+:} false; then :
15507 break
15509 done
15510 if ${ac_cv_search_connect+:} false; then :
15512 else
15513 ac_cv_search_connect=no
15515 rm conftest.$ac_ext
15516 LIBS=$ac_func_search_save_LIBS
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15519 $as_echo "$ac_cv_search_connect" >&6; }
15520 ac_res=$ac_cv_search_connect
15521 if test "$ac_res" != no; then :
15522 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15528 $as_echo_n "checking for library containing inet_aton... " >&6; }
15529 if ${ac_cv_search_inet_aton+:} false; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 ac_func_search_save_LIBS=$LIBS
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 /* Override any GCC internal prototype to avoid an error.
15537 Use char because int might match the return type of a GCC
15538 builtin and then its argument prototype would still apply. */
15539 #ifdef __cplusplus
15540 extern "C"
15541 #endif
15542 char inet_aton ();
15544 main ()
15546 return inet_aton ();
15548 return 0;
15550 _ACEOF
15551 for ac_lib in '' resolv; do
15552 if test -z "$ac_lib"; then
15553 ac_res="none required"
15554 else
15555 ac_res=-l$ac_lib
15556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15558 if ac_fn_c_try_link "$LINENO"; then :
15559 ac_cv_search_inet_aton=$ac_res
15561 rm -f core conftest.err conftest.$ac_objext \
15562 conftest$ac_exeext
15563 if ${ac_cv_search_inet_aton+:} false; then :
15564 break
15566 done
15567 if ${ac_cv_search_inet_aton+:} false; then :
15569 else
15570 ac_cv_search_inet_aton=no
15572 rm conftest.$ac_ext
15573 LIBS=$ac_func_search_save_LIBS
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15576 $as_echo "$ac_cv_search_inet_aton" >&6; }
15577 ac_res=$ac_cv_search_inet_aton
15578 if test "$ac_res" != no; then :
15579 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15584 for ac_func in \
15585 getaddrinfo \
15586 getnameinfo \
15587 getnetbyname \
15588 getprotobyname \
15589 getprotobynumber \
15590 getservbyport \
15591 inet_addr \
15592 inet_network \
15593 inet_ntop \
15594 inet_pton \
15595 sendmsg \
15596 socketpair \
15598 do :
15599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15601 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15602 cat >>confdefs.h <<_ACEOF
15603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15604 _ACEOF
15607 done
15610 ac_save_LIBS=$LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15612 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15613 if ${ac_cv_search_clock_gettime+:} false; then :
15614 $as_echo_n "(cached) " >&6
15615 else
15616 ac_func_search_save_LIBS=$LIBS
15617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618 /* end confdefs.h. */
15620 /* Override any GCC internal prototype to avoid an error.
15621 Use char because int might match the return type of a GCC
15622 builtin and then its argument prototype would still apply. */
15623 #ifdef __cplusplus
15624 extern "C"
15625 #endif
15626 char clock_gettime ();
15628 main ()
15630 return clock_gettime ();
15632 return 0;
15634 _ACEOF
15635 for ac_lib in '' rt; do
15636 if test -z "$ac_lib"; then
15637 ac_res="none required"
15638 else
15639 ac_res=-l$ac_lib
15640 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15642 if ac_fn_c_try_link "$LINENO"; then :
15643 ac_cv_search_clock_gettime=$ac_res
15645 rm -f core conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext
15647 if ${ac_cv_search_clock_gettime+:} false; then :
15648 break
15650 done
15651 if ${ac_cv_search_clock_gettime+:} false; then :
15653 else
15654 ac_cv_search_clock_gettime=no
15656 rm conftest.$ac_ext
15657 LIBS=$ac_func_search_save_LIBS
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15660 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15661 ac_res=$ac_cv_search_clock_gettime
15662 if test "$ac_res" != no; then :
15663 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15665 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15667 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15671 LIBS=$ac_save_LIBS
15673 LDAP_LIBS=""
15675 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15676 then
15677 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15679 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15681 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15682 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15683 $as_echo_n "(cached) " >&6
15684 else
15685 ac_check_lib_save_LIBS=$LIBS
15686 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15693 #ifdef __cplusplus
15694 extern "C"
15695 #endif
15696 char ldap_initialize ();
15698 main ()
15700 return ldap_initialize ();
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_link "$LINENO"; then :
15706 ac_cv_lib_ldap_r_ldap_initialize=yes
15707 else
15708 ac_cv_lib_ldap_r_ldap_initialize=no
15710 rm -f core conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_lib_save_LIBS
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15715 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15716 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15718 $as_echo_n "checking for ber_init in -llber... " >&6; }
15719 if ${ac_cv_lib_lber_ber_init+:} false; then :
15720 $as_echo_n "(cached) " >&6
15721 else
15722 ac_check_lib_save_LIBS=$LIBS
15723 LIBS="-llber $PTHREAD_LIBS $LIBS"
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15727 /* Override any GCC internal prototype to avoid an error.
15728 Use char because int might match the return type of a GCC
15729 builtin and then its argument prototype would still apply. */
15730 #ifdef __cplusplus
15731 extern "C"
15732 #endif
15733 char ber_init ();
15735 main ()
15737 return ber_init ();
15739 return 0;
15741 _ACEOF
15742 if ac_fn_c_try_link "$LINENO"; then :
15743 ac_cv_lib_lber_ber_init=yes
15744 else
15745 ac_cv_lib_lber_ber_init=no
15747 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_lib_save_LIBS
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15752 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15753 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15755 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15757 LDAP_LIBS="-lldap_r -llber"
15764 ac_wine_check_funcs_save_LIBS="$LIBS"
15765 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15766 for ac_func in \
15767 ldap_count_references \
15768 ldap_first_reference \
15769 ldap_next_reference \
15770 ldap_parse_reference \
15771 ldap_parse_sort_control \
15772 ldap_parse_sortresponse_control \
15773 ldap_parse_vlv_control \
15774 ldap_parse_vlvresponse_control
15775 do :
15776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15778 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15781 _ACEOF
15784 done
15786 LIBS="$ac_wine_check_funcs_save_LIBS"
15788 if test "x$LDAP_LIBS" = "x"; then :
15789 case "x$with_ldap" in
15790 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15791 xno) ;;
15792 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15793 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15794 esac
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15799 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15800 if ${wine_cv_one_arg_mkdir+:} false; then :
15801 $as_echo_n "(cached) " >&6
15802 else
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #include <sys/stat.h>
15807 main ()
15809 mkdir("foo");
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_compile "$LINENO"; then :
15815 wine_cv_one_arg_mkdir=yes
15816 else
15817 wine_cv_one_arg_mkdir=no
15819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15822 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15823 if test "$wine_cv_one_arg_mkdir" = "yes"
15824 then
15826 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15831 $as_echo_n "checking for sched_setaffinity... " >&6; }
15832 if ${wine_cv_have_sched_setaffinity+:} false; then :
15833 $as_echo_n "(cached) " >&6
15834 else
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15837 #define _GNU_SOURCE
15838 #include <sched.h>
15840 main ()
15842 sched_setaffinity(0, 0, 0);
15844 return 0;
15846 _ACEOF
15847 if ac_fn_c_try_link "$LINENO"; then :
15848 wine_cv_have_sched_setaffinity=yes
15849 else
15850 wine_cv_have_sched_setaffinity=no
15852 rm -f core conftest.err conftest.$ac_objext \
15853 conftest$ac_exeext conftest.$ac_ext
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15856 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15857 if test "$wine_cv_have_sched_setaffinity" = "yes"
15858 then
15860 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15865 $as_echo_n "checking for fallocate... " >&6; }
15866 if ${wine_cv_have_fallocate+:} false; then :
15867 $as_echo_n "(cached) " >&6
15868 else
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE
15872 #include <fcntl.h>
15874 main ()
15876 fallocate(-1, 0, 0, 0);
15878 return 0;
15880 _ACEOF
15881 if ac_fn_c_try_link "$LINENO"; then :
15882 wine_cv_have_fallocate=yes
15883 else
15884 wine_cv_have_fallocate=no
15886 rm -f core conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15890 $as_echo "$wine_cv_have_fallocate" >&6; }
15891 if test "$wine_cv_have_fallocate" = "yes"
15892 then
15894 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15900 $as_echo_n "checking for inline... " >&6; }
15901 if ${ac_cv_c_inline+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 ac_cv_c_inline=no
15905 for ac_kw in inline __inline__ __inline; do
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 #ifndef __cplusplus
15909 typedef int foo_t;
15910 static $ac_kw foo_t static_foo () {return 0; }
15911 $ac_kw foo_t foo () {return 0; }
15912 #endif
15914 _ACEOF
15915 if ac_fn_c_try_compile "$LINENO"; then :
15916 ac_cv_c_inline=$ac_kw
15918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 test "$ac_cv_c_inline" != no && break
15920 done
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15924 $as_echo "$ac_cv_c_inline" >&6; }
15926 case $ac_cv_c_inline in
15927 inline | yes) ;;
15929 case $ac_cv_c_inline in
15930 no) ac_val=;;
15931 *) ac_val=$ac_cv_c_inline;;
15932 esac
15933 cat >>confdefs.h <<_ACEOF
15934 #ifndef __cplusplus
15935 #define inline $ac_val
15936 #endif
15937 _ACEOF
15939 esac
15941 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15942 if test "x$ac_cv_type_mode_t" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_MODE_T 1
15946 _ACEOF
15950 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15951 if test "x$ac_cv_type_off_t" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_OFF_T 1
15955 _ACEOF
15959 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15960 if test "x$ac_cv_type_pid_t" = xyes; then :
15962 cat >>confdefs.h <<_ACEOF
15963 #define HAVE_PID_T 1
15964 _ACEOF
15968 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15969 if test "x$ac_cv_type_size_t" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_SIZE_T 1
15973 _ACEOF
15977 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15978 if test "x$ac_cv_type_ssize_t" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_SSIZE_T 1
15982 _ACEOF
15986 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15987 if test "x$ac_cv_type_long_long" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_LONG_LONG 1
15991 _ACEOF
15995 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15996 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_FSBLKCNT_T 1
16000 _ACEOF
16004 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16005 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_FSFILCNT_T 1
16009 _ACEOF
16014 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16015 #include <signal.h>
16017 if test "x$ac_cv_type_sigset_t" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_SIGSET_T 1
16021 _ACEOF
16026 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16028 if test "x$ac_cv_type_request_sense" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_REQUEST_SENSE 1
16032 _ACEOF
16038 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16039 #ifdef HAVE_SYS_SOCKET_H
16040 #include <sys/socket.h>
16041 #endif
16042 #ifdef HAVE_SYS_SOCKETVAR_H
16043 #include <sys/socketvar.h>
16044 #endif
16045 #ifdef HAVE_NET_ROUTE_H
16046 #include <net/route.h>
16047 #endif
16048 #ifdef HAVE_NETINET_IN_H
16049 #include <netinet/in.h>
16050 #endif
16051 #ifdef HAVE_NETINET_IN_SYSTM_H
16052 #include <netinet/in_systm.h>
16053 #endif
16054 #ifdef HAVE_NETINET_IP_H
16055 #include <netinet/ip.h>
16056 #endif
16057 #ifdef HAVE_NETINET_IN_PCB_H
16058 #include <netinet/in_pcb.h>
16059 #endif
16061 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_XINPGEN 1
16065 _ACEOF
16071 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16072 #include <link.h>
16073 #endif
16074 #ifdef HAVE_SYS_LINK_H
16075 #include <sys/link.h>
16076 #endif
16078 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_R_DEBUG 1
16082 _ACEOF
16086 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16087 #include <link.h>
16088 #endif
16089 #ifdef HAVE_SYS_LINK_H
16090 #include <sys/link.h>
16091 #endif
16093 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_STRUCT_LINK_MAP 1
16097 _ACEOF
16103 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16104 #include <linux/input.h>
16105 #endif
16107 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16111 _ACEOF
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16118 $as_echo_n "checking for sigaddset... " >&6; }
16119 if ${wine_cv_have_sigaddset+:} false; then :
16120 $as_echo_n "(cached) " >&6
16121 else
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16124 #include <signal.h>
16126 main ()
16128 sigset_t set; sigaddset(&set,SIGTERM);
16130 return 0;
16132 _ACEOF
16133 if ac_fn_c_try_link "$LINENO"; then :
16134 wine_cv_have_sigaddset=yes
16135 else
16136 wine_cv_have_sigaddset=no
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext conftest.$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16142 $as_echo "$wine_cv_have_sigaddset" >&6; }
16143 if test "$wine_cv_have_sigaddset" = "yes"
16144 then
16146 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16152 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16153 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16154 $as_echo_n "(cached) " >&6
16155 else
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16158 #include <netdb.h>
16160 main ()
16163 char *name=0;
16164 struct hostent he;
16165 struct hostent *result;
16166 char *buf=0;
16167 int bufsize=0;
16168 int errnr;
16169 char *addr=0;
16170 int addrlen=0;
16171 int addrtype=0;
16172 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16173 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16176 return 0;
16178 _ACEOF
16179 if ac_fn_c_try_link "$LINENO"; then :
16180 wine_cv_linux_gethostbyname_r_6=yes
16181 else
16182 wine_cv_linux_gethostbyname_r_6=no
16185 rm -f core conftest.err conftest.$ac_objext \
16186 conftest$ac_exeext conftest.$ac_ext
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16190 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16191 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16192 then
16194 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16198 if test "$ac_cv_header_linux_joystick_h" = "yes"
16199 then
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16201 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16202 if ${wine_cv_linux_joystick_22_api+:} false; then :
16203 $as_echo_n "(cached) " >&6
16204 else
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16208 #include <sys/ioctl.h>
16209 #include <sys/types.h>
16210 #include <linux/joystick.h>
16212 struct js_event blub;
16213 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16214 #error "no 2.2 header"
16215 #endif
16218 main ()
16220 /*empty*/
16222 return 0;
16224 _ACEOF
16225 if ac_fn_c_try_compile "$LINENO"; then :
16226 wine_cv_linux_joystick_22_api=yes
16227 else
16228 wine_cv_linux_joystick_22_api=no
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16234 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16235 if test "$wine_cv_linux_joystick_22_api" = "yes"
16236 then
16238 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16244 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16245 #ifdef HAVE_SYS_PARAM_H
16246 # include <sys/param.h>
16247 #endif
16248 #ifdef HAVE_SYS_MOUNT_H
16249 # include <sys/mount.h>
16250 #endif
16251 #ifdef HAVE_SYS_VFS_H
16252 # include <sys/vfs.h>
16253 #endif
16254 #ifdef HAVE_SYS_STATFS_H
16255 # include <sys/statfs.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_STATFS_F_BFREE 1
16262 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_PARAM_H
16268 # include <sys/param.h>
16269 #endif
16270 #ifdef HAVE_SYS_MOUNT_H
16271 # include <sys/mount.h>
16272 #endif
16273 #ifdef HAVE_SYS_VFS_H
16274 # include <sys/vfs.h>
16275 #endif
16276 #ifdef HAVE_SYS_STATFS_H
16277 # include <sys/statfs.h>
16278 #endif
16280 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16284 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_PARAM_H
16290 # include <sys/param.h>
16291 #endif
16292 #ifdef HAVE_SYS_MOUNT_H
16293 # include <sys/mount.h>
16294 #endif
16295 #ifdef HAVE_SYS_VFS_H
16296 # include <sys/vfs.h>
16297 #endif
16298 #ifdef HAVE_SYS_STATFS_H
16299 # include <sys/statfs.h>
16300 #endif
16302 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16304 cat >>confdefs.h <<_ACEOF
16305 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16306 _ACEOF
16310 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16311 #ifdef HAVE_SYS_PARAM_H
16312 # include <sys/param.h>
16313 #endif
16314 #ifdef HAVE_SYS_MOUNT_H
16315 # include <sys/mount.h>
16316 #endif
16317 #ifdef HAVE_SYS_VFS_H
16318 # include <sys/vfs.h>
16319 #endif
16320 #ifdef HAVE_SYS_STATFS_H
16321 # include <sys/statfs.h>
16322 #endif
16324 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_STATFS_F_FFREE 1
16328 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16333 #ifdef HAVE_SYS_PARAM_H
16334 # include <sys/param.h>
16335 #endif
16336 #ifdef HAVE_SYS_MOUNT_H
16337 # include <sys/mount.h>
16338 #endif
16339 #ifdef HAVE_SYS_VFS_H
16340 # include <sys/vfs.h>
16341 #endif
16342 #ifdef HAVE_SYS_STATFS_H
16343 # include <sys/statfs.h>
16344 #endif
16346 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16350 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16355 #ifdef HAVE_SYS_PARAM_H
16356 # include <sys/param.h>
16357 #endif
16358 #ifdef HAVE_SYS_MOUNT_H
16359 # include <sys/mount.h>
16360 #endif
16361 #ifdef HAVE_SYS_VFS_H
16362 # include <sys/vfs.h>
16363 #endif
16364 #ifdef HAVE_SYS_STATFS_H
16365 # include <sys/statfs.h>
16366 #endif
16368 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16372 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16379 #include <sys/statvfs.h>
16380 #endif
16382 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16386 _ACEOF
16392 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16393 #include <dirent.h>
16394 #endif
16396 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16400 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16407 #ifdef HAVE_SYS_SOCKET_H
16408 # include <sys/socket.h>
16409 #endif
16410 #ifdef HAVE_SYS_UN_H
16411 # include <sys/un.h>
16412 #endif
16414 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16418 _ACEOF
16422 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16423 #ifdef HAVE_SYS_SOCKET_H
16424 # include <sys/socket.h>
16425 #endif
16426 #ifdef HAVE_SYS_UN_H
16427 # include <sys/un.h>
16428 #endif
16430 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16434 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16439 #ifdef HAVE_SYS_SOCKET_H
16440 # include <sys/socket.h>
16441 #endif
16442 #ifdef HAVE_SYS_UN_H
16443 # include <sys/un.h>
16444 #endif
16446 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16450 _ACEOF
16456 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16457 #ifdef HAVE_SCSI_SG_H
16458 #include <scsi/sg.h>
16459 #endif
16461 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_SCSIREQ_T_CMD 1
16465 _ACEOF
16469 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>
16470 #ifdef HAVE_SCSI_SG_H
16471 #include <scsi/sg.h>
16472 #endif
16474 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16478 _ACEOF
16484 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16486 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_SIGINFO_T_SI_FD 1
16490 _ACEOF
16496 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16497 #ifdef HAVE_SYS_MTIO_H
16498 #include <sys/mtio.h>
16499 #endif
16501 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16505 _ACEOF
16509 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16510 #ifdef HAVE_SYS_MTIO_H
16511 #include <sys/mtio.h>
16512 #endif
16514 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16518 _ACEOF
16522 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16523 #ifdef HAVE_SYS_MTIO_H
16524 #include <sys/mtio.h>
16525 #endif
16527 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16531 _ACEOF
16537 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16538 #include <getopt.h>
16539 #endif
16541 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_STRUCT_OPTION_NAME 1
16545 _ACEOF
16551 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16552 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16556 _ACEOF
16560 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16561 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_STAT_ST_MTIM 1
16565 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16570 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16574 _ACEOF
16578 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16579 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16581 cat >>confdefs.h <<_ACEOF
16582 #define HAVE_STRUCT_STAT_ST_CTIM 1
16583 _ACEOF
16587 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16588 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16592 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16597 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_STRUCT_STAT_ST_ATIM 1
16601 _ACEOF
16605 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16606 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16610 _ACEOF
16614 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16615 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16619 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16624 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16628 _ACEOF
16632 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16633 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16635 cat >>confdefs.h <<_ACEOF
16636 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16637 _ACEOF
16641 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16642 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16646 _ACEOF
16650 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16651 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16655 _ACEOF
16661 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
16662 #include <sys/types.h>
16663 #endif
16664 #ifdef HAVE_NETINET_IN_H
16665 #include <netinet/in.h>
16666 #endif
16668 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16672 _ACEOF
16678 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16679 #include <resolv.h>
16680 #endif
16682 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_STRUCT___RES_STATE 1
16686 _ACEOF
16692 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
16693 #include <resolv.h>
16694 #endif
16696 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16698 cat >>confdefs.h <<_ACEOF
16699 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16700 _ACEOF
16706 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16707 #include <sys/types.h>
16708 #endif
16709 #ifdef HAVE_NETINET_IN_H
16710 # include <netinet/in.h>
16711 #endif
16712 #ifdef HAVE_ARPA_NAMESER_H
16713 # include <arpa/nameser.h>
16714 #endif
16716 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_NS_MSG__MSG_PTR 1
16720 _ACEOF
16726 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16727 #include <sys/types.h>
16728 #endif
16729 #ifdef HAVE_NETINET_IP_H
16730 #include <netinet/ip.h>
16731 #endif
16732 #ifdef HAVE_NETINET_IP_ICMP_H
16733 #include <netinet/ip_icmp.h>
16734 #endif
16735 #ifdef HAVE_NETINET_ICMP_VAR_H
16736 #include <netinet/icmp_var.h>
16737 #endif
16739 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16743 _ACEOF
16749 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16750 #include <sys/types.h>
16751 #endif
16752 #ifdef HAVE_ALIAS_H
16753 #include <alias.h>
16754 #endif
16755 #ifdef HAVE_SYS_SOCKET_H
16756 #include <sys/socket.h>
16757 #endif
16758 #ifdef HAVE_SYS_SOCKETVAR_H
16759 #include <sys/socketvar.h>
16760 #endif
16761 #ifdef HAVE_SYS_TIMEOUT_H
16762 #include <sys/timeout.h>
16763 #endif
16764 #ifdef HAVE_NETINET_IN_H
16765 #include <netinet/in.h>
16766 #endif
16767 #ifdef HAVE_NETINET_IN_SYSTM_H
16768 #include <netinet/in_systm.h>
16769 #endif
16770 #ifdef HAVE_NETINET_IP_H
16771 #include <netinet/ip.h>
16772 #endif
16773 #ifdef HAVE_NETINET_IP_VAR_H
16774 #include <netinet/ip_var.h>
16775 #endif
16776 #ifdef HAVE_NETINET_IP_ICMP_H
16777 #include <netinet/ip_icmp.h>
16778 #endif
16779 #ifdef HAVE_NETINET_ICMP_VAR_H
16780 #include <netinet/icmp_var.h>
16781 #endif
16783 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16785 cat >>confdefs.h <<_ACEOF
16786 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16787 _ACEOF
16793 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16794 #include <sys/types.h>
16795 #endif
16796 #ifdef HAVE_SYS_SOCKETVAR_H
16797 #include <sys/socketvar.h>
16798 #endif
16799 #ifdef HAVE_NETINET_IN_H
16800 #include <netinet/in.h>
16801 #endif
16802 #ifdef HAVE_NETINET_IP_VAR_H
16803 #include <netinet/ip_var.h>
16804 #endif
16806 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16810 _ACEOF
16816 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
16817 #include <netinet/ip_var.h>
16818 #endif
16820 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16824 _ACEOF
16830 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16831 #include <sys/types.h>
16832 #endif
16833 #ifdef HAVE_SYS_SOCKETVAR_H
16834 #include <sys/socketvar.h>
16835 #endif
16836 #ifdef HAVE_NETINET_IN_H
16837 #include <netinet/in.h>
16838 #endif
16839 #ifdef HAVE_NETINET_TCP_H
16840 #include <netinet/tcp.h>
16841 #endif
16842 #ifdef HAVE_NETINET_TCP_VAR_H
16843 #include <netinet/tcp_var.h>
16844 #endif
16846 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16850 _ACEOF
16856 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
16857 #include <netinet/tcp_var.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16864 _ACEOF
16870 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16871 #include <sys/types.h>
16872 #endif
16873 #ifdef HAVE_NETINET_IN_H
16874 #include <netinet/in.h>
16875 #endif
16876 #ifdef HAVE_NETINET_IP_VAR_H
16877 #include <netinet/ip_var.h>
16878 #endif
16879 #ifdef HAVE_NETINET_UDP_H
16880 #include <netinet/udp.h>
16881 #endif
16882 #ifdef HAVE_NETINET_UDP_VAR_H
16883 #include <netinet/udp_var.h>
16884 #endif
16886 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16890 _ACEOF
16896 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16897 #include <sys/types.h>
16898 #endif
16899 #ifdef HAVE_NET_IF_H
16900 # include <net/if.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16907 _ACEOF
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16914 $as_echo_n "checking for timezone variable... " >&6; }
16915 if ${ac_cv_have_timezone+:} false; then :
16916 $as_echo_n "(cached) " >&6
16917 else
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 #include <time.h>
16922 main ()
16924 timezone = 1
16926 return 0;
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"; then :
16930 ac_cv_have_timezone="yes"
16931 else
16932 ac_cv_have_timezone="no"
16934 rm -f core conftest.err conftest.$ac_objext \
16935 conftest$ac_exeext conftest.$ac_ext
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16938 $as_echo "$ac_cv_have_timezone" >&6; }
16939 if test "$ac_cv_have_timezone" = "yes"
16940 then
16942 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16946 $as_echo_n "checking for daylight variable... " >&6; }
16947 if ${ac_cv_have_daylight+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16952 #include <time.h>
16954 main ()
16956 daylight = 1
16958 return 0;
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_have_daylight="yes"
16963 else
16964 ac_cv_have_daylight="no"
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16970 $as_echo "$ac_cv_have_daylight" >&6; }
16971 if test "$ac_cv_have_daylight" = "yes"
16972 then
16974 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16978 ac_save_LIBS="$LIBS"
16979 LIBS="$LIBS -lm"
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16981 $as_echo_n "checking for isfinite... " >&6; }
16982 if ${ac_cv_have_isfinite+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #define _GNU_SOURCE
16988 #include <math.h>
16990 main ()
16992 float f = 0.0; return isfinite(f)
16994 return 0;
16996 _ACEOF
16997 if ac_fn_c_try_link "$LINENO"; then :
16998 ac_cv_have_isfinite="yes"
16999 else
17000 ac_cv_have_isfinite="no"
17002 rm -f core conftest.err conftest.$ac_objext \
17003 conftest$ac_exeext conftest.$ac_ext
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17006 $as_echo "$ac_cv_have_isfinite" >&6; }
17007 if test "$ac_cv_have_isfinite" = "yes"
17008 then
17010 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17015 $as_echo_n "checking for isinf... " >&6; }
17016 if ${ac_cv_have_isinf+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #include <math.h>
17023 main ()
17025 float f = 0.0; return isinf(f)
17027 return 0;
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_have_isinf="yes"
17032 else
17033 ac_cv_have_isinf="no"
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17039 $as_echo "$ac_cv_have_isinf" >&6; }
17040 if test "$ac_cv_have_isinf" = "yes"
17041 then
17043 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17048 $as_echo_n "checking for isnan... " >&6; }
17049 if ${ac_cv_have_isnan+:} false; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 #include <math.h>
17056 main ()
17058 float f = 0.0; return isnan(f)
17060 return 0;
17062 _ACEOF
17063 if ac_fn_c_try_link "$LINENO"; then :
17064 ac_cv_have_isnan="yes"
17065 else
17066 ac_cv_have_isnan="no"
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17072 $as_echo "$ac_cv_have_isnan" >&6; }
17073 if test "$ac_cv_have_isnan" = "yes"
17074 then
17076 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17080 for ac_func in \
17081 acosh \
17082 acoshf \
17083 asinh \
17084 asinhf \
17085 atanh \
17086 atanhf \
17087 cbrt \
17088 cbrtf \
17089 erf \
17090 erff \
17091 exp2 \
17092 exp2f \
17093 expm1 \
17094 expm1f \
17095 lgamma \
17096 lgammaf \
17097 llrint \
17098 llrintf \
17099 llround \
17100 llroundf \
17101 log1p \
17102 log1pf \
17103 log2 \
17104 log2f \
17105 lrint \
17106 lrintf \
17107 lround \
17108 lroundf \
17109 nearbyint \
17110 nearbyintf \
17111 powl \
17112 remainder \
17113 remainderf \
17114 rint \
17115 rintf \
17116 round \
17117 roundf \
17118 trunc \
17119 truncf
17121 do :
17122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17124 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17125 cat >>confdefs.h <<_ACEOF
17126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17127 _ACEOF
17130 done
17132 LIBS="$ac_save_LIBS"
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17135 $as_echo_n "checking for __builtin_clz... " >&6; }
17136 if ${ac_cv_have___builtin_clz+:} false; then :
17137 $as_echo_n "(cached) " >&6
17138 else
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17143 main ()
17145 return __builtin_clz(1)
17147 return 0;
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_have___builtin_clz="yes"
17152 else
17153 ac_cv_have___builtin_clz="no"
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17159 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17160 if test "$ac_cv_have___builtin_clz" = "yes"
17161 then
17163 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17168 $as_echo_n "checking for __builtin_popcount... " >&6; }
17169 if ${ac_cv_have___builtin_popcount+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17176 main ()
17178 return __builtin_popcount(1)
17180 return 0;
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 ac_cv_have___builtin_popcount="yes"
17185 else
17186 ac_cv_have___builtin_popcount="no"
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17192 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17193 if test "$ac_cv_have___builtin_popcount" = "yes"
17194 then
17196 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17201 case $host_cpu in
17202 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17203 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17204 if ${ac_cv_cpp_def___i386__+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 #ifndef __i386__
17211 #endif
17212 _ACEOF
17213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17214 $EGREP "yes" >/dev/null 2>&1; then :
17215 ac_cv_cpp_def___i386__=yes
17216 else
17217 ac_cv_cpp_def___i386__=no
17219 rm -f conftest*
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17223 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17224 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17225 CFLAGS="$CFLAGS -D__i386__"
17226 LINTFLAGS="$LINTFLAGS -D__i386__"
17227 fi ;;
17228 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17229 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17230 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #ifndef __x86_64__
17237 #endif
17238 _ACEOF
17239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17240 $EGREP "yes" >/dev/null 2>&1; then :
17241 ac_cv_cpp_def___x86_64__=yes
17242 else
17243 ac_cv_cpp_def___x86_64__=no
17245 rm -f conftest*
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17249 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17250 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17251 CFLAGS="$CFLAGS -D__x86_64__"
17252 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17253 fi ;;
17254 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17255 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17256 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #ifndef __sparc64__
17263 #endif
17264 _ACEOF
17265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17266 $EGREP "yes" >/dev/null 2>&1; then :
17267 ac_cv_cpp_def___sparc64__=yes
17268 else
17269 ac_cv_cpp_def___sparc64__=no
17271 rm -f conftest*
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17275 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17276 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17277 CFLAGS="$CFLAGS -D__sparc64__"
17278 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17279 fi ;;
17280 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17281 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17282 if ${ac_cv_cpp_def___sparc__+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #ifndef __sparc__
17289 #endif
17290 _ACEOF
17291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17292 $EGREP "yes" >/dev/null 2>&1; then :
17293 ac_cv_cpp_def___sparc__=yes
17294 else
17295 ac_cv_cpp_def___sparc__=no
17297 rm -f conftest*
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17301 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17302 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17303 CFLAGS="$CFLAGS -D__sparc__"
17304 LINTFLAGS="$LINTFLAGS -D__sparc__"
17305 fi ;;
17306 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17307 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17308 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #ifndef __powerpc64__
17315 #endif
17316 _ACEOF
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "yes" >/dev/null 2>&1; then :
17319 ac_cv_cpp_def___powerpc64__=yes
17320 else
17321 ac_cv_cpp_def___powerpc64__=no
17323 rm -f conftest*
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17327 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17328 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17329 CFLAGS="$CFLAGS -D__powerpc64__"
17330 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17331 fi ;;
17332 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17333 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17334 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 #ifndef __powerpc__
17341 #endif
17342 _ACEOF
17343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17344 $EGREP "yes" >/dev/null 2>&1; then :
17345 ac_cv_cpp_def___powerpc__=yes
17346 else
17347 ac_cv_cpp_def___powerpc__=no
17349 rm -f conftest*
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17353 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17354 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17355 CFLAGS="$CFLAGS -D__powerpc__"
17356 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17357 fi ;;
17358 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17359 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17360 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #ifndef __aarch64__
17367 #endif
17368 _ACEOF
17369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17370 $EGREP "yes" >/dev/null 2>&1; then :
17371 ac_cv_cpp_def___aarch64__=yes
17372 else
17373 ac_cv_cpp_def___aarch64__=no
17375 rm -f conftest*
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17379 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17380 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17381 CFLAGS="$CFLAGS -D__aarch64__"
17382 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17383 fi ;;
17384 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17385 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17386 if ${ac_cv_cpp_def___arm__+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #ifndef __arm__
17393 #endif
17394 _ACEOF
17395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17396 $EGREP "yes" >/dev/null 2>&1; then :
17397 ac_cv_cpp_def___arm__=yes
17398 else
17399 ac_cv_cpp_def___arm__=no
17401 rm -f conftest*
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17405 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17406 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17407 CFLAGS="$CFLAGS -D__arm__"
17408 LINTFLAGS="$LINTFLAGS -D__arm__"
17409 fi ;;
17410 esac
17412 case $host_vendor in
17413 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17414 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17415 if ${ac_cv_cpp_def___sun__+:} false; then :
17416 $as_echo_n "(cached) " >&6
17417 else
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 #ifndef __sun__
17422 #endif
17423 _ACEOF
17424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17425 $EGREP "yes" >/dev/null 2>&1; then :
17426 ac_cv_cpp_def___sun__=yes
17427 else
17428 ac_cv_cpp_def___sun__=no
17430 rm -f conftest*
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17434 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17435 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17436 CFLAGS="$CFLAGS -D__sun__"
17437 LINTFLAGS="$LINTFLAGS -D__sun__"
17438 fi ;;
17439 esac
17445 ac_config_commands="$ac_config_commands include/stamp-h"
17447 $as_echo_n "creating Makefile rules..." >&6
17449 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17450 SOCKET_LIBS = $SOCKET_LIBS
17451 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17452 IOKIT_LIBS = $IOKIT_LIBS
17453 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17454 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17455 CORESERVICES_LIBS = $CORESERVICES_LIBS
17456 APPKIT_LIBS = $APPKIT_LIBS
17457 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17458 SECURITY_LIBS = $SECURITY_LIBS
17459 COREAUDIO_LIBS = $COREAUDIO_LIBS
17460 OPENAL_LIBS = $OPENAL_LIBS
17461 OPENCL_LIBS = $OPENCL_LIBS
17462 QUICKTIME_LIBS = $QUICKTIME_LIBS
17463 CARBON_LIBS = $CARBON_LIBS
17464 PTHREAD_LIBS = $PTHREAD_LIBS
17465 X_CFLAGS = $X_CFLAGS
17466 X_PRE_LIBS = $X_PRE_LIBS
17467 X_LIBS = $X_LIBS
17468 X_EXTRA_LIBS = $X_EXTRA_LIBS
17469 PCAP_LIBS = $PCAP_LIBS
17470 XML2_CFLAGS = $XML2_CFLAGS
17471 XML2_LIBS = $XML2_LIBS
17472 XSLT_CFLAGS = $XSLT_CFLAGS
17473 XSLT_LIBS = $XSLT_LIBS
17474 DBUS_CFLAGS = $DBUS_CFLAGS
17475 DBUS_LIBS = $DBUS_LIBS
17476 HAL_CFLAGS = $HAL_CFLAGS
17477 HAL_LIBS = $HAL_LIBS
17478 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17479 GNUTLS_LIBS = $GNUTLS_LIBS
17480 SANE_CFLAGS = $SANE_CFLAGS
17481 SANE_LIBS = $SANE_LIBS
17482 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17483 GPHOTO2_LIBS = $GPHOTO2_LIBS
17484 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17485 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17486 RESOLV_LIBS = $RESOLV_LIBS
17487 LCMS2_CFLAGS = $LCMS2_CFLAGS
17488 LCMS2_LIBS = $LCMS2_LIBS
17489 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17490 FREETYPE_LIBS = $FREETYPE_LIBS
17491 Z_LIBS = $Z_LIBS
17492 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17493 PULSE_CFLAGS = $PULSE_CFLAGS
17494 PULSE_LIBS = $PULSE_LIBS
17495 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17496 GSTREAMER_LIBS = $GSTREAMER_LIBS
17497 ALSA_LIBS = $ALSA_LIBS
17498 OSS4_CFLAGS = $OSS4_CFLAGS
17499 UDEV_CFLAGS = $UDEV_CFLAGS
17500 UDEV_LIBS = $UDEV_LIBS
17501 CAPI20_CFLAGS = $CAPI20_CFLAGS
17502 CAPI20_LIBS = $CAPI20_LIBS
17503 CUPS_CFLAGS = $CUPS_CFLAGS
17504 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17505 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17506 JPEG_CFLAGS = $JPEG_CFLAGS
17507 JPEG_LIBS = $JPEG_LIBS
17508 PNG_CFLAGS = $PNG_CFLAGS
17509 PNG_LIBS = $PNG_LIBS
17510 TIFF_CFLAGS = $TIFF_CFLAGS
17511 TIFF_LIBS = $TIFF_LIBS
17512 MPG123_CFLAGS = $MPG123_CFLAGS
17513 MPG123_LIBS = $MPG123_LIBS
17514 KSTAT_LIBS = $KSTAT_LIBS
17515 PROCSTAT_LIBS = $PROCSTAT_LIBS
17516 NETAPI_CFLAGS = $NETAPI_CFLAGS
17517 NETAPI_LIBS = $NETAPI_LIBS
17518 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17519 DL_LIBS = $DL_LIBS
17520 POLL_LIBS = $POLL_LIBS
17521 RT_LIBS = $RT_LIBS
17522 LDAP_LIBS = $LDAP_LIBS
17527 wine_fn_append_rule "
17528 # Rules automatically generated by configure
17530 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17532 .INIT: Makefile
17533 .MAKEFILEDEPS:
17534 all: Makefile
17535 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17536 @./config.status Make.tmp Makefile
17537 depend: \$(MAKEDEP) dummy
17538 \$(MAKEDEP)"
17540 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17541 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17543 if test "x$enable_fonts" != xno; then
17544 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17545 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17546 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17547 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17548 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17549 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17551 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17552 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17553 ac_config_links="$ac_config_links wine:tools/winewrapper"
17554 wine_fn_config_symlink wine
17555 if test "x$enable_win64" != xno; then
17556 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17557 wine_fn_config_symlink wine64
17560 wine_fn_config_dll acledit enable_acledit
17561 wine_fn_config_dll aclui enable_aclui implib
17562 wine_fn_config_dll activeds enable_activeds implib
17563 wine_fn_config_dll actxprxy enable_actxprxy clean
17564 wine_fn_config_lib adsiid
17565 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17566 wine_fn_config_test dlls/advapi32/tests advapi32_test
17567 wine_fn_config_dll advpack enable_advpack implib
17568 wine_fn_config_test dlls/advpack/tests advpack_test
17569 wine_fn_config_dll amstream enable_amstream clean
17570 wine_fn_config_test dlls/amstream/tests amstream_test
17571 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17572 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17583 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17587 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17589 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17592 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17596 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17597 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17598 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17599 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17602 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17607 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17612 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17615 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17616 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17618 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17619 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17620 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17627 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17636 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17639 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17652 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17658 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17659 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17661 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17673 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17679 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17683 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17684 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17685 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17686 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17687 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17688 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17689 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17690 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17694 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17695 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17696 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17697 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17698 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17699 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17700 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17701 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17702 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17703 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17704 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17705 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17706 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17707 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17708 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17709 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17710 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17711 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17712 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17713 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17714 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17715 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17716 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17717 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17718 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17719 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17720 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17721 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17722 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17723 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17724 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17725 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17726 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17727 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17728 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17729 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17730 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17731 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17732 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17733 wine_fn_config_dll apphelp enable_apphelp
17734 wine_fn_config_test dlls/apphelp/tests apphelp_test
17735 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17736 wine_fn_config_dll atl enable_atl clean,implib
17737 wine_fn_config_test dlls/atl/tests atl_test
17738 wine_fn_config_dll atl100 enable_atl100 clean,implib
17739 wine_fn_config_test dlls/atl100/tests atl100_test
17740 wine_fn_config_dll atl110 enable_atl110 clean
17741 wine_fn_config_dll atl80 enable_atl80 clean,implib
17742 wine_fn_config_test dlls/atl80/tests atl80_test
17743 wine_fn_config_dll atl90 enable_atl90 clean
17744 wine_fn_config_dll authz enable_authz
17745 wine_fn_config_dll avicap32 enable_avicap32 implib
17746 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17747 wine_fn_config_test dlls/avifil32/tests avifil32_test
17748 wine_fn_config_dll avifile.dll16 enable_win16
17749 wine_fn_config_dll avrt enable_avrt implib
17750 wine_fn_config_dll bcrypt enable_bcrypt implib
17751 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17752 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17753 wine_fn_config_dll browseui enable_browseui clean
17754 wine_fn_config_test dlls/browseui/tests browseui_test
17755 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17756 wine_fn_config_dll cabinet enable_cabinet implib
17757 wine_fn_config_test dlls/cabinet/tests cabinet_test
17758 wine_fn_config_dll capi2032 enable_capi2032 implib
17759 wine_fn_config_dll cards enable_cards implib
17760 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17761 wine_fn_config_dll clusapi enable_clusapi implib
17762 wine_fn_config_dll combase enable_combase
17763 wine_fn_config_test dlls/combase/tests combase_test
17764 wine_fn_config_dll comcat enable_comcat
17765 wine_fn_config_test dlls/comcat/tests comcat_test
17766 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17767 wine_fn_config_test dlls/comctl32/tests comctl32_test
17768 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17769 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17770 wine_fn_config_dll comm.drv16 enable_win16
17771 wine_fn_config_dll commdlg.dll16 enable_win16
17772 wine_fn_config_dll compobj.dll16 enable_win16
17773 wine_fn_config_dll compstui enable_compstui implib
17774 wine_fn_config_dll comsvcs enable_comsvcs implib
17775 wine_fn_config_dll concrt140 enable_concrt140
17776 wine_fn_config_dll connect enable_connect
17777 wine_fn_config_dll credui enable_credui clean,implib
17778 wine_fn_config_test dlls/credui/tests credui_test
17779 wine_fn_config_dll crtdll enable_crtdll
17780 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17781 wine_fn_config_test dlls/crypt32/tests crypt32_test
17782 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17783 wine_fn_config_dll cryptdll enable_cryptdll implib
17784 wine_fn_config_dll cryptext enable_cryptext
17785 wine_fn_config_dll cryptnet enable_cryptnet implib
17786 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17787 wine_fn_config_dll cryptui enable_cryptui clean,implib
17788 wine_fn_config_test dlls/cryptui/tests cryptui_test
17789 wine_fn_config_dll ctapi32 enable_ctapi32
17790 wine_fn_config_dll ctl3d.dll16 enable_win16
17791 wine_fn_config_dll ctl3d32 enable_ctl3d32
17792 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17793 wine_fn_config_dll d2d1 enable_d2d1 implib
17794 wine_fn_config_test dlls/d2d1/tests d2d1_test
17795 wine_fn_config_dll d3d10 enable_d3d10 implib
17796 wine_fn_config_test dlls/d3d10/tests d3d10_test
17797 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17798 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17799 wine_fn_config_dll d3d10core enable_d3d10core implib
17800 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17801 wine_fn_config_dll d3d11 enable_d3d11 implib
17802 wine_fn_config_test dlls/d3d11/tests d3d11_test
17803 wine_fn_config_dll d3d8 enable_d3d8 implib
17804 wine_fn_config_test dlls/d3d8/tests d3d8_test
17805 wine_fn_config_dll d3d9 enable_d3d9 implib
17806 wine_fn_config_test dlls/d3d9/tests d3d9_test
17807 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17808 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17809 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17810 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17811 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17812 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17813 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17814 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17815 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17816 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17817 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17818 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17819 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17820 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17821 wine_fn_config_dll d3dim enable_d3dim
17822 wine_fn_config_dll d3drm enable_d3drm implib
17823 wine_fn_config_test dlls/d3drm/tests d3drm_test
17824 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17825 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17826 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17827 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17828 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17829 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17830 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17831 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17832 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17833 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17834 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17835 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17836 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17837 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17838 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17839 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17840 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17841 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17842 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17843 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17844 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17845 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17846 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17847 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17848 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17849 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17850 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17851 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17852 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17853 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17854 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17855 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17856 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17857 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17858 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17859 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17860 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17861 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17862 wine_fn_config_dll davclnt enable_davclnt
17863 wine_fn_config_dll dbgeng enable_dbgeng implib
17864 wine_fn_config_dll dbghelp enable_dbghelp implib
17865 wine_fn_config_dll dciman32 enable_dciman32 implib
17866 wine_fn_config_dll ddeml.dll16 enable_win16
17867 wine_fn_config_dll ddraw enable_ddraw clean,implib
17868 wine_fn_config_test dlls/ddraw/tests ddraw_test
17869 wine_fn_config_dll ddrawex enable_ddrawex clean
17870 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17871 wine_fn_config_dll devenum enable_devenum clean
17872 wine_fn_config_test dlls/devenum/tests devenum_test
17873 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17874 wine_fn_config_dll difxapi enable_difxapi
17875 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17876 wine_fn_config_test dlls/dinput/tests dinput_test
17877 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17878 wine_fn_config_test dlls/dinput8/tests dinput8_test
17879 wine_fn_config_dll dispdib.dll16 enable_win16
17880 wine_fn_config_dll dispex enable_dispex clean
17881 wine_fn_config_test dlls/dispex/tests dispex_test
17882 wine_fn_config_dll display.drv16 enable_win16
17883 wine_fn_config_dll dmband enable_dmband clean
17884 wine_fn_config_test dlls/dmband/tests dmband_test
17885 wine_fn_config_dll dmcompos enable_dmcompos clean
17886 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17887 wine_fn_config_dll dmime enable_dmime clean
17888 wine_fn_config_test dlls/dmime/tests dmime_test
17889 wine_fn_config_dll dmloader enable_dmloader clean
17890 wine_fn_config_test dlls/dmloader/tests dmloader_test
17891 wine_fn_config_dll dmscript enable_dmscript clean
17892 wine_fn_config_test dlls/dmscript/tests dmscript_test
17893 wine_fn_config_dll dmstyle enable_dmstyle clean
17894 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17895 wine_fn_config_dll dmsynth enable_dmsynth clean
17896 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17897 wine_fn_config_dll dmusic enable_dmusic clean
17898 wine_fn_config_test dlls/dmusic/tests dmusic_test
17899 wine_fn_config_dll dmusic32 enable_dmusic32
17900 wine_fn_config_dll dnsapi enable_dnsapi implib
17901 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17902 wine_fn_config_dll dplay enable_dplay
17903 wine_fn_config_dll dplayx enable_dplayx clean,implib
17904 wine_fn_config_test dlls/dplayx/tests dplayx_test
17905 wine_fn_config_dll dpnaddr enable_dpnaddr
17906 wine_fn_config_dll dpnet enable_dpnet clean,implib
17907 wine_fn_config_test dlls/dpnet/tests dpnet_test
17908 wine_fn_config_dll dpnhpast enable_dpnhpast
17909 wine_fn_config_dll dpnlobby enable_dpnlobby
17910 wine_fn_config_dll dpvoice enable_dpvoice clean
17911 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17912 wine_fn_config_dll dpwsockx enable_dpwsockx
17913 wine_fn_config_dll drmclien enable_drmclien
17914 wine_fn_config_dll dsound enable_dsound clean,implib
17915 wine_fn_config_test dlls/dsound/tests dsound_test
17916 wine_fn_config_dll dssenh enable_dssenh
17917 wine_fn_config_test dlls/dssenh/tests dssenh_test
17918 wine_fn_config_dll dswave enable_dswave clean
17919 wine_fn_config_test dlls/dswave/tests dswave_test
17920 wine_fn_config_dll dwmapi enable_dwmapi implib
17921 wine_fn_config_dll dwrite enable_dwrite implib
17922 wine_fn_config_test dlls/dwrite/tests dwrite_test
17923 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17924 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17925 wine_fn_config_lib dxerr8
17926 wine_fn_config_lib dxerr9
17927 wine_fn_config_dll dxgi enable_dxgi implib
17928 wine_fn_config_test dlls/dxgi/tests dxgi_test
17929 wine_fn_config_lib dxguid
17930 wine_fn_config_dll dxva2 enable_dxva2
17931 wine_fn_config_dll esent enable_esent
17932 wine_fn_config_dll evr enable_evr
17933 wine_fn_config_dll explorerframe enable_explorerframe clean
17934 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17935 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17936 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17937 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17938 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17939 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17940 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17941 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17942 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17943 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17944 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17946 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17947 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17948 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17949 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
17950 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17951 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17952 wine_fn_config_dll faultrep enable_faultrep implib
17953 wine_fn_config_test dlls/faultrep/tests faultrep_test
17954 wine_fn_config_dll fltlib enable_fltlib
17955 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17956 wine_fn_config_dll fntcache enable_fntcache
17957 wine_fn_config_dll fontsub enable_fontsub
17958 wine_fn_config_dll fusion enable_fusion
17959 wine_fn_config_test dlls/fusion/tests fusion_test
17960 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17961 wine_fn_config_dll gameux enable_gameux clean
17962 wine_fn_config_test dlls/gameux/tests gameux_test
17963 wine_fn_config_dll gdi.exe16 enable_win16
17964 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17965 wine_fn_config_test dlls/gdi32/tests gdi32_test
17966 wine_fn_config_dll gdiplus enable_gdiplus implib
17967 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17968 wine_fn_config_dll glu32 enable_glu32 implib
17969 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17970 wine_fn_config_dll gpkcsp enable_gpkcsp
17971 wine_fn_config_dll hal enable_hal
17972 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17973 wine_fn_config_dll hid enable_hid implib
17974 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17975 wine_fn_config_dll hlink enable_hlink clean,implib
17976 wine_fn_config_test dlls/hlink/tests hlink_test
17977 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17978 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17979 wine_fn_config_dll httpapi enable_httpapi
17980 wine_fn_config_dll iccvid enable_iccvid clean
17981 wine_fn_config_dll icmp enable_icmp
17982 wine_fn_config_dll ieframe enable_ieframe clean,implib
17983 wine_fn_config_test dlls/ieframe/tests ieframe_test
17984 wine_fn_config_dll ifsmgr.vxd enable_win16
17985 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17986 wine_fn_config_dll imagehlp enable_imagehlp implib
17987 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17988 wine_fn_config_dll imm.dll16 enable_win16
17989 wine_fn_config_dll imm32 enable_imm32 implib
17990 wine_fn_config_test dlls/imm32/tests imm32_test
17991 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17992 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17993 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17994 wine_fn_config_dll inetmib1 enable_inetmib1
17995 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17996 wine_fn_config_dll infosoft enable_infosoft clean
17997 wine_fn_config_test dlls/infosoft/tests infosoft_test
17998 wine_fn_config_dll initpki enable_initpki
17999 wine_fn_config_dll inkobj enable_inkobj
18000 wine_fn_config_dll inseng enable_inseng clean
18001 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18002 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18003 wine_fn_config_dll iprop enable_iprop
18004 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18005 wine_fn_config_dll itircl enable_itircl
18006 wine_fn_config_dll itss enable_itss clean
18007 wine_fn_config_test dlls/itss/tests itss_test
18008 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18009 wine_fn_config_dll jscript enable_jscript clean
18010 wine_fn_config_test dlls/jscript/tests jscript_test
18011 wine_fn_config_dll jsproxy enable_jsproxy implib
18012 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18013 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18014 wine_fn_config_test dlls/kernel32/tests kernel32_test
18015 wine_fn_config_dll kernelbase enable_kernelbase
18016 wine_fn_config_dll keyboard.drv16 enable_win16
18017 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18018 wine_fn_config_dll ksuser enable_ksuser
18019 wine_fn_config_dll ktmw32 enable_ktmw32
18020 wine_fn_config_dll loadperf enable_loadperf implib
18021 wine_fn_config_dll localspl enable_localspl clean
18022 wine_fn_config_test dlls/localspl/tests localspl_test
18023 wine_fn_config_dll localui enable_localui clean
18024 wine_fn_config_test dlls/localui/tests localui_test
18025 wine_fn_config_dll lz32 enable_lz32 implib
18026 wine_fn_config_test dlls/lz32/tests lz32_test
18027 wine_fn_config_dll lzexpand.dll16 enable_win16
18028 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18029 wine_fn_config_test dlls/mapi32/tests mapi32_test
18030 wine_fn_config_dll mapistub enable_mapistub
18031 wine_fn_config_dll mciavi32 enable_mciavi32
18032 wine_fn_config_dll mcicda enable_mcicda
18033 wine_fn_config_dll mciqtz32 enable_mciqtz32
18034 wine_fn_config_dll mciseq enable_mciseq
18035 wine_fn_config_dll mciwave enable_mciwave
18036 wine_fn_config_dll mf enable_mf
18037 wine_fn_config_dll mfplat enable_mfplat
18038 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18039 wine_fn_config_dll mgmtapi enable_mgmtapi
18040 wine_fn_config_dll midimap enable_midimap
18041 wine_fn_config_dll mlang enable_mlang clean,implib
18042 wine_fn_config_test dlls/mlang/tests mlang_test
18043 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18044 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18045 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18046 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18047 wine_fn_config_dll mmdevldr.vxd enable_win16
18048 wine_fn_config_dll mmsystem.dll16 enable_win16
18049 wine_fn_config_dll monodebg.vxd enable_win16
18050 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18051 wine_fn_config_dll mouse.drv16 enable_win16
18052 wine_fn_config_dll mpr enable_mpr clean,implib
18053 wine_fn_config_test dlls/mpr/tests mpr_test
18054 wine_fn_config_dll mprapi enable_mprapi implib
18055 wine_fn_config_dll msacm.dll16 enable_win16
18056 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18057 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18058 wine_fn_config_test dlls/msacm32/tests msacm32_test
18059 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18060 wine_fn_config_dll msasn1 enable_msasn1 implib
18061 wine_fn_config_dll mscat32 enable_mscat32
18062 wine_fn_config_dll mscms enable_mscms implib
18063 wine_fn_config_test dlls/mscms/tests mscms_test
18064 wine_fn_config_dll mscoree enable_mscoree clean
18065 wine_fn_config_test dlls/mscoree/tests mscoree_test
18066 wine_fn_config_dll msctf enable_msctf clean
18067 wine_fn_config_test dlls/msctf/tests msctf_test
18068 wine_fn_config_dll msctfp enable_msctfp clean
18069 wine_fn_config_dll msdaps enable_msdaps clean
18070 wine_fn_config_dll msdelta enable_msdelta
18071 wine_fn_config_dll msdmo enable_msdmo implib
18072 wine_fn_config_test dlls/msdmo/tests msdmo_test
18073 wine_fn_config_dll msdrm enable_msdrm
18074 wine_fn_config_dll msftedit enable_msftedit
18075 wine_fn_config_dll msg711.acm enable_msg711_acm
18076 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18077 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18078 wine_fn_config_dll mshtml enable_mshtml clean,implib
18079 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18080 wine_fn_config_dll msi enable_msi clean,implib
18081 wine_fn_config_test dlls/msi/tests msi_test
18082 wine_fn_config_dll msident enable_msident clean
18083 wine_fn_config_dll msimg32 enable_msimg32 implib
18084 wine_fn_config_dll msimsg enable_msimsg
18085 wine_fn_config_dll msimtf enable_msimtf clean
18086 wine_fn_config_dll msisip enable_msisip
18087 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18088 wine_fn_config_dll msls31 enable_msls31
18089 wine_fn_config_dll msnet32 enable_msnet32
18090 wine_fn_config_dll mspatcha enable_mspatcha implib
18091 wine_fn_config_dll msports enable_msports
18092 wine_fn_config_dll msrle32 enable_msrle32 clean
18093 wine_fn_config_test dlls/msrle32/tests msrle32_test
18094 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18095 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18096 wine_fn_config_dll mssign32 enable_mssign32
18097 wine_fn_config_dll mssip32 enable_mssip32
18098 wine_fn_config_dll mstask enable_mstask clean
18099 wine_fn_config_test dlls/mstask/tests mstask_test
18100 wine_fn_config_dll msvcirt enable_msvcirt
18101 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18102 wine_fn_config_dll msvcm80 enable_msvcm80
18103 wine_fn_config_dll msvcm90 enable_msvcm90
18104 wine_fn_config_dll msvcp100 enable_msvcp100
18105 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18106 wine_fn_config_dll msvcp110 enable_msvcp110
18107 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18108 wine_fn_config_dll msvcp120 enable_msvcp120
18109 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18110 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18111 wine_fn_config_dll msvcp140 enable_msvcp140
18112 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18113 wine_fn_config_dll msvcp60 enable_msvcp60
18114 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18115 wine_fn_config_dll msvcp70 enable_msvcp70
18116 wine_fn_config_dll msvcp71 enable_msvcp71
18117 wine_fn_config_dll msvcp80 enable_msvcp80
18118 wine_fn_config_dll msvcp90 enable_msvcp90
18119 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18120 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18121 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18122 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18123 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18124 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18125 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18126 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18127 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18128 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18129 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18130 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18131 wine_fn_config_dll msvcrt enable_msvcrt implib
18132 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18133 wine_fn_config_dll msvcrt20 enable_msvcrt20
18134 wine_fn_config_dll msvcrt40 enable_msvcrt40
18135 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18136 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18137 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18138 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18139 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18140 wine_fn_config_dll msvideo.dll16 enable_win16
18141 wine_fn_config_dll mswsock enable_mswsock implib
18142 wine_fn_config_dll msxml enable_msxml clean
18143 wine_fn_config_dll msxml2 enable_msxml2 clean
18144 wine_fn_config_dll msxml3 enable_msxml3 clean
18145 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18146 wine_fn_config_dll msxml4 enable_msxml4 clean
18147 wine_fn_config_dll msxml6 enable_msxml6 clean
18148 wine_fn_config_dll ncrypt enable_ncrypt
18149 wine_fn_config_dll nddeapi enable_nddeapi implib
18150 wine_fn_config_dll ndis.sys enable_ndis_sys
18151 wine_fn_config_dll netapi32 enable_netapi32 implib
18152 wine_fn_config_test dlls/netapi32/tests netapi32_test
18153 wine_fn_config_dll netcfgx enable_netcfgx clean
18154 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18155 wine_fn_config_dll netprofm enable_netprofm clean
18156 wine_fn_config_test dlls/netprofm/tests netprofm_test
18157 wine_fn_config_dll newdev enable_newdev implib
18158 wine_fn_config_dll normaliz enable_normaliz implib
18159 wine_fn_config_dll npmshtml enable_npmshtml
18160 wine_fn_config_dll npptools enable_npptools
18161 wine_fn_config_dll ntdll enable_ntdll implib
18162 wine_fn_config_test dlls/ntdll/tests ntdll_test
18163 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18164 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18165 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18166 wine_fn_config_dll ntprint enable_ntprint
18167 wine_fn_config_test dlls/ntprint/tests ntprint_test
18168 wine_fn_config_dll objsel enable_objsel clean
18169 wine_fn_config_dll odbc32 enable_odbc32 implib
18170 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18171 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18172 wine_fn_config_dll odbccu32 enable_odbccu32
18173 wine_fn_config_dll ole2.dll16 enable_win16
18174 wine_fn_config_dll ole2conv.dll16 enable_win16
18175 wine_fn_config_dll ole2disp.dll16 enable_win16
18176 wine_fn_config_dll ole2nls.dll16 enable_win16
18177 wine_fn_config_dll ole2prox.dll16 enable_win16
18178 wine_fn_config_dll ole2thk.dll16 enable_win16
18179 wine_fn_config_dll ole32 enable_ole32 clean,implib
18180 wine_fn_config_test dlls/ole32/tests ole32_test
18181 wine_fn_config_dll oleacc enable_oleacc clean,implib
18182 wine_fn_config_test dlls/oleacc/tests oleacc_test
18183 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18184 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18185 wine_fn_config_dll olecli.dll16 enable_win16
18186 wine_fn_config_dll olecli32 enable_olecli32 implib
18187 wine_fn_config_dll oledb32 enable_oledb32 clean
18188 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18189 wine_fn_config_dll oledlg enable_oledlg clean,implib
18190 wine_fn_config_test dlls/oledlg/tests oledlg_test
18191 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18192 wine_fn_config_dll olesvr.dll16 enable_win16
18193 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18194 wine_fn_config_dll olethk32 enable_olethk32
18195 wine_fn_config_dll openal32 enable_openal32
18196 wine_fn_config_dll opencl enable_opencl
18197 wine_fn_config_dll opengl32 enable_opengl32 implib
18198 wine_fn_config_test dlls/opengl32/tests opengl32_test
18199 wine_fn_config_dll packager enable_packager clean
18200 wine_fn_config_test dlls/packager/tests packager_test
18201 wine_fn_config_dll pdh enable_pdh implib
18202 wine_fn_config_test dlls/pdh/tests pdh_test
18203 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18204 wine_fn_config_dll pidgen enable_pidgen
18205 wine_fn_config_dll powrprof enable_powrprof implib
18206 wine_fn_config_dll printui enable_printui
18207 wine_fn_config_dll prntvpt enable_prntvpt
18208 wine_fn_config_dll propsys enable_propsys clean,implib
18209 wine_fn_config_test dlls/propsys/tests propsys_test
18210 wine_fn_config_dll psapi enable_psapi implib
18211 wine_fn_config_test dlls/psapi/tests psapi_test
18212 wine_fn_config_dll pstorec enable_pstorec clean
18213 wine_fn_config_dll qcap enable_qcap
18214 wine_fn_config_test dlls/qcap/tests qcap_test
18215 wine_fn_config_dll qedit enable_qedit clean
18216 wine_fn_config_test dlls/qedit/tests qedit_test
18217 wine_fn_config_dll qmgr enable_qmgr clean
18218 wine_fn_config_test dlls/qmgr/tests qmgr_test
18219 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18220 wine_fn_config_dll quartz enable_quartz clean,implib
18221 wine_fn_config_test dlls/quartz/tests quartz_test clean
18222 wine_fn_config_dll query enable_query
18223 wine_fn_config_dll rasapi16.dll16 enable_win16
18224 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18225 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18226 wine_fn_config_dll rasdlg enable_rasdlg implib
18227 wine_fn_config_dll regapi enable_regapi
18228 wine_fn_config_dll resutils enable_resutils implib
18229 wine_fn_config_dll riched20 enable_riched20 clean,implib
18230 wine_fn_config_test dlls/riched20/tests riched20_test
18231 wine_fn_config_dll riched32 enable_riched32
18232 wine_fn_config_test dlls/riched32/tests riched32_test
18233 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18234 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18235 wine_fn_config_dll rsabase enable_rsabase
18236 wine_fn_config_dll rsaenh enable_rsaenh implib
18237 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18238 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18239 wine_fn_config_dll rtutils enable_rtutils implib
18240 wine_fn_config_dll samlib enable_samlib
18241 wine_fn_config_dll sane.ds enable_sane_ds clean
18242 wine_fn_config_dll scarddlg enable_scarddlg
18243 wine_fn_config_dll sccbase enable_sccbase
18244 wine_fn_config_dll schannel enable_schannel
18245 wine_fn_config_test dlls/schannel/tests schannel_test
18246 wine_fn_config_dll schedsvc enable_schedsvc clean
18247 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18248 wine_fn_config_dll scrrun enable_scrrun clean
18249 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18250 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18251 wine_fn_config_dll secur32 enable_secur32 implib
18252 wine_fn_config_test dlls/secur32/tests secur32_test
18253 wine_fn_config_dll security enable_security
18254 wine_fn_config_dll sensapi enable_sensapi implib
18255 wine_fn_config_dll serialui enable_serialui clean
18256 wine_fn_config_test dlls/serialui/tests serialui_test
18257 wine_fn_config_dll setupapi enable_setupapi clean,implib
18258 wine_fn_config_test dlls/setupapi/tests setupapi_test
18259 wine_fn_config_dll setupx.dll16 enable_win16
18260 wine_fn_config_dll sfc enable_sfc implib
18261 wine_fn_config_dll sfc_os enable_sfc_os implib
18262 wine_fn_config_dll shdoclc enable_shdoclc clean
18263 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18264 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18265 wine_fn_config_dll shell.dll16 enable_win16
18266 wine_fn_config_dll shell32 enable_shell32 clean,implib
18267 wine_fn_config_test dlls/shell32/tests shell32_test
18268 wine_fn_config_dll shfolder enable_shfolder implib
18269 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18270 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18271 wine_fn_config_dll slbcsp enable_slbcsp
18272 wine_fn_config_dll slc enable_slc implib
18273 wine_fn_config_test dlls/slc/tests slc_test
18274 wine_fn_config_dll snmpapi enable_snmpapi implib
18275 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18276 wine_fn_config_dll softpub enable_softpub
18277 wine_fn_config_dll sound.drv16 enable_win16
18278 wine_fn_config_dll spoolss enable_spoolss implib
18279 wine_fn_config_test dlls/spoolss/tests spoolss_test
18280 wine_fn_config_dll sspicli enable_sspicli
18281 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18282 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18283 wine_fn_config_dll sti enable_sti clean,implib
18284 wine_fn_config_test dlls/sti/tests sti_test
18285 wine_fn_config_dll storage.dll16 enable_win16
18286 wine_fn_config_dll stress.dll16 enable_win16
18287 wine_fn_config_lib strmbase
18288 wine_fn_config_lib strmiids
18289 wine_fn_config_dll svrapi enable_svrapi
18290 wine_fn_config_dll sxs enable_sxs implib
18291 wine_fn_config_test dlls/sxs/tests sxs_test
18292 wine_fn_config_dll system.drv16 enable_win16
18293 wine_fn_config_dll t2embed enable_t2embed implib
18294 wine_fn_config_test dlls/t2embed/tests t2embed_test
18295 wine_fn_config_dll tapi32 enable_tapi32 implib
18296 wine_fn_config_dll taskschd enable_taskschd clean
18297 wine_fn_config_test dlls/taskschd/tests taskschd_test
18298 wine_fn_config_dll tdi.sys enable_tdi_sys
18299 wine_fn_config_dll toolhelp.dll16 enable_win16
18300 wine_fn_config_dll traffic enable_traffic
18301 wine_fn_config_dll twain.dll16 enable_win16
18302 wine_fn_config_dll twain_32 enable_twain_32
18303 wine_fn_config_test dlls/twain_32/tests twain_32_test
18304 wine_fn_config_dll typelib.dll16 enable_win16
18305 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18306 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18307 wine_fn_config_dll unicows enable_unicows implib
18308 wine_fn_config_dll updspapi enable_updspapi
18309 wine_fn_config_dll url enable_url implib
18310 wine_fn_config_dll urlmon enable_urlmon clean,implib
18311 wine_fn_config_test dlls/urlmon/tests urlmon_test
18312 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18313 wine_fn_config_dll user.exe16 enable_win16
18314 wine_fn_config_dll user32 enable_user32 clean,implib
18315 wine_fn_config_test dlls/user32/tests user32_test
18316 wine_fn_config_dll userenv enable_userenv implib
18317 wine_fn_config_test dlls/userenv/tests userenv_test
18318 wine_fn_config_dll usp10 enable_usp10 implib
18319 wine_fn_config_test dlls/usp10/tests usp10_test
18320 wine_fn_config_lib uuid
18321 wine_fn_config_dll uxtheme enable_uxtheme implib
18322 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18323 wine_fn_config_dll vbscript enable_vbscript clean
18324 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18325 wine_fn_config_dll vcomp enable_vcomp
18326 wine_fn_config_test dlls/vcomp/tests vcomp_test
18327 wine_fn_config_dll vcomp100 enable_vcomp100
18328 wine_fn_config_dll vcomp110 enable_vcomp110
18329 wine_fn_config_dll vcomp120 enable_vcomp120
18330 wine_fn_config_dll vcomp140 enable_vcomp140
18331 wine_fn_config_dll vcomp90 enable_vcomp90
18332 wine_fn_config_dll vcruntime140 enable_vcruntime140
18333 wine_fn_config_dll vdhcp.vxd enable_win16
18334 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18335 wine_fn_config_dll ver.dll16 enable_win16
18336 wine_fn_config_dll version enable_version implib
18337 wine_fn_config_test dlls/version/tests version_test
18338 wine_fn_config_dll vmm.vxd enable_win16
18339 wine_fn_config_dll vnbt.vxd enable_win16
18340 wine_fn_config_dll vnetbios.vxd enable_win16
18341 wine_fn_config_dll vssapi enable_vssapi
18342 wine_fn_config_dll vtdapi.vxd enable_win16
18343 wine_fn_config_dll vwin32.vxd enable_win16
18344 wine_fn_config_dll w32skrnl enable_win16
18345 wine_fn_config_dll w32sys.dll16 enable_win16
18346 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18347 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18348 wine_fn_config_dll wbemprox enable_wbemprox clean
18349 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18350 wine_fn_config_dll webservices enable_webservices implib
18351 wine_fn_config_test dlls/webservices/tests webservices_test
18352 wine_fn_config_dll wer enable_wer implib
18353 wine_fn_config_test dlls/wer/tests wer_test
18354 wine_fn_config_dll wevtapi enable_wevtapi
18355 wine_fn_config_dll wiaservc enable_wiaservc clean
18356 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18357 wine_fn_config_dll wimgapi enable_wimgapi
18358 wine_fn_config_dll win32s16.dll16 enable_win16
18359 wine_fn_config_dll win87em.dll16 enable_win16
18360 wine_fn_config_dll winaspi.dll16 enable_win16
18361 wine_fn_config_dll windebug.dll16 enable_win16
18362 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18363 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18364 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18365 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18366 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18367 wine_fn_config_dll winebus.sys enable_winebus_sys
18368 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18369 wine_fn_config_lib winecrt0
18370 wine_fn_config_dll wined3d enable_wined3d implib
18371 wine_fn_config_dll winegstreamer enable_winegstreamer
18372 wine_fn_config_dll winehid.sys enable_winehid_sys
18373 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18374 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18375 wine_fn_config_dll winemapi enable_winemapi
18376 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18377 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18378 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18379 wine_fn_config_dll wineps16.drv16 enable_win16
18380 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18381 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18382 wine_fn_config_dll winex11.drv enable_winex11_drv
18383 wine_fn_config_dll wing.dll16 enable_win16
18384 wine_fn_config_dll wing32 enable_wing32
18385 wine_fn_config_dll winhttp enable_winhttp clean,implib
18386 wine_fn_config_test dlls/winhttp/tests winhttp_test
18387 wine_fn_config_dll wininet enable_wininet clean,implib
18388 wine_fn_config_test dlls/wininet/tests wininet_test
18389 wine_fn_config_dll winmm enable_winmm clean,implib
18390 wine_fn_config_test dlls/winmm/tests winmm_test
18391 wine_fn_config_dll winnls.dll16 enable_win16
18392 wine_fn_config_dll winnls32 enable_winnls32 implib
18393 wine_fn_config_dll winscard enable_winscard implib
18394 wine_fn_config_dll winsock.dll16 enable_win16
18395 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18396 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18397 wine_fn_config_dll winsta enable_winsta
18398 wine_fn_config_dll wintab.dll16 enable_win16
18399 wine_fn_config_dll wintab32 enable_wintab32 implib
18400 wine_fn_config_test dlls/wintab32/tests wintab32_test
18401 wine_fn_config_dll wintrust enable_wintrust implib
18402 wine_fn_config_test dlls/wintrust/tests wintrust_test
18403 wine_fn_config_dll wlanapi enable_wlanapi
18404 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18405 wine_fn_config_test dlls/wldap32/tests wldap32_test
18406 wine_fn_config_dll wmasf enable_wmasf
18407 wine_fn_config_dll wmi enable_wmi
18408 wine_fn_config_dll wmiutils enable_wmiutils clean
18409 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18410 wine_fn_config_dll wmp enable_wmp clean
18411 wine_fn_config_test dlls/wmp/tests wmp_test
18412 wine_fn_config_dll wmvcore enable_wmvcore
18413 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18414 wine_fn_config_dll wow32 enable_win16 implib
18415 wine_fn_config_dll wpc enable_wpc clean
18416 wine_fn_config_test dlls/wpc/tests wpc_test
18417 wine_fn_config_dll wpcap enable_wpcap
18418 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18419 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18420 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18421 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18422 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18423 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18424 wine_fn_config_dll wsock32 enable_wsock32 implib
18425 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18426 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18427 wine_fn_config_dll wuapi enable_wuapi clean
18428 wine_fn_config_dll wuaueng enable_wuaueng
18429 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18430 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18431 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18432 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18433 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18434 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18435 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18436 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18437 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18438 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18439 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18440 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18441 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18442 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18443 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18444 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18445 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18446 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18447 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18448 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18449 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18450 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18451 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18452 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18453 wine_fn_config_dll xinput1_1 enable_xinput1_1
18454 wine_fn_config_dll xinput1_2 enable_xinput1_2
18455 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18456 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18457 wine_fn_config_dll xinput1_4 enable_xinput1_4
18458 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18459 wine_fn_config_dll xmllite enable_xmllite implib
18460 wine_fn_config_test dlls/xmllite/tests xmllite_test
18461 wine_fn_config_dll xolehlp enable_xolehlp
18462 wine_fn_config_dll xpsprint enable_xpsprint
18463 wine_fn_config_dll xpssvcs enable_xpssvcs
18464 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18465 wine_fn_config_makefile include enable_include clean,install-dev
18466 wine_fn_config_makefile libs/port enable_libs_port
18467 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18468 wine_fn_config_makefile libs/wpp enable_libs_wpp
18469 wine_fn_config_makefile loader enable_loader clean,install-lib
18470 wine_fn_config_makefile po enable_po clean
18471 wine_fn_config_program arp enable_arp install
18472 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18473 wine_fn_config_program attrib enable_attrib clean,install
18474 wine_fn_config_program cabarc enable_cabarc install
18475 wine_fn_config_program cacls enable_cacls install
18476 wine_fn_config_program clock enable_clock clean,install
18477 wine_fn_config_program cmd enable_cmd clean,install
18478 wine_fn_config_test programs/cmd/tests cmd.exe_test
18479 wine_fn_config_program conhost enable_conhost install
18480 wine_fn_config_program control enable_control install
18481 wine_fn_config_program cscript enable_cscript clean,install
18482 wine_fn_config_program dpnsvr enable_dpnsvr install
18483 wine_fn_config_program dxdiag enable_dxdiag clean,install
18484 wine_fn_config_program eject enable_eject install
18485 wine_fn_config_program expand enable_expand install
18486 wine_fn_config_program explorer enable_explorer clean,install
18487 wine_fn_config_program extrac32 enable_extrac32 install
18488 wine_fn_config_program findstr enable_findstr install
18489 wine_fn_config_program fsutil enable_fsutil install
18490 wine_fn_config_program hh enable_hh install
18491 wine_fn_config_program hostname enable_hostname clean,install
18492 wine_fn_config_program icacls enable_icacls install
18493 wine_fn_config_program icinfo enable_icinfo install
18494 wine_fn_config_program iexplore enable_iexplore install
18495 wine_fn_config_program ipconfig enable_ipconfig clean,install
18496 wine_fn_config_program lodctr enable_lodctr install
18497 wine_fn_config_program mofcomp enable_mofcomp install
18498 wine_fn_config_program mshta enable_mshta install
18499 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18500 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18501 wine_fn_config_program net enable_net clean,install
18502 wine_fn_config_program netsh enable_netsh install
18503 wine_fn_config_program netstat enable_netstat clean,install
18504 wine_fn_config_program ngen enable_ngen install
18505 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18506 wine_fn_config_program oleview enable_oleview clean,install
18507 wine_fn_config_program ping enable_ping install
18508 wine_fn_config_program plugplay enable_plugplay install
18509 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18510 wine_fn_config_program progman enable_progman clean,install
18511 wine_fn_config_program reg enable_reg clean,install
18512 wine_fn_config_test programs/reg/tests reg.exe_test
18513 wine_fn_config_program regasm enable_regasm install
18514 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18515 wine_fn_config_test programs/regedit/tests regedit.exe_test
18516 wine_fn_config_program regsvcs enable_regsvcs install
18517 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18518 wine_fn_config_program rpcss enable_rpcss clean,install
18519 wine_fn_config_program rundll.exe16 enable_win16 install
18520 wine_fn_config_program rundll32 enable_rundll32 install
18521 wine_fn_config_program sc enable_sc install
18522 wine_fn_config_program schtasks enable_schtasks install
18523 wine_fn_config_program sdbinst enable_sdbinst install
18524 wine_fn_config_program secedit enable_secedit install
18525 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18526 wine_fn_config_program services enable_services clean,install
18527 wine_fn_config_test programs/services/tests services.exe_test
18528 wine_fn_config_program shutdown enable_shutdown install
18529 wine_fn_config_program spoolsv enable_spoolsv install
18530 wine_fn_config_program start enable_start clean,install
18531 wine_fn_config_program subst enable_subst install
18532 wine_fn_config_program svchost enable_svchost install
18533 wine_fn_config_program systeminfo enable_systeminfo install
18534 wine_fn_config_program taskkill enable_taskkill clean,install
18535 wine_fn_config_program tasklist enable_tasklist install
18536 wine_fn_config_program taskmgr enable_taskmgr clean,install
18537 wine_fn_config_program termsv enable_termsv install
18538 wine_fn_config_program uninstaller enable_uninstaller clean,install
18539 wine_fn_config_program unlodctr enable_unlodctr install
18540 wine_fn_config_program view enable_view clean,install
18541 wine_fn_config_program wevtutil enable_wevtutil install
18542 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18543 wine_fn_config_program winebrowser enable_winebrowser install
18544 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18545 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18546 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18547 wine_fn_config_program winedevice enable_winedevice install
18548 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18549 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18550 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18551 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18552 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18553 wine_fn_config_program winetest enable_winetest clean
18554 wine_fn_config_program winevdm enable_win16 install
18555 wine_fn_config_program winhelp.exe16 enable_win16 install
18556 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18557 wine_fn_config_program winoldap.mod16 enable_win16 install
18558 wine_fn_config_program winver enable_winver install
18559 wine_fn_config_program wmic enable_wmic clean,install
18560 wine_fn_config_program wmplayer enable_wmplayer install
18561 wine_fn_config_program wordpad enable_wordpad clean,install
18562 wine_fn_config_program write enable_write clean,install
18563 wine_fn_config_program wscript enable_wscript clean,install
18564 wine_fn_config_test programs/wscript/tests wscript.exe_test
18565 wine_fn_config_program wusa enable_wusa install
18566 wine_fn_config_program xcopy enable_xcopy clean,install
18567 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18568 wine_fn_config_makefile server enable_server clean,install-lib
18569 wine_fn_config_tool tools clean
18570 wine_fn_config_tool tools/sfnt2fon clean
18571 wine_fn_config_tool tools/widl clean,install-dev
18572 wine_fn_config_tool tools/winebuild clean,install-dev
18573 wine_fn_config_tool tools/winedump clean,install-dev
18574 wine_fn_config_tool tools/winegcc clean,install-dev
18575 wine_fn_config_tool tools/winemaker clean,install-dev
18576 wine_fn_config_tool tools/wmc clean,install-dev
18577 wine_fn_config_tool tools/wrc clean,install-dev
18580 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18581 wine_fn_append_file CONFIGURE_TARGETS "tags"
18582 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18583 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18584 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18585 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18586 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18587 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18589 if test "x$enable_tools" != xno
18590 then
18591 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18592 ac_config_commands="$ac_config_commands tools/makedep"
18596 ac_config_commands="$ac_config_commands Makefile"
18599 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18603 if test "x$enable_maintainer_mode" = xyes
18604 then
18605 wine_fn_append_rule "configure: configure.ac aclocal.m4
18606 autoconf --warnings=all
18607 include/config.h.in: include/stamp-h.in
18608 include/stamp-h.in: configure.ac aclocal.m4
18609 autoheader --warnings=all
18610 @echo timestamp > \$@"
18613 if test "x$enable_tools" != xno
18614 then
18615 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18616 @./config.status tools/makedep
18617 Makefile: tools/makedep$ac_exeext"
18618 else
18619 wine_fn_append_rule "\$(MAKEDEP):
18620 @echo \"You need to run make in $TOOLSDIR first\" && false"
18623 if test -n "$with_wine64"
18624 then
18625 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18626 fonts server:
18627 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18628 $with_wine64/loader/wine:
18629 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18630 $with_wine64/loader/wine-preloader:
18631 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18632 clean::
18633 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18634 else
18635 WINELOADER_INSTALL="wine.inf"
18637 wine_fn_append_rule "install install-lib::
18638 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18639 uninstall::
18640 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18641 case $host_os in
18642 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18643 *) wine_fn_append_rule "install install-lib::
18644 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18645 uninstall::
18646 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18647 esac
18650 $as_echo " done" >&6
18651 cat >confcache <<\_ACEOF
18652 # This file is a shell script that caches the results of configure
18653 # tests run on this system so they can be shared between configure
18654 # scripts and configure runs, see configure's option --config-cache.
18655 # It is not useful on other systems. If it contains results you don't
18656 # want to keep, you may remove or edit it.
18658 # config.status only pays attention to the cache file if you give it
18659 # the --recheck option to rerun configure.
18661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18663 # following values.
18665 _ACEOF
18667 # The following way of writing the cache mishandles newlines in values,
18668 # but we know of no workaround that is simple, portable, and efficient.
18669 # So, we kill variables containing newlines.
18670 # Ultrix sh set writes to stderr and can't be redirected directly,
18671 # and sets the high bit in the cache file unless we assign to the vars.
18673 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18674 eval ac_val=\$$ac_var
18675 case $ac_val in #(
18676 *${as_nl}*)
18677 case $ac_var in #(
18678 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18680 esac
18681 case $ac_var in #(
18682 _ | IFS | as_nl) ;; #(
18683 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18684 *) { eval $ac_var=; unset $ac_var;} ;;
18685 esac ;;
18686 esac
18687 done
18689 (set) 2>&1 |
18690 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18691 *${as_nl}ac_space=\ *)
18692 # `set' does not quote correctly, so add quotes: double-quote
18693 # substitution turns \\\\ into \\, and sed turns \\ into \.
18694 sed -n \
18695 "s/'/'\\\\''/g;
18696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18697 ;; #(
18699 # `set' quotes correctly as required by POSIX, so do not add quotes.
18700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18702 esac |
18703 sort
18705 sed '
18706 /^ac_cv_env_/b end
18707 t clear
18708 :clear
18709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18710 t end
18711 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18712 :end' >>confcache
18713 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18714 if test -w "$cache_file"; then
18715 if test "x$cache_file" != "x/dev/null"; then
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18717 $as_echo "$as_me: updating cache $cache_file" >&6;}
18718 if test ! -f "$cache_file" || test -h "$cache_file"; then
18719 cat confcache >"$cache_file"
18720 else
18721 case $cache_file in #(
18722 */* | ?:*)
18723 mv -f confcache "$cache_file"$$ &&
18724 mv -f "$cache_file"$$ "$cache_file" ;; #(
18726 mv -f confcache "$cache_file" ;;
18727 esac
18730 else
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18732 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18735 rm -f confcache
18737 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18738 # Let make expand exec_prefix.
18739 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18741 DEFS=-DHAVE_CONFIG_H
18743 ac_libobjs=
18744 ac_ltlibobjs=
18746 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18747 # 1. Remove the extension, and $U if already installed.
18748 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18749 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18750 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18751 # will be set to the directory where LIBOBJS objects are built.
18752 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18753 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18754 done
18755 LIBOBJS=$ac_libobjs
18757 LTLIBOBJS=$ac_ltlibobjs
18761 : "${CONFIG_STATUS=./config.status}"
18762 ac_write_fail=0
18763 ac_clean_files_save=$ac_clean_files
18764 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18766 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18767 as_write_fail=0
18768 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18769 #! $SHELL
18770 # Generated by $as_me.
18771 # Run this file to recreate the current configuration.
18772 # Compiler output produced by configure, useful for debugging
18773 # configure, is in config.log if it exists.
18775 debug=false
18776 ac_cs_recheck=false
18777 ac_cs_silent=false
18779 SHELL=\${CONFIG_SHELL-$SHELL}
18780 export SHELL
18781 _ASEOF
18782 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18783 ## -------------------- ##
18784 ## M4sh Initialization. ##
18785 ## -------------------- ##
18787 # Be more Bourne compatible
18788 DUALCASE=1; export DUALCASE # for MKS sh
18789 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18790 emulate sh
18791 NULLCMD=:
18792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18793 # is contrary to our usage. Disable this feature.
18794 alias -g '${1+"$@"}'='"$@"'
18795 setopt NO_GLOB_SUBST
18796 else
18797 case `(set -o) 2>/dev/null` in #(
18798 *posix*) :
18799 set -o posix ;; #(
18800 *) :
18802 esac
18806 as_nl='
18808 export as_nl
18809 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18810 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18813 # Prefer a ksh shell builtin over an external printf program on Solaris,
18814 # but without wasting forks for bash or zsh.
18815 if test -z "$BASH_VERSION$ZSH_VERSION" \
18816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18817 as_echo='print -r --'
18818 as_echo_n='print -rn --'
18819 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18820 as_echo='printf %s\n'
18821 as_echo_n='printf %s'
18822 else
18823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18824 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18825 as_echo_n='/usr/ucb/echo -n'
18826 else
18827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18828 as_echo_n_body='eval
18829 arg=$1;
18830 case $arg in #(
18831 *"$as_nl"*)
18832 expr "X$arg" : "X\\(.*\\)$as_nl";
18833 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18834 esac;
18835 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18837 export as_echo_n_body
18838 as_echo_n='sh -c $as_echo_n_body as_echo'
18840 export as_echo_body
18841 as_echo='sh -c $as_echo_body as_echo'
18844 # The user is always right.
18845 if test "${PATH_SEPARATOR+set}" != set; then
18846 PATH_SEPARATOR=:
18847 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18848 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18849 PATH_SEPARATOR=';'
18854 # IFS
18855 # We need space, tab and new line, in precisely that order. Quoting is
18856 # there to prevent editors from complaining about space-tab.
18857 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18858 # splitting by setting IFS to empty value.)
18859 IFS=" "" $as_nl"
18861 # Find who we are. Look in the path if we contain no directory separator.
18862 as_myself=
18863 case $0 in #((
18864 *[\\/]* ) as_myself=$0 ;;
18865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18866 for as_dir in $PATH
18868 IFS=$as_save_IFS
18869 test -z "$as_dir" && as_dir=.
18870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18871 done
18872 IFS=$as_save_IFS
18875 esac
18876 # We did not find ourselves, most probably we were run as `sh COMMAND'
18877 # in which case we are not to be found in the path.
18878 if test "x$as_myself" = x; then
18879 as_myself=$0
18881 if test ! -f "$as_myself"; then
18882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18883 exit 1
18886 # Unset variables that we do not need and which cause bugs (e.g. in
18887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18888 # suppresses any "Segmentation fault" message there. '((' could
18889 # trigger a bug in pdksh 5.2.14.
18890 for as_var in BASH_ENV ENV MAIL MAILPATH
18891 do eval test x\${$as_var+set} = xset \
18892 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18893 done
18894 PS1='$ '
18895 PS2='> '
18896 PS4='+ '
18898 # NLS nuisances.
18899 LC_ALL=C
18900 export LC_ALL
18901 LANGUAGE=C
18902 export LANGUAGE
18904 # CDPATH.
18905 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18908 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18909 # ----------------------------------------
18910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18912 # script with STATUS, using 1 if that was 0.
18913 as_fn_error ()
18915 as_status=$1; test $as_status -eq 0 && as_status=1
18916 if test "$4"; then
18917 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18920 $as_echo "$as_me: error: $2" >&2
18921 as_fn_exit $as_status
18922 } # as_fn_error
18925 # as_fn_set_status STATUS
18926 # -----------------------
18927 # Set $? to STATUS, without forking.
18928 as_fn_set_status ()
18930 return $1
18931 } # as_fn_set_status
18933 # as_fn_exit STATUS
18934 # -----------------
18935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18936 as_fn_exit ()
18938 set +e
18939 as_fn_set_status $1
18940 exit $1
18941 } # as_fn_exit
18943 # as_fn_unset VAR
18944 # ---------------
18945 # Portably unset VAR.
18946 as_fn_unset ()
18948 { eval $1=; unset $1;}
18950 as_unset=as_fn_unset
18951 # as_fn_append VAR VALUE
18952 # ----------------------
18953 # Append the text in VALUE to the end of the definition contained in VAR. Take
18954 # advantage of any shell optimizations that allow amortized linear growth over
18955 # repeated appends, instead of the typical quadratic growth present in naive
18956 # implementations.
18957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18958 eval 'as_fn_append ()
18960 eval $1+=\$2
18962 else
18963 as_fn_append ()
18965 eval $1=\$$1\$2
18967 fi # as_fn_append
18969 # as_fn_arith ARG...
18970 # ------------------
18971 # Perform arithmetic evaluation on the ARGs, and store the result in the
18972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18973 # must be portable across $(()) and expr.
18974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18975 eval 'as_fn_arith ()
18977 as_val=$(( $* ))
18979 else
18980 as_fn_arith ()
18982 as_val=`expr "$@" || test $? -eq 1`
18984 fi # as_fn_arith
18987 if expr a : '\(a\)' >/dev/null 2>&1 &&
18988 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18989 as_expr=expr
18990 else
18991 as_expr=false
18994 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18995 as_basename=basename
18996 else
18997 as_basename=false
19000 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19001 as_dirname=dirname
19002 else
19003 as_dirname=false
19006 as_me=`$as_basename -- "$0" ||
19007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19008 X"$0" : 'X\(//\)$' \| \
19009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19010 $as_echo X/"$0" |
19011 sed '/^.*\/\([^/][^/]*\)\/*$/{
19012 s//\1/
19015 /^X\/\(\/\/\)$/{
19016 s//\1/
19019 /^X\/\(\/\).*/{
19020 s//\1/
19023 s/.*/./; q'`
19025 # Avoid depending upon Character Ranges.
19026 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19029 as_cr_digits='0123456789'
19030 as_cr_alnum=$as_cr_Letters$as_cr_digits
19032 ECHO_C= ECHO_N= ECHO_T=
19033 case `echo -n x` in #(((((
19034 -n*)
19035 case `echo 'xy\c'` in
19036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19037 xy) ECHO_C='\c';;
19038 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19039 ECHO_T=' ';;
19040 esac;;
19042 ECHO_N='-n';;
19043 esac
19045 rm -f conf$$ conf$$.exe conf$$.file
19046 if test -d conf$$.dir; then
19047 rm -f conf$$.dir/conf$$.file
19048 else
19049 rm -f conf$$.dir
19050 mkdir conf$$.dir 2>/dev/null
19052 if (echo >conf$$.file) 2>/dev/null; then
19053 if ln -s conf$$.file conf$$ 2>/dev/null; then
19054 as_ln_s='ln -s'
19055 # ... but there are two gotchas:
19056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19058 # In both cases, we have to default to `cp -pR'.
19059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19060 as_ln_s='cp -pR'
19061 elif ln conf$$.file conf$$ 2>/dev/null; then
19062 as_ln_s=ln
19063 else
19064 as_ln_s='cp -pR'
19066 else
19067 as_ln_s='cp -pR'
19069 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19070 rmdir conf$$.dir 2>/dev/null
19073 # as_fn_mkdir_p
19074 # -------------
19075 # Create "$as_dir" as a directory, including parents if necessary.
19076 as_fn_mkdir_p ()
19079 case $as_dir in #(
19080 -*) as_dir=./$as_dir;;
19081 esac
19082 test -d "$as_dir" || eval $as_mkdir_p || {
19083 as_dirs=
19084 while :; do
19085 case $as_dir in #(
19086 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19087 *) as_qdir=$as_dir;;
19088 esac
19089 as_dirs="'$as_qdir' $as_dirs"
19090 as_dir=`$as_dirname -- "$as_dir" ||
19091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19092 X"$as_dir" : 'X\(//\)[^/]' \| \
19093 X"$as_dir" : 'X\(//\)$' \| \
19094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19095 $as_echo X"$as_dir" |
19096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19097 s//\1/
19100 /^X\(\/\/\)[^/].*/{
19101 s//\1/
19104 /^X\(\/\/\)$/{
19105 s//\1/
19108 /^X\(\/\).*/{
19109 s//\1/
19112 s/.*/./; q'`
19113 test -d "$as_dir" && break
19114 done
19115 test -z "$as_dirs" || eval "mkdir $as_dirs"
19116 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19119 } # as_fn_mkdir_p
19120 if mkdir -p . 2>/dev/null; then
19121 as_mkdir_p='mkdir -p "$as_dir"'
19122 else
19123 test -d ./-p && rmdir ./-p
19124 as_mkdir_p=false
19128 # as_fn_executable_p FILE
19129 # -----------------------
19130 # Test if FILE is an executable regular file.
19131 as_fn_executable_p ()
19133 test -f "$1" && test -x "$1"
19134 } # as_fn_executable_p
19135 as_test_x='test -x'
19136 as_executable_p=as_fn_executable_p
19138 # Sed expression to map a string onto a valid CPP name.
19139 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19141 # Sed expression to map a string onto a valid variable name.
19142 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19145 exec 6>&1
19146 ## ----------------------------------- ##
19147 ## Main body of $CONFIG_STATUS script. ##
19148 ## ----------------------------------- ##
19149 _ASEOF
19150 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19153 # Save the log message, to keep $0 and so on meaningful, and to
19154 # report actual input values of CONFIG_FILES etc. instead of their
19155 # values after options handling.
19156 ac_log="
19157 This file was extended by Wine $as_me 2.0.4, which was
19158 generated by GNU Autoconf 2.69. Invocation command line was
19160 CONFIG_FILES = $CONFIG_FILES
19161 CONFIG_HEADERS = $CONFIG_HEADERS
19162 CONFIG_LINKS = $CONFIG_LINKS
19163 CONFIG_COMMANDS = $CONFIG_COMMANDS
19164 $ $0 $@
19166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19169 _ACEOF
19171 case $ac_config_files in *"
19172 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19173 esac
19175 case $ac_config_headers in *"
19176 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19177 esac
19180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19181 # Files that config.status was made for.
19182 config_files="$ac_config_files"
19183 config_headers="$ac_config_headers"
19184 config_links="$ac_config_links"
19185 config_commands="$ac_config_commands"
19187 _ACEOF
19189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19190 ac_cs_usage="\
19191 \`$as_me' instantiates files and other configuration actions
19192 from templates according to the current configuration. Unless the files
19193 and actions are specified as TAGs, all are instantiated by default.
19195 Usage: $0 [OPTION]... [TAG]...
19197 -h, --help print this help, then exit
19198 -V, --version print version number and configuration settings, then exit
19199 --config print configuration, then exit
19200 -q, --quiet, --silent
19201 do not print progress messages
19202 -d, --debug don't remove temporary files
19203 --recheck update $as_me by reconfiguring in the same conditions
19204 --file=FILE[:TEMPLATE]
19205 instantiate the configuration file FILE
19206 --header=FILE[:TEMPLATE]
19207 instantiate the configuration header FILE
19209 Configuration files:
19210 $config_files
19212 Configuration headers:
19213 $config_headers
19215 Configuration links:
19216 $config_links
19218 Configuration commands:
19219 $config_commands
19221 Report bugs to <wine-devel@winehq.org>.
19222 Wine home page: <https://www.winehq.org>."
19224 _ACEOF
19225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19226 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19227 ac_cs_version="\\
19228 Wine config.status 2.0.4
19229 configured by $0, generated by GNU Autoconf 2.69,
19230 with options \\"\$ac_cs_config\\"
19232 Copyright (C) 2012 Free Software Foundation, Inc.
19233 This config.status script is free software; the Free Software Foundation
19234 gives unlimited permission to copy, distribute and modify it."
19236 ac_pwd='$ac_pwd'
19237 srcdir='$srcdir'
19238 test -n "\$AWK" || AWK=awk
19239 _ACEOF
19241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19242 # The default lists apply if the user does not specify any file.
19243 ac_need_defaults=:
19244 while test $# != 0
19246 case $1 in
19247 --*=?*)
19248 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19249 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19250 ac_shift=:
19252 --*=)
19253 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19254 ac_optarg=
19255 ac_shift=:
19258 ac_option=$1
19259 ac_optarg=$2
19260 ac_shift=shift
19262 esac
19264 case $ac_option in
19265 # Handling of the options.
19266 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19267 ac_cs_recheck=: ;;
19268 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19269 $as_echo "$ac_cs_version"; exit ;;
19270 --config | --confi | --conf | --con | --co | --c )
19271 $as_echo "$ac_cs_config"; exit ;;
19272 --debug | --debu | --deb | --de | --d | -d )
19273 debug=: ;;
19274 --file | --fil | --fi | --f )
19275 $ac_shift
19276 case $ac_optarg in
19277 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19278 '') as_fn_error $? "missing file argument" ;;
19279 esac
19280 as_fn_append CONFIG_FILES " '$ac_optarg'"
19281 ac_need_defaults=false;;
19282 --header | --heade | --head | --hea )
19283 $ac_shift
19284 case $ac_optarg in
19285 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19286 esac
19287 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19288 ac_need_defaults=false;;
19289 --he | --h)
19290 # Conflict between --help and --header
19291 as_fn_error $? "ambiguous option: \`$1'
19292 Try \`$0 --help' for more information.";;
19293 --help | --hel | -h )
19294 $as_echo "$ac_cs_usage"; exit ;;
19295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19296 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19297 ac_cs_silent=: ;;
19299 # This is an error.
19300 -*) as_fn_error $? "unrecognized option: \`$1'
19301 Try \`$0 --help' for more information." ;;
19303 *) as_fn_append ac_config_targets " $1"
19304 ac_need_defaults=false ;;
19306 esac
19307 shift
19308 done
19310 ac_configure_extra_args=
19312 if $ac_cs_silent; then
19313 exec 6>/dev/null
19314 ac_configure_extra_args="$ac_configure_extra_args --silent"
19317 _ACEOF
19318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19319 if \$ac_cs_recheck; then
19320 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19321 shift
19322 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19323 CONFIG_SHELL='$SHELL'
19324 export CONFIG_SHELL
19325 exec "\$@"
19328 _ACEOF
19329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19330 exec 5>>config.log
19332 echo
19333 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19334 ## Running $as_me. ##
19335 _ASBOX
19336 $as_echo "$ac_log"
19337 } >&5
19339 _ACEOF
19340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19342 # INIT-COMMANDS
19344 wine_fn_output_makedep ()
19346 as_dir=tools; as_fn_mkdir_p
19347 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19349 wine_fn_output_makefile ()
19351 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19352 `cat $wine_rules_file`
19353 _WINE_EOF
19354 as_fn_error $? "could not create Makefile" "$LINENO" 5
19357 _ACEOF
19359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19361 # Handling of arguments.
19362 for ac_config_target in $ac_config_targets
19364 case $ac_config_target in
19365 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19366 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19367 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19368 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19369 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19370 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19371 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19372 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19373 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19374 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19375 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19376 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19377 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19379 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19380 esac
19381 done
19384 # If the user did not use the arguments to specify the items to instantiate,
19385 # then the envvar interface is used. Set only those that are not.
19386 # We use the long form for the default assignment because of an extremely
19387 # bizarre bug on SunOS 4.1.3.
19388 if $ac_need_defaults; then
19389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19391 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19392 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19395 # Have a temporary directory for convenience. Make it in the build tree
19396 # simply because there is no reason against having it here, and in addition,
19397 # creating and moving files from /tmp can sometimes cause problems.
19398 # Hook for its removal unless debugging.
19399 # Note that there is a small window in which the directory will not be cleaned:
19400 # after its creation but before its name has been assigned to `$tmp'.
19401 $debug ||
19403 tmp= ac_tmp=
19404 trap 'exit_status=$?
19405 : "${ac_tmp:=$tmp}"
19406 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19408 trap 'as_fn_exit 1' 1 2 13 15
19410 # Create a (secure) tmp directory for tmp files.
19413 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19414 test -d "$tmp"
19415 } ||
19417 tmp=./conf$$-$RANDOM
19418 (umask 077 && mkdir "$tmp")
19419 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19420 ac_tmp=$tmp
19422 # Set up the scripts for CONFIG_FILES section.
19423 # No need to generate them if there are no CONFIG_FILES.
19424 # This happens for instance with `./config.status config.h'.
19425 if test -n "$CONFIG_FILES"; then
19428 ac_cr=`echo X | tr X '\015'`
19429 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19430 # But we know of no other shell where ac_cr would be empty at this
19431 # point, so we can use a bashism as a fallback.
19432 if test "x$ac_cr" = x; then
19433 eval ac_cr=\$\'\\r\'
19435 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19436 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19437 ac_cs_awk_cr='\\r'
19438 else
19439 ac_cs_awk_cr=$ac_cr
19442 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19443 _ACEOF
19447 echo "cat >conf$$subs.awk <<_ACEOF" &&
19448 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19449 echo "_ACEOF"
19450 } >conf$$subs.sh ||
19451 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19452 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19453 ac_delim='%!_!# '
19454 for ac_last_try in false false false false false :; do
19455 . ./conf$$subs.sh ||
19456 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19458 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19459 if test $ac_delim_n = $ac_delim_num; then
19460 break
19461 elif $ac_last_try; then
19462 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19463 else
19464 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19466 done
19467 rm -f conf$$subs.sh
19469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19470 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19471 _ACEOF
19472 sed -n '
19474 s/^/S["/; s/!.*/"]=/
19477 s/^[^!]*!//
19478 :repl
19479 t repl
19480 s/'"$ac_delim"'$//
19481 t delim
19484 s/\(.\{148\}\)..*/\1/
19485 t more1
19486 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19489 b repl
19490 :more1
19491 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19494 s/.\{148\}//
19495 t nl
19496 :delim
19498 s/\(.\{148\}\)..*/\1/
19499 t more2
19500 s/["\\]/\\&/g; s/^/"/; s/$/"/
19503 :more2
19504 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19507 s/.\{148\}//
19508 t delim
19509 ' <conf$$subs.awk | sed '
19510 /^[^""]/{
19512 s/\n//
19514 ' >>$CONFIG_STATUS || ac_write_fail=1
19515 rm -f conf$$subs.awk
19516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19517 _ACAWK
19518 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19519 for (key in S) S_is_set[key] = 1
19520 FS = "\a"
19524 line = $ 0
19525 nfields = split(line, field, "@")
19526 substed = 0
19527 len = length(field[1])
19528 for (i = 2; i < nfields; i++) {
19529 key = field[i]
19530 keylen = length(key)
19531 if (S_is_set[key]) {
19532 value = S[key]
19533 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19534 len += length(value) + length(field[++i])
19535 substed = 1
19536 } else
19537 len += 1 + keylen
19540 print line
19543 _ACAWK
19544 _ACEOF
19545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19546 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19547 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19548 else
19550 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19551 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19552 _ACEOF
19554 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19555 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19556 # trailing colons and then remove the whole line if VPATH becomes empty
19557 # (actually we leave an empty line to preserve line numbers).
19558 if test "x$srcdir" = x.; then
19559 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19561 s///
19562 s/^/:/
19563 s/[ ]*$/:/
19564 s/:\$(srcdir):/:/g
19565 s/:\${srcdir}:/:/g
19566 s/:@srcdir@:/:/g
19567 s/^:*//
19568 s/:*$//
19570 s/\(=[ ]*\).*/\1/
19572 s/\n//
19573 s/^[^=]*=[ ]*$//
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19578 fi # test -n "$CONFIG_FILES"
19580 # Set up the scripts for CONFIG_HEADERS section.
19581 # No need to generate them if there are no CONFIG_HEADERS.
19582 # This happens for instance with `./config.status Makefile'.
19583 if test -n "$CONFIG_HEADERS"; then
19584 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19585 BEGIN {
19586 _ACEOF
19588 # Transform confdefs.h into an awk script `defines.awk', embedded as
19589 # here-document in config.status, that substitutes the proper values into
19590 # config.h.in to produce config.h.
19592 # Create a delimiter string that does not exist in confdefs.h, to ease
19593 # handling of long lines.
19594 ac_delim='%!_!# '
19595 for ac_last_try in false false :; do
19596 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19597 if test -z "$ac_tt"; then
19598 break
19599 elif $ac_last_try; then
19600 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19601 else
19602 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19604 done
19606 # For the awk script, D is an array of macro values keyed by name,
19607 # likewise P contains macro parameters if any. Preserve backslash
19608 # newline sequences.
19610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19611 sed -n '
19612 s/.\{148\}/&'"$ac_delim"'/g
19613 t rset
19614 :rset
19615 s/^[ ]*#[ ]*define[ ][ ]*/ /
19616 t def
19618 :def
19619 s/\\$//
19620 t bsnl
19621 s/["\\]/\\&/g
19622 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19623 D["\1"]=" \3"/p
19624 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19626 :bsnl
19627 s/["\\]/\\&/g
19628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19629 D["\1"]=" \3\\\\\\n"\\/p
19630 t cont
19631 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19632 t cont
19634 :cont
19636 s/.\{148\}/&'"$ac_delim"'/g
19637 t clear
19638 :clear
19639 s/\\$//
19640 t bsnlc
19641 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19643 :bsnlc
19644 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19645 b cont
19646 ' <confdefs.h | sed '
19647 s/'"$ac_delim"'/"\\\
19648 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19651 for (key in D) D_is_set[key] = 1
19652 FS = "\a"
19654 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19655 line = \$ 0
19656 split(line, arg, " ")
19657 if (arg[1] == "#") {
19658 defundef = arg[2]
19659 mac1 = arg[3]
19660 } else {
19661 defundef = substr(arg[1], 2)
19662 mac1 = arg[2]
19664 split(mac1, mac2, "(") #)
19665 macro = mac2[1]
19666 prefix = substr(line, 1, index(line, defundef) - 1)
19667 if (D_is_set[macro]) {
19668 # Preserve the white space surrounding the "#".
19669 print prefix "define", macro P[macro] D[macro]
19670 next
19671 } else {
19672 # Replace #undef with comments. This is necessary, for example,
19673 # in the case of _POSIX_SOURCE, which is predefined and required
19674 # on some systems where configure will not decide to define it.
19675 if (defundef == "undef") {
19676 print "/*", prefix defundef, macro, "*/"
19677 next
19681 { print }
19682 _ACAWK
19683 _ACEOF
19684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19685 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19686 fi # test -n "$CONFIG_HEADERS"
19689 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19690 shift
19691 for ac_tag
19693 case $ac_tag in
19694 :[FHLC]) ac_mode=$ac_tag; continue;;
19695 esac
19696 case $ac_mode$ac_tag in
19697 :[FHL]*:*);;
19698 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19699 :[FH]-) ac_tag=-:-;;
19700 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19701 esac
19702 ac_save_IFS=$IFS
19703 IFS=:
19704 set x $ac_tag
19705 IFS=$ac_save_IFS
19706 shift
19707 ac_file=$1
19708 shift
19710 case $ac_mode in
19711 :L) ac_source=$1;;
19712 :[FH])
19713 ac_file_inputs=
19714 for ac_f
19716 case $ac_f in
19717 -) ac_f="$ac_tmp/stdin";;
19718 *) # Look for the file first in the build tree, then in the source tree
19719 # (if the path is not absolute). The absolute path cannot be DOS-style,
19720 # because $ac_f cannot contain `:'.
19721 test -f "$ac_f" ||
19722 case $ac_f in
19723 [\\/$]*) false;;
19724 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19725 esac ||
19726 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19727 esac
19728 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19729 as_fn_append ac_file_inputs " '$ac_f'"
19730 done
19732 # Let's still pretend it is `configure' which instantiates (i.e., don't
19733 # use $as_me), people would be surprised to read:
19734 # /* config.h. Generated by config.status. */
19735 configure_input='Generated from '`
19736 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19737 `' by configure.'
19738 if test x"$ac_file" != x-; then
19739 configure_input="$ac_file. $configure_input"
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19741 $as_echo "$as_me: creating $ac_file" >&6;}
19743 # Neutralize special characters interpreted by sed in replacement strings.
19744 case $configure_input in #(
19745 *\&* | *\|* | *\\* )
19746 ac_sed_conf_input=`$as_echo "$configure_input" |
19747 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19748 *) ac_sed_conf_input=$configure_input;;
19749 esac
19751 case $ac_tag in
19752 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19753 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19754 esac
19756 esac
19758 ac_dir=`$as_dirname -- "$ac_file" ||
19759 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19760 X"$ac_file" : 'X\(//\)[^/]' \| \
19761 X"$ac_file" : 'X\(//\)$' \| \
19762 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19763 $as_echo X"$ac_file" |
19764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19765 s//\1/
19768 /^X\(\/\/\)[^/].*/{
19769 s//\1/
19772 /^X\(\/\/\)$/{
19773 s//\1/
19776 /^X\(\/\).*/{
19777 s//\1/
19780 s/.*/./; q'`
19781 as_dir="$ac_dir"; as_fn_mkdir_p
19782 ac_builddir=.
19784 case "$ac_dir" in
19785 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19787 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19788 # A ".." for each directory in $ac_dir_suffix.
19789 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19790 case $ac_top_builddir_sub in
19791 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19792 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19793 esac ;;
19794 esac
19795 ac_abs_top_builddir=$ac_pwd
19796 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19797 # for backward compatibility:
19798 ac_top_builddir=$ac_top_build_prefix
19800 case $srcdir in
19801 .) # We are building in place.
19802 ac_srcdir=.
19803 ac_top_srcdir=$ac_top_builddir_sub
19804 ac_abs_top_srcdir=$ac_pwd ;;
19805 [\\/]* | ?:[\\/]* ) # Absolute name.
19806 ac_srcdir=$srcdir$ac_dir_suffix;
19807 ac_top_srcdir=$srcdir
19808 ac_abs_top_srcdir=$srcdir ;;
19809 *) # Relative name.
19810 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19811 ac_top_srcdir=$ac_top_build_prefix$srcdir
19812 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19813 esac
19814 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19817 case $ac_mode in
19820 # CONFIG_FILE
19823 _ACEOF
19825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19826 # If the template does not know about datarootdir, expand it.
19827 # FIXME: This hack should be removed a few years after 2.60.
19828 ac_datarootdir_hack=; ac_datarootdir_seen=
19829 ac_sed_dataroot='
19830 /datarootdir/ {
19834 /@datadir@/p
19835 /@docdir@/p
19836 /@infodir@/p
19837 /@localedir@/p
19838 /@mandir@/p'
19839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19840 *datarootdir*) ac_datarootdir_seen=yes;;
19841 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19844 _ACEOF
19845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19846 ac_datarootdir_hack='
19847 s&@datadir@&$datadir&g
19848 s&@docdir@&$docdir&g
19849 s&@infodir@&$infodir&g
19850 s&@localedir@&$localedir&g
19851 s&@mandir@&$mandir&g
19852 s&\\\${datarootdir}&$datarootdir&g' ;;
19853 esac
19854 _ACEOF
19856 # Neutralize VPATH when `$srcdir' = `.'.
19857 # Shell code in configure.ac might set extrasub.
19858 # FIXME: do we really want to maintain this feature?
19859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19860 ac_sed_extra="$ac_vpsub
19861 $extrasub
19862 _ACEOF
19863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19866 s|@configure_input@|$ac_sed_conf_input|;t t
19867 s&@top_builddir@&$ac_top_builddir_sub&;t t
19868 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19869 s&@srcdir@&$ac_srcdir&;t t
19870 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19871 s&@top_srcdir@&$ac_top_srcdir&;t t
19872 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19873 s&@builddir@&$ac_builddir&;t t
19874 s&@abs_builddir@&$ac_abs_builddir&;t t
19875 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19876 $ac_datarootdir_hack
19878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19879 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19881 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19882 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19883 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19884 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19886 which seems to be undefined. Please make sure it is defined" >&5
19887 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19888 which seems to be undefined. Please make sure it is defined" >&2;}
19890 rm -f "$ac_tmp/stdin"
19891 case $ac_file in
19892 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19893 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19894 esac \
19895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19899 # CONFIG_HEADER
19901 if test x"$ac_file" != x-; then
19903 $as_echo "/* $configure_input */" \
19904 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19905 } >"$ac_tmp/config.h" \
19906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19907 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19909 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19910 else
19911 rm -f "$ac_file"
19912 mv "$ac_tmp/config.h" "$ac_file" \
19913 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19915 else
19916 $as_echo "/* $configure_input */" \
19917 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19918 || as_fn_error $? "could not create -" "$LINENO" 5
19923 # CONFIG_LINK
19926 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19928 else
19929 # Prefer the file from the source tree if names are identical.
19930 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19931 ac_source=$srcdir/$ac_source
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19935 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19937 if test ! -r "$ac_source"; then
19938 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19940 rm -f "$ac_file"
19942 # Try a relative symlink, then a hard link, then a copy.
19943 case $ac_source in
19944 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19945 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19946 esac
19947 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19948 ln "$ac_source" "$ac_file" 2>/dev/null ||
19949 cp -p "$ac_source" "$ac_file" ||
19950 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19953 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19954 $as_echo "$as_me: executing $ac_file commands" >&6;}
19956 esac
19959 case $ac_file$ac_mode in
19960 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19961 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19962 "Makefile":C) wine_fn_output_makefile Makefile ;;
19964 esac
19965 done # for ac_tag
19968 as_fn_exit 0
19969 _ACEOF
19970 ac_clean_files=$ac_clean_files_save
19972 test $ac_write_fail = 0 ||
19973 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19976 # configure is writing to config.log, and then calls config.status.
19977 # config.status does its own redirection, appending to config.log.
19978 # Unfortunately, on DOS this fails, as config.log is still kept open
19979 # by configure, so config.status won't be able to write to it; its
19980 # output is simply discarded. So we exec the FD to /dev/null,
19981 # effectively closing config.log, so it can be properly (re)opened and
19982 # appended to by config.status. When coming back to configure, we
19983 # need to make the FD available again.
19984 if test "$no_create" != yes; then
19985 ac_cs_success=:
19986 ac_config_status_args=
19987 test "$silent" = yes &&
19988 ac_config_status_args="$ac_config_status_args --quiet"
19989 exec 5>/dev/null
19990 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19991 exec 5>>config.log
19992 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19993 # would make configure fail if this is the last instruction.
19994 $ac_cs_success || as_fn_exit 1
19996 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19998 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20002 if test "$no_create" = "yes"
20003 then
20004 exit 0
20007 ac_save_IFS="$IFS"
20008 if test "x$wine_notices" != x; then
20009 echo >&6
20010 IFS="|"
20011 for msg in $wine_notices; do
20012 IFS="$ac_save_IFS"
20013 if ${msg:+false} :; then :
20015 else
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20017 $as_echo "$as_me: $msg" >&6;}
20019 done
20021 IFS="|"
20022 for msg in $wine_warnings; do
20023 IFS="$ac_save_IFS"
20024 if ${msg:+false} :; then :
20026 else
20027 echo >&2
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20029 $as_echo "$as_me: WARNING: $msg" >&2;}
20031 done
20032 IFS="$ac_save_IFS"
20034 $as_echo "
20035 $as_me: Finished. Do '${ac_make}' to compile Wine.
20036 " >&6