include/d3d11: Add D3D11_BUFFEREX_SRV_FLAG_RAW.
[wine.git] / configure
blob54329a699055b998f101fedb1adf53aae8033a10
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.0.
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'
584 PACKAGE_STRING='Wine 2.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://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_mf3216
1250 enable_mfplat
1251 enable_mfreadwrite
1252 enable_mgmtapi
1253 enable_midimap
1254 enable_mlang
1255 enable_mmcndmgr
1256 enable_mmdevapi
1257 enable_mountmgr_sys
1258 enable_mpr
1259 enable_mprapi
1260 enable_msacm32_drv
1261 enable_msacm32
1262 enable_msadp32_acm
1263 enable_msasn1
1264 enable_mscat32
1265 enable_mscms
1266 enable_mscoree
1267 enable_msctf
1268 enable_msctfp
1269 enable_msdaps
1270 enable_msdelta
1271 enable_msdmo
1272 enable_msdrm
1273 enable_msftedit
1274 enable_msg711_acm
1275 enable_msgsm32_acm
1276 enable_mshtml_tlb
1277 enable_mshtml
1278 enable_msi
1279 enable_msident
1280 enable_msimg32
1281 enable_msimsg
1282 enable_msimtf
1283 enable_msisip
1284 enable_msisys_ocx
1285 enable_msls31
1286 enable_msnet32
1287 enable_mspatcha
1288 enable_msports
1289 enable_msrle32
1290 enable_msscript_ocx
1291 enable_mssign32
1292 enable_mssip32
1293 enable_mstask
1294 enable_msvcirt
1295 enable_msvcm80
1296 enable_msvcm90
1297 enable_msvcp100
1298 enable_msvcp110
1299 enable_msvcp120
1300 enable_msvcp120_app
1301 enable_msvcp140
1302 enable_msvcp60
1303 enable_msvcp70
1304 enable_msvcp71
1305 enable_msvcp80
1306 enable_msvcp90
1307 enable_msvcr100
1308 enable_msvcr110
1309 enable_msvcr120
1310 enable_msvcr120_app
1311 enable_msvcr70
1312 enable_msvcr71
1313 enable_msvcr80
1314 enable_msvcr90
1315 enable_msvcrt
1316 enable_msvcrt20
1317 enable_msvcrt40
1318 enable_msvcrtd
1319 enable_msvfw32
1320 enable_msvidc32
1321 enable_mswsock
1322 enable_msxml
1323 enable_msxml2
1324 enable_msxml3
1325 enable_msxml4
1326 enable_msxml6
1327 enable_ncrypt
1328 enable_nddeapi
1329 enable_ndis_sys
1330 enable_netapi32
1331 enable_netcfgx
1332 enable_netprofm
1333 enable_newdev
1334 enable_normaliz
1335 enable_npmshtml
1336 enable_npptools
1337 enable_ntdll
1338 enable_ntdsapi
1339 enable_ntoskrnl_exe
1340 enable_ntprint
1341 enable_objsel
1342 enable_odbc32
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_openal32
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_qcap
1368 enable_qedit
1369 enable_qmgr
1370 enable_qmgrprxy
1371 enable_quartz
1372 enable_query
1373 enable_rasapi32
1374 enable_rasdlg
1375 enable_regapi
1376 enable_resutils
1377 enable_riched20
1378 enable_riched32
1379 enable_rpcrt4
1380 enable_rsabase
1381 enable_rsaenh
1382 enable_rstrtmgr
1383 enable_rtutils
1384 enable_samlib
1385 enable_sane_ds
1386 enable_scarddlg
1387 enable_sccbase
1388 enable_schannel
1389 enable_schedsvc
1390 enable_scrrun
1391 enable_scsiport_sys
1392 enable_secur32
1393 enable_security
1394 enable_sensapi
1395 enable_serialui
1396 enable_setupapi
1397 enable_sfc
1398 enable_sfc_os
1399 enable_shdoclc
1400 enable_shdocvw
1401 enable_shell32
1402 enable_shfolder
1403 enable_shlwapi
1404 enable_slbcsp
1405 enable_slc
1406 enable_snmpapi
1407 enable_softpub
1408 enable_spoolss
1409 enable_sspicli
1410 enable_stdole2_tlb
1411 enable_stdole32_tlb
1412 enable_sti
1413 enable_svrapi
1414 enable_sxs
1415 enable_t2embed
1416 enable_tapi32
1417 enable_taskschd
1418 enable_tdi_sys
1419 enable_traffic
1420 enable_twain_32
1421 enable_ucrtbase
1422 enable_unicows
1423 enable_updspapi
1424 enable_url
1425 enable_urlmon
1426 enable_usbd_sys
1427 enable_user32
1428 enable_userenv
1429 enable_usp10
1430 enable_uxtheme
1431 enable_vbscript
1432 enable_vcomp
1433 enable_vcomp100
1434 enable_vcomp110
1435 enable_vcomp120
1436 enable_vcomp140
1437 enable_vcomp90
1438 enable_vcruntime140
1439 enable_vdmdbg
1440 enable_version
1441 enable_vssapi
1442 enable_wbemdisp
1443 enable_wbemprox
1444 enable_webservices
1445 enable_wer
1446 enable_wevtapi
1447 enable_wiaservc
1448 enable_wimgapi
1449 enable_windowscodecs
1450 enable_windowscodecsext
1451 enable_winealsa_drv
1452 enable_winebus_sys
1453 enable_winecoreaudio_drv
1454 enable_wined3d
1455 enable_winegstreamer
1456 enable_winehid_sys
1457 enable_winejoystick_drv
1458 enable_winemac_drv
1459 enable_winemapi
1460 enable_winemp3_acm
1461 enable_wineoss_drv
1462 enable_wineps_drv
1463 enable_winepulse_drv
1464 enable_wineqtdecoder
1465 enable_winex11_drv
1466 enable_wing32
1467 enable_winhttp
1468 enable_wininet
1469 enable_winmm
1470 enable_winnls32
1471 enable_winscard
1472 enable_winspool_drv
1473 enable_winsta
1474 enable_wintab32
1475 enable_wintrust
1476 enable_wlanapi
1477 enable_wldap32
1478 enable_wmasf
1479 enable_wmi
1480 enable_wmiutils
1481 enable_wmp
1482 enable_wmvcore
1483 enable_wnaspi32
1484 enable_wpc
1485 enable_wpcap
1486 enable_ws2_32
1487 enable_wshom_ocx
1488 enable_wsnmp32
1489 enable_wsock32
1490 enable_wtsapi32
1491 enable_wuapi
1492 enable_wuaueng
1493 enable_x3daudio1_0
1494 enable_x3daudio1_1
1495 enable_x3daudio1_2
1496 enable_x3daudio1_3
1497 enable_x3daudio1_4
1498 enable_x3daudio1_5
1499 enable_x3daudio1_6
1500 enable_x3daudio1_7
1501 enable_xapofx1_1
1502 enable_xapofx1_2
1503 enable_xapofx1_3
1504 enable_xapofx1_4
1505 enable_xapofx1_5
1506 enable_xaudio2_0
1507 enable_xaudio2_1
1508 enable_xaudio2_2
1509 enable_xaudio2_3
1510 enable_xaudio2_4
1511 enable_xaudio2_5
1512 enable_xaudio2_6
1513 enable_xaudio2_7
1514 enable_xaudio2_8
1515 enable_xaudio2_9
1516 enable_xinput1_1
1517 enable_xinput1_2
1518 enable_xinput1_3
1519 enable_xinput1_4
1520 enable_xinput9_1_0
1521 enable_xmllite
1522 enable_xolehlp
1523 enable_xpsprint
1524 enable_xpssvcs
1525 enable_fonts
1526 enable_include
1527 enable_libs_port
1528 enable_libs_wine
1529 enable_libs_wpp
1530 enable_loader
1531 enable_po
1532 enable_arp
1533 enable_aspnet_regiis
1534 enable_attrib
1535 enable_cabarc
1536 enable_cacls
1537 enable_clock
1538 enable_cmd
1539 enable_conhost
1540 enable_control
1541 enable_cscript
1542 enable_dpnsvr
1543 enable_dxdiag
1544 enable_eject
1545 enable_expand
1546 enable_explorer
1547 enable_extrac32
1548 enable_findstr
1549 enable_fsutil
1550 enable_hh
1551 enable_hostname
1552 enable_icacls
1553 enable_icinfo
1554 enable_iexplore
1555 enable_ipconfig
1556 enable_lodctr
1557 enable_mofcomp
1558 enable_mshta
1559 enable_msiexec
1560 enable_msinfo32
1561 enable_net
1562 enable_netsh
1563 enable_netstat
1564 enable_ngen
1565 enable_notepad
1566 enable_oleview
1567 enable_ping
1568 enable_plugplay
1569 enable_presentationfontcache
1570 enable_progman
1571 enable_reg
1572 enable_regasm
1573 enable_regedit
1574 enable_regsvcs
1575 enable_regsvr32
1576 enable_rpcss
1577 enable_rundll32
1578 enable_sc
1579 enable_schtasks
1580 enable_sdbinst
1581 enable_secedit
1582 enable_servicemodelreg
1583 enable_services
1584 enable_shutdown
1585 enable_spoolsv
1586 enable_start
1587 enable_subst
1588 enable_svchost
1589 enable_systeminfo
1590 enable_taskkill
1591 enable_tasklist
1592 enable_taskmgr
1593 enable_termsv
1594 enable_uninstaller
1595 enable_unlodctr
1596 enable_view
1597 enable_wevtutil
1598 enable_wineboot
1599 enable_winebrowser
1600 enable_winecfg
1601 enable_wineconsole
1602 enable_winedbg
1603 enable_winedevice
1604 enable_winefile
1605 enable_winemenubuilder
1606 enable_winemine
1607 enable_winemsibuilder
1608 enable_winepath
1609 enable_winetest
1610 enable_winhlp32
1611 enable_winver
1612 enable_wmic
1613 enable_wmplayer
1614 enable_wordpad
1615 enable_write
1616 enable_wscript
1617 enable_wusa
1618 enable_xcopy
1619 enable_server
1620 enable_tools
1622 ac_precious_vars='build_alias
1623 host_alias
1624 target_alias
1626 CFLAGS
1627 LDFLAGS
1628 LIBS
1629 CPPFLAGS
1631 CXXFLAGS
1634 XMKMF
1635 XML2_CFLAGS
1636 XML2_LIBS
1637 XSLT_CFLAGS
1638 XSLT_LIBS
1639 DBUS_CFLAGS
1640 DBUS_LIBS
1641 HAL_CFLAGS
1642 HAL_LIBS
1643 GNUTLS_CFLAGS
1644 GNUTLS_LIBS
1645 SANE_CFLAGS
1646 SANE_LIBS
1647 GPHOTO2_CFLAGS
1648 GPHOTO2_LIBS
1649 GPHOTO2_PORT_CFLAGS
1650 GPHOTO2_PORT_LIBS
1651 LCMS2_CFLAGS
1652 LCMS2_LIBS
1653 FREETYPE_CFLAGS
1654 FREETYPE_LIBS
1655 PULSE_CFLAGS
1656 PULSE_LIBS
1657 GSTREAMER_CFLAGS
1658 GSTREAMER_LIBS
1659 UDEV_CFLAGS
1660 UDEV_LIBS
1661 CAPI20_CFLAGS
1662 CAPI20_LIBS
1663 FONTCONFIG_CFLAGS
1664 FONTCONFIG_LIBS
1665 JPEG_CFLAGS
1666 JPEG_LIBS
1667 PNG_CFLAGS
1668 PNG_LIBS
1669 TIFF_CFLAGS
1670 TIFF_LIBS
1671 MPG123_CFLAGS
1672 MPG123_LIBS
1673 NETAPI_CFLAGS
1674 NETAPI_LIBS'
1677 # Initialize some variables set by options.
1678 ac_init_help=
1679 ac_init_version=false
1680 ac_unrecognized_opts=
1681 ac_unrecognized_sep=
1682 # The variables have the same names as the options, with
1683 # dashes changed to underlines.
1684 cache_file=/dev/null
1685 exec_prefix=NONE
1686 no_create=
1687 no_recursion=
1688 prefix=NONE
1689 program_prefix=NONE
1690 program_suffix=NONE
1691 program_transform_name=s,x,x,
1692 silent=
1693 site=
1694 srcdir=
1695 verbose=
1696 x_includes=NONE
1697 x_libraries=NONE
1699 # Installation directory options.
1700 # These are left unexpanded so users can "make install exec_prefix=/foo"
1701 # and all the variables that are supposed to be based on exec_prefix
1702 # by default will actually change.
1703 # Use braces instead of parens because sh, perl, etc. also accept them.
1704 # (The list follows the same order as the GNU Coding Standards.)
1705 bindir='${exec_prefix}/bin'
1706 sbindir='${exec_prefix}/sbin'
1707 libexecdir='${exec_prefix}/libexec'
1708 datarootdir='${prefix}/share'
1709 datadir='${datarootdir}'
1710 sysconfdir='${prefix}/etc'
1711 sharedstatedir='${prefix}/com'
1712 localstatedir='${prefix}/var'
1713 runstatedir='${localstatedir}/run'
1714 includedir='${prefix}/include'
1715 oldincludedir='/usr/include'
1716 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1717 infodir='${datarootdir}/info'
1718 htmldir='${docdir}'
1719 dvidir='${docdir}'
1720 pdfdir='${docdir}'
1721 psdir='${docdir}'
1722 libdir='${exec_prefix}/lib'
1723 localedir='${datarootdir}/locale'
1724 mandir='${datarootdir}/man'
1726 ac_prev=
1727 ac_dashdash=
1728 for ac_option
1730 # If the previous option needs an argument, assign it.
1731 if test -n "$ac_prev"; then
1732 eval $ac_prev=\$ac_option
1733 ac_prev=
1734 continue
1737 case $ac_option in
1738 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1739 *=) ac_optarg= ;;
1740 *) ac_optarg=yes ;;
1741 esac
1743 # Accept the important Cygnus configure options, so we can diagnose typos.
1745 case $ac_dashdash$ac_option in
1747 ac_dashdash=yes ;;
1749 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1750 ac_prev=bindir ;;
1751 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1752 bindir=$ac_optarg ;;
1754 -build | --build | --buil | --bui | --bu)
1755 ac_prev=build_alias ;;
1756 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1757 build_alias=$ac_optarg ;;
1759 -cache-file | --cache-file | --cache-fil | --cache-fi \
1760 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1761 ac_prev=cache_file ;;
1762 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1763 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1764 cache_file=$ac_optarg ;;
1766 --config-cache | -C)
1767 cache_file=config.cache ;;
1769 -datadir | --datadir | --datadi | --datad)
1770 ac_prev=datadir ;;
1771 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1772 datadir=$ac_optarg ;;
1774 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1775 | --dataroo | --dataro | --datar)
1776 ac_prev=datarootdir ;;
1777 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1778 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1779 datarootdir=$ac_optarg ;;
1781 -disable-* | --disable-*)
1782 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1783 # Reject names that are not valid shell variable names.
1784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1785 as_fn_error $? "invalid feature name: $ac_useropt"
1786 ac_useropt_orig=$ac_useropt
1787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1788 case $ac_user_opts in
1790 "enable_$ac_useropt"
1791 "*) ;;
1792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1793 ac_unrecognized_sep=', ';;
1794 esac
1795 eval enable_$ac_useropt=no ;;
1797 -docdir | --docdir | --docdi | --doc | --do)
1798 ac_prev=docdir ;;
1799 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1800 docdir=$ac_optarg ;;
1802 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1803 ac_prev=dvidir ;;
1804 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1805 dvidir=$ac_optarg ;;
1807 -enable-* | --enable-*)
1808 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1811 as_fn_error $? "invalid feature name: $ac_useropt"
1812 ac_useropt_orig=$ac_useropt
1813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1816 "enable_$ac_useropt"
1817 "*) ;;
1818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1819 ac_unrecognized_sep=', ';;
1820 esac
1821 eval enable_$ac_useropt=\$ac_optarg ;;
1823 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1824 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1825 | --exec | --exe | --ex)
1826 ac_prev=exec_prefix ;;
1827 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1828 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1829 | --exec=* | --exe=* | --ex=*)
1830 exec_prefix=$ac_optarg ;;
1832 -gas | --gas | --ga | --g)
1833 # Obsolete; use --with-gas.
1834 with_gas=yes ;;
1836 -help | --help | --hel | --he | -h)
1837 ac_init_help=long ;;
1838 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1839 ac_init_help=recursive ;;
1840 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1841 ac_init_help=short ;;
1843 -host | --host | --hos | --ho)
1844 ac_prev=host_alias ;;
1845 -host=* | --host=* | --hos=* | --ho=*)
1846 host_alias=$ac_optarg ;;
1848 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1849 ac_prev=htmldir ;;
1850 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1851 | --ht=*)
1852 htmldir=$ac_optarg ;;
1854 -includedir | --includedir | --includedi | --included | --include \
1855 | --includ | --inclu | --incl | --inc)
1856 ac_prev=includedir ;;
1857 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1858 | --includ=* | --inclu=* | --incl=* | --inc=*)
1859 includedir=$ac_optarg ;;
1861 -infodir | --infodir | --infodi | --infod | --info | --inf)
1862 ac_prev=infodir ;;
1863 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1864 infodir=$ac_optarg ;;
1866 -libdir | --libdir | --libdi | --libd)
1867 ac_prev=libdir ;;
1868 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1869 libdir=$ac_optarg ;;
1871 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1872 | --libexe | --libex | --libe)
1873 ac_prev=libexecdir ;;
1874 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1875 | --libexe=* | --libex=* | --libe=*)
1876 libexecdir=$ac_optarg ;;
1878 -localedir | --localedir | --localedi | --localed | --locale)
1879 ac_prev=localedir ;;
1880 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1881 localedir=$ac_optarg ;;
1883 -localstatedir | --localstatedir | --localstatedi | --localstated \
1884 | --localstate | --localstat | --localsta | --localst | --locals)
1885 ac_prev=localstatedir ;;
1886 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1887 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1888 localstatedir=$ac_optarg ;;
1890 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1891 ac_prev=mandir ;;
1892 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1893 mandir=$ac_optarg ;;
1895 -nfp | --nfp | --nf)
1896 # Obsolete; use --without-fp.
1897 with_fp=no ;;
1899 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1900 | --no-cr | --no-c | -n)
1901 no_create=yes ;;
1903 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1904 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1905 no_recursion=yes ;;
1907 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1908 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1909 | --oldin | --oldi | --old | --ol | --o)
1910 ac_prev=oldincludedir ;;
1911 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1912 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1913 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1914 oldincludedir=$ac_optarg ;;
1916 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1917 ac_prev=prefix ;;
1918 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1919 prefix=$ac_optarg ;;
1921 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1922 | --program-pre | --program-pr | --program-p)
1923 ac_prev=program_prefix ;;
1924 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1925 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1926 program_prefix=$ac_optarg ;;
1928 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1929 | --program-suf | --program-su | --program-s)
1930 ac_prev=program_suffix ;;
1931 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1932 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1933 program_suffix=$ac_optarg ;;
1935 -program-transform-name | --program-transform-name \
1936 | --program-transform-nam | --program-transform-na \
1937 | --program-transform-n | --program-transform- \
1938 | --program-transform | --program-transfor \
1939 | --program-transfo | --program-transf \
1940 | --program-trans | --program-tran \
1941 | --progr-tra | --program-tr | --program-t)
1942 ac_prev=program_transform_name ;;
1943 -program-transform-name=* | --program-transform-name=* \
1944 | --program-transform-nam=* | --program-transform-na=* \
1945 | --program-transform-n=* | --program-transform-=* \
1946 | --program-transform=* | --program-transfor=* \
1947 | --program-transfo=* | --program-transf=* \
1948 | --program-trans=* | --program-tran=* \
1949 | --progr-tra=* | --program-tr=* | --program-t=*)
1950 program_transform_name=$ac_optarg ;;
1952 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1953 ac_prev=pdfdir ;;
1954 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1955 pdfdir=$ac_optarg ;;
1957 -psdir | --psdir | --psdi | --psd | --ps)
1958 ac_prev=psdir ;;
1959 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1960 psdir=$ac_optarg ;;
1962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1963 | -silent | --silent | --silen | --sile | --sil)
1964 silent=yes ;;
1966 -runstatedir | --runstatedir | --runstatedi | --runstated \
1967 | --runstate | --runstat | --runsta | --runst | --runs \
1968 | --run | --ru | --r)
1969 ac_prev=runstatedir ;;
1970 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1971 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1972 | --run=* | --ru=* | --r=*)
1973 runstatedir=$ac_optarg ;;
1975 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1976 ac_prev=sbindir ;;
1977 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1978 | --sbi=* | --sb=*)
1979 sbindir=$ac_optarg ;;
1981 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1982 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1983 | --sharedst | --shareds | --shared | --share | --shar \
1984 | --sha | --sh)
1985 ac_prev=sharedstatedir ;;
1986 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1987 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1988 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1989 | --sha=* | --sh=*)
1990 sharedstatedir=$ac_optarg ;;
1992 -site | --site | --sit)
1993 ac_prev=site ;;
1994 -site=* | --site=* | --sit=*)
1995 site=$ac_optarg ;;
1997 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1998 ac_prev=srcdir ;;
1999 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2000 srcdir=$ac_optarg ;;
2002 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2003 | --syscon | --sysco | --sysc | --sys | --sy)
2004 ac_prev=sysconfdir ;;
2005 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2006 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2007 sysconfdir=$ac_optarg ;;
2009 -target | --target | --targe | --targ | --tar | --ta | --t)
2010 ac_prev=target_alias ;;
2011 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2012 target_alias=$ac_optarg ;;
2014 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2015 verbose=yes ;;
2017 -version | --version | --versio | --versi | --vers | -V)
2018 ac_init_version=: ;;
2020 -with-* | --with-*)
2021 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2022 # Reject names that are not valid shell variable names.
2023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2024 as_fn_error $? "invalid package name: $ac_useropt"
2025 ac_useropt_orig=$ac_useropt
2026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2027 case $ac_user_opts in
2029 "with_$ac_useropt"
2030 "*) ;;
2031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2032 ac_unrecognized_sep=', ';;
2033 esac
2034 eval with_$ac_useropt=\$ac_optarg ;;
2036 -without-* | --without-*)
2037 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2038 # Reject names that are not valid shell variable names.
2039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2040 as_fn_error $? "invalid package name: $ac_useropt"
2041 ac_useropt_orig=$ac_useropt
2042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2043 case $ac_user_opts in
2045 "with_$ac_useropt"
2046 "*) ;;
2047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2048 ac_unrecognized_sep=', ';;
2049 esac
2050 eval with_$ac_useropt=no ;;
2052 --x)
2053 # Obsolete; use --with-x.
2054 with_x=yes ;;
2056 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2057 | --x-incl | --x-inc | --x-in | --x-i)
2058 ac_prev=x_includes ;;
2059 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2060 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2061 x_includes=$ac_optarg ;;
2063 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2064 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2065 ac_prev=x_libraries ;;
2066 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2067 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2068 x_libraries=$ac_optarg ;;
2070 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2071 Try \`$0 --help' for more information"
2074 *=*)
2075 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2076 # Reject names that are not valid shell variable names.
2077 case $ac_envvar in #(
2078 '' | [0-9]* | *[!_$as_cr_alnum]* )
2079 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2080 esac
2081 eval $ac_envvar=\$ac_optarg
2082 export $ac_envvar ;;
2085 # FIXME: should be removed in autoconf 3.0.
2086 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2088 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2089 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2092 esac
2093 done
2095 if test -n "$ac_prev"; then
2096 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2097 as_fn_error $? "missing argument to $ac_option"
2100 if test -n "$ac_unrecognized_opts"; then
2101 case $enable_option_checking in
2102 no) ;;
2103 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2104 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2105 esac
2108 # Check all directory arguments for consistency.
2109 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2110 datadir sysconfdir sharedstatedir localstatedir includedir \
2111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2112 libdir localedir mandir runstatedir
2114 eval ac_val=\$$ac_var
2115 # Remove trailing slashes.
2116 case $ac_val in
2117 */ )
2118 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2119 eval $ac_var=\$ac_val;;
2120 esac
2121 # Be sure to have absolute directory names.
2122 case $ac_val in
2123 [\\/$]* | ?:[\\/]* ) continue;;
2124 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2125 esac
2126 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2127 done
2129 # There might be people who depend on the old broken behavior: `$host'
2130 # used to hold the argument of --host etc.
2131 # FIXME: To remove some day.
2132 build=$build_alias
2133 host=$host_alias
2134 target=$target_alias
2136 # FIXME: To remove some day.
2137 if test "x$host_alias" != x; then
2138 if test "x$build_alias" = x; then
2139 cross_compiling=maybe
2140 elif test "x$build_alias" != "x$host_alias"; then
2141 cross_compiling=yes
2145 ac_tool_prefix=
2146 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2148 test "$silent" = yes && exec 6>/dev/null
2151 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2152 ac_ls_di=`ls -di .` &&
2153 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2154 as_fn_error $? "working directory cannot be determined"
2155 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2156 as_fn_error $? "pwd does not report name of working directory"
2159 # Find the source files, if location was not specified.
2160 if test -z "$srcdir"; then
2161 ac_srcdir_defaulted=yes
2162 # Try the directory containing this script, then the parent directory.
2163 ac_confdir=`$as_dirname -- "$as_myself" ||
2164 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2165 X"$as_myself" : 'X\(//\)[^/]' \| \
2166 X"$as_myself" : 'X\(//\)$' \| \
2167 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2168 $as_echo X"$as_myself" |
2169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2170 s//\1/
2173 /^X\(\/\/\)[^/].*/{
2174 s//\1/
2177 /^X\(\/\/\)$/{
2178 s//\1/
2181 /^X\(\/\).*/{
2182 s//\1/
2185 s/.*/./; q'`
2186 srcdir=$ac_confdir
2187 if test ! -r "$srcdir/$ac_unique_file"; then
2188 srcdir=..
2190 else
2191 ac_srcdir_defaulted=no
2193 if test ! -r "$srcdir/$ac_unique_file"; then
2194 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2195 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2198 ac_abs_confdir=`(
2199 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2200 pwd)`
2201 # When building in place, set srcdir=.
2202 if test "$ac_abs_confdir" = "$ac_pwd"; then
2203 srcdir=.
2205 # Remove unnecessary trailing slashes from srcdir.
2206 # Double slashes in file names in object file debugging info
2207 # mess up M-x gdb in Emacs.
2208 case $srcdir in
2209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2210 esac
2211 for ac_var in $ac_precious_vars; do
2212 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2213 eval ac_env_${ac_var}_value=\$${ac_var}
2214 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2215 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2216 done
2219 # Report the --help message.
2221 if test "$ac_init_help" = "long"; then
2222 # Omit some internal or obsolete options to make the list less imposing.
2223 # This message is too long to be a string in the A/UX 3.1 sh.
2224 cat <<_ACEOF
2225 \`configure' configures Wine 2.0 to adapt to many kinds of systems.
2227 Usage: $0 [OPTION]... [VAR=VALUE]...
2229 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2230 VAR=VALUE. See below for descriptions of some of the useful variables.
2232 Defaults for the options are specified in brackets.
2234 Configuration:
2235 -h, --help display this help and exit
2236 --help=short display options specific to this package
2237 --help=recursive display the short help of all the included packages
2238 -V, --version display version information and exit
2239 -q, --quiet, --silent do not print \`checking ...' messages
2240 --cache-file=FILE cache test results in FILE [disabled]
2241 -C, --config-cache alias for \`--cache-file=config.cache'
2242 -n, --no-create do not create output files
2243 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2245 Installation directories:
2246 --prefix=PREFIX install architecture-independent files in PREFIX
2247 [$ac_default_prefix]
2248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2249 [PREFIX]
2251 By default, \`make install' will install all the files in
2252 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2253 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2254 for instance \`--prefix=\$HOME'.
2256 For better control, use the options below.
2258 Fine tuning of the installation directories:
2259 --bindir=DIR user executables [EPREFIX/bin]
2260 --sbindir=DIR system admin executables [EPREFIX/sbin]
2261 --libexecdir=DIR program executables [EPREFIX/libexec]
2262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2264 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2265 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2266 --libdir=DIR object code libraries [EPREFIX/lib]
2267 --includedir=DIR C header files [PREFIX/include]
2268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2271 --infodir=DIR info documentation [DATAROOTDIR/info]
2272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2273 --mandir=DIR man documentation [DATAROOTDIR/man]
2274 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2275 --htmldir=DIR html documentation [DOCDIR]
2276 --dvidir=DIR dvi documentation [DOCDIR]
2277 --pdfdir=DIR pdf documentation [DOCDIR]
2278 --psdir=DIR ps documentation [DOCDIR]
2279 _ACEOF
2281 cat <<\_ACEOF
2283 X features:
2284 --x-includes=DIR X include files are in DIR
2285 --x-libraries=DIR X library files are in DIR
2287 System types:
2288 --build=BUILD configure for building on BUILD [guessed]
2289 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2290 _ACEOF
2293 if test -n "$ac_init_help"; then
2294 case $ac_init_help in
2295 short | recursive ) echo "Configuration of Wine 2.0:";;
2296 esac
2297 cat <<\_ACEOF
2299 Optional Features:
2300 --disable-option-checking ignore unrecognized --enable/--with options
2301 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2302 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2303 --disable-win16 do not include Win16 support
2304 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2305 binaries)
2306 --disable-tests do not build the regression tests
2307 --enable-maintainer-mode
2308 enable maintainer-specific build rules
2309 --disable-largefile omit support for large files
2311 Optional Packages:
2312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2313 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2314 --without-alsa do not use the Alsa sound support
2315 --without-capi do not use CAPI (ISDN support)
2316 --without-cms do not use CMS (color management support)
2317 --without-coreaudio do not use the CoreAudio sound support
2318 --without-cups do not use CUPS
2319 --without-curses do not use (n)curses
2320 --without-dbus do not use DBus (dynamic device support)
2321 --without-fontconfig do not use fontconfig
2322 --without-freetype do not use the FreeType library
2323 --without-gettext do not use gettext
2324 --with-gettextpo use the GetTextPO library to rebuild po files
2325 --without-gphoto do not use gphoto (Digital Camera support)
2326 --without-glu do not use the GLU library
2327 --without-gnutls do not use GnuTLS (schannel support)
2328 --without-gsm do not use libgsm (GSM 06.10 codec support)
2329 --without-gstreamer do not use GStreamer (codecs support)
2330 --without-hal do not use HAL (dynamic device support)
2331 --without-jpeg do not use JPEG
2332 --without-ldap do not use LDAP
2333 --without-mpg123 do not use the mpg123 library
2334 --without-netapi do not use the Samba NetAPI library
2335 --without-openal do not use OpenAL
2336 --without-opencl do not use OpenCL
2337 --without-opengl do not use OpenGL
2338 --without-osmesa do not use the OSMesa library
2339 --without-oss do not use the OSS sound support
2340 --without-pcap do not use the Packet Capture library
2341 --without-png do not use PNG
2342 --without-pthread do not use the pthread library
2343 --without-pulse do not use PulseAudio sound support
2344 --without-sane do not use SANE (scanner support)
2345 --without-tiff do not use TIFF
2346 --without-udev do not use udev (plug and play support)
2347 --without-v4l do not use v4l1 (v4l support)
2348 --without-xcomposite do not use the Xcomposite extension
2349 --without-xcursor do not use the Xcursor extension
2350 --without-xinerama do not use Xinerama (multi-monitor support)
2351 --without-xinput do not use the Xinput extension
2352 --without-xinput2 do not use the Xinput 2 extension
2353 --without-xml do not use XML
2354 --without-xrandr do not use Xrandr (resolution changes)
2355 --without-xrender do not use the Xrender extension
2356 --without-xshape do not use the Xshape extension
2357 --without-xshm do not use XShm (shared memory extension)
2358 --without-xslt do not use XSLT
2359 --without-xxf86vm do not use XFree video mode extension
2360 --without-zlib do not use Zlib (data compression)
2361 --with-wine-tools=DIR use Wine tools from directory DIR
2362 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2363 --with-x use the X Window System
2365 Some influential environment variables:
2366 CC C compiler command
2367 CFLAGS C compiler flags
2368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2369 nonstandard directory <lib dir>
2370 LIBS libraries to pass to the linker, e.g. -l<library>
2371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2372 you have headers in a nonstandard directory <include dir>
2373 CXX C++ compiler command
2374 CXXFLAGS C++ compiler flags
2375 CPP C preprocessor
2376 XMKMF Path to xmkmf, Makefile generator for X Window System
2377 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2378 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2379 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2380 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2381 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2382 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2383 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2384 HAL_LIBS Linker flags for hal, overriding pkg-config
2385 GNUTLS_CFLAGS
2386 C compiler flags for gnutls, overriding pkg-config
2387 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2388 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2389 SANE_LIBS Linker flags for libsane, overriding pkg-config
2390 GPHOTO2_CFLAGS
2391 C compiler flags for libgphoto2, overriding pkg-config
2392 GPHOTO2_LIBS
2393 Linker flags for libgphoto2, overriding pkg-config
2394 GPHOTO2_PORT_CFLAGS
2395 C compiler flags for libgphoto2_port, overriding pkg-config
2396 GPHOTO2_PORT_LIBS
2397 Linker flags for libgphoto2_port, overriding pkg-config
2398 LCMS2_CFLAGS
2399 C compiler flags for lcms2, overriding pkg-config
2400 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2401 FREETYPE_CFLAGS
2402 C compiler flags for freetype2, overriding pkg-config
2403 FREETYPE_LIBS
2404 Linker flags for freetype2, overriding pkg-config
2405 PULSE_CFLAGS
2406 C compiler flags for libpulse, overriding pkg-config
2407 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2408 GSTREAMER_CFLAGS
2409 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2410 gstreamer-audio-1.0, overriding pkg-config
2411 GSTREAMER_LIBS
2412 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2413 gstreamer-audio-1.0, overriding pkg-config
2414 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2415 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2416 CAPI20_CFLAGS
2417 C compiler flags for capi20, overriding pkg-config
2418 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2419 FONTCONFIG_CFLAGS
2420 C compiler flags for fontconfig, overriding pkg-config
2421 FONTCONFIG_LIBS
2422 Linker flags for fontconfig, overriding pkg-config
2423 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2424 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2425 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2426 PNG_LIBS Linker flags for libpng, overriding pkg-config
2427 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2428 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2429 MPG123_CFLAGS
2430 C compiler flags for libmpg123, overriding pkg-config
2431 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2432 NETAPI_CFLAGS
2433 C compiler flags for netapi, overriding pkg-config
2434 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2436 Use these variables to override the choices made by `configure' or to help
2437 it to find libraries and programs with nonstandard names/locations.
2439 Report bugs to <wine-devel@winehq.org>.
2440 Wine home page: <http://www.winehq.org>.
2441 _ACEOF
2442 ac_status=$?
2445 if test "$ac_init_help" = "recursive"; then
2446 # If there are subdirs, report their specific --help.
2447 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2448 test -d "$ac_dir" ||
2449 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2450 continue
2451 ac_builddir=.
2453 case "$ac_dir" in
2454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2456 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2457 # A ".." for each directory in $ac_dir_suffix.
2458 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2459 case $ac_top_builddir_sub in
2460 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2461 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2462 esac ;;
2463 esac
2464 ac_abs_top_builddir=$ac_pwd
2465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2466 # for backward compatibility:
2467 ac_top_builddir=$ac_top_build_prefix
2469 case $srcdir in
2470 .) # We are building in place.
2471 ac_srcdir=.
2472 ac_top_srcdir=$ac_top_builddir_sub
2473 ac_abs_top_srcdir=$ac_pwd ;;
2474 [\\/]* | ?:[\\/]* ) # Absolute name.
2475 ac_srcdir=$srcdir$ac_dir_suffix;
2476 ac_top_srcdir=$srcdir
2477 ac_abs_top_srcdir=$srcdir ;;
2478 *) # Relative name.
2479 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2480 ac_top_srcdir=$ac_top_build_prefix$srcdir
2481 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2482 esac
2483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2485 cd "$ac_dir" || { ac_status=$?; continue; }
2486 # Check for guested configure.
2487 if test -f "$ac_srcdir/configure.gnu"; then
2488 echo &&
2489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2490 elif test -f "$ac_srcdir/configure"; then
2491 echo &&
2492 $SHELL "$ac_srcdir/configure" --help=recursive
2493 else
2494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2495 fi || ac_status=$?
2496 cd "$ac_pwd" || { ac_status=$?; break; }
2497 done
2500 test -n "$ac_init_help" && exit $ac_status
2501 if $ac_init_version; then
2502 cat <<\_ACEOF
2503 Wine configure 2.0
2504 generated by GNU Autoconf 2.69
2506 Copyright (C) 2012 Free Software Foundation, Inc.
2507 This configure script is free software; the Free Software Foundation
2508 gives unlimited permission to copy, distribute and modify it.
2509 _ACEOF
2510 exit
2513 ## ------------------------ ##
2514 ## Autoconf initialization. ##
2515 ## ------------------------ ##
2517 # ac_fn_c_try_compile LINENO
2518 # --------------------------
2519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_c_try_compile ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 rm -f conftest.$ac_objext
2524 if { { ac_try="$ac_compile"
2525 case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_compile") 2>conftest.err
2532 ac_status=$?
2533 if test -s conftest.err; then
2534 grep -v '^ *+' conftest.err >conftest.er1
2535 cat conftest.er1 >&5
2536 mv -f conftest.er1 conftest.err
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; } && {
2540 test -z "$ac_c_werror_flag" ||
2541 test ! -s conftest.err
2542 } && test -s conftest.$ac_objext; then :
2543 ac_retval=0
2544 else
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2548 ac_retval=1
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2553 } # ac_fn_c_try_compile
2555 # ac_fn_cxx_try_compile LINENO
2556 # ----------------------------
2557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2558 ac_fn_cxx_try_compile ()
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 rm -f conftest.$ac_objext
2562 if { { ac_try="$ac_compile"
2563 case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2566 esac
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_compile") 2>conftest.err
2570 ac_status=$?
2571 if test -s conftest.err; then
2572 grep -v '^ *+' conftest.err >conftest.er1
2573 cat conftest.er1 >&5
2574 mv -f conftest.er1 conftest.err
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; } && {
2578 test -z "$ac_cxx_werror_flag" ||
2579 test ! -s conftest.err
2580 } && test -s conftest.$ac_objext; then :
2581 ac_retval=0
2582 else
2583 $as_echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2586 ac_retval=1
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 as_fn_set_status $ac_retval
2591 } # ac_fn_cxx_try_compile
2593 # ac_fn_c_try_link LINENO
2594 # -----------------------
2595 # Try to link conftest.$ac_ext, and return whether this succeeded.
2596 ac_fn_c_try_link ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 rm -f conftest.$ac_objext conftest$ac_exeext
2600 if { { ac_try="$ac_link"
2601 case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2604 esac
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606 $as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_link") 2>conftest.err
2608 ac_status=$?
2609 if test -s conftest.err; then
2610 grep -v '^ *+' conftest.err >conftest.er1
2611 cat conftest.er1 >&5
2612 mv -f conftest.er1 conftest.err
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; } && {
2616 test -z "$ac_c_werror_flag" ||
2617 test ! -s conftest.err
2618 } && test -s conftest$ac_exeext && {
2619 test "$cross_compiling" = yes ||
2620 test -x conftest$ac_exeext
2621 }; then :
2622 ac_retval=0
2623 else
2624 $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2627 ac_retval=1
2629 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2630 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2631 # interfere with the next link command; also delete a directory that is
2632 # left behind by Apple's compiler. We do this before executing the actions.
2633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2635 as_fn_set_status $ac_retval
2637 } # ac_fn_c_try_link
2639 # ac_fn_c_try_cpp LINENO
2640 # ----------------------
2641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2642 ac_fn_c_try_cpp ()
2644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2645 if { { ac_try="$ac_cpp conftest.$ac_ext"
2646 case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2649 esac
2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651 $as_echo "$ac_try_echo"; } >&5
2652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2653 ac_status=$?
2654 if test -s conftest.err; then
2655 grep -v '^ *+' conftest.err >conftest.er1
2656 cat conftest.er1 >&5
2657 mv -f conftest.er1 conftest.err
2659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2660 test $ac_status = 0; } > conftest.i && {
2661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 }; then :
2664 ac_retval=0
2665 else
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 ac_retval=1
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 as_fn_set_status $ac_retval
2674 } # ac_fn_c_try_cpp
2676 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2677 # -------------------------------------------------------
2678 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2679 # the include files in INCLUDES and setting the cache variable VAR
2680 # accordingly.
2681 ac_fn_c_check_header_mongrel ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 if eval \${$3+:} false; then :
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2686 $as_echo_n "checking for $2... " >&6; }
2687 if eval \${$3+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 eval ac_res=\$$3
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2692 $as_echo "$ac_res" >&6; }
2693 else
2694 # Is the header compilable?
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2696 $as_echo_n "checking $2 usability... " >&6; }
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2700 #include <$2>
2701 _ACEOF
2702 if ac_fn_c_try_compile "$LINENO"; then :
2703 ac_header_compiler=yes
2704 else
2705 ac_header_compiler=no
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2709 $as_echo "$ac_header_compiler" >&6; }
2711 # Is the header present?
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2713 $as_echo_n "checking $2 presence... " >&6; }
2714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2716 #include <$2>
2717 _ACEOF
2718 if ac_fn_c_try_cpp "$LINENO"; then :
2719 ac_header_preproc=yes
2720 else
2721 ac_header_preproc=no
2723 rm -f conftest.err conftest.i conftest.$ac_ext
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2725 $as_echo "$ac_header_preproc" >&6; }
2727 # So? What about this header?
2728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2729 yes:no: )
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2731 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2735 no:yes:* )
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2737 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2739 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2741 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2743 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2746 ( $as_echo "## ------------------------------------ ##
2747 ## Report this to wine-devel@winehq.org ##
2748 ## ------------------------------------ ##"
2749 ) | sed "s/^/$as_me: WARNING: /" >&2
2751 esac
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2753 $as_echo_n "checking for $2... " >&6; }
2754 if eval \${$3+:} false; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 eval "$3=\$ac_header_compiler"
2759 eval ac_res=\$$3
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2761 $as_echo "$ac_res" >&6; }
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 } # ac_fn_c_check_header_mongrel
2767 # ac_fn_c_try_run LINENO
2768 # ----------------------
2769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2770 # that executables *can* be run.
2771 ac_fn_c_try_run ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 if { { ac_try="$ac_link"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780 $as_echo "$ac_try_echo"; } >&5
2781 (eval "$ac_link") 2>&5
2782 ac_status=$?
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2785 { { case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791 (eval "$ac_try") 2>&5
2792 ac_status=$?
2793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2794 test $ac_status = 0; }; }; then :
2795 ac_retval=0
2796 else
2797 $as_echo "$as_me: program exited with status $ac_status" >&5
2798 $as_echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2801 ac_retval=$ac_status
2803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 as_fn_set_status $ac_retval
2807 } # ac_fn_c_try_run
2809 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2810 # -------------------------------------------------------
2811 # Tests whether HEADER exists and can be compiled using the include files in
2812 # INCLUDES, setting the cache variable VAR accordingly.
2813 ac_fn_c_check_header_compile ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2817 $as_echo_n "checking for $2... " >&6; }
2818 if eval \${$3+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2824 #include <$2>
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827 eval "$3=yes"
2828 else
2829 eval "$3=no"
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 eval ac_res=\$$3
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2835 $as_echo "$ac_res" >&6; }
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 } # ac_fn_c_check_header_compile
2840 # ac_fn_c_check_func LINENO FUNC VAR
2841 # ----------------------------------
2842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2843 ac_fn_c_check_func ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 $as_echo_n "checking for $2... " >&6; }
2848 if eval \${$3+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850 else
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2855 #define $2 innocuous_$2
2857 /* System header to define __stub macros and hopefully few prototypes,
2858 which can conflict with char $2 (); below.
2859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2860 <limits.h> exists even on freestanding compilers. */
2862 #ifdef __STDC__
2863 # include <limits.h>
2864 #else
2865 # include <assert.h>
2866 #endif
2868 #undef $2
2870 /* Override any GCC internal prototype to avoid an error.
2871 Use char because int might match the return type of a GCC
2872 builtin and then its argument prototype would still apply. */
2873 #ifdef __cplusplus
2874 extern "C"
2875 #endif
2876 char $2 ();
2877 /* The GNU C library defines this for functions which it implements
2878 to always fail with ENOSYS. Some functions are actually named
2879 something starting with __ and the normal name is an alias. */
2880 #if defined __stub_$2 || defined __stub___$2
2881 choke me
2882 #endif
2885 main ()
2887 return $2 ();
2889 return 0;
2891 _ACEOF
2892 if ac_fn_c_try_link "$LINENO"; then :
2893 eval "$3=yes"
2894 else
2895 eval "$3=no"
2897 rm -f core conftest.err conftest.$ac_objext \
2898 conftest$ac_exeext conftest.$ac_ext
2900 eval ac_res=\$$3
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2902 $as_echo "$ac_res" >&6; }
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 } # ac_fn_c_check_func
2907 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2908 # ----------------------------------------------------
2909 # Tries to find if the field MEMBER exists in type AGGR, after including
2910 # INCLUDES, setting cache variable VAR accordingly.
2911 ac_fn_c_check_member ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2915 $as_echo_n "checking for $2.$3... " >&6; }
2916 if eval \${$4+:} false; then :
2917 $as_echo_n "(cached) " >&6
2918 else
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2923 main ()
2925 static $2 ac_aggr;
2926 if (ac_aggr.$3)
2927 return 0;
2929 return 0;
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 eval "$4=yes"
2934 else
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2939 main ()
2941 static $2 ac_aggr;
2942 if (sizeof ac_aggr.$3)
2943 return 0;
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 eval "$4=yes"
2950 else
2951 eval "$4=no"
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 eval ac_res=\$$4
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_member
2964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2965 # -------------------------------------------
2966 # Tests whether TYPE exists after having included INCLUDES, setting cache
2967 # variable VAR accordingly.
2968 ac_fn_c_check_type ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2972 $as_echo_n "checking for $2... " >&6; }
2973 if eval \${$3+:} false; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 eval "$3=no"
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2981 main ()
2983 if (sizeof ($2))
2984 return 0;
2986 return 0;
2988 _ACEOF
2989 if ac_fn_c_try_compile "$LINENO"; then :
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2994 main ()
2996 if (sizeof (($2)))
2997 return 0;
2999 return 0;
3001 _ACEOF
3002 if ac_fn_c_try_compile "$LINENO"; then :
3004 else
3005 eval "$3=yes"
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 eval ac_res=\$$3
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3013 $as_echo "$ac_res" >&6; }
3014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3016 } # ac_fn_c_check_type
3017 cat >config.log <<_ACEOF
3018 This file contains any messages produced by compilers while
3019 running configure, to aid debugging if configure makes a mistake.
3021 It was created by Wine $as_me 2.0, which was
3022 generated by GNU Autoconf 2.69. Invocation command line was
3024 $ $0 $@
3026 _ACEOF
3027 exec 5>>config.log
3029 cat <<_ASUNAME
3030 ## --------- ##
3031 ## Platform. ##
3032 ## --------- ##
3034 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3035 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3036 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3037 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3038 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3040 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3041 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3043 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3044 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3045 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3046 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3047 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3048 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3049 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3051 _ASUNAME
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 $as_echo "PATH: $as_dir"
3059 done
3060 IFS=$as_save_IFS
3062 } >&5
3064 cat >&5 <<_ACEOF
3067 ## ----------- ##
3068 ## Core tests. ##
3069 ## ----------- ##
3071 _ACEOF
3074 # Keep a trace of the command line.
3075 # Strip out --no-create and --no-recursion so they do not pile up.
3076 # Strip out --silent because we don't want to record it for future runs.
3077 # Also quote any args containing shell meta-characters.
3078 # Make two passes to allow for proper duplicate-argument suppression.
3079 ac_configure_args=
3080 ac_configure_args0=
3081 ac_configure_args1=
3082 ac_must_keep_next=false
3083 for ac_pass in 1 2
3085 for ac_arg
3087 case $ac_arg in
3088 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3090 | -silent | --silent | --silen | --sile | --sil)
3091 continue ;;
3092 *\'*)
3093 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3094 esac
3095 case $ac_pass in
3096 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3098 as_fn_append ac_configure_args1 " '$ac_arg'"
3099 if test $ac_must_keep_next = true; then
3100 ac_must_keep_next=false # Got value, back to normal.
3101 else
3102 case $ac_arg in
3103 *=* | --config-cache | -C | -disable-* | --disable-* \
3104 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3105 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3106 | -with-* | --with-* | -without-* | --without-* | --x)
3107 case "$ac_configure_args0 " in
3108 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3109 esac
3111 -* ) ac_must_keep_next=true ;;
3112 esac
3114 as_fn_append ac_configure_args " '$ac_arg'"
3116 esac
3117 done
3118 done
3119 { ac_configure_args0=; unset ac_configure_args0;}
3120 { ac_configure_args1=; unset ac_configure_args1;}
3122 # When interrupted or exit'd, cleanup temporary files, and complete
3123 # config.log. We remove comments because anyway the quotes in there
3124 # would cause problems or look ugly.
3125 # WARNING: Use '\'' to represent an apostrophe within the trap.
3126 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3127 trap 'exit_status=$?
3128 # Save into config.log some information that might help in debugging.
3130 echo
3132 $as_echo "## ---------------- ##
3133 ## Cache variables. ##
3134 ## ---------------- ##"
3135 echo
3136 # The following way of writing the cache mishandles newlines in values,
3138 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3139 eval ac_val=\$$ac_var
3140 case $ac_val in #(
3141 *${as_nl}*)
3142 case $ac_var in #(
3143 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3144 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3145 esac
3146 case $ac_var in #(
3147 _ | IFS | as_nl) ;; #(
3148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3149 *) { eval $ac_var=; unset $ac_var;} ;;
3150 esac ;;
3151 esac
3152 done
3153 (set) 2>&1 |
3154 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3155 *${as_nl}ac_space=\ *)
3156 sed -n \
3157 "s/'\''/'\''\\\\'\'''\''/g;
3158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3159 ;; #(
3161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3163 esac |
3164 sort
3166 echo
3168 $as_echo "## ----------------- ##
3169 ## Output variables. ##
3170 ## ----------------- ##"
3171 echo
3172 for ac_var in $ac_subst_vars
3174 eval ac_val=\$$ac_var
3175 case $ac_val in
3176 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3177 esac
3178 $as_echo "$ac_var='\''$ac_val'\''"
3179 done | sort
3180 echo
3182 if test -n "$ac_subst_files"; then
3183 $as_echo "## ------------------- ##
3184 ## File substitutions. ##
3185 ## ------------------- ##"
3186 echo
3187 for ac_var in $ac_subst_files
3189 eval ac_val=\$$ac_var
3190 case $ac_val in
3191 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3192 esac
3193 $as_echo "$ac_var='\''$ac_val'\''"
3194 done | sort
3195 echo
3198 if test -s confdefs.h; then
3199 $as_echo "## ----------- ##
3200 ## confdefs.h. ##
3201 ## ----------- ##"
3202 echo
3203 cat confdefs.h
3204 echo
3206 test "$ac_signal" != 0 &&
3207 $as_echo "$as_me: caught signal $ac_signal"
3208 $as_echo "$as_me: exit $exit_status"
3209 } >&5
3210 rm -f core *.core core.conftest.* &&
3211 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3212 exit $exit_status
3214 for ac_signal in 1 2 13 15; do
3215 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3216 done
3217 ac_signal=0
3219 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3220 rm -f -r conftest* confdefs.h
3222 $as_echo "/* confdefs.h */" > confdefs.h
3224 # Predefined preprocessor variables.
3226 cat >>confdefs.h <<_ACEOF
3227 #define PACKAGE_NAME "$PACKAGE_NAME"
3228 _ACEOF
3230 cat >>confdefs.h <<_ACEOF
3231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3232 _ACEOF
3234 cat >>confdefs.h <<_ACEOF
3235 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3236 _ACEOF
3238 cat >>confdefs.h <<_ACEOF
3239 #define PACKAGE_STRING "$PACKAGE_STRING"
3240 _ACEOF
3242 cat >>confdefs.h <<_ACEOF
3243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3244 _ACEOF
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_URL "$PACKAGE_URL"
3248 _ACEOF
3251 # Let the site file select an alternate cache file if it wants to.
3252 # Prefer an explicitly selected file to automatically selected ones.
3253 ac_site_file1=NONE
3254 ac_site_file2=NONE
3255 if test -n "$CONFIG_SITE"; then
3256 # We do not want a PATH search for config.site.
3257 case $CONFIG_SITE in #((
3258 -*) ac_site_file1=./$CONFIG_SITE;;
3259 */*) ac_site_file1=$CONFIG_SITE;;
3260 *) ac_site_file1=./$CONFIG_SITE;;
3261 esac
3262 elif test "x$prefix" != xNONE; then
3263 ac_site_file1=$prefix/share/config.site
3264 ac_site_file2=$prefix/etc/config.site
3265 else
3266 ac_site_file1=$ac_default_prefix/share/config.site
3267 ac_site_file2=$ac_default_prefix/etc/config.site
3269 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3271 test "x$ac_site_file" = xNONE && continue
3272 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3274 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3275 sed 's/^/| /' "$ac_site_file" >&5
3276 . "$ac_site_file" \
3277 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error $? "failed to load site script $ac_site_file
3280 See \`config.log' for more details" "$LINENO" 5; }
3282 done
3284 if test -r "$cache_file"; then
3285 # Some versions of bash will fail to source /dev/null (special files
3286 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3287 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3289 $as_echo "$as_me: loading cache $cache_file" >&6;}
3290 case $cache_file in
3291 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3292 *) . "./$cache_file";;
3293 esac
3295 else
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3297 $as_echo "$as_me: creating cache $cache_file" >&6;}
3298 >$cache_file
3301 # Check that the precious variables saved in the cache have kept the same
3302 # value.
3303 ac_cache_corrupted=false
3304 for ac_var in $ac_precious_vars; do
3305 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3306 eval ac_new_set=\$ac_env_${ac_var}_set
3307 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3308 eval ac_new_val=\$ac_env_${ac_var}_value
3309 case $ac_old_set,$ac_new_set in
3310 set,)
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3312 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3313 ac_cache_corrupted=: ;;
3314 ,set)
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3316 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3317 ac_cache_corrupted=: ;;
3318 ,);;
3320 if test "x$ac_old_val" != "x$ac_new_val"; then
3321 # differences in whitespace do not lead to failure.
3322 ac_old_val_w=`echo x $ac_old_val`
3323 ac_new_val_w=`echo x $ac_new_val`
3324 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3326 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3327 ac_cache_corrupted=:
3328 else
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3330 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3331 eval $ac_var=\$ac_old_val
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3334 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3336 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3337 fi;;
3338 esac
3339 # Pass precious variables to config.status.
3340 if test "$ac_new_set" = set; then
3341 case $ac_new_val in
3342 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3343 *) ac_arg=$ac_var=$ac_new_val ;;
3344 esac
3345 case " $ac_configure_args " in
3346 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3347 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3348 esac
3350 done
3351 if $ac_cache_corrupted; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3355 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3356 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3358 ## -------------------- ##
3359 ## Main body of script. ##
3360 ## -------------------- ##
3362 ac_ext=c
3363 ac_cpp='$CPP $CPPFLAGS'
3364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 ac_config_headers="$ac_config_headers include/config.h"
3372 ac_aux_dir=
3373 for ac_dir in tools "$srcdir"/tools; do
3374 if test -f "$ac_dir/install-sh"; then
3375 ac_aux_dir=$ac_dir
3376 ac_install_sh="$ac_aux_dir/install-sh -c"
3377 break
3378 elif test -f "$ac_dir/install.sh"; then
3379 ac_aux_dir=$ac_dir
3380 ac_install_sh="$ac_aux_dir/install.sh -c"
3381 break
3382 elif test -f "$ac_dir/shtool"; then
3383 ac_aux_dir=$ac_dir
3384 ac_install_sh="$ac_aux_dir/shtool install -c"
3385 break
3387 done
3388 if test -z "$ac_aux_dir"; then
3389 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3392 # These three variables are undocumented and unsupported,
3393 # and are intended to be withdrawn in a future Autoconf release.
3394 # They can cause serious problems if a builder's source tree is in a directory
3395 # whose full name contains unusual characters.
3396 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3397 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3398 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3402 libwine_version="1.0"
3406 # Check whether --enable-win16 was given.
3407 if test "${enable_win16+set}" = set; then :
3408 enableval=$enable_win16;
3411 # Check whether --enable-win64 was given.
3412 if test "${enable_win64+set}" = set; then :
3413 enableval=$enable_win64;
3416 # Check whether --enable-tests was given.
3417 if test "${enable_tests+set}" = set; then :
3418 enableval=$enable_tests;
3421 # Check whether --enable-maintainer-mode was given.
3422 if test "${enable_maintainer_mode+set}" = set; then :
3423 enableval=$enable_maintainer_mode;
3428 # Check whether --with-alsa was given.
3429 if test "${with_alsa+set}" = set; then :
3430 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3434 # Check whether --with-capi was given.
3435 if test "${with_capi+set}" = set; then :
3436 withval=$with_capi;
3440 # Check whether --with-cms was given.
3441 if test "${with_cms+set}" = set; then :
3442 withval=$with_cms;
3446 # Check whether --with-coreaudio was given.
3447 if test "${with_coreaudio+set}" = set; then :
3448 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3452 # Check whether --with-cups was given.
3453 if test "${with_cups+set}" = set; then :
3454 withval=$with_cups;
3458 # Check whether --with-curses was given.
3459 if test "${with_curses+set}" = set; then :
3460 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3464 # Check whether --with-dbus was given.
3465 if test "${with_dbus+set}" = set; then :
3466 withval=$with_dbus;
3470 # Check whether --with-fontconfig was given.
3471 if test "${with_fontconfig+set}" = set; then :
3472 withval=$with_fontconfig;
3476 # Check whether --with-freetype was given.
3477 if test "${with_freetype+set}" = set; then :
3478 withval=$with_freetype;
3482 # Check whether --with-gettext was given.
3483 if test "${with_gettext+set}" = set; then :
3484 withval=$with_gettext;
3488 # Check whether --with-gettextpo was given.
3489 if test "${with_gettextpo+set}" = set; then :
3490 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3494 # Check whether --with-gphoto was given.
3495 if test "${with_gphoto+set}" = set; then :
3496 withval=$with_gphoto;
3500 # Check whether --with-glu was given.
3501 if test "${with_glu+set}" = set; then :
3502 withval=$with_glu;
3506 # Check whether --with-gnutls was given.
3507 if test "${with_gnutls+set}" = set; then :
3508 withval=$with_gnutls;
3512 # Check whether --with-gsm was given.
3513 if test "${with_gsm+set}" = set; then :
3514 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3518 # Check whether --with-gstreamer was given.
3519 if test "${with_gstreamer+set}" = set; then :
3520 withval=$with_gstreamer;
3524 # Check whether --with-hal was given.
3525 if test "${with_hal+set}" = set; then :
3526 withval=$with_hal;
3530 # Check whether --with-jpeg was given.
3531 if test "${with_jpeg+set}" = set; then :
3532 withval=$with_jpeg;
3536 # Check whether --with-ldap was given.
3537 if test "${with_ldap+set}" = set; then :
3538 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3542 # Check whether --with-mpg123 was given.
3543 if test "${with_mpg123+set}" = set; then :
3544 withval=$with_mpg123;
3548 # Check whether --with-netapi was given.
3549 if test "${with_netapi+set}" = set; then :
3550 withval=$with_netapi;
3554 # Check whether --with-openal was given.
3555 if test "${with_openal+set}" = set; then :
3556 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3560 # Check whether --with-opencl was given.
3561 if test "${with_opencl+set}" = set; then :
3562 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3566 # Check whether --with-opengl was given.
3567 if test "${with_opengl+set}" = set; then :
3568 withval=$with_opengl;
3572 # Check whether --with-osmesa was given.
3573 if test "${with_osmesa+set}" = set; then :
3574 withval=$with_osmesa;
3578 # Check whether --with-oss was given.
3579 if test "${with_oss+set}" = set; then :
3580 withval=$with_oss;
3584 # Check whether --with-pcap was given.
3585 if test "${with_pcap+set}" = set; then :
3586 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3590 # Check whether --with-png was given.
3591 if test "${with_png+set}" = set; then :
3592 withval=$with_png;
3596 # Check whether --with-pthread was given.
3597 if test "${with_pthread+set}" = set; then :
3598 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3602 # Check whether --with-pulse was given.
3603 if test "${with_pulse+set}" = set; then :
3604 withval=$with_pulse;
3608 # Check whether --with-sane was given.
3609 if test "${with_sane+set}" = set; then :
3610 withval=$with_sane;
3614 # Check whether --with-tiff was given.
3615 if test "${with_tiff+set}" = set; then :
3616 withval=$with_tiff;
3620 # Check whether --with-udev was given.
3621 if test "${with_udev+set}" = set; then :
3622 withval=$with_udev;
3626 # Check whether --with-v4l was given.
3627 if test "${with_v4l+set}" = set; then :
3628 withval=$with_v4l;
3632 # Check whether --with-xcomposite was given.
3633 if test "${with_xcomposite+set}" = set; then :
3634 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3638 # Check whether --with-xcursor was given.
3639 if test "${with_xcursor+set}" = set; then :
3640 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3644 # Check whether --with-xinerama was given.
3645 if test "${with_xinerama+set}" = set; then :
3646 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3650 # Check whether --with-xinput was given.
3651 if test "${with_xinput+set}" = set; then :
3652 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3656 # Check whether --with-xinput2 was given.
3657 if test "${with_xinput2+set}" = set; then :
3658 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3662 # Check whether --with-xml was given.
3663 if test "${with_xml+set}" = set; then :
3664 withval=$with_xml;
3668 # Check whether --with-xrandr was given.
3669 if test "${with_xrandr+set}" = set; then :
3670 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3674 # Check whether --with-xrender was given.
3675 if test "${with_xrender+set}" = set; then :
3676 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3680 # Check whether --with-xshape was given.
3681 if test "${with_xshape+set}" = set; then :
3682 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3686 # Check whether --with-xshm was given.
3687 if test "${with_xshm+set}" = set; then :
3688 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3692 # Check whether --with-xslt was given.
3693 if test "${with_xslt+set}" = set; then :
3694 withval=$with_xslt;
3698 # Check whether --with-xxf86vm was given.
3699 if test "${with_xxf86vm+set}" = set; then :
3700 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
3704 # Check whether --with-zlib was given.
3705 if test "${with_zlib+set}" = set; then :
3706 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3711 # Check whether --with-wine-tools was given.
3712 if test "${with_wine_tools+set}" = set; then :
3713 withval=$with_wine_tools;
3717 # Check whether --with-wine64 was given.
3718 if test "${with_wine64+set}" = set; then :
3719 withval=$with_wine64;
3723 # Make sure we can run config.sub.
3724 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3725 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3728 $as_echo_n "checking build system type... " >&6; }
3729 if ${ac_cv_build+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 ac_build_alias=$build_alias
3733 test "x$ac_build_alias" = x &&
3734 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3735 test "x$ac_build_alias" = x &&
3736 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3737 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3738 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3742 $as_echo "$ac_cv_build" >&6; }
3743 case $ac_cv_build in
3744 *-*-*) ;;
3745 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3746 esac
3747 build=$ac_cv_build
3748 ac_save_IFS=$IFS; IFS='-'
3749 set x $ac_cv_build
3750 shift
3751 build_cpu=$1
3752 build_vendor=$2
3753 shift; shift
3754 # Remember, the first character of IFS is used to create $*,
3755 # except with old shells:
3756 build_os=$*
3757 IFS=$ac_save_IFS
3758 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3762 $as_echo_n "checking host system type... " >&6; }
3763 if ${ac_cv_host+:} false; then :
3764 $as_echo_n "(cached) " >&6
3765 else
3766 if test "x$host_alias" = x; then
3767 ac_cv_host=$ac_cv_build
3768 else
3769 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3770 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3775 $as_echo "$ac_cv_host" >&6; }
3776 case $ac_cv_host in
3777 *-*-*) ;;
3778 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3779 esac
3780 host=$ac_cv_host
3781 ac_save_IFS=$IFS; IFS='-'
3782 set x $ac_cv_host
3783 shift
3784 host_cpu=$1
3785 host_vendor=$2
3786 shift; shift
3787 # Remember, the first character of IFS is used to create $*,
3788 # except with old shells:
3789 host_os=$*
3790 IFS=$ac_save_IFS
3791 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3795 case "$srcdir" in
3796 .) ;;
3797 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3798 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3799 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3800 fi ;;
3801 esac
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3805 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3806 set x ${MAKE-make}
3807 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3808 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3809 $as_echo_n "(cached) " >&6
3810 else
3811 cat >conftest.make <<\_ACEOF
3812 SHELL = /bin/sh
3813 all:
3814 @echo '@@@%%%=$(MAKE)=@@@%%%'
3815 _ACEOF
3816 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3817 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3818 *@@@%%%=?*=@@@%%%*)
3819 eval ac_cv_prog_make_${ac_make}_set=yes;;
3821 eval ac_cv_prog_make_${ac_make}_set=no;;
3822 esac
3823 rm -f conftest.make
3825 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3827 $as_echo "yes" >&6; }
3828 SET_MAKE=
3829 else
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3832 SET_MAKE="MAKE=${MAKE-make}"
3835 ac_ext=c
3836 ac_cpp='$CPP $CPPFLAGS'
3837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 if test -n "$ac_tool_prefix"; then
3841 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3842 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$CC"; then
3849 ac_cv_prog_CC="$CC" # Let the user override the test.
3850 else
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 break 2
3862 done
3863 done
3864 IFS=$as_save_IFS
3868 CC=$ac_cv_prog_CC
3869 if test -n "$CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3871 $as_echo "$CC" >&6; }
3872 else
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3879 if test -z "$ac_cv_prog_CC"; then
3880 ac_ct_CC=$CC
3881 # Extract the first word of "gcc", so it can be a program name with args.
3882 set dummy gcc; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$ac_ct_CC"; then
3889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_ac_ct_CC="gcc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3917 if test "x$ac_ct_CC" = x; then
3918 CC=""
3919 else
3920 case $cross_compiling:$ac_tool_warned in
3921 yes:)
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3924 ac_tool_warned=yes ;;
3925 esac
3926 CC=$ac_ct_CC
3928 else
3929 CC="$ac_cv_prog_CC"
3932 if test -z "$CC"; then
3933 if test -n "$ac_tool_prefix"; then
3934 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3935 set dummy ${ac_tool_prefix}cc; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_CC="${ac_tool_prefix}cc"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3957 IFS=$as_save_IFS
3961 CC=$ac_cv_prog_CC
3962 if test -n "$CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 $as_echo "$CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3973 if test -z "$CC"; then
3974 # Extract the first word of "cc", so it can be a program name with args.
3975 set dummy cc; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_CC+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 if test -n "$CC"; then
3982 ac_cv_prog_CC="$CC" # Let the user override the test.
3983 else
3984 ac_prog_rejected=no
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3988 IFS=$as_save_IFS
3989 test -z "$as_dir" && as_dir=.
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3992 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3993 ac_prog_rejected=yes
3994 continue
3996 ac_cv_prog_CC="cc"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4004 if test $ac_prog_rejected = yes; then
4005 # We found a bogon in the path, so make sure we never use it.
4006 set dummy $ac_cv_prog_CC
4007 shift
4008 if test $# != 0; then
4009 # We chose a different compiler from the bogus one.
4010 # However, it has the same basename, so the bogon will be chosen
4011 # first if we set CC to just the basename; use the full file name.
4012 shift
4013 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4018 CC=$ac_cv_prog_CC
4019 if test -n "$CC"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4021 $as_echo "$CC" >&6; }
4022 else
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4029 if test -z "$CC"; then
4030 if test -n "$ac_tool_prefix"; then
4031 for ac_prog in cl.exe
4033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036 $as_echo_n "checking for $ac_word... " >&6; }
4037 if ${ac_cv_prog_CC+:} false; then :
4038 $as_echo_n "(cached) " >&6
4039 else
4040 if test -n "$CC"; then
4041 ac_cv_prog_CC="$CC" # Let the user override the test.
4042 else
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 for as_dir in $PATH
4046 IFS=$as_save_IFS
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4050 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 break 2
4054 done
4055 done
4056 IFS=$as_save_IFS
4060 CC=$ac_cv_prog_CC
4061 if test -n "$CC"; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4063 $as_echo "$CC" >&6; }
4064 else
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066 $as_echo "no" >&6; }
4070 test -n "$CC" && break
4071 done
4073 if test -z "$CC"; then
4074 ac_ct_CC=$CC
4075 for ac_prog in cl.exe
4077 # Extract the first word of "$ac_prog", so it can be a program name with args.
4078 set dummy $ac_prog; ac_word=$2
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080 $as_echo_n "checking for $ac_word... " >&6; }
4081 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4082 $as_echo_n "(cached) " >&6
4083 else
4084 if test -n "$ac_ct_CC"; then
4085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4086 else
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_ac_ct_CC="$ac_prog"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2
4098 done
4099 done
4100 IFS=$as_save_IFS
4104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4105 if test -n "$ac_ct_CC"; then
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4107 $as_echo "$ac_ct_CC" >&6; }
4108 else
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4114 test -n "$ac_ct_CC" && break
4115 done
4117 if test "x$ac_ct_CC" = x; then
4118 CC=""
4119 else
4120 case $cross_compiling:$ac_tool_warned in
4121 yes:)
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4124 ac_tool_warned=yes ;;
4125 esac
4126 CC=$ac_ct_CC
4133 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135 as_fn_error $? "no acceptable C compiler found in \$PATH
4136 See \`config.log' for more details" "$LINENO" 5; }
4138 # Provide some information about the compiler.
4139 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4140 set X $ac_compile
4141 ac_compiler=$2
4142 for ac_option in --version -v -V -qversion; do
4143 { { ac_try="$ac_compiler $ac_option >&5"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4151 ac_status=$?
4152 if test -s conftest.err; then
4153 sed '10a\
4154 ... rest of stderr output deleted ...
4155 10q' conftest.err >conftest.er1
4156 cat conftest.er1 >&5
4158 rm -f conftest.er1 conftest.err
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }
4161 done
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4167 main ()
4171 return 0;
4173 _ACEOF
4174 ac_clean_files_save=$ac_clean_files
4175 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4176 # Try to create an executable without -o first, disregard a.out.
4177 # It will help us diagnose broken compilers, and finding out an intuition
4178 # of exeext.
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4180 $as_echo_n "checking whether the C compiler works... " >&6; }
4181 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4183 # The possible output files:
4184 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4186 ac_rmfiles=
4187 for ac_file in $ac_files
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4191 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4192 esac
4193 done
4194 rm -f $ac_rmfiles
4196 if { { ac_try="$ac_link_default"
4197 case "(($ac_try" in
4198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4200 esac
4201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4202 $as_echo "$ac_try_echo"; } >&5
4203 (eval "$ac_link_default") 2>&5
4204 ac_status=$?
4205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206 test $ac_status = 0; }; then :
4207 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4208 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4209 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4210 # so that the user can short-circuit this test for compilers unknown to
4211 # Autoconf.
4212 for ac_file in $ac_files ''
4214 test -f "$ac_file" || continue
4215 case $ac_file in
4216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4218 [ab].out )
4219 # We found the default executable, but exeext='' is most
4220 # certainly right.
4221 break;;
4222 *.* )
4223 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4224 then :; else
4225 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4227 # We set ac_cv_exeext here because the later test for it is not
4228 # safe: cross compilers may not add the suffix if given an `-o'
4229 # argument, so we may need to know it at that point already.
4230 # Even if this section looks crufty: it has the advantage of
4231 # actually working.
4232 break;;
4234 break;;
4235 esac
4236 done
4237 test "$ac_cv_exeext" = no && ac_cv_exeext=
4239 else
4240 ac_file=''
4242 if test -z "$ac_file"; then :
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4245 $as_echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4250 as_fn_error 77 "C compiler cannot create executables
4251 See \`config.log' for more details" "$LINENO" 5; }
4252 else
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4254 $as_echo "yes" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4257 $as_echo_n "checking for C compiler default output file name... " >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4259 $as_echo "$ac_file" >&6; }
4260 ac_exeext=$ac_cv_exeext
4262 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4263 ac_clean_files=$ac_clean_files_save
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4265 $as_echo_n "checking for suffix of executables... " >&6; }
4266 if { { ac_try="$ac_link"
4267 case "(($ac_try" in
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4270 esac
4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272 $as_echo "$ac_try_echo"; } >&5
4273 (eval "$ac_link") 2>&5
4274 ac_status=$?
4275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276 test $ac_status = 0; }; then :
4277 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4278 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4279 # work properly (i.e., refer to `conftest.exe'), while it won't with
4280 # `rm'.
4281 for ac_file in conftest.exe conftest conftest.*; do
4282 test -f "$ac_file" || continue
4283 case $ac_file in
4284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4285 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4286 break;;
4287 * ) break;;
4288 esac
4289 done
4290 else
4291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4293 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4294 See \`config.log' for more details" "$LINENO" 5; }
4296 rm -f conftest conftest$ac_cv_exeext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4298 $as_echo "$ac_cv_exeext" >&6; }
4300 rm -f conftest.$ac_ext
4301 EXEEXT=$ac_cv_exeext
4302 ac_exeext=$EXEEXT
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4305 #include <stdio.h>
4307 main ()
4309 FILE *f = fopen ("conftest.out", "w");
4310 return ferror (f) || fclose (f) != 0;
4313 return 0;
4315 _ACEOF
4316 ac_clean_files="$ac_clean_files conftest.out"
4317 # Check that the compiler produces executables we can run. If not, either
4318 # the compiler is broken, or we cross compile.
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4320 $as_echo_n "checking whether we are cross compiling... " >&6; }
4321 if test "$cross_compiling" != yes; then
4322 { { ac_try="$ac_link"
4323 case "(($ac_try" in
4324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4326 esac
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_link") 2>&5
4330 ac_status=$?
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }
4333 if { ac_try='./conftest$ac_cv_exeext'
4334 { { case "(($ac_try" in
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4337 esac
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 $as_echo "$ac_try_echo"; } >&5
4340 (eval "$ac_try") 2>&5
4341 ac_status=$?
4342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4343 test $ac_status = 0; }; }; then
4344 cross_compiling=no
4345 else
4346 if test "$cross_compiling" = maybe; then
4347 cross_compiling=yes
4348 else
4349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4351 as_fn_error $? "cannot run C compiled programs.
4352 If you meant to cross compile, use \`--host'.
4353 See \`config.log' for more details" "$LINENO" 5; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4358 $as_echo "$cross_compiling" >&6; }
4360 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4361 ac_clean_files=$ac_clean_files_save
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4363 $as_echo_n "checking for suffix of object files... " >&6; }
4364 if ${ac_cv_objext+:} false; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 main ()
4375 return 0;
4377 _ACEOF
4378 rm -f conftest.o conftest.obj
4379 if { { ac_try="$ac_compile"
4380 case "(($ac_try" in
4381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382 *) ac_try_echo=$ac_try;;
4383 esac
4384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385 $as_echo "$ac_try_echo"; } >&5
4386 (eval "$ac_compile") 2>&5
4387 ac_status=$?
4388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4389 test $ac_status = 0; }; then :
4390 for ac_file in conftest.o conftest.obj conftest.*; do
4391 test -f "$ac_file" || continue;
4392 case $ac_file in
4393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4395 break;;
4396 esac
4397 done
4398 else
4399 $as_echo "$as_me: failed program was:" >&5
4400 sed 's/^/| /' conftest.$ac_ext >&5
4402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4404 as_fn_error $? "cannot compute suffix of object files: cannot compile
4405 See \`config.log' for more details" "$LINENO" 5; }
4407 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4410 $as_echo "$ac_cv_objext" >&6; }
4411 OBJEXT=$ac_cv_objext
4412 ac_objext=$OBJEXT
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4415 if ${ac_cv_c_compiler_gnu+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4422 main ()
4424 #ifndef __GNUC__
4425 choke me
4426 #endif
4429 return 0;
4431 _ACEOF
4432 if ac_fn_c_try_compile "$LINENO"; then :
4433 ac_compiler_gnu=yes
4434 else
4435 ac_compiler_gnu=no
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4442 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4443 if test $ac_compiler_gnu = yes; then
4444 GCC=yes
4445 else
4446 GCC=
4448 ac_test_CFLAGS=${CFLAGS+set}
4449 ac_save_CFLAGS=$CFLAGS
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4451 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4452 if ${ac_cv_prog_cc_g+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 ac_save_c_werror_flag=$ac_c_werror_flag
4456 ac_c_werror_flag=yes
4457 ac_cv_prog_cc_g=no
4458 CFLAGS="-g"
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4463 main ()
4467 return 0;
4469 _ACEOF
4470 if ac_fn_c_try_compile "$LINENO"; then :
4471 ac_cv_prog_cc_g=yes
4472 else
4473 CFLAGS=""
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"; then :
4487 else
4488 ac_c_werror_flag=$ac_save_c_werror_flag
4489 CFLAGS="-g"
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 ac_cv_prog_cc_g=yes
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 ac_c_werror_flag=$ac_save_c_werror_flag
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4512 $as_echo "$ac_cv_prog_cc_g" >&6; }
4513 if test "$ac_test_CFLAGS" = set; then
4514 CFLAGS=$ac_save_CFLAGS
4515 elif test $ac_cv_prog_cc_g = yes; then
4516 if test "$GCC" = yes; then
4517 CFLAGS="-g -O2"
4518 else
4519 CFLAGS="-g"
4521 else
4522 if test "$GCC" = yes; then
4523 CFLAGS="-O2"
4524 else
4525 CFLAGS=
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4529 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4530 if ${ac_cv_prog_cc_c89+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 ac_cv_prog_cc_c89=no
4534 ac_save_CC=$CC
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537 #include <stdarg.h>
4538 #include <stdio.h>
4539 struct stat;
4540 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4541 struct buf { int x; };
4542 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4543 static char *e (p, i)
4544 char **p;
4545 int i;
4547 return p[i];
4549 static char *f (char * (*g) (char **, int), char **p, ...)
4551 char *s;
4552 va_list v;
4553 va_start (v,p);
4554 s = g (p, va_arg (v,int));
4555 va_end (v);
4556 return s;
4559 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4560 function prototypes and stuff, but not '\xHH' hex character constants.
4561 These don't provoke an error unfortunately, instead are silently treated
4562 as 'x'. The following induces an error, until -std is added to get
4563 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4564 array size at least. It's necessary to write '\x00'==0 to get something
4565 that's true only with -std. */
4566 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4568 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4569 inside strings and character constants. */
4570 #define FOO(x) 'x'
4571 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4573 int test (int i, double x);
4574 struct s1 {int (*f) (int a);};
4575 struct s2 {int (*f) (double a);};
4576 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4577 int argc;
4578 char **argv;
4580 main ()
4582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4584 return 0;
4586 _ACEOF
4587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4588 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4590 CC="$ac_save_CC $ac_arg"
4591 if ac_fn_c_try_compile "$LINENO"; then :
4592 ac_cv_prog_cc_c89=$ac_arg
4594 rm -f core conftest.err conftest.$ac_objext
4595 test "x$ac_cv_prog_cc_c89" != "xno" && break
4596 done
4597 rm -f conftest.$ac_ext
4598 CC=$ac_save_CC
4601 # AC_CACHE_VAL
4602 case "x$ac_cv_prog_cc_c89" in
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4605 $as_echo "none needed" >&6; } ;;
4606 xno)
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4608 $as_echo "unsupported" >&6; } ;;
4610 CC="$CC $ac_cv_prog_cc_c89"
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4612 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4613 esac
4614 if test "x$ac_cv_prog_cc_c89" != xno; then :
4618 ac_ext=c
4619 ac_cpp='$CPP $CPPFLAGS'
4620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 ac_ext=cpp
4625 ac_cpp='$CXXCPP $CPPFLAGS'
4626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4629 if test -z "$CXX"; then
4630 if test -n "$CCC"; then
4631 CXX=$CCC
4632 else
4633 if test -n "$ac_tool_prefix"; then
4634 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if ${ac_cv_prog_CXX+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 if test -n "$CXX"; then
4644 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4645 else
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4649 IFS=$as_save_IFS
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 break 2
4657 done
4658 done
4659 IFS=$as_save_IFS
4663 CXX=$ac_cv_prog_CXX
4664 if test -n "$CXX"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4666 $as_echo "$CXX" >&6; }
4667 else
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4673 test -n "$CXX" && break
4674 done
4676 if test -z "$CXX"; then
4677 ac_ct_CXX=$CXX
4678 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4680 # Extract the first word of "$ac_prog", so it can be a program name with args.
4681 set dummy $ac_prog; ac_word=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686 else
4687 if test -n "$ac_ct_CXX"; then
4688 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4689 else
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH
4693 IFS=$as_save_IFS
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_ac_ct_CXX="$ac_prog"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 break 2
4701 done
4702 done
4703 IFS=$as_save_IFS
4707 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4708 if test -n "$ac_ct_CXX"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4710 $as_echo "$ac_ct_CXX" >&6; }
4711 else
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4717 test -n "$ac_ct_CXX" && break
4718 done
4720 if test "x$ac_ct_CXX" = x; then
4721 CXX="g++"
4722 else
4723 case $cross_compiling:$ac_tool_warned in
4724 yes:)
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4727 ac_tool_warned=yes ;;
4728 esac
4729 CXX=$ac_ct_CXX
4735 # Provide some information about the compiler.
4736 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4737 set X $ac_compile
4738 ac_compiler=$2
4739 for ac_option in --version -v -V -qversion; do
4740 { { ac_try="$ac_compiler $ac_option >&5"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4746 $as_echo "$ac_try_echo"; } >&5
4747 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4748 ac_status=$?
4749 if test -s conftest.err; then
4750 sed '10a\
4751 ... rest of stderr output deleted ...
4752 10q' conftest.err >conftest.er1
4753 cat conftest.er1 >&5
4755 rm -f conftest.er1 conftest.err
4756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4757 test $ac_status = 0; }
4758 done
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4761 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4762 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4763 $as_echo_n "(cached) " >&6
4764 else
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4771 #ifndef __GNUC__
4772 choke me
4773 #endif
4776 return 0;
4778 _ACEOF
4779 if ac_fn_cxx_try_compile "$LINENO"; then :
4780 ac_compiler_gnu=yes
4781 else
4782 ac_compiler_gnu=no
4784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4785 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4789 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4790 if test $ac_compiler_gnu = yes; then
4791 GXX=yes
4792 else
4793 GXX=
4795 ac_test_CXXFLAGS=${CXXFLAGS+set}
4796 ac_save_CXXFLAGS=$CXXFLAGS
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4798 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4799 if ${ac_cv_prog_cxx_g+:} false; then :
4800 $as_echo_n "(cached) " >&6
4801 else
4802 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4803 ac_cxx_werror_flag=yes
4804 ac_cv_prog_cxx_g=no
4805 CXXFLAGS="-g"
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4810 main ()
4814 return 0;
4816 _ACEOF
4817 if ac_fn_cxx_try_compile "$LINENO"; then :
4818 ac_cv_prog_cxx_g=yes
4819 else
4820 CXXFLAGS=""
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 main ()
4829 return 0;
4831 _ACEOF
4832 if ac_fn_cxx_try_compile "$LINENO"; then :
4834 else
4835 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4836 CXXFLAGS="-g"
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4841 main ()
4845 return 0;
4847 _ACEOF
4848 if ac_fn_cxx_try_compile "$LINENO"; then :
4849 ac_cv_prog_cxx_g=yes
4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4859 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4860 if test "$ac_test_CXXFLAGS" = set; then
4861 CXXFLAGS=$ac_save_CXXFLAGS
4862 elif test $ac_cv_prog_cxx_g = yes; then
4863 if test "$GXX" = yes; then
4864 CXXFLAGS="-g -O2"
4865 else
4866 CXXFLAGS="-g"
4868 else
4869 if test "$GXX" = yes; then
4870 CXXFLAGS="-O2"
4871 else
4872 CXXFLAGS=
4875 ac_ext=c
4876 ac_cpp='$CPP $CPPFLAGS'
4877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4881 if test -n "$ac_tool_prefix"; then
4882 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4883 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_CPPBIN+:} false; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 if test -n "$CPPBIN"; then
4890 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4891 else
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4905 IFS=$as_save_IFS
4909 CPPBIN=$ac_cv_prog_CPPBIN
4910 if test -n "$CPPBIN"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4912 $as_echo "$CPPBIN" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4920 if test -z "$ac_cv_prog_CPPBIN"; then
4921 ac_ct_CPPBIN=$CPPBIN
4922 # Extract the first word of "cpp", so it can be a program name with args.
4923 set dummy cpp; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4927 $as_echo_n "(cached) " >&6
4928 else
4929 if test -n "$ac_ct_CPPBIN"; then
4930 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_ac_ct_CPPBIN="cpp"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 break 2
4943 done
4944 done
4945 IFS=$as_save_IFS
4949 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4950 if test -n "$ac_ct_CPPBIN"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4952 $as_echo "$ac_ct_CPPBIN" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4958 if test "x$ac_ct_CPPBIN" = x; then
4959 CPPBIN="cpp"
4960 else
4961 case $cross_compiling:$ac_tool_warned in
4962 yes:)
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4965 ac_tool_warned=yes ;;
4966 esac
4967 CPPBIN=$ac_ct_CPPBIN
4969 else
4970 CPPBIN="$ac_cv_prog_CPPBIN"
4974 cat >>confdefs.h <<_ACEOF
4975 #define EXEEXT "$ac_exeext"
4976 _ACEOF
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4980 set dummy ${ac_tool_prefix}ld; ac_word=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_LD+:} false; then :
4984 $as_echo_n "(cached) " >&6
4985 else
4986 if test -n "$LD"; then
4987 ac_cv_prog_LD="$LD" # Let the user override the test.
4988 else
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 for as_dir in $PATH
4992 IFS=$as_save_IFS
4993 test -z "$as_dir" && as_dir=.
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_LD="${ac_tool_prefix}ld"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 break 2
5000 done
5001 done
5002 IFS=$as_save_IFS
5006 LD=$ac_cv_prog_LD
5007 if test -n "$LD"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5009 $as_echo "$LD" >&6; }
5010 else
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5017 if test -z "$ac_cv_prog_LD"; then
5018 ac_ct_LD=$LD
5019 # Extract the first word of "ld", so it can be a program name with args.
5020 set dummy ld; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 if test -n "$ac_ct_LD"; then
5027 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_LD="ld"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5042 IFS=$as_save_IFS
5046 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5047 if test -n "$ac_ct_LD"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5049 $as_echo "$ac_ct_LD" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5055 if test "x$ac_ct_LD" = x; then
5056 LD=""
5057 else
5058 case $cross_compiling:$ac_tool_warned in
5059 yes:)
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5062 ac_tool_warned=yes ;;
5063 esac
5064 LD=$ac_ct_LD
5066 else
5067 LD="$ac_cv_prog_LD"
5071 case $host in
5072 *-darwin*)
5073 with_fontconfig=${with_fontconfig:-no}
5075 *-mingw32*|*-cygwin*)
5076 enable_win16=${enable_win16:-no}
5077 CFLAGS="$CFLAGS -D_WIN32"
5079 esac
5081 case $host in
5082 x86_64*|amd64*)
5083 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5084 then
5085 CC="$CC -m32"
5086 CXX="$CXX -m32"
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5088 $as_echo_n "checking whether $CC works... " >&6; }
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5094 main ()
5098 return 0;
5100 _ACEOF
5101 if ac_fn_c_try_link "$LINENO"; then :
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5103 $as_echo "yes" >&6; }
5104 else
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5109 rm -f core conftest.err conftest.$ac_objext \
5110 conftest$ac_exeext conftest.$ac_ext
5111 host_cpu="i386"
5112 notice_platform="32-bit "
5113 TARGETFLAGS="-m32"
5115 enable_win16=${enable_win16:-yes}
5116 else
5117 if test "x${GCC}" = "xyes"
5118 then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5120 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5123 #include <stdarg.h>
5125 main ()
5127 void func(__builtin_ms_va_list *args);
5129 return 0;
5131 _ACEOF
5132 if ac_fn_c_try_compile "$LINENO"; then :
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5134 $as_echo "yes" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5138 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5142 CC="$CC -m64"
5143 CXX="$CXX -m64"
5144 host_cpu="x86_64"
5145 notice_platform="64-bit "
5146 TARGETFLAGS="-m64"
5150 arm*)
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5152 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5154 /* end confdefs.h. */
5155 int ac_test(int i) { return i; }
5157 main ()
5159 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5161 return 0;
5163 _ACEOF
5164 if ac_fn_c_try_link "$LINENO"; then :
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 $as_echo "yes" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5170 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5172 rm -f core conftest.err conftest.$ac_objext \
5173 conftest$ac_exeext conftest.$ac_ext
5174 CFLAGS="$CFLAGS -marm"
5175 TARGETFLAGS="-marm"
5178 i[3456789]86*)
5179 enable_win16=${enable_win16:-yes}
5181 esac
5183 enable_win16=${enable_win16:-no}
5184 enable_win64=${enable_win64:-no}
5186 enable_winetest=${enable_winetest:-$enable_tests}
5188 if test -n "$with_wine64"
5189 then
5190 if test "x$enable_win64" = "xyes"
5191 then
5192 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5193 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5195 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5196 You should create a separate build directory and run configure from there." "$LINENO" 5
5197 enable_fonts=${enable_fonts:-no}
5198 enable_server=${enable_server:-no}
5199 elif test "x$enable_win64" = "xyes"
5200 then
5201 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5205 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5206 if ${wine_cv_toolsdir+:} false; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5209 wine_cv_toolsdir="$with_wine_tools"
5210 if test -z "$with_wine_tools"; then
5211 if test "$cross_compiling" = "yes"; then
5212 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5213 elif test -n "$with_wine64"; then
5214 wine_cv_toolsdir="$with_wine64"
5217 if test -z "$wine_cv_toolsdir"; then
5218 wine_makedep=tools/makedep
5219 wine_cv_toolsdir="\$(top_builddir)"
5220 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5221 wine_makedep=$wine_cv_toolsdir/tools/makedep
5222 case "$wine_cv_toolsdir" in
5223 /*) ;;
5224 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5225 esac
5226 enable_tools=${enable_tools:-no}
5227 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5228 else
5229 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5233 $as_echo "$wine_cv_toolsdir" >&6; }
5234 TOOLSDIR=$wine_cv_toolsdir
5236 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5237 then
5238 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5242 for ac_prog in flex
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy $ac_prog; ac_word=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_FLEX+:} false; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5253 else
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_FLEX="$ac_prog"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 break 2
5265 done
5266 done
5267 IFS=$as_save_IFS
5271 FLEX=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5274 $as_echo "$FLEX" >&6; }
5275 else
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5281 test -n "$FLEX" && break
5282 done
5283 test -n "$FLEX" || FLEX="none"
5285 if test "$FLEX" = "none"
5286 then
5287 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5290 $as_echo_n "checking whether flex is recent enough... " >&6; }
5291 cat >conftest.l <<EOF
5292 %top{
5293 #include "prediluvian.h"
5297 if $FLEX -t conftest.l >/dev/null 2>&5
5298 then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5300 $as_echo "yes" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5304 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5307 for ac_prog in bison
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy $ac_prog; ac_word=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if ${ac_cv_prog_BISON+:} false; then :
5314 $as_echo_n "(cached) " >&6
5315 else
5316 if test -n "$BISON"; then
5317 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5318 else
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5320 for as_dir in $PATH
5322 IFS=$as_save_IFS
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 ac_cv_prog_BISON="$ac_prog"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 break 2
5330 done
5331 done
5332 IFS=$as_save_IFS
5336 BISON=$ac_cv_prog_BISON
5337 if test -n "$BISON"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5339 $as_echo "$BISON" >&6; }
5340 else
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5346 test -n "$BISON" && break
5347 done
5348 test -n "$BISON" || BISON="none"
5350 if test "$BISON" = "none"
5351 then
5352 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5355 if test -n "$ac_tool_prefix"; then
5356 for ac_prog in ar gar
5358 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_AR+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$AR"; then
5366 ac_cv_prog_AR="$AR" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 AR=$ac_cv_prog_AR
5386 if test -n "$AR"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5388 $as_echo "$AR" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5395 test -n "$AR" && break
5396 done
5398 if test -z "$AR"; then
5399 ac_ct_AR=$AR
5400 for ac_prog in ar gar
5402 # Extract the first word of "$ac_prog", so it can be a program name with args.
5403 set dummy $ac_prog; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
5409 if test -n "$ac_ct_AR"; then
5410 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_ac_ct_AR="$ac_prog"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 break 2
5423 done
5424 done
5425 IFS=$as_save_IFS
5429 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5430 if test -n "$ac_ct_AR"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5432 $as_echo "$ac_ct_AR" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5439 test -n "$ac_ct_AR" && break
5440 done
5442 if test "x$ac_ct_AR" = x; then
5443 AR="ar"
5444 else
5445 case $cross_compiling:$ac_tool_warned in
5446 yes:)
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5449 ac_tool_warned=yes ;;
5450 esac
5451 AR=$ac_ct_AR
5455 if test -n "$ac_tool_prefix"; then
5456 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5457 set dummy ${ac_tool_prefix}strip; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_prog_STRIP+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 if test -n "$STRIP"; then
5464 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5465 else
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 break 2
5477 done
5478 done
5479 IFS=$as_save_IFS
5483 STRIP=$ac_cv_prog_STRIP
5484 if test -n "$STRIP"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5486 $as_echo "$STRIP" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5494 if test -z "$ac_cv_prog_STRIP"; then
5495 ac_ct_STRIP=$STRIP
5496 # Extract the first word of "strip", so it can be a program name with args.
5497 set dummy strip; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$ac_ct_STRIP"; then
5504 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_ac_ct_STRIP="strip"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5524 if test -n "$ac_ct_STRIP"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5526 $as_echo "$ac_ct_STRIP" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5532 if test "x$ac_ct_STRIP" = x; then
5533 STRIP="strip"
5534 else
5535 case $cross_compiling:$ac_tool_warned in
5536 yes:)
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5539 ac_tool_warned=yes ;;
5540 esac
5541 STRIP=$ac_ct_STRIP
5543 else
5544 STRIP="$ac_cv_prog_STRIP"
5547 ARFLAGS=rc
5549 if test -n "$ac_tool_prefix"; then
5550 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5551 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_prog_RANLIB+:} false; then :
5555 $as_echo_n "(cached) " >&6
5556 else
5557 if test -n "$RANLIB"; then
5558 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5559 else
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $PATH
5563 IFS=$as_save_IFS
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5567 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 break 2
5571 done
5572 done
5573 IFS=$as_save_IFS
5577 RANLIB=$ac_cv_prog_RANLIB
5578 if test -n "$RANLIB"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5580 $as_echo "$RANLIB" >&6; }
5581 else
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5588 if test -z "$ac_cv_prog_RANLIB"; then
5589 ac_ct_RANLIB=$RANLIB
5590 # Extract the first word of "ranlib", so it can be a program name with args.
5591 set dummy ranlib; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 if test -n "$ac_ct_RANLIB"; then
5598 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5603 IFS=$as_save_IFS
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_ac_ct_RANLIB="ranlib"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 break 2
5611 done
5612 done
5613 IFS=$as_save_IFS
5617 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5618 if test -n "$ac_ct_RANLIB"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5620 $as_echo "$ac_ct_RANLIB" >&6; }
5621 else
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5626 if test "x$ac_ct_RANLIB" = x; then
5627 RANLIB=":"
5628 else
5629 case $cross_compiling:$ac_tool_warned in
5630 yes:)
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5633 ac_tool_warned=yes ;;
5634 esac
5635 RANLIB=$ac_ct_RANLIB
5637 else
5638 RANLIB="$ac_cv_prog_RANLIB"
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5642 $as_echo_n "checking whether ln -s works... " >&6; }
5643 LN_S=$as_ln_s
5644 if test "$LN_S" = "ln -s"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5646 $as_echo "yes" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5649 $as_echo "no, using $LN_S" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5653 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5654 if ${ac_cv_path_GREP+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -z "$GREP"; then
5658 ac_path_GREP_found=false
5659 # Loop through the user's path and test for each of PROGNAME-LIST
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_prog in grep ggrep; do
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5668 as_fn_executable_p "$ac_path_GREP" || continue
5669 # Check for GNU ac_path_GREP and select it if it is found.
5670 # Check for GNU $ac_path_GREP
5671 case `"$ac_path_GREP" --version 2>&1` in
5672 *GNU*)
5673 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5675 ac_count=0
5676 $as_echo_n 0123456789 >"conftest.in"
5677 while :
5679 cat "conftest.in" "conftest.in" >"conftest.tmp"
5680 mv "conftest.tmp" "conftest.in"
5681 cp "conftest.in" "conftest.nl"
5682 $as_echo 'GREP' >> "conftest.nl"
5683 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5684 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5685 as_fn_arith $ac_count + 1 && ac_count=$as_val
5686 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5687 # Best one so far, save it but keep looking for a better one
5688 ac_cv_path_GREP="$ac_path_GREP"
5689 ac_path_GREP_max=$ac_count
5691 # 10*(2^10) chars as input seems more than enough
5692 test $ac_count -gt 10 && break
5693 done
5694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5695 esac
5697 $ac_path_GREP_found && break 3
5698 done
5699 done
5700 done
5701 IFS=$as_save_IFS
5702 if test -z "$ac_cv_path_GREP"; then
5703 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5705 else
5706 ac_cv_path_GREP=$GREP
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5711 $as_echo "$ac_cv_path_GREP" >&6; }
5712 GREP="$ac_cv_path_GREP"
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5716 $as_echo_n "checking for egrep... " >&6; }
5717 if ${ac_cv_path_EGREP+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5721 then ac_cv_path_EGREP="$GREP -E"
5722 else
5723 if test -z "$EGREP"; then
5724 ac_path_EGREP_found=false
5725 # Loop through the user's path and test for each of PROGNAME-LIST
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_prog in egrep; do
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5734 as_fn_executable_p "$ac_path_EGREP" || continue
5735 # Check for GNU ac_path_EGREP and select it if it is found.
5736 # Check for GNU $ac_path_EGREP
5737 case `"$ac_path_EGREP" --version 2>&1` in
5738 *GNU*)
5739 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5741 ac_count=0
5742 $as_echo_n 0123456789 >"conftest.in"
5743 while :
5745 cat "conftest.in" "conftest.in" >"conftest.tmp"
5746 mv "conftest.tmp" "conftest.in"
5747 cp "conftest.in" "conftest.nl"
5748 $as_echo 'EGREP' >> "conftest.nl"
5749 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5750 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5751 as_fn_arith $ac_count + 1 && ac_count=$as_val
5752 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5753 # Best one so far, save it but keep looking for a better one
5754 ac_cv_path_EGREP="$ac_path_EGREP"
5755 ac_path_EGREP_max=$ac_count
5757 # 10*(2^10) chars as input seems more than enough
5758 test $ac_count -gt 10 && break
5759 done
5760 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5761 esac
5763 $ac_path_EGREP_found && break 3
5764 done
5765 done
5766 done
5767 IFS=$as_save_IFS
5768 if test -z "$ac_cv_path_EGREP"; then
5769 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5771 else
5772 ac_cv_path_EGREP=$EGREP
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5778 $as_echo "$ac_cv_path_EGREP" >&6; }
5779 EGREP="$ac_cv_path_EGREP"
5782 # Extract the first word of "ldconfig", so it can be a program name with args.
5783 set dummy ldconfig; ac_word=$2
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 $as_echo_n "checking for $ac_word... " >&6; }
5786 if ${ac_cv_path_LDCONFIG+:} false; then :
5787 $as_echo_n "(cached) " >&6
5788 else
5789 case $LDCONFIG in
5790 [\\/]* | ?:[\\/]*)
5791 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in /sbin /usr/sbin $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5809 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5811 esac
5813 LDCONFIG=$ac_cv_path_LDCONFIG
5814 if test -n "$LDCONFIG"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5816 $as_echo "$LDCONFIG" >&6; }
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5823 for ac_prog in msgfmt
5825 # Extract the first word of "$ac_prog", so it can be a program name with args.
5826 set dummy $ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_MSGFMT+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -n "$MSGFMT"; then
5833 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5834 else
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH
5838 IFS=$as_save_IFS
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_MSGFMT="$ac_prog"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 break 2
5846 done
5847 done
5848 IFS=$as_save_IFS
5852 MSGFMT=$ac_cv_prog_MSGFMT
5853 if test -n "$MSGFMT"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5855 $as_echo "$MSGFMT" >&6; }
5856 else
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 test -n "$MSGFMT" && break
5863 done
5864 test -n "$MSGFMT" || MSGFMT="false"
5866 if ${ac_tool_prefix+:} false; then :
5867 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5868 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$PKG_CONFIG"; then
5875 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5895 if test -n "$PKG_CONFIG"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5897 $as_echo "$PKG_CONFIG" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5905 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5906 if test "x$cross_compiling" = xyes; then :
5908 else
5909 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5910 # Extract the first word of "pkg-config", so it can be a program name with args.
5911 set dummy pkg-config; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$PKG_CONFIG"; then
5918 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_PKG_CONFIG="pkg-config"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5938 if test -n "$PKG_CONFIG"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5940 $as_echo "$PKG_CONFIG" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5948 else
5949 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5952 if test "x$enable_maintainer_mode" != "xyes"
5953 then
5954 FONTFORGE=""
5955 RSVG=""
5956 CONVERT=""
5957 ICOTOOL=""
5958 else
5959 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5960 for ac_prog in fontforge
5962 # Extract the first word of "$ac_prog", so it can be a program name with args.
5963 set dummy $ac_prog; ac_word=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_FONTFORGE+:} false; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969 if test -n "$FONTFORGE"; then
5970 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_FONTFORGE="$ac_prog"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5989 FONTFORGE=$ac_cv_prog_FONTFORGE
5990 if test -n "$FONTFORGE"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5992 $as_echo "$FONTFORGE" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
5999 test -n "$FONTFORGE" && break
6000 done
6001 test -n "$FONTFORGE" || FONTFORGE="false"
6003 for ac_prog in rsvg-convert rsvg
6005 # Extract the first word of "$ac_prog", so it can be a program name with args.
6006 set dummy $ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_RSVG+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$RSVG"; then
6013 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_RSVG="$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 RSVG=$ac_cv_prog_RSVG
6033 if test -n "$RSVG"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6035 $as_echo "$RSVG" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$RSVG" && break
6043 done
6044 test -n "$RSVG" || RSVG="false"
6046 for ac_prog in convert
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy $ac_prog; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_CONVERT+:} false; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 if test -n "$CONVERT"; then
6056 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_CONVERT="$ac_prog"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 CONVERT=$ac_cv_prog_CONVERT
6076 if test -n "$CONVERT"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6078 $as_echo "$CONVERT" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6085 test -n "$CONVERT" && break
6086 done
6087 test -n "$CONVERT" || CONVERT="false"
6089 for ac_prog in icotool
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy $ac_prog; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ICOTOOL+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$ICOTOOL"; then
6099 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ICOTOOL="$ac_prog"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 ICOTOOL=$ac_cv_prog_ICOTOOL
6119 if test -n "$ICOTOOL"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6121 $as_echo "$ICOTOOL" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6128 test -n "$ICOTOOL" && break
6129 done
6130 test -n "$ICOTOOL" || ICOTOOL="false"
6132 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6133 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6135 if test "$CONVERT" = false
6136 then
6137 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6140 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6141 convert_version=`convert --version | head -n1`
6142 if test "x$convert_version" != "x"
6143 then
6144 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6145 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6146 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6147 then
6148 CONVERT=false
6151 if test "$CONVERT" = false
6152 then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6154 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6155 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6158 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6162 if test "$ICOTOOL" = false
6163 then
6164 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6165 else
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6167 $as_echo_n "checking for recent enough icotool... " >&6; }
6168 icotool_version=`icotool --version | head -n1`
6169 if test "x$icotool_version" != "x"
6170 then
6171 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6172 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6173 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6174 then
6175 ICOTOOL=false
6176 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6179 if test "$ICOTOOL" = false
6180 then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6182 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6183 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6184 else
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6186 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6190 with_gettext=yes
6191 with_gettextpo=yes
6192 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6195 test "x$with_gettext" != xno || MSGFMT=false
6196 if test "$MSGFMT" != "false"
6197 then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6199 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6200 cat >conftest.po <<EOF
6201 # comment
6202 msgctxt "ctxt"
6203 msgid "id"
6204 msgstr "str"
6206 if $MSGFMT -o /dev/null conftest.po 2>&5
6207 then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6209 $as_echo "yes" >&6; }
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6213 MSGFMT=false
6216 if test "$MSGFMT" = false; then :
6217 case "x$with_gettext" in
6218 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6219 xno) ;;
6220 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6221 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6222 esac
6223 enable_po=${enable_po:-no}
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6228 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6229 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6230 $as_echo_n "(cached) " >&6
6231 else
6232 ac_check_lib_save_LIBS=$LIBS
6233 LIBS="-li386 $LIBS"
6234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6237 /* Override any GCC internal prototype to avoid an error.
6238 Use char because int might match the return type of a GCC
6239 builtin and then its argument prototype would still apply. */
6240 #ifdef __cplusplus
6241 extern "C"
6242 #endif
6243 char i386_set_ldt ();
6245 main ()
6247 return i386_set_ldt ();
6249 return 0;
6251 _ACEOF
6252 if ac_fn_c_try_link "$LINENO"; then :
6253 ac_cv_lib_i386_i386_set_ldt=yes
6254 else
6255 ac_cv_lib_i386_i386_set_ldt=no
6257 rm -f core conftest.err conftest.$ac_objext \
6258 conftest$ac_exeext conftest.$ac_ext
6259 LIBS=$ac_check_lib_save_LIBS
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6262 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6263 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6264 cat >>confdefs.h <<_ACEOF
6265 #define HAVE_LIBI386 1
6266 _ACEOF
6268 LIBS="-li386 $LIBS"
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6273 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6274 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 ac_check_lib_save_LIBS=$LIBS
6278 LIBS="-lossaudio $LIBS"
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6282 /* Override any GCC internal prototype to avoid an error.
6283 Use char because int might match the return type of a GCC
6284 builtin and then its argument prototype would still apply. */
6285 #ifdef __cplusplus
6286 extern "C"
6287 #endif
6288 char _oss_ioctl ();
6290 main ()
6292 return _oss_ioctl ();
6294 return 0;
6296 _ACEOF
6297 if ac_fn_c_try_link "$LINENO"; then :
6298 ac_cv_lib_ossaudio__oss_ioctl=yes
6299 else
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6302 rm -f core conftest.err conftest.$ac_objext \
6303 conftest$ac_exeext conftest.$ac_ext
6304 LIBS=$ac_check_lib_save_LIBS
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6307 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6308 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6309 cat >>confdefs.h <<_ACEOF
6310 #define HAVE_LIBOSSAUDIO 1
6311 _ACEOF
6313 LIBS="-lossaudio $LIBS"
6318 OPENGL_LIBS=""
6322 # Check whether --enable-largefile was given.
6323 if test "${enable_largefile+set}" = set; then :
6324 enableval=$enable_largefile;
6327 if test "$enable_largefile" != no; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6330 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6331 if ${ac_cv_sys_largefile_CC+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 ac_cv_sys_largefile_CC=no
6335 if test "$GCC" != yes; then
6336 ac_save_CC=$CC
6337 while :; do
6338 # IRIX 6.2 and later do not support large files by default,
6339 # so use the C compiler's -n32 option if that helps.
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <sys/types.h>
6343 /* Check that off_t can represent 2**63 - 1 correctly.
6344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6345 since some C++ compilers masquerading as C compilers
6346 incorrectly reject 9223372036854775807. */
6347 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6349 && LARGE_OFF_T % 2147483647 == 1)
6350 ? 1 : -1];
6352 main ()
6356 return 0;
6358 _ACEOF
6359 if ac_fn_c_try_compile "$LINENO"; then :
6360 break
6362 rm -f core conftest.err conftest.$ac_objext
6363 CC="$CC -n32"
6364 if ac_fn_c_try_compile "$LINENO"; then :
6365 ac_cv_sys_largefile_CC=' -n32'; break
6367 rm -f core conftest.err conftest.$ac_objext
6368 break
6369 done
6370 CC=$ac_save_CC
6371 rm -f conftest.$ac_ext
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6375 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6376 if test "$ac_cv_sys_largefile_CC" != no; then
6377 CC=$CC$ac_cv_sys_largefile_CC
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6381 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6382 if ${ac_cv_sys_file_offset_bits+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 while :; do
6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6388 #include <sys/types.h>
6389 /* Check that off_t can represent 2**63 - 1 correctly.
6390 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6391 since some C++ compilers masquerading as C compilers
6392 incorrectly reject 9223372036854775807. */
6393 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6394 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6395 && LARGE_OFF_T % 2147483647 == 1)
6396 ? 1 : -1];
6398 main ()
6402 return 0;
6404 _ACEOF
6405 if ac_fn_c_try_compile "$LINENO"; then :
6406 ac_cv_sys_file_offset_bits=no; break
6408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6411 #define _FILE_OFFSET_BITS 64
6412 #include <sys/types.h>
6413 /* Check that off_t can represent 2**63 - 1 correctly.
6414 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6415 since some C++ compilers masquerading as C compilers
6416 incorrectly reject 9223372036854775807. */
6417 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6418 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6419 && LARGE_OFF_T % 2147483647 == 1)
6420 ? 1 : -1];
6422 main ()
6426 return 0;
6428 _ACEOF
6429 if ac_fn_c_try_compile "$LINENO"; then :
6430 ac_cv_sys_file_offset_bits=64; break
6432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6433 ac_cv_sys_file_offset_bits=unknown
6434 break
6435 done
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6438 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6439 case $ac_cv_sys_file_offset_bits in #(
6440 no | unknown) ;;
6442 cat >>confdefs.h <<_ACEOF
6443 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6444 _ACEOF
6446 esac
6447 rm -rf conftest*
6448 if test $ac_cv_sys_file_offset_bits = unknown; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6450 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6451 if ${ac_cv_sys_large_files+:} false; then :
6452 $as_echo_n "(cached) " >&6
6453 else
6454 while :; do
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #include <sys/types.h>
6458 /* Check that off_t can represent 2**63 - 1 correctly.
6459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6460 since some C++ compilers masquerading as C compilers
6461 incorrectly reject 9223372036854775807. */
6462 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6464 && LARGE_OFF_T % 2147483647 == 1)
6465 ? 1 : -1];
6467 main ()
6471 return 0;
6473 _ACEOF
6474 if ac_fn_c_try_compile "$LINENO"; then :
6475 ac_cv_sys_large_files=no; break
6477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6480 #define _LARGE_FILES 1
6481 #include <sys/types.h>
6482 /* Check that off_t can represent 2**63 - 1 correctly.
6483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6484 since some C++ compilers masquerading as C compilers
6485 incorrectly reject 9223372036854775807. */
6486 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6488 && LARGE_OFF_T % 2147483647 == 1)
6489 ? 1 : -1];
6491 main ()
6495 return 0;
6497 _ACEOF
6498 if ac_fn_c_try_compile "$LINENO"; then :
6499 ac_cv_sys_large_files=1; break
6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6502 ac_cv_sys_large_files=unknown
6503 break
6504 done
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6507 $as_echo "$ac_cv_sys_large_files" >&6; }
6508 case $ac_cv_sys_large_files in #(
6509 no | unknown) ;;
6511 cat >>confdefs.h <<_ACEOF
6512 #define _LARGE_FILES $ac_cv_sys_large_files
6513 _ACEOF
6515 esac
6516 rm -rf conftest*
6523 ac_ext=c
6524 ac_cpp='$CPP $CPPFLAGS'
6525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6529 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6530 # On Suns, sometimes $CPP names a directory.
6531 if test -n "$CPP" && test -d "$CPP"; then
6532 CPP=
6534 if test -z "$CPP"; then
6535 if ${ac_cv_prog_CPP+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 # Double quotes because CPP needs to be expanded
6539 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6541 ac_preproc_ok=false
6542 for ac_c_preproc_warn_flag in '' yes
6544 # Use a header file that comes with gcc, so configuring glibc
6545 # with a fresh cross-compiler works.
6546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6547 # <limits.h> exists even on freestanding compilers.
6548 # On the NeXT, cc -E runs the code through the compiler's parser,
6549 # not just through cpp. "Syntax error" is here to catch this case.
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 #ifdef __STDC__
6553 # include <limits.h>
6554 #else
6555 # include <assert.h>
6556 #endif
6557 Syntax error
6558 _ACEOF
6559 if ac_fn_c_try_cpp "$LINENO"; then :
6561 else
6562 # Broken: fails on valid input.
6563 continue
6565 rm -f conftest.err conftest.i conftest.$ac_ext
6567 # OK, works on sane cases. Now check whether nonexistent headers
6568 # can be detected and how.
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <ac_nonexistent.h>
6572 _ACEOF
6573 if ac_fn_c_try_cpp "$LINENO"; then :
6574 # Broken: success on invalid input.
6575 continue
6576 else
6577 # Passes both tests.
6578 ac_preproc_ok=:
6579 break
6581 rm -f conftest.err conftest.i conftest.$ac_ext
6583 done
6584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6585 rm -f conftest.i conftest.err conftest.$ac_ext
6586 if $ac_preproc_ok; then :
6587 break
6590 done
6591 ac_cv_prog_CPP=$CPP
6594 CPP=$ac_cv_prog_CPP
6595 else
6596 ac_cv_prog_CPP=$CPP
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6599 $as_echo "$CPP" >&6; }
6600 ac_preproc_ok=false
6601 for ac_c_preproc_warn_flag in '' yes
6603 # Use a header file that comes with gcc, so configuring glibc
6604 # with a fresh cross-compiler works.
6605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6606 # <limits.h> exists even on freestanding compilers.
6607 # On the NeXT, cc -E runs the code through the compiler's parser,
6608 # not just through cpp. "Syntax error" is here to catch this case.
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #ifdef __STDC__
6612 # include <limits.h>
6613 #else
6614 # include <assert.h>
6615 #endif
6616 Syntax error
6617 _ACEOF
6618 if ac_fn_c_try_cpp "$LINENO"; then :
6620 else
6621 # Broken: fails on valid input.
6622 continue
6624 rm -f conftest.err conftest.i conftest.$ac_ext
6626 # OK, works on sane cases. Now check whether nonexistent headers
6627 # can be detected and how.
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6630 #include <ac_nonexistent.h>
6631 _ACEOF
6632 if ac_fn_c_try_cpp "$LINENO"; then :
6633 # Broken: success on invalid input.
6634 continue
6635 else
6636 # Passes both tests.
6637 ac_preproc_ok=:
6638 break
6640 rm -f conftest.err conftest.i conftest.$ac_ext
6642 done
6643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6644 rm -f conftest.i conftest.err conftest.$ac_ext
6645 if $ac_preproc_ok; then :
6647 else
6648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6650 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6651 See \`config.log' for more details" "$LINENO" 5; }
6654 ac_ext=c
6655 ac_cpp='$CPP $CPPFLAGS'
6656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6662 $as_echo_n "checking for ANSI C header files... " >&6; }
6663 if ${ac_cv_header_stdc+:} false; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6668 #include <stdlib.h>
6669 #include <stdarg.h>
6670 #include <string.h>
6671 #include <float.h>
6674 main ()
6678 return 0;
6680 _ACEOF
6681 if ac_fn_c_try_compile "$LINENO"; then :
6682 ac_cv_header_stdc=yes
6683 else
6684 ac_cv_header_stdc=no
6686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6688 if test $ac_cv_header_stdc = yes; then
6689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 #include <string.h>
6694 _ACEOF
6695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6696 $EGREP "memchr" >/dev/null 2>&1; then :
6698 else
6699 ac_cv_header_stdc=no
6701 rm -f conftest*
6705 if test $ac_cv_header_stdc = yes; then
6706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6709 #include <stdlib.h>
6711 _ACEOF
6712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6713 $EGREP "free" >/dev/null 2>&1; then :
6715 else
6716 ac_cv_header_stdc=no
6718 rm -f conftest*
6722 if test $ac_cv_header_stdc = yes; then
6723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6724 if test "$cross_compiling" = yes; then :
6726 else
6727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6729 #include <ctype.h>
6730 #include <stdlib.h>
6731 #if ((' ' & 0x0FF) == 0x020)
6732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6734 #else
6735 # define ISLOWER(c) \
6736 (('a' <= (c) && (c) <= 'i') \
6737 || ('j' <= (c) && (c) <= 'r') \
6738 || ('s' <= (c) && (c) <= 'z'))
6739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6740 #endif
6742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6744 main ()
6746 int i;
6747 for (i = 0; i < 256; i++)
6748 if (XOR (islower (i), ISLOWER (i))
6749 || toupper (i) != TOUPPER (i))
6750 return 2;
6751 return 0;
6753 _ACEOF
6754 if ac_fn_c_try_run "$LINENO"; then :
6756 else
6757 ac_cv_header_stdc=no
6759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6760 conftest.$ac_objext conftest.beam conftest.$ac_ext
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6766 $as_echo "$ac_cv_header_stdc" >&6; }
6767 if test $ac_cv_header_stdc = yes; then
6769 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6773 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6774 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6775 inttypes.h stdint.h unistd.h
6776 do :
6777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6781 cat >>confdefs.h <<_ACEOF
6782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6783 _ACEOF
6787 done
6790 for ac_header in \
6791 AL/al.h \
6792 ApplicationServices/ApplicationServices.h \
6793 AudioToolbox/AudioConverter.h \
6794 AudioUnit/AudioUnit.h \
6795 AudioUnit/AudioComponent.h \
6796 CL/cl.h \
6797 Carbon/Carbon.h \
6798 CommonCrypto/CommonDigest.h \
6799 CoreAudio/CoreAudio.h \
6800 CoreServices/CoreServices.h \
6801 DiskArbitration/DiskArbitration.h \
6802 IOKit/IOKitLib.h \
6803 IOKit/hid/IOHIDLib.h \
6804 OpenAL/al.h \
6805 OpenCL/opencl.h \
6806 QuickTime/ImageCompression.h \
6807 Security/Security.h \
6808 alias.h \
6809 alsa/asoundlib.h \
6810 arpa/inet.h \
6811 arpa/nameser.h \
6812 asm/types.h \
6813 asm/user.h \
6814 curses.h \
6815 direct.h \
6816 dirent.h \
6817 dlfcn.h \
6818 elf.h \
6819 float.h \
6820 fnmatch.h \
6821 getopt.h \
6822 gettext-po.h \
6823 grp.h \
6824 gsm.h \
6825 gsm/gsm.h \
6826 ieeefp.h \
6827 inet/mib2.h \
6828 io.h \
6829 kstat.h \
6830 lber.h \
6831 ldap.h \
6832 libproc.h \
6833 link.h \
6834 linux/cdrom.h \
6835 linux/compiler.h \
6836 linux/filter.h \
6837 linux/hdreg.h \
6838 linux/hidraw.h \
6839 linux/input.h \
6840 linux/ioctl.h \
6841 linux/joystick.h \
6842 linux/major.h \
6843 linux/param.h \
6844 linux/serial.h \
6845 linux/types.h \
6846 linux/ucdrom.h \
6847 lwp.h \
6848 mach-o/nlist.h \
6849 mach-o/loader.h \
6850 mach/mach.h \
6851 mach/machine.h \
6852 machine/cpu.h \
6853 machine/limits.h \
6854 machine/sysarch.h \
6855 mntent.h \
6856 ncurses.h \
6857 netdb.h \
6858 netinet/in.h \
6859 netinet/in_systm.h \
6860 netinet/tcp.h \
6861 netinet/tcp_fsm.h \
6862 pcap/pcap.h \
6863 poll.h \
6864 port.h \
6865 process.h \
6866 pthread.h \
6867 pwd.h \
6868 sched.h \
6869 scsi/scsi.h \
6870 scsi/scsi_ioctl.h \
6871 scsi/sg.h \
6872 stdbool.h \
6873 stdint.h \
6874 stropts.h \
6875 sys/asoundlib.h \
6876 sys/attr.h \
6877 sys/cdio.h \
6878 sys/elf32.h \
6879 sys/epoll.h \
6880 sys/event.h \
6881 sys/exec_elf.h \
6882 sys/filio.h \
6883 sys/inotify.h \
6884 sys/ioctl.h \
6885 sys/ipc.h \
6886 sys/limits.h \
6887 sys/link.h \
6888 sys/mman.h \
6889 sys/modem.h \
6890 sys/msg.h \
6891 sys/mtio.h \
6892 sys/param.h \
6893 sys/poll.h \
6894 sys/prctl.h \
6895 sys/protosw.h \
6896 sys/ptrace.h \
6897 sys/queue.h \
6898 sys/resource.h \
6899 sys/scsiio.h \
6900 sys/shm.h \
6901 sys/signal.h \
6902 sys/socket.h \
6903 sys/socketvar.h \
6904 sys/sockio.h \
6905 sys/statvfs.h \
6906 sys/strtio.h \
6907 sys/syscall.h \
6908 sys/sysinfo.h \
6909 sys/tihdr.h \
6910 sys/time.h \
6911 sys/timeout.h \
6912 sys/times.h \
6913 sys/uio.h \
6914 sys/user.h \
6915 sys/utsname.h \
6916 sys/vm86.h \
6917 sys/vnode.h \
6918 sys/wait.h \
6919 syscall.h \
6920 termios.h \
6921 unistd.h \
6922 utime.h \
6923 valgrind/memcheck.h \
6924 valgrind/valgrind.h \
6925 zlib.h
6927 do :
6928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6929 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6931 cat >>confdefs.h <<_ACEOF
6932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6933 _ACEOF
6937 done
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6940 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6941 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6946 #include <sys/types.h>
6948 main ()
6950 return makedev(0, 0);
6952 return 0;
6954 _ACEOF
6955 if ac_fn_c_try_link "$LINENO"; then :
6956 ac_cv_header_sys_types_h_makedev=yes
6957 else
6958 ac_cv_header_sys_types_h_makedev=no
6960 rm -f core conftest.err conftest.$ac_objext \
6961 conftest$ac_exeext conftest.$ac_ext
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6965 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6967 if test $ac_cv_header_sys_types_h_makedev = no; then
6968 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6969 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6971 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6977 if test $ac_cv_header_sys_mkdev_h = no; then
6978 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6979 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6981 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6990 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6991 if ${ac_cv_header_stat_broken+:} false; then :
6992 $as_echo_n "(cached) " >&6
6993 else
6994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 #include <sys/types.h>
6997 #include <sys/stat.h>
6999 #if defined S_ISBLK && defined S_IFDIR
7000 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7001 #endif
7003 #if defined S_ISBLK && defined S_IFCHR
7004 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7005 #endif
7007 #if defined S_ISLNK && defined S_IFREG
7008 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7009 #endif
7011 #if defined S_ISSOCK && defined S_IFREG
7012 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7013 #endif
7015 _ACEOF
7016 if ac_fn_c_try_compile "$LINENO"; then :
7017 ac_cv_header_stat_broken=no
7018 else
7019 ac_cv_header_stat_broken=yes
7021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7024 $as_echo "$ac_cv_header_stat_broken" >&6; }
7025 if test $ac_cv_header_stat_broken = yes; then
7027 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7033 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.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_PARAM_H
7038 # include <sys/param.h>
7039 #endif
7041 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7042 cat >>confdefs.h <<_ACEOF
7043 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7044 _ACEOF
7048 done
7051 for ac_header in \
7052 netinet/ip.h \
7053 net/if.h \
7054 net/if_arp.h \
7055 net/if_dl.h \
7056 net/if_types.h \
7057 net/route.h \
7058 netinet/if_ether.h \
7059 netinet/if_inarp.h \
7060 netinet/in_pcb.h \
7061 netinet/ip_icmp.h \
7062 netinet/ip_var.h \
7063 netinet/udp.h \
7064 netipx/ipx.h \
7065 sys/un.h \
7067 do :
7068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7070 #ifdef HAVE_SYS_SOCKET_H
7071 # include <sys/socket.h>
7072 #endif
7073 #ifdef HAVE_SYS_SOCKETVAR_H
7074 # include <sys/socketvar.h>
7075 #endif
7076 #ifdef HAVE_NET_ROUTE_H
7077 # include <net/route.h>
7078 #endif
7079 #ifdef HAVE_NETINET_IN_H
7080 # include <netinet/in.h>
7081 #endif
7082 #ifdef HAVE_NETINET_IN_SYSTM_H
7083 # include <netinet/in_systm.h>
7084 #endif
7085 #ifdef HAVE_NET_IF_H
7086 # include <net/if.h>
7087 #endif
7088 #ifdef HAVE_NETINET_IP_H
7089 # include <netinet/ip.h>
7090 #endif
7092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7093 cat >>confdefs.h <<_ACEOF
7094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 _ACEOF
7099 done
7102 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7103 do :
7104 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7106 #ifdef HAVE_ALIAS_H
7107 # include <alias.h>
7108 #endif
7109 #ifdef HAVE_SYS_SOCKET_H
7110 # include <sys/socket.h>
7111 #endif
7112 #ifdef HAVE_SYS_SOCKETVAR_H
7113 # include <sys/socketvar.h>
7114 #endif
7115 #ifdef HAVE_SYS_TIMEOUT_H
7116 # include <sys/timeout.h>
7117 #endif
7118 #ifdef HAVE_NETINET_IN_H
7119 # include <netinet/in.h>
7120 #endif
7121 #ifdef HAVE_NETINET_IN_SYSTM_H
7122 # include <netinet/in_systm.h>
7123 #endif
7124 #ifdef HAVE_NETINET_IP_H
7125 # include <netinet/ip.h>
7126 #endif
7127 #ifdef HAVE_NETINET_IP_VAR_H
7128 # include <netinet/ip_var.h>
7129 #endif
7130 #ifdef HAVE_NETINET_IP_ICMP_H
7131 # include <netinet/ip_icmp.h>
7132 #endif
7133 #ifdef HAVE_NETINET_UDP_H
7134 # include <netinet/udp.h>
7135 #endif
7136 #ifdef HAVE_NETINET_TCP_H
7137 # include <netinet/tcp.h>
7138 #endif
7139 #ifdef HAVE_NETINET_TCP_TIMER_H
7140 #include <netinet/tcp_timer.h>
7141 #endif
7143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7144 cat >>confdefs.h <<_ACEOF
7145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 _ACEOF
7150 done
7153 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7154 do :
7155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7157 #ifdef HAVE_ASM_TYPES_H
7158 # include <asm/types.h>
7159 #endif
7160 #ifdef HAVE_SYS_SOCKET_H
7161 # include <sys/socket.h>
7162 #endif
7163 #ifdef HAVE_LINUX_TYPES_H
7164 # include <linux/types.h>
7165 #endif
7167 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7168 cat >>confdefs.h <<_ACEOF
7169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7170 _ACEOF
7174 done
7177 for ac_header in mach-o/dyld_images.h
7178 do :
7179 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7180 # include <stdbool.h>
7181 #endif
7182 #ifdef HAVE_STDINT_H
7183 # include <stdint.h>
7184 #endif
7186 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7187 cat >>confdefs.h <<_ACEOF
7188 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7189 _ACEOF
7193 done
7196 for ac_header in resolv.h
7197 do :
7198 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7199 #ifdef HAVE_SYS_SOCKET_H
7200 # include <sys/socket.h>
7201 #endif
7202 #ifdef HAVE_NETINET_IN_H
7203 # include <netinet/in.h>
7204 #endif
7205 #ifdef HAVE_ARPA_NAMESER_H
7206 # include <arpa/nameser.h>
7207 #endif
7209 if test "x$ac_cv_header_resolv_h" = xyes; then :
7210 cat >>confdefs.h <<_ACEOF
7211 #define HAVE_RESOLV_H 1
7212 _ACEOF
7216 done
7219 for ac_header in ifaddrs.h
7220 do :
7221 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7223 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7224 cat >>confdefs.h <<_ACEOF
7225 #define HAVE_IFADDRS_H 1
7226 _ACEOF
7230 done
7233 for ac_header in sys/ucontext.h
7234 do :
7235 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7237 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define HAVE_SYS_UCONTEXT_H 1
7240 _ACEOF
7244 done
7247 for ac_header in sys/thr.h
7248 do :
7249 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7250 #ifdef HAVE_SYS_UCONTEXT_H
7251 #include <sys/ucontext.h>
7252 #endif
7254 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_SYS_THR_H 1
7257 _ACEOF
7261 done
7264 for ac_header in pthread_np.h
7265 do :
7266 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7267 #include <pthread.h>
7268 #endif
7270 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7271 cat >>confdefs.h <<_ACEOF
7272 #define HAVE_PTHREAD_NP_H 1
7273 _ACEOF
7277 done
7280 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7281 do :
7282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7284 #include <sys/time.h>
7285 #endif
7286 #include <sys/types.h>
7287 #ifdef HAVE_ASM_TYPES_H
7288 #include <asm/types.h>
7289 #endif
7291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7292 cat >>confdefs.h <<_ACEOF
7293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7294 _ACEOF
7298 done
7301 for ac_header in libprocstat.h
7302 do :
7303 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7304 #include <sys/param.h>
7305 #endif
7306 #ifdef HAVE_SYS_QUEUE_H
7307 #include <sys/queue.h>
7308 #endif
7309 #ifdef HAVE_SYS_SOCKET_H
7310 #include <sys/socket.h>
7311 #endif
7313 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7314 cat >>confdefs.h <<_ACEOF
7315 #define HAVE_LIBPROCSTAT_H 1
7316 _ACEOF
7320 done
7324 dlldir="\${libdir}/wine"
7326 DLLFLAGS="-D_REENTRANT"
7328 LDRPATH_INSTALL=""
7330 LDRPATH_LOCAL=""
7332 LDEXECFLAGS=""
7334 LIBEXT="so"
7335 DLLEXT=".so"
7336 IMPLIBEXT="def"
7337 # Extract the first word of "ldd", so it can be a program name with args.
7338 set dummy ldd; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_path_LDD+:} false; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 case $LDD in
7345 [\\/]* | ?:[\\/]*)
7346 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 as_dummy="/sbin:/usr/sbin:$PATH"
7351 for as_dir in $as_dummy
7353 IFS=$as_save_IFS
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 break 2
7361 done
7362 done
7363 IFS=$as_save_IFS
7365 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7367 esac
7369 LDD=$ac_cv_path_LDD
7370 if test -n "$LDD"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7372 $as_echo "$LDD" >&6; }
7373 else
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7379 if test -n "$ac_tool_prefix"; then
7380 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7381 set dummy ${ac_tool_prefix}otool; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_OTOOL+:} false; then :
7385 $as_echo_n "(cached) " >&6
7386 else
7387 if test -n "$OTOOL"; then
7388 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7389 else
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in $PATH
7393 IFS=$as_save_IFS
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 break 2
7401 done
7402 done
7403 IFS=$as_save_IFS
7407 OTOOL=$ac_cv_prog_OTOOL
7408 if test -n "$OTOOL"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7410 $as_echo "$OTOOL" >&6; }
7411 else
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7418 if test -z "$ac_cv_prog_OTOOL"; then
7419 ac_ct_OTOOL=$OTOOL
7420 # Extract the first word of "otool", so it can be a program name with args.
7421 set dummy otool; ac_word=$2
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7423 $as_echo_n "checking for $ac_word... " >&6; }
7424 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7425 $as_echo_n "(cached) " >&6
7426 else
7427 if test -n "$ac_ct_OTOOL"; then
7428 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7429 else
7430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 for as_dir in $PATH
7433 IFS=$as_save_IFS
7434 test -z "$as_dir" && as_dir=.
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_ac_ct_OTOOL="otool"
7438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 break 2
7441 done
7442 done
7443 IFS=$as_save_IFS
7447 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7448 if test -n "$ac_ct_OTOOL"; then
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7450 $as_echo "$ac_ct_OTOOL" >&6; }
7451 else
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7456 if test "x$ac_ct_OTOOL" = x; then
7457 OTOOL="otool"
7458 else
7459 case $cross_compiling:$ac_tool_warned in
7460 yes:)
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7463 ac_tool_warned=yes ;;
7464 esac
7465 OTOOL=$ac_ct_OTOOL
7467 else
7468 OTOOL="$ac_cv_prog_OTOOL"
7471 if test -n "$ac_tool_prefix"; then
7472 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7473 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_READELF+:} false; then :
7477 $as_echo_n "(cached) " >&6
7478 else
7479 if test -n "$READELF"; then
7480 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7481 else
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 for as_dir in $PATH
7485 IFS=$as_save_IFS
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7489 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 break 2
7493 done
7494 done
7495 IFS=$as_save_IFS
7499 READELF=$ac_cv_prog_READELF
7500 if test -n "$READELF"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7502 $as_echo "$READELF" >&6; }
7503 else
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7510 if test -z "$ac_cv_prog_READELF"; then
7511 ac_ct_READELF=$READELF
7512 # Extract the first word of "readelf", so it can be a program name with args.
7513 set dummy readelf; ac_word=$2
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 $as_echo_n "checking for $ac_word... " >&6; }
7516 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7517 $as_echo_n "(cached) " >&6
7518 else
7519 if test -n "$ac_ct_READELF"; then
7520 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7521 else
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 for as_dir in $PATH
7525 IFS=$as_save_IFS
7526 test -z "$as_dir" && as_dir=.
7527 for ac_exec_ext in '' $ac_executable_extensions; do
7528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7529 ac_cv_prog_ac_ct_READELF="readelf"
7530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7531 break 2
7533 done
7534 done
7535 IFS=$as_save_IFS
7539 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7540 if test -n "$ac_ct_READELF"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7542 $as_echo "$ac_ct_READELF" >&6; }
7543 else
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545 $as_echo "no" >&6; }
7548 if test "x$ac_ct_READELF" = x; then
7549 READELF="true"
7550 else
7551 case $cross_compiling:$ac_tool_warned in
7552 yes:)
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7555 ac_tool_warned=yes ;;
7556 esac
7557 READELF=$ac_ct_READELF
7559 else
7560 READELF="$ac_cv_prog_READELF"
7563 wine_rules_file=conf$$rules.make
7564 rm -f $wine_rules_file
7565 SUBDIRS=""
7567 DISABLED_SUBDIRS=""
7569 CONFIGURE_TARGETS=""
7571 ALL_TEST_RESOURCES=""
7574 wine_fn_append_file ()
7576 as_fn_append $1 " \\$as_nl $2"
7579 wine_fn_append_rule ()
7581 $as_echo "$1" >>$wine_rules_file
7584 wine_fn_has_flag ()
7586 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7589 wine_fn_all_rules ()
7591 wine_fn_append_file SUBDIRS $ac_dir
7592 wine_fn_append_rule \
7593 "all: $ac_dir
7594 .PHONY: $ac_dir
7595 $ac_dir: dummy
7596 @cd $ac_dir && \$(MAKE)"
7599 wine_fn_install_rules ()
7601 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7603 wine_fn_append_rule \
7604 ".PHONY: $ac_dir/install $ac_dir/uninstall
7605 $ac_dir/install:: $ac_dir
7606 @cd $ac_dir && \$(MAKE) install
7607 $ac_dir/uninstall::
7608 @cd $ac_dir && \$(MAKE) uninstall
7609 install:: $ac_dir/install
7610 __uninstall__: $ac_dir/uninstall"
7612 if wine_fn_has_flag install-lib
7613 then
7614 wine_fn_append_rule \
7615 ".PHONY: $ac_dir/install-lib
7616 $ac_dir/install-lib:: $ac_dir
7617 @cd $ac_dir && \$(MAKE) install-lib
7618 install-lib:: $ac_dir/install-lib"
7621 if wine_fn_has_flag install-dev
7622 then
7623 wine_fn_append_rule \
7624 ".PHONY: $ac_dir/install-dev
7625 $ac_dir/install-dev:: $ac_dir
7626 @cd $ac_dir && \$(MAKE) install-dev
7627 install-dev:: $ac_dir/install-dev"
7631 wine_fn_clean_rules ()
7633 ac_clean=$@
7635 if wine_fn_has_flag clean
7636 then
7637 wine_fn_append_rule \
7638 "$ac_dir/clean: dummy
7639 @cd $ac_dir && \$(MAKE) clean"
7640 else
7641 wine_fn_append_rule \
7642 "$ac_dir/clean: dummy
7643 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7645 wine_fn_append_rule \
7646 "__clean__: $ac_dir/clean
7647 .PHONY: $ac_dir/clean"
7650 wine_fn_disabled_rules ()
7652 ac_clean=$@
7654 wine_fn_append_file SUBDIRS $ac_dir
7655 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7656 wine_fn_append_rule \
7657 "__clean__: $ac_dir/clean
7658 .PHONY: $ac_dir/clean
7659 $ac_dir/clean: dummy
7660 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7663 wine_fn_config_makefile ()
7665 ac_dir=$1
7666 ac_enable=$2
7667 ac_flags=$3
7669 case $ac_dir in
7670 fonts|server) test -z "$with_wine64" || return ;;
7671 esac
7672 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7673 wine_fn_disabled_rules; return
7675 wine_fn_all_rules
7676 wine_fn_install_rules
7677 wine_fn_clean_rules
7680 wine_fn_config_lib ()
7682 ac_name=$1
7683 ac_flags=$2
7684 ac_dir=dlls/$ac_name
7685 ac_deps="include"
7687 if test "x$enable_tools" = xno; then :
7689 else
7690 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7692 wine_fn_all_rules
7693 wine_fn_clean_rules
7695 wine_fn_append_rule \
7696 ".PHONY: $ac_dir/install $ac_dir/uninstall
7697 $ac_dir/install:: $ac_dir
7698 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7699 $ac_dir/uninstall::
7700 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7701 install install-dev:: $ac_dir/install
7702 __uninstall__: $ac_dir/uninstall
7703 __builddeps__: $ac_dir
7704 $ac_dir: $ac_deps"
7707 wine_fn_config_dll ()
7709 ac_name=$1
7710 ac_dir=dlls/$ac_name
7711 ac_enable=$2
7712 ac_flags=$3
7713 ac_implib=${4:-$ac_name}
7714 ac_file=$ac_dir/lib$ac_implib
7715 ac_dll=$ac_name
7716 ac_deps="include"
7717 ac_implibflags=""
7719 if test "x$enable_tools" = xno; then :
7721 else
7722 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7724 case $ac_name in
7725 *16) ac_implibflags=" -m16" ;;
7726 *.*) ;;
7727 *) ac_dll=$ac_dll.dll ;;
7728 esac
7730 ac_clean=
7731 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7732 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7734 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7735 if test "$ac_enable" != enable_win16
7736 then
7737 wine_fn_clean_rules $ac_clean
7738 wine_fn_append_file SUBDIRS $ac_dir
7739 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7740 else
7741 wine_fn_disabled_rules $ac_clean
7742 return
7744 else
7745 wine_fn_all_rules
7746 wine_fn_clean_rules $ac_clean
7747 wine_fn_append_rule \
7748 "$ac_dir: __builddeps__
7749 manpages htmlpages sgmlpages xmlpages::
7750 @cd $ac_dir && \$(MAKE) \$@
7751 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7752 install install-lib:: $ac_dir/install-lib
7753 __uninstall__: $ac_dir/uninstall"
7754 if test -n "$DLLEXT"
7755 then
7756 wine_fn_append_rule \
7757 "$ac_dir/install-lib:: $ac_dir
7758 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7759 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7760 $ac_dir/uninstall::
7761 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7762 else
7763 wine_fn_append_rule \
7764 "$ac_dir/install-lib:: $ac_dir
7765 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7766 $ac_dir/uninstall::
7767 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7771 if wine_fn_has_flag staticimplib
7772 then
7773 wine_fn_append_rule \
7774 "__builddeps__: $ac_file.a
7775 $ac_file.a $ac_file.cross.a: $ac_deps
7776 $ac_file.a: dummy
7777 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7778 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7779 $ac_dir/install-dev:: $ac_file.a
7780 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7783 install install-dev:: $ac_dir/install-dev
7784 __uninstall__: $ac_dir/uninstall"
7786 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7787 then
7788 wine_fn_append_rule \
7789 "__builddeps__: $ac_file.cross.a
7790 $ac_file.cross.a: dummy
7791 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7794 elif wine_fn_has_flag implib
7795 then
7796 wine_fn_append_rule \
7797 "__builddeps__: $ac_file.$IMPLIBEXT
7798 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7799 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7800 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7801 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7802 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7803 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7804 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7805 $ac_dir/uninstall::
7806 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7807 install install-dev:: $ac_dir/install-dev
7808 __uninstall__: $ac_dir/uninstall"
7809 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7810 then
7811 wine_fn_append_rule \
7812 "__builddeps__: $ac_file.cross.a
7813 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7814 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7819 wine_fn_config_program ()
7821 ac_name=$1
7822 ac_dir=programs/$ac_name
7823 ac_enable=$2
7824 ac_flags=$3
7825 ac_program=$ac_name
7827 case $ac_name in
7828 *.*) ;;
7829 *) ac_program=$ac_program.exe ;;
7830 esac
7832 ac_clean=
7833 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7834 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7836 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7837 wine_fn_disabled_rules $ac_clean; return
7840 wine_fn_all_rules
7841 wine_fn_clean_rules $ac_clean
7842 wine_fn_append_rule "$ac_dir: __builddeps__"
7844 wine_fn_has_flag install || return
7845 wine_fn_append_rule \
7846 ".PHONY: $ac_dir/install $ac_dir/uninstall
7847 install install-lib:: $ac_dir/install
7848 __uninstall__: $ac_dir/uninstall"
7850 if test -n "$DLLEXT"
7851 then
7852 wine_fn_append_rule \
7853 "$ac_dir/install:: $ac_dir
7854 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7855 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7856 $ac_dir/uninstall::
7857 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7859 if test -z "$with_wine64" && wine_fn_has_flag installbin
7860 then
7861 wine_fn_append_rule \
7862 "$ac_dir/install:: __tooldeps__
7863 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7864 $ac_dir/uninstall::
7865 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7867 else
7868 wine_fn_append_rule \
7869 "$ac_dir/install:: $ac_dir
7870 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7871 $ac_dir/uninstall::
7872 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7875 if test -z "$with_wine64" && wine_fn_has_flag manpage
7876 then
7877 wine_fn_append_rule \
7878 "$ac_dir/install:: $ac_dir
7879 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7880 $ac_dir/uninstall::
7881 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7885 wine_fn_config_test ()
7887 ac_dir=$1
7888 ac_name=$2
7889 ac_flags=$3
7891 ac_clean=
7892 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7893 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7895 if test "x$enable_tests" = xno; then :
7896 wine_fn_disabled_rules $ac_clean; return
7899 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7900 wine_fn_all_rules
7901 wine_fn_clean_rules $ac_clean
7903 wine_fn_append_rule \
7904 "$ac_dir: __builddeps__
7905 programs/winetest: $ac_dir
7906 check test: $ac_dir/test
7907 .PHONY: $ac_dir/test
7908 $ac_dir/test: dummy
7909 @cd $ac_dir && \$(MAKE) test
7910 testclean::
7911 \$(RM) $ac_dir/*.ok"
7913 if test -n "$CROSSTARGET"
7914 then
7915 wine_fn_append_rule \
7916 "crosstest: $ac_dir/crosstest
7917 .PHONY: $ac_dir/crosstest
7918 $ac_dir/crosstest: __builddeps__ dummy
7919 @cd $ac_dir && \$(MAKE) crosstest"
7923 wine_fn_config_tool ()
7925 ac_dir=$1
7926 ac_flags=$2
7927 if test "x$enable_tools" = xno; then :
7928 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7931 wine_fn_all_rules
7932 wine_fn_install_rules
7933 wine_fn_clean_rules
7935 wine_fn_append_rule "__tooldeps__: $ac_dir"
7936 wine_fn_append_rule "$ac_dir: libs/port"
7937 case $ac_dir in
7938 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7939 esac
7942 wine_fn_config_symlink ()
7944 ac_linkdir=
7945 if test "x$1" = "x-d"
7946 then
7947 ac_linkdir=$2
7948 shift; shift
7950 ac_links=$@
7951 wine_fn_append_rule \
7952 "$ac_links:
7953 @./config.status \$@"
7954 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7955 test -n "$ac_linkdir" || return
7956 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7959 wine_binary="wine"
7960 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7961 WINELOADER_PROGRAMS="$wine_binary"
7963 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7965 case $host_os in
7966 cygwin*|mingw32*)
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_DLLTOOL+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$DLLTOOL"; then
7976 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7995 DLLTOOL=$ac_cv_prog_DLLTOOL
7996 if test -n "$DLLTOOL"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7998 $as_echo "$DLLTOOL" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_DLLTOOL"; then
8007 ac_ct_DLLTOOL=$DLLTOOL
8008 # Extract the first word of "dlltool", so it can be a program name with args.
8009 set dummy dlltool; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_DLLTOOL"; then
8016 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8036 if test -n "$ac_ct_DLLTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8038 $as_echo "$ac_ct_DLLTOOL" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_DLLTOOL" = x; then
8045 DLLTOOL="false"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 DLLTOOL=$ac_ct_DLLTOOL
8055 else
8056 DLLTOOL="$ac_cv_prog_DLLTOOL"
8059 LIBEXT="dll"
8060 DLLEXT=""
8061 IMPLIBEXT="a"
8062 enable_iphlpapi=${enable_iphlpapi:-no}
8063 enable_kernel32=${enable_kernel32:-no}
8064 enable_msvcrt=${enable_msvcrt:-no}
8065 enable_ntdll=${enable_ntdll:-no}
8066 enable_ws2_32=${enable_ws2_32:-no}
8067 enable_loader=${enable_loader:-no}
8068 enable_server=${enable_server:-no}
8069 with_x=${with_x:-no}
8070 with_pthread=${with_pthread:-no}
8072 crtlibs=""
8073 case $host_os in
8074 mingw32*)
8075 crtlibs="-lmsvcrt"
8076 SOCKET_LIBS="-lws2_32"
8078 esac
8080 LIBWINE_SHAREDLIB="libwine.dll"
8082 LIBWINE_IMPORTLIB="libwine.a"
8084 LIBWINE_INSTALL_LIB="libwine.dll"
8086 LIBWINE_INSTALL_DEV="libwine.a"
8088 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8090 LIBWINE_DEPENDS="wine.def"
8094 darwin*|macosx*)
8095 for ac_header in libunwind.h
8096 do :
8097 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8099 cat >>confdefs.h <<_ACEOF
8100 #define HAVE_LIBUNWIND_H 1
8101 _ACEOF
8105 done
8107 LIBEXT="dylib"
8108 DLLFLAGS="$DLLFLAGS -fPIC"
8109 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8110 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8111 COREFOUNDATION_LIBS="-framework CoreFoundation"
8113 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8115 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8117 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8119 CORESERVICES_LIBS="-framework CoreServices"
8121 APPKIT_LIBS="-framework AppKit"
8123 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8125 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8126 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 ac_wine_try_cflags_saved=$CFLAGS
8130 CFLAGS="$CFLAGS -Wl,-no_pie"
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 int main(int argc, char **argv) { return 0; }
8134 _ACEOF
8135 if ac_fn_c_try_link "$LINENO"; then :
8136 ac_cv_cflags__Wl__no_pie=yes
8137 else
8138 ac_cv_cflags__Wl__no_pie=no
8140 rm -f core conftest.err conftest.$ac_objext \
8141 conftest$ac_exeext conftest.$ac_ext
8142 CFLAGS=$ac_wine_try_cflags_saved
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8145 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8146 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8147 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8149 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8150 then
8151 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8154 if test "$ac_cv_header_Security_Security_h" = "yes"
8155 then
8156 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8158 ac_save_LIBS="$LIBS"
8159 LIBS="$LIBS $SECURITY_LIBS"
8160 for ac_func in SSLCopyPeerCertificates
8161 do :
8162 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8163 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8164 cat >>confdefs.h <<_ACEOF
8165 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8166 _ACEOF
8169 done
8171 LIBS="$ac_save_LIBS"
8172 with_gnutls=${with_gnutls:-no}
8174 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8175 then
8176 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8177 then
8178 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8180 else
8181 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8184 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8185 ac_save_LIBS="$LIBS"
8186 LIBS="$LIBS $COREAUDIO_LIBS"
8187 for ac_func in AUGraphAddNode
8188 do :
8189 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8190 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8191 cat >>confdefs.h <<_ACEOF
8192 #define HAVE_AUGRAPHADDNODE 1
8193 _ACEOF
8196 done
8198 LIBS="$ac_save_LIBS"
8200 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8201 then
8202 OPENAL_LIBS="-framework OpenAL"
8205 cat >>confdefs.h <<_ACEOF
8206 #define HAVE_OPENAL 1
8207 _ACEOF
8209 ac_cv_lib_openal=yes
8211 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8212 then
8213 OPENCL_LIBS="-framework OpenCL"
8215 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8217 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8218 then
8219 ac_save_LIBS="$LIBS"
8220 LIBS="$LIBS $IOKIT_LIBS"
8221 for ac_func in IOHIDManagerCreate
8222 do :
8223 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8224 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8225 cat >>confdefs.h <<_ACEOF
8226 #define HAVE_IOHIDMANAGERCREATE 1
8227 _ACEOF
8230 done
8232 LIBS="$ac_save_LIBS"
8234 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8235 then
8236 ac_save_LIBS="$LIBS"
8237 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8239 $as_echo_n "checking for the QuickTime framework... " >&6; }
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8242 #include <QuickTime/ImageCompression.h>
8244 main ()
8246 CodecManagerVersion(NULL);
8248 return 0;
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8253 $as_echo "yes" >&6; }
8254 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8256 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8257 else
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259 $as_echo "no" >&6; }
8260 ac_cv_header_QuickTime_ImageCompression_h=no
8262 rm -f core conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 LIBS="$ac_save_LIBS"
8266 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8267 then
8268 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8270 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8271 then
8272 CARBON_LIBS="-framework Carbon"
8276 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8277 then
8278 ac_save_LIBS="$LIBS"
8279 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8280 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8281 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8282 enable_winemac_drv=${enable_winemac_drv:-yes}
8285 LIBS="$ac_save_LIBS"
8288 if test "x$enable_win16" = "xyes"
8289 then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8291 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8292 if test "$cross_compiling" = yes; then :
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8294 $as_echo "cross-compiling, assuming yes" >&6; }
8295 else
8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8298 asm(".text\n"
8299 "bad:\tnop;nop\n"
8300 "good:\tnop;nop\n\t"
8301 ".globl _testfunc\n"
8302 "_testfunc:\tcallw good");
8303 extern void testfunc();
8305 main ()
8307 unsigned short *p = (unsigned short *)testfunc;
8308 return p[0] != 0xe866 || p[1] != 0xfffa
8310 return 0;
8312 _ACEOF
8313 if ac_fn_c_try_run "$LINENO"; then :
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8315 $as_echo "yes" >&6; }
8316 else
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8318 $as_echo "no" >&6; }
8319 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
8321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8322 conftest.$ac_objext conftest.beam conftest.$ac_ext
8327 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8329 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8331 LIBWINE_INSTALL_DEV="libwine.dylib"
8333 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8335 WINELOADER_DEPENDS="wine_info.plist"
8339 linux-android*)
8340 DLLFLAGS="$DLLFLAGS -fPIC"
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8342 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8343 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8354 else
8355 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8362 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8363 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8364 LDEXECFLAGS="-Wl,--export-dynamic"
8366 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8368 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8369 if eval \${$as_ac_var+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 ac_wine_try_cflags_saved=$CFLAGS
8373 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 int main(int argc, char **argv) { return 0; }
8377 _ACEOF
8378 if ac_fn_c_try_link "$LINENO"; then :
8379 eval "$as_ac_var=yes"
8380 else
8381 eval "$as_ac_var=no"
8383 rm -f core conftest.err conftest.$ac_objext \
8384 conftest$ac_exeext conftest.$ac_ext
8385 CFLAGS=$ac_wine_try_cflags_saved
8387 eval ac_res=\$$as_ac_var
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8389 $as_echo "$ac_res" >&6; }
8390 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8391 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8392 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8393 else
8394 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8396 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8397 if eval \${$as_ac_var+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 eval "$as_ac_var=yes"
8408 else
8409 eval "$as_ac_var=no"
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 eval ac_res=\$$as_ac_var
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8417 $as_echo "$ac_res" >&6; }
8418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8419 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8420 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8425 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8426 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_wine_try_cflags_saved=$CFLAGS
8430 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 ac_cv_cflags__Wl___enable_new_dtags=yes
8437 else
8438 ac_cv_cflags__Wl___enable_new_dtags=no
8440 rm -f core conftest.err conftest.$ac_objext \
8441 conftest$ac_exeext conftest.$ac_ext
8442 CFLAGS=$ac_wine_try_cflags_saved
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8445 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8446 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8447 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8450 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8451 if ${ac_cv_cflags__Wl__pie+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -Wl,-pie"
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 int main(int argc, char **argv) { return 0; }
8459 _ACEOF
8460 if ac_fn_c_try_link "$LINENO"; then :
8461 ac_cv_cflags__Wl__pie=yes
8462 else
8463 ac_cv_cflags__Wl__pie=no
8465 rm -f core conftest.err conftest.$ac_objext \
8466 conftest$ac_exeext conftest.$ac_ext
8467 CFLAGS=$ac_wine_try_cflags_saved
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8470 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8471 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8472 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8475 LIBWINE_SHAREDLIB="libwine.so"
8477 LIBWINE_INSTALL_LIB="libwine.so"
8479 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8484 DLLFLAGS="$DLLFLAGS -fPIC"
8485 LDEXECFLAGS=""
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8487 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8488 if ${ac_cv_c_dll_gnuelf+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 void myfunc() {}
8496 _ACEOF
8497 if ac_fn_c_try_link "$LINENO"; then :
8498 ac_cv_c_dll_gnuelf="yes"
8499 else
8500 ac_cv_c_dll_gnuelf="no"
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 CFLAGS=$ac_wine_try_cflags_saved
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8507 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8508 if test "$ac_cv_c_dll_gnuelf" = "yes"
8509 then
8510 LIBWINE_LDFLAGS="-shared"
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8512 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8513 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_wine_try_cflags_saved=$CFLAGS
8517 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int main(int argc, char **argv) { return 0; }
8521 _ACEOF
8522 if ac_fn_c_try_link "$LINENO"; then :
8523 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8524 else
8525 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8527 rm -f core conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8529 CFLAGS=$ac_wine_try_cflags_saved
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8532 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8533 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8534 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8535 else
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8537 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8538 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8539 $as_echo_n "(cached) " >&6
8540 else
8541 ac_wine_try_cflags_saved=$CFLAGS
8542 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 int main(int argc, char **argv) { return 0; }
8546 _ACEOF
8547 if ac_fn_c_try_link "$LINENO"; then :
8548 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8549 else
8550 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8552 rm -f core conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 CFLAGS=$ac_wine_try_cflags_saved
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8557 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8558 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8559 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8563 echo '{ global: *; };' >conftest.map
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8566 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_wine_try_cflags_saved=$CFLAGS
8570 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8577 else
8578 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 CFLAGS=$ac_wine_try_cflags_saved
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8585 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8586 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8587 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8589 rm -f conftest.map
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8592 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8593 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8594 $as_echo_n "(cached) " >&6
8595 else
8596 ac_wine_try_cflags_saved=$CFLAGS
8597 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8600 int main(int argc, char **argv) { return 0; }
8601 _ACEOF
8602 if ac_fn_c_try_link "$LINENO"; then :
8603 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8604 else
8605 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8607 rm -f core conftest.err conftest.$ac_objext \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8612 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8613 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8614 LDEXECFLAGS="-Wl,--export-dynamic"
8617 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8619 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8620 if eval \${$as_ac_var+:} false; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 ac_wine_try_cflags_saved=$CFLAGS
8624 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 int main(int argc, char **argv) { return 0; }
8628 _ACEOF
8629 if ac_fn_c_try_link "$LINENO"; then :
8630 eval "$as_ac_var=yes"
8631 else
8632 eval "$as_ac_var=no"
8634 rm -f core conftest.err conftest.$ac_objext \
8635 conftest$ac_exeext conftest.$ac_ext
8636 CFLAGS=$ac_wine_try_cflags_saved
8638 eval ac_res=\$$as_ac_var
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8640 $as_echo "$ac_res" >&6; }
8641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8642 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8643 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8644 else
8645 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8647 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8648 if eval \${$as_ac_var+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 eval "$as_ac_var=yes"
8659 else
8660 eval "$as_ac_var=no"
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 eval ac_res=\$$as_ac_var
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8668 $as_echo "$ac_res" >&6; }
8669 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8670 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8671 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8676 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8677 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8678 $as_echo_n "(cached) " >&6
8679 else
8680 ac_wine_try_cflags_saved=$CFLAGS
8681 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683 /* end confdefs.h. */
8684 int main(int argc, char **argv) { return 0; }
8685 _ACEOF
8686 if ac_fn_c_try_link "$LINENO"; then :
8687 ac_cv_cflags__Wl___enable_new_dtags=yes
8688 else
8689 ac_cv_cflags__Wl___enable_new_dtags=no
8691 rm -f core conftest.err conftest.$ac_objext \
8692 conftest$ac_exeext conftest.$ac_ext
8693 CFLAGS=$ac_wine_try_cflags_saved
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8696 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8697 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8698 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8701 case $host_cpu in
8702 *i[3456789]86* | x86_64)
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8704 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8705 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 ac_wine_try_cflags_saved=$CFLAGS
8709 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 int main(int argc, char **argv) { return 0; }
8713 _ACEOF
8714 if ac_fn_c_try_link "$LINENO"; then :
8715 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8716 else
8717 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8719 rm -f core conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 CFLAGS=$ac_wine_try_cflags_saved
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8724 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8725 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8726 case $host_os in
8727 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8728 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8729 esac
8730 else
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8732 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8733 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8744 else
8745 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8752 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8753 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8754 case $host_os in
8755 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8756 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8757 esac
8759 # Extract the first word of "prelink", so it can be a program name with args.
8760 set dummy prelink; ac_word=$2
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8762 $as_echo_n "checking for $ac_word... " >&6; }
8763 if ${ac_cv_path_PRELINK+:} false; then :
8764 $as_echo_n "(cached) " >&6
8765 else
8766 case $PRELINK in
8767 [\\/]* | ?:[\\/]*)
8768 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772 for as_dir in /sbin /usr/sbin $PATH
8774 IFS=$as_save_IFS
8775 test -z "$as_dir" && as_dir=.
8776 for ac_exec_ext in '' $ac_executable_extensions; do
8777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8778 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8780 break 2
8782 done
8783 done
8784 IFS=$as_save_IFS
8786 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8788 esac
8790 PRELINK=$ac_cv_path_PRELINK
8791 if test -n "$PRELINK"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8793 $as_echo "$PRELINK" >&6; }
8794 else
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8796 $as_echo "no" >&6; }
8800 if test "x$PRELINK" = xfalse
8801 then
8802 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8806 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8807 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 int main(int argc, char **argv) { return 0; }
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8818 else
8819 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8826 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8827 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8828 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8831 esac
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8835 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8836 if ${ac_cv_c_dll_unixware+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 void myfunc() {}
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_c_dll_unixware="yes"
8847 else
8848 ac_cv_c_dll_unixware="no"
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8855 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8856 if test "$ac_cv_c_dll_unixware" = "yes"
8857 then
8858 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8861 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8863 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8865 LIBWINE_INSTALL_DEV="libwine.so"
8867 LIBWINE_DEPENDS="wine.map"
8870 esac
8872 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8873 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8874 enable_winemac_drv=${enable_winemac_drv:-no}
8875 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8877 CROSSTARGET=""
8879 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8880 then
8881 case "$host_cpu" in
8882 arm*)
8883 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8884 i[3456789]86*)
8885 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
8886 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8887 mingw32-gcc" ;;
8888 x86_64)
8889 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
8890 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8892 ac_prefix_list="" ;;
8893 esac
8894 for ac_prog in $ac_prefix_list
8896 # Extract the first word of "$ac_prog", so it can be a program name with args.
8897 set dummy $ac_prog; ac_word=$2
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8899 $as_echo_n "checking for $ac_word... " >&6; }
8900 if ${ac_cv_prog_CROSSCC+:} false; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 if test -n "$CROSSCC"; then
8904 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8905 else
8906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8907 for as_dir in $PATH
8909 IFS=$as_save_IFS
8910 test -z "$as_dir" && as_dir=.
8911 for ac_exec_ext in '' $ac_executable_extensions; do
8912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8913 ac_cv_prog_CROSSCC="$ac_prog"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8915 break 2
8917 done
8918 done
8919 IFS=$as_save_IFS
8923 CROSSCC=$ac_cv_prog_CROSSCC
8924 if test -n "$CROSSCC"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8926 $as_echo "$CROSSCC" >&6; }
8927 else
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 $as_echo "no" >&6; }
8933 test -n "$CROSSCC" && break
8934 done
8935 test -n "$CROSSCC" || CROSSCC="false"
8937 if test "$CROSSCC" != "false"
8938 then
8939 ac_save_CC="$CC"
8940 CC="$CROSSCC"
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8942 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8947 main ()
8951 return 0;
8953 _ACEOF
8954 if ac_fn_c_try_compile "$LINENO"; then :
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8956 $as_echo "yes" >&6; }
8957 set x $CROSSCC
8958 shift
8959 while test $# -ge 1
8961 case "$1" in
8962 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8963 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8964 esac
8965 shift
8966 done
8967 else
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8969 $as_echo "no" >&6; }
8971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8972 CC="$ac_save_CC"
8977 if test "$ac_cv_header_pthread_h" = "yes"
8978 then
8979 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8980 if test "x$ac_cv_func_pthread_create" = xyes; then :
8982 else
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8984 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8985 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 ac_check_lib_save_LIBS=$LIBS
8989 LIBS="-lpthread $LIBS"
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8993 /* Override any GCC internal prototype to avoid an error.
8994 Use char because int might match the return type of a GCC
8995 builtin and then its argument prototype would still apply. */
8996 #ifdef __cplusplus
8997 extern "C"
8998 #endif
8999 char pthread_create ();
9001 main ()
9003 return pthread_create ();
9005 return 0;
9007 _ACEOF
9008 if ac_fn_c_try_link "$LINENO"; then :
9009 ac_cv_lib_pthread_pthread_create=yes
9010 else
9011 ac_cv_lib_pthread_pthread_create=no
9013 rm -f core conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 LIBS=$ac_check_lib_save_LIBS
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9018 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9019 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9020 PTHREAD_LIBS="-lpthread"
9027 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9028 case "x$with_pthread" in
9029 xno) ;;
9030 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9031 Wine cannot support threads without libpthread.
9032 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9033 esac
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9039 $as_echo_n "checking for X... " >&6; }
9042 # Check whether --with-x was given.
9043 if test "${with_x+set}" = set; then :
9044 withval=$with_x;
9047 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9048 if test "x$with_x" = xno; then
9049 # The user explicitly disabled X.
9050 have_x=disabled
9051 else
9052 case $x_includes,$x_libraries in #(
9053 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9054 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9055 $as_echo_n "(cached) " >&6
9056 else
9057 # One or both of the vars are not set, and there is no cached value.
9058 ac_x_includes=no ac_x_libraries=no
9059 rm -f -r conftest.dir
9060 if mkdir conftest.dir; then
9061 cd conftest.dir
9062 cat >Imakefile <<'_ACEOF'
9063 incroot:
9064 @echo incroot='${INCROOT}'
9065 usrlibdir:
9066 @echo usrlibdir='${USRLIBDIR}'
9067 libdir:
9068 @echo libdir='${LIBDIR}'
9069 _ACEOF
9070 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9071 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9072 for ac_var in incroot usrlibdir libdir; do
9073 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9074 done
9075 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9076 for ac_extension in a so sl dylib la dll; do
9077 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9078 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9079 ac_im_usrlibdir=$ac_im_libdir; break
9081 done
9082 # Screen out bogus values from the imake configuration. They are
9083 # bogus both because they are the default anyway, and because
9084 # using them would break gcc on systems where it needs fixed includes.
9085 case $ac_im_incroot in
9086 /usr/include) ac_x_includes= ;;
9087 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9088 esac
9089 case $ac_im_usrlibdir in
9090 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9091 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9092 esac
9094 cd ..
9095 rm -f -r conftest.dir
9098 # Standard set of common directories for X headers.
9099 # Check X11 before X11Rn because it is often a symlink to the current release.
9100 ac_x_header_dirs='
9101 /usr/X11/include
9102 /usr/X11R7/include
9103 /usr/X11R6/include
9104 /usr/X11R5/include
9105 /usr/X11R4/include
9107 /usr/include/X11
9108 /usr/include/X11R7
9109 /usr/include/X11R6
9110 /usr/include/X11R5
9111 /usr/include/X11R4
9113 /usr/local/X11/include
9114 /usr/local/X11R7/include
9115 /usr/local/X11R6/include
9116 /usr/local/X11R5/include
9117 /usr/local/X11R4/include
9119 /usr/local/include/X11
9120 /usr/local/include/X11R7
9121 /usr/local/include/X11R6
9122 /usr/local/include/X11R5
9123 /usr/local/include/X11R4
9125 /usr/X386/include
9126 /usr/x386/include
9127 /usr/XFree86/include/X11
9129 /usr/include
9130 /usr/local/include
9131 /usr/unsupported/include
9132 /usr/athena/include
9133 /usr/local/x11r5/include
9134 /usr/lpp/Xamples/include
9136 /usr/openwin/include
9137 /usr/openwin/share/include'
9139 if test "$ac_x_includes" = no; then
9140 # Guess where to find include files, by looking for Xlib.h.
9141 # First, try using that file with no special directory specified.
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9144 #include <X11/Xlib.h>
9145 _ACEOF
9146 if ac_fn_c_try_cpp "$LINENO"; then :
9147 # We can compile using X headers with no special include directory.
9148 ac_x_includes=
9149 else
9150 for ac_dir in $ac_x_header_dirs; do
9151 if test -r "$ac_dir/X11/Xlib.h"; then
9152 ac_x_includes=$ac_dir
9153 break
9155 done
9157 rm -f conftest.err conftest.i conftest.$ac_ext
9158 fi # $ac_x_includes = no
9160 if test "$ac_x_libraries" = no; then
9161 # Check for the libraries.
9162 # See if we find them without any special options.
9163 # Don't add to $LIBS permanently.
9164 ac_save_LIBS=$LIBS
9165 LIBS="-lX11 $LIBS"
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9168 #include <X11/Xlib.h>
9170 main ()
9172 XrmInitialize ()
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 LIBS=$ac_save_LIBS
9179 # We can link X programs with no special library path.
9180 ac_x_libraries=
9181 else
9182 LIBS=$ac_save_LIBS
9183 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9185 # Don't even attempt the hair of trying to link an X program!
9186 for ac_extension in a so sl dylib la dll; do
9187 if test -r "$ac_dir/libX11.$ac_extension"; then
9188 ac_x_libraries=$ac_dir
9189 break 2
9191 done
9192 done
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 fi # $ac_x_libraries = no
9198 case $ac_x_includes,$ac_x_libraries in #(
9199 no,* | *,no | *\'*)
9200 # Didn't find X, or a directory has "'" in its name.
9201 ac_cv_have_x="have_x=no";; #(
9203 # Record where we found X for the cache.
9204 ac_cv_have_x="have_x=yes\
9205 ac_x_includes='$ac_x_includes'\
9206 ac_x_libraries='$ac_x_libraries'"
9207 esac
9209 ;; #(
9210 *) have_x=yes;;
9211 esac
9212 eval "$ac_cv_have_x"
9213 fi # $with_x != no
9215 if test "$have_x" != yes; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9217 $as_echo "$have_x" >&6; }
9218 no_x=yes
9219 else
9220 # If each of the values was on the command line, it overrides each guess.
9221 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9222 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9223 # Update the cache value to reflect the command line values.
9224 ac_cv_have_x="have_x=yes\
9225 ac_x_includes='$x_includes'\
9226 ac_x_libraries='$x_libraries'"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9228 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9231 if test "$no_x" = yes; then
9232 # Not all programs may use this symbol, but it does not hurt to define it.
9234 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9236 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9237 else
9238 if test -n "$x_includes"; then
9239 X_CFLAGS="$X_CFLAGS -I$x_includes"
9242 # It would also be nice to do this for all -L options, not just this one.
9243 if test -n "$x_libraries"; then
9244 X_LIBS="$X_LIBS -L$x_libraries"
9245 # For Solaris; some versions of Sun CC require a space after -R and
9246 # others require no space. Words are not sufficient . . . .
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9248 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9249 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9250 ac_xsave_c_werror_flag=$ac_c_werror_flag
9251 ac_c_werror_flag=yes
9252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9256 main ()
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9265 $as_echo "no" >&6; }
9266 X_LIBS="$X_LIBS -R$x_libraries"
9267 else
9268 LIBS="$ac_xsave_LIBS -R $x_libraries"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9273 main ()
9277 return 0;
9279 _ACEOF
9280 if ac_fn_c_try_link "$LINENO"; then :
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9282 $as_echo "yes" >&6; }
9283 X_LIBS="$X_LIBS -R $x_libraries"
9284 else
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9286 $as_echo "neither works" >&6; }
9288 rm -f core conftest.err conftest.$ac_objext \
9289 conftest$ac_exeext conftest.$ac_ext
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 ac_c_werror_flag=$ac_xsave_c_werror_flag
9294 LIBS=$ac_xsave_LIBS
9297 # Check for system-dependent libraries X programs must link with.
9298 # Do this before checking for the system-independent R6 libraries
9299 # (-lICE), since we may need -lsocket or whatever for X linking.
9301 if test "$ISC" = yes; then
9302 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9303 else
9304 # Martyn Johnson says this is needed for Ultrix, if the X
9305 # libraries were built with DECnet support. And Karl Berry says
9306 # the Alpha needs dnet_stub (dnet does not exist).
9307 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9311 /* Override any GCC internal prototype to avoid an error.
9312 Use char because int might match the return type of a GCC
9313 builtin and then its argument prototype would still apply. */
9314 #ifdef __cplusplus
9315 extern "C"
9316 #endif
9317 char XOpenDisplay ();
9319 main ()
9321 return XOpenDisplay ();
9323 return 0;
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9328 else
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9330 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9331 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9332 $as_echo_n "(cached) " >&6
9333 else
9334 ac_check_lib_save_LIBS=$LIBS
9335 LIBS="-ldnet $LIBS"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9339 /* Override any GCC internal prototype to avoid an error.
9340 Use char because int might match the return type of a GCC
9341 builtin and then its argument prototype would still apply. */
9342 #ifdef __cplusplus
9343 extern "C"
9344 #endif
9345 char dnet_ntoa ();
9347 main ()
9349 return dnet_ntoa ();
9351 return 0;
9353 _ACEOF
9354 if ac_fn_c_try_link "$LINENO"; then :
9355 ac_cv_lib_dnet_dnet_ntoa=yes
9356 else
9357 ac_cv_lib_dnet_dnet_ntoa=no
9359 rm -f core conftest.err conftest.$ac_objext \
9360 conftest$ac_exeext conftest.$ac_ext
9361 LIBS=$ac_check_lib_save_LIBS
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9364 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9365 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9366 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9369 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9371 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9372 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9373 $as_echo_n "(cached) " >&6
9374 else
9375 ac_check_lib_save_LIBS=$LIBS
9376 LIBS="-ldnet_stub $LIBS"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9383 #ifdef __cplusplus
9384 extern "C"
9385 #endif
9386 char dnet_ntoa ();
9388 main ()
9390 return dnet_ntoa ();
9392 return 0;
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9397 else
9398 ac_cv_lib_dnet_stub_dnet_ntoa=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 LIBS=$ac_check_lib_save_LIBS
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9405 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9406 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9407 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 LIBS="$ac_xsave_LIBS"
9416 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9417 # to get the SysV transport functions.
9418 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9419 # needs -lnsl.
9420 # The nsl library prevents programs from opening the X display
9421 # on Irix 5.2, according to T.E. Dickey.
9422 # The functions gethostbyname, getservbyname, and inet_addr are
9423 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9424 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9425 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9429 if test $ac_cv_func_gethostbyname = no; then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9431 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9432 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_check_lib_save_LIBS=$LIBS
9436 LIBS="-lnsl $LIBS"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9443 #ifdef __cplusplus
9444 extern "C"
9445 #endif
9446 char gethostbyname ();
9448 main ()
9450 return gethostbyname ();
9452 return 0;
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_lib_nsl_gethostbyname=yes
9457 else
9458 ac_cv_lib_nsl_gethostbyname=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 LIBS=$ac_check_lib_save_LIBS
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9465 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9466 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9467 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9470 if test $ac_cv_lib_nsl_gethostbyname = no; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9472 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9473 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9474 $as_echo_n "(cached) " >&6
9475 else
9476 ac_check_lib_save_LIBS=$LIBS
9477 LIBS="-lbsd $LIBS"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9481 /* Override any GCC internal prototype to avoid an error.
9482 Use char because int might match the return type of a GCC
9483 builtin and then its argument prototype would still apply. */
9484 #ifdef __cplusplus
9485 extern "C"
9486 #endif
9487 char gethostbyname ();
9489 main ()
9491 return gethostbyname ();
9493 return 0;
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"; then :
9497 ac_cv_lib_bsd_gethostbyname=yes
9498 else
9499 ac_cv_lib_bsd_gethostbyname=no
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LIBS=$ac_check_lib_save_LIBS
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9506 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9507 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9508 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9514 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9515 # socket/setsockopt and other routines are undefined under SCO ODT
9516 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9517 # on later versions), says Simon Leinen: it contains gethostby*
9518 # variants that don't use the name server (or something). -lsocket
9519 # must be given before -lnsl if both are needed. We assume that
9520 # if connect needs -lnsl, so does gethostbyname.
9521 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9522 if test "x$ac_cv_func_connect" = xyes; then :
9526 if test $ac_cv_func_connect = no; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9528 $as_echo_n "checking for connect in -lsocket... " >&6; }
9529 if ${ac_cv_lib_socket_connect+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char connect ();
9545 main ()
9547 return connect ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_lib_socket_connect=yes
9554 else
9555 ac_cv_lib_socket_connect=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9562 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9563 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9564 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9569 # Guillermo Gomez says -lposix is necessary on A/UX.
9570 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9571 if test "x$ac_cv_func_remove" = xyes; then :
9575 if test $ac_cv_func_remove = no; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9577 $as_echo_n "checking for remove in -lposix... " >&6; }
9578 if ${ac_cv_lib_posix_remove+:} false; then :
9579 $as_echo_n "(cached) " >&6
9580 else
9581 ac_check_lib_save_LIBS=$LIBS
9582 LIBS="-lposix $LIBS"
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9589 #ifdef __cplusplus
9590 extern "C"
9591 #endif
9592 char remove ();
9594 main ()
9596 return remove ();
9598 return 0;
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 ac_cv_lib_posix_remove=yes
9603 else
9604 ac_cv_lib_posix_remove=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9611 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9612 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9613 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9618 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9619 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9620 if test "x$ac_cv_func_shmat" = xyes; then :
9624 if test $ac_cv_func_shmat = no; then
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9626 $as_echo_n "checking for shmat in -lipc... " >&6; }
9627 if ${ac_cv_lib_ipc_shmat+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_check_lib_save_LIBS=$LIBS
9631 LIBS="-lipc $LIBS"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9638 #ifdef __cplusplus
9639 extern "C"
9640 #endif
9641 char shmat ();
9643 main ()
9645 return shmat ();
9647 return 0;
9649 _ACEOF
9650 if ac_fn_c_try_link "$LINENO"; then :
9651 ac_cv_lib_ipc_shmat=yes
9652 else
9653 ac_cv_lib_ipc_shmat=no
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LIBS=$ac_check_lib_save_LIBS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9660 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9661 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9662 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9668 # Check for libraries that X11R6 Xt/Xaw programs need.
9669 ac_save_LDFLAGS=$LDFLAGS
9670 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9671 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9672 # check for ICE first), but we must link in the order -lSM -lICE or
9673 # we get undefined symbols. So assume we have SM if we have ICE.
9674 # These have to be linked with before -lX11, unlike the other
9675 # libraries we check for below, so use a different variable.
9676 # John Interrante, Karl Berry
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9678 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9679 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 ac_check_lib_save_LIBS=$LIBS
9683 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9690 #ifdef __cplusplus
9691 extern "C"
9692 #endif
9693 char IceConnectionNumber ();
9695 main ()
9697 return IceConnectionNumber ();
9699 return 0;
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 ac_cv_lib_ICE_IceConnectionNumber=yes
9704 else
9705 ac_cv_lib_ICE_IceConnectionNumber=no
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LIBS=$ac_check_lib_save_LIBS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9712 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9713 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9714 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9717 LDFLAGS=$ac_save_LDFLAGS
9722 if test "$have_x" = "yes"
9723 then
9724 ac_save_CPPFLAGS="$CPPFLAGS"
9725 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9728 $as_echo_n "checking for -lX11... " >&6; }
9729 if ${ac_cv_lib_soname_X11+:} false; then :
9730 $as_echo_n "(cached) " >&6
9731 else
9732 ac_check_soname_save_LIBS=$LIBS
9733 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9740 #ifdef __cplusplus
9741 extern "C"
9742 #endif
9743 char XCreateWindow ();
9745 main ()
9747 return XCreateWindow ();
9749 return 0;
9751 _ACEOF
9752 if ac_fn_c_try_link "$LINENO"; then :
9753 case "$LIBEXT" in
9754 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9755 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'` ;;
9756 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9757 if ${ac_cv_lib_soname_X11:+false} :; then :
9758 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9759 fi ;;
9760 esac
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 LIBS=$ac_check_soname_save_LIBS
9766 if ${ac_cv_lib_soname_X11:+false} :; then :
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9768 $as_echo "not found" >&6; }
9770 else
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9772 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9774 cat >>confdefs.h <<_ACEOF
9775 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9776 _ACEOF
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9781 $as_echo_n "checking for -lXext... " >&6; }
9782 if ${ac_cv_lib_soname_Xext+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_soname_save_LIBS=$LIBS
9786 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char XextCreateExtension ();
9798 main ()
9800 return XextCreateExtension ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 case "$LIBEXT" in
9807 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9808 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'` ;;
9809 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9810 if ${ac_cv_lib_soname_Xext:+false} :; then :
9811 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9812 fi ;;
9813 esac
9815 rm -f core conftest.err conftest.$ac_objext \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_soname_save_LIBS
9819 if ${ac_cv_lib_soname_Xext:+false} :; then :
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9821 $as_echo "not found" >&6; }
9823 else
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9825 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9827 cat >>confdefs.h <<_ACEOF
9828 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9829 _ACEOF
9831 X_LIBS="$X_LIBS -lXext"
9833 X_LIBS="$X_LIBS -lX11"
9835 for ac_header in X11/Xlib.h \
9836 X11/XKBlib.h \
9837 X11/Xutil.h \
9838 X11/Xcursor/Xcursor.h \
9839 X11/extensions/shape.h \
9840 X11/extensions/XInput.h \
9841 X11/extensions/XInput2.h \
9842 X11/extensions/XShm.h \
9843 X11/extensions/Xcomposite.h \
9844 X11/extensions/Xinerama.h \
9845 X11/extensions/Xrandr.h \
9846 X11/extensions/Xrender.h \
9847 X11/extensions/xf86vmode.h \
9848 X11/extensions/xf86vmproto.h
9849 do :
9850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9851 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9852 # include <X11/Xlib.h>
9853 #endif
9854 #ifdef HAVE_X11_XUTIL_H
9855 # include <X11/Xutil.h>
9856 #endif
9858 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9859 cat >>confdefs.h <<_ACEOF
9860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9861 _ACEOF
9865 done
9868 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9869 then
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9871 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9872 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9873 $as_echo_n "(cached) " >&6
9874 else
9875 ac_check_lib_save_LIBS=$LIBS
9876 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9880 /* Override any GCC internal prototype to avoid an error.
9881 Use char because int might match the return type of a GCC
9882 builtin and then its argument prototype would still apply. */
9883 #ifdef __cplusplus
9884 extern "C"
9885 #endif
9886 char XkbQueryExtension ();
9888 main ()
9890 return XkbQueryExtension ();
9892 return 0;
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_lib_X11_XkbQueryExtension=yes
9897 else
9898 ac_cv_lib_X11_XkbQueryExtension=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9905 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9906 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9908 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9914 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9915 then
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9917 $as_echo_n "checking for -lXcursor... " >&6; }
9918 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9919 $as_echo_n "(cached) " >&6
9920 else
9921 ac_check_soname_save_LIBS=$LIBS
9922 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9926 /* Override any GCC internal prototype to avoid an error.
9927 Use char because int might match the return type of a GCC
9928 builtin and then its argument prototype would still apply. */
9929 #ifdef __cplusplus
9930 extern "C"
9931 #endif
9932 char XcursorImageLoadCursor ();
9934 main ()
9936 return XcursorImageLoadCursor ();
9938 return 0;
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 case "$LIBEXT" in
9943 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9944 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'` ;;
9945 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9946 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9947 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9948 fi ;;
9949 esac
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 LIBS=$ac_check_soname_save_LIBS
9955 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9957 $as_echo "not found" >&6; }
9959 else
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9961 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9963 cat >>confdefs.h <<_ACEOF
9964 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9965 _ACEOF
9970 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9971 case "x$with_xcursor" in
9972 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9973 xno) ;;
9974 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9975 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9976 esac
9980 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9981 then
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9983 $as_echo_n "checking for -lXi... " >&6; }
9984 if ${ac_cv_lib_soname_Xi+:} false; then :
9985 $as_echo_n "(cached) " >&6
9986 else
9987 ac_check_soname_save_LIBS=$LIBS
9988 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
9995 #ifdef __cplusplus
9996 extern "C"
9997 #endif
9998 char XOpenDevice ();
10000 main ()
10002 return XOpenDevice ();
10004 return 0;
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 case "$LIBEXT" in
10009 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10010 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'` ;;
10011 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10012 if ${ac_cv_lib_soname_Xi:+false} :; then :
10013 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10014 fi ;;
10015 esac
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_Xi:+false} :; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10023 $as_echo "not found" >&6; }
10025 else
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10027 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10029 cat >>confdefs.h <<_ACEOF
10030 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10031 _ACEOF
10036 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10037 case "x$with_xinput" in
10038 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10039 xno) ;;
10040 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10041 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10042 esac
10046 if test "x$ac_cv_lib_soname_Xi" != x
10047 then
10048 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10049 case "x$with_xinput2" in
10050 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10051 xno) ;;
10052 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10053 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10054 esac
10059 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10060 then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10062 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10063 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_check_lib_save_LIBS=$LIBS
10067 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10074 #ifdef __cplusplus
10075 extern "C"
10076 #endif
10077 char XShmQueryExtension ();
10079 main ()
10081 return XShmQueryExtension ();
10083 return 0;
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 ac_cv_lib_Xext_XShmQueryExtension=yes
10088 else
10089 ac_cv_lib_Xext_XShmQueryExtension=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_lib_save_LIBS
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10096 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10097 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10099 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10104 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10105 case "x$with_xshm" in
10106 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10107 xno) ;;
10108 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10109 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10110 esac
10114 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10115 then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10117 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10118 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_check_lib_save_LIBS=$LIBS
10122 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10126 /* Override any GCC internal prototype to avoid an error.
10127 Use char because int might match the return type of a GCC
10128 builtin and then its argument prototype would still apply. */
10129 #ifdef __cplusplus
10130 extern "C"
10131 #endif
10132 char XShapeQueryExtension ();
10134 main ()
10136 return XShapeQueryExtension ();
10138 return 0;
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"; then :
10142 ac_cv_lib_Xext_XShapeQueryExtension=yes
10143 else
10144 ac_cv_lib_Xext_XShapeQueryExtension=no
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_lib_save_LIBS
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10151 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10152 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10154 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10159 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10160 case "x$with_xshape" in
10161 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10162 xno) ;;
10163 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10164 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10165 esac
10169 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10170 then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10172 $as_echo_n "checking for -lXxf86vm... " >&6; }
10173 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char XF86VidModeQueryExtension ();
10189 main ()
10191 return XF86VidModeQueryExtension ();
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 case "$LIBEXT" in
10198 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10202 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 fi ;;
10204 esac
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10214 else
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10216 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10218 cat >>confdefs.h <<_ACEOF
10219 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10220 _ACEOF
10225 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10226 case "x$with_xxf86vm" in
10227 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10228 xno) ;;
10229 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10230 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10231 esac
10235 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10236 then
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10238 $as_echo_n "checking for -lXrender... " >&6; }
10239 if ${ac_cv_lib_soname_Xrender+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_check_soname_save_LIBS=$LIBS
10243 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10250 #ifdef __cplusplus
10251 extern "C"
10252 #endif
10253 char XRenderQueryExtension ();
10255 main ()
10257 return XRenderQueryExtension ();
10259 return 0;
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 case "$LIBEXT" in
10264 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 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'` ;;
10266 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10268 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10269 fi ;;
10270 esac
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_soname_save_LIBS
10276 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10278 $as_echo "not found" >&6; }
10280 else
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10282 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10284 cat >>confdefs.h <<_ACEOF
10285 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10286 _ACEOF
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10289 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10290 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10291 $as_echo_n "(cached) " >&6
10292 else
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10298 /* Override any GCC internal prototype to avoid an error.
10299 Use char because int might match the return type of a GCC
10300 builtin and then its argument prototype would still apply. */
10301 #ifdef __cplusplus
10302 extern "C"
10303 #endif
10304 char XRenderSetPictureTransform ();
10306 main ()
10308 return XRenderSetPictureTransform ();
10310 return 0;
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10315 else
10316 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 LIBS=$ac_check_lib_save_LIBS
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10323 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10324 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10326 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10331 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10332 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10333 $as_echo_n "(cached) " >&6
10334 else
10335 ac_check_lib_save_LIBS=$LIBS
10336 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10340 /* Override any GCC internal prototype to avoid an error.
10341 Use char because int might match the return type of a GCC
10342 builtin and then its argument prototype would still apply. */
10343 #ifdef __cplusplus
10344 extern "C"
10345 #endif
10346 char XRenderCreateLinearGradient ();
10348 main ()
10350 return XRenderCreateLinearGradient ();
10352 return 0;
10354 _ACEOF
10355 if ac_fn_c_try_link "$LINENO"; then :
10356 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10357 else
10358 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10360 rm -f core conftest.err conftest.$ac_objext \
10361 conftest$ac_exeext conftest.$ac_ext
10362 LIBS=$ac_check_lib_save_LIBS
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10365 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10366 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10368 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10375 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10376 case "x$with_xrender" in
10377 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10378 xno) ;;
10379 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10380 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10381 esac
10385 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10386 then
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 #include <X11/Xlib.h>
10390 #include <X11/extensions/Xrandr.h>
10392 main ()
10394 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_compile "$LINENO"; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10401 $as_echo_n "checking for -lXrandr... " >&6; }
10402 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
10405 ac_check_soname_save_LIBS=$LIBS
10406 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10410 /* Override any GCC internal prototype to avoid an error.
10411 Use char because int might match the return type of a GCC
10412 builtin and then its argument prototype would still apply. */
10413 #ifdef __cplusplus
10414 extern "C"
10415 #endif
10416 char XRRQueryExtension ();
10418 main ()
10420 return XRRQueryExtension ();
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 case "$LIBEXT" in
10427 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10428 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'` ;;
10429 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10430 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10431 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10432 fi ;;
10433 esac
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 LIBS=$ac_check_soname_save_LIBS
10439 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10441 $as_echo "not found" >&6; }
10443 else
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10445 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10447 cat >>confdefs.h <<_ACEOF
10448 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10449 _ACEOF
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 #include <X11/Xlib.h>
10454 #include <X11/extensions/Xrandr.h>
10456 main ()
10458 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_compile "$LINENO"; then :
10465 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10473 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10474 case "x$with_xrandr" in
10475 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10476 xno) ;;
10477 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10478 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10479 esac
10483 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10484 then
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10487 #include <X11/Xlib.h>
10488 #include <X11/extensions/Xinerama.h>
10490 main ()
10492 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10494 return 0;
10496 _ACEOF
10497 if ac_fn_c_try_compile "$LINENO"; then :
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10499 $as_echo_n "checking for -lXinerama... " >&6; }
10500 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_check_soname_save_LIBS=$LIBS
10504 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10511 #ifdef __cplusplus
10512 extern "C"
10513 #endif
10514 char XineramaQueryScreens ();
10516 main ()
10518 return XineramaQueryScreens ();
10520 return 0;
10522 _ACEOF
10523 if ac_fn_c_try_link "$LINENO"; then :
10524 case "$LIBEXT" in
10525 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10526 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'` ;;
10527 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10528 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10529 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10530 fi ;;
10531 esac
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 LIBS=$ac_check_soname_save_LIBS
10537 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10539 $as_echo "not found" >&6; }
10541 else
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10543 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10545 cat >>confdefs.h <<_ACEOF
10546 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10547 _ACEOF
10552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10554 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10555 case "x$with_xinerama" in
10556 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10557 xno) ;;
10558 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10559 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10560 esac
10564 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10565 then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10567 $as_echo_n "checking for -lXcomposite... " >&6; }
10568 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10579 #ifdef __cplusplus
10580 extern "C"
10581 #endif
10582 char XCompositeRedirectWindow ();
10584 main ()
10586 return XCompositeRedirectWindow ();
10588 return 0;
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 case "$LIBEXT" in
10593 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10597 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 fi ;;
10599 esac
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10609 else
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10611 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10613 cat >>confdefs.h <<_ACEOF
10614 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10615 _ACEOF
10620 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10621 case "x$with_xcomposite" in
10622 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10623 xno) ;;
10624 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10625 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10626 esac
10630 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10631 #include <X11/Xlib.h>
10632 #endif
10634 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10636 cat >>confdefs.h <<_ACEOF
10637 #define HAVE_XICCALLBACK_CALLBACK 1
10638 _ACEOF
10642 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10643 #include <X11/Xlib.h>
10644 #endif
10646 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10648 cat >>confdefs.h <<_ACEOF
10649 #define HAVE_XEVENT_XCOOKIE 1
10650 _ACEOF
10657 opengl_msg=""
10658 if test "x$with_opengl" != "xno"
10659 then
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10661 $as_echo_n "checking for -lGL... " >&6; }
10662 if ${ac_cv_lib_soname_GL+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_check_soname_save_LIBS=$LIBS
10666 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char glXCreateContext ();
10678 main ()
10680 return glXCreateContext ();
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 case "$LIBEXT" in
10687 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10688 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'` ;;
10689 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10690 if ${ac_cv_lib_soname_GL:+false} :; then :
10691 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10692 fi ;;
10693 esac
10695 rm -f core conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 LIBS=$ac_check_soname_save_LIBS
10699 if ${ac_cv_lib_soname_GL:+false} :; then :
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10701 $as_echo "not found" >&6; }
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10703 $as_echo_n "checking for -lGL... " >&6; }
10704 if ${ac_cv_lib_soname_GL+:} false; then :
10705 $as_echo_n "(cached) " >&6
10706 else
10707 ac_check_soname_save_LIBS=$LIBS
10708 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"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char glXCreateContext ();
10720 main ()
10722 return glXCreateContext ();
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 case "$LIBEXT" in
10729 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10730 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'` ;;
10731 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10732 if ${ac_cv_lib_soname_GL:+false} :; then :
10733 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10734 fi ;;
10735 esac
10737 rm -f core conftest.err conftest.$ac_objext \
10738 conftest$ac_exeext conftest.$ac_ext
10739 LIBS=$ac_check_soname_save_LIBS
10741 if ${ac_cv_lib_soname_GL:+false} :; then :
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10743 $as_echo "not found" >&6; }
10744 if test -f /usr/X11R6/lib/libGL.a
10745 then
10746 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10747 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10748 else
10749 opengl_msg="No OpenGL library found on this system."
10751 else
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10753 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10755 cat >>confdefs.h <<_ACEOF
10756 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10757 _ACEOF
10759 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"
10761 else
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10763 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10765 cat >>confdefs.h <<_ACEOF
10766 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10767 _ACEOF
10769 OPENGL_LIBS="-lGL"
10771 if test "x$with_glu" != "xno"
10772 then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10774 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10775 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10776 $as_echo_n "(cached) " >&6
10777 else
10778 ac_check_lib_save_LIBS=$LIBS
10779 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10783 /* Override any GCC internal prototype to avoid an error.
10784 Use char because int might match the return type of a GCC
10785 builtin and then its argument prototype would still apply. */
10786 #ifdef __cplusplus
10787 extern "C"
10788 #endif
10789 char gluLookAt ();
10791 main ()
10793 return gluLookAt ();
10795 return 0;
10797 _ACEOF
10798 if ac_fn_c_try_link "$LINENO"; then :
10799 ac_cv_lib_GLU_gluLookAt=yes
10800 else
10801 ac_cv_lib_GLU_gluLookAt=no
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LIBS=$ac_check_lib_save_LIBS
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10808 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10809 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10813 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10814 case "x$with_glu" in
10815 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10816 xno) ;;
10817 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10818 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10819 esac
10824 if test "x$with_osmesa" != "xno"
10825 then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10827 $as_echo_n "checking for -lOSMesa... " >&6; }
10828 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_soname_save_LIBS=$LIBS
10832 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 char glAccum ();
10844 main ()
10846 return glAccum ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 case "$LIBEXT" in
10853 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10854 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'` ;;
10855 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10856 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10857 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10858 fi ;;
10859 esac
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_soname_save_LIBS
10865 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10867 $as_echo "not found" >&6; }
10869 else
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10871 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10873 cat >>confdefs.h <<_ACEOF
10874 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10875 _ACEOF
10879 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10880 case "x$with_osmesa" in
10881 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10882 xno) ;;
10883 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10884 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10885 esac
10890 if test -n "$opengl_msg"; then :
10891 case "x$with_opengl" in
10892 x) as_fn_append wine_warnings "|$opengl_msg
10893 OpenGL and Direct3D won't be supported." ;;
10894 xno) ;;
10895 *) as_fn_error $? "$opengl_msg
10896 OpenGL and Direct3D won't be supported.
10897 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10898 esac
10902 CPPFLAGS="$ac_save_CPPFLAGS"
10903 else
10904 X_CFLAGS=""
10905 X_LIBS=""
10907 if test "x$X_LIBS" = "x"; then :
10908 case "x$with_x" in
10909 xno) ;;
10910 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10911 without X support, which probably isn't what you want. You will need
10912 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10913 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10914 esac
10915 enable_winex11_drv=${enable_winex11_drv:-no}
10918 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10920 if test "$ac_cv_header_CL_cl_h" = "yes"
10921 then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10923 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10924 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10925 $as_echo_n "(cached) " >&6
10926 else
10927 ac_check_lib_save_LIBS=$LIBS
10928 LIBS="-lOpenCL $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char clGetPlatformInfo ();
10940 main ()
10942 return clGetPlatformInfo ();
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10949 else
10950 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10952 rm -f core conftest.err conftest.$ac_objext \
10953 conftest$ac_exeext conftest.$ac_ext
10954 LIBS=$ac_check_lib_save_LIBS
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10957 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10958 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10959 OPENCL_LIBS="-lOpenCL"
10964 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10965 case "x$with_opencl" in
10966 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10967 xno) ;;
10968 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10969 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10970 esac
10971 enable_opencl=${enable_opencl:-no}
10974 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10975 then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10977 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10978 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10979 $as_echo_n "(cached) " >&6
10980 else
10981 ac_check_lib_save_LIBS=$LIBS
10982 LIBS="-lpcap $LIBS"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 char pcap_create ();
10994 main ()
10996 return pcap_create ();
10998 return 0;
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"; then :
11002 ac_cv_lib_pcap_pcap_create=yes
11003 else
11004 ac_cv_lib_pcap_pcap_create=no
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11011 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11012 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11013 PCAP_LIBS="-lpcap"
11018 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11019 case "x$with_pcap" in
11020 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11021 xno) ;;
11022 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11023 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11024 esac
11025 enable_wpcap=${enable_wpcap:-no}
11029 if test "x$with_xml" != "xno"
11030 then
11031 if ${XML2_CFLAGS:+false} :; then :
11032 if ${PKG_CONFIG+:} false; then :
11033 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11036 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11037 if ${XML2_LIBS:+false} :; then :
11038 if ${PKG_CONFIG+:} false; then :
11039 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11042 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11043 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11044 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11045 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11046 ac_save_CPPFLAGS=$CPPFLAGS
11047 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11048 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11049 do :
11050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11051 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11052 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11053 cat >>confdefs.h <<_ACEOF
11054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11055 _ACEOF
11059 done
11061 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"
11062 then
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11064 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11065 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11066 $as_echo_n "(cached) " >&6
11067 else
11068 ac_check_lib_save_LIBS=$LIBS
11069 LIBS="-lxml2 $XML2_LIBS $LIBS"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11073 /* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11076 #ifdef __cplusplus
11077 extern "C"
11078 #endif
11079 char xmlParseMemory ();
11081 main ()
11083 return xmlParseMemory ();
11085 return 0;
11087 _ACEOF
11088 if ac_fn_c_try_link "$LINENO"; then :
11089 ac_cv_lib_xml2_xmlParseMemory=yes
11090 else
11091 ac_cv_lib_xml2_xmlParseMemory=no
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_lib_save_LIBS
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11098 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11099 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11101 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11103 else
11104 XML2_LIBS=""
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11108 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11109 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11110 $as_echo_n "(cached) " >&6
11111 else
11112 ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-lxml2 $XML2_LIBS $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char xmlReadMemory ();
11125 main ()
11127 return xmlReadMemory ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_xml2_xmlReadMemory=yes
11134 else
11135 ac_cv_lib_xml2_xmlReadMemory=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11142 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11143 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11145 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11150 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11151 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-lxml2 $XML2_LIBS $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char xmlNewDocPI ();
11167 main ()
11169 return xmlNewDocPI ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_xml2_xmlNewDocPI=yes
11176 else
11177 ac_cv_lib_xml2_xmlNewDocPI=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11184 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11185 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11187 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11192 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11193 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11194 $as_echo_n "(cached) " >&6
11195 else
11196 ac_check_lib_save_LIBS=$LIBS
11197 LIBS="-lxml2 $XML2_LIBS $LIBS"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char xmlSchemaSetParserStructuredErrors ();
11209 main ()
11211 return xmlSchemaSetParserStructuredErrors ();
11213 return 0;
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11218 else
11219 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11226 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11227 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11229 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11234 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11235 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lxml2 $XML2_LIBS $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char xmlSchemaSetValidStructuredErrors ();
11251 main ()
11253 return xmlSchemaSetValidStructuredErrors ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11260 else
11261 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11268 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11269 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11271 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11276 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11277 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11278 $as_echo_n "(cached) " >&6
11279 else
11280 ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-lxml2 $XML2_LIBS $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char xmlFirstElementChild ();
11293 main ()
11295 return xmlFirstElementChild ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_xml2_xmlFirstElementChild=yes
11302 else
11303 ac_cv_lib_xml2_xmlFirstElementChild=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11310 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11311 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11313 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11317 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11319 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11321 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11325 else
11326 XML2_CFLAGS=""
11327 XML2_LIBS=""
11329 CPPFLAGS=$ac_save_CPPFLAGS
11330 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11331 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11334 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11335 case "x$with_xml" in
11336 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11337 xno) ;;
11338 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11339 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11340 esac
11344 if test "x$with_xslt" != "xno"
11345 then
11346 if ${XSLT_CFLAGS:+false} :; then :
11347 if ${PKG_CONFIG+:} false; then :
11348 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11351 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11352 if ${XSLT_LIBS:+false} :; then :
11353 if ${PKG_CONFIG+:} false; then :
11354 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11357 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11358 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11359 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11360 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11361 ac_save_CPPFLAGS=$CPPFLAGS
11362 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11363 for ac_header in libxslt/pattern.h libxslt/transform.h
11364 do :
11365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11367 # include <libxslt/pattern.h>
11368 #endif
11370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11371 cat >>confdefs.h <<_ACEOF
11372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11373 _ACEOF
11377 done
11379 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11380 then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11382 $as_echo_n "checking for -lxslt... " >&6; }
11383 if ${ac_cv_lib_soname_xslt+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-lxslt $XSLT_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char xsltCompilePattern ();
11399 main ()
11401 return xsltCompilePattern ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 case "$LIBEXT" in
11408 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if ${ac_cv_lib_soname_xslt:+false} :; then :
11412 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 fi ;;
11414 esac
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_xslt:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11426 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11430 _ACEOF
11434 else
11435 XSLT_CFLAGS=""
11437 CPPFLAGS=$ac_save_CPPFLAGS
11438 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11439 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11442 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11443 case "x$with_xslt" in
11444 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11445 xno) ;;
11446 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11447 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11448 esac
11452 if test "x$with_dbus" != "xno"
11453 then
11454 if ${DBUS_CFLAGS:+false} :; then :
11455 if ${PKG_CONFIG+:} false; then :
11456 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11460 if ${DBUS_LIBS:+false} :; then :
11461 if ${PKG_CONFIG+:} false; then :
11462 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11467 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11468 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11469 ac_save_CPPFLAGS=$CPPFLAGS
11470 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11471 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11472 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11474 $as_echo_n "checking for -ldbus-1... " >&6; }
11475 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_soname_save_LIBS=$LIBS
11479 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11486 #ifdef __cplusplus
11487 extern "C"
11488 #endif
11489 char dbus_connection_close ();
11491 main ()
11493 return dbus_connection_close ();
11495 return 0;
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 case "$LIBEXT" in
11500 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11501 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'` ;;
11502 *) 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'`
11503 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11504 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11505 fi ;;
11506 esac
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_soname_save_LIBS
11512 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11514 $as_echo "not found" >&6; }
11515 DBUS_CFLAGS=""
11516 else
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11518 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11520 cat >>confdefs.h <<_ACEOF
11521 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11522 _ACEOF
11526 else
11527 DBUS_CFLAGS=""
11531 CPPFLAGS=$ac_save_CPPFLAGS
11532 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11533 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11536 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11537 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11538 case "x$with_dbus" in
11539 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11540 xno) ;;
11541 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11542 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11543 esac
11547 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11548 then
11549 if ${HAL_CFLAGS:+false} :; then :
11550 if ${PKG_CONFIG+:} false; then :
11551 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11555 if ${HAL_LIBS:+false} :; then :
11556 if ${PKG_CONFIG+:} false; then :
11557 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11561 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11562 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11563 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11564 ac_save_CPPFLAGS=$CPPFLAGS
11565 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11566 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11567 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11569 $as_echo_n "checking for -lhal... " >&6; }
11570 if ${ac_cv_lib_soname_hal+:} false; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 ac_check_soname_save_LIBS=$LIBS
11574 LIBS="-lhal $HAL_LIBS $LIBS"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11578 /* Override any GCC internal prototype to avoid an error.
11579 Use char because int might match the return type of a GCC
11580 builtin and then its argument prototype would still apply. */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 char libhal_ctx_new ();
11586 main ()
11588 return libhal_ctx_new ();
11590 return 0;
11592 _ACEOF
11593 if ac_fn_c_try_link "$LINENO"; then :
11594 case "$LIBEXT" in
11595 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11596 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'` ;;
11597 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11598 if ${ac_cv_lib_soname_hal:+false} :; then :
11599 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11600 fi ;;
11601 esac
11603 rm -f core conftest.err conftest.$ac_objext \
11604 conftest$ac_exeext conftest.$ac_ext
11605 LIBS=$ac_check_soname_save_LIBS
11607 if ${ac_cv_lib_soname_hal:+false} :; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11609 $as_echo "not found" >&6; }
11610 HAL_CFLAGS=""
11611 else
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11613 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11615 cat >>confdefs.h <<_ACEOF
11616 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11617 _ACEOF
11621 else
11622 HAL_CFLAGS=""
11626 CPPFLAGS=$ac_save_CPPFLAGS
11627 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11628 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11630 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11631 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11632 case "x$with_hal" in
11633 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11634 xno) ;;
11635 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11636 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11637 esac
11642 if test "x$with_gnutls" != "xno"
11643 then
11644 if ${GNUTLS_CFLAGS:+false} :; then :
11645 if ${PKG_CONFIG+:} false; then :
11646 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11650 if ${GNUTLS_LIBS:+false} :; then :
11651 if ${PKG_CONFIG+:} false; then :
11652 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11657 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11658 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11659 ac_save_CPPFLAGS=$CPPFLAGS
11660 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11661 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11662 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11665 #include <gnutls/gnutls.h>
11666 #include <gnutls/crypto.h>
11668 main ()
11670 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_compile "$LINENO"; then :
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11677 $as_echo_n "checking for -lgnutls... " >&6; }
11678 if ${ac_cv_lib_soname_gnutls+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_soname_save_LIBS=$LIBS
11682 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char gnutls_global_init ();
11694 main ()
11696 return gnutls_global_init ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 case "$LIBEXT" in
11703 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) 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'`
11706 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11707 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'`
11708 fi ;;
11709 esac
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_soname_save_LIBS
11715 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11717 $as_echo "not found" >&6; }
11718 GNUTLS_CFLAGS=""
11719 else
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11721 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11723 cat >>confdefs.h <<_ACEOF
11724 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11725 _ACEOF
11729 ac_wine_check_funcs_save_LIBS="$LIBS"
11730 LIBS="$LIBS $GNUTLS_LIBS"
11731 for ac_func in gnutls_hash
11732 do :
11733 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11734 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11735 cat >>confdefs.h <<_ACEOF
11736 #define HAVE_GNUTLS_HASH 1
11737 _ACEOF
11739 else
11740 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11742 done
11744 LIBS="$ac_wine_check_funcs_save_LIBS"
11746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11747 else
11748 GNUTLS_CFLAGS=""
11752 CPPFLAGS=$ac_save_CPPFLAGS
11753 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11754 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11757 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11758 case "x$with_gnutls" in
11759 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11760 xno) ;;
11761 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11762 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11763 esac
11767 CURSES_LIBS=""
11768 if test "$ac_cv_header_ncurses_h" = "yes"
11769 then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11771 $as_echo_n "checking for -lncurses... " >&6; }
11772 if ${ac_cv_lib_soname_ncurses+:} false; then :
11773 $as_echo_n "(cached) " >&6
11774 else
11775 ac_check_soname_save_LIBS=$LIBS
11776 LIBS="-lncurses $LIBS"
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11783 #ifdef __cplusplus
11784 extern "C"
11785 #endif
11786 char waddch ();
11788 main ()
11790 return waddch ();
11792 return 0;
11794 _ACEOF
11795 if ac_fn_c_try_link "$LINENO"; then :
11796 case "$LIBEXT" in
11797 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11798 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'` ;;
11799 *) 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'`
11800 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11801 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11802 fi ;;
11803 esac
11805 rm -f core conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_soname_save_LIBS
11809 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11811 $as_echo "not found" >&6; }
11813 else
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11815 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11817 cat >>confdefs.h <<_ACEOF
11818 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11819 _ACEOF
11821 CURSES_LIBS="-lncurses"
11823 elif test "$ac_cv_header_curses_h" = "yes"
11824 then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11826 $as_echo_n "checking for -lcurses... " >&6; }
11827 if ${ac_cv_lib_soname_curses+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_soname_save_LIBS=$LIBS
11831 LIBS="-lcurses $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char waddch ();
11843 main ()
11845 return waddch ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 case "$LIBEXT" in
11852 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_curses:+false} :; then :
11856 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 fi ;;
11858 esac
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_soname_save_LIBS
11864 if ${ac_cv_lib_soname_curses:+false} :; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11868 else
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11870 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11872 cat >>confdefs.h <<_ACEOF
11873 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11874 _ACEOF
11876 CURSES_LIBS="-lcurses"
11879 ac_save_LIBS="$LIBS"
11880 LIBS="$LIBS $CURSES_LIBS"
11881 for ac_func in mousemask
11882 do :
11883 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11884 if test "x$ac_cv_func_mousemask" = xyes; then :
11885 cat >>confdefs.h <<_ACEOF
11886 #define HAVE_MOUSEMASK 1
11887 _ACEOF
11890 done
11892 LIBS="$ac_save_LIBS"
11893 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11894 case "x$with_curses" in
11895 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11896 xno) ;;
11897 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11898 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11899 esac
11903 if test "x$with_sane" != "xno"
11904 then
11905 if ${SANE_CFLAGS:+false} :; then :
11906 if ${PKG_CONFIG+:} false; then :
11907 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11910 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11911 if ${SANE_LIBS:+false} :; then :
11912 if ${PKG_CONFIG+:} false; then :
11913 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11916 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11918 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11920 ac_save_CPPFLAGS=$CPPFLAGS
11921 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11922 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11923 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11925 $as_echo_n "checking for -lsane... " >&6; }
11926 if ${ac_cv_lib_soname_sane+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 ac_check_soname_save_LIBS=$LIBS
11930 LIBS="-lsane $SANE_LIBS $LIBS"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char sane_init ();
11942 main ()
11944 return sane_init ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"; then :
11950 case "$LIBEXT" in
11951 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11952 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'` ;;
11953 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11954 if ${ac_cv_lib_soname_sane:+false} :; then :
11955 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11956 fi ;;
11957 esac
11959 rm -f core conftest.err conftest.$ac_objext \
11960 conftest$ac_exeext conftest.$ac_ext
11961 LIBS=$ac_check_soname_save_LIBS
11963 if ${ac_cv_lib_soname_sane:+false} :; then :
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11965 $as_echo "not found" >&6; }
11966 SANE_CFLAGS=""
11967 else
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11969 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11971 cat >>confdefs.h <<_ACEOF
11972 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11973 _ACEOF
11977 else
11978 SANE_CFLAGS=""
11982 CPPFLAGS=$ac_save_CPPFLAGS
11983 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11984 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11987 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11988 case "x$with_sane" in
11989 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11990 xno) ;;
11991 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11992 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11993 esac
11997 if test "x$with_v4l" != "xno"
11998 then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12000 $as_echo_n "checking for -lv4l1... " >&6; }
12001 if ${ac_cv_lib_soname_v4l1+:} false; then :
12002 $as_echo_n "(cached) " >&6
12003 else
12004 ac_check_soname_save_LIBS=$LIBS
12005 LIBS="-lv4l1 $LIBS"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12012 #ifdef __cplusplus
12013 extern "C"
12014 #endif
12015 char v4l1_open ();
12017 main ()
12019 return v4l1_open ();
12021 return 0;
12023 _ACEOF
12024 if ac_fn_c_try_link "$LINENO"; then :
12025 case "$LIBEXT" in
12026 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12027 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'` ;;
12028 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12029 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12030 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12031 fi ;;
12032 esac
12034 rm -f core conftest.err conftest.$ac_objext \
12035 conftest$ac_exeext conftest.$ac_ext
12036 LIBS=$ac_check_soname_save_LIBS
12038 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12040 $as_echo "not found" >&6; }
12042 else
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12044 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12046 cat >>confdefs.h <<_ACEOF
12047 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12048 _ACEOF
12053 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12054 case "x$with_v4l" in
12055 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12056 xno) ;;
12057 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12058 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12059 esac
12063 if test "x$with_gphoto" != "xno"
12064 then
12065 if ${GPHOTO2_CFLAGS:+false} :; then :
12066 if ${PKG_CONFIG+:} false; then :
12067 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12070 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12071 if ${GPHOTO2_LIBS:+false} :; then :
12072 if ${PKG_CONFIG+:} false; then :
12073 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12076 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12077 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12078 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12079 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12080 ac_save_CPPFLAGS=$CPPFLAGS
12081 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12082 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12083 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12085 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12086 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12087 $as_echo_n "(cached) " >&6
12088 else
12089 ac_check_lib_save_LIBS=$LIBS
12090 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12097 #ifdef __cplusplus
12098 extern "C"
12099 #endif
12100 char gp_camera_new ();
12102 main ()
12104 return gp_camera_new ();
12106 return 0;
12108 _ACEOF
12109 if ac_fn_c_try_link "$LINENO"; then :
12110 ac_cv_lib_gphoto2_gp_camera_new=yes
12111 else
12112 ac_cv_lib_gphoto2_gp_camera_new=no
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_lib_save_LIBS
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12119 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12120 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12122 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12124 else
12125 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12128 else
12129 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12133 CPPFLAGS=$ac_save_CPPFLAGS
12134 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12135 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12137 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12138 if ${PKG_CONFIG+:} false; then :
12139 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12142 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12143 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12144 if ${PKG_CONFIG+:} false; then :
12145 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12148 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12149 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12150 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12151 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12152 ac_save_CPPFLAGS=$CPPFLAGS
12153 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12154 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12155 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12157 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12158 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 ac_check_lib_save_LIBS=$LIBS
12162 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 #ifdef __cplusplus
12170 extern "C"
12171 #endif
12172 char gp_port_info_list_new ();
12174 main ()
12176 return gp_port_info_list_new ();
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"; then :
12182 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12183 else
12184 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12186 rm -f core conftest.err conftest.$ac_objext \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_lib_save_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12191 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12192 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12194 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12196 else
12197 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12200 else
12201 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12205 CPPFLAGS=$ac_save_CPPFLAGS
12206 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12207 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12210 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12211 case "x$with_gphoto" in
12212 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12213 xno) ;;
12214 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12215 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12216 esac
12219 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12220 case "x$with_gphoto" in
12221 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12222 xno) ;;
12223 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12224 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12225 esac
12230 if test "$ac_cv_header_resolv_h" = "yes"
12231 then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12233 $as_echo_n "checking for resolver library... " >&6; }
12234 if ${ac_cv_have_resolv+:} false; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 ac_save_LIBS="$LIBS"
12238 for lib in '' -lresolv
12240 LIBS="$lib $ac_save_LIBS"
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12243 #ifdef HAVE_NETINET_IN_H
12244 #include <netinet/in.h>
12245 #endif
12246 #include <resolv.h>
12248 main ()
12250 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_link "$LINENO"; then :
12256 ac_cv_have_resolv=${lib:-"none required"}
12257 else
12258 ac_cv_have_resolv="not found"
12260 rm -f core conftest.err conftest.$ac_objext \
12261 conftest$ac_exeext conftest.$ac_ext
12262 test "x$ac_cv_have_resolv" = "xnot found" || break
12263 done
12264 LIBS="$ac_save_LIBS"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12267 $as_echo "$ac_cv_have_resolv" >&6; }
12269 case "$ac_cv_have_resolv" in
12270 "not found") ;;
12271 "none required")
12273 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12276 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12278 RESOLV_LIBS=$ac_cv_have_resolv
12280 esac
12283 if test "x$with_cms" != "xno"
12284 then
12285 if ${LCMS2_CFLAGS:+false} :; then :
12286 if ${PKG_CONFIG+:} false; then :
12287 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12291 if ${LCMS2_LIBS:+false} :; then :
12292 if ${PKG_CONFIG+:} false; then :
12293 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12297 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12298 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12299 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12300 ac_save_CPPFLAGS=$CPPFLAGS
12301 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12302 for ac_header in lcms2.h
12303 do :
12304 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12305 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12306 cat >>confdefs.h <<_ACEOF
12307 #define HAVE_LCMS2_H 1
12308 _ACEOF
12312 done
12314 if test "$ac_cv_header_lcms2_h" = "yes"
12315 then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12317 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12318 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_lib_save_LIBS=$LIBS
12322 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char cmsOpenProfileFromFile ();
12334 main ()
12336 return cmsOpenProfileFromFile ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12343 else
12344 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 LIBS=$ac_check_lib_save_LIBS
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12351 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12352 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12354 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12356 else
12357 LCMS2_LIBS=""
12360 else
12361 LCMS2_CFLAGS=""
12362 LCMS2_LIBS=""
12364 CPPFLAGS=$ac_save_CPPFLAGS
12365 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12366 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12369 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12370 case "x$with_cms" in
12371 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12372 xno) ;;
12373 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12374 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12375 esac
12379 if test "x$with_freetype" != "xno"
12380 then
12381 if ${FREETYPE_CFLAGS:+false} :; then :
12382 if ${PKG_CONFIG+:} false; then :
12383 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12386 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12387 if ${FREETYPE_LIBS:+false} :; then :
12388 if ${PKG_CONFIG+:} false; then :
12389 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12392 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12393 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12394 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12395 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12396 ac_save_CPPFLAGS=$CPPFLAGS
12397 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12398 for ac_header in ft2build.h
12399 do :
12400 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12401 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12402 cat >>confdefs.h <<_ACEOF
12403 #define HAVE_FT2BUILD_H 1
12404 _ACEOF
12408 done
12410 if test "$ac_cv_header_ft2build_h" = "yes"
12411 then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12413 $as_echo_n "checking for -lfreetype... " >&6; }
12414 if ${ac_cv_lib_soname_freetype+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_soname_save_LIBS=$LIBS
12418 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char FT_Init_FreeType ();
12430 main ()
12432 return FT_Init_FreeType ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 case "$LIBEXT" in
12439 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12440 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'` ;;
12441 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12442 if ${ac_cv_lib_soname_freetype:+false} :; then :
12443 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12444 fi ;;
12445 esac
12447 rm -f core conftest.err conftest.$ac_objext \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_soname_save_LIBS
12451 if ${ac_cv_lib_soname_freetype:+false} :; then :
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12453 $as_echo "not found" >&6; }
12454 FREETYPE_LIBS=""
12455 else
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12457 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12459 cat >>confdefs.h <<_ACEOF
12460 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12461 _ACEOF
12464 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12466 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12467 #include FT_MODULE_H
12469 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12471 cat >>confdefs.h <<_ACEOF
12472 #define HAVE_FT_TRUETYPEENGINETYPE 1
12473 _ACEOF
12479 else
12480 FREETYPE_CFLAGS=""
12481 FREETYPE_LIBS=""
12483 CPPFLAGS=$ac_save_CPPFLAGS
12484 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12485 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12488 if test "x$ac_cv_lib_soname_freetype" = x; then :
12489 case "x$with_freetype" in
12490 xno) ;;
12491 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12492 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12493 esac
12494 enable_fonts=${enable_fonts:-no}
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12498 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12499 if ${ac_cv_c_ppdev+:} false; then :
12500 $as_echo_n "(cached) " >&6
12501 else
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12504 #ifdef HAVE_SYS_IOCTL_H
12505 # include <sys/ioctl.h>
12506 #endif
12507 #include <linux/ppdev.h>
12509 main ()
12511 ioctl (1,PPCLAIM,0)
12513 return 0;
12515 _ACEOF
12516 if ac_fn_c_try_compile "$LINENO"; then :
12517 ac_cv_c_ppdev="yes"
12518 else
12519 ac_cv_c_ppdev="no"
12521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12524 $as_echo "$ac_cv_c_ppdev" >&6; }
12525 if test "$ac_cv_c_ppdev" = "yes"
12526 then
12528 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12532 ac_wine_check_funcs_save_LIBS="$LIBS"
12533 LIBS="$LIBS $PTHREAD_LIBS"
12534 for ac_func in \
12535 pthread_attr_get_np \
12536 pthread_getattr_np \
12537 pthread_getthreadid_np \
12538 pthread_get_stackaddr_np \
12539 pthread_get_stacksize_np
12540 do :
12541 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12542 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12544 cat >>confdefs.h <<_ACEOF
12545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12546 _ACEOF
12549 done
12551 LIBS="$ac_wine_check_funcs_save_LIBS"
12553 if test "$ac_cv_header_zlib_h" = "yes"
12554 then
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12556 $as_echo_n "checking for inflate in -lz... " >&6; }
12557 if ${ac_cv_lib_z_inflate+:} false; then :
12558 $as_echo_n "(cached) " >&6
12559 else
12560 ac_check_lib_save_LIBS=$LIBS
12561 LIBS="-lz $LIBS"
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12565 /* Override any GCC internal prototype to avoid an error.
12566 Use char because int might match the return type of a GCC
12567 builtin and then its argument prototype would still apply. */
12568 #ifdef __cplusplus
12569 extern "C"
12570 #endif
12571 char inflate ();
12573 main ()
12575 return inflate ();
12577 return 0;
12579 _ACEOF
12580 if ac_fn_c_try_link "$LINENO"; then :
12581 ac_cv_lib_z_inflate=yes
12582 else
12583 ac_cv_lib_z_inflate=no
12585 rm -f core conftest.err conftest.$ac_objext \
12586 conftest$ac_exeext conftest.$ac_ext
12587 LIBS=$ac_check_lib_save_LIBS
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12590 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12591 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12593 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12595 Z_LIBS="-lz"
12600 if test "x$Z_LIBS" = "x"; then :
12601 case "x$with_zlib" in
12602 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12603 xno) ;;
12604 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12605 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12606 esac
12610 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12611 then
12612 if test "$ac_cv_header_gettext_po_h" = "yes"
12613 then
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12615 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12616 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12617 $as_echo_n "(cached) " >&6
12618 else
12619 ac_check_lib_save_LIBS=$LIBS
12620 LIBS="-lgettextpo $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12627 #ifdef __cplusplus
12628 extern "C"
12629 #endif
12630 char po_message_msgctxt ();
12632 main ()
12634 return po_message_msgctxt ();
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"; then :
12640 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12641 else
12642 ac_cv_lib_gettextpo_po_message_msgctxt=no
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_lib_save_LIBS
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12649 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12650 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12652 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12654 GETTEXTPO_LIBS="-lgettextpo"
12659 if test "x$GETTEXTPO_LIBS" = "x"; then :
12660 case "x$with_gettextpo" in
12661 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12662 xno) ;;
12663 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12664 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12665 esac
12668 if test "$srcdir" != .; then :
12669 case "x$with_gettextpo" in
12670 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12671 xno) ;;
12672 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12673 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12674 esac
12679 if test "x$with_pulse" != "xno";
12680 then
12681 if ${PULSE_CFLAGS:+false} :; then :
12682 if ${PKG_CONFIG+:} false; then :
12683 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12687 if ${PULSE_LIBS:+false} :; then :
12688 if ${PKG_CONFIG+:} false; then :
12689 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12694 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12695 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12696 ac_save_CPPFLAGS=$CPPFLAGS
12697 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12698 for ac_header in pulse/pulseaudio.h
12699 do :
12700 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12702 cat >>confdefs.h <<_ACEOF
12703 #define HAVE_PULSE_PULSEAUDIO_H 1
12704 _ACEOF
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12706 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12707 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12708 $as_echo_n "(cached) " >&6
12709 else
12710 ac_check_lib_save_LIBS=$LIBS
12711 LIBS="-lpulse $PULSE_LIBS $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 #ifdef __cplusplus
12719 extern "C"
12720 #endif
12721 char pa_stream_is_corked ();
12723 main ()
12725 return pa_stream_is_corked ();
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_link "$LINENO"; then :
12731 ac_cv_lib_pulse_pa_stream_is_corked=yes
12732 else
12733 ac_cv_lib_pulse_pa_stream_is_corked=no
12735 rm -f core conftest.err conftest.$ac_objext \
12736 conftest$ac_exeext conftest.$ac_ext
12737 LIBS=$ac_check_lib_save_LIBS
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12740 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12741 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12743 else
12744 PULSE_LIBS=""
12747 else
12748 PULSE_LIBS=""
12751 done
12753 CPPFLAGS=$ac_save_CPPFLAGS
12754 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12755 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12758 if test -z "$PULSE_LIBS"; then :
12759 case "x$with_pulse" in
12760 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12761 xno) ;;
12762 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12763 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12764 esac
12765 enable_winepulse_drv=${enable_winepulse_drv:-no}
12768 if test "x$with_gstreamer" != "xno"
12769 then
12770 if ${GSTREAMER_CFLAGS:+false} :; then :
12771 if ${PKG_CONFIG+:} false; then :
12772 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12776 if ${GSTREAMER_LIBS:+false} :; then :
12777 if ${PKG_CONFIG+:} false; then :
12778 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12783 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12784 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12785 ac_save_CPPFLAGS=$CPPFLAGS
12786 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12787 ac_gst_incl=""
12788 for i in $GSTREAMER_CFLAGS
12790 case "$i" in
12791 -I*) ac_gst_incl="$ac_gst_incl $i";;
12792 esac
12793 done
12794 GSTREAMER_CFLAGS=$ac_gst_incl
12795 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12796 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12797 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12799 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12802 #include <gst/gst.h>
12804 main ()
12806 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_compile "$LINENO"; then :
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12813 $as_echo "yes" >&6; }
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12815 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12816 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12817 $as_echo_n "(cached) " >&6
12818 else
12819 ac_check_lib_save_LIBS=$LIBS
12820 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12824 /* Override any GCC internal prototype to avoid an error.
12825 Use char because int might match the return type of a GCC
12826 builtin and then its argument prototype would still apply. */
12827 #ifdef __cplusplus
12828 extern "C"
12829 #endif
12830 char gst_pad_new ();
12832 main ()
12834 return gst_pad_new ();
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_link "$LINENO"; then :
12840 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12841 else
12842 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12844 rm -f core conftest.err conftest.$ac_objext \
12845 conftest$ac_exeext conftest.$ac_ext
12846 LIBS=$ac_check_lib_save_LIBS
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12849 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12850 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12854 else
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12856 $as_echo "no" >&6; }
12857 ac_glib2_broken=yes
12858 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12864 CPPFLAGS=$ac_save_CPPFLAGS
12865 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12866 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12869 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 :
12870 case "x$with_gstreamer" in
12871 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12872 xno) ;;
12873 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12874 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12875 esac
12878 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12880 ALSA_LIBS=""
12882 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12883 then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12885 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12886 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lasound $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char snd_pcm_hw_params_get_access_mask ();
12902 main ()
12904 return snd_pcm_hw_params_get_access_mask ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12911 else
12912 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12919 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12920 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12923 #ifdef HAVE_ALSA_ASOUNDLIB_H
12924 #include <alsa/asoundlib.h>
12925 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12926 #include <sys/asoundlib.h>
12927 #endif
12929 main ()
12931 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12933 return 0;
12935 _ACEOF
12936 if ac_fn_c_try_compile "$LINENO"; then :
12937 ALSA_LIBS="-lasound"
12939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12943 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12945 if test "x$with_oss" != xno
12946 then
12947 ac_save_CPPFLAGS="$CPPFLAGS"
12948 if test -f /etc/oss.conf
12949 then
12950 . /etc/oss.conf
12952 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12953 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12954 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12955 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12956 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12958 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12960 cat >>confdefs.h <<_ACEOF
12961 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12962 _ACEOF
12964 OSS4_CFLAGS="$ac_oss_incl"
12971 CPPFLAGS="$ac_save_CPPFLAGS"
12973 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12974 case "x$with_oss" in
12975 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12976 xno) ;;
12977 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12978 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12979 esac
12980 enable_wineoss_drv=${enable_wineoss_drv:-no}
12983 if test "x$with_udev" != "xno"
12984 then
12985 if ${UDEV_CFLAGS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12991 if ${UDEV_LIBS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12997 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13002 for ac_header in libudev.h
13003 do :
13004 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13005 if test "x$ac_cv_header_libudev_h" = xyes; then :
13006 cat >>confdefs.h <<_ACEOF
13007 #define HAVE_LIBUDEV_H 1
13008 _ACEOF
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13010 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13011 if ${ac_cv_lib_udev_udev_new+:} false; then :
13012 $as_echo_n "(cached) " >&6
13013 else
13014 ac_check_lib_save_LIBS=$LIBS
13015 LIBS="-ludev $UDEV_LIBS $LIBS"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13022 #ifdef __cplusplus
13023 extern "C"
13024 #endif
13025 char udev_new ();
13027 main ()
13029 return udev_new ();
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_link "$LINENO"; then :
13035 ac_cv_lib_udev_udev_new=yes
13036 else
13037 ac_cv_lib_udev_udev_new=no
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_lib_save_LIBS
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13044 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13045 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13047 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13049 else
13050 UDEV_LIBS=""
13053 else
13054 UDEV_LIBS=""
13057 done
13059 CPPFLAGS=$ac_save_CPPFLAGS
13060 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$UDEV_LIBS" = "x"; then :
13065 case "x$with_udev" in
13066 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13067 xno) ;;
13068 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13069 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13070 esac
13074 if test "x$with_capi" != "xno"
13075 then
13076 if ${CAPI20_CFLAGS:+false} :; then :
13077 if ${PKG_CONFIG+:} false; then :
13078 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13082 if ${CAPI20_LIBS:+false} :; then :
13083 if ${PKG_CONFIG+:} false; then :
13084 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13089 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13090 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13091 ac_save_CPPFLAGS=$CPPFLAGS
13092 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13093 for ac_header in capi20.h linux/capi.h
13094 do :
13095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13096 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13099 cat >>confdefs.h <<_ACEOF
13100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13101 _ACEOF
13105 done
13107 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13108 then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13110 $as_echo_n "checking for -lcapi20... " >&6; }
13111 if ${ac_cv_lib_soname_capi20+:} false; then :
13112 $as_echo_n "(cached) " >&6
13113 else
13114 ac_check_soname_save_LIBS=$LIBS
13115 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 #ifdef __cplusplus
13123 extern "C"
13124 #endif
13125 char capi20_register ();
13127 main ()
13129 return capi20_register ();
13131 return 0;
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 case "$LIBEXT" in
13136 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13137 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'` ;;
13138 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13139 if ${ac_cv_lib_soname_capi20:+false} :; then :
13140 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13141 fi ;;
13142 esac
13144 rm -f core conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
13146 LIBS=$ac_check_soname_save_LIBS
13148 if ${ac_cv_lib_soname_capi20:+false} :; then :
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13150 $as_echo "not found" >&6; }
13152 else
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13154 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13156 cat >>confdefs.h <<_ACEOF
13157 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13158 _ACEOF
13163 CPPFLAGS=$ac_save_CPPFLAGS
13164 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13165 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13168 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13169 case "x$with_capi" in
13170 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13171 xno) ;;
13172 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13173 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13174 esac
13178 CUPS_CFLAGS=""
13180 if test "x$with_cups" != "xno"
13181 then
13182 ac_save_CPPFLAGS="$CPPFLAGS"
13183 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13184 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13185 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13186 for ac_header in cups/cups.h
13187 do :
13188 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13189 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13190 cat >>confdefs.h <<_ACEOF
13191 #define HAVE_CUPS_CUPS_H 1
13192 _ACEOF
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13194 $as_echo_n "checking for -lcups... " >&6; }
13195 if ${ac_cv_lib_soname_cups+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_soname_save_LIBS=$LIBS
13199 LIBS="-lcups $ac_cups_libs $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char cupsGetDefault ();
13211 main ()
13213 return cupsGetDefault ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 case "$LIBEXT" in
13220 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13221 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'` ;;
13222 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13223 if ${ac_cv_lib_soname_cups:+false} :; then :
13224 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13225 fi ;;
13226 esac
13228 rm -f core conftest.err conftest.$ac_objext \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_soname_save_LIBS
13232 if ${ac_cv_lib_soname_cups:+false} :; then :
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13234 $as_echo "not found" >&6; }
13236 else
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13238 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13242 _ACEOF
13244 CUPS_CFLAGS="$ac_cups_cflags"
13246 for ac_header in cups/ppd.h
13247 do :
13248 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13249 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13250 cat >>confdefs.h <<_ACEOF
13251 #define HAVE_CUPS_PPD_H 1
13252 _ACEOF
13256 done
13260 done
13262 CPPFLAGS="$ac_save_CPPFLAGS"
13264 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13265 case "x$with_cups" in
13266 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13267 xno) ;;
13268 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13269 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13270 esac
13274 if test "x$with_fontconfig" != "xno"
13275 then
13276 if ${FONTCONFIG_CFLAGS:+false} :; then :
13277 if ${PKG_CONFIG+:} false; then :
13278 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13281 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13282 if ${FONTCONFIG_LIBS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13287 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13289 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13290 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13291 ac_save_CPPFLAGS=$CPPFLAGS
13292 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13293 for ac_header in fontconfig/fontconfig.h
13294 do :
13295 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13296 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13297 cat >>confdefs.h <<_ACEOF
13298 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13299 _ACEOF
13303 done
13305 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13306 then
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13308 $as_echo_n "checking for -lfontconfig... " >&6; }
13309 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13310 $as_echo_n "(cached) " >&6
13311 else
13312 ac_check_soname_save_LIBS=$LIBS
13313 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13317 /* Override any GCC internal prototype to avoid an error.
13318 Use char because int might match the return type of a GCC
13319 builtin and then its argument prototype would still apply. */
13320 #ifdef __cplusplus
13321 extern "C"
13322 #endif
13323 char FcInit ();
13325 main ()
13327 return FcInit ();
13329 return 0;
13331 _ACEOF
13332 if ac_fn_c_try_link "$LINENO"; then :
13333 case "$LIBEXT" in
13334 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13335 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'` ;;
13336 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13337 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13338 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13339 fi ;;
13340 esac
13342 rm -f core conftest.err conftest.$ac_objext \
13343 conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_soname_save_LIBS
13346 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13348 $as_echo "not found" >&6; }
13349 FONTCONFIG_CFLAGS=""
13350 else
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13352 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13354 cat >>confdefs.h <<_ACEOF
13355 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13356 _ACEOF
13360 else
13361 FONTCONFIG_CFLAGS=""
13363 CPPFLAGS=$ac_save_CPPFLAGS
13364 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13365 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13368 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13369 case "x$with_fontconfig" in
13370 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13371 xno) ;;
13372 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13373 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13374 esac
13378 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13379 then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13381 $as_echo_n "checking for -lgsm... " >&6; }
13382 if ${ac_cv_lib_soname_gsm+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 ac_check_soname_save_LIBS=$LIBS
13386 LIBS="-lgsm $LIBS"
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 #endif
13396 char gsm_create ();
13398 main ()
13400 return gsm_create ();
13402 return 0;
13404 _ACEOF
13405 if ac_fn_c_try_link "$LINENO"; then :
13406 case "$LIBEXT" in
13407 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13408 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'` ;;
13409 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13410 if ${ac_cv_lib_soname_gsm:+false} :; then :
13411 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13412 fi ;;
13413 esac
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_gsm:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13425 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13429 _ACEOF
13434 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13435 case "x$with_gsm" in
13436 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13437 xno) ;;
13438 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13439 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13440 esac
13444 if test "x$with_jpeg" != "xno"
13445 then
13446 if ${JPEG_CFLAGS:+false} :; then :
13447 if ${PKG_CONFIG+:} false; then :
13448 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13452 if ${JPEG_LIBS:+false} :; then :
13453 if ${PKG_CONFIG+:} false; then :
13454 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13459 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13460 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13461 ac_save_CPPFLAGS=$CPPFLAGS
13462 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13463 for ac_header in jpeglib.h
13464 do :
13465 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13466 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13467 cat >>confdefs.h <<_ACEOF
13468 #define HAVE_JPEGLIB_H 1
13469 _ACEOF
13473 done
13475 if test "$ac_cv_header_jpeglib_h" = "yes"
13476 then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13478 $as_echo_n "checking for -ljpeg... " >&6; }
13479 if ${ac_cv_lib_soname_jpeg+:} false; then :
13480 $as_echo_n "(cached) " >&6
13481 else
13482 ac_check_soname_save_LIBS=$LIBS
13483 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13490 #ifdef __cplusplus
13491 extern "C"
13492 #endif
13493 char jpeg_start_decompress ();
13495 main ()
13497 return jpeg_start_decompress ();
13499 return 0;
13501 _ACEOF
13502 if ac_fn_c_try_link "$LINENO"; then :
13503 case "$LIBEXT" in
13504 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13505 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'` ;;
13506 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13507 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13508 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13509 fi ;;
13510 esac
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 LIBS=$ac_check_soname_save_LIBS
13516 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13518 $as_echo "not found" >&6; }
13519 JPEG_CFLAGS=""
13520 else
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13522 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13524 cat >>confdefs.h <<_ACEOF
13525 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13526 _ACEOF
13530 else
13531 JPEG_CFLAGS=""
13533 CPPFLAGS=$ac_save_CPPFLAGS
13534 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13535 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13538 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13539 case "x$with_jpeg" in
13540 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13541 xno) ;;
13542 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13543 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13544 esac
13548 if test "x$with_png" != "xno"
13549 then
13550 if ${PNG_CFLAGS:+false} :; then :
13551 if ${PKG_CONFIG+:} false; then :
13552 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13555 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13556 if ${PNG_LIBS:+false} :; then :
13557 if ${PKG_CONFIG+:} false; then :
13558 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13561 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13563 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13564 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13565 ac_save_CPPFLAGS=$CPPFLAGS
13566 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13567 for ac_header in png.h
13568 do :
13569 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13570 if test "x$ac_cv_header_png_h" = xyes; then :
13571 cat >>confdefs.h <<_ACEOF
13572 #define HAVE_PNG_H 1
13573 _ACEOF
13577 done
13579 if test "$ac_cv_header_png_h" = "yes"
13580 then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13582 $as_echo_n "checking for -lpng... " >&6; }
13583 if ${ac_cv_lib_soname_png+:} false; then :
13584 $as_echo_n "(cached) " >&6
13585 else
13586 ac_check_soname_save_LIBS=$LIBS
13587 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 /* Override any GCC internal prototype to avoid an error.
13592 Use char because int might match the return type of a GCC
13593 builtin and then its argument prototype would still apply. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 char png_create_read_struct ();
13599 main ()
13601 return png_create_read_struct ();
13603 return 0;
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 case "$LIBEXT" in
13608 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13609 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'` ;;
13610 *) 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'`
13611 if ${ac_cv_lib_soname_png:+false} :; then :
13612 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13613 fi ;;
13614 esac
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_soname_save_LIBS
13620 if ${ac_cv_lib_soname_png:+false} :; then :
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13622 $as_echo "not found" >&6; }
13623 PNG_CFLAGS=""
13624 else
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13626 $as_echo "$ac_cv_lib_soname_png" >&6; }
13628 cat >>confdefs.h <<_ACEOF
13629 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13630 _ACEOF
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <png.h>
13636 main ()
13638 typeof(png_set_expand_gray_1_2_4_to_8) *p
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_compile "$LINENO"; then :
13645 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13650 else
13651 PNG_CFLAGS=""
13653 CPPFLAGS=$ac_save_CPPFLAGS
13654 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13655 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13658 if test "x$ac_cv_lib_soname_png" = "x"; then :
13659 case "x$with_png" in
13660 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13661 xno) ;;
13662 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13663 This is an error since --with-png was requested." "$LINENO" 5 ;;
13664 esac
13668 if test "x$with_tiff" != "xno"
13669 then
13670 if ${TIFF_CFLAGS:+false} :; then :
13671 if ${PKG_CONFIG+:} false; then :
13672 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13676 if ${TIFF_LIBS:+false} :; then :
13677 if ${PKG_CONFIG+:} false; then :
13678 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13683 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13684 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13685 ac_save_CPPFLAGS=$CPPFLAGS
13686 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13687 for ac_header in tiffio.h
13688 do :
13689 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13690 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13691 cat >>confdefs.h <<_ACEOF
13692 #define HAVE_TIFFIO_H 1
13693 _ACEOF
13697 done
13699 if test "$ac_cv_header_tiffio_h" = "yes"
13700 then
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13702 $as_echo_n "checking for -ltiff... " >&6; }
13703 if ${ac_cv_lib_soname_tiff+:} false; then :
13704 $as_echo_n "(cached) " >&6
13705 else
13706 ac_check_soname_save_LIBS=$LIBS
13707 LIBS="-ltiff $TIFF_LIBS $LIBS"
13708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13711 /* Override any GCC internal prototype to avoid an error.
13712 Use char because int might match the return type of a GCC
13713 builtin and then its argument prototype would still apply. */
13714 #ifdef __cplusplus
13715 extern "C"
13716 #endif
13717 char TIFFClientOpen ();
13719 main ()
13721 return TIFFClientOpen ();
13723 return 0;
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"; then :
13727 case "$LIBEXT" in
13728 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13729 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'` ;;
13730 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13731 if ${ac_cv_lib_soname_tiff:+false} :; then :
13732 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13733 fi ;;
13734 esac
13736 rm -f core conftest.err conftest.$ac_objext \
13737 conftest$ac_exeext conftest.$ac_ext
13738 LIBS=$ac_check_soname_save_LIBS
13740 if ${ac_cv_lib_soname_tiff:+false} :; then :
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13742 $as_echo "not found" >&6; }
13744 else
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13746 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13748 cat >>confdefs.h <<_ACEOF
13749 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13750 _ACEOF
13755 CPPFLAGS=$ac_save_CPPFLAGS
13756 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13757 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13760 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13761 case "x$with_tiff" in
13762 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13763 xno) ;;
13764 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13765 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13766 esac
13770 if test "x$with_mpg123" != "xno"
13771 then
13772 if ${MPG123_CFLAGS:+false} :; then :
13773 if ${PKG_CONFIG+:} false; then :
13774 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13778 if ${MPG123_LIBS:+false} :; then :
13779 if ${PKG_CONFIG+:} false; then :
13780 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13784 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13785 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13786 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13787 ac_save_CPPFLAGS=$CPPFLAGS
13788 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13789 for ac_header in mpg123.h
13790 do :
13791 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13792 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13793 cat >>confdefs.h <<_ACEOF
13794 #define HAVE_MPG123_H 1
13795 _ACEOF
13799 done
13801 if test "$ac_cv_header_mpg123_h" = "yes"
13802 then
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13804 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13805 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13806 $as_echo_n "(cached) " >&6
13807 else
13808 ac_check_lib_save_LIBS=$LIBS
13809 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13816 #ifdef __cplusplus
13817 extern "C"
13818 #endif
13819 char mpg123_feed ();
13821 main ()
13823 return mpg123_feed ();
13825 return 0;
13827 _ACEOF
13828 if ac_fn_c_try_link "$LINENO"; then :
13829 ac_cv_lib_mpg123_mpg123_feed=yes
13830 else
13831 ac_cv_lib_mpg123_mpg123_feed=no
13833 rm -f core conftest.err conftest.$ac_objext \
13834 conftest$ac_exeext conftest.$ac_ext
13835 LIBS=$ac_check_lib_save_LIBS
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13838 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13839 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13841 else
13842 MPG123_LIBS=""
13845 else
13846 MPG123_CFLAGS=""
13847 MPG123_LIBS=""
13849 CPPFLAGS=$ac_save_CPPFLAGS
13850 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13851 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13854 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13855 case "x$with_mpg123" in
13856 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13857 xno) ;;
13858 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13859 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13860 esac
13861 enable_winemp3_acm=${enable_winemp3_acm:-no}
13864 if test "$ac_cv_header_AL_al_h" = "yes"
13865 then
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13867 $as_echo_n "checking for -lopenal... " >&6; }
13868 if ${ac_cv_lib_soname_openal+:} false; then :
13869 $as_echo_n "(cached) " >&6
13870 else
13871 ac_check_soname_save_LIBS=$LIBS
13872 LIBS="-lopenal $LIBS"
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13876 /* Override any GCC internal prototype to avoid an error.
13877 Use char because int might match the return type of a GCC
13878 builtin and then its argument prototype would still apply. */
13879 #ifdef __cplusplus
13880 extern "C"
13881 #endif
13882 char alGetSource3i ();
13884 main ()
13886 return alGetSource3i ();
13888 return 0;
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 case "$LIBEXT" in
13893 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13894 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'` ;;
13895 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13896 if ${ac_cv_lib_soname_openal:+false} :; then :
13897 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13898 fi ;;
13899 esac
13901 rm -f core conftest.err conftest.$ac_objext \
13902 conftest$ac_exeext conftest.$ac_ext
13903 LIBS=$ac_check_soname_save_LIBS
13905 if ${ac_cv_lib_soname_openal:+false} :; then :
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13907 $as_echo "not found" >&6; }
13909 else
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13911 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13913 cat >>confdefs.h <<_ACEOF
13914 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13915 _ACEOF
13917 OPENAL_LIBS="-lopenal"
13919 ac_cv_lib_openal=yes
13921 cat >>confdefs.h <<_ACEOF
13922 #define HAVE_OPENAL 1
13923 _ACEOF
13927 if test "x$ac_cv_lib_openal" != xyes; then :
13928 case "x$with_openal" in
13929 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13930 xno) ;;
13931 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13932 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13933 esac
13934 enable_openal32=${enable_openal32:-no}
13937 if test "x$ac_cv_lib_openal" = xyes
13938 then
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13940 $as_echo_n "checking for openal-soft... " >&6; }
13941 if ${ac_cv_have_openalsoft+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 #include <AL/al.h>
13947 #include <AL/alc.h>
13948 #include <AL/alext.h>
13949 LPALCRENDERSAMPLESSOFT x;
13951 main ()
13955 return 0;
13957 _ACEOF
13958 if ac_fn_c_try_compile "$LINENO"; then :
13959 ac_cv_have_openalsoft=yes
13960 else
13961 ac_cv_have_openalsoft=no
13963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13966 $as_echo "$ac_cv_have_openalsoft" >&6; }
13968 if test "x$ac_cv_have_openalsoft" != xyes
13969 then
13970 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13971 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13972 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13973 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13974 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13975 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13976 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13977 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13978 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13979 enable_xapofx1_1=${enable_xapofx1_1:-no}
13980 enable_xapofx1_2=${enable_xapofx1_2:-no}
13981 enable_xapofx1_3=${enable_xapofx1_3:-no}
13982 enable_xapofx1_4=${enable_xapofx1_4:-no}
13983 enable_xapofx1_5=${enable_xapofx1_5:-no}
13984 enable_xaudio2_0=${enable_xaudio2_0:-no}
13985 enable_xaudio2_1=${enable_xaudio2_1:-no}
13986 enable_xaudio2_2=${enable_xaudio2_2:-no}
13987 enable_xaudio2_3=${enable_xaudio2_3:-no}
13988 enable_xaudio2_4=${enable_xaudio2_4:-no}
13989 enable_xaudio2_5=${enable_xaudio2_5:-no}
13990 enable_xaudio2_6=${enable_xaudio2_6:-no}
13991 enable_xaudio2_7=${enable_xaudio2_7:-no}
13992 enable_xaudio2_8=${enable_xaudio2_8:-no}
13993 enable_xaudio2_9=${enable_xaudio2_9:-no}
13996 if test "$ac_cv_header_kstat_h" = "yes"
13997 then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13999 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14000 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_check_lib_save_LIBS=$LIBS
14004 LIBS="-lkstat $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char kstat_open ();
14016 main ()
14018 return kstat_open ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_lib_kstat_kstat_open=yes
14025 else
14026 ac_cv_lib_kstat_kstat_open=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14033 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14034 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14036 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14038 KSTAT_LIBS="-lkstat"
14044 if test "$ac_cv_header_libprocstat_h" = "yes"
14045 then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14047 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14048 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14049 $as_echo_n "(cached) " >&6
14050 else
14051 ac_check_lib_save_LIBS=$LIBS
14052 LIBS="-lprocstat $LIBS"
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14059 #ifdef __cplusplus
14060 extern "C"
14061 #endif
14062 char procstat_open_sysctl ();
14064 main ()
14066 return procstat_open_sysctl ();
14068 return 0;
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 ac_cv_lib_procstat_procstat_open_sysctl=yes
14073 else
14074 ac_cv_lib_procstat_procstat_open_sysctl=no
14076 rm -f core conftest.err conftest.$ac_objext \
14077 conftest$ac_exeext conftest.$ac_ext
14078 LIBS=$ac_check_lib_save_LIBS
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14081 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14082 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14084 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14086 PROCSTAT_LIBS="-lprocstat"
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14093 $as_echo_n "checking for -lodbc... " >&6; }
14094 if ${ac_cv_lib_soname_odbc+:} false; then :
14095 $as_echo_n "(cached) " >&6
14096 else
14097 ac_check_soname_save_LIBS=$LIBS
14098 LIBS="-lodbc $LIBS"
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14102 /* Override any GCC internal prototype to avoid an error.
14103 Use char because int might match the return type of a GCC
14104 builtin and then its argument prototype would still apply. */
14105 #ifdef __cplusplus
14106 extern "C"
14107 #endif
14108 char SQLConnect ();
14110 main ()
14112 return SQLConnect ();
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"; then :
14118 case "$LIBEXT" in
14119 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14120 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'` ;;
14121 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14122 if ${ac_cv_lib_soname_odbc:+false} :; then :
14123 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14124 fi ;;
14125 esac
14127 rm -f core conftest.err conftest.$ac_objext \
14128 conftest$ac_exeext conftest.$ac_ext
14129 LIBS=$ac_check_soname_save_LIBS
14131 if ${ac_cv_lib_soname_odbc:+false} :; then :
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14133 $as_echo "not found" >&6; }
14134 cat >>confdefs.h <<_ACEOF
14135 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14136 _ACEOF
14138 else
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14140 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14142 cat >>confdefs.h <<_ACEOF
14143 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14144 _ACEOF
14149 if test "x$with_netapi" != "xno"
14150 then
14151 if ${NETAPI_CFLAGS:+false} :; then :
14152 if ${PKG_CONFIG+:} false; then :
14153 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14157 if ${NETAPI_LIBS:+false} :; then :
14158 if ${PKG_CONFIG+:} false; then :
14159 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14164 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14165 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14166 ac_save_CPPFLAGS=$CPPFLAGS
14167 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14169 $as_echo_n "checking for -lnetapi... " >&6; }
14170 if ${ac_cv_lib_soname_netapi+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_check_soname_save_LIBS=$LIBS
14174 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14178 /* Override any GCC internal prototype to avoid an error.
14179 Use char because int might match the return type of a GCC
14180 builtin and then its argument prototype would still apply. */
14181 #ifdef __cplusplus
14182 extern "C"
14183 #endif
14184 char libnetapi_init ();
14186 main ()
14188 return libnetapi_init ();
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"; then :
14194 case "$LIBEXT" in
14195 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14196 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'` ;;
14197 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14198 if ${ac_cv_lib_soname_netapi:+false} :; then :
14199 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14200 fi ;;
14201 esac
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_soname_save_LIBS
14207 if ${ac_cv_lib_soname_netapi:+false} :; then :
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14209 $as_echo "not found" >&6; }
14210 cat >>confdefs.h <<_ACEOF
14211 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14212 _ACEOF
14214 else
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14216 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14218 cat >>confdefs.h <<_ACEOF
14219 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14220 _ACEOF
14224 CPPFLAGS=$ac_save_CPPFLAGS
14225 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14226 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14230 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14231 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14232 then
14233 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14237 EXTRACFLAGS=""
14239 if test "x${GCC}" = "xyes"
14240 then
14241 EXTRACFLAGS="-Wall -pipe"
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14244 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14245 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 if test "$cross_compiling" = yes; then :
14249 ac_cv_c_gcc_strength_bug="no"
14250 else
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14253 int L[4] = {0,1,2,3};
14255 main ()
14257 static int Array[3];
14258 unsigned int B = 3;
14259 int i;
14260 for(i=0; i<B; i++) Array[i] = i - 3;
14261 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14262 L[i] = 4;
14263 return (Array[1] != -2 || L[2] != 3)
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_run "$LINENO"; then :
14269 ac_cv_c_gcc_strength_bug="no"
14270 else
14271 ac_cv_c_gcc_strength_bug="yes"
14273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14274 conftest.$ac_objext conftest.beam conftest.$ac_ext
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14279 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14280 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14281 then
14282 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14286 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14287 if ${ac_cv_cflags__fno_builtin+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 ac_wine_try_cflags_saved=$CFLAGS
14291 CFLAGS="$CFLAGS -fno-builtin"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 int main(int argc, char **argv) { return 0; }
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 ac_cv_cflags__fno_builtin=yes
14298 else
14299 ac_cv_cflags__fno_builtin=no
14301 rm -f core conftest.err conftest.$ac_objext \
14302 conftest$ac_exeext conftest.$ac_ext
14303 CFLAGS=$ac_wine_try_cflags_saved
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14306 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14307 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14308 BUILTINFLAG="-fno-builtin"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14312 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14313 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_wine_try_cflags_saved=$CFLAGS
14317 CFLAGS="$CFLAGS -fno-strict-aliasing"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 int main(int argc, char **argv) { return 0; }
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_cflags__fno_strict_aliasing=yes
14324 else
14325 ac_cv_cflags__fno_strict_aliasing=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 CFLAGS=$ac_wine_try_cflags_saved
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14332 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14333 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14334 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14337 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14338 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 ac_wine_try_cflags_saved=$CFLAGS
14342 CFLAGS="$CFLAGS -fexcess-precision=standard"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_cflags__fexcess_precision_standard=yes
14349 else
14350 ac_cv_cflags__fexcess_precision_standard=no
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14354 CFLAGS=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14357 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14358 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14359 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14362 saved_CFLAGS=$CFLAGS
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14364 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14365 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 ac_wine_try_cflags_saved=$CFLAGS
14369 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14372 int main(int argc, char **argv) { return 0; }
14373 _ACEOF
14374 if ac_fn_c_try_link "$LINENO"; then :
14375 ac_cv_cflags__Werror_unknown_warning_option=yes
14376 else
14377 ac_cv_cflags__Werror_unknown_warning_option=no
14379 rm -f core conftest.err conftest.$ac_objext \
14380 conftest$ac_exeext conftest.$ac_ext
14381 CFLAGS=$ac_wine_try_cflags_saved
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14384 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14385 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14386 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14389 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14390 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 ac_wine_try_cflags_saved=$CFLAGS
14394 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397 int main(int argc, char **argv) { return 0; }
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"; then :
14400 ac_cv_cflags__Wdeclaration_after_statement=yes
14401 else
14402 ac_cv_cflags__Wdeclaration_after_statement=no
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14406 CFLAGS=$ac_wine_try_cflags_saved
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14409 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14410 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14411 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14414 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14415 if ${ac_cv_cflags__Wempty_body+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 ac_wine_try_cflags_saved=$CFLAGS
14419 CFLAGS="$CFLAGS -Wempty-body"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 int main(int argc, char **argv) { return 0; }
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_cflags__Wempty_body=yes
14426 else
14427 ac_cv_cflags__Wempty_body=no
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14431 CFLAGS=$ac_wine_try_cflags_saved
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14434 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14435 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14436 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14439 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14440 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_wine_try_cflags_saved=$CFLAGS
14444 CFLAGS="$CFLAGS -Wignored-qualifiers"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 int main(int argc, char **argv) { return 0; }
14448 _ACEOF
14449 if ac_fn_c_try_link "$LINENO"; then :
14450 ac_cv_cflags__Wignored_qualifiers=yes
14451 else
14452 ac_cv_cflags__Wignored_qualifiers=no
14454 rm -f core conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 CFLAGS=$ac_wine_try_cflags_saved
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14459 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14460 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14461 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14464 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14465 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_wine_try_cflags_saved=$CFLAGS
14469 CFLAGS="$CFLAGS -Wshift-overflow=2"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 int main(int argc, char **argv) { return 0; }
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_cflags__Wshift_overflow_2=yes
14476 else
14477 ac_cv_cflags__Wshift_overflow_2=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 CFLAGS=$ac_wine_try_cflags_saved
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14484 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14485 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14486 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14489 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14490 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 ac_wine_try_cflags_saved=$CFLAGS
14494 CFLAGS="$CFLAGS -Wstrict-prototypes"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14497 int main(int argc, char **argv) { return 0; }
14498 _ACEOF
14499 if ac_fn_c_try_link "$LINENO"; then :
14500 ac_cv_cflags__Wstrict_prototypes=yes
14501 else
14502 ac_cv_cflags__Wstrict_prototypes=no
14504 rm -f core conftest.err conftest.$ac_objext \
14505 conftest$ac_exeext conftest.$ac_ext
14506 CFLAGS=$ac_wine_try_cflags_saved
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14509 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14510 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14511 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14514 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14515 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 ac_wine_try_cflags_saved=$CFLAGS
14519 CFLAGS="$CFLAGS -Wtype-limits"
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14522 int main(int argc, char **argv) { return 0; }
14523 _ACEOF
14524 if ac_fn_c_try_link "$LINENO"; then :
14525 ac_cv_cflags__Wtype_limits=yes
14526 else
14527 ac_cv_cflags__Wtype_limits=no
14529 rm -f core conftest.err conftest.$ac_objext \
14530 conftest$ac_exeext conftest.$ac_ext
14531 CFLAGS=$ac_wine_try_cflags_saved
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14534 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14535 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14536 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14539 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14540 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_wine_try_cflags_saved=$CFLAGS
14544 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 int main(int argc, char **argv) { return 0; }
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_cflags__Wunused_but_set_parameter=yes
14551 else
14552 ac_cv_cflags__Wunused_but_set_parameter=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 CFLAGS=$ac_wine_try_cflags_saved
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14559 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14560 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14561 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14564 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14565 if ${ac_cv_cflags__Wvla+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_wine_try_cflags_saved=$CFLAGS
14569 CFLAGS="$CFLAGS -Wvla"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14572 int main(int argc, char **argv) { return 0; }
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_cflags__Wvla=yes
14576 else
14577 ac_cv_cflags__Wvla=no
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext conftest.$ac_ext
14581 CFLAGS=$ac_wine_try_cflags_saved
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14584 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14585 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14586 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14589 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14590 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 ac_wine_try_cflags_saved=$CFLAGS
14594 CFLAGS="$CFLAGS -Wwrite-strings"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 int main(int argc, char **argv) { return 0; }
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"; then :
14600 ac_cv_cflags__Wwrite_strings=yes
14601 else
14602 ac_cv_cflags__Wwrite_strings=no
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 CFLAGS=$ac_wine_try_cflags_saved
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14609 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14610 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14611 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14615 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14616 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 ac_wine_try_cflags_saved=$CFLAGS
14620 CFLAGS="$CFLAGS -Wpointer-arith"
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 int main(int argc, char **argv) { return 0; }
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_cflags__Wpointer_arith=yes
14627 else
14628 ac_cv_cflags__Wpointer_arith=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 CFLAGS=$ac_wine_try_cflags_saved
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14635 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14636 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14637 saved_string_h_CFLAGS=$CFLAGS
14638 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14640 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14641 if ${ac_cv_c_string_h_warnings+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 #include <string.h>
14648 main ()
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_compile "$LINENO"; then :
14656 ac_cv_c_string_h_warnings=no
14657 else
14658 ac_cv_c_string_h_warnings=yes
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14663 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14664 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14665 CFLAGS=$saved_string_h_CFLAGS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14669 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14670 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14671 $as_echo_n "(cached) " >&6
14672 else
14673 ac_wine_try_cflags_saved=$CFLAGS
14674 CFLAGS="$CFLAGS -Wlogical-op"
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 int main(int argc, char **argv) { return 0; }
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_cflags__Wlogical_op=yes
14681 else
14682 ac_cv_cflags__Wlogical_op=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 CFLAGS=$ac_wine_try_cflags_saved
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14689 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14690 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14691 saved_string_h_CFLAGS=$CFLAGS
14692 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14694 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14695 if ${ac_cv_c_logicalop_noisy+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14700 #include <string.h>
14701 char*f(const char *h,char n) {return strchr(h,n);}
14703 main ()
14707 return 0;
14709 _ACEOF
14710 if ac_fn_c_try_compile "$LINENO"; then :
14711 ac_cv_c_logicalop_noisy=no
14712 else
14713 ac_cv_c_logicalop_noisy=yes
14715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14718 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14719 CFLAGS=$saved_string_h_CFLAGS
14720 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14723 CFLAGS=$saved_CFLAGS
14725 for ac_flag in $CFLAGS; do
14726 case $ac_flag in
14727 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14728 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14729 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 ac_wine_try_cflags_saved=$CFLAGS
14733 CFLAGS="$CFLAGS -gdwarf-2"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14736 int main(int argc, char **argv) { return 0; }
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_cflags__gdwarf_2=yes
14740 else
14741 ac_cv_cflags__gdwarf_2=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 CFLAGS=$ac_wine_try_cflags_saved
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14748 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14749 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14750 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14753 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14754 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 ac_wine_try_cflags_saved=$CFLAGS
14758 CFLAGS="$CFLAGS -gstrict-dwarf"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 int main(int argc, char **argv) { return 0; }
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_cflags__gstrict_dwarf=yes
14765 else
14766 ac_cv_cflags__gstrict_dwarf=no
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14770 CFLAGS=$ac_wine_try_cflags_saved
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14773 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14774 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14775 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14776 fi ;;
14777 esac
14778 done
14780 case $host_cpu in
14781 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14782 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14783 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14784 $as_echo_n "(cached) " >&6
14785 else
14786 ac_wine_try_cflags_saved=$CFLAGS
14787 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14790 int main(int argc, char **argv) { return 0; }
14791 _ACEOF
14792 if ac_fn_c_try_link "$LINENO"; then :
14793 ac_cv_cflags__fno_omit_frame_pointer=yes
14794 else
14795 ac_cv_cflags__fno_omit_frame_pointer=no
14797 rm -f core conftest.err conftest.$ac_objext \
14798 conftest$ac_exeext conftest.$ac_ext
14799 CFLAGS=$ac_wine_try_cflags_saved
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14802 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14803 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14804 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14805 fi ;;
14806 esac
14808 case $host in
14809 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14810 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14811 if ${ac_cv_cflags__Wno_format+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_wine_try_cflags_saved=$CFLAGS
14815 CFLAGS="$CFLAGS -Wno-format"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14818 int main(int argc, char **argv) { return 0; }
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_cflags__Wno_format=yes
14822 else
14823 ac_cv_cflags__Wno_format=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 CFLAGS=$ac_wine_try_cflags_saved
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14830 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14831 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14832 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14833 fi ;;
14834 esac
14836 if test "x$enable_maintainer_mode" = "xyes"
14837 then
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14839 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14840 if ${ac_cv_cflags__Werror+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 ac_wine_try_cflags_saved=$CFLAGS
14844 CFLAGS="$CFLAGS -Werror"
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14847 int main(int argc, char **argv) { return 0; }
14848 _ACEOF
14849 if ac_fn_c_try_link "$LINENO"; then :
14850 ac_cv_cflags__Werror=yes
14851 else
14852 ac_cv_cflags__Werror=no
14854 rm -f core conftest.err conftest.$ac_objext \
14855 conftest$ac_exeext conftest.$ac_ext
14856 CFLAGS=$ac_wine_try_cflags_saved
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14859 $as_echo "$ac_cv_cflags__Werror" >&6; }
14860 if test "x$ac_cv_cflags__Werror" = xyes; then :
14861 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14865 saved_CFLAGS="$CFLAGS"
14866 CFLAGS="$CFLAGS -Werror"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14868 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14869 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14874 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14876 main ()
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_compile "$LINENO"; then :
14884 ac_cv_have_ms_hook_prologue="yes"
14885 else
14886 ac_cv_have_ms_hook_prologue="no"
14888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14891 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14892 CFLAGS="$saved_CFLAGS"
14893 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14894 then
14896 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14898 else
14899 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14906 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14907 if ${ac_cv_c_fortify_enabled+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14912 #include <string.h>
14914 main ()
14916 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14917 #error Fortify enabled
14918 #endif
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_compile "$LINENO"; then :
14924 ac_cv_c_fortify_enabled=no
14925 else
14926 ac_cv_c_fortify_enabled=yes
14928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14931 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14932 if test "$ac_cv_c_fortify_enabled" = yes
14933 then
14934 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14939 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14940 if ${ac_cv_c_extern_prefix+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 extern int ac_test;
14947 main ()
14949 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14951 return 0;
14953 _ACEOF
14954 if ac_fn_c_try_link "$LINENO"; then :
14955 ac_cv_c_extern_prefix="yes"
14956 else
14957 ac_cv_c_extern_prefix="no"
14959 rm -f core conftest.err conftest.$ac_objext \
14960 conftest$ac_exeext conftest.$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14963 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14965 case $host_cpu in
14966 *i[3456789]86*)
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14968 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14969 if ${ac_cv_c_stdcall_suffix+:} false; then :
14970 $as_echo_n "(cached) " >&6
14971 else
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14974 #ifndef _MSC_VER
14975 #define __stdcall __attribute__((__stdcall__))
14976 #endif
14977 int __stdcall ac_test(int i) { return i; }
14979 main ()
14981 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 ac_cv_c_stdcall_suffix="yes"
14988 else
14989 ac_cv_c_stdcall_suffix="no"
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14995 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14996 *) ac_cv_c_stdcall_suffix="no" ;;
14997 esac
15000 if test "$ac_cv_c_extern_prefix" = "yes"
15001 then
15002 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15004 asm_name_prefix="_"
15005 else
15006 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15008 asm_name_prefix=""
15012 if test "$ac_cv_c_stdcall_suffix" = "yes"
15013 then
15014 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15016 else
15017 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15023 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15024 if ${ac_cv_asm_func_def+:} false; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15031 main ()
15033 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15035 return 0;
15037 _ACEOF
15038 if ac_fn_c_try_link "$LINENO"; then :
15039 ac_cv_asm_func_def=".def"
15040 else
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15045 main ()
15047 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15049 return 0;
15051 _ACEOF
15052 if ac_fn_c_try_link "$LINENO"; then :
15053 ac_cv_asm_func_def=".type @function"
15054 else
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15059 main ()
15061 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15063 return 0;
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 ac_cv_asm_func_def=".type 2"
15068 else
15069 ac_cv_asm_func_def="unknown"
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15081 $as_echo "$ac_cv_asm_func_def" >&6; }
15084 case "$ac_cv_asm_func_def" in
15085 ".def")
15086 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15088 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15089 ".type @function")
15090 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15092 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15093 ".type 2")
15094 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15096 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15098 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15100 asm_func_header="" ;;
15101 esac
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15104 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15105 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110 asm(".text\n\t.long 0");
15112 main ()
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_compile "$LINENO"; then :
15120 ac_cv_c_asm_outside_funcs="yes"
15121 else
15122 ac_cv_c_asm_outside_funcs="no"
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15127 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15130 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15131 if ${ac_cv_c_dot_previous+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15138 main ()
15140 asm(".text\nac_test:\t.long 0\n\t.previous");
15142 return 0;
15144 _ACEOF
15145 if ac_fn_c_try_link "$LINENO"; then :
15146 ac_cv_c_dot_previous="yes"
15147 else
15148 ac_cv_c_dot_previous="no"
15150 rm -f core conftest.err conftest.$ac_objext \
15151 conftest$ac_exeext conftest.$ac_ext
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15154 $as_echo "$ac_cv_c_dot_previous" >&6; }
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15157 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15158 if ${ac_cv_c_cfi_support+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15163 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15165 main ()
15169 return 0;
15171 _ACEOF
15172 if ac_fn_c_try_compile "$LINENO"; then :
15173 ac_cv_c_cfi_support="yes"
15174 else
15175 ac_cv_c_cfi_support="no"
15177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15180 $as_echo "$ac_cv_c_cfi_support" >&6; }
15182 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15183 asm_func_trailer=""
15184 if test "$ac_cv_c_dot_previous" = "yes"
15185 then
15186 asm_func_trailer="\\n\\t.previous"
15188 if test "$ac_cv_c_cfi_support" = "yes"
15189 then
15190 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15191 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15193 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15195 UNWINDFLAGS=-fasynchronous-unwind-tables
15197 else
15198 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15200 if test "x$enable_win64" = "xyes"
15201 then
15202 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15206 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15209 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15210 then
15211 cat >>confdefs.h <<_ACEOF
15212 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15213 _ACEOF
15215 else
15216 cat >>confdefs.h <<_ACEOF
15217 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15218 _ACEOF
15222 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15225 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15229 case $build_os in
15230 cygwin*|mingw32*) TOOLSEXT=".exe"
15232 esac
15234 case $host_os in
15235 linux-android*) ;;
15236 linux*)
15237 case $host_cpu in
15238 *i[3456789]86*|x86_64*)
15239 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15240 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15242 esac
15244 esac
15247 ac_save_CFLAGS="$CFLAGS"
15248 CFLAGS="$CFLAGS $BUILTINFLAG"
15249 for ac_func in \
15250 __res_get_state \
15251 __res_getservers \
15252 _finite \
15253 _isnan \
15254 _pclose \
15255 _popen \
15256 _snprintf \
15257 _spawnvp \
15258 _strdup \
15259 _stricmp \
15260 _strnicmp \
15261 _strtoi64 \
15262 _strtoui64 \
15263 _vsnprintf \
15264 asctime_r \
15265 chsize \
15266 dlopen \
15267 epoll_create \
15268 ffs \
15269 finitef \
15270 fnmatch \
15271 fork \
15272 fpclass \
15273 fstatfs \
15274 fstatvfs \
15275 ftruncate \
15276 futimens \
15277 futimes \
15278 futimesat \
15279 getattrlist \
15280 getopt_long_only \
15281 getpwuid \
15282 gettimeofday \
15283 getuid \
15284 if_nameindex \
15285 isnanf \
15286 kqueue \
15287 lstat \
15288 memmove \
15289 mmap \
15290 pclose \
15291 pipe2 \
15292 poll \
15293 popen \
15294 port_create \
15295 prctl \
15296 pread \
15297 proc_pidinfo \
15298 pwrite \
15299 readdir \
15300 readlink \
15301 sched_yield \
15302 select \
15303 setproctitle \
15304 setprogname \
15305 setrlimit \
15306 settimeofday \
15307 sigaltstack \
15308 sigprocmask \
15309 snprintf \
15310 statfs \
15311 statvfs \
15312 strcasecmp \
15313 strdup \
15314 strerror \
15315 strncasecmp \
15316 strtold \
15317 strtoll \
15318 strtoull \
15319 symlink \
15320 sysinfo \
15321 tcdrain \
15322 thr_kill2 \
15323 timegm \
15324 usleep \
15325 vsnprintf
15327 do :
15328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15331 cat >>confdefs.h <<_ACEOF
15332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15333 _ACEOF
15336 done
15338 CFLAGS="$ac_save_CFLAGS"
15340 if test "$ac_cv_func_dlopen" = no
15341 then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15344 if ${ac_cv_lib_dl_dlopen+:} false; then :
15345 $as_echo_n "(cached) " >&6
15346 else
15347 ac_check_lib_save_LIBS=$LIBS
15348 LIBS="-ldl $LIBS"
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15352 /* Override any GCC internal prototype to avoid an error.
15353 Use char because int might match the return type of a GCC
15354 builtin and then its argument prototype would still apply. */
15355 #ifdef __cplusplus
15356 extern "C"
15357 #endif
15358 char dlopen ();
15360 main ()
15362 return dlopen ();
15364 return 0;
15366 _ACEOF
15367 if ac_fn_c_try_link "$LINENO"; then :
15368 ac_cv_lib_dl_dlopen=yes
15369 else
15370 ac_cv_lib_dl_dlopen=no
15372 rm -f core conftest.err conftest.$ac_objext \
15373 conftest$ac_exeext conftest.$ac_ext
15374 LIBS=$ac_check_lib_save_LIBS
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15377 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15378 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15379 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15380 DL_LIBS="-ldl"
15385 ac_wine_check_funcs_save_LIBS="$LIBS"
15386 LIBS="$LIBS $DL_LIBS"
15387 for ac_func in dladdr
15388 do :
15389 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15390 if test "x$ac_cv_func_dladdr" = xyes; then :
15391 cat >>confdefs.h <<_ACEOF
15392 #define HAVE_DLADDR 1
15393 _ACEOF
15396 done
15398 LIBS="$ac_wine_check_funcs_save_LIBS"
15400 if test "$ac_cv_func_poll" = no
15401 then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15403 $as_echo_n "checking for poll in -lpoll... " >&6; }
15404 if ${ac_cv_lib_poll_poll+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 ac_check_lib_save_LIBS=$LIBS
15408 LIBS="-lpoll $LIBS"
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 #ifdef __cplusplus
15416 extern "C"
15417 #endif
15418 char poll ();
15420 main ()
15422 return poll ();
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 ac_cv_lib_poll_poll=yes
15429 else
15430 ac_cv_lib_poll_poll=no
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15434 LIBS=$ac_check_lib_save_LIBS
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15437 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15438 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15439 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15440 POLL_LIBS="-lpoll"
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15447 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15448 if ${ac_cv_search_gethostbyname+:} false; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 ac_func_search_save_LIBS=$LIBS
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15455 /* Override any GCC internal prototype to avoid an error.
15456 Use char because int might match the return type of a GCC
15457 builtin and then its argument prototype would still apply. */
15458 #ifdef __cplusplus
15459 extern "C"
15460 #endif
15461 char gethostbyname ();
15463 main ()
15465 return gethostbyname ();
15467 return 0;
15469 _ACEOF
15470 for ac_lib in '' nsl; do
15471 if test -z "$ac_lib"; then
15472 ac_res="none required"
15473 else
15474 ac_res=-l$ac_lib
15475 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15477 if ac_fn_c_try_link "$LINENO"; then :
15478 ac_cv_search_gethostbyname=$ac_res
15480 rm -f core conftest.err conftest.$ac_objext \
15481 conftest$ac_exeext
15482 if ${ac_cv_search_gethostbyname+:} false; then :
15483 break
15485 done
15486 if ${ac_cv_search_gethostbyname+:} false; then :
15488 else
15489 ac_cv_search_gethostbyname=no
15491 rm conftest.$ac_ext
15492 LIBS=$ac_func_search_save_LIBS
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15495 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15496 ac_res=$ac_cv_search_gethostbyname
15497 if test "$ac_res" != no; then :
15498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15504 $as_echo_n "checking for library containing connect... " >&6; }
15505 if ${ac_cv_search_connect+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 ac_func_search_save_LIBS=$LIBS
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 /* Override any GCC internal prototype to avoid an error.
15513 Use char because int might match the return type of a GCC
15514 builtin and then its argument prototype would still apply. */
15515 #ifdef __cplusplus
15516 extern "C"
15517 #endif
15518 char connect ();
15520 main ()
15522 return connect ();
15524 return 0;
15526 _ACEOF
15527 for ac_lib in '' socket; do
15528 if test -z "$ac_lib"; then
15529 ac_res="none required"
15530 else
15531 ac_res=-l$ac_lib
15532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 ac_cv_search_connect=$ac_res
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext
15539 if ${ac_cv_search_connect+:} false; then :
15540 break
15542 done
15543 if ${ac_cv_search_connect+:} false; then :
15545 else
15546 ac_cv_search_connect=no
15548 rm conftest.$ac_ext
15549 LIBS=$ac_func_search_save_LIBS
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15552 $as_echo "$ac_cv_search_connect" >&6; }
15553 ac_res=$ac_cv_search_connect
15554 if test "$ac_res" != no; then :
15555 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15561 $as_echo_n "checking for library containing inet_aton... " >&6; }
15562 if ${ac_cv_search_inet_aton+:} false; then :
15563 $as_echo_n "(cached) " >&6
15564 else
15565 ac_func_search_save_LIBS=$LIBS
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15569 /* Override any GCC internal prototype to avoid an error.
15570 Use char because int might match the return type of a GCC
15571 builtin and then its argument prototype would still apply. */
15572 #ifdef __cplusplus
15573 extern "C"
15574 #endif
15575 char inet_aton ();
15577 main ()
15579 return inet_aton ();
15581 return 0;
15583 _ACEOF
15584 for ac_lib in '' resolv; do
15585 if test -z "$ac_lib"; then
15586 ac_res="none required"
15587 else
15588 ac_res=-l$ac_lib
15589 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15591 if ac_fn_c_try_link "$LINENO"; then :
15592 ac_cv_search_inet_aton=$ac_res
15594 rm -f core conftest.err conftest.$ac_objext \
15595 conftest$ac_exeext
15596 if ${ac_cv_search_inet_aton+:} false; then :
15597 break
15599 done
15600 if ${ac_cv_search_inet_aton+:} false; then :
15602 else
15603 ac_cv_search_inet_aton=no
15605 rm conftest.$ac_ext
15606 LIBS=$ac_func_search_save_LIBS
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15609 $as_echo "$ac_cv_search_inet_aton" >&6; }
15610 ac_res=$ac_cv_search_inet_aton
15611 if test "$ac_res" != no; then :
15612 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15617 for ac_func in \
15618 getaddrinfo \
15619 getnameinfo \
15620 getnetbyname \
15621 getprotobyname \
15622 getprotobynumber \
15623 getservbyport \
15624 inet_addr \
15625 inet_network \
15626 inet_ntop \
15627 inet_pton \
15628 sendmsg \
15629 socketpair \
15631 do :
15632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15637 _ACEOF
15640 done
15643 ac_save_LIBS=$LIBS
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15645 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15646 if ${ac_cv_search_clock_gettime+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648 else
15649 ac_func_search_save_LIBS=$LIBS
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15656 #ifdef __cplusplus
15657 extern "C"
15658 #endif
15659 char clock_gettime ();
15661 main ()
15663 return clock_gettime ();
15665 return 0;
15667 _ACEOF
15668 for ac_lib in '' rt; do
15669 if test -z "$ac_lib"; then
15670 ac_res="none required"
15671 else
15672 ac_res=-l$ac_lib
15673 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15675 if ac_fn_c_try_link "$LINENO"; then :
15676 ac_cv_search_clock_gettime=$ac_res
15678 rm -f core conftest.err conftest.$ac_objext \
15679 conftest$ac_exeext
15680 if ${ac_cv_search_clock_gettime+:} false; then :
15681 break
15683 done
15684 if ${ac_cv_search_clock_gettime+:} false; then :
15686 else
15687 ac_cv_search_clock_gettime=no
15689 rm conftest.$ac_ext
15690 LIBS=$ac_func_search_save_LIBS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15693 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15694 ac_res=$ac_cv_search_clock_gettime
15695 if test "$ac_res" != no; then :
15696 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15698 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15700 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15704 LIBS=$ac_save_LIBS
15706 LDAP_LIBS=""
15708 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15709 then
15710 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15712 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15714 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15715 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15716 $as_echo_n "(cached) " >&6
15717 else
15718 ac_check_lib_save_LIBS=$LIBS
15719 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char ldap_initialize ();
15731 main ()
15733 return ldap_initialize ();
15735 return 0;
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"; then :
15739 ac_cv_lib_ldap_r_ldap_initialize=yes
15740 else
15741 ac_cv_lib_ldap_r_ldap_initialize=no
15743 rm -f core conftest.err conftest.$ac_objext \
15744 conftest$ac_exeext conftest.$ac_ext
15745 LIBS=$ac_check_lib_save_LIBS
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15748 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15749 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15751 $as_echo_n "checking for ber_init in -llber... " >&6; }
15752 if ${ac_cv_lib_lber_ber_init+:} false; then :
15753 $as_echo_n "(cached) " >&6
15754 else
15755 ac_check_lib_save_LIBS=$LIBS
15756 LIBS="-llber $PTHREAD_LIBS $LIBS"
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 #ifdef __cplusplus
15764 extern "C"
15765 #endif
15766 char ber_init ();
15768 main ()
15770 return ber_init ();
15772 return 0;
15774 _ACEOF
15775 if ac_fn_c_try_link "$LINENO"; then :
15776 ac_cv_lib_lber_ber_init=yes
15777 else
15778 ac_cv_lib_lber_ber_init=no
15780 rm -f core conftest.err conftest.$ac_objext \
15781 conftest$ac_exeext conftest.$ac_ext
15782 LIBS=$ac_check_lib_save_LIBS
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15785 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15786 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15788 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15790 LDAP_LIBS="-lldap_r -llber"
15797 ac_wine_check_funcs_save_LIBS="$LIBS"
15798 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15799 for ac_func in \
15800 ldap_count_references \
15801 ldap_first_reference \
15802 ldap_next_reference \
15803 ldap_parse_reference \
15804 ldap_parse_sort_control \
15805 ldap_parse_sortresponse_control \
15806 ldap_parse_vlv_control \
15807 ldap_parse_vlvresponse_control
15808 do :
15809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15811 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15814 _ACEOF
15817 done
15819 LIBS="$ac_wine_check_funcs_save_LIBS"
15821 if test "x$LDAP_LIBS" = "x"; then :
15822 case "x$with_ldap" in
15823 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15824 xno) ;;
15825 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15826 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15827 esac
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15832 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15833 if ${wine_cv_one_arg_mkdir+:} false; then :
15834 $as_echo_n "(cached) " >&6
15835 else
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #include <sys/stat.h>
15840 main ()
15842 mkdir("foo");
15844 return 0;
15846 _ACEOF
15847 if ac_fn_c_try_compile "$LINENO"; then :
15848 wine_cv_one_arg_mkdir=yes
15849 else
15850 wine_cv_one_arg_mkdir=no
15852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15855 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15856 if test "$wine_cv_one_arg_mkdir" = "yes"
15857 then
15859 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15864 $as_echo_n "checking for sched_setaffinity... " >&6; }
15865 if ${wine_cv_have_sched_setaffinity+:} false; then :
15866 $as_echo_n "(cached) " >&6
15867 else
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15870 #define _GNU_SOURCE
15871 #include <sched.h>
15873 main ()
15875 sched_setaffinity(0, 0, 0);
15877 return 0;
15879 _ACEOF
15880 if ac_fn_c_try_link "$LINENO"; then :
15881 wine_cv_have_sched_setaffinity=yes
15882 else
15883 wine_cv_have_sched_setaffinity=no
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15889 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15890 if test "$wine_cv_have_sched_setaffinity" = "yes"
15891 then
15893 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15898 $as_echo_n "checking for fallocate... " >&6; }
15899 if ${wine_cv_have_fallocate+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15904 #define _GNU_SOURCE
15905 #include <fcntl.h>
15907 main ()
15909 fallocate(-1, 0, 0, 0);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_link "$LINENO"; then :
15915 wine_cv_have_fallocate=yes
15916 else
15917 wine_cv_have_fallocate=no
15919 rm -f core conftest.err conftest.$ac_objext \
15920 conftest$ac_exeext conftest.$ac_ext
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15923 $as_echo "$wine_cv_have_fallocate" >&6; }
15924 if test "$wine_cv_have_fallocate" = "yes"
15925 then
15927 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15933 $as_echo_n "checking for inline... " >&6; }
15934 if ${ac_cv_c_inline+:} false; then :
15935 $as_echo_n "(cached) " >&6
15936 else
15937 ac_cv_c_inline=no
15938 for ac_kw in inline __inline__ __inline; do
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941 #ifndef __cplusplus
15942 typedef int foo_t;
15943 static $ac_kw foo_t static_foo () {return 0; }
15944 $ac_kw foo_t foo () {return 0; }
15945 #endif
15947 _ACEOF
15948 if ac_fn_c_try_compile "$LINENO"; then :
15949 ac_cv_c_inline=$ac_kw
15951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15952 test "$ac_cv_c_inline" != no && break
15953 done
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15957 $as_echo "$ac_cv_c_inline" >&6; }
15959 case $ac_cv_c_inline in
15960 inline | yes) ;;
15962 case $ac_cv_c_inline in
15963 no) ac_val=;;
15964 *) ac_val=$ac_cv_c_inline;;
15965 esac
15966 cat >>confdefs.h <<_ACEOF
15967 #ifndef __cplusplus
15968 #define inline $ac_val
15969 #endif
15970 _ACEOF
15972 esac
15974 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_mode_t" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_MODE_T 1
15979 _ACEOF
15983 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15984 if test "x$ac_cv_type_off_t" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_OFF_T 1
15988 _ACEOF
15992 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15993 if test "x$ac_cv_type_pid_t" = xyes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define HAVE_PID_T 1
15997 _ACEOF
16001 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16002 if test "x$ac_cv_type_size_t" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_SIZE_T 1
16006 _ACEOF
16010 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16011 if test "x$ac_cv_type_ssize_t" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_SSIZE_T 1
16015 _ACEOF
16019 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16020 if test "x$ac_cv_type_long_long" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_LONG_LONG 1
16024 _ACEOF
16028 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16029 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_FSBLKCNT_T 1
16033 _ACEOF
16037 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16038 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_FSFILCNT_T 1
16042 _ACEOF
16047 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16048 #include <signal.h>
16050 if test "x$ac_cv_type_sigset_t" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_SIGSET_T 1
16054 _ACEOF
16059 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16061 if test "x$ac_cv_type_request_sense" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_REQUEST_SENSE 1
16065 _ACEOF
16071 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16072 #ifdef HAVE_SYS_SOCKET_H
16073 #include <sys/socket.h>
16074 #endif
16075 #ifdef HAVE_SYS_SOCKETVAR_H
16076 #include <sys/socketvar.h>
16077 #endif
16078 #ifdef HAVE_NET_ROUTE_H
16079 #include <net/route.h>
16080 #endif
16081 #ifdef HAVE_NETINET_IN_H
16082 #include <netinet/in.h>
16083 #endif
16084 #ifdef HAVE_NETINET_IN_SYSTM_H
16085 #include <netinet/in_systm.h>
16086 #endif
16087 #ifdef HAVE_NETINET_IP_H
16088 #include <netinet/ip.h>
16089 #endif
16090 #ifdef HAVE_NETINET_IN_PCB_H
16091 #include <netinet/in_pcb.h>
16092 #endif
16094 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_STRUCT_XINPGEN 1
16098 _ACEOF
16104 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16105 #include <link.h>
16106 #endif
16107 #ifdef HAVE_SYS_LINK_H
16108 #include <sys/link.h>
16109 #endif
16111 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_R_DEBUG 1
16115 _ACEOF
16119 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16120 #include <link.h>
16121 #endif
16122 #ifdef HAVE_SYS_LINK_H
16123 #include <sys/link.h>
16124 #endif
16126 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_LINK_MAP 1
16130 _ACEOF
16136 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16137 #include <linux/input.h>
16138 #endif
16140 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16144 _ACEOF
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16151 $as_echo_n "checking for sigaddset... " >&6; }
16152 if ${wine_cv_have_sigaddset+:} false; then :
16153 $as_echo_n "(cached) " >&6
16154 else
16155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16156 /* end confdefs.h. */
16157 #include <signal.h>
16159 main ()
16161 sigset_t set; sigaddset(&set,SIGTERM);
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 wine_cv_have_sigaddset=yes
16168 else
16169 wine_cv_have_sigaddset=no
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16175 $as_echo "$wine_cv_have_sigaddset" >&6; }
16176 if test "$wine_cv_have_sigaddset" = "yes"
16177 then
16179 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16185 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16186 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #include <netdb.h>
16193 main ()
16196 char *name=0;
16197 struct hostent he;
16198 struct hostent *result;
16199 char *buf=0;
16200 int bufsize=0;
16201 int errnr;
16202 char *addr=0;
16203 int addrlen=0;
16204 int addrtype=0;
16205 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16206 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16209 return 0;
16211 _ACEOF
16212 if ac_fn_c_try_link "$LINENO"; then :
16213 wine_cv_linux_gethostbyname_r_6=yes
16214 else
16215 wine_cv_linux_gethostbyname_r_6=no
16218 rm -f core conftest.err conftest.$ac_objext \
16219 conftest$ac_exeext conftest.$ac_ext
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16223 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16224 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16225 then
16227 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16231 if test "$ac_cv_header_linux_joystick_h" = "yes"
16232 then
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16234 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16235 if ${wine_cv_linux_joystick_22_api+:} false; then :
16236 $as_echo_n "(cached) " >&6
16237 else
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16241 #include <sys/ioctl.h>
16242 #include <sys/types.h>
16243 #include <linux/joystick.h>
16245 struct js_event blub;
16246 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16247 #error "no 2.2 header"
16248 #endif
16251 main ()
16253 /*empty*/
16255 return 0;
16257 _ACEOF
16258 if ac_fn_c_try_compile "$LINENO"; then :
16259 wine_cv_linux_joystick_22_api=yes
16260 else
16261 wine_cv_linux_joystick_22_api=no
16263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16267 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16268 if test "$wine_cv_linux_joystick_22_api" = "yes"
16269 then
16271 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16277 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16278 #ifdef HAVE_SYS_PARAM_H
16279 # include <sys/param.h>
16280 #endif
16281 #ifdef HAVE_SYS_MOUNT_H
16282 # include <sys/mount.h>
16283 #endif
16284 #ifdef HAVE_SYS_VFS_H
16285 # include <sys/vfs.h>
16286 #endif
16287 #ifdef HAVE_SYS_STATFS_H
16288 # include <sys/statfs.h>
16289 #endif
16291 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_STRUCT_STATFS_F_BFREE 1
16295 _ACEOF
16299 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16300 #ifdef HAVE_SYS_PARAM_H
16301 # include <sys/param.h>
16302 #endif
16303 #ifdef HAVE_SYS_MOUNT_H
16304 # include <sys/mount.h>
16305 #endif
16306 #ifdef HAVE_SYS_VFS_H
16307 # include <sys/vfs.h>
16308 #endif
16309 #ifdef HAVE_SYS_STATFS_H
16310 # include <sys/statfs.h>
16311 #endif
16313 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16317 _ACEOF
16321 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16322 #ifdef HAVE_SYS_PARAM_H
16323 # include <sys/param.h>
16324 #endif
16325 #ifdef HAVE_SYS_MOUNT_H
16326 # include <sys/mount.h>
16327 #endif
16328 #ifdef HAVE_SYS_VFS_H
16329 # include <sys/vfs.h>
16330 #endif
16331 #ifdef HAVE_SYS_STATFS_H
16332 # include <sys/statfs.h>
16333 #endif
16335 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16339 _ACEOF
16343 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16344 #ifdef HAVE_SYS_PARAM_H
16345 # include <sys/param.h>
16346 #endif
16347 #ifdef HAVE_SYS_MOUNT_H
16348 # include <sys/mount.h>
16349 #endif
16350 #ifdef HAVE_SYS_VFS_H
16351 # include <sys/vfs.h>
16352 #endif
16353 #ifdef HAVE_SYS_STATFS_H
16354 # include <sys/statfs.h>
16355 #endif
16357 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_STATFS_F_FFREE 1
16361 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16366 #ifdef HAVE_SYS_PARAM_H
16367 # include <sys/param.h>
16368 #endif
16369 #ifdef HAVE_SYS_MOUNT_H
16370 # include <sys/mount.h>
16371 #endif
16372 #ifdef HAVE_SYS_VFS_H
16373 # include <sys/vfs.h>
16374 #endif
16375 #ifdef HAVE_SYS_STATFS_H
16376 # include <sys/statfs.h>
16377 #endif
16379 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16381 cat >>confdefs.h <<_ACEOF
16382 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16383 _ACEOF
16387 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16388 #ifdef HAVE_SYS_PARAM_H
16389 # include <sys/param.h>
16390 #endif
16391 #ifdef HAVE_SYS_MOUNT_H
16392 # include <sys/mount.h>
16393 #endif
16394 #ifdef HAVE_SYS_VFS_H
16395 # include <sys/vfs.h>
16396 #endif
16397 #ifdef HAVE_SYS_STATFS_H
16398 # include <sys/statfs.h>
16399 #endif
16401 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16405 _ACEOF
16411 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16412 #include <sys/statvfs.h>
16413 #endif
16415 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16419 _ACEOF
16425 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16426 #include <dirent.h>
16427 #endif
16429 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16431 cat >>confdefs.h <<_ACEOF
16432 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16433 _ACEOF
16439 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16440 #ifdef HAVE_SYS_SOCKET_H
16441 # include <sys/socket.h>
16442 #endif
16443 #ifdef HAVE_SYS_UN_H
16444 # include <sys/un.h>
16445 #endif
16447 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16451 _ACEOF
16455 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16456 #ifdef HAVE_SYS_SOCKET_H
16457 # include <sys/socket.h>
16458 #endif
16459 #ifdef HAVE_SYS_UN_H
16460 # include <sys/un.h>
16461 #endif
16463 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16467 _ACEOF
16471 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16472 #ifdef HAVE_SYS_SOCKET_H
16473 # include <sys/socket.h>
16474 #endif
16475 #ifdef HAVE_SYS_UN_H
16476 # include <sys/un.h>
16477 #endif
16479 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16481 cat >>confdefs.h <<_ACEOF
16482 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16483 _ACEOF
16489 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16490 #ifdef HAVE_SCSI_SG_H
16491 #include <scsi/sg.h>
16492 #endif
16494 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_SCSIREQ_T_CMD 1
16498 _ACEOF
16502 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>
16503 #ifdef HAVE_SCSI_SG_H
16504 #include <scsi/sg.h>
16505 #endif
16507 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16511 _ACEOF
16517 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16519 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_SIGINFO_T_SI_FD 1
16523 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16530 #ifdef HAVE_SYS_MTIO_H
16531 #include <sys/mtio.h>
16532 #endif
16534 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16538 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16543 #ifdef HAVE_SYS_MTIO_H
16544 #include <sys/mtio.h>
16545 #endif
16547 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16551 _ACEOF
16555 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16556 #ifdef HAVE_SYS_MTIO_H
16557 #include <sys/mtio.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16571 #include <getopt.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_OPTION_NAME 1
16578 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16585 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16589 _ACEOF
16593 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16594 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_STAT_ST_MTIM 1
16598 _ACEOF
16602 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16603 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16607 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_STAT_ST_CTIM 1
16616 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16625 _ACEOF
16629 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16630 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_STAT_ST_ATIM 1
16634 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16639 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16643 _ACEOF
16647 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16648 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16652 _ACEOF
16656 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16657 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16661 _ACEOF
16665 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16666 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16670 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16675 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16679 _ACEOF
16683 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16684 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16688 _ACEOF
16694 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
16695 #include <sys/types.h>
16696 #endif
16697 #ifdef HAVE_NETINET_IN_H
16698 #include <netinet/in.h>
16699 #endif
16701 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16705 _ACEOF
16711 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16712 #include <resolv.h>
16713 #endif
16715 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_STRUCT___RES_STATE 1
16719 _ACEOF
16725 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
16726 #include <resolv.h>
16727 #endif
16729 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16733 _ACEOF
16739 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16740 #include <sys/types.h>
16741 #endif
16742 #ifdef HAVE_NETINET_IN_H
16743 # include <netinet/in.h>
16744 #endif
16745 #ifdef HAVE_ARPA_NAMESER_H
16746 # include <arpa/nameser.h>
16747 #endif
16749 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_NS_MSG__MSG_PTR 1
16753 _ACEOF
16759 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16760 #include <sys/types.h>
16761 #endif
16762 #ifdef HAVE_NETINET_IP_H
16763 #include <netinet/ip.h>
16764 #endif
16765 #ifdef HAVE_NETINET_IP_ICMP_H
16766 #include <netinet/ip_icmp.h>
16767 #endif
16768 #ifdef HAVE_NETINET_ICMP_VAR_H
16769 #include <netinet/icmp_var.h>
16770 #endif
16772 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16774 cat >>confdefs.h <<_ACEOF
16775 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16776 _ACEOF
16782 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16783 #include <sys/types.h>
16784 #endif
16785 #ifdef HAVE_ALIAS_H
16786 #include <alias.h>
16787 #endif
16788 #ifdef HAVE_SYS_SOCKET_H
16789 #include <sys/socket.h>
16790 #endif
16791 #ifdef HAVE_SYS_SOCKETVAR_H
16792 #include <sys/socketvar.h>
16793 #endif
16794 #ifdef HAVE_SYS_TIMEOUT_H
16795 #include <sys/timeout.h>
16796 #endif
16797 #ifdef HAVE_NETINET_IN_H
16798 #include <netinet/in.h>
16799 #endif
16800 #ifdef HAVE_NETINET_IN_SYSTM_H
16801 #include <netinet/in_systm.h>
16802 #endif
16803 #ifdef HAVE_NETINET_IP_H
16804 #include <netinet/ip.h>
16805 #endif
16806 #ifdef HAVE_NETINET_IP_VAR_H
16807 #include <netinet/ip_var.h>
16808 #endif
16809 #ifdef HAVE_NETINET_IP_ICMP_H
16810 #include <netinet/ip_icmp.h>
16811 #endif
16812 #ifdef HAVE_NETINET_ICMP_VAR_H
16813 #include <netinet/icmp_var.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16820 _ACEOF
16826 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16827 #include <sys/types.h>
16828 #endif
16829 #ifdef HAVE_SYS_SOCKETVAR_H
16830 #include <sys/socketvar.h>
16831 #endif
16832 #ifdef HAVE_NETINET_IN_H
16833 #include <netinet/in.h>
16834 #endif
16835 #ifdef HAVE_NETINET_IP_VAR_H
16836 #include <netinet/ip_var.h>
16837 #endif
16839 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16841 cat >>confdefs.h <<_ACEOF
16842 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16843 _ACEOF
16849 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
16850 #include <netinet/ip_var.h>
16851 #endif
16853 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16855 cat >>confdefs.h <<_ACEOF
16856 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16857 _ACEOF
16863 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16864 #include <sys/types.h>
16865 #endif
16866 #ifdef HAVE_SYS_SOCKETVAR_H
16867 #include <sys/socketvar.h>
16868 #endif
16869 #ifdef HAVE_NETINET_IN_H
16870 #include <netinet/in.h>
16871 #endif
16872 #ifdef HAVE_NETINET_TCP_H
16873 #include <netinet/tcp.h>
16874 #endif
16875 #ifdef HAVE_NETINET_TCP_VAR_H
16876 #include <netinet/tcp_var.h>
16877 #endif
16879 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16881 cat >>confdefs.h <<_ACEOF
16882 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16883 _ACEOF
16889 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
16890 #include <netinet/tcp_var.h>
16891 #endif
16893 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16895 cat >>confdefs.h <<_ACEOF
16896 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16897 _ACEOF
16903 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16904 #include <sys/types.h>
16905 #endif
16906 #ifdef HAVE_NETINET_IN_H
16907 #include <netinet/in.h>
16908 #endif
16909 #ifdef HAVE_NETINET_IP_VAR_H
16910 #include <netinet/ip_var.h>
16911 #endif
16912 #ifdef HAVE_NETINET_UDP_H
16913 #include <netinet/udp.h>
16914 #endif
16915 #ifdef HAVE_NETINET_UDP_VAR_H
16916 #include <netinet/udp_var.h>
16917 #endif
16919 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16921 cat >>confdefs.h <<_ACEOF
16922 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16923 _ACEOF
16929 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16930 #include <sys/types.h>
16931 #endif
16932 #ifdef HAVE_NET_IF_H
16933 # include <net/if.h>
16934 #endif
16936 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16938 cat >>confdefs.h <<_ACEOF
16939 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16940 _ACEOF
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16947 $as_echo_n "checking for timezone variable... " >&6; }
16948 if ${ac_cv_have_timezone+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16953 #include <time.h>
16955 main ()
16957 timezone = 1
16959 return 0;
16961 _ACEOF
16962 if ac_fn_c_try_link "$LINENO"; then :
16963 ac_cv_have_timezone="yes"
16964 else
16965 ac_cv_have_timezone="no"
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16971 $as_echo "$ac_cv_have_timezone" >&6; }
16972 if test "$ac_cv_have_timezone" = "yes"
16973 then
16975 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16979 $as_echo_n "checking for daylight variable... " >&6; }
16980 if ${ac_cv_have_daylight+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <time.h>
16987 main ()
16989 daylight = 1
16991 return 0;
16993 _ACEOF
16994 if ac_fn_c_try_link "$LINENO"; then :
16995 ac_cv_have_daylight="yes"
16996 else
16997 ac_cv_have_daylight="no"
16999 rm -f core conftest.err conftest.$ac_objext \
17000 conftest$ac_exeext conftest.$ac_ext
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17003 $as_echo "$ac_cv_have_daylight" >&6; }
17004 if test "$ac_cv_have_daylight" = "yes"
17005 then
17007 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17011 ac_save_LIBS="$LIBS"
17012 LIBS="$LIBS -lm"
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17014 $as_echo_n "checking for isfinite... " >&6; }
17015 if ${ac_cv_have_isfinite+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17020 #define _GNU_SOURCE
17021 #include <math.h>
17023 main ()
17025 float f = 0.0; return isfinite(f)
17027 return 0;
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_have_isfinite="yes"
17032 else
17033 ac_cv_have_isfinite="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_isfinite" >&5
17039 $as_echo "$ac_cv_have_isfinite" >&6; }
17040 if test "$ac_cv_have_isfinite" = "yes"
17041 then
17043 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17048 $as_echo_n "checking for isinf... " >&6; }
17049 if ${ac_cv_have_isinf+:} 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 isinf(f)
17060 return 0;
17062 _ACEOF
17063 if ac_fn_c_try_link "$LINENO"; then :
17064 ac_cv_have_isinf="yes"
17065 else
17066 ac_cv_have_isinf="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_isinf" >&5
17072 $as_echo "$ac_cv_have_isinf" >&6; }
17073 if test "$ac_cv_have_isinf" = "yes"
17074 then
17076 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17081 $as_echo_n "checking for isnan... " >&6; }
17082 if ${ac_cv_have_isnan+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <math.h>
17089 main ()
17091 float f = 0.0; return isnan(f)
17093 return 0;
17095 _ACEOF
17096 if ac_fn_c_try_link "$LINENO"; then :
17097 ac_cv_have_isnan="yes"
17098 else
17099 ac_cv_have_isnan="no"
17101 rm -f core conftest.err conftest.$ac_objext \
17102 conftest$ac_exeext conftest.$ac_ext
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17105 $as_echo "$ac_cv_have_isnan" >&6; }
17106 if test "$ac_cv_have_isnan" = "yes"
17107 then
17109 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17113 for ac_func in \
17114 asinh \
17115 asinhf \
17116 cbrt \
17117 cbrtf \
17118 erf \
17119 erff \
17120 exp2 \
17121 exp2f \
17122 lgamma \
17123 lgammaf \
17124 llrint \
17125 llrintf \
17126 llround \
17127 llroundf \
17128 log2 \
17129 log2f \
17130 lrint \
17131 lrintf \
17132 lround \
17133 lroundf \
17134 nearbyint \
17135 nearbyintf \
17136 powl \
17137 remainder \
17138 remainderf \
17139 rint \
17140 rintf \
17141 round \
17142 roundf \
17143 trunc \
17144 truncf
17146 do :
17147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17150 cat >>confdefs.h <<_ACEOF
17151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17152 _ACEOF
17155 done
17157 LIBS="$ac_save_LIBS"
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17160 $as_echo_n "checking for __builtin_clz... " >&6; }
17161 if ${ac_cv_have___builtin_clz+:} false; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17168 main ()
17170 return __builtin_clz(1)
17172 return 0;
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_have___builtin_clz="yes"
17177 else
17178 ac_cv_have___builtin_clz="no"
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17184 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17185 if test "$ac_cv_have___builtin_clz" = "yes"
17186 then
17188 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17193 $as_echo_n "checking for __builtin_popcount... " >&6; }
17194 if ${ac_cv_have___builtin_popcount+:} false; then :
17195 $as_echo_n "(cached) " >&6
17196 else
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17201 main ()
17203 return __builtin_popcount(1)
17205 return 0;
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 ac_cv_have___builtin_popcount="yes"
17210 else
17211 ac_cv_have___builtin_popcount="no"
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17217 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17218 if test "$ac_cv_have___builtin_popcount" = "yes"
17219 then
17221 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17226 case $host_cpu in
17227 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17228 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17229 if ${ac_cv_cpp_def___i386__+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 #ifndef __i386__
17236 #endif
17237 _ACEOF
17238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17239 $EGREP "yes" >/dev/null 2>&1; then :
17240 ac_cv_cpp_def___i386__=yes
17241 else
17242 ac_cv_cpp_def___i386__=no
17244 rm -f conftest*
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17248 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17249 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17250 CFLAGS="$CFLAGS -D__i386__"
17251 LINTFLAGS="$LINTFLAGS -D__i386__"
17252 fi ;;
17253 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17254 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17255 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 #ifndef __x86_64__
17262 #endif
17263 _ACEOF
17264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17265 $EGREP "yes" >/dev/null 2>&1; then :
17266 ac_cv_cpp_def___x86_64__=yes
17267 else
17268 ac_cv_cpp_def___x86_64__=no
17270 rm -f conftest*
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17274 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17275 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17276 CFLAGS="$CFLAGS -D__x86_64__"
17277 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17278 fi ;;
17279 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17280 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17281 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17286 #ifndef __sparc64__
17288 #endif
17289 _ACEOF
17290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17291 $EGREP "yes" >/dev/null 2>&1; then :
17292 ac_cv_cpp_def___sparc64__=yes
17293 else
17294 ac_cv_cpp_def___sparc64__=no
17296 rm -f conftest*
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17300 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17301 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17302 CFLAGS="$CFLAGS -D__sparc64__"
17303 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17304 fi ;;
17305 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17306 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17307 if ${ac_cv_cpp_def___sparc__+:} false; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 #ifndef __sparc__
17314 #endif
17315 _ACEOF
17316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17317 $EGREP "yes" >/dev/null 2>&1; then :
17318 ac_cv_cpp_def___sparc__=yes
17319 else
17320 ac_cv_cpp_def___sparc__=no
17322 rm -f conftest*
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17326 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17327 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17328 CFLAGS="$CFLAGS -D__sparc__"
17329 LINTFLAGS="$LINTFLAGS -D__sparc__"
17330 fi ;;
17331 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17332 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17333 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17334 $as_echo_n "(cached) " >&6
17335 else
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 #ifndef __powerpc64__
17340 #endif
17341 _ACEOF
17342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17343 $EGREP "yes" >/dev/null 2>&1; then :
17344 ac_cv_cpp_def___powerpc64__=yes
17345 else
17346 ac_cv_cpp_def___powerpc64__=no
17348 rm -f conftest*
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17352 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17353 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17354 CFLAGS="$CFLAGS -D__powerpc64__"
17355 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17356 fi ;;
17357 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17358 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17359 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #ifndef __powerpc__
17366 #endif
17367 _ACEOF
17368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17369 $EGREP "yes" >/dev/null 2>&1; then :
17370 ac_cv_cpp_def___powerpc__=yes
17371 else
17372 ac_cv_cpp_def___powerpc__=no
17374 rm -f conftest*
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17378 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17379 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17380 CFLAGS="$CFLAGS -D__powerpc__"
17381 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17382 fi ;;
17383 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17384 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17385 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17390 #ifndef __aarch64__
17392 #endif
17393 _ACEOF
17394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17395 $EGREP "yes" >/dev/null 2>&1; then :
17396 ac_cv_cpp_def___aarch64__=yes
17397 else
17398 ac_cv_cpp_def___aarch64__=no
17400 rm -f conftest*
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17404 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17405 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17406 CFLAGS="$CFLAGS -D__aarch64__"
17407 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17408 fi ;;
17409 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17410 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17411 if ${ac_cv_cpp_def___arm__+:} false; then :
17412 $as_echo_n "(cached) " >&6
17413 else
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 #ifndef __arm__
17418 #endif
17419 _ACEOF
17420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17421 $EGREP "yes" >/dev/null 2>&1; then :
17422 ac_cv_cpp_def___arm__=yes
17423 else
17424 ac_cv_cpp_def___arm__=no
17426 rm -f conftest*
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17430 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17431 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17432 CFLAGS="$CFLAGS -D__arm__"
17433 LINTFLAGS="$LINTFLAGS -D__arm__"
17434 fi ;;
17435 esac
17437 case $host_vendor in
17438 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17439 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17440 if ${ac_cv_cpp_def___sun__+:} false; then :
17441 $as_echo_n "(cached) " >&6
17442 else
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17445 #ifndef __sun__
17447 #endif
17448 _ACEOF
17449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17450 $EGREP "yes" >/dev/null 2>&1; then :
17451 ac_cv_cpp_def___sun__=yes
17452 else
17453 ac_cv_cpp_def___sun__=no
17455 rm -f conftest*
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17459 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17460 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17461 CFLAGS="$CFLAGS -D__sun__"
17462 LINTFLAGS="$LINTFLAGS -D__sun__"
17463 fi ;;
17464 esac
17470 ac_config_commands="$ac_config_commands include/stamp-h"
17472 $as_echo_n "creating Makefile rules..." >&6
17474 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17475 SOCKET_LIBS = $SOCKET_LIBS
17476 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17477 IOKIT_LIBS = $IOKIT_LIBS
17478 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17479 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17480 CORESERVICES_LIBS = $CORESERVICES_LIBS
17481 APPKIT_LIBS = $APPKIT_LIBS
17482 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17483 SECURITY_LIBS = $SECURITY_LIBS
17484 COREAUDIO_LIBS = $COREAUDIO_LIBS
17485 OPENAL_LIBS = $OPENAL_LIBS
17486 OPENCL_LIBS = $OPENCL_LIBS
17487 QUICKTIME_LIBS = $QUICKTIME_LIBS
17488 CARBON_LIBS = $CARBON_LIBS
17489 PTHREAD_LIBS = $PTHREAD_LIBS
17490 X_CFLAGS = $X_CFLAGS
17491 X_PRE_LIBS = $X_PRE_LIBS
17492 X_LIBS = $X_LIBS
17493 X_EXTRA_LIBS = $X_EXTRA_LIBS
17494 PCAP_LIBS = $PCAP_LIBS
17495 XML2_CFLAGS = $XML2_CFLAGS
17496 XML2_LIBS = $XML2_LIBS
17497 XSLT_CFLAGS = $XSLT_CFLAGS
17498 XSLT_LIBS = $XSLT_LIBS
17499 DBUS_CFLAGS = $DBUS_CFLAGS
17500 DBUS_LIBS = $DBUS_LIBS
17501 HAL_CFLAGS = $HAL_CFLAGS
17502 HAL_LIBS = $HAL_LIBS
17503 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17504 GNUTLS_LIBS = $GNUTLS_LIBS
17505 SANE_CFLAGS = $SANE_CFLAGS
17506 SANE_LIBS = $SANE_LIBS
17507 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17508 GPHOTO2_LIBS = $GPHOTO2_LIBS
17509 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17510 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17511 RESOLV_LIBS = $RESOLV_LIBS
17512 LCMS2_CFLAGS = $LCMS2_CFLAGS
17513 LCMS2_LIBS = $LCMS2_LIBS
17514 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17515 FREETYPE_LIBS = $FREETYPE_LIBS
17516 Z_LIBS = $Z_LIBS
17517 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17518 PULSE_CFLAGS = $PULSE_CFLAGS
17519 PULSE_LIBS = $PULSE_LIBS
17520 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17521 GSTREAMER_LIBS = $GSTREAMER_LIBS
17522 ALSA_LIBS = $ALSA_LIBS
17523 OSS4_CFLAGS = $OSS4_CFLAGS
17524 UDEV_CFLAGS = $UDEV_CFLAGS
17525 UDEV_LIBS = $UDEV_LIBS
17526 CAPI20_CFLAGS = $CAPI20_CFLAGS
17527 CAPI20_LIBS = $CAPI20_LIBS
17528 CUPS_CFLAGS = $CUPS_CFLAGS
17529 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17530 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17531 JPEG_CFLAGS = $JPEG_CFLAGS
17532 JPEG_LIBS = $JPEG_LIBS
17533 PNG_CFLAGS = $PNG_CFLAGS
17534 PNG_LIBS = $PNG_LIBS
17535 TIFF_CFLAGS = $TIFF_CFLAGS
17536 TIFF_LIBS = $TIFF_LIBS
17537 MPG123_CFLAGS = $MPG123_CFLAGS
17538 MPG123_LIBS = $MPG123_LIBS
17539 KSTAT_LIBS = $KSTAT_LIBS
17540 PROCSTAT_LIBS = $PROCSTAT_LIBS
17541 NETAPI_CFLAGS = $NETAPI_CFLAGS
17542 NETAPI_LIBS = $NETAPI_LIBS
17543 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17544 DL_LIBS = $DL_LIBS
17545 POLL_LIBS = $POLL_LIBS
17546 RT_LIBS = $RT_LIBS
17547 LDAP_LIBS = $LDAP_LIBS
17552 wine_fn_append_rule "
17553 # Rules automatically generated by configure
17555 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17557 .INIT: Makefile
17558 .MAKEFILEDEPS:
17559 all: Makefile
17560 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17561 @./config.status Make.tmp Makefile
17562 depend: \$(MAKEDEP) dummy
17563 \$(MAKEDEP)"
17565 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17566 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17568 if test "x$enable_fonts" != xno; then
17569 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17570 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17571 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17572 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17573 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17574 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17576 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17577 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17578 ac_config_links="$ac_config_links wine:tools/winewrapper"
17579 wine_fn_config_symlink wine
17580 if test "x$enable_win64" != xno; then
17581 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17582 wine_fn_config_symlink wine64
17585 wine_fn_config_dll acledit enable_acledit
17586 wine_fn_config_dll aclui enable_aclui implib
17587 wine_fn_config_dll activeds enable_activeds implib
17588 wine_fn_config_dll actxprxy enable_actxprxy clean
17589 wine_fn_config_lib adsiid
17590 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17591 wine_fn_config_test dlls/advapi32/tests advapi32_test
17592 wine_fn_config_dll advpack enable_advpack implib
17593 wine_fn_config_test dlls/advpack/tests advpack_test
17594 wine_fn_config_dll amstream enable_amstream clean
17595 wine_fn_config_test dlls/amstream/tests amstream_test
17596 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17597 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17608 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17610 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17612 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17617 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17619 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17621 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17622 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17623 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17624 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17627 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17634 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17636 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17637 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17639 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17641 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17644 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17645 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17651 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17652 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17655 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17659 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17661 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17663 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17664 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17672 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17677 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17681 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17683 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17684 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17686 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17697 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17698 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17704 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17705 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17706 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17709 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17710 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17711 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17712 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17713 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17714 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17715 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17716 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17717 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17718 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17719 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17720 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17721 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17722 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17723 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17724 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17725 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17726 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17727 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17728 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17729 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17730 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17731 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17732 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17733 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17734 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17735 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17736 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17737 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17738 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17739 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17740 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17741 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17742 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17743 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17744 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17745 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17746 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17747 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17748 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17749 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17750 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17751 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17752 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17753 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17754 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17755 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17756 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17757 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17758 wine_fn_config_dll apphelp enable_apphelp
17759 wine_fn_config_test dlls/apphelp/tests apphelp_test
17760 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17761 wine_fn_config_dll atl enable_atl clean,implib
17762 wine_fn_config_test dlls/atl/tests atl_test
17763 wine_fn_config_dll atl100 enable_atl100 clean,implib
17764 wine_fn_config_test dlls/atl100/tests atl100_test
17765 wine_fn_config_dll atl110 enable_atl110 clean
17766 wine_fn_config_dll atl80 enable_atl80 clean,implib
17767 wine_fn_config_test dlls/atl80/tests atl80_test
17768 wine_fn_config_dll atl90 enable_atl90 clean
17769 wine_fn_config_dll authz enable_authz
17770 wine_fn_config_dll avicap32 enable_avicap32 implib
17771 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17772 wine_fn_config_test dlls/avifil32/tests avifil32_test
17773 wine_fn_config_dll avifile.dll16 enable_win16
17774 wine_fn_config_dll avrt enable_avrt implib
17775 wine_fn_config_dll bcrypt enable_bcrypt implib
17776 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17777 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17778 wine_fn_config_dll browseui enable_browseui clean
17779 wine_fn_config_test dlls/browseui/tests browseui_test
17780 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17781 wine_fn_config_dll cabinet enable_cabinet implib
17782 wine_fn_config_test dlls/cabinet/tests cabinet_test
17783 wine_fn_config_dll capi2032 enable_capi2032 implib
17784 wine_fn_config_dll cards enable_cards implib
17785 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17786 wine_fn_config_dll clusapi enable_clusapi implib
17787 wine_fn_config_dll combase enable_combase
17788 wine_fn_config_test dlls/combase/tests combase_test
17789 wine_fn_config_dll comcat enable_comcat
17790 wine_fn_config_test dlls/comcat/tests comcat_test
17791 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17792 wine_fn_config_test dlls/comctl32/tests comctl32_test
17793 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17794 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17795 wine_fn_config_dll comm.drv16 enable_win16
17796 wine_fn_config_dll commdlg.dll16 enable_win16
17797 wine_fn_config_dll compobj.dll16 enable_win16
17798 wine_fn_config_dll compstui enable_compstui implib
17799 wine_fn_config_dll comsvcs enable_comsvcs implib
17800 wine_fn_config_dll concrt140 enable_concrt140
17801 wine_fn_config_dll connect enable_connect
17802 wine_fn_config_dll credui enable_credui clean,implib
17803 wine_fn_config_test dlls/credui/tests credui_test
17804 wine_fn_config_dll crtdll enable_crtdll
17805 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17806 wine_fn_config_test dlls/crypt32/tests crypt32_test
17807 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17808 wine_fn_config_dll cryptdll enable_cryptdll implib
17809 wine_fn_config_dll cryptext enable_cryptext
17810 wine_fn_config_dll cryptnet enable_cryptnet implib
17811 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17812 wine_fn_config_dll cryptui enable_cryptui clean,implib
17813 wine_fn_config_test dlls/cryptui/tests cryptui_test
17814 wine_fn_config_dll ctapi32 enable_ctapi32
17815 wine_fn_config_dll ctl3d.dll16 enable_win16
17816 wine_fn_config_dll ctl3d32 enable_ctl3d32
17817 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17818 wine_fn_config_dll d2d1 enable_d2d1 implib
17819 wine_fn_config_test dlls/d2d1/tests d2d1_test
17820 wine_fn_config_dll d3d10 enable_d3d10 implib
17821 wine_fn_config_test dlls/d3d10/tests d3d10_test
17822 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17823 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17824 wine_fn_config_dll d3d10core enable_d3d10core implib
17825 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17826 wine_fn_config_dll d3d11 enable_d3d11 implib
17827 wine_fn_config_test dlls/d3d11/tests d3d11_test
17828 wine_fn_config_dll d3d8 enable_d3d8 implib
17829 wine_fn_config_test dlls/d3d8/tests d3d8_test
17830 wine_fn_config_dll d3d9 enable_d3d9 implib
17831 wine_fn_config_test dlls/d3d9/tests d3d9_test
17832 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17833 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17834 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17835 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17836 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17837 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17838 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17839 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17840 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17841 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17842 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17843 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17844 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17845 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17846 wine_fn_config_dll d3dim enable_d3dim
17847 wine_fn_config_dll d3drm enable_d3drm implib
17848 wine_fn_config_test dlls/d3drm/tests d3drm_test
17849 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17850 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17851 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17852 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17853 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17854 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17855 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17856 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17857 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17858 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17859 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17860 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17861 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17862 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17863 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17864 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17865 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17866 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17867 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17868 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17869 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17870 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17871 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17872 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17873 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17874 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17875 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17876 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17877 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17878 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17879 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17880 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17881 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17882 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17883 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17884 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17885 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17886 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17887 wine_fn_config_dll davclnt enable_davclnt
17888 wine_fn_config_dll dbgeng enable_dbgeng implib
17889 wine_fn_config_dll dbghelp enable_dbghelp implib
17890 wine_fn_config_dll dciman32 enable_dciman32 implib
17891 wine_fn_config_dll ddeml.dll16 enable_win16
17892 wine_fn_config_dll ddraw enable_ddraw clean,implib
17893 wine_fn_config_test dlls/ddraw/tests ddraw_test
17894 wine_fn_config_dll ddrawex enable_ddrawex clean
17895 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17896 wine_fn_config_dll devenum enable_devenum clean
17897 wine_fn_config_test dlls/devenum/tests devenum_test
17898 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17899 wine_fn_config_dll difxapi enable_difxapi
17900 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17901 wine_fn_config_test dlls/dinput/tests dinput_test
17902 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17903 wine_fn_config_test dlls/dinput8/tests dinput8_test
17904 wine_fn_config_dll dispdib.dll16 enable_win16
17905 wine_fn_config_dll dispex enable_dispex clean
17906 wine_fn_config_test dlls/dispex/tests dispex_test
17907 wine_fn_config_dll display.drv16 enable_win16
17908 wine_fn_config_dll dmband enable_dmband clean
17909 wine_fn_config_test dlls/dmband/tests dmband_test
17910 wine_fn_config_dll dmcompos enable_dmcompos clean
17911 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17912 wine_fn_config_dll dmime enable_dmime clean
17913 wine_fn_config_test dlls/dmime/tests dmime_test
17914 wine_fn_config_dll dmloader enable_dmloader clean
17915 wine_fn_config_test dlls/dmloader/tests dmloader_test
17916 wine_fn_config_dll dmscript enable_dmscript clean
17917 wine_fn_config_test dlls/dmscript/tests dmscript_test
17918 wine_fn_config_dll dmstyle enable_dmstyle clean
17919 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17920 wine_fn_config_dll dmsynth enable_dmsynth clean
17921 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17922 wine_fn_config_dll dmusic enable_dmusic clean
17923 wine_fn_config_test dlls/dmusic/tests dmusic_test
17924 wine_fn_config_dll dmusic32 enable_dmusic32
17925 wine_fn_config_dll dnsapi enable_dnsapi implib
17926 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17927 wine_fn_config_dll dplay enable_dplay
17928 wine_fn_config_dll dplayx enable_dplayx clean,implib
17929 wine_fn_config_test dlls/dplayx/tests dplayx_test
17930 wine_fn_config_dll dpnaddr enable_dpnaddr
17931 wine_fn_config_dll dpnet enable_dpnet clean,implib
17932 wine_fn_config_test dlls/dpnet/tests dpnet_test
17933 wine_fn_config_dll dpnhpast enable_dpnhpast
17934 wine_fn_config_dll dpnlobby enable_dpnlobby
17935 wine_fn_config_dll dpvoice enable_dpvoice clean
17936 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17937 wine_fn_config_dll dpwsockx enable_dpwsockx
17938 wine_fn_config_dll drmclien enable_drmclien
17939 wine_fn_config_dll dsound enable_dsound clean,implib
17940 wine_fn_config_test dlls/dsound/tests dsound_test
17941 wine_fn_config_dll dssenh enable_dssenh
17942 wine_fn_config_test dlls/dssenh/tests dssenh_test
17943 wine_fn_config_dll dswave enable_dswave clean
17944 wine_fn_config_test dlls/dswave/tests dswave_test
17945 wine_fn_config_dll dwmapi enable_dwmapi implib
17946 wine_fn_config_dll dwrite enable_dwrite implib
17947 wine_fn_config_test dlls/dwrite/tests dwrite_test
17948 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17949 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17950 wine_fn_config_lib dxerr8
17951 wine_fn_config_lib dxerr9
17952 wine_fn_config_dll dxgi enable_dxgi implib
17953 wine_fn_config_test dlls/dxgi/tests dxgi_test
17954 wine_fn_config_lib dxguid
17955 wine_fn_config_dll dxva2 enable_dxva2
17956 wine_fn_config_dll esent enable_esent
17957 wine_fn_config_dll evr enable_evr
17958 wine_fn_config_dll explorerframe enable_explorerframe clean
17959 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17960 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17961 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17962 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17963 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17964 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17965 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17966 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17967 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17968 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17969 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17970 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17971 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17972 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17973 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17974 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
17975 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17976 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17977 wine_fn_config_dll faultrep enable_faultrep implib
17978 wine_fn_config_test dlls/faultrep/tests faultrep_test
17979 wine_fn_config_dll fltlib enable_fltlib
17980 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17981 wine_fn_config_dll fntcache enable_fntcache
17982 wine_fn_config_dll fontsub enable_fontsub
17983 wine_fn_config_dll fusion enable_fusion
17984 wine_fn_config_test dlls/fusion/tests fusion_test
17985 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17986 wine_fn_config_dll gameux enable_gameux clean
17987 wine_fn_config_test dlls/gameux/tests gameux_test
17988 wine_fn_config_dll gdi.exe16 enable_win16
17989 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17990 wine_fn_config_test dlls/gdi32/tests gdi32_test
17991 wine_fn_config_dll gdiplus enable_gdiplus implib
17992 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17993 wine_fn_config_dll glu32 enable_glu32 implib
17994 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17995 wine_fn_config_dll gpkcsp enable_gpkcsp
17996 wine_fn_config_dll hal enable_hal
17997 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17998 wine_fn_config_dll hid enable_hid implib
17999 wine_fn_config_test dlls/hid/tests hid_test
18000 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18001 wine_fn_config_dll hlink enable_hlink clean,implib
18002 wine_fn_config_test dlls/hlink/tests hlink_test
18003 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18004 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18005 wine_fn_config_dll httpapi enable_httpapi
18006 wine_fn_config_dll iccvid enable_iccvid clean
18007 wine_fn_config_dll icmp enable_icmp
18008 wine_fn_config_dll ieframe enable_ieframe clean,implib
18009 wine_fn_config_test dlls/ieframe/tests ieframe_test
18010 wine_fn_config_dll ifsmgr.vxd enable_win16
18011 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18012 wine_fn_config_dll imagehlp enable_imagehlp implib
18013 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18014 wine_fn_config_dll imm.dll16 enable_win16
18015 wine_fn_config_dll imm32 enable_imm32 implib
18016 wine_fn_config_test dlls/imm32/tests imm32_test
18017 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18018 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18019 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18020 wine_fn_config_dll inetmib1 enable_inetmib1
18021 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18022 wine_fn_config_dll infosoft enable_infosoft clean
18023 wine_fn_config_test dlls/infosoft/tests infosoft_test
18024 wine_fn_config_dll initpki enable_initpki
18025 wine_fn_config_dll inkobj enable_inkobj
18026 wine_fn_config_dll inseng enable_inseng clean
18027 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18028 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18029 wine_fn_config_dll iprop enable_iprop
18030 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18031 wine_fn_config_dll itircl enable_itircl
18032 wine_fn_config_dll itss enable_itss clean
18033 wine_fn_config_test dlls/itss/tests itss_test
18034 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18035 wine_fn_config_dll jscript enable_jscript clean
18036 wine_fn_config_test dlls/jscript/tests jscript_test
18037 wine_fn_config_dll jsproxy enable_jsproxy implib
18038 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18039 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18040 wine_fn_config_test dlls/kernel32/tests kernel32_test
18041 wine_fn_config_dll kernelbase enable_kernelbase
18042 wine_fn_config_dll keyboard.drv16 enable_win16
18043 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18044 wine_fn_config_dll ksuser enable_ksuser
18045 wine_fn_config_dll ktmw32 enable_ktmw32
18046 wine_fn_config_dll loadperf enable_loadperf implib
18047 wine_fn_config_dll localspl enable_localspl clean
18048 wine_fn_config_test dlls/localspl/tests localspl_test
18049 wine_fn_config_dll localui enable_localui clean
18050 wine_fn_config_test dlls/localui/tests localui_test
18051 wine_fn_config_dll lz32 enable_lz32 implib
18052 wine_fn_config_test dlls/lz32/tests lz32_test
18053 wine_fn_config_dll lzexpand.dll16 enable_win16
18054 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18055 wine_fn_config_test dlls/mapi32/tests mapi32_test
18056 wine_fn_config_dll mapistub enable_mapistub
18057 wine_fn_config_dll mciavi32 enable_mciavi32
18058 wine_fn_config_dll mcicda enable_mcicda
18059 wine_fn_config_dll mciqtz32 enable_mciqtz32
18060 wine_fn_config_dll mciseq enable_mciseq
18061 wine_fn_config_dll mciwave enable_mciwave
18062 wine_fn_config_dll mf enable_mf
18063 wine_fn_config_dll mf3216 enable_mf3216
18064 wine_fn_config_dll mfplat enable_mfplat
18065 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18066 wine_fn_config_dll mgmtapi enable_mgmtapi
18067 wine_fn_config_dll midimap enable_midimap
18068 wine_fn_config_dll mlang enable_mlang clean,implib
18069 wine_fn_config_test dlls/mlang/tests mlang_test
18070 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18071 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18072 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18073 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18074 wine_fn_config_dll mmdevldr.vxd enable_win16
18075 wine_fn_config_dll mmsystem.dll16 enable_win16
18076 wine_fn_config_dll monodebg.vxd enable_win16
18077 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18078 wine_fn_config_dll mouse.drv16 enable_win16
18079 wine_fn_config_dll mpr enable_mpr clean,implib
18080 wine_fn_config_test dlls/mpr/tests mpr_test
18081 wine_fn_config_dll mprapi enable_mprapi implib
18082 wine_fn_config_dll msacm.dll16 enable_win16
18083 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18084 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18085 wine_fn_config_test dlls/msacm32/tests msacm32_test
18086 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18087 wine_fn_config_dll msasn1 enable_msasn1 implib
18088 wine_fn_config_dll mscat32 enable_mscat32
18089 wine_fn_config_dll mscms enable_mscms implib
18090 wine_fn_config_test dlls/mscms/tests mscms_test
18091 wine_fn_config_dll mscoree enable_mscoree clean
18092 wine_fn_config_test dlls/mscoree/tests mscoree_test
18093 wine_fn_config_dll msctf enable_msctf clean
18094 wine_fn_config_test dlls/msctf/tests msctf_test
18095 wine_fn_config_dll msctfp enable_msctfp clean
18096 wine_fn_config_dll msdaps enable_msdaps clean
18097 wine_fn_config_dll msdelta enable_msdelta
18098 wine_fn_config_dll msdmo enable_msdmo implib
18099 wine_fn_config_test dlls/msdmo/tests msdmo_test
18100 wine_fn_config_dll msdrm enable_msdrm
18101 wine_fn_config_dll msftedit enable_msftedit
18102 wine_fn_config_dll msg711.acm enable_msg711_acm
18103 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18104 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18105 wine_fn_config_dll mshtml enable_mshtml clean,implib
18106 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18107 wine_fn_config_dll msi enable_msi clean,implib
18108 wine_fn_config_test dlls/msi/tests msi_test
18109 wine_fn_config_dll msident enable_msident clean
18110 wine_fn_config_dll msimg32 enable_msimg32 implib
18111 wine_fn_config_dll msimsg enable_msimsg
18112 wine_fn_config_dll msimtf enable_msimtf clean
18113 wine_fn_config_dll msisip enable_msisip
18114 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18115 wine_fn_config_dll msls31 enable_msls31
18116 wine_fn_config_dll msnet32 enable_msnet32
18117 wine_fn_config_dll mspatcha enable_mspatcha implib
18118 wine_fn_config_dll msports enable_msports
18119 wine_fn_config_dll msrle32 enable_msrle32 clean
18120 wine_fn_config_test dlls/msrle32/tests msrle32_test
18121 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18122 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18123 wine_fn_config_dll mssign32 enable_mssign32
18124 wine_fn_config_dll mssip32 enable_mssip32
18125 wine_fn_config_dll mstask enable_mstask clean
18126 wine_fn_config_test dlls/mstask/tests mstask_test
18127 wine_fn_config_dll msvcirt enable_msvcirt
18128 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18129 wine_fn_config_dll msvcm80 enable_msvcm80
18130 wine_fn_config_dll msvcm90 enable_msvcm90
18131 wine_fn_config_dll msvcp100 enable_msvcp100
18132 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18133 wine_fn_config_dll msvcp110 enable_msvcp110
18134 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18135 wine_fn_config_dll msvcp120 enable_msvcp120
18136 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18137 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18138 wine_fn_config_dll msvcp140 enable_msvcp140
18139 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18140 wine_fn_config_dll msvcp60 enable_msvcp60
18141 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18142 wine_fn_config_dll msvcp70 enable_msvcp70
18143 wine_fn_config_dll msvcp71 enable_msvcp71
18144 wine_fn_config_dll msvcp80 enable_msvcp80
18145 wine_fn_config_dll msvcp90 enable_msvcp90
18146 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18147 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18148 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18149 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18150 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18151 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18152 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18153 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18154 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18155 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18156 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18157 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18158 wine_fn_config_dll msvcrt enable_msvcrt implib
18159 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18160 wine_fn_config_dll msvcrt20 enable_msvcrt20
18161 wine_fn_config_dll msvcrt40 enable_msvcrt40
18162 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18163 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18164 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18165 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18166 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18167 wine_fn_config_dll msvideo.dll16 enable_win16
18168 wine_fn_config_dll mswsock enable_mswsock implib
18169 wine_fn_config_dll msxml enable_msxml clean
18170 wine_fn_config_dll msxml2 enable_msxml2 clean
18171 wine_fn_config_dll msxml3 enable_msxml3 clean
18172 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18173 wine_fn_config_dll msxml4 enable_msxml4 clean
18174 wine_fn_config_dll msxml6 enable_msxml6 clean
18175 wine_fn_config_dll ncrypt enable_ncrypt
18176 wine_fn_config_dll nddeapi enable_nddeapi implib
18177 wine_fn_config_dll ndis.sys enable_ndis_sys
18178 wine_fn_config_dll netapi32 enable_netapi32 implib
18179 wine_fn_config_test dlls/netapi32/tests netapi32_test
18180 wine_fn_config_dll netcfgx enable_netcfgx clean
18181 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18182 wine_fn_config_dll netprofm enable_netprofm clean
18183 wine_fn_config_test dlls/netprofm/tests netprofm_test
18184 wine_fn_config_dll newdev enable_newdev implib
18185 wine_fn_config_dll normaliz enable_normaliz implib
18186 wine_fn_config_dll npmshtml enable_npmshtml
18187 wine_fn_config_dll npptools enable_npptools
18188 wine_fn_config_dll ntdll enable_ntdll implib
18189 wine_fn_config_test dlls/ntdll/tests ntdll_test
18190 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18191 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18192 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18193 wine_fn_config_dll ntprint enable_ntprint
18194 wine_fn_config_test dlls/ntprint/tests ntprint_test
18195 wine_fn_config_dll objsel enable_objsel clean
18196 wine_fn_config_dll odbc32 enable_odbc32 implib
18197 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18198 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18199 wine_fn_config_dll odbccu32 enable_odbccu32
18200 wine_fn_config_dll ole2.dll16 enable_win16
18201 wine_fn_config_dll ole2conv.dll16 enable_win16
18202 wine_fn_config_dll ole2disp.dll16 enable_win16
18203 wine_fn_config_dll ole2nls.dll16 enable_win16
18204 wine_fn_config_dll ole2prox.dll16 enable_win16
18205 wine_fn_config_dll ole2thk.dll16 enable_win16
18206 wine_fn_config_dll ole32 enable_ole32 clean,implib
18207 wine_fn_config_test dlls/ole32/tests ole32_test
18208 wine_fn_config_dll oleacc enable_oleacc clean,implib
18209 wine_fn_config_test dlls/oleacc/tests oleacc_test
18210 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18211 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18212 wine_fn_config_dll olecli.dll16 enable_win16
18213 wine_fn_config_dll olecli32 enable_olecli32 implib
18214 wine_fn_config_dll oledb32 enable_oledb32 clean
18215 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18216 wine_fn_config_dll oledlg enable_oledlg clean,implib
18217 wine_fn_config_test dlls/oledlg/tests oledlg_test
18218 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18219 wine_fn_config_dll olesvr.dll16 enable_win16
18220 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18221 wine_fn_config_dll olethk32 enable_olethk32
18222 wine_fn_config_dll openal32 enable_openal32
18223 wine_fn_config_dll opencl enable_opencl
18224 wine_fn_config_dll opengl32 enable_opengl32 implib
18225 wine_fn_config_test dlls/opengl32/tests opengl32_test
18226 wine_fn_config_dll packager enable_packager clean
18227 wine_fn_config_test dlls/packager/tests packager_test
18228 wine_fn_config_dll pdh enable_pdh implib
18229 wine_fn_config_test dlls/pdh/tests pdh_test
18230 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18231 wine_fn_config_dll pidgen enable_pidgen
18232 wine_fn_config_dll powrprof enable_powrprof implib
18233 wine_fn_config_dll printui enable_printui
18234 wine_fn_config_dll prntvpt enable_prntvpt
18235 wine_fn_config_dll propsys enable_propsys clean,implib
18236 wine_fn_config_test dlls/propsys/tests propsys_test
18237 wine_fn_config_dll psapi enable_psapi implib
18238 wine_fn_config_test dlls/psapi/tests psapi_test
18239 wine_fn_config_dll pstorec enable_pstorec clean
18240 wine_fn_config_dll qcap enable_qcap
18241 wine_fn_config_test dlls/qcap/tests qcap_test
18242 wine_fn_config_dll qedit enable_qedit clean
18243 wine_fn_config_test dlls/qedit/tests qedit_test
18244 wine_fn_config_dll qmgr enable_qmgr clean
18245 wine_fn_config_test dlls/qmgr/tests qmgr_test
18246 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18247 wine_fn_config_dll quartz enable_quartz clean,implib
18248 wine_fn_config_test dlls/quartz/tests quartz_test clean
18249 wine_fn_config_dll query enable_query
18250 wine_fn_config_dll rasapi16.dll16 enable_win16
18251 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18252 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18253 wine_fn_config_dll rasdlg enable_rasdlg implib
18254 wine_fn_config_dll regapi enable_regapi
18255 wine_fn_config_dll resutils enable_resutils implib
18256 wine_fn_config_dll riched20 enable_riched20 clean,implib
18257 wine_fn_config_test dlls/riched20/tests riched20_test
18258 wine_fn_config_dll riched32 enable_riched32
18259 wine_fn_config_test dlls/riched32/tests riched32_test
18260 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18261 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18262 wine_fn_config_dll rsabase enable_rsabase
18263 wine_fn_config_dll rsaenh enable_rsaenh implib
18264 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18265 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18266 wine_fn_config_dll rtutils enable_rtutils implib
18267 wine_fn_config_dll samlib enable_samlib
18268 wine_fn_config_dll sane.ds enable_sane_ds clean
18269 wine_fn_config_dll scarddlg enable_scarddlg
18270 wine_fn_config_dll sccbase enable_sccbase
18271 wine_fn_config_dll schannel enable_schannel
18272 wine_fn_config_test dlls/schannel/tests schannel_test
18273 wine_fn_config_dll schedsvc enable_schedsvc clean
18274 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18275 wine_fn_config_dll scrrun enable_scrrun clean
18276 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18277 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18278 wine_fn_config_dll secur32 enable_secur32 implib
18279 wine_fn_config_test dlls/secur32/tests secur32_test
18280 wine_fn_config_dll security enable_security
18281 wine_fn_config_dll sensapi enable_sensapi implib
18282 wine_fn_config_dll serialui enable_serialui clean
18283 wine_fn_config_test dlls/serialui/tests serialui_test
18284 wine_fn_config_dll setupapi enable_setupapi clean,implib
18285 wine_fn_config_test dlls/setupapi/tests setupapi_test
18286 wine_fn_config_dll setupx.dll16 enable_win16
18287 wine_fn_config_dll sfc enable_sfc implib
18288 wine_fn_config_dll sfc_os enable_sfc_os implib
18289 wine_fn_config_dll shdoclc enable_shdoclc clean
18290 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18291 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18292 wine_fn_config_dll shell.dll16 enable_win16
18293 wine_fn_config_dll shell32 enable_shell32 clean,implib
18294 wine_fn_config_test dlls/shell32/tests shell32_test
18295 wine_fn_config_dll shfolder enable_shfolder implib
18296 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18297 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18298 wine_fn_config_dll slbcsp enable_slbcsp
18299 wine_fn_config_dll slc enable_slc implib
18300 wine_fn_config_test dlls/slc/tests slc_test
18301 wine_fn_config_dll snmpapi enable_snmpapi implib
18302 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18303 wine_fn_config_dll softpub enable_softpub
18304 wine_fn_config_dll sound.drv16 enable_win16
18305 wine_fn_config_dll spoolss enable_spoolss implib
18306 wine_fn_config_test dlls/spoolss/tests spoolss_test
18307 wine_fn_config_dll sspicli enable_sspicli
18308 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18309 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18310 wine_fn_config_dll sti enable_sti clean,implib
18311 wine_fn_config_test dlls/sti/tests sti_test
18312 wine_fn_config_dll storage.dll16 enable_win16
18313 wine_fn_config_dll stress.dll16 enable_win16
18314 wine_fn_config_lib strmbase
18315 wine_fn_config_lib strmiids
18316 wine_fn_config_dll svrapi enable_svrapi
18317 wine_fn_config_dll sxs enable_sxs implib
18318 wine_fn_config_test dlls/sxs/tests sxs_test
18319 wine_fn_config_dll system.drv16 enable_win16
18320 wine_fn_config_dll t2embed enable_t2embed implib
18321 wine_fn_config_test dlls/t2embed/tests t2embed_test
18322 wine_fn_config_dll tapi32 enable_tapi32 implib
18323 wine_fn_config_dll taskschd enable_taskschd clean
18324 wine_fn_config_test dlls/taskschd/tests taskschd_test
18325 wine_fn_config_dll tdi.sys enable_tdi_sys
18326 wine_fn_config_dll toolhelp.dll16 enable_win16
18327 wine_fn_config_dll traffic enable_traffic
18328 wine_fn_config_dll twain.dll16 enable_win16
18329 wine_fn_config_dll twain_32 enable_twain_32
18330 wine_fn_config_test dlls/twain_32/tests twain_32_test
18331 wine_fn_config_dll typelib.dll16 enable_win16
18332 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18333 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18334 wine_fn_config_dll unicows enable_unicows implib
18335 wine_fn_config_dll updspapi enable_updspapi
18336 wine_fn_config_dll url enable_url implib
18337 wine_fn_config_dll urlmon enable_urlmon clean,implib
18338 wine_fn_config_test dlls/urlmon/tests urlmon_test
18339 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18340 wine_fn_config_dll user.exe16 enable_win16
18341 wine_fn_config_dll user32 enable_user32 clean,implib
18342 wine_fn_config_test dlls/user32/tests user32_test
18343 wine_fn_config_dll userenv enable_userenv implib
18344 wine_fn_config_test dlls/userenv/tests userenv_test
18345 wine_fn_config_dll usp10 enable_usp10 implib
18346 wine_fn_config_test dlls/usp10/tests usp10_test
18347 wine_fn_config_lib uuid
18348 wine_fn_config_dll uxtheme enable_uxtheme implib
18349 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18350 wine_fn_config_dll vbscript enable_vbscript clean
18351 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18352 wine_fn_config_dll vcomp enable_vcomp
18353 wine_fn_config_test dlls/vcomp/tests vcomp_test
18354 wine_fn_config_dll vcomp100 enable_vcomp100
18355 wine_fn_config_dll vcomp110 enable_vcomp110
18356 wine_fn_config_dll vcomp120 enable_vcomp120
18357 wine_fn_config_dll vcomp140 enable_vcomp140
18358 wine_fn_config_dll vcomp90 enable_vcomp90
18359 wine_fn_config_dll vcruntime140 enable_vcruntime140
18360 wine_fn_config_dll vdhcp.vxd enable_win16
18361 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18362 wine_fn_config_dll ver.dll16 enable_win16
18363 wine_fn_config_dll version enable_version implib
18364 wine_fn_config_test dlls/version/tests version_test
18365 wine_fn_config_dll vmm.vxd enable_win16
18366 wine_fn_config_dll vnbt.vxd enable_win16
18367 wine_fn_config_dll vnetbios.vxd enable_win16
18368 wine_fn_config_dll vssapi enable_vssapi
18369 wine_fn_config_dll vtdapi.vxd enable_win16
18370 wine_fn_config_dll vwin32.vxd enable_win16
18371 wine_fn_config_dll w32skrnl enable_win16
18372 wine_fn_config_dll w32sys.dll16 enable_win16
18373 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18374 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18375 wine_fn_config_dll wbemprox enable_wbemprox clean
18376 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18377 wine_fn_config_dll webservices enable_webservices implib
18378 wine_fn_config_test dlls/webservices/tests webservices_test
18379 wine_fn_config_dll wer enable_wer implib
18380 wine_fn_config_test dlls/wer/tests wer_test
18381 wine_fn_config_dll wevtapi enable_wevtapi
18382 wine_fn_config_dll wiaservc enable_wiaservc clean
18383 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18384 wine_fn_config_dll wimgapi enable_wimgapi
18385 wine_fn_config_dll win32s16.dll16 enable_win16
18386 wine_fn_config_dll win87em.dll16 enable_win16
18387 wine_fn_config_dll winaspi.dll16 enable_win16
18388 wine_fn_config_dll windebug.dll16 enable_win16
18389 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18390 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18391 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18392 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18393 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18394 wine_fn_config_dll winebus.sys enable_winebus_sys
18395 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18396 wine_fn_config_lib winecrt0
18397 wine_fn_config_dll wined3d enable_wined3d implib
18398 wine_fn_config_dll winegstreamer enable_winegstreamer
18399 wine_fn_config_dll winehid.sys enable_winehid_sys
18400 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18401 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18402 wine_fn_config_dll winemapi enable_winemapi
18403 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18404 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18405 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18406 wine_fn_config_dll wineps16.drv16 enable_win16
18407 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18408 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18409 wine_fn_config_dll winex11.drv enable_winex11_drv
18410 wine_fn_config_dll wing.dll16 enable_win16
18411 wine_fn_config_dll wing32 enable_wing32
18412 wine_fn_config_dll winhttp enable_winhttp clean,implib
18413 wine_fn_config_test dlls/winhttp/tests winhttp_test
18414 wine_fn_config_dll wininet enable_wininet clean,implib
18415 wine_fn_config_test dlls/wininet/tests wininet_test
18416 wine_fn_config_dll winmm enable_winmm clean,implib
18417 wine_fn_config_test dlls/winmm/tests winmm_test
18418 wine_fn_config_dll winnls.dll16 enable_win16
18419 wine_fn_config_dll winnls32 enable_winnls32 implib
18420 wine_fn_config_dll winscard enable_winscard implib
18421 wine_fn_config_dll winsock.dll16 enable_win16
18422 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18423 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18424 wine_fn_config_dll winsta enable_winsta
18425 wine_fn_config_dll wintab.dll16 enable_win16
18426 wine_fn_config_dll wintab32 enable_wintab32 implib
18427 wine_fn_config_test dlls/wintab32/tests wintab32_test
18428 wine_fn_config_dll wintrust enable_wintrust implib
18429 wine_fn_config_test dlls/wintrust/tests wintrust_test
18430 wine_fn_config_dll wlanapi enable_wlanapi
18431 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18432 wine_fn_config_test dlls/wldap32/tests wldap32_test
18433 wine_fn_config_dll wmasf enable_wmasf
18434 wine_fn_config_dll wmi enable_wmi
18435 wine_fn_config_dll wmiutils enable_wmiutils clean
18436 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18437 wine_fn_config_dll wmp enable_wmp clean
18438 wine_fn_config_test dlls/wmp/tests wmp_test
18439 wine_fn_config_dll wmvcore enable_wmvcore
18440 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18441 wine_fn_config_dll wow32 enable_win16 implib
18442 wine_fn_config_dll wpc enable_wpc clean
18443 wine_fn_config_test dlls/wpc/tests wpc_test
18444 wine_fn_config_dll wpcap enable_wpcap
18445 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18446 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18447 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18448 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18449 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18450 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18451 wine_fn_config_dll wsock32 enable_wsock32 implib
18452 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18453 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18454 wine_fn_config_dll wuapi enable_wuapi clean
18455 wine_fn_config_dll wuaueng enable_wuaueng
18456 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18457 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18458 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18459 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18460 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18461 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18462 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18463 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18464 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18465 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18466 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18467 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18468 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18469 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18470 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18471 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18472 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18473 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18474 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18475 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18476 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18477 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18478 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18479 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18480 wine_fn_config_dll xinput1_1 enable_xinput1_1
18481 wine_fn_config_dll xinput1_2 enable_xinput1_2
18482 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18483 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18484 wine_fn_config_dll xinput1_4 enable_xinput1_4
18485 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18486 wine_fn_config_dll xmllite enable_xmllite implib
18487 wine_fn_config_test dlls/xmllite/tests xmllite_test
18488 wine_fn_config_dll xolehlp enable_xolehlp
18489 wine_fn_config_dll xpsprint enable_xpsprint
18490 wine_fn_config_dll xpssvcs enable_xpssvcs
18491 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18492 wine_fn_config_makefile include enable_include clean,install-dev
18493 wine_fn_config_makefile libs/port enable_libs_port
18494 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18495 wine_fn_config_makefile libs/wpp enable_libs_wpp
18496 wine_fn_config_makefile loader enable_loader clean,install-lib
18497 wine_fn_config_makefile po enable_po clean
18498 wine_fn_config_program arp enable_arp install
18499 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18500 wine_fn_config_program attrib enable_attrib clean,install
18501 wine_fn_config_program cabarc enable_cabarc install
18502 wine_fn_config_program cacls enable_cacls install
18503 wine_fn_config_program clock enable_clock clean,install
18504 wine_fn_config_program cmd enable_cmd clean,install
18505 wine_fn_config_test programs/cmd/tests cmd.exe_test
18506 wine_fn_config_program conhost enable_conhost install
18507 wine_fn_config_program control enable_control install
18508 wine_fn_config_program cscript enable_cscript clean,install
18509 wine_fn_config_program dpnsvr enable_dpnsvr install
18510 wine_fn_config_program dxdiag enable_dxdiag clean,install
18511 wine_fn_config_program eject enable_eject install
18512 wine_fn_config_program expand enable_expand install
18513 wine_fn_config_program explorer enable_explorer clean,install
18514 wine_fn_config_program extrac32 enable_extrac32 install
18515 wine_fn_config_program findstr enable_findstr install
18516 wine_fn_config_program fsutil enable_fsutil install
18517 wine_fn_config_program hh enable_hh install
18518 wine_fn_config_program hostname enable_hostname clean,install
18519 wine_fn_config_program icacls enable_icacls install
18520 wine_fn_config_program icinfo enable_icinfo install
18521 wine_fn_config_program iexplore enable_iexplore install
18522 wine_fn_config_program ipconfig enable_ipconfig clean,install
18523 wine_fn_config_program lodctr enable_lodctr install
18524 wine_fn_config_program mofcomp enable_mofcomp install
18525 wine_fn_config_program mshta enable_mshta install
18526 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18527 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18528 wine_fn_config_program net enable_net clean,install
18529 wine_fn_config_program netsh enable_netsh install
18530 wine_fn_config_program netstat enable_netstat clean,install
18531 wine_fn_config_program ngen enable_ngen install
18532 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18533 wine_fn_config_program oleview enable_oleview clean,install
18534 wine_fn_config_program ping enable_ping install
18535 wine_fn_config_program plugplay enable_plugplay install
18536 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18537 wine_fn_config_program progman enable_progman clean,install
18538 wine_fn_config_program reg enable_reg clean,install
18539 wine_fn_config_test programs/reg/tests reg.exe_test
18540 wine_fn_config_program regasm enable_regasm install
18541 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18542 wine_fn_config_test programs/regedit/tests regedit.exe_test
18543 wine_fn_config_program regsvcs enable_regsvcs install
18544 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18545 wine_fn_config_program rpcss enable_rpcss clean,install
18546 wine_fn_config_program rundll.exe16 enable_win16 install
18547 wine_fn_config_program rundll32 enable_rundll32 install
18548 wine_fn_config_program sc enable_sc install
18549 wine_fn_config_program schtasks enable_schtasks install
18550 wine_fn_config_program sdbinst enable_sdbinst install
18551 wine_fn_config_program secedit enable_secedit install
18552 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18553 wine_fn_config_program services enable_services clean,install
18554 wine_fn_config_test programs/services/tests services.exe_test
18555 wine_fn_config_program shutdown enable_shutdown install
18556 wine_fn_config_program spoolsv enable_spoolsv install
18557 wine_fn_config_program start enable_start clean,install
18558 wine_fn_config_program subst enable_subst install
18559 wine_fn_config_program svchost enable_svchost install
18560 wine_fn_config_program systeminfo enable_systeminfo install
18561 wine_fn_config_program taskkill enable_taskkill clean,install
18562 wine_fn_config_program tasklist enable_tasklist install
18563 wine_fn_config_program taskmgr enable_taskmgr clean,install
18564 wine_fn_config_program termsv enable_termsv install
18565 wine_fn_config_program uninstaller enable_uninstaller clean,install
18566 wine_fn_config_program unlodctr enable_unlodctr install
18567 wine_fn_config_program view enable_view clean,install
18568 wine_fn_config_program wevtutil enable_wevtutil install
18569 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18570 wine_fn_config_program winebrowser enable_winebrowser install
18571 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18572 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18573 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18574 wine_fn_config_program winedevice enable_winedevice install
18575 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18576 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18577 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18578 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18579 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18580 wine_fn_config_program winetest enable_winetest clean
18581 wine_fn_config_program winevdm enable_win16 install
18582 wine_fn_config_program winhelp.exe16 enable_win16 install
18583 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18584 wine_fn_config_program winoldap.mod16 enable_win16 install
18585 wine_fn_config_program winver enable_winver install
18586 wine_fn_config_program wmic enable_wmic clean,install
18587 wine_fn_config_program wmplayer enable_wmplayer install
18588 wine_fn_config_program wordpad enable_wordpad clean,install
18589 wine_fn_config_program write enable_write clean,install
18590 wine_fn_config_program wscript enable_wscript clean,install
18591 wine_fn_config_test programs/wscript/tests wscript.exe_test
18592 wine_fn_config_program wusa enable_wusa install
18593 wine_fn_config_program xcopy enable_xcopy clean,install
18594 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18595 wine_fn_config_makefile server enable_server clean,install-lib
18596 wine_fn_config_tool tools clean
18597 wine_fn_config_tool tools/sfnt2fon clean
18598 wine_fn_config_tool tools/widl clean,install-dev
18599 wine_fn_config_tool tools/winebuild clean,install-dev
18600 wine_fn_config_tool tools/winedump clean,install-dev
18601 wine_fn_config_tool tools/winegcc clean,install-dev
18602 wine_fn_config_tool tools/winemaker clean,install-dev
18603 wine_fn_config_tool tools/wmc clean,install-dev
18604 wine_fn_config_tool tools/wrc clean,install-dev
18607 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18608 wine_fn_append_file CONFIGURE_TARGETS "tags"
18609 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18610 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18611 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18612 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18613 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18614 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18616 if test "x$enable_tools" != xno
18617 then
18618 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18619 ac_config_commands="$ac_config_commands tools/makedep"
18623 ac_config_commands="$ac_config_commands Makefile"
18626 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18630 if test "x$enable_maintainer_mode" = xyes
18631 then
18632 wine_fn_append_rule "configure: configure.ac aclocal.m4
18633 autoconf --warnings=all
18634 include/config.h.in: include/stamp-h.in
18635 include/stamp-h.in: configure.ac aclocal.m4
18636 autoheader --warnings=all
18637 @echo timestamp > \$@"
18640 if test "x$enable_tools" != xno
18641 then
18642 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18643 @./config.status tools/makedep
18644 Makefile: tools/makedep$ac_exeext"
18645 else
18646 wine_fn_append_rule "\$(MAKEDEP):
18647 @echo \"You need to run make in $TOOLSDIR first\" && false"
18650 if test -n "$with_wine64"
18651 then
18652 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18653 fonts server:
18654 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18655 $with_wine64/loader/wine:
18656 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18657 $with_wine64/loader/wine-preloader:
18658 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18659 clean::
18660 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18661 else
18662 WINELOADER_INSTALL="wine.inf"
18664 wine_fn_append_rule "install install-lib::
18665 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18666 uninstall::
18667 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18668 case $host_os in
18669 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18670 *) wine_fn_append_rule "install install-lib::
18671 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18672 uninstall::
18673 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18674 esac
18677 $as_echo " done" >&6
18678 cat >confcache <<\_ACEOF
18679 # This file is a shell script that caches the results of configure
18680 # tests run on this system so they can be shared between configure
18681 # scripts and configure runs, see configure's option --config-cache.
18682 # It is not useful on other systems. If it contains results you don't
18683 # want to keep, you may remove or edit it.
18685 # config.status only pays attention to the cache file if you give it
18686 # the --recheck option to rerun configure.
18688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18690 # following values.
18692 _ACEOF
18694 # The following way of writing the cache mishandles newlines in values,
18695 # but we know of no workaround that is simple, portable, and efficient.
18696 # So, we kill variables containing newlines.
18697 # Ultrix sh set writes to stderr and can't be redirected directly,
18698 # and sets the high bit in the cache file unless we assign to the vars.
18700 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18701 eval ac_val=\$$ac_var
18702 case $ac_val in #(
18703 *${as_nl}*)
18704 case $ac_var in #(
18705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18707 esac
18708 case $ac_var in #(
18709 _ | IFS | as_nl) ;; #(
18710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18711 *) { eval $ac_var=; unset $ac_var;} ;;
18712 esac ;;
18713 esac
18714 done
18716 (set) 2>&1 |
18717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18718 *${as_nl}ac_space=\ *)
18719 # `set' does not quote correctly, so add quotes: double-quote
18720 # substitution turns \\\\ into \\, and sed turns \\ into \.
18721 sed -n \
18722 "s/'/'\\\\''/g;
18723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18724 ;; #(
18726 # `set' quotes correctly as required by POSIX, so do not add quotes.
18727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18729 esac |
18730 sort
18732 sed '
18733 /^ac_cv_env_/b end
18734 t clear
18735 :clear
18736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18737 t end
18738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18739 :end' >>confcache
18740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18741 if test -w "$cache_file"; then
18742 if test "x$cache_file" != "x/dev/null"; then
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18744 $as_echo "$as_me: updating cache $cache_file" >&6;}
18745 if test ! -f "$cache_file" || test -h "$cache_file"; then
18746 cat confcache >"$cache_file"
18747 else
18748 case $cache_file in #(
18749 */* | ?:*)
18750 mv -f confcache "$cache_file"$$ &&
18751 mv -f "$cache_file"$$ "$cache_file" ;; #(
18753 mv -f confcache "$cache_file" ;;
18754 esac
18757 else
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18759 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18762 rm -f confcache
18764 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18765 # Let make expand exec_prefix.
18766 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18768 DEFS=-DHAVE_CONFIG_H
18770 ac_libobjs=
18771 ac_ltlibobjs=
18773 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18774 # 1. Remove the extension, and $U if already installed.
18775 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18776 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18778 # will be set to the directory where LIBOBJS objects are built.
18779 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18780 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18781 done
18782 LIBOBJS=$ac_libobjs
18784 LTLIBOBJS=$ac_ltlibobjs
18788 : "${CONFIG_STATUS=./config.status}"
18789 ac_write_fail=0
18790 ac_clean_files_save=$ac_clean_files
18791 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18793 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18794 as_write_fail=0
18795 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18796 #! $SHELL
18797 # Generated by $as_me.
18798 # Run this file to recreate the current configuration.
18799 # Compiler output produced by configure, useful for debugging
18800 # configure, is in config.log if it exists.
18802 debug=false
18803 ac_cs_recheck=false
18804 ac_cs_silent=false
18806 SHELL=\${CONFIG_SHELL-$SHELL}
18807 export SHELL
18808 _ASEOF
18809 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18810 ## -------------------- ##
18811 ## M4sh Initialization. ##
18812 ## -------------------- ##
18814 # Be more Bourne compatible
18815 DUALCASE=1; export DUALCASE # for MKS sh
18816 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18817 emulate sh
18818 NULLCMD=:
18819 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18820 # is contrary to our usage. Disable this feature.
18821 alias -g '${1+"$@"}'='"$@"'
18822 setopt NO_GLOB_SUBST
18823 else
18824 case `(set -o) 2>/dev/null` in #(
18825 *posix*) :
18826 set -o posix ;; #(
18827 *) :
18829 esac
18833 as_nl='
18835 export as_nl
18836 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18837 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18838 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18840 # Prefer a ksh shell builtin over an external printf program on Solaris,
18841 # but without wasting forks for bash or zsh.
18842 if test -z "$BASH_VERSION$ZSH_VERSION" \
18843 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18844 as_echo='print -r --'
18845 as_echo_n='print -rn --'
18846 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18847 as_echo='printf %s\n'
18848 as_echo_n='printf %s'
18849 else
18850 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18851 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18852 as_echo_n='/usr/ucb/echo -n'
18853 else
18854 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18855 as_echo_n_body='eval
18856 arg=$1;
18857 case $arg in #(
18858 *"$as_nl"*)
18859 expr "X$arg" : "X\\(.*\\)$as_nl";
18860 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18861 esac;
18862 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18864 export as_echo_n_body
18865 as_echo_n='sh -c $as_echo_n_body as_echo'
18867 export as_echo_body
18868 as_echo='sh -c $as_echo_body as_echo'
18871 # The user is always right.
18872 if test "${PATH_SEPARATOR+set}" != set; then
18873 PATH_SEPARATOR=:
18874 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18875 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18876 PATH_SEPARATOR=';'
18881 # IFS
18882 # We need space, tab and new line, in precisely that order. Quoting is
18883 # there to prevent editors from complaining about space-tab.
18884 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18885 # splitting by setting IFS to empty value.)
18886 IFS=" "" $as_nl"
18888 # Find who we are. Look in the path if we contain no directory separator.
18889 as_myself=
18890 case $0 in #((
18891 *[\\/]* ) as_myself=$0 ;;
18892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18893 for as_dir in $PATH
18895 IFS=$as_save_IFS
18896 test -z "$as_dir" && as_dir=.
18897 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18898 done
18899 IFS=$as_save_IFS
18902 esac
18903 # We did not find ourselves, most probably we were run as `sh COMMAND'
18904 # in which case we are not to be found in the path.
18905 if test "x$as_myself" = x; then
18906 as_myself=$0
18908 if test ! -f "$as_myself"; then
18909 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18910 exit 1
18913 # Unset variables that we do not need and which cause bugs (e.g. in
18914 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18915 # suppresses any "Segmentation fault" message there. '((' could
18916 # trigger a bug in pdksh 5.2.14.
18917 for as_var in BASH_ENV ENV MAIL MAILPATH
18918 do eval test x\${$as_var+set} = xset \
18919 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18920 done
18921 PS1='$ '
18922 PS2='> '
18923 PS4='+ '
18925 # NLS nuisances.
18926 LC_ALL=C
18927 export LC_ALL
18928 LANGUAGE=C
18929 export LANGUAGE
18931 # CDPATH.
18932 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18935 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18936 # ----------------------------------------
18937 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18938 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18939 # script with STATUS, using 1 if that was 0.
18940 as_fn_error ()
18942 as_status=$1; test $as_status -eq 0 && as_status=1
18943 if test "$4"; then
18944 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18945 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18947 $as_echo "$as_me: error: $2" >&2
18948 as_fn_exit $as_status
18949 } # as_fn_error
18952 # as_fn_set_status STATUS
18953 # -----------------------
18954 # Set $? to STATUS, without forking.
18955 as_fn_set_status ()
18957 return $1
18958 } # as_fn_set_status
18960 # as_fn_exit STATUS
18961 # -----------------
18962 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18963 as_fn_exit ()
18965 set +e
18966 as_fn_set_status $1
18967 exit $1
18968 } # as_fn_exit
18970 # as_fn_unset VAR
18971 # ---------------
18972 # Portably unset VAR.
18973 as_fn_unset ()
18975 { eval $1=; unset $1;}
18977 as_unset=as_fn_unset
18978 # as_fn_append VAR VALUE
18979 # ----------------------
18980 # Append the text in VALUE to the end of the definition contained in VAR. Take
18981 # advantage of any shell optimizations that allow amortized linear growth over
18982 # repeated appends, instead of the typical quadratic growth present in naive
18983 # implementations.
18984 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18985 eval 'as_fn_append ()
18987 eval $1+=\$2
18989 else
18990 as_fn_append ()
18992 eval $1=\$$1\$2
18994 fi # as_fn_append
18996 # as_fn_arith ARG...
18997 # ------------------
18998 # Perform arithmetic evaluation on the ARGs, and store the result in the
18999 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19000 # must be portable across $(()) and expr.
19001 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19002 eval 'as_fn_arith ()
19004 as_val=$(( $* ))
19006 else
19007 as_fn_arith ()
19009 as_val=`expr "$@" || test $? -eq 1`
19011 fi # as_fn_arith
19014 if expr a : '\(a\)' >/dev/null 2>&1 &&
19015 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19016 as_expr=expr
19017 else
19018 as_expr=false
19021 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19022 as_basename=basename
19023 else
19024 as_basename=false
19027 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19028 as_dirname=dirname
19029 else
19030 as_dirname=false
19033 as_me=`$as_basename -- "$0" ||
19034 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19035 X"$0" : 'X\(//\)$' \| \
19036 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19037 $as_echo X/"$0" |
19038 sed '/^.*\/\([^/][^/]*\)\/*$/{
19039 s//\1/
19042 /^X\/\(\/\/\)$/{
19043 s//\1/
19046 /^X\/\(\/\).*/{
19047 s//\1/
19050 s/.*/./; q'`
19052 # Avoid depending upon Character Ranges.
19053 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19054 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19055 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19056 as_cr_digits='0123456789'
19057 as_cr_alnum=$as_cr_Letters$as_cr_digits
19059 ECHO_C= ECHO_N= ECHO_T=
19060 case `echo -n x` in #(((((
19061 -n*)
19062 case `echo 'xy\c'` in
19063 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19064 xy) ECHO_C='\c';;
19065 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19066 ECHO_T=' ';;
19067 esac;;
19069 ECHO_N='-n';;
19070 esac
19072 rm -f conf$$ conf$$.exe conf$$.file
19073 if test -d conf$$.dir; then
19074 rm -f conf$$.dir/conf$$.file
19075 else
19076 rm -f conf$$.dir
19077 mkdir conf$$.dir 2>/dev/null
19079 if (echo >conf$$.file) 2>/dev/null; then
19080 if ln -s conf$$.file conf$$ 2>/dev/null; then
19081 as_ln_s='ln -s'
19082 # ... but there are two gotchas:
19083 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19084 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19085 # In both cases, we have to default to `cp -pR'.
19086 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19087 as_ln_s='cp -pR'
19088 elif ln conf$$.file conf$$ 2>/dev/null; then
19089 as_ln_s=ln
19090 else
19091 as_ln_s='cp -pR'
19093 else
19094 as_ln_s='cp -pR'
19096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19097 rmdir conf$$.dir 2>/dev/null
19100 # as_fn_mkdir_p
19101 # -------------
19102 # Create "$as_dir" as a directory, including parents if necessary.
19103 as_fn_mkdir_p ()
19106 case $as_dir in #(
19107 -*) as_dir=./$as_dir;;
19108 esac
19109 test -d "$as_dir" || eval $as_mkdir_p || {
19110 as_dirs=
19111 while :; do
19112 case $as_dir in #(
19113 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19114 *) as_qdir=$as_dir;;
19115 esac
19116 as_dirs="'$as_qdir' $as_dirs"
19117 as_dir=`$as_dirname -- "$as_dir" ||
19118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19119 X"$as_dir" : 'X\(//\)[^/]' \| \
19120 X"$as_dir" : 'X\(//\)$' \| \
19121 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19122 $as_echo X"$as_dir" |
19123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19124 s//\1/
19127 /^X\(\/\/\)[^/].*/{
19128 s//\1/
19131 /^X\(\/\/\)$/{
19132 s//\1/
19135 /^X\(\/\).*/{
19136 s//\1/
19139 s/.*/./; q'`
19140 test -d "$as_dir" && break
19141 done
19142 test -z "$as_dirs" || eval "mkdir $as_dirs"
19143 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19146 } # as_fn_mkdir_p
19147 if mkdir -p . 2>/dev/null; then
19148 as_mkdir_p='mkdir -p "$as_dir"'
19149 else
19150 test -d ./-p && rmdir ./-p
19151 as_mkdir_p=false
19155 # as_fn_executable_p FILE
19156 # -----------------------
19157 # Test if FILE is an executable regular file.
19158 as_fn_executable_p ()
19160 test -f "$1" && test -x "$1"
19161 } # as_fn_executable_p
19162 as_test_x='test -x'
19163 as_executable_p=as_fn_executable_p
19165 # Sed expression to map a string onto a valid CPP name.
19166 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19168 # Sed expression to map a string onto a valid variable name.
19169 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19172 exec 6>&1
19173 ## ----------------------------------- ##
19174 ## Main body of $CONFIG_STATUS script. ##
19175 ## ----------------------------------- ##
19176 _ASEOF
19177 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19180 # Save the log message, to keep $0 and so on meaningful, and to
19181 # report actual input values of CONFIG_FILES etc. instead of their
19182 # values after options handling.
19183 ac_log="
19184 This file was extended by Wine $as_me 2.0, which was
19185 generated by GNU Autoconf 2.69. Invocation command line was
19187 CONFIG_FILES = $CONFIG_FILES
19188 CONFIG_HEADERS = $CONFIG_HEADERS
19189 CONFIG_LINKS = $CONFIG_LINKS
19190 CONFIG_COMMANDS = $CONFIG_COMMANDS
19191 $ $0 $@
19193 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19196 _ACEOF
19198 case $ac_config_files in *"
19199 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19200 esac
19202 case $ac_config_headers in *"
19203 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19204 esac
19207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19208 # Files that config.status was made for.
19209 config_files="$ac_config_files"
19210 config_headers="$ac_config_headers"
19211 config_links="$ac_config_links"
19212 config_commands="$ac_config_commands"
19214 _ACEOF
19216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19217 ac_cs_usage="\
19218 \`$as_me' instantiates files and other configuration actions
19219 from templates according to the current configuration. Unless the files
19220 and actions are specified as TAGs, all are instantiated by default.
19222 Usage: $0 [OPTION]... [TAG]...
19224 -h, --help print this help, then exit
19225 -V, --version print version number and configuration settings, then exit
19226 --config print configuration, then exit
19227 -q, --quiet, --silent
19228 do not print progress messages
19229 -d, --debug don't remove temporary files
19230 --recheck update $as_me by reconfiguring in the same conditions
19231 --file=FILE[:TEMPLATE]
19232 instantiate the configuration file FILE
19233 --header=FILE[:TEMPLATE]
19234 instantiate the configuration header FILE
19236 Configuration files:
19237 $config_files
19239 Configuration headers:
19240 $config_headers
19242 Configuration links:
19243 $config_links
19245 Configuration commands:
19246 $config_commands
19248 Report bugs to <wine-devel@winehq.org>.
19249 Wine home page: <http://www.winehq.org>."
19251 _ACEOF
19252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19253 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19254 ac_cs_version="\\
19255 Wine config.status 2.0
19256 configured by $0, generated by GNU Autoconf 2.69,
19257 with options \\"\$ac_cs_config\\"
19259 Copyright (C) 2012 Free Software Foundation, Inc.
19260 This config.status script is free software; the Free Software Foundation
19261 gives unlimited permission to copy, distribute and modify it."
19263 ac_pwd='$ac_pwd'
19264 srcdir='$srcdir'
19265 test -n "\$AWK" || AWK=awk
19266 _ACEOF
19268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19269 # The default lists apply if the user does not specify any file.
19270 ac_need_defaults=:
19271 while test $# != 0
19273 case $1 in
19274 --*=?*)
19275 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19276 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19277 ac_shift=:
19279 --*=)
19280 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19281 ac_optarg=
19282 ac_shift=:
19285 ac_option=$1
19286 ac_optarg=$2
19287 ac_shift=shift
19289 esac
19291 case $ac_option in
19292 # Handling of the options.
19293 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19294 ac_cs_recheck=: ;;
19295 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19296 $as_echo "$ac_cs_version"; exit ;;
19297 --config | --confi | --conf | --con | --co | --c )
19298 $as_echo "$ac_cs_config"; exit ;;
19299 --debug | --debu | --deb | --de | --d | -d )
19300 debug=: ;;
19301 --file | --fil | --fi | --f )
19302 $ac_shift
19303 case $ac_optarg in
19304 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19305 '') as_fn_error $? "missing file argument" ;;
19306 esac
19307 as_fn_append CONFIG_FILES " '$ac_optarg'"
19308 ac_need_defaults=false;;
19309 --header | --heade | --head | --hea )
19310 $ac_shift
19311 case $ac_optarg in
19312 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19313 esac
19314 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19315 ac_need_defaults=false;;
19316 --he | --h)
19317 # Conflict between --help and --header
19318 as_fn_error $? "ambiguous option: \`$1'
19319 Try \`$0 --help' for more information.";;
19320 --help | --hel | -h )
19321 $as_echo "$ac_cs_usage"; exit ;;
19322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19323 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19324 ac_cs_silent=: ;;
19326 # This is an error.
19327 -*) as_fn_error $? "unrecognized option: \`$1'
19328 Try \`$0 --help' for more information." ;;
19330 *) as_fn_append ac_config_targets " $1"
19331 ac_need_defaults=false ;;
19333 esac
19334 shift
19335 done
19337 ac_configure_extra_args=
19339 if $ac_cs_silent; then
19340 exec 6>/dev/null
19341 ac_configure_extra_args="$ac_configure_extra_args --silent"
19344 _ACEOF
19345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19346 if \$ac_cs_recheck; then
19347 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19348 shift
19349 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19350 CONFIG_SHELL='$SHELL'
19351 export CONFIG_SHELL
19352 exec "\$@"
19355 _ACEOF
19356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19357 exec 5>>config.log
19359 echo
19360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19361 ## Running $as_me. ##
19362 _ASBOX
19363 $as_echo "$ac_log"
19364 } >&5
19366 _ACEOF
19367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19369 # INIT-COMMANDS
19371 wine_fn_output_makedep ()
19373 as_dir=tools; as_fn_mkdir_p
19374 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19376 wine_fn_output_makefile ()
19378 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19379 `cat $wine_rules_file`
19380 _WINE_EOF
19381 as_fn_error $? "could not create Makefile" "$LINENO" 5
19384 _ACEOF
19386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19388 # Handling of arguments.
19389 for ac_config_target in $ac_config_targets
19391 case $ac_config_target in
19392 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19393 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19394 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19395 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19396 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19397 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19398 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19399 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19400 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19401 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19402 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19403 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19404 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19406 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19407 esac
19408 done
19411 # If the user did not use the arguments to specify the items to instantiate,
19412 # then the envvar interface is used. Set only those that are not.
19413 # We use the long form for the default assignment because of an extremely
19414 # bizarre bug on SunOS 4.1.3.
19415 if $ac_need_defaults; then
19416 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19417 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19418 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19419 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19422 # Have a temporary directory for convenience. Make it in the build tree
19423 # simply because there is no reason against having it here, and in addition,
19424 # creating and moving files from /tmp can sometimes cause problems.
19425 # Hook for its removal unless debugging.
19426 # Note that there is a small window in which the directory will not be cleaned:
19427 # after its creation but before its name has been assigned to `$tmp'.
19428 $debug ||
19430 tmp= ac_tmp=
19431 trap 'exit_status=$?
19432 : "${ac_tmp:=$tmp}"
19433 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19435 trap 'as_fn_exit 1' 1 2 13 15
19437 # Create a (secure) tmp directory for tmp files.
19440 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19441 test -d "$tmp"
19442 } ||
19444 tmp=./conf$$-$RANDOM
19445 (umask 077 && mkdir "$tmp")
19446 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19447 ac_tmp=$tmp
19449 # Set up the scripts for CONFIG_FILES section.
19450 # No need to generate them if there are no CONFIG_FILES.
19451 # This happens for instance with `./config.status config.h'.
19452 if test -n "$CONFIG_FILES"; then
19455 ac_cr=`echo X | tr X '\015'`
19456 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19457 # But we know of no other shell where ac_cr would be empty at this
19458 # point, so we can use a bashism as a fallback.
19459 if test "x$ac_cr" = x; then
19460 eval ac_cr=\$\'\\r\'
19462 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19463 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19464 ac_cs_awk_cr='\\r'
19465 else
19466 ac_cs_awk_cr=$ac_cr
19469 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19470 _ACEOF
19474 echo "cat >conf$$subs.awk <<_ACEOF" &&
19475 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19476 echo "_ACEOF"
19477 } >conf$$subs.sh ||
19478 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19479 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19480 ac_delim='%!_!# '
19481 for ac_last_try in false false false false false :; do
19482 . ./conf$$subs.sh ||
19483 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19485 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19486 if test $ac_delim_n = $ac_delim_num; then
19487 break
19488 elif $ac_last_try; then
19489 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19490 else
19491 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19493 done
19494 rm -f conf$$subs.sh
19496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19497 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19498 _ACEOF
19499 sed -n '
19501 s/^/S["/; s/!.*/"]=/
19504 s/^[^!]*!//
19505 :repl
19506 t repl
19507 s/'"$ac_delim"'$//
19508 t delim
19511 s/\(.\{148\}\)..*/\1/
19512 t more1
19513 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19516 b repl
19517 :more1
19518 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19521 s/.\{148\}//
19522 t nl
19523 :delim
19525 s/\(.\{148\}\)..*/\1/
19526 t more2
19527 s/["\\]/\\&/g; s/^/"/; s/$/"/
19530 :more2
19531 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19534 s/.\{148\}//
19535 t delim
19536 ' <conf$$subs.awk | sed '
19537 /^[^""]/{
19539 s/\n//
19541 ' >>$CONFIG_STATUS || ac_write_fail=1
19542 rm -f conf$$subs.awk
19543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19544 _ACAWK
19545 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19546 for (key in S) S_is_set[key] = 1
19547 FS = "\a"
19551 line = $ 0
19552 nfields = split(line, field, "@")
19553 substed = 0
19554 len = length(field[1])
19555 for (i = 2; i < nfields; i++) {
19556 key = field[i]
19557 keylen = length(key)
19558 if (S_is_set[key]) {
19559 value = S[key]
19560 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19561 len += length(value) + length(field[++i])
19562 substed = 1
19563 } else
19564 len += 1 + keylen
19567 print line
19570 _ACAWK
19571 _ACEOF
19572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19573 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19574 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19575 else
19577 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19578 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19579 _ACEOF
19581 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19582 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19583 # trailing colons and then remove the whole line if VPATH becomes empty
19584 # (actually we leave an empty line to preserve line numbers).
19585 if test "x$srcdir" = x.; then
19586 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19588 s///
19589 s/^/:/
19590 s/[ ]*$/:/
19591 s/:\$(srcdir):/:/g
19592 s/:\${srcdir}:/:/g
19593 s/:@srcdir@:/:/g
19594 s/^:*//
19595 s/:*$//
19597 s/\(=[ ]*\).*/\1/
19599 s/\n//
19600 s/^[^=]*=[ ]*$//
19604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19605 fi # test -n "$CONFIG_FILES"
19607 # Set up the scripts for CONFIG_HEADERS section.
19608 # No need to generate them if there are no CONFIG_HEADERS.
19609 # This happens for instance with `./config.status Makefile'.
19610 if test -n "$CONFIG_HEADERS"; then
19611 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19612 BEGIN {
19613 _ACEOF
19615 # Transform confdefs.h into an awk script `defines.awk', embedded as
19616 # here-document in config.status, that substitutes the proper values into
19617 # config.h.in to produce config.h.
19619 # Create a delimiter string that does not exist in confdefs.h, to ease
19620 # handling of long lines.
19621 ac_delim='%!_!# '
19622 for ac_last_try in false false :; do
19623 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19624 if test -z "$ac_tt"; then
19625 break
19626 elif $ac_last_try; then
19627 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19628 else
19629 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19631 done
19633 # For the awk script, D is an array of macro values keyed by name,
19634 # likewise P contains macro parameters if any. Preserve backslash
19635 # newline sequences.
19637 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19638 sed -n '
19639 s/.\{148\}/&'"$ac_delim"'/g
19640 t rset
19641 :rset
19642 s/^[ ]*#[ ]*define[ ][ ]*/ /
19643 t def
19645 :def
19646 s/\\$//
19647 t bsnl
19648 s/["\\]/\\&/g
19649 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19650 D["\1"]=" \3"/p
19651 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19653 :bsnl
19654 s/["\\]/\\&/g
19655 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19656 D["\1"]=" \3\\\\\\n"\\/p
19657 t cont
19658 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19659 t cont
19661 :cont
19663 s/.\{148\}/&'"$ac_delim"'/g
19664 t clear
19665 :clear
19666 s/\\$//
19667 t bsnlc
19668 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19670 :bsnlc
19671 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19672 b cont
19673 ' <confdefs.h | sed '
19674 s/'"$ac_delim"'/"\\\
19675 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19678 for (key in D) D_is_set[key] = 1
19679 FS = "\a"
19681 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19682 line = \$ 0
19683 split(line, arg, " ")
19684 if (arg[1] == "#") {
19685 defundef = arg[2]
19686 mac1 = arg[3]
19687 } else {
19688 defundef = substr(arg[1], 2)
19689 mac1 = arg[2]
19691 split(mac1, mac2, "(") #)
19692 macro = mac2[1]
19693 prefix = substr(line, 1, index(line, defundef) - 1)
19694 if (D_is_set[macro]) {
19695 # Preserve the white space surrounding the "#".
19696 print prefix "define", macro P[macro] D[macro]
19697 next
19698 } else {
19699 # Replace #undef with comments. This is necessary, for example,
19700 # in the case of _POSIX_SOURCE, which is predefined and required
19701 # on some systems where configure will not decide to define it.
19702 if (defundef == "undef") {
19703 print "/*", prefix defundef, macro, "*/"
19704 next
19708 { print }
19709 _ACAWK
19710 _ACEOF
19711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19712 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19713 fi # test -n "$CONFIG_HEADERS"
19716 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19717 shift
19718 for ac_tag
19720 case $ac_tag in
19721 :[FHLC]) ac_mode=$ac_tag; continue;;
19722 esac
19723 case $ac_mode$ac_tag in
19724 :[FHL]*:*);;
19725 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19726 :[FH]-) ac_tag=-:-;;
19727 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19728 esac
19729 ac_save_IFS=$IFS
19730 IFS=:
19731 set x $ac_tag
19732 IFS=$ac_save_IFS
19733 shift
19734 ac_file=$1
19735 shift
19737 case $ac_mode in
19738 :L) ac_source=$1;;
19739 :[FH])
19740 ac_file_inputs=
19741 for ac_f
19743 case $ac_f in
19744 -) ac_f="$ac_tmp/stdin";;
19745 *) # Look for the file first in the build tree, then in the source tree
19746 # (if the path is not absolute). The absolute path cannot be DOS-style,
19747 # because $ac_f cannot contain `:'.
19748 test -f "$ac_f" ||
19749 case $ac_f in
19750 [\\/$]*) false;;
19751 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19752 esac ||
19753 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19754 esac
19755 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19756 as_fn_append ac_file_inputs " '$ac_f'"
19757 done
19759 # Let's still pretend it is `configure' which instantiates (i.e., don't
19760 # use $as_me), people would be surprised to read:
19761 # /* config.h. Generated by config.status. */
19762 configure_input='Generated from '`
19763 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19764 `' by configure.'
19765 if test x"$ac_file" != x-; then
19766 configure_input="$ac_file. $configure_input"
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19768 $as_echo "$as_me: creating $ac_file" >&6;}
19770 # Neutralize special characters interpreted by sed in replacement strings.
19771 case $configure_input in #(
19772 *\&* | *\|* | *\\* )
19773 ac_sed_conf_input=`$as_echo "$configure_input" |
19774 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19775 *) ac_sed_conf_input=$configure_input;;
19776 esac
19778 case $ac_tag in
19779 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19781 esac
19783 esac
19785 ac_dir=`$as_dirname -- "$ac_file" ||
19786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19787 X"$ac_file" : 'X\(//\)[^/]' \| \
19788 X"$ac_file" : 'X\(//\)$' \| \
19789 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19790 $as_echo X"$ac_file" |
19791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19792 s//\1/
19795 /^X\(\/\/\)[^/].*/{
19796 s//\1/
19799 /^X\(\/\/\)$/{
19800 s//\1/
19803 /^X\(\/\).*/{
19804 s//\1/
19807 s/.*/./; q'`
19808 as_dir="$ac_dir"; as_fn_mkdir_p
19809 ac_builddir=.
19811 case "$ac_dir" in
19812 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19814 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19815 # A ".." for each directory in $ac_dir_suffix.
19816 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19817 case $ac_top_builddir_sub in
19818 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19819 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19820 esac ;;
19821 esac
19822 ac_abs_top_builddir=$ac_pwd
19823 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19824 # for backward compatibility:
19825 ac_top_builddir=$ac_top_build_prefix
19827 case $srcdir in
19828 .) # We are building in place.
19829 ac_srcdir=.
19830 ac_top_srcdir=$ac_top_builddir_sub
19831 ac_abs_top_srcdir=$ac_pwd ;;
19832 [\\/]* | ?:[\\/]* ) # Absolute name.
19833 ac_srcdir=$srcdir$ac_dir_suffix;
19834 ac_top_srcdir=$srcdir
19835 ac_abs_top_srcdir=$srcdir ;;
19836 *) # Relative name.
19837 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19838 ac_top_srcdir=$ac_top_build_prefix$srcdir
19839 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19840 esac
19841 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19844 case $ac_mode in
19847 # CONFIG_FILE
19850 _ACEOF
19852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19853 # If the template does not know about datarootdir, expand it.
19854 # FIXME: This hack should be removed a few years after 2.60.
19855 ac_datarootdir_hack=; ac_datarootdir_seen=
19856 ac_sed_dataroot='
19857 /datarootdir/ {
19861 /@datadir@/p
19862 /@docdir@/p
19863 /@infodir@/p
19864 /@localedir@/p
19865 /@mandir@/p'
19866 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19867 *datarootdir*) ac_datarootdir_seen=yes;;
19868 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19870 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19871 _ACEOF
19872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19873 ac_datarootdir_hack='
19874 s&@datadir@&$datadir&g
19875 s&@docdir@&$docdir&g
19876 s&@infodir@&$infodir&g
19877 s&@localedir@&$localedir&g
19878 s&@mandir@&$mandir&g
19879 s&\\\${datarootdir}&$datarootdir&g' ;;
19880 esac
19881 _ACEOF
19883 # Neutralize VPATH when `$srcdir' = `.'.
19884 # Shell code in configure.ac might set extrasub.
19885 # FIXME: do we really want to maintain this feature?
19886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19887 ac_sed_extra="$ac_vpsub
19888 $extrasub
19889 _ACEOF
19890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19893 s|@configure_input@|$ac_sed_conf_input|;t t
19894 s&@top_builddir@&$ac_top_builddir_sub&;t t
19895 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19896 s&@srcdir@&$ac_srcdir&;t t
19897 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19898 s&@top_srcdir@&$ac_top_srcdir&;t t
19899 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19900 s&@builddir@&$ac_builddir&;t t
19901 s&@abs_builddir@&$ac_abs_builddir&;t t
19902 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19903 $ac_datarootdir_hack
19905 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19906 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19909 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19911 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19913 which seems to be undefined. Please make sure it is defined" >&5
19914 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19915 which seems to be undefined. Please make sure it is defined" >&2;}
19917 rm -f "$ac_tmp/stdin"
19918 case $ac_file in
19919 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19920 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19921 esac \
19922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19926 # CONFIG_HEADER
19928 if test x"$ac_file" != x-; then
19930 $as_echo "/* $configure_input */" \
19931 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19932 } >"$ac_tmp/config.h" \
19933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19934 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19936 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19937 else
19938 rm -f "$ac_file"
19939 mv "$ac_tmp/config.h" "$ac_file" \
19940 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19942 else
19943 $as_echo "/* $configure_input */" \
19944 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19945 || as_fn_error $? "could not create -" "$LINENO" 5
19950 # CONFIG_LINK
19953 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19955 else
19956 # Prefer the file from the source tree if names are identical.
19957 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19958 ac_source=$srcdir/$ac_source
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19962 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19964 if test ! -r "$ac_source"; then
19965 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19967 rm -f "$ac_file"
19969 # Try a relative symlink, then a hard link, then a copy.
19970 case $ac_source in
19971 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19972 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19973 esac
19974 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19975 ln "$ac_source" "$ac_file" 2>/dev/null ||
19976 cp -p "$ac_source" "$ac_file" ||
19977 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19980 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19981 $as_echo "$as_me: executing $ac_file commands" >&6;}
19983 esac
19986 case $ac_file$ac_mode in
19987 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19988 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19989 "Makefile":C) wine_fn_output_makefile Makefile ;;
19991 esac
19992 done # for ac_tag
19995 as_fn_exit 0
19996 _ACEOF
19997 ac_clean_files=$ac_clean_files_save
19999 test $ac_write_fail = 0 ||
20000 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20003 # configure is writing to config.log, and then calls config.status.
20004 # config.status does its own redirection, appending to config.log.
20005 # Unfortunately, on DOS this fails, as config.log is still kept open
20006 # by configure, so config.status won't be able to write to it; its
20007 # output is simply discarded. So we exec the FD to /dev/null,
20008 # effectively closing config.log, so it can be properly (re)opened and
20009 # appended to by config.status. When coming back to configure, we
20010 # need to make the FD available again.
20011 if test "$no_create" != yes; then
20012 ac_cs_success=:
20013 ac_config_status_args=
20014 test "$silent" = yes &&
20015 ac_config_status_args="$ac_config_status_args --quiet"
20016 exec 5>/dev/null
20017 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20018 exec 5>>config.log
20019 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20020 # would make configure fail if this is the last instruction.
20021 $ac_cs_success || as_fn_exit 1
20023 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20025 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20029 if test "$no_create" = "yes"
20030 then
20031 exit 0
20034 ac_save_IFS="$IFS"
20035 if test "x$wine_notices" != x; then
20036 echo >&6
20037 IFS="|"
20038 for msg in $wine_notices; do
20039 IFS="$ac_save_IFS"
20040 if ${msg:+false} :; then :
20042 else
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20044 $as_echo "$as_me: $msg" >&6;}
20046 done
20048 IFS="|"
20049 for msg in $wine_warnings; do
20050 IFS="$ac_save_IFS"
20051 if ${msg:+false} :; then :
20053 else
20054 echo >&2
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20056 $as_echo "$as_me: WARNING: $msg" >&2;}
20058 done
20059 IFS="$ac_save_IFS"
20061 $as_echo "
20062 $as_me: Finished. Do '${ac_make}' to compile Wine.
20063 " >&6