msi: Make reg_get_{multi}sz() static.
[wine.git] / configure
blob333f8a7b27c08bf67afbe2c713cbca022d8fc42c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.0-rc4.
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-rc4'
584 PACKAGE_STRING='Wine 2.0-rc4'
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_mfplat
1250 enable_mfreadwrite
1251 enable_mgmtapi
1252 enable_midimap
1253 enable_mlang
1254 enable_mmcndmgr
1255 enable_mmdevapi
1256 enable_mountmgr_sys
1257 enable_mpr
1258 enable_mprapi
1259 enable_msacm32_drv
1260 enable_msacm32
1261 enable_msadp32_acm
1262 enable_msasn1
1263 enable_mscat32
1264 enable_mscms
1265 enable_mscoree
1266 enable_msctf
1267 enable_msctfp
1268 enable_msdaps
1269 enable_msdelta
1270 enable_msdmo
1271 enable_msdrm
1272 enable_msftedit
1273 enable_msg711_acm
1274 enable_msgsm32_acm
1275 enable_mshtml_tlb
1276 enable_mshtml
1277 enable_msi
1278 enable_msident
1279 enable_msimg32
1280 enable_msimsg
1281 enable_msimtf
1282 enable_msisip
1283 enable_msisys_ocx
1284 enable_msls31
1285 enable_msnet32
1286 enable_mspatcha
1287 enable_msports
1288 enable_msrle32
1289 enable_msscript_ocx
1290 enable_mssign32
1291 enable_mssip32
1292 enable_mstask
1293 enable_msvcirt
1294 enable_msvcm80
1295 enable_msvcm90
1296 enable_msvcp100
1297 enable_msvcp110
1298 enable_msvcp120
1299 enable_msvcp120_app
1300 enable_msvcp140
1301 enable_msvcp60
1302 enable_msvcp70
1303 enable_msvcp71
1304 enable_msvcp80
1305 enable_msvcp90
1306 enable_msvcr100
1307 enable_msvcr110
1308 enable_msvcr120
1309 enable_msvcr120_app
1310 enable_msvcr70
1311 enable_msvcr71
1312 enable_msvcr80
1313 enable_msvcr90
1314 enable_msvcrt
1315 enable_msvcrt20
1316 enable_msvcrt40
1317 enable_msvcrtd
1318 enable_msvfw32
1319 enable_msvidc32
1320 enable_mswsock
1321 enable_msxml
1322 enable_msxml2
1323 enable_msxml3
1324 enable_msxml4
1325 enable_msxml6
1326 enable_ncrypt
1327 enable_nddeapi
1328 enable_ndis_sys
1329 enable_netapi32
1330 enable_netcfgx
1331 enable_netprofm
1332 enable_newdev
1333 enable_normaliz
1334 enable_npmshtml
1335 enable_npptools
1336 enable_ntdll
1337 enable_ntdsapi
1338 enable_ntoskrnl_exe
1339 enable_ntprint
1340 enable_objsel
1341 enable_odbc32
1342 enable_odbccp32
1343 enable_odbccu32
1344 enable_ole32
1345 enable_oleacc
1346 enable_oleaut32
1347 enable_olecli32
1348 enable_oledb32
1349 enable_oledlg
1350 enable_olepro32
1351 enable_olesvr32
1352 enable_olethk32
1353 enable_openal32
1354 enable_opencl
1355 enable_opengl32
1356 enable_packager
1357 enable_pdh
1358 enable_photometadatahandler
1359 enable_pidgen
1360 enable_powrprof
1361 enable_printui
1362 enable_prntvpt
1363 enable_propsys
1364 enable_psapi
1365 enable_pstorec
1366 enable_qcap
1367 enable_qedit
1368 enable_qmgr
1369 enable_qmgrprxy
1370 enable_quartz
1371 enable_query
1372 enable_rasapi32
1373 enable_rasdlg
1374 enable_regapi
1375 enable_resutils
1376 enable_riched20
1377 enable_riched32
1378 enable_rpcrt4
1379 enable_rsabase
1380 enable_rsaenh
1381 enable_rstrtmgr
1382 enable_rtutils
1383 enable_samlib
1384 enable_sane_ds
1385 enable_scarddlg
1386 enable_sccbase
1387 enable_schannel
1388 enable_schedsvc
1389 enable_scrrun
1390 enable_scsiport_sys
1391 enable_secur32
1392 enable_security
1393 enable_sensapi
1394 enable_serialui
1395 enable_setupapi
1396 enable_sfc
1397 enable_sfc_os
1398 enable_shdoclc
1399 enable_shdocvw
1400 enable_shell32
1401 enable_shfolder
1402 enable_shlwapi
1403 enable_slbcsp
1404 enable_slc
1405 enable_snmpapi
1406 enable_softpub
1407 enable_spoolss
1408 enable_sspicli
1409 enable_stdole2_tlb
1410 enable_stdole32_tlb
1411 enable_sti
1412 enable_svrapi
1413 enable_sxs
1414 enable_t2embed
1415 enable_tapi32
1416 enable_taskschd
1417 enable_tdi_sys
1418 enable_traffic
1419 enable_twain_32
1420 enable_ucrtbase
1421 enable_unicows
1422 enable_updspapi
1423 enable_url
1424 enable_urlmon
1425 enable_usbd_sys
1426 enable_user32
1427 enable_userenv
1428 enable_usp10
1429 enable_uxtheme
1430 enable_vbscript
1431 enable_vcomp
1432 enable_vcomp100
1433 enable_vcomp110
1434 enable_vcomp120
1435 enable_vcomp140
1436 enable_vcomp90
1437 enable_vcruntime140
1438 enable_vdmdbg
1439 enable_version
1440 enable_vssapi
1441 enable_wbemdisp
1442 enable_wbemprox
1443 enable_webservices
1444 enable_wer
1445 enable_wevtapi
1446 enable_wiaservc
1447 enable_wimgapi
1448 enable_windowscodecs
1449 enable_windowscodecsext
1450 enable_winealsa_drv
1451 enable_winebus_sys
1452 enable_winecoreaudio_drv
1453 enable_wined3d
1454 enable_winegstreamer
1455 enable_winehid_sys
1456 enable_winejoystick_drv
1457 enable_winemac_drv
1458 enable_winemapi
1459 enable_winemp3_acm
1460 enable_wineoss_drv
1461 enable_wineps_drv
1462 enable_winepulse_drv
1463 enable_wineqtdecoder
1464 enable_winex11_drv
1465 enable_wing32
1466 enable_winhttp
1467 enable_wininet
1468 enable_winmm
1469 enable_winnls32
1470 enable_winscard
1471 enable_winspool_drv
1472 enable_winsta
1473 enable_wintab32
1474 enable_wintrust
1475 enable_wlanapi
1476 enable_wldap32
1477 enable_wmasf
1478 enable_wmi
1479 enable_wmiutils
1480 enable_wmp
1481 enable_wmvcore
1482 enable_wnaspi32
1483 enable_wpc
1484 enable_wpcap
1485 enable_ws2_32
1486 enable_wshom_ocx
1487 enable_wsnmp32
1488 enable_wsock32
1489 enable_wtsapi32
1490 enable_wuapi
1491 enable_wuaueng
1492 enable_x3daudio1_0
1493 enable_x3daudio1_1
1494 enable_x3daudio1_2
1495 enable_x3daudio1_3
1496 enable_x3daudio1_4
1497 enable_x3daudio1_5
1498 enable_x3daudio1_6
1499 enable_x3daudio1_7
1500 enable_xapofx1_1
1501 enable_xapofx1_2
1502 enable_xapofx1_3
1503 enable_xapofx1_4
1504 enable_xapofx1_5
1505 enable_xaudio2_0
1506 enable_xaudio2_1
1507 enable_xaudio2_2
1508 enable_xaudio2_3
1509 enable_xaudio2_4
1510 enable_xaudio2_5
1511 enable_xaudio2_6
1512 enable_xaudio2_7
1513 enable_xaudio2_8
1514 enable_xaudio2_9
1515 enable_xinput1_1
1516 enable_xinput1_2
1517 enable_xinput1_3
1518 enable_xinput1_4
1519 enable_xinput9_1_0
1520 enable_xmllite
1521 enable_xolehlp
1522 enable_xpsprint
1523 enable_xpssvcs
1524 enable_fonts
1525 enable_include
1526 enable_libs_port
1527 enable_libs_wine
1528 enable_libs_wpp
1529 enable_loader
1530 enable_po
1531 enable_arp
1532 enable_aspnet_regiis
1533 enable_attrib
1534 enable_cabarc
1535 enable_cacls
1536 enable_clock
1537 enable_cmd
1538 enable_conhost
1539 enable_control
1540 enable_cscript
1541 enable_dpnsvr
1542 enable_dxdiag
1543 enable_eject
1544 enable_expand
1545 enable_explorer
1546 enable_extrac32
1547 enable_findstr
1548 enable_fsutil
1549 enable_hh
1550 enable_hostname
1551 enable_icacls
1552 enable_icinfo
1553 enable_iexplore
1554 enable_ipconfig
1555 enable_lodctr
1556 enable_mofcomp
1557 enable_mshta
1558 enable_msiexec
1559 enable_msinfo32
1560 enable_net
1561 enable_netsh
1562 enable_netstat
1563 enable_ngen
1564 enable_notepad
1565 enable_oleview
1566 enable_ping
1567 enable_plugplay
1568 enable_presentationfontcache
1569 enable_progman
1570 enable_reg
1571 enable_regasm
1572 enable_regedit
1573 enable_regsvcs
1574 enable_regsvr32
1575 enable_rpcss
1576 enable_rundll32
1577 enable_sc
1578 enable_schtasks
1579 enable_sdbinst
1580 enable_secedit
1581 enable_servicemodelreg
1582 enable_services
1583 enable_shutdown
1584 enable_spoolsv
1585 enable_start
1586 enable_subst
1587 enable_svchost
1588 enable_systeminfo
1589 enable_taskkill
1590 enable_tasklist
1591 enable_taskmgr
1592 enable_termsv
1593 enable_uninstaller
1594 enable_unlodctr
1595 enable_view
1596 enable_wevtutil
1597 enable_wineboot
1598 enable_winebrowser
1599 enable_winecfg
1600 enable_wineconsole
1601 enable_winedbg
1602 enable_winedevice
1603 enable_winefile
1604 enable_winemenubuilder
1605 enable_winemine
1606 enable_winemsibuilder
1607 enable_winepath
1608 enable_winetest
1609 enable_winhlp32
1610 enable_winver
1611 enable_wmic
1612 enable_wmplayer
1613 enable_wordpad
1614 enable_write
1615 enable_wscript
1616 enable_wusa
1617 enable_xcopy
1618 enable_server
1619 enable_tools
1621 ac_precious_vars='build_alias
1622 host_alias
1623 target_alias
1625 CFLAGS
1626 LDFLAGS
1627 LIBS
1628 CPPFLAGS
1630 CXXFLAGS
1633 XMKMF
1634 XML2_CFLAGS
1635 XML2_LIBS
1636 XSLT_CFLAGS
1637 XSLT_LIBS
1638 DBUS_CFLAGS
1639 DBUS_LIBS
1640 HAL_CFLAGS
1641 HAL_LIBS
1642 GNUTLS_CFLAGS
1643 GNUTLS_LIBS
1644 SANE_CFLAGS
1645 SANE_LIBS
1646 GPHOTO2_CFLAGS
1647 GPHOTO2_LIBS
1648 GPHOTO2_PORT_CFLAGS
1649 GPHOTO2_PORT_LIBS
1650 LCMS2_CFLAGS
1651 LCMS2_LIBS
1652 FREETYPE_CFLAGS
1653 FREETYPE_LIBS
1654 PULSE_CFLAGS
1655 PULSE_LIBS
1656 GSTREAMER_CFLAGS
1657 GSTREAMER_LIBS
1658 UDEV_CFLAGS
1659 UDEV_LIBS
1660 CAPI20_CFLAGS
1661 CAPI20_LIBS
1662 FONTCONFIG_CFLAGS
1663 FONTCONFIG_LIBS
1664 JPEG_CFLAGS
1665 JPEG_LIBS
1666 PNG_CFLAGS
1667 PNG_LIBS
1668 TIFF_CFLAGS
1669 TIFF_LIBS
1670 MPG123_CFLAGS
1671 MPG123_LIBS
1672 NETAPI_CFLAGS
1673 NETAPI_LIBS'
1676 # Initialize some variables set by options.
1677 ac_init_help=
1678 ac_init_version=false
1679 ac_unrecognized_opts=
1680 ac_unrecognized_sep=
1681 # The variables have the same names as the options, with
1682 # dashes changed to underlines.
1683 cache_file=/dev/null
1684 exec_prefix=NONE
1685 no_create=
1686 no_recursion=
1687 prefix=NONE
1688 program_prefix=NONE
1689 program_suffix=NONE
1690 program_transform_name=s,x,x,
1691 silent=
1692 site=
1693 srcdir=
1694 verbose=
1695 x_includes=NONE
1696 x_libraries=NONE
1698 # Installation directory options.
1699 # These are left unexpanded so users can "make install exec_prefix=/foo"
1700 # and all the variables that are supposed to be based on exec_prefix
1701 # by default will actually change.
1702 # Use braces instead of parens because sh, perl, etc. also accept them.
1703 # (The list follows the same order as the GNU Coding Standards.)
1704 bindir='${exec_prefix}/bin'
1705 sbindir='${exec_prefix}/sbin'
1706 libexecdir='${exec_prefix}/libexec'
1707 datarootdir='${prefix}/share'
1708 datadir='${datarootdir}'
1709 sysconfdir='${prefix}/etc'
1710 sharedstatedir='${prefix}/com'
1711 localstatedir='${prefix}/var'
1712 runstatedir='${localstatedir}/run'
1713 includedir='${prefix}/include'
1714 oldincludedir='/usr/include'
1715 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1716 infodir='${datarootdir}/info'
1717 htmldir='${docdir}'
1718 dvidir='${docdir}'
1719 pdfdir='${docdir}'
1720 psdir='${docdir}'
1721 libdir='${exec_prefix}/lib'
1722 localedir='${datarootdir}/locale'
1723 mandir='${datarootdir}/man'
1725 ac_prev=
1726 ac_dashdash=
1727 for ac_option
1729 # If the previous option needs an argument, assign it.
1730 if test -n "$ac_prev"; then
1731 eval $ac_prev=\$ac_option
1732 ac_prev=
1733 continue
1736 case $ac_option in
1737 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1738 *=) ac_optarg= ;;
1739 *) ac_optarg=yes ;;
1740 esac
1742 # Accept the important Cygnus configure options, so we can diagnose typos.
1744 case $ac_dashdash$ac_option in
1746 ac_dashdash=yes ;;
1748 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1749 ac_prev=bindir ;;
1750 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1751 bindir=$ac_optarg ;;
1753 -build | --build | --buil | --bui | --bu)
1754 ac_prev=build_alias ;;
1755 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1756 build_alias=$ac_optarg ;;
1758 -cache-file | --cache-file | --cache-fil | --cache-fi \
1759 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1760 ac_prev=cache_file ;;
1761 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1762 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1763 cache_file=$ac_optarg ;;
1765 --config-cache | -C)
1766 cache_file=config.cache ;;
1768 -datadir | --datadir | --datadi | --datad)
1769 ac_prev=datadir ;;
1770 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1771 datadir=$ac_optarg ;;
1773 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1774 | --dataroo | --dataro | --datar)
1775 ac_prev=datarootdir ;;
1776 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1777 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1778 datarootdir=$ac_optarg ;;
1780 -disable-* | --disable-*)
1781 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1784 as_fn_error $? "invalid feature name: $ac_useropt"
1785 ac_useropt_orig=$ac_useropt
1786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "enable_$ac_useropt"
1790 "*) ;;
1791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1792 ac_unrecognized_sep=', ';;
1793 esac
1794 eval enable_$ac_useropt=no ;;
1796 -docdir | --docdir | --docdi | --doc | --do)
1797 ac_prev=docdir ;;
1798 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1799 docdir=$ac_optarg ;;
1801 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1802 ac_prev=dvidir ;;
1803 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1804 dvidir=$ac_optarg ;;
1806 -enable-* | --enable-*)
1807 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1810 as_fn_error $? "invalid feature name: $ac_useropt"
1811 ac_useropt_orig=$ac_useropt
1812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1815 "enable_$ac_useropt"
1816 "*) ;;
1817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1818 ac_unrecognized_sep=', ';;
1819 esac
1820 eval enable_$ac_useropt=\$ac_optarg ;;
1822 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1823 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1824 | --exec | --exe | --ex)
1825 ac_prev=exec_prefix ;;
1826 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1827 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1828 | --exec=* | --exe=* | --ex=*)
1829 exec_prefix=$ac_optarg ;;
1831 -gas | --gas | --ga | --g)
1832 # Obsolete; use --with-gas.
1833 with_gas=yes ;;
1835 -help | --help | --hel | --he | -h)
1836 ac_init_help=long ;;
1837 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1838 ac_init_help=recursive ;;
1839 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1840 ac_init_help=short ;;
1842 -host | --host | --hos | --ho)
1843 ac_prev=host_alias ;;
1844 -host=* | --host=* | --hos=* | --ho=*)
1845 host_alias=$ac_optarg ;;
1847 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1848 ac_prev=htmldir ;;
1849 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1850 | --ht=*)
1851 htmldir=$ac_optarg ;;
1853 -includedir | --includedir | --includedi | --included | --include \
1854 | --includ | --inclu | --incl | --inc)
1855 ac_prev=includedir ;;
1856 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1857 | --includ=* | --inclu=* | --incl=* | --inc=*)
1858 includedir=$ac_optarg ;;
1860 -infodir | --infodir | --infodi | --infod | --info | --inf)
1861 ac_prev=infodir ;;
1862 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1863 infodir=$ac_optarg ;;
1865 -libdir | --libdir | --libdi | --libd)
1866 ac_prev=libdir ;;
1867 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1868 libdir=$ac_optarg ;;
1870 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1871 | --libexe | --libex | --libe)
1872 ac_prev=libexecdir ;;
1873 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1874 | --libexe=* | --libex=* | --libe=*)
1875 libexecdir=$ac_optarg ;;
1877 -localedir | --localedir | --localedi | --localed | --locale)
1878 ac_prev=localedir ;;
1879 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1880 localedir=$ac_optarg ;;
1882 -localstatedir | --localstatedir | --localstatedi | --localstated \
1883 | --localstate | --localstat | --localsta | --localst | --locals)
1884 ac_prev=localstatedir ;;
1885 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1886 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1887 localstatedir=$ac_optarg ;;
1889 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1890 ac_prev=mandir ;;
1891 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1892 mandir=$ac_optarg ;;
1894 -nfp | --nfp | --nf)
1895 # Obsolete; use --without-fp.
1896 with_fp=no ;;
1898 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1899 | --no-cr | --no-c | -n)
1900 no_create=yes ;;
1902 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1903 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1904 no_recursion=yes ;;
1906 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1907 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1908 | --oldin | --oldi | --old | --ol | --o)
1909 ac_prev=oldincludedir ;;
1910 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1911 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1912 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1913 oldincludedir=$ac_optarg ;;
1915 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1916 ac_prev=prefix ;;
1917 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1918 prefix=$ac_optarg ;;
1920 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1921 | --program-pre | --program-pr | --program-p)
1922 ac_prev=program_prefix ;;
1923 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1924 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1925 program_prefix=$ac_optarg ;;
1927 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1928 | --program-suf | --program-su | --program-s)
1929 ac_prev=program_suffix ;;
1930 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1931 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1932 program_suffix=$ac_optarg ;;
1934 -program-transform-name | --program-transform-name \
1935 | --program-transform-nam | --program-transform-na \
1936 | --program-transform-n | --program-transform- \
1937 | --program-transform | --program-transfor \
1938 | --program-transfo | --program-transf \
1939 | --program-trans | --program-tran \
1940 | --progr-tra | --program-tr | --program-t)
1941 ac_prev=program_transform_name ;;
1942 -program-transform-name=* | --program-transform-name=* \
1943 | --program-transform-nam=* | --program-transform-na=* \
1944 | --program-transform-n=* | --program-transform-=* \
1945 | --program-transform=* | --program-transfor=* \
1946 | --program-transfo=* | --program-transf=* \
1947 | --program-trans=* | --program-tran=* \
1948 | --progr-tra=* | --program-tr=* | --program-t=*)
1949 program_transform_name=$ac_optarg ;;
1951 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1952 ac_prev=pdfdir ;;
1953 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1954 pdfdir=$ac_optarg ;;
1956 -psdir | --psdir | --psdi | --psd | --ps)
1957 ac_prev=psdir ;;
1958 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1959 psdir=$ac_optarg ;;
1961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1962 | -silent | --silent | --silen | --sile | --sil)
1963 silent=yes ;;
1965 -runstatedir | --runstatedir | --runstatedi | --runstated \
1966 | --runstate | --runstat | --runsta | --runst | --runs \
1967 | --run | --ru | --r)
1968 ac_prev=runstatedir ;;
1969 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1970 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1971 | --run=* | --ru=* | --r=*)
1972 runstatedir=$ac_optarg ;;
1974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1975 ac_prev=sbindir ;;
1976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1977 | --sbi=* | --sb=*)
1978 sbindir=$ac_optarg ;;
1980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1982 | --sharedst | --shareds | --shared | --share | --shar \
1983 | --sha | --sh)
1984 ac_prev=sharedstatedir ;;
1985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1988 | --sha=* | --sh=*)
1989 sharedstatedir=$ac_optarg ;;
1991 -site | --site | --sit)
1992 ac_prev=site ;;
1993 -site=* | --site=* | --sit=*)
1994 site=$ac_optarg ;;
1996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1997 ac_prev=srcdir ;;
1998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1999 srcdir=$ac_optarg ;;
2001 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2002 | --syscon | --sysco | --sysc | --sys | --sy)
2003 ac_prev=sysconfdir ;;
2004 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2005 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2006 sysconfdir=$ac_optarg ;;
2008 -target | --target | --targe | --targ | --tar | --ta | --t)
2009 ac_prev=target_alias ;;
2010 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2011 target_alias=$ac_optarg ;;
2013 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2014 verbose=yes ;;
2016 -version | --version | --versio | --versi | --vers | -V)
2017 ac_init_version=: ;;
2019 -with-* | --with-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid package name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "with_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval with_$ac_useropt=\$ac_optarg ;;
2035 -without-* | --without-*)
2036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2039 as_fn_error $? "invalid package name: $ac_useropt"
2040 ac_useropt_orig=$ac_useropt
2041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2044 "with_$ac_useropt"
2045 "*) ;;
2046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2047 ac_unrecognized_sep=', ';;
2048 esac
2049 eval with_$ac_useropt=no ;;
2051 --x)
2052 # Obsolete; use --with-x.
2053 with_x=yes ;;
2055 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2056 | --x-incl | --x-inc | --x-in | --x-i)
2057 ac_prev=x_includes ;;
2058 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2059 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2060 x_includes=$ac_optarg ;;
2062 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2063 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2064 ac_prev=x_libraries ;;
2065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2067 x_libraries=$ac_optarg ;;
2069 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2070 Try \`$0 --help' for more information"
2073 *=*)
2074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2075 # Reject names that are not valid shell variable names.
2076 case $ac_envvar in #(
2077 '' | [0-9]* | *[!_$as_cr_alnum]* )
2078 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2079 esac
2080 eval $ac_envvar=\$ac_optarg
2081 export $ac_envvar ;;
2084 # FIXME: should be removed in autoconf 3.0.
2085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2088 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2091 esac
2092 done
2094 if test -n "$ac_prev"; then
2095 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2096 as_fn_error $? "missing argument to $ac_option"
2099 if test -n "$ac_unrecognized_opts"; then
2100 case $enable_option_checking in
2101 no) ;;
2102 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2104 esac
2107 # Check all directory arguments for consistency.
2108 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2109 datadir sysconfdir sharedstatedir localstatedir includedir \
2110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2111 libdir localedir mandir runstatedir
2113 eval ac_val=\$$ac_var
2114 # Remove trailing slashes.
2115 case $ac_val in
2116 */ )
2117 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2118 eval $ac_var=\$ac_val;;
2119 esac
2120 # Be sure to have absolute directory names.
2121 case $ac_val in
2122 [\\/$]* | ?:[\\/]* ) continue;;
2123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2124 esac
2125 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2126 done
2128 # There might be people who depend on the old broken behavior: `$host'
2129 # used to hold the argument of --host etc.
2130 # FIXME: To remove some day.
2131 build=$build_alias
2132 host=$host_alias
2133 target=$target_alias
2135 # FIXME: To remove some day.
2136 if test "x$host_alias" != x; then
2137 if test "x$build_alias" = x; then
2138 cross_compiling=maybe
2139 elif test "x$build_alias" != "x$host_alias"; then
2140 cross_compiling=yes
2144 ac_tool_prefix=
2145 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2147 test "$silent" = yes && exec 6>/dev/null
2150 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2151 ac_ls_di=`ls -di .` &&
2152 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2153 as_fn_error $? "working directory cannot be determined"
2154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2155 as_fn_error $? "pwd does not report name of working directory"
2158 # Find the source files, if location was not specified.
2159 if test -z "$srcdir"; then
2160 ac_srcdir_defaulted=yes
2161 # Try the directory containing this script, then the parent directory.
2162 ac_confdir=`$as_dirname -- "$as_myself" ||
2163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2164 X"$as_myself" : 'X\(//\)[^/]' \| \
2165 X"$as_myself" : 'X\(//\)$' \| \
2166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2167 $as_echo X"$as_myself" |
2168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2169 s//\1/
2172 /^X\(\/\/\)[^/].*/{
2173 s//\1/
2176 /^X\(\/\/\)$/{
2177 s//\1/
2180 /^X\(\/\).*/{
2181 s//\1/
2184 s/.*/./; q'`
2185 srcdir=$ac_confdir
2186 if test ! -r "$srcdir/$ac_unique_file"; then
2187 srcdir=..
2189 else
2190 ac_srcdir_defaulted=no
2192 if test ! -r "$srcdir/$ac_unique_file"; then
2193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2194 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2197 ac_abs_confdir=`(
2198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2199 pwd)`
2200 # When building in place, set srcdir=.
2201 if test "$ac_abs_confdir" = "$ac_pwd"; then
2202 srcdir=.
2204 # Remove unnecessary trailing slashes from srcdir.
2205 # Double slashes in file names in object file debugging info
2206 # mess up M-x gdb in Emacs.
2207 case $srcdir in
2208 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2209 esac
2210 for ac_var in $ac_precious_vars; do
2211 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2212 eval ac_env_${ac_var}_value=\$${ac_var}
2213 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2214 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2215 done
2218 # Report the --help message.
2220 if test "$ac_init_help" = "long"; then
2221 # Omit some internal or obsolete options to make the list less imposing.
2222 # This message is too long to be a string in the A/UX 3.1 sh.
2223 cat <<_ACEOF
2224 \`configure' configures Wine 2.0-rc4 to adapt to many kinds of systems.
2226 Usage: $0 [OPTION]... [VAR=VALUE]...
2228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2229 VAR=VALUE. See below for descriptions of some of the useful variables.
2231 Defaults for the options are specified in brackets.
2233 Configuration:
2234 -h, --help display this help and exit
2235 --help=short display options specific to this package
2236 --help=recursive display the short help of all the included packages
2237 -V, --version display version information and exit
2238 -q, --quiet, --silent do not print \`checking ...' messages
2239 --cache-file=FILE cache test results in FILE [disabled]
2240 -C, --config-cache alias for \`--cache-file=config.cache'
2241 -n, --no-create do not create output files
2242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2244 Installation directories:
2245 --prefix=PREFIX install architecture-independent files in PREFIX
2246 [$ac_default_prefix]
2247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2248 [PREFIX]
2250 By default, \`make install' will install all the files in
2251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2253 for instance \`--prefix=\$HOME'.
2255 For better control, use the options below.
2257 Fine tuning of the installation directories:
2258 --bindir=DIR user executables [EPREFIX/bin]
2259 --sbindir=DIR system admin executables [EPREFIX/sbin]
2260 --libexecdir=DIR program executables [EPREFIX/libexec]
2261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2264 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2265 --libdir=DIR object code libraries [EPREFIX/lib]
2266 --includedir=DIR C header files [PREFIX/include]
2267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2270 --infodir=DIR info documentation [DATAROOTDIR/info]
2271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2272 --mandir=DIR man documentation [DATAROOTDIR/man]
2273 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2274 --htmldir=DIR html documentation [DOCDIR]
2275 --dvidir=DIR dvi documentation [DOCDIR]
2276 --pdfdir=DIR pdf documentation [DOCDIR]
2277 --psdir=DIR ps documentation [DOCDIR]
2278 _ACEOF
2280 cat <<\_ACEOF
2282 X features:
2283 --x-includes=DIR X include files are in DIR
2284 --x-libraries=DIR X library files are in DIR
2286 System types:
2287 --build=BUILD configure for building on BUILD [guessed]
2288 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2289 _ACEOF
2292 if test -n "$ac_init_help"; then
2293 case $ac_init_help in
2294 short | recursive ) echo "Configuration of Wine 2.0-rc4:";;
2295 esac
2296 cat <<\_ACEOF
2298 Optional Features:
2299 --disable-option-checking ignore unrecognized --enable/--with options
2300 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2301 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2302 --disable-win16 do not include Win16 support
2303 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2304 binaries)
2305 --disable-tests do not build the regression tests
2306 --enable-maintainer-mode
2307 enable maintainer-specific build rules
2308 --disable-largefile omit support for large files
2310 Optional Packages:
2311 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2312 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2313 --without-alsa do not use the Alsa sound support
2314 --without-capi do not use CAPI (ISDN support)
2315 --without-cms do not use CMS (color management support)
2316 --without-coreaudio do not use the CoreAudio sound support
2317 --without-cups do not use CUPS
2318 --without-curses do not use (n)curses
2319 --without-dbus do not use DBus (dynamic device support)
2320 --without-fontconfig do not use fontconfig
2321 --without-freetype do not use the FreeType library
2322 --without-gettext do not use gettext
2323 --with-gettextpo use the GetTextPO library to rebuild po files
2324 --without-gphoto do not use gphoto (Digital Camera support)
2325 --without-glu do not use the GLU library
2326 --without-gnutls do not use GnuTLS (schannel support)
2327 --without-gsm do not use libgsm (GSM 06.10 codec support)
2328 --without-gstreamer do not use GStreamer (codecs support)
2329 --without-hal do not use HAL (dynamic device support)
2330 --without-jpeg do not use JPEG
2331 --without-ldap do not use LDAP
2332 --without-mpg123 do not use the mpg123 library
2333 --without-netapi do not use the Samba NetAPI library
2334 --without-openal do not use OpenAL
2335 --without-opencl do not use OpenCL
2336 --without-opengl do not use OpenGL
2337 --without-osmesa do not use the OSMesa library
2338 --without-oss do not use the OSS sound support
2339 --without-pcap do not use the Packet Capture library
2340 --without-png do not use PNG
2341 --without-pthread do not use the pthread library
2342 --without-pulse do not use PulseAudio sound support
2343 --without-sane do not use SANE (scanner support)
2344 --without-tiff do not use TIFF
2345 --without-udev do not use udev (plug and play support)
2346 --without-v4l do not use v4l1 (v4l support)
2347 --without-xcomposite do not use the Xcomposite extension
2348 --without-xcursor do not use the Xcursor extension
2349 --without-xinerama do not use Xinerama (multi-monitor support)
2350 --without-xinput do not use the Xinput extension
2351 --without-xinput2 do not use the Xinput 2 extension
2352 --without-xml do not use XML
2353 --without-xrandr do not use Xrandr (resolution changes)
2354 --without-xrender do not use the Xrender extension
2355 --without-xshape do not use the Xshape extension
2356 --without-xshm do not use XShm (shared memory extension)
2357 --without-xslt do not use XSLT
2358 --without-xxf86vm do not use XFree video mode extension
2359 --without-zlib do not use Zlib (data compression)
2360 --with-wine-tools=DIR use Wine tools from directory DIR
2361 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2362 --with-x use the X Window System
2364 Some influential environment variables:
2365 CC C compiler command
2366 CFLAGS C compiler flags
2367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2368 nonstandard directory <lib dir>
2369 LIBS libraries to pass to the linker, e.g. -l<library>
2370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2371 you have headers in a nonstandard directory <include dir>
2372 CXX C++ compiler command
2373 CXXFLAGS C++ compiler flags
2374 CPP C preprocessor
2375 XMKMF Path to xmkmf, Makefile generator for X Window System
2376 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2377 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2378 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2379 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2380 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2381 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2382 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2383 HAL_LIBS Linker flags for hal, overriding pkg-config
2384 GNUTLS_CFLAGS
2385 C compiler flags for gnutls, overriding pkg-config
2386 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2387 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2388 SANE_LIBS Linker flags for libsane, overriding pkg-config
2389 GPHOTO2_CFLAGS
2390 C compiler flags for libgphoto2, overriding pkg-config
2391 GPHOTO2_LIBS
2392 Linker flags for libgphoto2, overriding pkg-config
2393 GPHOTO2_PORT_CFLAGS
2394 C compiler flags for libgphoto2_port, overriding pkg-config
2395 GPHOTO2_PORT_LIBS
2396 Linker flags for libgphoto2_port, overriding pkg-config
2397 LCMS2_CFLAGS
2398 C compiler flags for lcms2, overriding pkg-config
2399 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2400 FREETYPE_CFLAGS
2401 C compiler flags for freetype2, overriding pkg-config
2402 FREETYPE_LIBS
2403 Linker flags for freetype2, overriding pkg-config
2404 PULSE_CFLAGS
2405 C compiler flags for libpulse, overriding pkg-config
2406 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2407 GSTREAMER_CFLAGS
2408 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2409 gstreamer-audio-1.0, overriding pkg-config
2410 GSTREAMER_LIBS
2411 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2412 gstreamer-audio-1.0, overriding pkg-config
2413 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2414 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2415 CAPI20_CFLAGS
2416 C compiler flags for capi20, overriding pkg-config
2417 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2418 FONTCONFIG_CFLAGS
2419 C compiler flags for fontconfig, overriding pkg-config
2420 FONTCONFIG_LIBS
2421 Linker flags for fontconfig, overriding pkg-config
2422 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2423 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2424 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2425 PNG_LIBS Linker flags for libpng, overriding pkg-config
2426 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2427 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2428 MPG123_CFLAGS
2429 C compiler flags for libmpg123, overriding pkg-config
2430 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2431 NETAPI_CFLAGS
2432 C compiler flags for netapi, overriding pkg-config
2433 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2435 Use these variables to override the choices made by `configure' or to help
2436 it to find libraries and programs with nonstandard names/locations.
2438 Report bugs to <wine-devel@winehq.org>.
2439 Wine home page: <http://www.winehq.org>.
2440 _ACEOF
2441 ac_status=$?
2444 if test "$ac_init_help" = "recursive"; then
2445 # If there are subdirs, report their specific --help.
2446 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2447 test -d "$ac_dir" ||
2448 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2449 continue
2450 ac_builddir=.
2452 case "$ac_dir" in
2453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2455 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2456 # A ".." for each directory in $ac_dir_suffix.
2457 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2458 case $ac_top_builddir_sub in
2459 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2460 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2461 esac ;;
2462 esac
2463 ac_abs_top_builddir=$ac_pwd
2464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2465 # for backward compatibility:
2466 ac_top_builddir=$ac_top_build_prefix
2468 case $srcdir in
2469 .) # We are building in place.
2470 ac_srcdir=.
2471 ac_top_srcdir=$ac_top_builddir_sub
2472 ac_abs_top_srcdir=$ac_pwd ;;
2473 [\\/]* | ?:[\\/]* ) # Absolute name.
2474 ac_srcdir=$srcdir$ac_dir_suffix;
2475 ac_top_srcdir=$srcdir
2476 ac_abs_top_srcdir=$srcdir ;;
2477 *) # Relative name.
2478 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2479 ac_top_srcdir=$ac_top_build_prefix$srcdir
2480 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2481 esac
2482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2484 cd "$ac_dir" || { ac_status=$?; continue; }
2485 # Check for guested configure.
2486 if test -f "$ac_srcdir/configure.gnu"; then
2487 echo &&
2488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2489 elif test -f "$ac_srcdir/configure"; then
2490 echo &&
2491 $SHELL "$ac_srcdir/configure" --help=recursive
2492 else
2493 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2494 fi || ac_status=$?
2495 cd "$ac_pwd" || { ac_status=$?; break; }
2496 done
2499 test -n "$ac_init_help" && exit $ac_status
2500 if $ac_init_version; then
2501 cat <<\_ACEOF
2502 Wine configure 2.0-rc4
2503 generated by GNU Autoconf 2.69
2505 Copyright (C) 2012 Free Software Foundation, Inc.
2506 This configure script is free software; the Free Software Foundation
2507 gives unlimited permission to copy, distribute and modify it.
2508 _ACEOF
2509 exit
2512 ## ------------------------ ##
2513 ## Autoconf initialization. ##
2514 ## ------------------------ ##
2516 # ac_fn_c_try_compile LINENO
2517 # --------------------------
2518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2519 ac_fn_c_try_compile ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 rm -f conftest.$ac_objext
2523 if { { ac_try="$ac_compile"
2524 case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_compile") 2>conftest.err
2531 ac_status=$?
2532 if test -s conftest.err; then
2533 grep -v '^ *+' conftest.err >conftest.er1
2534 cat conftest.er1 >&5
2535 mv -f conftest.er1 conftest.err
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; } && {
2539 test -z "$ac_c_werror_flag" ||
2540 test ! -s conftest.err
2541 } && test -s conftest.$ac_objext; then :
2542 ac_retval=0
2543 else
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2547 ac_retval=1
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_c_try_compile
2554 # ac_fn_cxx_try_compile LINENO
2555 # ----------------------------
2556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2557 ac_fn_cxx_try_compile ()
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 rm -f conftest.$ac_objext
2561 if { { ac_try="$ac_compile"
2562 case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565 esac
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_compile") 2>conftest.err
2569 ac_status=$?
2570 if test -s conftest.err; then
2571 grep -v '^ *+' conftest.err >conftest.er1
2572 cat conftest.er1 >&5
2573 mv -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } && {
2577 test -z "$ac_cxx_werror_flag" ||
2578 test ! -s conftest.err
2579 } && test -s conftest.$ac_objext; then :
2580 ac_retval=0
2581 else
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 ac_retval=1
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status $ac_retval
2590 } # ac_fn_cxx_try_compile
2592 # ac_fn_c_try_link LINENO
2593 # -----------------------
2594 # Try to link conftest.$ac_ext, and return whether this succeeded.
2595 ac_fn_c_try_link ()
2597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2598 rm -f conftest.$ac_objext conftest$ac_exeext
2599 if { { ac_try="$ac_link"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_link") 2>conftest.err
2607 ac_status=$?
2608 if test -s conftest.err; then
2609 grep -v '^ *+' conftest.err >conftest.er1
2610 cat conftest.er1 >&5
2611 mv -f conftest.er1 conftest.err
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } && {
2615 test -z "$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest$ac_exeext && {
2618 test "$cross_compiling" = yes ||
2619 test -x conftest$ac_exeext
2620 }; then :
2621 ac_retval=0
2622 else
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_retval=1
2628 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2629 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2630 # interfere with the next link command; also delete a directory that is
2631 # left behind by Apple's compiler. We do this before executing the actions.
2632 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2634 as_fn_set_status $ac_retval
2636 } # ac_fn_c_try_link
2638 # ac_fn_c_try_cpp LINENO
2639 # ----------------------
2640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2641 ac_fn_c_try_cpp ()
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 if { { ac_try="$ac_cpp conftest.$ac_ext"
2645 case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2652 ac_status=$?
2653 if test -s conftest.err; then
2654 grep -v '^ *+' conftest.err >conftest.er1
2655 cat conftest.er1 >&5
2656 mv -f conftest.er1 conftest.err
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } > conftest.i && {
2660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2662 }; then :
2663 ac_retval=0
2664 else
2665 $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 ac_retval=1
2670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2671 as_fn_set_status $ac_retval
2673 } # ac_fn_c_try_cpp
2675 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2676 # -------------------------------------------------------
2677 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2678 # the include files in INCLUDES and setting the cache variable VAR
2679 # accordingly.
2680 ac_fn_c_check_header_mongrel ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 if eval \${$3+:} false; then :
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2685 $as_echo_n "checking for $2... " >&6; }
2686 if eval \${$3+:} false; then :
2687 $as_echo_n "(cached) " >&6
2689 eval ac_res=\$$3
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2691 $as_echo "$ac_res" >&6; }
2692 else
2693 # Is the header compilable?
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2695 $as_echo_n "checking $2 usability... " >&6; }
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2699 #include <$2>
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702 ac_header_compiler=yes
2703 else
2704 ac_header_compiler=no
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2708 $as_echo "$ac_header_compiler" >&6; }
2710 # Is the header present?
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2712 $as_echo_n "checking $2 presence... " >&6; }
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2715 #include <$2>
2716 _ACEOF
2717 if ac_fn_c_try_cpp "$LINENO"; then :
2718 ac_header_preproc=yes
2719 else
2720 ac_header_preproc=no
2722 rm -f conftest.err conftest.i conftest.$ac_ext
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2724 $as_echo "$ac_header_preproc" >&6; }
2726 # So? What about this header?
2727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2728 yes:no: )
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2730 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2734 no:yes:* )
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2736 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2738 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2740 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2742 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2745 ( $as_echo "## ------------------------------------ ##
2746 ## Report this to wine-devel@winehq.org ##
2747 ## ------------------------------------ ##"
2748 ) | sed "s/^/$as_me: WARNING: /" >&2
2750 esac
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2752 $as_echo_n "checking for $2... " >&6; }
2753 if eval \${$3+:} false; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 eval "$3=\$ac_header_compiler"
2758 eval ac_res=\$$3
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_header_mongrel
2766 # ac_fn_c_try_run LINENO
2767 # ----------------------
2768 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2769 # that executables *can* be run.
2770 ac_fn_c_try_run ()
2772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2773 if { { ac_try="$ac_link"
2774 case "(($ac_try" in
2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2777 esac
2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 $as_echo "$ac_try_echo"; } >&5
2780 (eval "$ac_link") 2>&5
2781 ac_status=$?
2782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2784 { { case "(($ac_try" in
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2787 esac
2788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2789 $as_echo "$ac_try_echo"; } >&5
2790 (eval "$ac_try") 2>&5
2791 ac_status=$?
2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2793 test $ac_status = 0; }; }; then :
2794 ac_retval=0
2795 else
2796 $as_echo "$as_me: program exited with status $ac_status" >&5
2797 $as_echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 ac_retval=$ac_status
2802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_c_try_run
2808 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2809 # -------------------------------------------------------
2810 # Tests whether HEADER exists and can be compiled using the include files in
2811 # INCLUDES, setting the cache variable VAR accordingly.
2812 ac_fn_c_check_header_compile ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 $as_echo_n "checking for $2... " >&6; }
2817 if eval \${$3+:} false; then :
2818 $as_echo_n "(cached) " >&6
2819 else
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2823 #include <$2>
2824 _ACEOF
2825 if ac_fn_c_try_compile "$LINENO"; then :
2826 eval "$3=yes"
2827 else
2828 eval "$3=no"
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 eval ac_res=\$$3
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 $as_echo "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_header_compile
2839 # ac_fn_c_check_func LINENO FUNC VAR
2840 # ----------------------------------
2841 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2842 ac_fn_c_check_func ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 $as_echo_n "checking for $2... " >&6; }
2847 if eval \${$3+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2852 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2854 #define $2 innocuous_$2
2856 /* System header to define __stub macros and hopefully few prototypes,
2857 which can conflict with char $2 (); below.
2858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2859 <limits.h> exists even on freestanding compilers. */
2861 #ifdef __STDC__
2862 # include <limits.h>
2863 #else
2864 # include <assert.h>
2865 #endif
2867 #undef $2
2869 /* Override any GCC internal prototype to avoid an error.
2870 Use char because int might match the return type of a GCC
2871 builtin and then its argument prototype would still apply. */
2872 #ifdef __cplusplus
2873 extern "C"
2874 #endif
2875 char $2 ();
2876 /* The GNU C library defines this for functions which it implements
2877 to always fail with ENOSYS. Some functions are actually named
2878 something starting with __ and the normal name is an alias. */
2879 #if defined __stub_$2 || defined __stub___$2
2880 choke me
2881 #endif
2884 main ()
2886 return $2 ();
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_link "$LINENO"; then :
2892 eval "$3=yes"
2893 else
2894 eval "$3=no"
2896 rm -f core conftest.err conftest.$ac_objext \
2897 conftest$ac_exeext conftest.$ac_ext
2899 eval ac_res=\$$3
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 $as_echo "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_c_check_func
2906 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2907 # ----------------------------------------------------
2908 # Tries to find if the field MEMBER exists in type AGGR, after including
2909 # INCLUDES, setting cache variable VAR accordingly.
2910 ac_fn_c_check_member ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2914 $as_echo_n "checking for $2.$3... " >&6; }
2915 if eval \${$4+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917 else
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2922 main ()
2924 static $2 ac_aggr;
2925 if (ac_aggr.$3)
2926 return 0;
2928 return 0;
2930 _ACEOF
2931 if ac_fn_c_try_compile "$LINENO"; then :
2932 eval "$4=yes"
2933 else
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2938 main ()
2940 static $2 ac_aggr;
2941 if (sizeof ac_aggr.$3)
2942 return 0;
2944 return 0;
2946 _ACEOF
2947 if ac_fn_c_try_compile "$LINENO"; then :
2948 eval "$4=yes"
2949 else
2950 eval "$4=no"
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 eval ac_res=\$$4
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2958 $as_echo "$ac_res" >&6; }
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 } # ac_fn_c_check_member
2963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2964 # -------------------------------------------
2965 # Tests whether TYPE exists after having included INCLUDES, setting cache
2966 # variable VAR accordingly.
2967 ac_fn_c_check_type ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 eval "$3=no"
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2980 main ()
2982 if (sizeof ($2))
2983 return 0;
2985 return 0;
2987 _ACEOF
2988 if ac_fn_c_try_compile "$LINENO"; then :
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2993 main ()
2995 if (sizeof (($2)))
2996 return 0;
2998 return 0;
3000 _ACEOF
3001 if ac_fn_c_try_compile "$LINENO"; then :
3003 else
3004 eval "$3=yes"
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 eval ac_res=\$$3
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3012 $as_echo "$ac_res" >&6; }
3013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 } # ac_fn_c_check_type
3016 cat >config.log <<_ACEOF
3017 This file contains any messages produced by compilers while
3018 running configure, to aid debugging if configure makes a mistake.
3020 It was created by Wine $as_me 2.0-rc4, which was
3021 generated by GNU Autoconf 2.69. Invocation command line was
3023 $ $0 $@
3025 _ACEOF
3026 exec 5>>config.log
3028 cat <<_ASUNAME
3029 ## --------- ##
3030 ## Platform. ##
3031 ## --------- ##
3033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3050 _ASUNAME
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3055 IFS=$as_save_IFS
3056 test -z "$as_dir" && as_dir=.
3057 $as_echo "PATH: $as_dir"
3058 done
3059 IFS=$as_save_IFS
3061 } >&5
3063 cat >&5 <<_ACEOF
3066 ## ----------- ##
3067 ## Core tests. ##
3068 ## ----------- ##
3070 _ACEOF
3073 # Keep a trace of the command line.
3074 # Strip out --no-create and --no-recursion so they do not pile up.
3075 # Strip out --silent because we don't want to record it for future runs.
3076 # Also quote any args containing shell meta-characters.
3077 # Make two passes to allow for proper duplicate-argument suppression.
3078 ac_configure_args=
3079 ac_configure_args0=
3080 ac_configure_args1=
3081 ac_must_keep_next=false
3082 for ac_pass in 1 2
3084 for ac_arg
3086 case $ac_arg in
3087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3089 | -silent | --silent | --silen | --sile | --sil)
3090 continue ;;
3091 *\'*)
3092 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3093 esac
3094 case $ac_pass in
3095 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3097 as_fn_append ac_configure_args1 " '$ac_arg'"
3098 if test $ac_must_keep_next = true; then
3099 ac_must_keep_next=false # Got value, back to normal.
3100 else
3101 case $ac_arg in
3102 *=* | --config-cache | -C | -disable-* | --disable-* \
3103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3105 | -with-* | --with-* | -without-* | --without-* | --x)
3106 case "$ac_configure_args0 " in
3107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3108 esac
3110 -* ) ac_must_keep_next=true ;;
3111 esac
3113 as_fn_append ac_configure_args " '$ac_arg'"
3115 esac
3116 done
3117 done
3118 { ac_configure_args0=; unset ac_configure_args0;}
3119 { ac_configure_args1=; unset ac_configure_args1;}
3121 # When interrupted or exit'd, cleanup temporary files, and complete
3122 # config.log. We remove comments because anyway the quotes in there
3123 # would cause problems or look ugly.
3124 # WARNING: Use '\'' to represent an apostrophe within the trap.
3125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3126 trap 'exit_status=$?
3127 # Save into config.log some information that might help in debugging.
3129 echo
3131 $as_echo "## ---------------- ##
3132 ## Cache variables. ##
3133 ## ---------------- ##"
3134 echo
3135 # The following way of writing the cache mishandles newlines in values,
3137 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3138 eval ac_val=\$$ac_var
3139 case $ac_val in #(
3140 *${as_nl}*)
3141 case $ac_var in #(
3142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3144 esac
3145 case $ac_var in #(
3146 _ | IFS | as_nl) ;; #(
3147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3148 *) { eval $ac_var=; unset $ac_var;} ;;
3149 esac ;;
3150 esac
3151 done
3152 (set) 2>&1 |
3153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3154 *${as_nl}ac_space=\ *)
3155 sed -n \
3156 "s/'\''/'\''\\\\'\'''\''/g;
3157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3158 ;; #(
3160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3162 esac |
3163 sort
3165 echo
3167 $as_echo "## ----------------- ##
3168 ## Output variables. ##
3169 ## ----------------- ##"
3170 echo
3171 for ac_var in $ac_subst_vars
3173 eval ac_val=\$$ac_var
3174 case $ac_val in
3175 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3176 esac
3177 $as_echo "$ac_var='\''$ac_val'\''"
3178 done | sort
3179 echo
3181 if test -n "$ac_subst_files"; then
3182 $as_echo "## ------------------- ##
3183 ## File substitutions. ##
3184 ## ------------------- ##"
3185 echo
3186 for ac_var in $ac_subst_files
3188 eval ac_val=\$$ac_var
3189 case $ac_val in
3190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3191 esac
3192 $as_echo "$ac_var='\''$ac_val'\''"
3193 done | sort
3194 echo
3197 if test -s confdefs.h; then
3198 $as_echo "## ----------- ##
3199 ## confdefs.h. ##
3200 ## ----------- ##"
3201 echo
3202 cat confdefs.h
3203 echo
3205 test "$ac_signal" != 0 &&
3206 $as_echo "$as_me: caught signal $ac_signal"
3207 $as_echo "$as_me: exit $exit_status"
3208 } >&5
3209 rm -f core *.core core.conftest.* &&
3210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3211 exit $exit_status
3213 for ac_signal in 1 2 13 15; do
3214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3215 done
3216 ac_signal=0
3218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3219 rm -f -r conftest* confdefs.h
3221 $as_echo "/* confdefs.h */" > confdefs.h
3223 # Predefined preprocessor variables.
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_NAME "$PACKAGE_NAME"
3227 _ACEOF
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3231 _ACEOF
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3235 _ACEOF
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_STRING "$PACKAGE_STRING"
3239 _ACEOF
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3243 _ACEOF
3245 cat >>confdefs.h <<_ACEOF
3246 #define PACKAGE_URL "$PACKAGE_URL"
3247 _ACEOF
3250 # Let the site file select an alternate cache file if it wants to.
3251 # Prefer an explicitly selected file to automatically selected ones.
3252 ac_site_file1=NONE
3253 ac_site_file2=NONE
3254 if test -n "$CONFIG_SITE"; then
3255 # We do not want a PATH search for config.site.
3256 case $CONFIG_SITE in #((
3257 -*) ac_site_file1=./$CONFIG_SITE;;
3258 */*) ac_site_file1=$CONFIG_SITE;;
3259 *) ac_site_file1=./$CONFIG_SITE;;
3260 esac
3261 elif test "x$prefix" != xNONE; then
3262 ac_site_file1=$prefix/share/config.site
3263 ac_site_file2=$prefix/etc/config.site
3264 else
3265 ac_site_file1=$ac_default_prefix/share/config.site
3266 ac_site_file2=$ac_default_prefix/etc/config.site
3268 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3270 test "x$ac_site_file" = xNONE && continue
3271 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3273 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3274 sed 's/^/| /' "$ac_site_file" >&5
3275 . "$ac_site_file" \
3276 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $? "failed to load site script $ac_site_file
3279 See \`config.log' for more details" "$LINENO" 5; }
3281 done
3283 if test -r "$cache_file"; then
3284 # Some versions of bash will fail to source /dev/null (special files
3285 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3286 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3288 $as_echo "$as_me: loading cache $cache_file" >&6;}
3289 case $cache_file in
3290 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3291 *) . "./$cache_file";;
3292 esac
3294 else
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3296 $as_echo "$as_me: creating cache $cache_file" >&6;}
3297 >$cache_file
3300 # Check that the precious variables saved in the cache have kept the same
3301 # value.
3302 ac_cache_corrupted=false
3303 for ac_var in $ac_precious_vars; do
3304 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3305 eval ac_new_set=\$ac_env_${ac_var}_set
3306 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3307 eval ac_new_val=\$ac_env_${ac_var}_value
3308 case $ac_old_set,$ac_new_set in
3309 set,)
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3312 ac_cache_corrupted=: ;;
3313 ,set)
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3316 ac_cache_corrupted=: ;;
3317 ,);;
3319 if test "x$ac_old_val" != "x$ac_new_val"; then
3320 # differences in whitespace do not lead to failure.
3321 ac_old_val_w=`echo x $ac_old_val`
3322 ac_new_val_w=`echo x $ac_new_val`
3323 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3326 ac_cache_corrupted=:
3327 else
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3330 eval $ac_var=\$ac_old_val
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3333 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3335 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3336 fi;;
3337 esac
3338 # Pass precious variables to config.status.
3339 if test "$ac_new_set" = set; then
3340 case $ac_new_val in
3341 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3342 *) ac_arg=$ac_var=$ac_new_val ;;
3343 esac
3344 case " $ac_configure_args " in
3345 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3346 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3347 esac
3349 done
3350 if $ac_cache_corrupted; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3355 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3357 ## -------------------- ##
3358 ## Main body of script. ##
3359 ## -------------------- ##
3361 ac_ext=c
3362 ac_cpp='$CPP $CPPFLAGS'
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 ac_config_headers="$ac_config_headers include/config.h"
3371 ac_aux_dir=
3372 for ac_dir in tools "$srcdir"/tools; do
3373 if test -f "$ac_dir/install-sh"; then
3374 ac_aux_dir=$ac_dir
3375 ac_install_sh="$ac_aux_dir/install-sh -c"
3376 break
3377 elif test -f "$ac_dir/install.sh"; then
3378 ac_aux_dir=$ac_dir
3379 ac_install_sh="$ac_aux_dir/install.sh -c"
3380 break
3381 elif test -f "$ac_dir/shtool"; then
3382 ac_aux_dir=$ac_dir
3383 ac_install_sh="$ac_aux_dir/shtool install -c"
3384 break
3386 done
3387 if test -z "$ac_aux_dir"; then
3388 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3391 # These three variables are undocumented and unsupported,
3392 # and are intended to be withdrawn in a future Autoconf release.
3393 # They can cause serious problems if a builder's source tree is in a directory
3394 # whose full name contains unusual characters.
3395 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3396 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3397 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3401 libwine_version="1.0"
3405 # Check whether --enable-win16 was given.
3406 if test "${enable_win16+set}" = set; then :
3407 enableval=$enable_win16;
3410 # Check whether --enable-win64 was given.
3411 if test "${enable_win64+set}" = set; then :
3412 enableval=$enable_win64;
3415 # Check whether --enable-tests was given.
3416 if test "${enable_tests+set}" = set; then :
3417 enableval=$enable_tests;
3420 # Check whether --enable-maintainer-mode was given.
3421 if test "${enable_maintainer_mode+set}" = set; then :
3422 enableval=$enable_maintainer_mode;
3427 # Check whether --with-alsa was given.
3428 if test "${with_alsa+set}" = set; then :
3429 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3433 # Check whether --with-capi was given.
3434 if test "${with_capi+set}" = set; then :
3435 withval=$with_capi;
3439 # Check whether --with-cms was given.
3440 if test "${with_cms+set}" = set; then :
3441 withval=$with_cms;
3445 # Check whether --with-coreaudio was given.
3446 if test "${with_coreaudio+set}" = set; then :
3447 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3451 # Check whether --with-cups was given.
3452 if test "${with_cups+set}" = set; then :
3453 withval=$with_cups;
3457 # Check whether --with-curses was given.
3458 if test "${with_curses+set}" = set; then :
3459 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3463 # Check whether --with-dbus was given.
3464 if test "${with_dbus+set}" = set; then :
3465 withval=$with_dbus;
3469 # Check whether --with-fontconfig was given.
3470 if test "${with_fontconfig+set}" = set; then :
3471 withval=$with_fontconfig;
3475 # Check whether --with-freetype was given.
3476 if test "${with_freetype+set}" = set; then :
3477 withval=$with_freetype;
3481 # Check whether --with-gettext was given.
3482 if test "${with_gettext+set}" = set; then :
3483 withval=$with_gettext;
3487 # Check whether --with-gettextpo was given.
3488 if test "${with_gettextpo+set}" = set; then :
3489 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3493 # Check whether --with-gphoto was given.
3494 if test "${with_gphoto+set}" = set; then :
3495 withval=$with_gphoto;
3499 # Check whether --with-glu was given.
3500 if test "${with_glu+set}" = set; then :
3501 withval=$with_glu;
3505 # Check whether --with-gnutls was given.
3506 if test "${with_gnutls+set}" = set; then :
3507 withval=$with_gnutls;
3511 # Check whether --with-gsm was given.
3512 if test "${with_gsm+set}" = set; then :
3513 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3517 # Check whether --with-gstreamer was given.
3518 if test "${with_gstreamer+set}" = set; then :
3519 withval=$with_gstreamer;
3523 # Check whether --with-hal was given.
3524 if test "${with_hal+set}" = set; then :
3525 withval=$with_hal;
3529 # Check whether --with-jpeg was given.
3530 if test "${with_jpeg+set}" = set; then :
3531 withval=$with_jpeg;
3535 # Check whether --with-ldap was given.
3536 if test "${with_ldap+set}" = set; then :
3537 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3541 # Check whether --with-mpg123 was given.
3542 if test "${with_mpg123+set}" = set; then :
3543 withval=$with_mpg123;
3547 # Check whether --with-netapi was given.
3548 if test "${with_netapi+set}" = set; then :
3549 withval=$with_netapi;
3553 # Check whether --with-openal was given.
3554 if test "${with_openal+set}" = set; then :
3555 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3559 # Check whether --with-opencl was given.
3560 if test "${with_opencl+set}" = set; then :
3561 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3565 # Check whether --with-opengl was given.
3566 if test "${with_opengl+set}" = set; then :
3567 withval=$with_opengl;
3571 # Check whether --with-osmesa was given.
3572 if test "${with_osmesa+set}" = set; then :
3573 withval=$with_osmesa;
3577 # Check whether --with-oss was given.
3578 if test "${with_oss+set}" = set; then :
3579 withval=$with_oss;
3583 # Check whether --with-pcap was given.
3584 if test "${with_pcap+set}" = set; then :
3585 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3589 # Check whether --with-png was given.
3590 if test "${with_png+set}" = set; then :
3591 withval=$with_png;
3595 # Check whether --with-pthread was given.
3596 if test "${with_pthread+set}" = set; then :
3597 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3601 # Check whether --with-pulse was given.
3602 if test "${with_pulse+set}" = set; then :
3603 withval=$with_pulse;
3607 # Check whether --with-sane was given.
3608 if test "${with_sane+set}" = set; then :
3609 withval=$with_sane;
3613 # Check whether --with-tiff was given.
3614 if test "${with_tiff+set}" = set; then :
3615 withval=$with_tiff;
3619 # Check whether --with-udev was given.
3620 if test "${with_udev+set}" = set; then :
3621 withval=$with_udev;
3625 # Check whether --with-v4l was given.
3626 if test "${with_v4l+set}" = set; then :
3627 withval=$with_v4l;
3631 # Check whether --with-xcomposite was given.
3632 if test "${with_xcomposite+set}" = set; then :
3633 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3637 # Check whether --with-xcursor was given.
3638 if test "${with_xcursor+set}" = set; then :
3639 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3643 # Check whether --with-xinerama was given.
3644 if test "${with_xinerama+set}" = set; then :
3645 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3649 # Check whether --with-xinput was given.
3650 if test "${with_xinput+set}" = set; then :
3651 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3655 # Check whether --with-xinput2 was given.
3656 if test "${with_xinput2+set}" = set; then :
3657 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3661 # Check whether --with-xml was given.
3662 if test "${with_xml+set}" = set; then :
3663 withval=$with_xml;
3667 # Check whether --with-xrandr was given.
3668 if test "${with_xrandr+set}" = set; then :
3669 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3673 # Check whether --with-xrender was given.
3674 if test "${with_xrender+set}" = set; then :
3675 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3679 # Check whether --with-xshape was given.
3680 if test "${with_xshape+set}" = set; then :
3681 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3685 # Check whether --with-xshm was given.
3686 if test "${with_xshm+set}" = set; then :
3687 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3691 # Check whether --with-xslt was given.
3692 if test "${with_xslt+set}" = set; then :
3693 withval=$with_xslt;
3697 # Check whether --with-xxf86vm was given.
3698 if test "${with_xxf86vm+set}" = set; then :
3699 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
3703 # Check whether --with-zlib was given.
3704 if test "${with_zlib+set}" = set; then :
3705 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3710 # Check whether --with-wine-tools was given.
3711 if test "${with_wine_tools+set}" = set; then :
3712 withval=$with_wine_tools;
3716 # Check whether --with-wine64 was given.
3717 if test "${with_wine64+set}" = set; then :
3718 withval=$with_wine64;
3722 # Make sure we can run config.sub.
3723 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3724 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3727 $as_echo_n "checking build system type... " >&6; }
3728 if ${ac_cv_build+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 ac_build_alias=$build_alias
3732 test "x$ac_build_alias" = x &&
3733 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3734 test "x$ac_build_alias" = x &&
3735 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3736 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3737 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3741 $as_echo "$ac_cv_build" >&6; }
3742 case $ac_cv_build in
3743 *-*-*) ;;
3744 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3745 esac
3746 build=$ac_cv_build
3747 ac_save_IFS=$IFS; IFS='-'
3748 set x $ac_cv_build
3749 shift
3750 build_cpu=$1
3751 build_vendor=$2
3752 shift; shift
3753 # Remember, the first character of IFS is used to create $*,
3754 # except with old shells:
3755 build_os=$*
3756 IFS=$ac_save_IFS
3757 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3761 $as_echo_n "checking host system type... " >&6; }
3762 if ${ac_cv_host+:} false; then :
3763 $as_echo_n "(cached) " >&6
3764 else
3765 if test "x$host_alias" = x; then
3766 ac_cv_host=$ac_cv_build
3767 else
3768 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3769 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3774 $as_echo "$ac_cv_host" >&6; }
3775 case $ac_cv_host in
3776 *-*-*) ;;
3777 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3778 esac
3779 host=$ac_cv_host
3780 ac_save_IFS=$IFS; IFS='-'
3781 set x $ac_cv_host
3782 shift
3783 host_cpu=$1
3784 host_vendor=$2
3785 shift; shift
3786 # Remember, the first character of IFS is used to create $*,
3787 # except with old shells:
3788 host_os=$*
3789 IFS=$ac_save_IFS
3790 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3794 case "$srcdir" in
3795 .) ;;
3796 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3797 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3798 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3799 fi ;;
3800 esac
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3804 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3805 set x ${MAKE-make}
3806 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3807 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 cat >conftest.make <<\_ACEOF
3811 SHELL = /bin/sh
3812 all:
3813 @echo '@@@%%%=$(MAKE)=@@@%%%'
3814 _ACEOF
3815 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3816 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3817 *@@@%%%=?*=@@@%%%*)
3818 eval ac_cv_prog_make_${ac_make}_set=yes;;
3820 eval ac_cv_prog_make_${ac_make}_set=no;;
3821 esac
3822 rm -f conftest.make
3824 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3826 $as_echo "yes" >&6; }
3827 SET_MAKE=
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3831 SET_MAKE="MAKE=${MAKE-make}"
3834 ac_ext=c
3835 ac_cpp='$CPP $CPPFLAGS'
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839 if test -n "$ac_tool_prefix"; then
3840 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3841 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 CC=$ac_cv_prog_CC
3868 if test -n "$CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3870 $as_echo "$CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3878 if test -z "$ac_cv_prog_CC"; then
3879 ac_ct_CC=$CC
3880 # Extract the first word of "gcc", so it can be a program name with args.
3881 set dummy gcc; ac_word=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test -n "$ac_ct_CC"; then
3888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3889 else
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3893 IFS=$as_save_IFS
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_ac_ct_CC="gcc"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 break 2
3901 done
3902 done
3903 IFS=$as_save_IFS
3907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3908 if test -n "$ac_ct_CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3910 $as_echo "$ac_ct_CC" >&6; }
3911 else
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3916 if test "x$ac_ct_CC" = x; then
3917 CC=""
3918 else
3919 case $cross_compiling:$ac_tool_warned in
3920 yes:)
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3923 ac_tool_warned=yes ;;
3924 esac
3925 CC=$ac_ct_CC
3927 else
3928 CC="$ac_cv_prog_CC"
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}cc; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CC+:} false; then :
3938 $as_echo_n "(cached) " >&6
3939 else
3940 if test -n "$CC"; then
3941 ac_cv_prog_CC="$CC" # Let the user override the test.
3942 else
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 for as_dir in $PATH
3946 IFS=$as_save_IFS
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_prog_CC="${ac_tool_prefix}cc"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 break 2
3954 done
3955 done
3956 IFS=$as_save_IFS
3960 CC=$ac_cv_prog_CC
3961 if test -n "$CC"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3963 $as_echo "$CC" >&6; }
3964 else
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3972 if test -z "$CC"; then
3973 # Extract the first word of "cc", so it can be a program name with args.
3974 set dummy cc; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$CC"; then
3981 ac_cv_prog_CC="$CC" # Let the user override the test.
3982 else
3983 ac_prog_rejected=no
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3992 ac_prog_rejected=yes
3993 continue
3995 ac_cv_prog_CC="cc"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 break 2
3999 done
4000 done
4001 IFS=$as_save_IFS
4003 if test $ac_prog_rejected = yes; then
4004 # We found a bogon in the path, so make sure we never use it.
4005 set dummy $ac_cv_prog_CC
4006 shift
4007 if test $# != 0; then
4008 # We chose a different compiler from the bogus one.
4009 # However, it has the same basename, so the bogon will be chosen
4010 # first if we set CC to just the basename; use the full file name.
4011 shift
4012 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4017 CC=$ac_cv_prog_CC
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4021 else
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$CC"; then
4029 if test -n "$ac_tool_prefix"; then
4030 for ac_prog in cl.exe
4032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC="$CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4055 IFS=$as_save_IFS
4059 CC=$ac_cv_prog_CC
4060 if test -n "$CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4062 $as_echo "$CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4069 test -n "$CC" && break
4070 done
4072 if test -z "$CC"; then
4073 ac_ct_CC=$CC
4074 for ac_prog in cl.exe
4076 # Extract the first word of "$ac_prog", so it can be a program name with args.
4077 set dummy $ac_prog; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 if test -n "$ac_ct_CC"; then
4084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4085 else
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 for as_dir in $PATH
4089 IFS=$as_save_IFS
4090 test -z "$as_dir" && as_dir=.
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_ac_ct_CC="$ac_prog"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 break 2
4097 done
4098 done
4099 IFS=$as_save_IFS
4103 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4104 if test -n "$ac_ct_CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4106 $as_echo "$ac_ct_CC" >&6; }
4107 else
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4113 test -n "$ac_ct_CC" && break
4114 done
4116 if test "x$ac_ct_CC" = x; then
4117 CC=""
4118 else
4119 case $cross_compiling:$ac_tool_warned in
4120 yes:)
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4123 ac_tool_warned=yes ;;
4124 esac
4125 CC=$ac_ct_CC
4132 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error $? "no acceptable C compiler found in \$PATH
4135 See \`config.log' for more details" "$LINENO" 5; }
4137 # Provide some information about the compiler.
4138 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4139 set X $ac_compile
4140 ac_compiler=$2
4141 for ac_option in --version -v -V -qversion; do
4142 { { ac_try="$ac_compiler $ac_option >&5"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4150 ac_status=$?
4151 if test -s conftest.err; then
4152 sed '10a\
4153 ... rest of stderr output deleted ...
4154 10q' conftest.err >conftest.er1
4155 cat conftest.er1 >&5
4157 rm -f conftest.er1 conftest.err
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }
4160 done
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 ac_clean_files_save=$ac_clean_files
4174 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4175 # Try to create an executable without -o first, disregard a.out.
4176 # It will help us diagnose broken compilers, and finding out an intuition
4177 # of exeext.
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4179 $as_echo_n "checking whether the C compiler works... " >&6; }
4180 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4182 # The possible output files:
4183 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4185 ac_rmfiles=
4186 for ac_file in $ac_files
4188 case $ac_file in
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4190 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4191 esac
4192 done
4193 rm -f $ac_rmfiles
4195 if { { ac_try="$ac_link_default"
4196 case "(($ac_try" in
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4199 esac
4200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4201 $as_echo "$ac_try_echo"; } >&5
4202 (eval "$ac_link_default") 2>&5
4203 ac_status=$?
4204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4205 test $ac_status = 0; }; then :
4206 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4207 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4208 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4209 # so that the user can short-circuit this test for compilers unknown to
4210 # Autoconf.
4211 for ac_file in $ac_files ''
4213 test -f "$ac_file" || continue
4214 case $ac_file in
4215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4217 [ab].out )
4218 # We found the default executable, but exeext='' is most
4219 # certainly right.
4220 break;;
4221 *.* )
4222 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4223 then :; else
4224 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4226 # We set ac_cv_exeext here because the later test for it is not
4227 # safe: cross compilers may not add the suffix if given an `-o'
4228 # argument, so we may need to know it at that point already.
4229 # Even if this section looks crufty: it has the advantage of
4230 # actually working.
4231 break;;
4233 break;;
4234 esac
4235 done
4236 test "$ac_cv_exeext" = no && ac_cv_exeext=
4238 else
4239 ac_file=''
4241 if test -z "$ac_file"; then :
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4244 $as_echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 as_fn_error 77 "C compiler cannot create executables
4250 See \`config.log' for more details" "$LINENO" 5; }
4251 else
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4253 $as_echo "yes" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4256 $as_echo_n "checking for C compiler default output file name... " >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4258 $as_echo "$ac_file" >&6; }
4259 ac_exeext=$ac_cv_exeext
4261 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4262 ac_clean_files=$ac_clean_files_save
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4264 $as_echo_n "checking for suffix of executables... " >&6; }
4265 if { { ac_try="$ac_link"
4266 case "(($ac_try" in
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4269 esac
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_link") 2>&5
4273 ac_status=$?
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4278 # work properly (i.e., refer to `conftest.exe'), while it won't with
4279 # `rm'.
4280 for ac_file in conftest.exe conftest conftest.*; do
4281 test -f "$ac_file" || continue
4282 case $ac_file in
4283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4285 break;;
4286 * ) break;;
4287 esac
4288 done
4289 else
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4293 See \`config.log' for more details" "$LINENO" 5; }
4295 rm -f conftest conftest$ac_cv_exeext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4297 $as_echo "$ac_cv_exeext" >&6; }
4299 rm -f conftest.$ac_ext
4300 EXEEXT=$ac_cv_exeext
4301 ac_exeext=$EXEEXT
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4304 #include <stdio.h>
4306 main ()
4308 FILE *f = fopen ("conftest.out", "w");
4309 return ferror (f) || fclose (f) != 0;
4312 return 0;
4314 _ACEOF
4315 ac_clean_files="$ac_clean_files conftest.out"
4316 # Check that the compiler produces executables we can run. If not, either
4317 # the compiler is broken, or we cross compile.
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4319 $as_echo_n "checking whether we are cross compiling... " >&6; }
4320 if test "$cross_compiling" != yes; then
4321 { { ac_try="$ac_link"
4322 case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_link") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }
4332 if { ac_try='./conftest$ac_cv_exeext'
4333 { { case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_try") 2>&5
4340 ac_status=$?
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }; }; then
4343 cross_compiling=no
4344 else
4345 if test "$cross_compiling" = maybe; then
4346 cross_compiling=yes
4347 else
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error $? "cannot run C compiled programs.
4351 If you meant to cross compile, use \`--host'.
4352 See \`config.log' for more details" "$LINENO" 5; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4357 $as_echo "$cross_compiling" >&6; }
4359 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4360 ac_clean_files=$ac_clean_files_save
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4362 $as_echo_n "checking for suffix of object files... " >&6; }
4363 if ${ac_cv_objext+:} false; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4370 main ()
4374 return 0;
4376 _ACEOF
4377 rm -f conftest.o conftest.obj
4378 if { { ac_try="$ac_compile"
4379 case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4382 esac
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_compile") 2>&5
4386 ac_status=$?
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then :
4389 for ac_file in conftest.o conftest.obj conftest.*; do
4390 test -f "$ac_file" || continue;
4391 case $ac_file in
4392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4393 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4394 break;;
4395 esac
4396 done
4397 else
4398 $as_echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.$ac_ext >&5
4401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403 as_fn_error $? "cannot compute suffix of object files: cannot compile
4404 See \`config.log' for more details" "$LINENO" 5; }
4406 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4409 $as_echo "$ac_cv_objext" >&6; }
4410 OBJEXT=$ac_cv_objext
4411 ac_objext=$OBJEXT
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4413 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4414 if ${ac_cv_c_compiler_gnu+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4421 main ()
4423 #ifndef __GNUC__
4424 choke me
4425 #endif
4428 return 0;
4430 _ACEOF
4431 if ac_fn_c_try_compile "$LINENO"; then :
4432 ac_compiler_gnu=yes
4433 else
4434 ac_compiler_gnu=no
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4441 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4442 if test $ac_compiler_gnu = yes; then
4443 GCC=yes
4444 else
4445 GCC=
4447 ac_test_CFLAGS=${CFLAGS+set}
4448 ac_save_CFLAGS=$CFLAGS
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4450 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4451 if ${ac_cv_prog_cc_g+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 ac_save_c_werror_flag=$ac_c_werror_flag
4455 ac_c_werror_flag=yes
4456 ac_cv_prog_cc_g=no
4457 CFLAGS="-g"
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4462 main ()
4466 return 0;
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470 ac_cv_prog_cc_g=yes
4471 else
4472 CFLAGS=""
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"; then :
4486 else
4487 ac_c_werror_flag=$ac_save_c_werror_flag
4488 CFLAGS="-g"
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_prog_cc_g=yes
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 ac_c_werror_flag=$ac_save_c_werror_flag
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4511 $as_echo "$ac_cv_prog_cc_g" >&6; }
4512 if test "$ac_test_CFLAGS" = set; then
4513 CFLAGS=$ac_save_CFLAGS
4514 elif test $ac_cv_prog_cc_g = yes; then
4515 if test "$GCC" = yes; then
4516 CFLAGS="-g -O2"
4517 else
4518 CFLAGS="-g"
4520 else
4521 if test "$GCC" = yes; then
4522 CFLAGS="-O2"
4523 else
4524 CFLAGS=
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4528 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4529 if ${ac_cv_prog_cc_c89+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 ac_cv_prog_cc_c89=no
4533 ac_save_CC=$CC
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536 #include <stdarg.h>
4537 #include <stdio.h>
4538 struct stat;
4539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4540 struct buf { int x; };
4541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4542 static char *e (p, i)
4543 char **p;
4544 int i;
4546 return p[i];
4548 static char *f (char * (*g) (char **, int), char **p, ...)
4550 char *s;
4551 va_list v;
4552 va_start (v,p);
4553 s = g (p, va_arg (v,int));
4554 va_end (v);
4555 return s;
4558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4559 function prototypes and stuff, but not '\xHH' hex character constants.
4560 These don't provoke an error unfortunately, instead are silently treated
4561 as 'x'. The following induces an error, until -std is added to get
4562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4563 array size at least. It's necessary to write '\x00'==0 to get something
4564 that's true only with -std. */
4565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4568 inside strings and character constants. */
4569 #define FOO(x) 'x'
4570 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4572 int test (int i, double x);
4573 struct s1 {int (*f) (int a);};
4574 struct s2 {int (*f) (double a);};
4575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4576 int argc;
4577 char **argv;
4579 main ()
4581 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4583 return 0;
4585 _ACEOF
4586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4587 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4589 CC="$ac_save_CC $ac_arg"
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_c89=$ac_arg
4593 rm -f core conftest.err conftest.$ac_objext
4594 test "x$ac_cv_prog_cc_c89" != "xno" && break
4595 done
4596 rm -f conftest.$ac_ext
4597 CC=$ac_save_CC
4600 # AC_CACHE_VAL
4601 case "x$ac_cv_prog_cc_c89" in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4604 $as_echo "none needed" >&6; } ;;
4605 xno)
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4607 $as_echo "unsupported" >&6; } ;;
4609 CC="$CC $ac_cv_prog_cc_c89"
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4611 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4612 esac
4613 if test "x$ac_cv_prog_cc_c89" != xno; then :
4617 ac_ext=c
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4623 ac_ext=cpp
4624 ac_cpp='$CXXCPP $CPPFLAGS'
4625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4628 if test -z "$CXX"; then
4629 if test -n "$CCC"; then
4630 CXX=$CCC
4631 else
4632 if test -n "$ac_tool_prefix"; then
4633 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if ${ac_cv_prog_CXX+:} false; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 if test -n "$CXX"; then
4643 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4644 else
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH
4648 IFS=$as_save_IFS
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 break 2
4656 done
4657 done
4658 IFS=$as_save_IFS
4662 CXX=$ac_cv_prog_CXX
4663 if test -n "$CXX"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4665 $as_echo "$CXX" >&6; }
4666 else
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$CXX" && break
4673 done
4675 if test -z "$CXX"; then
4676 ac_ct_CXX=$CXX
4677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4679 # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy $ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$ac_ct_CXX"; then
4687 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CXX="$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4707 if test -n "$ac_ct_CXX"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4709 $as_echo "$ac_ct_CXX" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$ac_ct_CXX" && break
4717 done
4719 if test "x$ac_ct_CXX" = x; then
4720 CXX="g++"
4721 else
4722 case $cross_compiling:$ac_tool_warned in
4723 yes:)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4727 esac
4728 CXX=$ac_ct_CXX
4734 # Provide some information about the compiler.
4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4736 set X $ac_compile
4737 ac_compiler=$2
4738 for ac_option in --version -v -V -qversion; do
4739 { { ac_try="$ac_compiler $ac_option >&5"
4740 case "(($ac_try" in
4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4743 esac
4744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4747 ac_status=$?
4748 if test -s conftest.err; then
4749 sed '10a\
4750 ... rest of stderr output deleted ...
4751 10q' conftest.err >conftest.er1
4752 cat conftest.er1 >&5
4754 rm -f conftest.er1 conftest.err
4755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4756 test $ac_status = 0; }
4757 done
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4760 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4761 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4770 #ifndef __GNUC__
4771 choke me
4772 #endif
4775 return 0;
4777 _ACEOF
4778 if ac_fn_cxx_try_compile "$LINENO"; then :
4779 ac_compiler_gnu=yes
4780 else
4781 ac_compiler_gnu=no
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4788 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4789 if test $ac_compiler_gnu = yes; then
4790 GXX=yes
4791 else
4792 GXX=
4794 ac_test_CXXFLAGS=${CXXFLAGS+set}
4795 ac_save_CXXFLAGS=$CXXFLAGS
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4797 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4798 if ${ac_cv_prog_cxx_g+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800 else
4801 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4802 ac_cxx_werror_flag=yes
4803 ac_cv_prog_cxx_g=no
4804 CXXFLAGS="-g"
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4809 main ()
4813 return 0;
4815 _ACEOF
4816 if ac_fn_cxx_try_compile "$LINENO"; then :
4817 ac_cv_prog_cxx_g=yes
4818 else
4819 CXXFLAGS=""
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4833 else
4834 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4835 CXXFLAGS="-g"
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4840 main ()
4844 return 0;
4846 _ACEOF
4847 if ac_fn_cxx_try_compile "$LINENO"; then :
4848 ac_cv_prog_cxx_g=yes
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4858 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4859 if test "$ac_test_CXXFLAGS" = set; then
4860 CXXFLAGS=$ac_save_CXXFLAGS
4861 elif test $ac_cv_prog_cxx_g = yes; then
4862 if test "$GXX" = yes; then
4863 CXXFLAGS="-g -O2"
4864 else
4865 CXXFLAGS="-g"
4867 else
4868 if test "$GXX" = yes; then
4869 CXXFLAGS="-O2"
4870 else
4871 CXXFLAGS=
4874 ac_ext=c
4875 ac_cpp='$CPP $CPPFLAGS'
4876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_CPPBIN+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$CPPBIN"; then
4889 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 CPPBIN=$ac_cv_prog_CPPBIN
4909 if test -n "$CPPBIN"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4911 $as_echo "$CPPBIN" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_CPPBIN"; then
4920 ac_ct_CPPBIN=$CPPBIN
4921 # Extract the first word of "cpp", so it can be a program name with args.
4922 set dummy cpp; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$ac_ct_CPPBIN"; then
4929 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_CPPBIN="cpp"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4949 if test -n "$ac_ct_CPPBIN"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4951 $as_echo "$ac_ct_CPPBIN" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_CPPBIN" = x; then
4958 CPPBIN="cpp"
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 CPPBIN=$ac_ct_CPPBIN
4968 else
4969 CPPBIN="$ac_cv_prog_CPPBIN"
4973 cat >>confdefs.h <<_ACEOF
4974 #define EXEEXT "$ac_exeext"
4975 _ACEOF
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4979 set dummy ${ac_tool_prefix}ld; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_LD+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 if test -n "$LD"; then
4986 ac_cv_prog_LD="$LD" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_LD="${ac_tool_prefix}ld"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 LD=$ac_cv_prog_LD
5006 if test -n "$LD"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5008 $as_echo "$LD" >&6; }
5009 else
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5016 if test -z "$ac_cv_prog_LD"; then
5017 ac_ct_LD=$LD
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD="ld"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5048 $as_echo "$ac_ct_LD" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5054 if test "x$ac_ct_LD" = x; then
5055 LD=""
5056 else
5057 case $cross_compiling:$ac_tool_warned in
5058 yes:)
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned=yes ;;
5062 esac
5063 LD=$ac_ct_LD
5065 else
5066 LD="$ac_cv_prog_LD"
5070 case $host in
5071 *-darwin*)
5072 with_fontconfig=${with_fontconfig:-no}
5074 *-mingw32*|*-cygwin*)
5075 enable_win16=${enable_win16:-no}
5076 CFLAGS="$CFLAGS -D_WIN32"
5078 esac
5080 case $host in
5081 x86_64*|amd64*)
5082 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5083 then
5084 CC="$CC -m32"
5085 CXX="$CXX -m32"
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5087 $as_echo_n "checking whether $CC works... " >&6; }
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5093 main ()
5097 return 0;
5099 _ACEOF
5100 if ac_fn_c_try_link "$LINENO"; then :
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5102 $as_echo "yes" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5106 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5108 rm -f core conftest.err conftest.$ac_objext \
5109 conftest$ac_exeext conftest.$ac_ext
5110 host_cpu="i386"
5111 notice_platform="32-bit "
5112 TARGETFLAGS="-m32"
5114 enable_win16=${enable_win16:-yes}
5115 else
5116 if test "x${GCC}" = "xyes"
5117 then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5119 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 #include <stdarg.h>
5124 main ()
5126 void func(__builtin_ms_va_list *args);
5128 return 0;
5130 _ACEOF
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5133 $as_echo "yes" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5141 CC="$CC -m64"
5142 CXX="$CXX -m64"
5143 host_cpu="x86_64"
5144 notice_platform="64-bit "
5145 TARGETFLAGS="-m64"
5149 arm*)
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5151 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 int ac_test(int i) { return i; }
5156 main ()
5158 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5160 return 0;
5162 _ACEOF
5163 if ac_fn_c_try_link "$LINENO"; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5165 $as_echo "yes" >&6; }
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5171 rm -f core conftest.err conftest.$ac_objext \
5172 conftest$ac_exeext conftest.$ac_ext
5173 CFLAGS="$CFLAGS -marm"
5174 TARGETFLAGS="-marm"
5177 i[3456789]86*)
5178 enable_win16=${enable_win16:-yes}
5180 esac
5182 enable_win16=${enable_win16:-no}
5183 enable_win64=${enable_win64:-no}
5185 enable_winetest=${enable_winetest:-$enable_tests}
5187 if test -n "$with_wine64"
5188 then
5189 if test "x$enable_win64" = "xyes"
5190 then
5191 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5192 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5194 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5195 You should create a separate build directory and run configure from there." "$LINENO" 5
5196 enable_fonts=${enable_fonts:-no}
5197 enable_server=${enable_server:-no}
5198 elif test "x$enable_win64" = "xyes"
5199 then
5200 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5204 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5205 if ${wine_cv_toolsdir+:} false; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 wine_cv_toolsdir="$with_wine_tools"
5209 if test -z "$with_wine_tools"; then
5210 if test "$cross_compiling" = "yes"; then
5211 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5212 elif test -n "$with_wine64"; then
5213 wine_cv_toolsdir="$with_wine64"
5216 if test -z "$wine_cv_toolsdir"; then
5217 wine_makedep=tools/makedep
5218 wine_cv_toolsdir="\$(top_builddir)"
5219 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5220 wine_makedep=$wine_cv_toolsdir/tools/makedep
5221 case "$wine_cv_toolsdir" in
5222 /*) ;;
5223 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5224 esac
5225 enable_tools=${enable_tools:-no}
5226 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5227 else
5228 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5232 $as_echo "$wine_cv_toolsdir" >&6; }
5233 TOOLSDIR=$wine_cv_toolsdir
5235 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5236 then
5237 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5241 for ac_prog in flex
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy $ac_prog; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_FLEX+:} false; then :
5248 $as_echo_n "(cached) " >&6
5249 else
5250 if test -n "$FLEX"; then
5251 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5252 else
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_FLEX="$ac_prog"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 break 2
5264 done
5265 done
5266 IFS=$as_save_IFS
5270 FLEX=$ac_cv_prog_FLEX
5271 if test -n "$FLEX"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5273 $as_echo "$FLEX" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 test -n "$FLEX" && break
5281 done
5282 test -n "$FLEX" || FLEX="none"
5284 if test "$FLEX" = "none"
5285 then
5286 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5289 $as_echo_n "checking whether flex is recent enough... " >&6; }
5290 cat >conftest.l <<EOF
5291 %top{
5292 #include "prediluvian.h"
5296 if $FLEX -t conftest.l >/dev/null 2>&5
5297 then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5300 else
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5303 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5306 for ac_prog in bison
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy $ac_prog; ac_word=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_BISON+:} false; then :
5313 $as_echo_n "(cached) " >&6
5314 else
5315 if test -n "$BISON"; then
5316 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_BISON="$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5331 IFS=$as_save_IFS
5335 BISON=$ac_cv_prog_BISON
5336 if test -n "$BISON"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5338 $as_echo "$BISON" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$BISON" && break
5346 done
5347 test -n "$BISON" || BISON="none"
5349 if test "$BISON" = "none"
5350 then
5351 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5354 if test -n "$ac_tool_prefix"; then
5355 for ac_prog in ar gar
5357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if ${ac_cv_prog_AR+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 if test -n "$AR"; then
5365 ac_cv_prog_AR="$AR" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 AR=$ac_cv_prog_AR
5385 if test -n "$AR"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5387 $as_echo "$AR" >&6; }
5388 else
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5394 test -n "$AR" && break
5395 done
5397 if test -z "$AR"; then
5398 ac_ct_AR=$AR
5399 for ac_prog in ar gar
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402 set dummy $ac_prog; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 if test -n "$ac_ct_AR"; then
5409 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_AR="$ac_prog"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5428 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5429 if test -n "$ac_ct_AR"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5431 $as_echo "$ac_ct_AR" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5438 test -n "$ac_ct_AR" && break
5439 done
5441 if test "x$ac_ct_AR" = x; then
5442 AR="ar"
5443 else
5444 case $cross_compiling:$ac_tool_warned in
5445 yes:)
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5448 ac_tool_warned=yes ;;
5449 esac
5450 AR=$ac_ct_AR
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}strip; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_STRIP+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$STRIP"; then
5463 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 STRIP=$ac_cv_prog_STRIP
5483 if test -n "$STRIP"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5485 $as_echo "$STRIP" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_STRIP"; then
5494 ac_ct_STRIP=$STRIP
5495 # Extract the first word of "strip", so it can be a program name with args.
5496 set dummy strip; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$ac_ct_STRIP"; then
5503 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_ac_ct_STRIP="strip"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5523 if test -n "$ac_ct_STRIP"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5525 $as_echo "$ac_ct_STRIP" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_STRIP" = x; then
5532 STRIP="strip"
5533 else
5534 case $cross_compiling:$ac_tool_warned in
5535 yes:)
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned=yes ;;
5539 esac
5540 STRIP=$ac_ct_STRIP
5542 else
5543 STRIP="$ac_cv_prog_STRIP"
5546 ARFLAGS=rc
5548 if test -n "$ac_tool_prefix"; then
5549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5550 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_RANLIB+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if test -n "$RANLIB"; then
5557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 RANLIB=$ac_cv_prog_RANLIB
5577 if test -n "$RANLIB"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5579 $as_echo "$RANLIB" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5587 if test -z "$ac_cv_prog_RANLIB"; then
5588 ac_ct_RANLIB=$RANLIB
5589 # Extract the first word of "ranlib", so it can be a program name with args.
5590 set dummy ranlib; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$ac_ct_RANLIB"; then
5597 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_ac_ct_RANLIB="ranlib"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5617 if test -n "$ac_ct_RANLIB"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5619 $as_echo "$ac_ct_RANLIB" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5625 if test "x$ac_ct_RANLIB" = x; then
5626 RANLIB=":"
5627 else
5628 case $cross_compiling:$ac_tool_warned in
5629 yes:)
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632 ac_tool_warned=yes ;;
5633 esac
5634 RANLIB=$ac_ct_RANLIB
5636 else
5637 RANLIB="$ac_cv_prog_RANLIB"
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5641 $as_echo_n "checking whether ln -s works... " >&6; }
5642 LN_S=$as_ln_s
5643 if test "$LN_S" = "ln -s"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5645 $as_echo "yes" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5648 $as_echo "no, using $LN_S" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5653 if ${ac_cv_path_GREP+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 if test -z "$GREP"; then
5657 ac_path_GREP_found=false
5658 # Loop through the user's path and test for each of PROGNAME-LIST
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5662 IFS=$as_save_IFS
5663 test -z "$as_dir" && as_dir=.
5664 for ac_prog in grep ggrep; do
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5667 as_fn_executable_p "$ac_path_GREP" || continue
5668 # Check for GNU ac_path_GREP and select it if it is found.
5669 # Check for GNU $ac_path_GREP
5670 case `"$ac_path_GREP" --version 2>&1` in
5671 *GNU*)
5672 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5674 ac_count=0
5675 $as_echo_n 0123456789 >"conftest.in"
5676 while :
5678 cat "conftest.in" "conftest.in" >"conftest.tmp"
5679 mv "conftest.tmp" "conftest.in"
5680 cp "conftest.in" "conftest.nl"
5681 $as_echo 'GREP' >> "conftest.nl"
5682 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5683 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5684 as_fn_arith $ac_count + 1 && ac_count=$as_val
5685 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5686 # Best one so far, save it but keep looking for a better one
5687 ac_cv_path_GREP="$ac_path_GREP"
5688 ac_path_GREP_max=$ac_count
5690 # 10*(2^10) chars as input seems more than enough
5691 test $ac_count -gt 10 && break
5692 done
5693 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5694 esac
5696 $ac_path_GREP_found && break 3
5697 done
5698 done
5699 done
5700 IFS=$as_save_IFS
5701 if test -z "$ac_cv_path_GREP"; then
5702 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5704 else
5705 ac_cv_path_GREP=$GREP
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5710 $as_echo "$ac_cv_path_GREP" >&6; }
5711 GREP="$ac_cv_path_GREP"
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5715 $as_echo_n "checking for egrep... " >&6; }
5716 if ${ac_cv_path_EGREP+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5720 then ac_cv_path_EGREP="$GREP -E"
5721 else
5722 if test -z "$EGREP"; then
5723 ac_path_EGREP_found=false
5724 # Loop through the user's path and test for each of PROGNAME-LIST
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_prog in egrep; do
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5733 as_fn_executable_p "$ac_path_EGREP" || continue
5734 # Check for GNU ac_path_EGREP and select it if it is found.
5735 # Check for GNU $ac_path_EGREP
5736 case `"$ac_path_EGREP" --version 2>&1` in
5737 *GNU*)
5738 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5740 ac_count=0
5741 $as_echo_n 0123456789 >"conftest.in"
5742 while :
5744 cat "conftest.in" "conftest.in" >"conftest.tmp"
5745 mv "conftest.tmp" "conftest.in"
5746 cp "conftest.in" "conftest.nl"
5747 $as_echo 'EGREP' >> "conftest.nl"
5748 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5750 as_fn_arith $ac_count + 1 && ac_count=$as_val
5751 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5752 # Best one so far, save it but keep looking for a better one
5753 ac_cv_path_EGREP="$ac_path_EGREP"
5754 ac_path_EGREP_max=$ac_count
5756 # 10*(2^10) chars as input seems more than enough
5757 test $ac_count -gt 10 && break
5758 done
5759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5760 esac
5762 $ac_path_EGREP_found && break 3
5763 done
5764 done
5765 done
5766 IFS=$as_save_IFS
5767 if test -z "$ac_cv_path_EGREP"; then
5768 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5770 else
5771 ac_cv_path_EGREP=$EGREP
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5777 $as_echo "$ac_cv_path_EGREP" >&6; }
5778 EGREP="$ac_cv_path_EGREP"
5781 # Extract the first word of "ldconfig", so it can be a program name with args.
5782 set dummy ldconfig; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_path_LDCONFIG+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 case $LDCONFIG in
5789 [\\/]* | ?:[\\/]*)
5790 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in /sbin /usr/sbin $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5808 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5810 esac
5812 LDCONFIG=$ac_cv_path_LDCONFIG
5813 if test -n "$LDCONFIG"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5815 $as_echo "$LDCONFIG" >&6; }
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5822 for ac_prog in msgfmt
5824 # Extract the first word of "$ac_prog", so it can be a program name with args.
5825 set dummy $ac_prog; ac_word=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_MSGFMT+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 if test -n "$MSGFMT"; then
5832 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5833 else
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 for as_dir in $PATH
5837 IFS=$as_save_IFS
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_MSGFMT="$ac_prog"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 break 2
5845 done
5846 done
5847 IFS=$as_save_IFS
5851 MSGFMT=$ac_cv_prog_MSGFMT
5852 if test -n "$MSGFMT"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5854 $as_echo "$MSGFMT" >&6; }
5855 else
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 test -n "$MSGFMT" && break
5862 done
5863 test -n "$MSGFMT" || MSGFMT="false"
5865 if ${ac_tool_prefix+:} false; then :
5866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$PKG_CONFIG"; then
5874 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5894 if test -n "$PKG_CONFIG"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5896 $as_echo "$PKG_CONFIG" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5904 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5905 if test "x$cross_compiling" = xyes; then :
5907 else
5908 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5909 # Extract the first word of "pkg-config", so it can be a program name with args.
5910 set dummy pkg-config; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$PKG_CONFIG"; then
5917 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_PKG_CONFIG="pkg-config"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5937 if test -n "$PKG_CONFIG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5939 $as_echo "$PKG_CONFIG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 else
5948 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5951 if test "x$enable_maintainer_mode" != "xyes"
5952 then
5953 FONTFORGE=""
5954 RSVG=""
5955 CONVERT=""
5956 ICOTOOL=""
5957 else
5958 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5959 for ac_prog in fontforge
5961 # Extract the first word of "$ac_prog", so it can be a program name with args.
5962 set dummy $ac_prog; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_FONTFORGE+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 if test -n "$FONTFORGE"; then
5969 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_FONTFORGE="$ac_prog"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 break 2
5982 done
5983 done
5984 IFS=$as_save_IFS
5988 FONTFORGE=$ac_cv_prog_FONTFORGE
5989 if test -n "$FONTFORGE"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5991 $as_echo "$FONTFORGE" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 test -n "$FONTFORGE" && break
5999 done
6000 test -n "$FONTFORGE" || FONTFORGE="false"
6002 for ac_prog in rsvg-convert rsvg
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RSVG+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$RSVG"; then
6012 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_RSVG="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 RSVG=$ac_cv_prog_RSVG
6032 if test -n "$RSVG"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6034 $as_echo "$RSVG" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$RSVG" && break
6042 done
6043 test -n "$RSVG" || RSVG="false"
6045 for ac_prog in convert
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_CONVERT+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$CONVERT"; then
6055 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_CONVERT="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 CONVERT=$ac_cv_prog_CONVERT
6075 if test -n "$CONVERT"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6077 $as_echo "$CONVERT" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$CONVERT" && break
6085 done
6086 test -n "$CONVERT" || CONVERT="false"
6088 for ac_prog in icotool
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_ICOTOOL+:} false; then :
6095 $as_echo_n "(cached) " >&6
6096 else
6097 if test -n "$ICOTOOL"; then
6098 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_ICOTOOL="$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6111 done
6112 done
6113 IFS=$as_save_IFS
6117 ICOTOOL=$ac_cv_prog_ICOTOOL
6118 if test -n "$ICOTOOL"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6120 $as_echo "$ICOTOOL" >&6; }
6121 else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$ICOTOOL" && break
6128 done
6129 test -n "$ICOTOOL" || ICOTOOL="false"
6131 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6132 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6134 if test "$CONVERT" = false
6135 then
6136 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6139 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6140 convert_version=`convert --version | head -n1`
6141 if test "x$convert_version" != "x"
6142 then
6143 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6144 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6145 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6146 then
6147 CONVERT=false
6150 if test "$CONVERT" = false
6151 then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6153 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6154 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6157 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6161 if test "$ICOTOOL" = false
6162 then
6163 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6164 else
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6166 $as_echo_n "checking for recent enough icotool... " >&6; }
6167 icotool_version=`icotool --version | head -n1`
6168 if test "x$icotool_version" != "x"
6169 then
6170 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6171 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6172 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6173 then
6174 ICOTOOL=false
6175 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6178 if test "$ICOTOOL" = false
6179 then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6181 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6182 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6185 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6189 with_gettext=yes
6190 with_gettextpo=yes
6191 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6194 test "x$with_gettext" != xno || MSGFMT=false
6195 if test "$MSGFMT" != "false"
6196 then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6198 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6199 cat >conftest.po <<EOF
6200 # comment
6201 msgctxt "ctxt"
6202 msgid "id"
6203 msgstr "str"
6205 if $MSGFMT -o /dev/null conftest.po 2>&5
6206 then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6208 $as_echo "yes" >&6; }
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6212 MSGFMT=false
6215 if test "$MSGFMT" = false; then :
6216 case "x$with_gettext" in
6217 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6218 xno) ;;
6219 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6220 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6221 esac
6222 enable_po=${enable_po:-no}
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6227 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6228 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 ac_check_lib_save_LIBS=$LIBS
6232 LIBS="-li386 $LIBS"
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6236 /* Override any GCC internal prototype to avoid an error.
6237 Use char because int might match the return type of a GCC
6238 builtin and then its argument prototype would still apply. */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 char i386_set_ldt ();
6244 main ()
6246 return i386_set_ldt ();
6248 return 0;
6250 _ACEOF
6251 if ac_fn_c_try_link "$LINENO"; then :
6252 ac_cv_lib_i386_i386_set_ldt=yes
6253 else
6254 ac_cv_lib_i386_i386_set_ldt=no
6256 rm -f core conftest.err conftest.$ac_objext \
6257 conftest$ac_exeext conftest.$ac_ext
6258 LIBS=$ac_check_lib_save_LIBS
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6261 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6262 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6263 cat >>confdefs.h <<_ACEOF
6264 #define HAVE_LIBI386 1
6265 _ACEOF
6267 LIBS="-li386 $LIBS"
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6272 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6273 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 ac_check_lib_save_LIBS=$LIBS
6277 LIBS="-lossaudio $LIBS"
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6281 /* Override any GCC internal prototype to avoid an error.
6282 Use char because int might match the return type of a GCC
6283 builtin and then its argument prototype would still apply. */
6284 #ifdef __cplusplus
6285 extern "C"
6286 #endif
6287 char _oss_ioctl ();
6289 main ()
6291 return _oss_ioctl ();
6293 return 0;
6295 _ACEOF
6296 if ac_fn_c_try_link "$LINENO"; then :
6297 ac_cv_lib_ossaudio__oss_ioctl=yes
6298 else
6299 ac_cv_lib_ossaudio__oss_ioctl=no
6301 rm -f core conftest.err conftest.$ac_objext \
6302 conftest$ac_exeext conftest.$ac_ext
6303 LIBS=$ac_check_lib_save_LIBS
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6306 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6307 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6308 cat >>confdefs.h <<_ACEOF
6309 #define HAVE_LIBOSSAUDIO 1
6310 _ACEOF
6312 LIBS="-lossaudio $LIBS"
6317 OPENGL_LIBS=""
6321 # Check whether --enable-largefile was given.
6322 if test "${enable_largefile+set}" = set; then :
6323 enableval=$enable_largefile;
6326 if test "$enable_largefile" != no; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6329 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6330 if ${ac_cv_sys_largefile_CC+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 ac_cv_sys_largefile_CC=no
6334 if test "$GCC" != yes; then
6335 ac_save_CC=$CC
6336 while :; do
6337 # IRIX 6.2 and later do not support large files by default,
6338 # so use the C compiler's -n32 option if that helps.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <sys/types.h>
6342 /* Check that off_t can represent 2**63 - 1 correctly.
6343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6344 since some C++ compilers masquerading as C compilers
6345 incorrectly reject 9223372036854775807. */
6346 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6348 && LARGE_OFF_T % 2147483647 == 1)
6349 ? 1 : -1];
6351 main ()
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_compile "$LINENO"; then :
6359 break
6361 rm -f core conftest.err conftest.$ac_objext
6362 CC="$CC -n32"
6363 if ac_fn_c_try_compile "$LINENO"; then :
6364 ac_cv_sys_largefile_CC=' -n32'; break
6366 rm -f core conftest.err conftest.$ac_objext
6367 break
6368 done
6369 CC=$ac_save_CC
6370 rm -f conftest.$ac_ext
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6374 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6375 if test "$ac_cv_sys_largefile_CC" != no; then
6376 CC=$CC$ac_cv_sys_largefile_CC
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6380 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6381 if ${ac_cv_sys_file_offset_bits+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 while :; do
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #include <sys/types.h>
6388 /* Check that off_t can represent 2**63 - 1 correctly.
6389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6390 since some C++ compilers masquerading as C compilers
6391 incorrectly reject 9223372036854775807. */
6392 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6394 && LARGE_OFF_T % 2147483647 == 1)
6395 ? 1 : -1];
6397 main ()
6401 return 0;
6403 _ACEOF
6404 if ac_fn_c_try_compile "$LINENO"; then :
6405 ac_cv_sys_file_offset_bits=no; break
6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6410 #define _FILE_OFFSET_BITS 64
6411 #include <sys/types.h>
6412 /* Check that off_t can represent 2**63 - 1 correctly.
6413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6414 since some C++ compilers masquerading as C compilers
6415 incorrectly reject 9223372036854775807. */
6416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6418 && LARGE_OFF_T % 2147483647 == 1)
6419 ? 1 : -1];
6421 main ()
6425 return 0;
6427 _ACEOF
6428 if ac_fn_c_try_compile "$LINENO"; then :
6429 ac_cv_sys_file_offset_bits=64; break
6431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6432 ac_cv_sys_file_offset_bits=unknown
6433 break
6434 done
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6437 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6438 case $ac_cv_sys_file_offset_bits in #(
6439 no | unknown) ;;
6441 cat >>confdefs.h <<_ACEOF
6442 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6443 _ACEOF
6445 esac
6446 rm -rf conftest*
6447 if test $ac_cv_sys_file_offset_bits = unknown; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6449 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6450 if ${ac_cv_sys_large_files+:} false; then :
6451 $as_echo_n "(cached) " >&6
6452 else
6453 while :; do
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #include <sys/types.h>
6457 /* Check that off_t can represent 2**63 - 1 correctly.
6458 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6459 since some C++ compilers masquerading as C compilers
6460 incorrectly reject 9223372036854775807. */
6461 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6462 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6463 && LARGE_OFF_T % 2147483647 == 1)
6464 ? 1 : -1];
6466 main ()
6470 return 0;
6472 _ACEOF
6473 if ac_fn_c_try_compile "$LINENO"; then :
6474 ac_cv_sys_large_files=no; break
6476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #define _LARGE_FILES 1
6480 #include <sys/types.h>
6481 /* Check that off_t can represent 2**63 - 1 correctly.
6482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6483 since some C++ compilers masquerading as C compilers
6484 incorrectly reject 9223372036854775807. */
6485 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6487 && LARGE_OFF_T % 2147483647 == 1)
6488 ? 1 : -1];
6490 main ()
6494 return 0;
6496 _ACEOF
6497 if ac_fn_c_try_compile "$LINENO"; then :
6498 ac_cv_sys_large_files=1; break
6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6501 ac_cv_sys_large_files=unknown
6502 break
6503 done
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6506 $as_echo "$ac_cv_sys_large_files" >&6; }
6507 case $ac_cv_sys_large_files in #(
6508 no | unknown) ;;
6510 cat >>confdefs.h <<_ACEOF
6511 #define _LARGE_FILES $ac_cv_sys_large_files
6512 _ACEOF
6514 esac
6515 rm -rf conftest*
6522 ac_ext=c
6523 ac_cpp='$CPP $CPPFLAGS'
6524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6528 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6529 # On Suns, sometimes $CPP names a directory.
6530 if test -n "$CPP" && test -d "$CPP"; then
6531 CPP=
6533 if test -z "$CPP"; then
6534 if ${ac_cv_prog_CPP+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 # Double quotes because CPP needs to be expanded
6538 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6540 ac_preproc_ok=false
6541 for ac_c_preproc_warn_flag in '' yes
6543 # Use a header file that comes with gcc, so configuring glibc
6544 # with a fresh cross-compiler works.
6545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6546 # <limits.h> exists even on freestanding compilers.
6547 # On the NeXT, cc -E runs the code through the compiler's parser,
6548 # not just through cpp. "Syntax error" is here to catch this case.
6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6551 #ifdef __STDC__
6552 # include <limits.h>
6553 #else
6554 # include <assert.h>
6555 #endif
6556 Syntax error
6557 _ACEOF
6558 if ac_fn_c_try_cpp "$LINENO"; then :
6560 else
6561 # Broken: fails on valid input.
6562 continue
6564 rm -f conftest.err conftest.i conftest.$ac_ext
6566 # OK, works on sane cases. Now check whether nonexistent headers
6567 # can be detected and how.
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <ac_nonexistent.h>
6571 _ACEOF
6572 if ac_fn_c_try_cpp "$LINENO"; then :
6573 # Broken: success on invalid input.
6574 continue
6575 else
6576 # Passes both tests.
6577 ac_preproc_ok=:
6578 break
6580 rm -f conftest.err conftest.i conftest.$ac_ext
6582 done
6583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6584 rm -f conftest.i conftest.err conftest.$ac_ext
6585 if $ac_preproc_ok; then :
6586 break
6589 done
6590 ac_cv_prog_CPP=$CPP
6593 CPP=$ac_cv_prog_CPP
6594 else
6595 ac_cv_prog_CPP=$CPP
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6598 $as_echo "$CPP" >&6; }
6599 ac_preproc_ok=false
6600 for ac_c_preproc_warn_flag in '' yes
6602 # Use a header file that comes with gcc, so configuring glibc
6603 # with a fresh cross-compiler works.
6604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6605 # <limits.h> exists even on freestanding compilers.
6606 # On the NeXT, cc -E runs the code through the compiler's parser,
6607 # not just through cpp. "Syntax error" is here to catch this case.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #ifdef __STDC__
6611 # include <limits.h>
6612 #else
6613 # include <assert.h>
6614 #endif
6615 Syntax error
6616 _ACEOF
6617 if ac_fn_c_try_cpp "$LINENO"; then :
6619 else
6620 # Broken: fails on valid input.
6621 continue
6623 rm -f conftest.err conftest.i conftest.$ac_ext
6625 # OK, works on sane cases. Now check whether nonexistent headers
6626 # can be detected and how.
6627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h. */
6629 #include <ac_nonexistent.h>
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6632 # Broken: success on invalid input.
6633 continue
6634 else
6635 # Passes both tests.
6636 ac_preproc_ok=:
6637 break
6639 rm -f conftest.err conftest.i conftest.$ac_ext
6641 done
6642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6643 rm -f conftest.i conftest.err conftest.$ac_ext
6644 if $ac_preproc_ok; then :
6646 else
6647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6649 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6650 See \`config.log' for more details" "$LINENO" 5; }
6653 ac_ext=c
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6661 $as_echo_n "checking for ANSI C header files... " >&6; }
6662 if ${ac_cv_header_stdc+:} false; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <stdlib.h>
6668 #include <stdarg.h>
6669 #include <string.h>
6670 #include <float.h>
6673 main ()
6677 return 0;
6679 _ACEOF
6680 if ac_fn_c_try_compile "$LINENO"; then :
6681 ac_cv_header_stdc=yes
6682 else
6683 ac_cv_header_stdc=no
6685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6687 if test $ac_cv_header_stdc = yes; then
6688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 #include <string.h>
6693 _ACEOF
6694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6695 $EGREP "memchr" >/dev/null 2>&1; then :
6697 else
6698 ac_cv_header_stdc=no
6700 rm -f conftest*
6704 if test $ac_cv_header_stdc = yes; then
6705 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6708 #include <stdlib.h>
6710 _ACEOF
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 $EGREP "free" >/dev/null 2>&1; then :
6714 else
6715 ac_cv_header_stdc=no
6717 rm -f conftest*
6721 if test $ac_cv_header_stdc = yes; then
6722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6723 if test "$cross_compiling" = yes; then :
6725 else
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6728 #include <ctype.h>
6729 #include <stdlib.h>
6730 #if ((' ' & 0x0FF) == 0x020)
6731 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6732 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6733 #else
6734 # define ISLOWER(c) \
6735 (('a' <= (c) && (c) <= 'i') \
6736 || ('j' <= (c) && (c) <= 'r') \
6737 || ('s' <= (c) && (c) <= 'z'))
6738 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6739 #endif
6741 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6743 main ()
6745 int i;
6746 for (i = 0; i < 256; i++)
6747 if (XOR (islower (i), ISLOWER (i))
6748 || toupper (i) != TOUPPER (i))
6749 return 2;
6750 return 0;
6752 _ACEOF
6753 if ac_fn_c_try_run "$LINENO"; then :
6755 else
6756 ac_cv_header_stdc=no
6758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6759 conftest.$ac_objext conftest.beam conftest.$ac_ext
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6765 $as_echo "$ac_cv_header_stdc" >&6; }
6766 if test $ac_cv_header_stdc = yes; then
6768 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6772 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6773 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6774 inttypes.h stdint.h unistd.h
6775 do :
6776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6780 cat >>confdefs.h <<_ACEOF
6781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6782 _ACEOF
6786 done
6789 for ac_header in \
6790 AL/al.h \
6791 ApplicationServices/ApplicationServices.h \
6792 AudioToolbox/AudioConverter.h \
6793 AudioUnit/AudioUnit.h \
6794 AudioUnit/AudioComponent.h \
6795 CL/cl.h \
6796 Carbon/Carbon.h \
6797 CommonCrypto/CommonDigest.h \
6798 CoreAudio/CoreAudio.h \
6799 CoreServices/CoreServices.h \
6800 DiskArbitration/DiskArbitration.h \
6801 IOKit/IOKitLib.h \
6802 IOKit/hid/IOHIDLib.h \
6803 OpenAL/al.h \
6804 OpenCL/opencl.h \
6805 QuickTime/ImageCompression.h \
6806 Security/Security.h \
6807 alias.h \
6808 alsa/asoundlib.h \
6809 arpa/inet.h \
6810 arpa/nameser.h \
6811 asm/types.h \
6812 asm/user.h \
6813 curses.h \
6814 direct.h \
6815 dirent.h \
6816 dlfcn.h \
6817 elf.h \
6818 float.h \
6819 fnmatch.h \
6820 getopt.h \
6821 gettext-po.h \
6822 grp.h \
6823 gsm.h \
6824 gsm/gsm.h \
6825 ieeefp.h \
6826 inet/mib2.h \
6827 io.h \
6828 kstat.h \
6829 lber.h \
6830 ldap.h \
6831 libproc.h \
6832 link.h \
6833 linux/cdrom.h \
6834 linux/compiler.h \
6835 linux/filter.h \
6836 linux/hdreg.h \
6837 linux/hidraw.h \
6838 linux/input.h \
6839 linux/ioctl.h \
6840 linux/joystick.h \
6841 linux/major.h \
6842 linux/param.h \
6843 linux/serial.h \
6844 linux/types.h \
6845 linux/ucdrom.h \
6846 lwp.h \
6847 mach-o/nlist.h \
6848 mach-o/loader.h \
6849 mach/mach.h \
6850 mach/machine.h \
6851 machine/cpu.h \
6852 machine/limits.h \
6853 machine/sysarch.h \
6854 mntent.h \
6855 ncurses.h \
6856 netdb.h \
6857 netinet/in.h \
6858 netinet/in_systm.h \
6859 netinet/tcp.h \
6860 netinet/tcp_fsm.h \
6861 pcap/pcap.h \
6862 poll.h \
6863 port.h \
6864 process.h \
6865 pthread.h \
6866 pwd.h \
6867 sched.h \
6868 scsi/scsi.h \
6869 scsi/scsi_ioctl.h \
6870 scsi/sg.h \
6871 stdbool.h \
6872 stdint.h \
6873 stropts.h \
6874 sys/asoundlib.h \
6875 sys/attr.h \
6876 sys/cdio.h \
6877 sys/elf32.h \
6878 sys/epoll.h \
6879 sys/event.h \
6880 sys/exec_elf.h \
6881 sys/filio.h \
6882 sys/inotify.h \
6883 sys/ioctl.h \
6884 sys/ipc.h \
6885 sys/limits.h \
6886 sys/link.h \
6887 sys/mman.h \
6888 sys/modem.h \
6889 sys/msg.h \
6890 sys/mtio.h \
6891 sys/param.h \
6892 sys/poll.h \
6893 sys/prctl.h \
6894 sys/protosw.h \
6895 sys/ptrace.h \
6896 sys/queue.h \
6897 sys/resource.h \
6898 sys/scsiio.h \
6899 sys/shm.h \
6900 sys/signal.h \
6901 sys/socket.h \
6902 sys/socketvar.h \
6903 sys/sockio.h \
6904 sys/statvfs.h \
6905 sys/strtio.h \
6906 sys/syscall.h \
6907 sys/sysinfo.h \
6908 sys/tihdr.h \
6909 sys/time.h \
6910 sys/timeout.h \
6911 sys/times.h \
6912 sys/uio.h \
6913 sys/user.h \
6914 sys/utsname.h \
6915 sys/vm86.h \
6916 sys/vnode.h \
6917 sys/wait.h \
6918 syscall.h \
6919 termios.h \
6920 unistd.h \
6921 utime.h \
6922 valgrind/memcheck.h \
6923 valgrind/valgrind.h \
6924 zlib.h
6926 do :
6927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6928 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6929 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6930 cat >>confdefs.h <<_ACEOF
6931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6932 _ACEOF
6936 done
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6939 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6940 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6941 $as_echo_n "(cached) " >&6
6942 else
6943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6945 #include <sys/types.h>
6947 main ()
6949 return makedev(0, 0);
6951 return 0;
6953 _ACEOF
6954 if ac_fn_c_try_link "$LINENO"; then :
6955 ac_cv_header_sys_types_h_makedev=yes
6956 else
6957 ac_cv_header_sys_types_h_makedev=no
6959 rm -f core conftest.err conftest.$ac_objext \
6960 conftest$ac_exeext conftest.$ac_ext
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6964 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6966 if test $ac_cv_header_sys_types_h_makedev = no; then
6967 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6968 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6970 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6976 if test $ac_cv_header_sys_mkdev_h = no; then
6977 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6978 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6980 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6989 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6990 if ${ac_cv_header_stat_broken+:} false; then :
6991 $as_echo_n "(cached) " >&6
6992 else
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h. */
6995 #include <sys/types.h>
6996 #include <sys/stat.h>
6998 #if defined S_ISBLK && defined S_IFDIR
6999 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7000 #endif
7002 #if defined S_ISBLK && defined S_IFCHR
7003 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7004 #endif
7006 #if defined S_ISLNK && defined S_IFREG
7007 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7008 #endif
7010 #if defined S_ISSOCK && defined S_IFREG
7011 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7012 #endif
7014 _ACEOF
7015 if ac_fn_c_try_compile "$LINENO"; then :
7016 ac_cv_header_stat_broken=no
7017 else
7018 ac_cv_header_stat_broken=yes
7020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7023 $as_echo "$ac_cv_header_stat_broken" >&6; }
7024 if test $ac_cv_header_stat_broken = yes; then
7026 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7032 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7033 do :
7034 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7035 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7036 #ifdef HAVE_SYS_PARAM_H
7037 # include <sys/param.h>
7038 #endif
7040 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7041 cat >>confdefs.h <<_ACEOF
7042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7043 _ACEOF
7047 done
7050 for ac_header in \
7051 netinet/ip.h \
7052 net/if.h \
7053 net/if_arp.h \
7054 net/if_dl.h \
7055 net/if_types.h \
7056 net/route.h \
7057 netinet/if_ether.h \
7058 netinet/if_inarp.h \
7059 netinet/in_pcb.h \
7060 netinet/ip_icmp.h \
7061 netinet/ip_var.h \
7062 netinet/udp.h \
7063 netipx/ipx.h \
7064 sys/un.h \
7066 do :
7067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7069 #ifdef HAVE_SYS_SOCKET_H
7070 # include <sys/socket.h>
7071 #endif
7072 #ifdef HAVE_SYS_SOCKETVAR_H
7073 # include <sys/socketvar.h>
7074 #endif
7075 #ifdef HAVE_NET_ROUTE_H
7076 # include <net/route.h>
7077 #endif
7078 #ifdef HAVE_NETINET_IN_H
7079 # include <netinet/in.h>
7080 #endif
7081 #ifdef HAVE_NETINET_IN_SYSTM_H
7082 # include <netinet/in_systm.h>
7083 #endif
7084 #ifdef HAVE_NET_IF_H
7085 # include <net/if.h>
7086 #endif
7087 #ifdef HAVE_NETINET_IP_H
7088 # include <netinet/ip.h>
7089 #endif
7091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7092 cat >>confdefs.h <<_ACEOF
7093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094 _ACEOF
7098 done
7101 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7102 do :
7103 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7104 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7105 #ifdef HAVE_ALIAS_H
7106 # include <alias.h>
7107 #endif
7108 #ifdef HAVE_SYS_SOCKET_H
7109 # include <sys/socket.h>
7110 #endif
7111 #ifdef HAVE_SYS_SOCKETVAR_H
7112 # include <sys/socketvar.h>
7113 #endif
7114 #ifdef HAVE_SYS_TIMEOUT_H
7115 # include <sys/timeout.h>
7116 #endif
7117 #ifdef HAVE_NETINET_IN_H
7118 # include <netinet/in.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IN_SYSTM_H
7121 # include <netinet/in_systm.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IP_H
7124 # include <netinet/ip.h>
7125 #endif
7126 #ifdef HAVE_NETINET_IP_VAR_H
7127 # include <netinet/ip_var.h>
7128 #endif
7129 #ifdef HAVE_NETINET_IP_ICMP_H
7130 # include <netinet/ip_icmp.h>
7131 #endif
7132 #ifdef HAVE_NETINET_UDP_H
7133 # include <netinet/udp.h>
7134 #endif
7135 #ifdef HAVE_NETINET_TCP_H
7136 # include <netinet/tcp.h>
7137 #endif
7138 #ifdef HAVE_NETINET_TCP_TIMER_H
7139 #include <netinet/tcp_timer.h>
7140 #endif
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 _ACEOF
7149 done
7152 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7153 do :
7154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7155 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7156 #ifdef HAVE_ASM_TYPES_H
7157 # include <asm/types.h>
7158 #endif
7159 #ifdef HAVE_SYS_SOCKET_H
7160 # include <sys/socket.h>
7161 #endif
7162 #ifdef HAVE_LINUX_TYPES_H
7163 # include <linux/types.h>
7164 #endif
7166 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7167 cat >>confdefs.h <<_ACEOF
7168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7169 _ACEOF
7173 done
7176 for ac_header in mach-o/dyld_images.h
7177 do :
7178 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7179 # include <stdbool.h>
7180 #endif
7181 #ifdef HAVE_STDINT_H
7182 # include <stdint.h>
7183 #endif
7185 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7186 cat >>confdefs.h <<_ACEOF
7187 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7188 _ACEOF
7192 done
7195 for ac_header in resolv.h
7196 do :
7197 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7198 #ifdef HAVE_SYS_SOCKET_H
7199 # include <sys/socket.h>
7200 #endif
7201 #ifdef HAVE_NETINET_IN_H
7202 # include <netinet/in.h>
7203 #endif
7204 #ifdef HAVE_ARPA_NAMESER_H
7205 # include <arpa/nameser.h>
7206 #endif
7208 if test "x$ac_cv_header_resolv_h" = xyes; then :
7209 cat >>confdefs.h <<_ACEOF
7210 #define HAVE_RESOLV_H 1
7211 _ACEOF
7215 done
7218 for ac_header in ifaddrs.h
7219 do :
7220 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7222 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_IFADDRS_H 1
7225 _ACEOF
7229 done
7232 for ac_header in sys/ucontext.h
7233 do :
7234 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7236 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_SYS_UCONTEXT_H 1
7239 _ACEOF
7243 done
7246 for ac_header in sys/thr.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7249 #ifdef HAVE_SYS_UCONTEXT_H
7250 #include <sys/ucontext.h>
7251 #endif
7253 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7254 cat >>confdefs.h <<_ACEOF
7255 #define HAVE_SYS_THR_H 1
7256 _ACEOF
7260 done
7263 for ac_header in pthread_np.h
7264 do :
7265 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7266 #include <pthread.h>
7267 #endif
7269 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7270 cat >>confdefs.h <<_ACEOF
7271 #define HAVE_PTHREAD_NP_H 1
7272 _ACEOF
7276 done
7279 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7280 do :
7281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7282 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7283 #include <sys/time.h>
7284 #endif
7285 #include <sys/types.h>
7286 #ifdef HAVE_ASM_TYPES_H
7287 #include <asm/types.h>
7288 #endif
7290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 _ACEOF
7297 done
7300 for ac_header in libprocstat.h
7301 do :
7302 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7303 #include <sys/param.h>
7304 #endif
7305 #ifdef HAVE_SYS_QUEUE_H
7306 #include <sys/queue.h>
7307 #endif
7308 #ifdef HAVE_SYS_SOCKET_H
7309 #include <sys/socket.h>
7310 #endif
7312 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7313 cat >>confdefs.h <<_ACEOF
7314 #define HAVE_LIBPROCSTAT_H 1
7315 _ACEOF
7319 done
7323 dlldir="\${libdir}/wine"
7325 DLLFLAGS="-D_REENTRANT"
7327 LDRPATH_INSTALL=""
7329 LDRPATH_LOCAL=""
7331 LDEXECFLAGS=""
7333 LIBEXT="so"
7334 DLLEXT=".so"
7335 IMPLIBEXT="def"
7336 # Extract the first word of "ldd", so it can be a program name with args.
7337 set dummy ldd; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if ${ac_cv_path_LDD+:} false; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 case $LDD in
7344 [\\/]* | ?:[\\/]*)
7345 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 as_dummy="/sbin:/usr/sbin:$PATH"
7350 for as_dir in $as_dummy
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7364 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7366 esac
7368 LDD=$ac_cv_path_LDD
7369 if test -n "$LDD"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7371 $as_echo "$LDD" >&6; }
7372 else
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7380 set dummy ${ac_tool_prefix}otool; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if ${ac_cv_prog_OTOOL+:} false; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$OTOOL"; then
7387 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 OTOOL=$ac_cv_prog_OTOOL
7407 if test -n "$OTOOL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7409 $as_echo "$OTOOL" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7417 if test -z "$ac_cv_prog_OTOOL"; then
7418 ac_ct_OTOOL=$OTOOL
7419 # Extract the first word of "otool", so it can be a program name with args.
7420 set dummy otool; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7424 $as_echo_n "(cached) " >&6
7425 else
7426 if test -n "$ac_ct_OTOOL"; then
7427 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7432 IFS=$as_save_IFS
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_ac_ct_OTOOL="otool"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438 break 2
7440 done
7441 done
7442 IFS=$as_save_IFS
7446 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7447 if test -n "$ac_ct_OTOOL"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7449 $as_echo "$ac_ct_OTOOL" >&6; }
7450 else
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7455 if test "x$ac_ct_OTOOL" = x; then
7456 OTOOL="otool"
7457 else
7458 case $cross_compiling:$ac_tool_warned in
7459 yes:)
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462 ac_tool_warned=yes ;;
7463 esac
7464 OTOOL=$ac_ct_OTOOL
7466 else
7467 OTOOL="$ac_cv_prog_OTOOL"
7470 if test -n "$ac_tool_prefix"; then
7471 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7472 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if ${ac_cv_prog_READELF+:} false; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$READELF"; then
7479 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 READELF=$ac_cv_prog_READELF
7499 if test -n "$READELF"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7501 $as_echo "$READELF" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7509 if test -z "$ac_cv_prog_READELF"; then
7510 ac_ct_READELF=$READELF
7511 # Extract the first word of "readelf", so it can be a program name with args.
7512 set dummy readelf; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7516 $as_echo_n "(cached) " >&6
7517 else
7518 if test -n "$ac_ct_READELF"; then
7519 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7524 IFS=$as_save_IFS
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_ac_ct_READELF="readelf"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530 break 2
7532 done
7533 done
7534 IFS=$as_save_IFS
7538 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7539 if test -n "$ac_ct_READELF"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7541 $as_echo "$ac_ct_READELF" >&6; }
7542 else
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7547 if test "x$ac_ct_READELF" = x; then
7548 READELF="true"
7549 else
7550 case $cross_compiling:$ac_tool_warned in
7551 yes:)
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7554 ac_tool_warned=yes ;;
7555 esac
7556 READELF=$ac_ct_READELF
7558 else
7559 READELF="$ac_cv_prog_READELF"
7562 wine_rules_file=conf$$rules.make
7563 rm -f $wine_rules_file
7564 SUBDIRS=""
7566 DISABLED_SUBDIRS=""
7568 CONFIGURE_TARGETS=""
7570 ALL_TEST_RESOURCES=""
7573 wine_fn_append_file ()
7575 as_fn_append $1 " \\$as_nl $2"
7578 wine_fn_append_rule ()
7580 $as_echo "$1" >>$wine_rules_file
7583 wine_fn_has_flag ()
7585 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7588 wine_fn_all_rules ()
7590 wine_fn_append_file SUBDIRS $ac_dir
7591 wine_fn_append_rule \
7592 "all: $ac_dir
7593 .PHONY: $ac_dir
7594 $ac_dir: dummy
7595 @cd $ac_dir && \$(MAKE)"
7598 wine_fn_install_rules ()
7600 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7602 wine_fn_append_rule \
7603 ".PHONY: $ac_dir/install $ac_dir/uninstall
7604 $ac_dir/install:: $ac_dir
7605 @cd $ac_dir && \$(MAKE) install
7606 $ac_dir/uninstall::
7607 @cd $ac_dir && \$(MAKE) uninstall
7608 install:: $ac_dir/install
7609 __uninstall__: $ac_dir/uninstall"
7611 if wine_fn_has_flag install-lib
7612 then
7613 wine_fn_append_rule \
7614 ".PHONY: $ac_dir/install-lib
7615 $ac_dir/install-lib:: $ac_dir
7616 @cd $ac_dir && \$(MAKE) install-lib
7617 install-lib:: $ac_dir/install-lib"
7620 if wine_fn_has_flag install-dev
7621 then
7622 wine_fn_append_rule \
7623 ".PHONY: $ac_dir/install-dev
7624 $ac_dir/install-dev:: $ac_dir
7625 @cd $ac_dir && \$(MAKE) install-dev
7626 install-dev:: $ac_dir/install-dev"
7630 wine_fn_clean_rules ()
7632 ac_clean=$@
7634 if wine_fn_has_flag clean
7635 then
7636 wine_fn_append_rule \
7637 "$ac_dir/clean: dummy
7638 @cd $ac_dir && \$(MAKE) clean"
7639 else
7640 wine_fn_append_rule \
7641 "$ac_dir/clean: dummy
7642 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7644 wine_fn_append_rule \
7645 "__clean__: $ac_dir/clean
7646 .PHONY: $ac_dir/clean"
7649 wine_fn_disabled_rules ()
7651 ac_clean=$@
7653 wine_fn_append_file SUBDIRS $ac_dir
7654 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7655 wine_fn_append_rule \
7656 "__clean__: $ac_dir/clean
7657 .PHONY: $ac_dir/clean
7658 $ac_dir/clean: dummy
7659 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7662 wine_fn_config_makefile ()
7664 ac_dir=$1
7665 ac_enable=$2
7666 ac_flags=$3
7668 case $ac_dir in
7669 fonts|server) test -z "$with_wine64" || return ;;
7670 esac
7671 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7672 wine_fn_disabled_rules; return
7674 wine_fn_all_rules
7675 wine_fn_install_rules
7676 wine_fn_clean_rules
7679 wine_fn_config_lib ()
7681 ac_name=$1
7682 ac_flags=$2
7683 ac_dir=dlls/$ac_name
7684 ac_deps="include"
7686 if test "x$enable_tools" = xno; then :
7688 else
7689 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7691 wine_fn_all_rules
7692 wine_fn_clean_rules
7694 wine_fn_append_rule \
7695 ".PHONY: $ac_dir/install $ac_dir/uninstall
7696 $ac_dir/install:: $ac_dir
7697 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7698 $ac_dir/uninstall::
7699 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7700 install install-dev:: $ac_dir/install
7701 __uninstall__: $ac_dir/uninstall
7702 __builddeps__: $ac_dir
7703 $ac_dir: $ac_deps"
7706 wine_fn_config_dll ()
7708 ac_name=$1
7709 ac_dir=dlls/$ac_name
7710 ac_enable=$2
7711 ac_flags=$3
7712 ac_implib=${4:-$ac_name}
7713 ac_file=$ac_dir/lib$ac_implib
7714 ac_dll=$ac_name
7715 ac_deps="include"
7716 ac_implibflags=""
7718 if test "x$enable_tools" = xno; then :
7720 else
7721 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7723 case $ac_name in
7724 *16) ac_implibflags=" -m16" ;;
7725 *.*) ;;
7726 *) ac_dll=$ac_dll.dll ;;
7727 esac
7729 ac_clean=
7730 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7731 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7733 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7734 if test "$ac_enable" != enable_win16
7735 then
7736 wine_fn_clean_rules $ac_clean
7737 wine_fn_append_file SUBDIRS $ac_dir
7738 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7739 else
7740 wine_fn_disabled_rules $ac_clean
7741 return
7743 else
7744 wine_fn_all_rules
7745 wine_fn_clean_rules $ac_clean
7746 wine_fn_append_rule \
7747 "$ac_dir: __builddeps__
7748 manpages htmlpages sgmlpages xmlpages::
7749 @cd $ac_dir && \$(MAKE) \$@
7750 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7751 install install-lib:: $ac_dir/install-lib
7752 __uninstall__: $ac_dir/uninstall"
7753 if test -n "$DLLEXT"
7754 then
7755 wine_fn_append_rule \
7756 "$ac_dir/install-lib:: $ac_dir
7757 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7758 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7759 $ac_dir/uninstall::
7760 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7761 else
7762 wine_fn_append_rule \
7763 "$ac_dir/install-lib:: $ac_dir
7764 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7765 $ac_dir/uninstall::
7766 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7770 if wine_fn_has_flag staticimplib
7771 then
7772 wine_fn_append_rule \
7773 "__builddeps__: $ac_file.a
7774 $ac_file.a $ac_file.cross.a: $ac_deps
7775 $ac_file.a: dummy
7776 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7777 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7778 $ac_dir/install-dev:: $ac_file.a
7779 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7780 $ac_dir/uninstall::
7781 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7782 install install-dev:: $ac_dir/install-dev
7783 __uninstall__: $ac_dir/uninstall"
7785 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7786 then
7787 wine_fn_append_rule \
7788 "__builddeps__: $ac_file.cross.a
7789 $ac_file.cross.a: dummy
7790 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7793 elif wine_fn_has_flag implib
7794 then
7795 wine_fn_append_rule \
7796 "__builddeps__: $ac_file.$IMPLIBEXT
7797 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7798 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7799 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7800 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7801 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7802 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7803 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7804 $ac_dir/uninstall::
7805 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7806 install install-dev:: $ac_dir/install-dev
7807 __uninstall__: $ac_dir/uninstall"
7808 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7809 then
7810 wine_fn_append_rule \
7811 "__builddeps__: $ac_file.cross.a
7812 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7813 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7818 wine_fn_config_program ()
7820 ac_name=$1
7821 ac_dir=programs/$ac_name
7822 ac_enable=$2
7823 ac_flags=$3
7824 ac_program=$ac_name
7826 case $ac_name in
7827 *.*) ;;
7828 *) ac_program=$ac_program.exe ;;
7829 esac
7831 ac_clean=
7832 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7833 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7835 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7836 wine_fn_disabled_rules $ac_clean; return
7839 wine_fn_all_rules
7840 wine_fn_clean_rules $ac_clean
7841 wine_fn_append_rule "$ac_dir: __builddeps__"
7843 wine_fn_has_flag install || return
7844 wine_fn_append_rule \
7845 ".PHONY: $ac_dir/install $ac_dir/uninstall
7846 install install-lib:: $ac_dir/install
7847 __uninstall__: $ac_dir/uninstall"
7849 if test -n "$DLLEXT"
7850 then
7851 wine_fn_append_rule \
7852 "$ac_dir/install:: $ac_dir
7853 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7854 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7855 $ac_dir/uninstall::
7856 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7858 if test -z "$with_wine64" && wine_fn_has_flag installbin
7859 then
7860 wine_fn_append_rule \
7861 "$ac_dir/install:: __tooldeps__
7862 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7863 $ac_dir/uninstall::
7864 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7866 else
7867 wine_fn_append_rule \
7868 "$ac_dir/install:: $ac_dir
7869 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7870 $ac_dir/uninstall::
7871 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7874 if test -z "$with_wine64" && wine_fn_has_flag manpage
7875 then
7876 wine_fn_append_rule \
7877 "$ac_dir/install:: $ac_dir
7878 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7879 $ac_dir/uninstall::
7880 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7884 wine_fn_config_test ()
7886 ac_dir=$1
7887 ac_name=$2
7888 ac_flags=$3
7890 ac_clean=
7891 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7892 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7894 if test "x$enable_tests" = xno; then :
7895 wine_fn_disabled_rules $ac_clean; return
7898 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7899 wine_fn_all_rules
7900 wine_fn_clean_rules $ac_clean
7902 wine_fn_append_rule \
7903 "$ac_dir: __builddeps__
7904 programs/winetest: $ac_dir
7905 check test: $ac_dir/test
7906 .PHONY: $ac_dir/test
7907 $ac_dir/test: dummy
7908 @cd $ac_dir && \$(MAKE) test
7909 testclean::
7910 \$(RM) $ac_dir/*.ok"
7912 if test -n "$CROSSTARGET"
7913 then
7914 wine_fn_append_rule \
7915 "crosstest: $ac_dir/crosstest
7916 .PHONY: $ac_dir/crosstest
7917 $ac_dir/crosstest: __builddeps__ dummy
7918 @cd $ac_dir && \$(MAKE) crosstest"
7922 wine_fn_config_tool ()
7924 ac_dir=$1
7925 ac_flags=$2
7926 if test "x$enable_tools" = xno; then :
7927 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7930 wine_fn_all_rules
7931 wine_fn_install_rules
7932 wine_fn_clean_rules
7934 wine_fn_append_rule "__tooldeps__: $ac_dir"
7935 wine_fn_append_rule "$ac_dir: libs/port"
7936 case $ac_dir in
7937 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7938 esac
7941 wine_fn_config_symlink ()
7943 ac_linkdir=
7944 if test "x$1" = "x-d"
7945 then
7946 ac_linkdir=$2
7947 shift; shift
7949 ac_links=$@
7950 wine_fn_append_rule \
7951 "$ac_links:
7952 @./config.status \$@"
7953 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7954 test -n "$ac_linkdir" || return
7955 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7958 wine_binary="wine"
7959 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7960 WINELOADER_PROGRAMS="$wine_binary"
7962 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7964 case $host_os in
7965 cygwin*|mingw32*)
7966 if test -n "$ac_tool_prefix"; then
7967 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7968 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7970 $as_echo_n "checking for $ac_word... " >&6; }
7971 if ${ac_cv_prog_DLLTOOL+:} false; then :
7972 $as_echo_n "(cached) " >&6
7973 else
7974 if test -n "$DLLTOOL"; then
7975 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7976 else
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 for as_dir in $PATH
7980 IFS=$as_save_IFS
7981 test -z "$as_dir" && as_dir=.
7982 for ac_exec_ext in '' $ac_executable_extensions; do
7983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7984 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7986 break 2
7988 done
7989 done
7990 IFS=$as_save_IFS
7994 DLLTOOL=$ac_cv_prog_DLLTOOL
7995 if test -n "$DLLTOOL"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7997 $as_echo "$DLLTOOL" >&6; }
7998 else
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8005 if test -z "$ac_cv_prog_DLLTOOL"; then
8006 ac_ct_DLLTOOL=$DLLTOOL
8007 # Extract the first word of "dlltool", so it can be a program name with args.
8008 set dummy dlltool; ac_word=$2
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8010 $as_echo_n "checking for $ac_word... " >&6; }
8011 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8012 $as_echo_n "(cached) " >&6
8013 else
8014 if test -n "$ac_ct_DLLTOOL"; then
8015 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8016 else
8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 for as_dir in $PATH
8020 IFS=$as_save_IFS
8021 test -z "$as_dir" && as_dir=.
8022 for ac_exec_ext in '' $ac_executable_extensions; do
8023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8024 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8026 break 2
8028 done
8029 done
8030 IFS=$as_save_IFS
8034 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8035 if test -n "$ac_ct_DLLTOOL"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8037 $as_echo "$ac_ct_DLLTOOL" >&6; }
8038 else
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8040 $as_echo "no" >&6; }
8043 if test "x$ac_ct_DLLTOOL" = x; then
8044 DLLTOOL="false"
8045 else
8046 case $cross_compiling:$ac_tool_warned in
8047 yes:)
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8050 ac_tool_warned=yes ;;
8051 esac
8052 DLLTOOL=$ac_ct_DLLTOOL
8054 else
8055 DLLTOOL="$ac_cv_prog_DLLTOOL"
8058 LIBEXT="dll"
8059 DLLEXT=""
8060 IMPLIBEXT="a"
8061 enable_iphlpapi=${enable_iphlpapi:-no}
8062 enable_kernel32=${enable_kernel32:-no}
8063 enable_msvcrt=${enable_msvcrt:-no}
8064 enable_ntdll=${enable_ntdll:-no}
8065 enable_ws2_32=${enable_ws2_32:-no}
8066 enable_loader=${enable_loader:-no}
8067 enable_server=${enable_server:-no}
8068 with_x=${with_x:-no}
8069 with_pthread=${with_pthread:-no}
8071 crtlibs=""
8072 case $host_os in
8073 mingw32*)
8074 crtlibs="-lmsvcrt"
8075 SOCKET_LIBS="-lws2_32"
8077 esac
8079 LIBWINE_SHAREDLIB="libwine.dll"
8081 LIBWINE_IMPORTLIB="libwine.a"
8083 LIBWINE_INSTALL_LIB="libwine.dll"
8085 LIBWINE_INSTALL_DEV="libwine.a"
8087 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8089 LIBWINE_DEPENDS="wine.def"
8093 darwin*|macosx*)
8094 for ac_header in libunwind.h
8095 do :
8096 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_LIBUNWIND_H 1
8100 _ACEOF
8104 done
8106 LIBEXT="dylib"
8107 DLLFLAGS="$DLLFLAGS -fPIC"
8108 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8109 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8110 COREFOUNDATION_LIBS="-framework CoreFoundation"
8112 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8114 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8116 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8118 CORESERVICES_LIBS="-framework CoreServices"
8120 APPKIT_LIBS="-framework AppKit"
8122 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8124 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8125 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 ac_wine_try_cflags_saved=$CFLAGS
8129 CFLAGS="$CFLAGS -Wl,-no_pie"
8130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8132 int main(int argc, char **argv) { return 0; }
8133 _ACEOF
8134 if ac_fn_c_try_link "$LINENO"; then :
8135 ac_cv_cflags__Wl__no_pie=yes
8136 else
8137 ac_cv_cflags__Wl__no_pie=no
8139 rm -f core conftest.err conftest.$ac_objext \
8140 conftest$ac_exeext conftest.$ac_ext
8141 CFLAGS=$ac_wine_try_cflags_saved
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8144 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8145 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8146 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8148 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8149 then
8150 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8153 if test "$ac_cv_header_Security_Security_h" = "yes"
8154 then
8155 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8157 ac_save_LIBS="$LIBS"
8158 LIBS="$LIBS $SECURITY_LIBS"
8159 for ac_func in SSLCopyPeerCertificates
8160 do :
8161 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8162 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8163 cat >>confdefs.h <<_ACEOF
8164 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8165 _ACEOF
8168 done
8170 LIBS="$ac_save_LIBS"
8171 with_gnutls=${with_gnutls:-no}
8173 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8174 then
8175 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8176 then
8177 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8179 else
8180 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8183 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8184 ac_save_LIBS="$LIBS"
8185 LIBS="$LIBS $COREAUDIO_LIBS"
8186 for ac_func in AUGraphAddNode
8187 do :
8188 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8189 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8190 cat >>confdefs.h <<_ACEOF
8191 #define HAVE_AUGRAPHADDNODE 1
8192 _ACEOF
8195 done
8197 LIBS="$ac_save_LIBS"
8199 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8200 then
8201 OPENAL_LIBS="-framework OpenAL"
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_OPENAL 1
8206 _ACEOF
8208 ac_cv_lib_openal=yes
8210 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8211 then
8212 OPENCL_LIBS="-framework OpenCL"
8214 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8216 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8217 then
8218 ac_save_LIBS="$LIBS"
8219 LIBS="$LIBS $IOKIT_LIBS"
8220 for ac_func in IOHIDManagerCreate
8221 do :
8222 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8223 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8224 cat >>confdefs.h <<_ACEOF
8225 #define HAVE_IOHIDMANAGERCREATE 1
8226 _ACEOF
8229 done
8231 LIBS="$ac_save_LIBS"
8233 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8234 then
8235 ac_save_LIBS="$LIBS"
8236 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8238 $as_echo_n "checking for the QuickTime framework... " >&6; }
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 #include <QuickTime/ImageCompression.h>
8243 main ()
8245 CodecManagerVersion(NULL);
8247 return 0;
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8252 $as_echo "yes" >&6; }
8253 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8255 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8259 ac_cv_header_QuickTime_ImageCompression_h=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 LIBS="$ac_save_LIBS"
8265 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8266 then
8267 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8269 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8270 then
8271 CARBON_LIBS="-framework Carbon"
8275 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8276 then
8277 ac_save_LIBS="$LIBS"
8278 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8279 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8280 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8281 enable_winemac_drv=${enable_winemac_drv:-yes}
8284 LIBS="$ac_save_LIBS"
8287 if test "x$enable_win16" = "xyes"
8288 then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8290 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8291 if test "$cross_compiling" = yes; then :
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8293 $as_echo "cross-compiling, assuming yes" >&6; }
8294 else
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 asm(".text\n"
8298 "bad:\tnop;nop\n"
8299 "good:\tnop;nop\n\t"
8300 ".globl _testfunc\n"
8301 "_testfunc:\tcallw good");
8302 extern void testfunc();
8304 main ()
8306 unsigned short *p = (unsigned short *)testfunc;
8307 return p[0] != 0xe866 || p[1] != 0xfffa
8309 return 0;
8311 _ACEOF
8312 if ac_fn_c_try_run "$LINENO"; then :
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8314 $as_echo "yes" >&6; }
8315 else
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317 $as_echo "no" >&6; }
8318 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
8320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8321 conftest.$ac_objext conftest.beam conftest.$ac_ext
8326 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8328 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8330 LIBWINE_INSTALL_DEV="libwine.dylib"
8332 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8334 WINELOADER_DEPENDS="wine_info.plist"
8338 linux-android*)
8339 DLLFLAGS="$DLLFLAGS -fPIC"
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8341 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8342 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8350 _ACEOF
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8353 else
8354 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 CFLAGS=$ac_wine_try_cflags_saved
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8361 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8362 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8363 LDEXECFLAGS="-Wl,--export-dynamic"
8365 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8367 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8368 if eval \${$as_ac_var+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 int main(int argc, char **argv) { return 0; }
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 eval "$as_ac_var=yes"
8379 else
8380 eval "$as_ac_var=no"
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 CFLAGS=$ac_wine_try_cflags_saved
8386 eval ac_res=\$$as_ac_var
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8388 $as_echo "$ac_res" >&6; }
8389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8390 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8391 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8392 else
8393 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8395 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8396 if eval \${$as_ac_var+:} false; then :
8397 $as_echo_n "(cached) " >&6
8398 else
8399 ac_wine_try_cflags_saved=$CFLAGS
8400 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 int main(int argc, char **argv) { return 0; }
8404 _ACEOF
8405 if ac_fn_c_try_link "$LINENO"; then :
8406 eval "$as_ac_var=yes"
8407 else
8408 eval "$as_ac_var=no"
8410 rm -f core conftest.err conftest.$ac_objext \
8411 conftest$ac_exeext conftest.$ac_ext
8412 CFLAGS=$ac_wine_try_cflags_saved
8414 eval ac_res=\$$as_ac_var
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8416 $as_echo "$ac_res" >&6; }
8417 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8418 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8419 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8424 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8425 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 ac_cv_cflags__Wl___enable_new_dtags=yes
8436 else
8437 ac_cv_cflags__Wl___enable_new_dtags=no
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8444 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8445 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8446 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8449 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8450 if ${ac_cv_cflags__Wl__pie+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -Wl,-pie"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 ac_cv_cflags__Wl__pie=yes
8461 else
8462 ac_cv_cflags__Wl__pie=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8469 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8470 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8471 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8474 LIBWINE_SHAREDLIB="libwine.so"
8476 LIBWINE_INSTALL_LIB="libwine.so"
8478 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8483 DLLFLAGS="$DLLFLAGS -fPIC"
8484 LDEXECFLAGS=""
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8486 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8487 if ${ac_cv_c_dll_gnuelf+:} false; then :
8488 $as_echo_n "(cached) " >&6
8489 else
8490 ac_wine_try_cflags_saved=$CFLAGS
8491 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 void myfunc() {}
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497 ac_cv_c_dll_gnuelf="yes"
8498 else
8499 ac_cv_c_dll_gnuelf="no"
8501 rm -f core conftest.err conftest.$ac_objext \
8502 conftest$ac_exeext conftest.$ac_ext
8503 CFLAGS=$ac_wine_try_cflags_saved
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8506 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8507 if test "$ac_cv_c_dll_gnuelf" = "yes"
8508 then
8509 LIBWINE_LDFLAGS="-shared"
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8511 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8512 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 ac_wine_try_cflags_saved=$CFLAGS
8516 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 int main(int argc, char **argv) { return 0; }
8520 _ACEOF
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8523 else
8524 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8531 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8532 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8533 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8534 else
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8536 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8537 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 ac_wine_try_cflags_saved=$CFLAGS
8541 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8544 int main(int argc, char **argv) { return 0; }
8545 _ACEOF
8546 if ac_fn_c_try_link "$LINENO"; then :
8547 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8548 else
8549 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8551 rm -f core conftest.err conftest.$ac_objext \
8552 conftest$ac_exeext conftest.$ac_ext
8553 CFLAGS=$ac_wine_try_cflags_saved
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8556 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8557 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8558 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8562 echo '{ global: *; };' >conftest.map
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8564 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8565 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8566 $as_echo_n "(cached) " >&6
8567 else
8568 ac_wine_try_cflags_saved=$CFLAGS
8569 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 int main(int argc, char **argv) { return 0; }
8573 _ACEOF
8574 if ac_fn_c_try_link "$LINENO"; then :
8575 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8576 else
8577 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8579 rm -f core conftest.err conftest.$ac_objext \
8580 conftest$ac_exeext conftest.$ac_ext
8581 CFLAGS=$ac_wine_try_cflags_saved
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8584 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8585 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8586 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8588 rm -f conftest.map
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8591 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8592 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8593 $as_echo_n "(cached) " >&6
8594 else
8595 ac_wine_try_cflags_saved=$CFLAGS
8596 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8599 int main(int argc, char **argv) { return 0; }
8600 _ACEOF
8601 if ac_fn_c_try_link "$LINENO"; then :
8602 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8603 else
8604 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8606 rm -f core conftest.err conftest.$ac_objext \
8607 conftest$ac_exeext conftest.$ac_ext
8608 CFLAGS=$ac_wine_try_cflags_saved
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8611 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8612 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8613 LDEXECFLAGS="-Wl,--export-dynamic"
8616 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8618 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8619 if eval \${$as_ac_var+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 eval "$as_ac_var=yes"
8630 else
8631 eval "$as_ac_var=no"
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 eval ac_res=\$$as_ac_var
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8639 $as_echo "$ac_res" >&6; }
8640 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8641 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8642 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8643 else
8644 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8646 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8647 if eval \${$as_ac_var+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 eval "$as_ac_var=yes"
8658 else
8659 eval "$as_ac_var=no"
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 eval ac_res=\$$as_ac_var
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8667 $as_echo "$ac_res" >&6; }
8668 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8669 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8670 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8675 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8676 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8677 $as_echo_n "(cached) " >&6
8678 else
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 int main(int argc, char **argv) { return 0; }
8684 _ACEOF
8685 if ac_fn_c_try_link "$LINENO"; then :
8686 ac_cv_cflags__Wl___enable_new_dtags=yes
8687 else
8688 ac_cv_cflags__Wl___enable_new_dtags=no
8690 rm -f core conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8692 CFLAGS=$ac_wine_try_cflags_saved
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8695 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8696 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8697 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8700 case $host_cpu in
8701 *i[3456789]86* | x86_64)
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8703 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8704 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 ac_wine_try_cflags_saved=$CFLAGS
8708 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8715 else
8716 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8718 rm -f core conftest.err conftest.$ac_objext \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8723 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8724 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8725 case $host_os in
8726 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8727 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8728 esac
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8731 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8732 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8743 else
8744 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8751 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8752 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8753 case $host_os in
8754 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8755 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8756 esac
8758 # Extract the first word of "prelink", so it can be a program name with args.
8759 set dummy prelink; ac_word=$2
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8761 $as_echo_n "checking for $ac_word... " >&6; }
8762 if ${ac_cv_path_PRELINK+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 case $PRELINK in
8766 [\\/]* | ?:[\\/]*)
8767 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8771 for as_dir in /sbin /usr/sbin $PATH
8773 IFS=$as_save_IFS
8774 test -z "$as_dir" && as_dir=.
8775 for ac_exec_ext in '' $ac_executable_extensions; do
8776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8777 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 break 2
8781 done
8782 done
8783 IFS=$as_save_IFS
8785 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8787 esac
8789 PRELINK=$ac_cv_path_PRELINK
8790 if test -n "$PRELINK"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8792 $as_echo "$PRELINK" >&6; }
8793 else
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8799 if test "x$PRELINK" = xfalse
8800 then
8801 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8805 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8806 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 int main(int argc, char **argv) { return 0; }
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8817 else
8818 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8825 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8826 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8827 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8830 esac
8832 else
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8834 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8835 if ${ac_cv_c_dll_unixware+:} false; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 ac_wine_try_cflags_saved=$CFLAGS
8839 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8842 void myfunc() {}
8843 _ACEOF
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 ac_cv_c_dll_unixware="yes"
8846 else
8847 ac_cv_c_dll_unixware="no"
8849 rm -f core conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 CFLAGS=$ac_wine_try_cflags_saved
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8854 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8855 if test "$ac_cv_c_dll_unixware" = "yes"
8856 then
8857 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8860 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8862 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8864 LIBWINE_INSTALL_DEV="libwine.so"
8866 LIBWINE_DEPENDS="wine.map"
8869 esac
8871 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8872 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8873 enable_winemac_drv=${enable_winemac_drv:-no}
8874 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8876 CROSSTARGET=""
8878 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8879 then
8880 case "$host_cpu" in
8881 arm*)
8882 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8883 i[3456789]86*)
8884 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
8885 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8886 mingw32-gcc" ;;
8887 x86_64)
8888 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
8889 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8891 ac_prefix_list="" ;;
8892 esac
8893 for ac_prog in $ac_prefix_list
8895 # Extract the first word of "$ac_prog", so it can be a program name with args.
8896 set dummy $ac_prog; ac_word=$2
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8898 $as_echo_n "checking for $ac_word... " >&6; }
8899 if ${ac_cv_prog_CROSSCC+:} false; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 if test -n "$CROSSCC"; then
8903 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8904 else
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 for as_dir in $PATH
8908 IFS=$as_save_IFS
8909 test -z "$as_dir" && as_dir=.
8910 for ac_exec_ext in '' $ac_executable_extensions; do
8911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912 ac_cv_prog_CROSSCC="$ac_prog"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8914 break 2
8916 done
8917 done
8918 IFS=$as_save_IFS
8922 CROSSCC=$ac_cv_prog_CROSSCC
8923 if test -n "$CROSSCC"; then
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8925 $as_echo "$CROSSCC" >&6; }
8926 else
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928 $as_echo "no" >&6; }
8932 test -n "$CROSSCC" && break
8933 done
8934 test -n "$CROSSCC" || CROSSCC="false"
8936 if test "$CROSSCC" != "false"
8937 then
8938 ac_save_CC="$CC"
8939 CC="$CROSSCC"
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8941 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8946 main ()
8950 return 0;
8952 _ACEOF
8953 if ac_fn_c_try_compile "$LINENO"; then :
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8955 $as_echo "yes" >&6; }
8956 set x $CROSSCC
8957 shift
8958 while test $# -ge 1
8960 case "$1" in
8961 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8962 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8963 esac
8964 shift
8965 done
8966 else
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8968 $as_echo "no" >&6; }
8970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8971 CC="$ac_save_CC"
8976 if test "$ac_cv_header_pthread_h" = "yes"
8977 then
8978 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8979 if test "x$ac_cv_func_pthread_create" = xyes; then :
8981 else
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8983 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8984 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 ac_check_lib_save_LIBS=$LIBS
8988 LIBS="-lpthread $LIBS"
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8992 /* Override any GCC internal prototype to avoid an error.
8993 Use char because int might match the return type of a GCC
8994 builtin and then its argument prototype would still apply. */
8995 #ifdef __cplusplus
8996 extern "C"
8997 #endif
8998 char pthread_create ();
9000 main ()
9002 return pthread_create ();
9004 return 0;
9006 _ACEOF
9007 if ac_fn_c_try_link "$LINENO"; then :
9008 ac_cv_lib_pthread_pthread_create=yes
9009 else
9010 ac_cv_lib_pthread_pthread_create=no
9012 rm -f core conftest.err conftest.$ac_objext \
9013 conftest$ac_exeext conftest.$ac_ext
9014 LIBS=$ac_check_lib_save_LIBS
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9017 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9018 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9019 PTHREAD_LIBS="-lpthread"
9026 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9027 case "x$with_pthread" in
9028 xno) ;;
9029 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9030 Wine cannot support threads without libpthread.
9031 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9032 esac
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9038 $as_echo_n "checking for X... " >&6; }
9041 # Check whether --with-x was given.
9042 if test "${with_x+set}" = set; then :
9043 withval=$with_x;
9046 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9047 if test "x$with_x" = xno; then
9048 # The user explicitly disabled X.
9049 have_x=disabled
9050 else
9051 case $x_includes,$x_libraries in #(
9052 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9053 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 # One or both of the vars are not set, and there is no cached value.
9057 ac_x_includes=no ac_x_libraries=no
9058 rm -f -r conftest.dir
9059 if mkdir conftest.dir; then
9060 cd conftest.dir
9061 cat >Imakefile <<'_ACEOF'
9062 incroot:
9063 @echo incroot='${INCROOT}'
9064 usrlibdir:
9065 @echo usrlibdir='${USRLIBDIR}'
9066 libdir:
9067 @echo libdir='${LIBDIR}'
9068 _ACEOF
9069 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9070 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9071 for ac_var in incroot usrlibdir libdir; do
9072 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9073 done
9074 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9075 for ac_extension in a so sl dylib la dll; do
9076 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9077 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9078 ac_im_usrlibdir=$ac_im_libdir; break
9080 done
9081 # Screen out bogus values from the imake configuration. They are
9082 # bogus both because they are the default anyway, and because
9083 # using them would break gcc on systems where it needs fixed includes.
9084 case $ac_im_incroot in
9085 /usr/include) ac_x_includes= ;;
9086 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9087 esac
9088 case $ac_im_usrlibdir in
9089 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9090 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9091 esac
9093 cd ..
9094 rm -f -r conftest.dir
9097 # Standard set of common directories for X headers.
9098 # Check X11 before X11Rn because it is often a symlink to the current release.
9099 ac_x_header_dirs='
9100 /usr/X11/include
9101 /usr/X11R7/include
9102 /usr/X11R6/include
9103 /usr/X11R5/include
9104 /usr/X11R4/include
9106 /usr/include/X11
9107 /usr/include/X11R7
9108 /usr/include/X11R6
9109 /usr/include/X11R5
9110 /usr/include/X11R4
9112 /usr/local/X11/include
9113 /usr/local/X11R7/include
9114 /usr/local/X11R6/include
9115 /usr/local/X11R5/include
9116 /usr/local/X11R4/include
9118 /usr/local/include/X11
9119 /usr/local/include/X11R7
9120 /usr/local/include/X11R6
9121 /usr/local/include/X11R5
9122 /usr/local/include/X11R4
9124 /usr/X386/include
9125 /usr/x386/include
9126 /usr/XFree86/include/X11
9128 /usr/include
9129 /usr/local/include
9130 /usr/unsupported/include
9131 /usr/athena/include
9132 /usr/local/x11r5/include
9133 /usr/lpp/Xamples/include
9135 /usr/openwin/include
9136 /usr/openwin/share/include'
9138 if test "$ac_x_includes" = no; then
9139 # Guess where to find include files, by looking for Xlib.h.
9140 # First, try using that file with no special directory specified.
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9143 #include <X11/Xlib.h>
9144 _ACEOF
9145 if ac_fn_c_try_cpp "$LINENO"; then :
9146 # We can compile using X headers with no special include directory.
9147 ac_x_includes=
9148 else
9149 for ac_dir in $ac_x_header_dirs; do
9150 if test -r "$ac_dir/X11/Xlib.h"; then
9151 ac_x_includes=$ac_dir
9152 break
9154 done
9156 rm -f conftest.err conftest.i conftest.$ac_ext
9157 fi # $ac_x_includes = no
9159 if test "$ac_x_libraries" = no; then
9160 # Check for the libraries.
9161 # See if we find them without any special options.
9162 # Don't add to $LIBS permanently.
9163 ac_save_LIBS=$LIBS
9164 LIBS="-lX11 $LIBS"
9165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9167 #include <X11/Xlib.h>
9169 main ()
9171 XrmInitialize ()
9173 return 0;
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177 LIBS=$ac_save_LIBS
9178 # We can link X programs with no special library path.
9179 ac_x_libraries=
9180 else
9181 LIBS=$ac_save_LIBS
9182 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9184 # Don't even attempt the hair of trying to link an X program!
9185 for ac_extension in a so sl dylib la dll; do
9186 if test -r "$ac_dir/libX11.$ac_extension"; then
9187 ac_x_libraries=$ac_dir
9188 break 2
9190 done
9191 done
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 fi # $ac_x_libraries = no
9197 case $ac_x_includes,$ac_x_libraries in #(
9198 no,* | *,no | *\'*)
9199 # Didn't find X, or a directory has "'" in its name.
9200 ac_cv_have_x="have_x=no";; #(
9202 # Record where we found X for the cache.
9203 ac_cv_have_x="have_x=yes\
9204 ac_x_includes='$ac_x_includes'\
9205 ac_x_libraries='$ac_x_libraries'"
9206 esac
9208 ;; #(
9209 *) have_x=yes;;
9210 esac
9211 eval "$ac_cv_have_x"
9212 fi # $with_x != no
9214 if test "$have_x" != yes; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9216 $as_echo "$have_x" >&6; }
9217 no_x=yes
9218 else
9219 # If each of the values was on the command line, it overrides each guess.
9220 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9221 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9222 # Update the cache value to reflect the command line values.
9223 ac_cv_have_x="have_x=yes\
9224 ac_x_includes='$x_includes'\
9225 ac_x_libraries='$x_libraries'"
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9227 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9230 if test "$no_x" = yes; then
9231 # Not all programs may use this symbol, but it does not hurt to define it.
9233 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9235 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9236 else
9237 if test -n "$x_includes"; then
9238 X_CFLAGS="$X_CFLAGS -I$x_includes"
9241 # It would also be nice to do this for all -L options, not just this one.
9242 if test -n "$x_libraries"; then
9243 X_LIBS="$X_LIBS -L$x_libraries"
9244 # For Solaris; some versions of Sun CC require a space after -R and
9245 # others require no space. Words are not sufficient . . . .
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9247 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9248 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9249 ac_xsave_c_werror_flag=$ac_c_werror_flag
9250 ac_c_werror_flag=yes
9251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9255 main ()
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9264 $as_echo "no" >&6; }
9265 X_LIBS="$X_LIBS -R$x_libraries"
9266 else
9267 LIBS="$ac_xsave_LIBS -R $x_libraries"
9268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9272 main ()
9276 return 0;
9278 _ACEOF
9279 if ac_fn_c_try_link "$LINENO"; then :
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9281 $as_echo "yes" >&6; }
9282 X_LIBS="$X_LIBS -R $x_libraries"
9283 else
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9285 $as_echo "neither works" >&6; }
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9292 ac_c_werror_flag=$ac_xsave_c_werror_flag
9293 LIBS=$ac_xsave_LIBS
9296 # Check for system-dependent libraries X programs must link with.
9297 # Do this before checking for the system-independent R6 libraries
9298 # (-lICE), since we may need -lsocket or whatever for X linking.
9300 if test "$ISC" = yes; then
9301 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9302 else
9303 # Martyn Johnson says this is needed for Ultrix, if the X
9304 # libraries were built with DECnet support. And Karl Berry says
9305 # the Alpha needs dnet_stub (dnet does not exist).
9306 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9310 /* Override any GCC internal prototype to avoid an error.
9311 Use char because int might match the return type of a GCC
9312 builtin and then its argument prototype would still apply. */
9313 #ifdef __cplusplus
9314 extern "C"
9315 #endif
9316 char XOpenDisplay ();
9318 main ()
9320 return XOpenDisplay ();
9322 return 0;
9324 _ACEOF
9325 if ac_fn_c_try_link "$LINENO"; then :
9327 else
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9329 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9330 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9331 $as_echo_n "(cached) " >&6
9332 else
9333 ac_check_lib_save_LIBS=$LIBS
9334 LIBS="-ldnet $LIBS"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9338 /* Override any GCC internal prototype to avoid an error.
9339 Use char because int might match the return type of a GCC
9340 builtin and then its argument prototype would still apply. */
9341 #ifdef __cplusplus
9342 extern "C"
9343 #endif
9344 char dnet_ntoa ();
9346 main ()
9348 return dnet_ntoa ();
9350 return 0;
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_lib_dnet_dnet_ntoa=yes
9355 else
9356 ac_cv_lib_dnet_dnet_ntoa=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 LIBS=$ac_check_lib_save_LIBS
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9363 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9364 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9365 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9368 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9370 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9371 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9372 $as_echo_n "(cached) " >&6
9373 else
9374 ac_check_lib_save_LIBS=$LIBS
9375 LIBS="-ldnet_stub $LIBS"
9376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9379 /* Override any GCC internal prototype to avoid an error.
9380 Use char because int might match the return type of a GCC
9381 builtin and then its argument prototype would still apply. */
9382 #ifdef __cplusplus
9383 extern "C"
9384 #endif
9385 char dnet_ntoa ();
9387 main ()
9389 return dnet_ntoa ();
9391 return 0;
9393 _ACEOF
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9396 else
9397 ac_cv_lib_dnet_stub_dnet_ntoa=no
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LIBS=$ac_check_lib_save_LIBS
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9404 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9405 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9406 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 LIBS="$ac_xsave_LIBS"
9415 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9416 # to get the SysV transport functions.
9417 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9418 # needs -lnsl.
9419 # The nsl library prevents programs from opening the X display
9420 # on Irix 5.2, according to T.E. Dickey.
9421 # The functions gethostbyname, getservbyname, and inet_addr are
9422 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9423 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9424 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9428 if test $ac_cv_func_gethostbyname = no; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9430 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9431 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_check_lib_save_LIBS=$LIBS
9435 LIBS="-lnsl $LIBS"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9442 #ifdef __cplusplus
9443 extern "C"
9444 #endif
9445 char gethostbyname ();
9447 main ()
9449 return gethostbyname ();
9451 return 0;
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_lib_nsl_gethostbyname=yes
9456 else
9457 ac_cv_lib_nsl_gethostbyname=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_lib_save_LIBS
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9464 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9465 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9466 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9469 if test $ac_cv_lib_nsl_gethostbyname = no; then
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9471 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9472 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 ac_check_lib_save_LIBS=$LIBS
9476 LIBS="-lbsd $LIBS"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9483 #ifdef __cplusplus
9484 extern "C"
9485 #endif
9486 char gethostbyname ();
9488 main ()
9490 return gethostbyname ();
9492 return 0;
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"; then :
9496 ac_cv_lib_bsd_gethostbyname=yes
9497 else
9498 ac_cv_lib_bsd_gethostbyname=no
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9502 LIBS=$ac_check_lib_save_LIBS
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9505 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9506 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9507 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9513 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9514 # socket/setsockopt and other routines are undefined under SCO ODT
9515 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9516 # on later versions), says Simon Leinen: it contains gethostby*
9517 # variants that don't use the name server (or something). -lsocket
9518 # must be given before -lnsl if both are needed. We assume that
9519 # if connect needs -lnsl, so does gethostbyname.
9520 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9521 if test "x$ac_cv_func_connect" = xyes; then :
9525 if test $ac_cv_func_connect = no; then
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9527 $as_echo_n "checking for connect in -lsocket... " >&6; }
9528 if ${ac_cv_lib_socket_connect+:} false; then :
9529 $as_echo_n "(cached) " >&6
9530 else
9531 ac_check_lib_save_LIBS=$LIBS
9532 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char connect ();
9544 main ()
9546 return connect ();
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 ac_cv_lib_socket_connect=yes
9553 else
9554 ac_cv_lib_socket_connect=no
9556 rm -f core conftest.err conftest.$ac_objext \
9557 conftest$ac_exeext conftest.$ac_ext
9558 LIBS=$ac_check_lib_save_LIBS
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9561 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9562 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9563 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9568 # Guillermo Gomez says -lposix is necessary on A/UX.
9569 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9570 if test "x$ac_cv_func_remove" = xyes; then :
9574 if test $ac_cv_func_remove = no; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9576 $as_echo_n "checking for remove in -lposix... " >&6; }
9577 if ${ac_cv_lib_posix_remove+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 ac_check_lib_save_LIBS=$LIBS
9581 LIBS="-lposix $LIBS"
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9588 #ifdef __cplusplus
9589 extern "C"
9590 #endif
9591 char remove ();
9593 main ()
9595 return remove ();
9597 return 0;
9599 _ACEOF
9600 if ac_fn_c_try_link "$LINENO"; then :
9601 ac_cv_lib_posix_remove=yes
9602 else
9603 ac_cv_lib_posix_remove=no
9605 rm -f core conftest.err conftest.$ac_objext \
9606 conftest$ac_exeext conftest.$ac_ext
9607 LIBS=$ac_check_lib_save_LIBS
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9610 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9611 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9617 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9618 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9619 if test "x$ac_cv_func_shmat" = xyes; then :
9623 if test $ac_cv_func_shmat = no; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9625 $as_echo_n "checking for shmat in -lipc... " >&6; }
9626 if ${ac_cv_lib_ipc_shmat+:} false; then :
9627 $as_echo_n "(cached) " >&6
9628 else
9629 ac_check_lib_save_LIBS=$LIBS
9630 LIBS="-lipc $LIBS"
9631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9637 #ifdef __cplusplus
9638 extern "C"
9639 #endif
9640 char shmat ();
9642 main ()
9644 return shmat ();
9646 return 0;
9648 _ACEOF
9649 if ac_fn_c_try_link "$LINENO"; then :
9650 ac_cv_lib_ipc_shmat=yes
9651 else
9652 ac_cv_lib_ipc_shmat=no
9654 rm -f core conftest.err conftest.$ac_objext \
9655 conftest$ac_exeext conftest.$ac_ext
9656 LIBS=$ac_check_lib_save_LIBS
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9659 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9660 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9661 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9667 # Check for libraries that X11R6 Xt/Xaw programs need.
9668 ac_save_LDFLAGS=$LDFLAGS
9669 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9670 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9671 # check for ICE first), but we must link in the order -lSM -lICE or
9672 # we get undefined symbols. So assume we have SM if we have ICE.
9673 # These have to be linked with before -lX11, unlike the other
9674 # libraries we check for below, so use a different variable.
9675 # John Interrante, Karl Berry
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9677 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9678 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9679 $as_echo_n "(cached) " >&6
9680 else
9681 ac_check_lib_save_LIBS=$LIBS
9682 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9689 #ifdef __cplusplus
9690 extern "C"
9691 #endif
9692 char IceConnectionNumber ();
9694 main ()
9696 return IceConnectionNumber ();
9698 return 0;
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702 ac_cv_lib_ICE_IceConnectionNumber=yes
9703 else
9704 ac_cv_lib_ICE_IceConnectionNumber=no
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_lib_save_LIBS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9711 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9712 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9713 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9716 LDFLAGS=$ac_save_LDFLAGS
9721 if test "$have_x" = "yes"
9722 then
9723 ac_save_CPPFLAGS="$CPPFLAGS"
9724 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9727 $as_echo_n "checking for -lX11... " >&6; }
9728 if ${ac_cv_lib_soname_X11+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_check_soname_save_LIBS=$LIBS
9732 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char XCreateWindow ();
9744 main ()
9746 return XCreateWindow ();
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 case "$LIBEXT" in
9753 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9754 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'` ;;
9755 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9756 if ${ac_cv_lib_soname_X11:+false} :; then :
9757 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9758 fi ;;
9759 esac
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 LIBS=$ac_check_soname_save_LIBS
9765 if ${ac_cv_lib_soname_X11:+false} :; then :
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9767 $as_echo "not found" >&6; }
9769 else
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9771 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9773 cat >>confdefs.h <<_ACEOF
9774 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9775 _ACEOF
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9780 $as_echo_n "checking for -lXext... " >&6; }
9781 if ${ac_cv_lib_soname_Xext+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 ac_check_soname_save_LIBS=$LIBS
9785 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9792 #ifdef __cplusplus
9793 extern "C"
9794 #endif
9795 char XextCreateExtension ();
9797 main ()
9799 return XextCreateExtension ();
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 case "$LIBEXT" in
9806 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9807 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'` ;;
9808 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9809 if ${ac_cv_lib_soname_Xext:+false} :; then :
9810 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9811 fi ;;
9812 esac
9814 rm -f core conftest.err conftest.$ac_objext \
9815 conftest$ac_exeext conftest.$ac_ext
9816 LIBS=$ac_check_soname_save_LIBS
9818 if ${ac_cv_lib_soname_Xext:+false} :; then :
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9820 $as_echo "not found" >&6; }
9822 else
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9824 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9826 cat >>confdefs.h <<_ACEOF
9827 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9828 _ACEOF
9830 X_LIBS="$X_LIBS -lXext"
9832 X_LIBS="$X_LIBS -lX11"
9834 for ac_header in X11/Xlib.h \
9835 X11/XKBlib.h \
9836 X11/Xutil.h \
9837 X11/Xcursor/Xcursor.h \
9838 X11/extensions/shape.h \
9839 X11/extensions/XInput.h \
9840 X11/extensions/XInput2.h \
9841 X11/extensions/XShm.h \
9842 X11/extensions/Xcomposite.h \
9843 X11/extensions/Xinerama.h \
9844 X11/extensions/Xrandr.h \
9845 X11/extensions/Xrender.h \
9846 X11/extensions/xf86vmode.h \
9847 X11/extensions/xf86vmproto.h
9848 do :
9849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9851 # include <X11/Xlib.h>
9852 #endif
9853 #ifdef HAVE_X11_XUTIL_H
9854 # include <X11/Xutil.h>
9855 #endif
9857 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9858 cat >>confdefs.h <<_ACEOF
9859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9860 _ACEOF
9864 done
9867 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9868 then
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9870 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9871 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9872 $as_echo_n "(cached) " >&6
9873 else
9874 ac_check_lib_save_LIBS=$LIBS
9875 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9882 #ifdef __cplusplus
9883 extern "C"
9884 #endif
9885 char XkbQueryExtension ();
9887 main ()
9889 return XkbQueryExtension ();
9891 return 0;
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 ac_cv_lib_X11_XkbQueryExtension=yes
9896 else
9897 ac_cv_lib_X11_XkbQueryExtension=no
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LIBS=$ac_check_lib_save_LIBS
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9904 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9905 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9907 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9913 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9914 then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9916 $as_echo_n "checking for -lXcursor... " >&6; }
9917 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_check_soname_save_LIBS=$LIBS
9921 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9928 #ifdef __cplusplus
9929 extern "C"
9930 #endif
9931 char XcursorImageLoadCursor ();
9933 main ()
9935 return XcursorImageLoadCursor ();
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 case "$LIBEXT" in
9942 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9943 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'` ;;
9944 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9945 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9946 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9947 fi ;;
9948 esac
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_soname_save_LIBS
9954 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9956 $as_echo "not found" >&6; }
9958 else
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9960 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9962 cat >>confdefs.h <<_ACEOF
9963 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9964 _ACEOF
9969 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9970 case "x$with_xcursor" in
9971 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9972 xno) ;;
9973 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9974 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9975 esac
9979 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9980 then
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9982 $as_echo_n "checking for -lXi... " >&6; }
9983 if ${ac_cv_lib_soname_Xi+:} false; then :
9984 $as_echo_n "(cached) " >&6
9985 else
9986 ac_check_soname_save_LIBS=$LIBS
9987 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9994 #ifdef __cplusplus
9995 extern "C"
9996 #endif
9997 char XOpenDevice ();
9999 main ()
10001 return XOpenDevice ();
10003 return 0;
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 case "$LIBEXT" in
10008 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10009 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'` ;;
10010 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10011 if ${ac_cv_lib_soname_Xi:+false} :; then :
10012 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10013 fi ;;
10014 esac
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 LIBS=$ac_check_soname_save_LIBS
10020 if ${ac_cv_lib_soname_Xi:+false} :; then :
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10022 $as_echo "not found" >&6; }
10024 else
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10026 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10028 cat >>confdefs.h <<_ACEOF
10029 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10030 _ACEOF
10035 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10036 case "x$with_xinput" in
10037 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10038 xno) ;;
10039 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10040 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10041 esac
10045 if test "x$ac_cv_lib_soname_Xi" != x
10046 then
10047 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10048 case "x$with_xinput2" in
10049 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10050 xno) ;;
10051 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10052 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10053 esac
10058 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10059 then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10061 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10062 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_check_lib_save_LIBS=$LIBS
10066 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10070 /* Override any GCC internal prototype to avoid an error.
10071 Use char because int might match the return type of a GCC
10072 builtin and then its argument prototype would still apply. */
10073 #ifdef __cplusplus
10074 extern "C"
10075 #endif
10076 char XShmQueryExtension ();
10078 main ()
10080 return XShmQueryExtension ();
10082 return 0;
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"; then :
10086 ac_cv_lib_Xext_XShmQueryExtension=yes
10087 else
10088 ac_cv_lib_Xext_XShmQueryExtension=no
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_lib_save_LIBS
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10095 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10096 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10098 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10103 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10104 case "x$with_xshm" in
10105 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10106 xno) ;;
10107 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10108 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10109 esac
10113 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10114 then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10116 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10117 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10118 $as_echo_n "(cached) " >&6
10119 else
10120 ac_check_lib_save_LIBS=$LIBS
10121 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10125 /* Override any GCC internal prototype to avoid an error.
10126 Use char because int might match the return type of a GCC
10127 builtin and then its argument prototype would still apply. */
10128 #ifdef __cplusplus
10129 extern "C"
10130 #endif
10131 char XShapeQueryExtension ();
10133 main ()
10135 return XShapeQueryExtension ();
10137 return 0;
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"; then :
10141 ac_cv_lib_Xext_XShapeQueryExtension=yes
10142 else
10143 ac_cv_lib_Xext_XShapeQueryExtension=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 LIBS=$ac_check_lib_save_LIBS
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10150 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10151 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10153 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10158 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10159 case "x$with_xshape" in
10160 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10161 xno) ;;
10162 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10163 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10164 esac
10168 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10169 then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10171 $as_echo_n "checking for -lXxf86vm... " >&6; }
10172 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_check_soname_save_LIBS=$LIBS
10176 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 char XF86VidModeQueryExtension ();
10188 main ()
10190 return XF86VidModeQueryExtension ();
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 case "$LIBEXT" in
10197 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10198 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'` ;;
10199 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10200 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10201 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10202 fi ;;
10203 esac
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_soname_save_LIBS
10209 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10211 $as_echo "not found" >&6; }
10213 else
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10215 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10217 cat >>confdefs.h <<_ACEOF
10218 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10219 _ACEOF
10224 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10225 case "x$with_xxf86vm" in
10226 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10227 xno) ;;
10228 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10229 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10230 esac
10234 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10235 then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10237 $as_echo_n "checking for -lXrender... " >&6; }
10238 if ${ac_cv_lib_soname_Xrender+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_soname_save_LIBS=$LIBS
10242 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XRenderQueryExtension ();
10254 main ()
10256 return XRenderQueryExtension ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 case "$LIBEXT" in
10263 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10267 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10268 fi ;;
10269 esac
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_soname_save_LIBS
10275 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10277 $as_echo "not found" >&6; }
10279 else
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10281 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10283 cat >>confdefs.h <<_ACEOF
10284 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10285 _ACEOF
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10288 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10289 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10290 $as_echo_n "(cached) " >&6
10291 else
10292 ac_check_lib_save_LIBS=$LIBS
10293 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10297 /* Override any GCC internal prototype to avoid an error.
10298 Use char because int might match the return type of a GCC
10299 builtin and then its argument prototype would still apply. */
10300 #ifdef __cplusplus
10301 extern "C"
10302 #endif
10303 char XRenderSetPictureTransform ();
10305 main ()
10307 return XRenderSetPictureTransform ();
10309 return 0;
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"; then :
10313 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10314 else
10315 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10317 rm -f core conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_lib_save_LIBS
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10322 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10323 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10325 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10330 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10331 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_check_lib_save_LIBS=$LIBS
10335 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10342 #ifdef __cplusplus
10343 extern "C"
10344 #endif
10345 char XRenderCreateLinearGradient ();
10347 main ()
10349 return XRenderCreateLinearGradient ();
10351 return 0;
10353 _ACEOF
10354 if ac_fn_c_try_link "$LINENO"; then :
10355 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10356 else
10357 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_lib_save_LIBS
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10364 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10365 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10367 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10374 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10375 case "x$with_xrender" in
10376 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10377 xno) ;;
10378 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10379 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10380 esac
10384 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10385 then
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 #include <X11/Xlib.h>
10389 #include <X11/extensions/Xrandr.h>
10391 main ()
10393 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_compile "$LINENO"; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10400 $as_echo_n "checking for -lXrandr... " >&6; }
10401 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10402 $as_echo_n "(cached) " >&6
10403 else
10404 ac_check_soname_save_LIBS=$LIBS
10405 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10412 #ifdef __cplusplus
10413 extern "C"
10414 #endif
10415 char XRRQueryExtension ();
10417 main ()
10419 return XRRQueryExtension ();
10421 return 0;
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 case "$LIBEXT" in
10426 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 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'` ;;
10428 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10430 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10431 fi ;;
10432 esac
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10442 else
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10444 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10446 cat >>confdefs.h <<_ACEOF
10447 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10448 _ACEOF
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10452 #include <X11/Xlib.h>
10453 #include <X11/extensions/Xrandr.h>
10455 main ()
10457 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10459 return 0;
10461 _ACEOF
10462 if ac_fn_c_try_compile "$LINENO"; then :
10464 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10472 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10473 case "x$with_xrandr" in
10474 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10475 xno) ;;
10476 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10477 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10478 esac
10482 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10483 then
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10486 #include <X11/Xlib.h>
10487 #include <X11/extensions/Xinerama.h>
10489 main ()
10491 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10493 return 0;
10495 _ACEOF
10496 if ac_fn_c_try_compile "$LINENO"; then :
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10498 $as_echo_n "checking for -lXinerama... " >&6; }
10499 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10500 $as_echo_n "(cached) " >&6
10501 else
10502 ac_check_soname_save_LIBS=$LIBS
10503 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10507 /* Override any GCC internal prototype to avoid an error.
10508 Use char because int might match the return type of a GCC
10509 builtin and then its argument prototype would still apply. */
10510 #ifdef __cplusplus
10511 extern "C"
10512 #endif
10513 char XineramaQueryScreens ();
10515 main ()
10517 return XineramaQueryScreens ();
10519 return 0;
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 case "$LIBEXT" in
10524 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10525 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'` ;;
10526 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10527 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10528 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10529 fi ;;
10530 esac
10532 rm -f core conftest.err conftest.$ac_objext \
10533 conftest$ac_exeext conftest.$ac_ext
10534 LIBS=$ac_check_soname_save_LIBS
10536 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10538 $as_echo "not found" >&6; }
10540 else
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10542 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10544 cat >>confdefs.h <<_ACEOF
10545 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10546 _ACEOF
10551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10553 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10554 case "x$with_xinerama" in
10555 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10556 xno) ;;
10557 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10558 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10559 esac
10563 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10564 then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10566 $as_echo_n "checking for -lXcomposite... " >&6; }
10567 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char XCompositeRedirectWindow ();
10583 main ()
10585 return XCompositeRedirectWindow ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10596 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10608 else
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10610 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10612 cat >>confdefs.h <<_ACEOF
10613 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10614 _ACEOF
10619 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10620 case "x$with_xcomposite" in
10621 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10624 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10625 esac
10629 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10630 #include <X11/Xlib.h>
10631 #endif
10633 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10635 cat >>confdefs.h <<_ACEOF
10636 #define HAVE_XICCALLBACK_CALLBACK 1
10637 _ACEOF
10641 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10642 #include <X11/Xlib.h>
10643 #endif
10645 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10647 cat >>confdefs.h <<_ACEOF
10648 #define HAVE_XEVENT_XCOOKIE 1
10649 _ACEOF
10656 opengl_msg=""
10657 if test "x$with_opengl" != "xno"
10658 then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10660 $as_echo_n "checking for -lGL... " >&6; }
10661 if ${ac_cv_lib_soname_GL+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_check_soname_save_LIBS=$LIBS
10665 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char glXCreateContext ();
10677 main ()
10679 return glXCreateContext ();
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 case "$LIBEXT" in
10686 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10687 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'` ;;
10688 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10689 if ${ac_cv_lib_soname_GL:+false} :; then :
10690 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10691 fi ;;
10692 esac
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_soname_save_LIBS
10698 if ${ac_cv_lib_soname_GL:+false} :; then :
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10700 $as_echo "not found" >&6; }
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10702 $as_echo_n "checking for -lGL... " >&6; }
10703 if ${ac_cv_lib_soname_GL+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_soname_save_LIBS=$LIBS
10707 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"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char glXCreateContext ();
10719 main ()
10721 return glXCreateContext ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 case "$LIBEXT" in
10728 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10729 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'` ;;
10730 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10731 if ${ac_cv_lib_soname_GL:+false} :; then :
10732 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10733 fi ;;
10734 esac
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 LIBS=$ac_check_soname_save_LIBS
10740 if ${ac_cv_lib_soname_GL:+false} :; then :
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10742 $as_echo "not found" >&6; }
10743 if test -f /usr/X11R6/lib/libGL.a
10744 then
10745 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10746 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10747 else
10748 opengl_msg="No OpenGL library found on this system."
10750 else
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10752 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10754 cat >>confdefs.h <<_ACEOF
10755 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10756 _ACEOF
10758 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"
10760 else
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10762 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10764 cat >>confdefs.h <<_ACEOF
10765 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10766 _ACEOF
10768 OPENGL_LIBS="-lGL"
10770 if test "x$with_glu" != "xno"
10771 then
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10773 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10774 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10775 $as_echo_n "(cached) " >&6
10776 else
10777 ac_check_lib_save_LIBS=$LIBS
10778 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char gluLookAt ();
10790 main ()
10792 return gluLookAt ();
10794 return 0;
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 ac_cv_lib_GLU_gluLookAt=yes
10799 else
10800 ac_cv_lib_GLU_gluLookAt=no
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10807 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10808 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10812 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10813 case "x$with_glu" in
10814 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10815 xno) ;;
10816 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10817 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10818 esac
10823 if test "x$with_osmesa" != "xno"
10824 then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10826 $as_echo_n "checking for -lOSMesa... " >&6; }
10827 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_soname_save_LIBS=$LIBS
10831 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char glAccum ();
10843 main ()
10845 return glAccum ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 case "$LIBEXT" in
10852 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10853 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'` ;;
10854 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10855 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10856 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10857 fi ;;
10858 esac
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_soname_save_LIBS
10864 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10866 $as_echo "not found" >&6; }
10868 else
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10870 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10872 cat >>confdefs.h <<_ACEOF
10873 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10874 _ACEOF
10878 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10879 case "x$with_osmesa" in
10880 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10881 xno) ;;
10882 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10883 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10884 esac
10889 if test -n "$opengl_msg"; then :
10890 case "x$with_opengl" in
10891 x) as_fn_append wine_warnings "|$opengl_msg
10892 OpenGL and Direct3D won't be supported." ;;
10893 xno) ;;
10894 *) as_fn_error $? "$opengl_msg
10895 OpenGL and Direct3D won't be supported.
10896 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10897 esac
10901 CPPFLAGS="$ac_save_CPPFLAGS"
10902 else
10903 X_CFLAGS=""
10904 X_LIBS=""
10906 if test "x$X_LIBS" = "x"; then :
10907 case "x$with_x" in
10908 xno) ;;
10909 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10910 without X support, which probably isn't what you want. You will need
10911 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10912 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10913 esac
10914 enable_winex11_drv=${enable_winex11_drv:-no}
10917 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10919 if test "$ac_cv_header_CL_cl_h" = "yes"
10920 then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10922 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10923 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10924 $as_echo_n "(cached) " >&6
10925 else
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lOpenCL $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934 #ifdef __cplusplus
10935 extern "C"
10936 #endif
10937 char clGetPlatformInfo ();
10939 main ()
10941 return clGetPlatformInfo ();
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10948 else
10949 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10956 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10957 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10958 OPENCL_LIBS="-lOpenCL"
10963 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10964 case "x$with_opencl" in
10965 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10966 xno) ;;
10967 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10968 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10969 esac
10970 enable_opencl=${enable_opencl:-no}
10973 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10974 then
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10976 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10977 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10978 $as_echo_n "(cached) " >&6
10979 else
10980 ac_check_lib_save_LIBS=$LIBS
10981 LIBS="-lpcap $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10988 #ifdef __cplusplus
10989 extern "C"
10990 #endif
10991 char pcap_create ();
10993 main ()
10995 return pcap_create ();
10997 return 0;
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"; then :
11001 ac_cv_lib_pcap_pcap_create=yes
11002 else
11003 ac_cv_lib_pcap_pcap_create=no
11005 rm -f core conftest.err conftest.$ac_objext \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11010 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11011 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11012 PCAP_LIBS="-lpcap"
11017 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11018 case "x$with_pcap" in
11019 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11020 xno) ;;
11021 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11022 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11023 esac
11024 enable_wpcap=${enable_wpcap:-no}
11028 if test "x$with_xml" != "xno"
11029 then
11030 if ${XML2_CFLAGS:+false} :; then :
11031 if ${PKG_CONFIG+:} false; then :
11032 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11035 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11036 if ${XML2_LIBS:+false} :; then :
11037 if ${PKG_CONFIG+:} false; then :
11038 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11041 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11042 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11043 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11044 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11045 ac_save_CPPFLAGS=$CPPFLAGS
11046 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11047 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11048 do :
11049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11050 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11051 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11052 cat >>confdefs.h <<_ACEOF
11053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11054 _ACEOF
11058 done
11060 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"
11061 then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11063 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11064 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11065 $as_echo_n "(cached) " >&6
11066 else
11067 ac_check_lib_save_LIBS=$LIBS
11068 LIBS="-lxml2 $XML2_LIBS $LIBS"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char xmlParseMemory ();
11080 main ()
11082 return xmlParseMemory ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11088 ac_cv_lib_xml2_xmlParseMemory=yes
11089 else
11090 ac_cv_lib_xml2_xmlParseMemory=no
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 LIBS=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11097 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11098 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11100 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11102 else
11103 XML2_LIBS=""
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11107 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11108 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11109 $as_echo_n "(cached) " >&6
11110 else
11111 ac_check_lib_save_LIBS=$LIBS
11112 LIBS="-lxml2 $XML2_LIBS $LIBS"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char xmlReadMemory ();
11124 main ()
11126 return xmlReadMemory ();
11128 return 0;
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 ac_cv_lib_xml2_xmlReadMemory=yes
11133 else
11134 ac_cv_lib_xml2_xmlReadMemory=no
11136 rm -f core conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_lib_save_LIBS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11141 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11142 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11144 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11149 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11150 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-lxml2 $XML2_LIBS $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char xmlNewDocPI ();
11166 main ()
11168 return xmlNewDocPI ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_xml2_xmlNewDocPI=yes
11175 else
11176 ac_cv_lib_xml2_xmlNewDocPI=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11183 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11184 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11186 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11191 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11192 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lxml2 $XML2_LIBS $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char xmlSchemaSetParserStructuredErrors ();
11208 main ()
11210 return xmlSchemaSetParserStructuredErrors ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11217 else
11218 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11225 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11226 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11228 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11233 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11234 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lxml2 $XML2_LIBS $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char xmlSchemaSetValidStructuredErrors ();
11250 main ()
11252 return xmlSchemaSetValidStructuredErrors ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11259 else
11260 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11267 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11268 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11270 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11275 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11276 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11277 $as_echo_n "(cached) " >&6
11278 else
11279 ac_check_lib_save_LIBS=$LIBS
11280 LIBS="-lxml2 $XML2_LIBS $LIBS"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11287 #ifdef __cplusplus
11288 extern "C"
11289 #endif
11290 char xmlFirstElementChild ();
11292 main ()
11294 return xmlFirstElementChild ();
11296 return 0;
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300 ac_cv_lib_xml2_xmlFirstElementChild=yes
11301 else
11302 ac_cv_lib_xml2_xmlFirstElementChild=no
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11309 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11310 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11312 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11316 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11318 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11320 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11324 else
11325 XML2_CFLAGS=""
11326 XML2_LIBS=""
11328 CPPFLAGS=$ac_save_CPPFLAGS
11329 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11330 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11333 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11334 case "x$with_xml" in
11335 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11336 xno) ;;
11337 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11338 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11339 esac
11343 if test "x$with_xslt" != "xno"
11344 then
11345 if ${XSLT_CFLAGS:+false} :; then :
11346 if ${PKG_CONFIG+:} false; then :
11347 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11350 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11351 if ${XSLT_LIBS:+false} :; then :
11352 if ${PKG_CONFIG+:} false; then :
11353 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11356 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11357 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11358 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11359 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11360 ac_save_CPPFLAGS=$CPPFLAGS
11361 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11362 for ac_header in libxslt/pattern.h libxslt/transform.h
11363 do :
11364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11365 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11366 # include <libxslt/pattern.h>
11367 #endif
11369 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11370 cat >>confdefs.h <<_ACEOF
11371 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11372 _ACEOF
11376 done
11378 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11379 then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11381 $as_echo_n "checking for -lxslt... " >&6; }
11382 if ${ac_cv_lib_soname_xslt+:} false; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_soname_save_LIBS=$LIBS
11386 LIBS="-lxslt $XSLT_LIBS $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char xsltCompilePattern ();
11398 main ()
11400 return xsltCompilePattern ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 case "$LIBEXT" in
11407 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11410 if ${ac_cv_lib_soname_xslt:+false} :; then :
11411 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11412 fi ;;
11413 esac
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_soname_save_LIBS
11419 if ${ac_cv_lib_soname_xslt:+false} :; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11425 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11429 _ACEOF
11433 else
11434 XSLT_CFLAGS=""
11436 CPPFLAGS=$ac_save_CPPFLAGS
11437 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11438 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11441 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11442 case "x$with_xslt" in
11443 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11444 xno) ;;
11445 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11446 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11447 esac
11451 if test "x$with_dbus" != "xno"
11452 then
11453 if ${DBUS_CFLAGS:+false} :; then :
11454 if ${PKG_CONFIG+:} false; then :
11455 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11459 if ${DBUS_LIBS:+false} :; then :
11460 if ${PKG_CONFIG+:} false; then :
11461 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11466 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11467 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11468 ac_save_CPPFLAGS=$CPPFLAGS
11469 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11470 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11471 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11473 $as_echo_n "checking for -ldbus-1... " >&6; }
11474 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_soname_save_LIBS=$LIBS
11478 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char dbus_connection_close ();
11490 main ()
11492 return dbus_connection_close ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 case "$LIBEXT" in
11499 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11500 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'` ;;
11501 *) 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'`
11502 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11503 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11504 fi ;;
11505 esac
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_soname_save_LIBS
11511 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11513 $as_echo "not found" >&6; }
11514 DBUS_CFLAGS=""
11515 else
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11517 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11519 cat >>confdefs.h <<_ACEOF
11520 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11521 _ACEOF
11525 else
11526 DBUS_CFLAGS=""
11530 CPPFLAGS=$ac_save_CPPFLAGS
11531 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11532 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11535 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11536 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11537 case "x$with_dbus" in
11538 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11539 xno) ;;
11540 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11541 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11542 esac
11546 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11547 then
11548 if ${HAL_CFLAGS:+false} :; then :
11549 if ${PKG_CONFIG+:} false; then :
11550 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11554 if ${HAL_LIBS:+false} :; then :
11555 if ${PKG_CONFIG+:} false; then :
11556 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11560 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11561 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11562 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11563 ac_save_CPPFLAGS=$CPPFLAGS
11564 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11565 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11566 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11568 $as_echo_n "checking for -lhal... " >&6; }
11569 if ${ac_cv_lib_soname_hal+:} false; then :
11570 $as_echo_n "(cached) " >&6
11571 else
11572 ac_check_soname_save_LIBS=$LIBS
11573 LIBS="-lhal $HAL_LIBS $LIBS"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11580 #ifdef __cplusplus
11581 extern "C"
11582 #endif
11583 char libhal_ctx_new ();
11585 main ()
11587 return libhal_ctx_new ();
11589 return 0;
11591 _ACEOF
11592 if ac_fn_c_try_link "$LINENO"; then :
11593 case "$LIBEXT" in
11594 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11595 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'` ;;
11596 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11597 if ${ac_cv_lib_soname_hal:+false} :; then :
11598 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11599 fi ;;
11600 esac
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_soname_save_LIBS
11606 if ${ac_cv_lib_soname_hal:+false} :; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11608 $as_echo "not found" >&6; }
11609 HAL_CFLAGS=""
11610 else
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11612 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11614 cat >>confdefs.h <<_ACEOF
11615 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11616 _ACEOF
11620 else
11621 HAL_CFLAGS=""
11625 CPPFLAGS=$ac_save_CPPFLAGS
11626 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11627 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11629 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11630 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11631 case "x$with_hal" in
11632 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11633 xno) ;;
11634 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11635 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11636 esac
11641 if test "x$with_gnutls" != "xno"
11642 then
11643 if ${GNUTLS_CFLAGS:+false} :; then :
11644 if ${PKG_CONFIG+:} false; then :
11645 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11649 if ${GNUTLS_LIBS:+false} :; then :
11650 if ${PKG_CONFIG+:} false; then :
11651 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11656 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11657 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11658 ac_save_CPPFLAGS=$CPPFLAGS
11659 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11660 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11661 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11664 #include <gnutls/gnutls.h>
11665 #include <gnutls/crypto.h>
11667 main ()
11669 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11671 return 0;
11673 _ACEOF
11674 if ac_fn_c_try_compile "$LINENO"; then :
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11676 $as_echo_n "checking for -lgnutls... " >&6; }
11677 if ${ac_cv_lib_soname_gnutls+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_soname_save_LIBS=$LIBS
11681 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char gnutls_global_init ();
11693 main ()
11695 return gnutls_global_init ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 case "$LIBEXT" in
11702 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11703 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'` ;;
11704 *) 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'`
11705 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11706 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'`
11707 fi ;;
11708 esac
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_soname_save_LIBS
11714 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11716 $as_echo "not found" >&6; }
11717 GNUTLS_CFLAGS=""
11718 else
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11720 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11722 cat >>confdefs.h <<_ACEOF
11723 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11724 _ACEOF
11728 ac_wine_check_funcs_save_LIBS="$LIBS"
11729 LIBS="$LIBS $GNUTLS_LIBS"
11730 for ac_func in gnutls_hash
11731 do :
11732 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11733 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11734 cat >>confdefs.h <<_ACEOF
11735 #define HAVE_GNUTLS_HASH 1
11736 _ACEOF
11738 else
11739 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11741 done
11743 LIBS="$ac_wine_check_funcs_save_LIBS"
11745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11746 else
11747 GNUTLS_CFLAGS=""
11751 CPPFLAGS=$ac_save_CPPFLAGS
11752 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11753 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11756 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11757 case "x$with_gnutls" in
11758 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11759 xno) ;;
11760 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11761 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11762 esac
11766 CURSES_LIBS=""
11767 if test "$ac_cv_header_ncurses_h" = "yes"
11768 then
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11770 $as_echo_n "checking for -lncurses... " >&6; }
11771 if ${ac_cv_lib_soname_ncurses+:} false; then :
11772 $as_echo_n "(cached) " >&6
11773 else
11774 ac_check_soname_save_LIBS=$LIBS
11775 LIBS="-lncurses $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char waddch ();
11787 main ()
11789 return waddch ();
11791 return 0;
11793 _ACEOF
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 case "$LIBEXT" in
11796 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11797 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'` ;;
11798 *) 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'`
11799 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11800 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11801 fi ;;
11802 esac
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_soname_save_LIBS
11808 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11810 $as_echo "not found" >&6; }
11812 else
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11814 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11816 cat >>confdefs.h <<_ACEOF
11817 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11818 _ACEOF
11820 CURSES_LIBS="-lncurses"
11822 elif test "$ac_cv_header_curses_h" = "yes"
11823 then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11825 $as_echo_n "checking for -lcurses... " >&6; }
11826 if ${ac_cv_lib_soname_curses+:} false; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 ac_check_soname_save_LIBS=$LIBS
11830 LIBS="-lcurses $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 #ifdef __cplusplus
11838 extern "C"
11839 #endif
11840 char waddch ();
11842 main ()
11844 return waddch ();
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"; then :
11850 case "$LIBEXT" in
11851 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11852 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'` ;;
11853 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11854 if ${ac_cv_lib_soname_curses:+false} :; then :
11855 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11856 fi ;;
11857 esac
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_soname_save_LIBS
11863 if ${ac_cv_lib_soname_curses:+false} :; then :
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11865 $as_echo "not found" >&6; }
11867 else
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11869 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11871 cat >>confdefs.h <<_ACEOF
11872 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11873 _ACEOF
11875 CURSES_LIBS="-lcurses"
11878 ac_save_LIBS="$LIBS"
11879 LIBS="$LIBS $CURSES_LIBS"
11880 for ac_func in mousemask
11881 do :
11882 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11883 if test "x$ac_cv_func_mousemask" = xyes; then :
11884 cat >>confdefs.h <<_ACEOF
11885 #define HAVE_MOUSEMASK 1
11886 _ACEOF
11889 done
11891 LIBS="$ac_save_LIBS"
11892 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11893 case "x$with_curses" in
11894 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11897 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11898 esac
11902 if test "x$with_sane" != "xno"
11903 then
11904 if ${SANE_CFLAGS:+false} :; then :
11905 if ${PKG_CONFIG+:} false; then :
11906 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11909 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11910 if ${SANE_LIBS:+false} :; then :
11911 if ${PKG_CONFIG+:} false; then :
11912 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11915 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11917 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11918 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11919 ac_save_CPPFLAGS=$CPPFLAGS
11920 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11921 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11922 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11924 $as_echo_n "checking for -lsane... " >&6; }
11925 if ${ac_cv_lib_soname_sane+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_soname_save_LIBS=$LIBS
11929 LIBS="-lsane $SANE_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char sane_init ();
11941 main ()
11943 return sane_init ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 case "$LIBEXT" in
11950 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11951 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'` ;;
11952 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11953 if ${ac_cv_lib_soname_sane:+false} :; then :
11954 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11955 fi ;;
11956 esac
11958 rm -f core conftest.err conftest.$ac_objext \
11959 conftest$ac_exeext conftest.$ac_ext
11960 LIBS=$ac_check_soname_save_LIBS
11962 if ${ac_cv_lib_soname_sane:+false} :; then :
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11964 $as_echo "not found" >&6; }
11965 SANE_CFLAGS=""
11966 else
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11968 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11970 cat >>confdefs.h <<_ACEOF
11971 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11972 _ACEOF
11976 else
11977 SANE_CFLAGS=""
11981 CPPFLAGS=$ac_save_CPPFLAGS
11982 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11983 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11986 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11987 case "x$with_sane" in
11988 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11989 xno) ;;
11990 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11991 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11992 esac
11996 if test "x$with_v4l" != "xno"
11997 then
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11999 $as_echo_n "checking for -lv4l1... " >&6; }
12000 if ${ac_cv_lib_soname_v4l1+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_soname_save_LIBS=$LIBS
12004 LIBS="-lv4l1 $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char v4l1_open ();
12016 main ()
12018 return v4l1_open ();
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"; then :
12024 case "$LIBEXT" in
12025 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12026 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'` ;;
12027 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12028 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12029 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12030 fi ;;
12031 esac
12033 rm -f core conftest.err conftest.$ac_objext \
12034 conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_soname_save_LIBS
12037 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12039 $as_echo "not found" >&6; }
12041 else
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12043 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12045 cat >>confdefs.h <<_ACEOF
12046 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12047 _ACEOF
12052 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12053 case "x$with_v4l" in
12054 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12055 xno) ;;
12056 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12057 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12058 esac
12062 if test "x$with_gphoto" != "xno"
12063 then
12064 if ${GPHOTO2_CFLAGS:+false} :; then :
12065 if ${PKG_CONFIG+:} false; then :
12066 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12069 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12070 if ${GPHOTO2_LIBS:+false} :; then :
12071 if ${PKG_CONFIG+:} false; then :
12072 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12075 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12076 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12077 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12078 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12079 ac_save_CPPFLAGS=$CPPFLAGS
12080 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12081 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12082 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12084 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12085 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12086 $as_echo_n "(cached) " >&6
12087 else
12088 ac_check_lib_save_LIBS=$LIBS
12089 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12093 /* Override any GCC internal prototype to avoid an error.
12094 Use char because int might match the return type of a GCC
12095 builtin and then its argument prototype would still apply. */
12096 #ifdef __cplusplus
12097 extern "C"
12098 #endif
12099 char gp_camera_new ();
12101 main ()
12103 return gp_camera_new ();
12105 return 0;
12107 _ACEOF
12108 if ac_fn_c_try_link "$LINENO"; then :
12109 ac_cv_lib_gphoto2_gp_camera_new=yes
12110 else
12111 ac_cv_lib_gphoto2_gp_camera_new=no
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12118 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12119 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12121 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12123 else
12124 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12127 else
12128 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12132 CPPFLAGS=$ac_save_CPPFLAGS
12133 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12134 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12136 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12137 if ${PKG_CONFIG+:} false; then :
12138 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12141 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12142 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12143 if ${PKG_CONFIG+:} false; then :
12144 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12147 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12148 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12149 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12150 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12151 ac_save_CPPFLAGS=$CPPFLAGS
12152 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12153 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12154 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12156 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12157 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12158 $as_echo_n "(cached) " >&6
12159 else
12160 ac_check_lib_save_LIBS=$LIBS
12161 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12168 #ifdef __cplusplus
12169 extern "C"
12170 #endif
12171 char gp_port_info_list_new ();
12173 main ()
12175 return gp_port_info_list_new ();
12177 return 0;
12179 _ACEOF
12180 if ac_fn_c_try_link "$LINENO"; then :
12181 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12182 else
12183 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12185 rm -f core conftest.err conftest.$ac_objext \
12186 conftest$ac_exeext conftest.$ac_ext
12187 LIBS=$ac_check_lib_save_LIBS
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12190 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12191 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12193 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12195 else
12196 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12199 else
12200 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12204 CPPFLAGS=$ac_save_CPPFLAGS
12205 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12206 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12209 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12210 case "x$with_gphoto" in
12211 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12212 xno) ;;
12213 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12214 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12215 esac
12218 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12219 case "x$with_gphoto" in
12220 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12221 xno) ;;
12222 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12223 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12224 esac
12229 if test "$ac_cv_header_resolv_h" = "yes"
12230 then
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12232 $as_echo_n "checking for resolver library... " >&6; }
12233 if ${ac_cv_have_resolv+:} false; then :
12234 $as_echo_n "(cached) " >&6
12235 else
12236 ac_save_LIBS="$LIBS"
12237 for lib in '' -lresolv
12239 LIBS="$lib $ac_save_LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12242 #ifdef HAVE_NETINET_IN_H
12243 #include <netinet/in.h>
12244 #endif
12245 #include <resolv.h>
12247 main ()
12249 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 ac_cv_have_resolv=${lib:-"none required"}
12256 else
12257 ac_cv_have_resolv="not found"
12259 rm -f core conftest.err conftest.$ac_objext \
12260 conftest$ac_exeext conftest.$ac_ext
12261 test "x$ac_cv_have_resolv" = "xnot found" || break
12262 done
12263 LIBS="$ac_save_LIBS"
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12266 $as_echo "$ac_cv_have_resolv" >&6; }
12268 case "$ac_cv_have_resolv" in
12269 "not found") ;;
12270 "none required")
12272 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12275 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12277 RESOLV_LIBS=$ac_cv_have_resolv
12279 esac
12282 if test "x$with_cms" != "xno"
12283 then
12284 if ${LCMS2_CFLAGS:+false} :; then :
12285 if ${PKG_CONFIG+:} false; then :
12286 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12290 if ${LCMS2_LIBS:+false} :; then :
12291 if ${PKG_CONFIG+:} false; then :
12292 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12296 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12297 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12298 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12299 ac_save_CPPFLAGS=$CPPFLAGS
12300 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12301 for ac_header in lcms2.h
12302 do :
12303 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12304 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12305 cat >>confdefs.h <<_ACEOF
12306 #define HAVE_LCMS2_H 1
12307 _ACEOF
12311 done
12313 if test "$ac_cv_header_lcms2_h" = "yes"
12314 then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12316 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12317 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_lib_save_LIBS=$LIBS
12321 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char cmsOpenProfileFromFile ();
12333 main ()
12335 return cmsOpenProfileFromFile ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12342 else
12343 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12345 rm -f core conftest.err conftest.$ac_objext \
12346 conftest$ac_exeext conftest.$ac_ext
12347 LIBS=$ac_check_lib_save_LIBS
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12350 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12351 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12353 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12355 else
12356 LCMS2_LIBS=""
12359 else
12360 LCMS2_CFLAGS=""
12361 LCMS2_LIBS=""
12363 CPPFLAGS=$ac_save_CPPFLAGS
12364 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12365 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12368 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12369 case "x$with_cms" in
12370 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12371 xno) ;;
12372 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12373 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12374 esac
12378 if test "x$with_freetype" != "xno"
12379 then
12380 if ${FREETYPE_CFLAGS:+false} :; then :
12381 if ${PKG_CONFIG+:} false; then :
12382 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12385 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12386 if ${FREETYPE_LIBS:+false} :; then :
12387 if ${PKG_CONFIG+:} false; then :
12388 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12391 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12392 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12393 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12394 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12395 ac_save_CPPFLAGS=$CPPFLAGS
12396 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12397 for ac_header in ft2build.h
12398 do :
12399 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12400 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12401 cat >>confdefs.h <<_ACEOF
12402 #define HAVE_FT2BUILD_H 1
12403 _ACEOF
12407 done
12409 if test "$ac_cv_header_ft2build_h" = "yes"
12410 then
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12412 $as_echo_n "checking for -lfreetype... " >&6; }
12413 if ${ac_cv_lib_soname_freetype+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_soname_save_LIBS=$LIBS
12417 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char FT_Init_FreeType ();
12429 main ()
12431 return FT_Init_FreeType ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 case "$LIBEXT" in
12438 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12439 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'` ;;
12440 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12441 if ${ac_cv_lib_soname_freetype:+false} :; then :
12442 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12443 fi ;;
12444 esac
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_soname_save_LIBS
12450 if ${ac_cv_lib_soname_freetype:+false} :; then :
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12452 $as_echo "not found" >&6; }
12453 FREETYPE_LIBS=""
12454 else
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12456 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12458 cat >>confdefs.h <<_ACEOF
12459 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12460 _ACEOF
12463 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12465 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12466 #include FT_MODULE_H
12468 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define HAVE_FT_TRUETYPEENGINETYPE 1
12472 _ACEOF
12478 else
12479 FREETYPE_CFLAGS=""
12480 FREETYPE_LIBS=""
12482 CPPFLAGS=$ac_save_CPPFLAGS
12483 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12484 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12487 if test "x$ac_cv_lib_soname_freetype" = x; then :
12488 case "x$with_freetype" in
12489 xno) ;;
12490 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12491 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12492 esac
12493 enable_fonts=${enable_fonts:-no}
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12497 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12498 if ${ac_cv_c_ppdev+:} false; then :
12499 $as_echo_n "(cached) " >&6
12500 else
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503 #ifdef HAVE_SYS_IOCTL_H
12504 # include <sys/ioctl.h>
12505 #endif
12506 #include <linux/ppdev.h>
12508 main ()
12510 ioctl (1,PPCLAIM,0)
12512 return 0;
12514 _ACEOF
12515 if ac_fn_c_try_compile "$LINENO"; then :
12516 ac_cv_c_ppdev="yes"
12517 else
12518 ac_cv_c_ppdev="no"
12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12523 $as_echo "$ac_cv_c_ppdev" >&6; }
12524 if test "$ac_cv_c_ppdev" = "yes"
12525 then
12527 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12531 ac_wine_check_funcs_save_LIBS="$LIBS"
12532 LIBS="$LIBS $PTHREAD_LIBS"
12533 for ac_func in \
12534 pthread_attr_get_np \
12535 pthread_getattr_np \
12536 pthread_getthreadid_np \
12537 pthread_get_stackaddr_np \
12538 pthread_get_stacksize_np
12539 do :
12540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12542 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12543 cat >>confdefs.h <<_ACEOF
12544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12545 _ACEOF
12548 done
12550 LIBS="$ac_wine_check_funcs_save_LIBS"
12552 if test "$ac_cv_header_zlib_h" = "yes"
12553 then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12555 $as_echo_n "checking for inflate in -lz... " >&6; }
12556 if ${ac_cv_lib_z_inflate+:} false; then :
12557 $as_echo_n "(cached) " >&6
12558 else
12559 ac_check_lib_save_LIBS=$LIBS
12560 LIBS="-lz $LIBS"
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char inflate ();
12572 main ()
12574 return inflate ();
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 ac_cv_lib_z_inflate=yes
12581 else
12582 ac_cv_lib_z_inflate=no
12584 rm -f core conftest.err conftest.$ac_objext \
12585 conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12589 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12590 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12592 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12594 Z_LIBS="-lz"
12599 if test "x$Z_LIBS" = "x"; then :
12600 case "x$with_zlib" in
12601 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12602 xno) ;;
12603 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12604 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12605 esac
12609 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12610 then
12611 if test "$ac_cv_header_gettext_po_h" = "yes"
12612 then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12614 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12615 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 ac_check_lib_save_LIBS=$LIBS
12619 LIBS="-lgettextpo $LIBS"
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12626 #ifdef __cplusplus
12627 extern "C"
12628 #endif
12629 char po_message_msgctxt ();
12631 main ()
12633 return po_message_msgctxt ();
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_link "$LINENO"; then :
12639 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12640 else
12641 ac_cv_lib_gettextpo_po_message_msgctxt=no
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_lib_save_LIBS
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12648 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12649 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12651 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12653 GETTEXTPO_LIBS="-lgettextpo"
12658 if test "x$GETTEXTPO_LIBS" = "x"; then :
12659 case "x$with_gettextpo" in
12660 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12661 xno) ;;
12662 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12663 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12664 esac
12667 if test "$srcdir" != .; then :
12668 case "x$with_gettextpo" in
12669 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12670 xno) ;;
12671 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12672 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12673 esac
12678 if test "x$with_pulse" != "xno";
12679 then
12680 if ${PULSE_CFLAGS:+false} :; then :
12681 if ${PKG_CONFIG+:} false; then :
12682 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12686 if ${PULSE_LIBS:+false} :; then :
12687 if ${PKG_CONFIG+:} false; then :
12688 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12693 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12694 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12695 ac_save_CPPFLAGS=$CPPFLAGS
12696 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12697 for ac_header in pulse/pulseaudio.h
12698 do :
12699 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12700 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12701 cat >>confdefs.h <<_ACEOF
12702 #define HAVE_PULSE_PULSEAUDIO_H 1
12703 _ACEOF
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12705 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12706 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12707 $as_echo_n "(cached) " >&6
12708 else
12709 ac_check_lib_save_LIBS=$LIBS
12710 LIBS="-lpulse $PULSE_LIBS $LIBS"
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12717 #ifdef __cplusplus
12718 extern "C"
12719 #endif
12720 char pa_stream_is_corked ();
12722 main ()
12724 return pa_stream_is_corked ();
12726 return 0;
12728 _ACEOF
12729 if ac_fn_c_try_link "$LINENO"; then :
12730 ac_cv_lib_pulse_pa_stream_is_corked=yes
12731 else
12732 ac_cv_lib_pulse_pa_stream_is_corked=no
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_lib_save_LIBS
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12739 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12740 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12742 else
12743 PULSE_LIBS=""
12746 else
12747 PULSE_LIBS=""
12750 done
12752 CPPFLAGS=$ac_save_CPPFLAGS
12753 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12754 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12757 if test -z "$PULSE_LIBS"; then :
12758 case "x$with_pulse" in
12759 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12760 xno) ;;
12761 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12762 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12763 esac
12764 enable_winepulse_drv=${enable_winepulse_drv:-no}
12767 if test "x$with_gstreamer" != "xno"
12768 then
12769 if ${GSTREAMER_CFLAGS:+false} :; then :
12770 if ${PKG_CONFIG+:} false; then :
12771 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12775 if ${GSTREAMER_LIBS:+false} :; then :
12776 if ${PKG_CONFIG+:} false; then :
12777 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12782 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12783 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12784 ac_save_CPPFLAGS=$CPPFLAGS
12785 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12786 ac_gst_incl=""
12787 for i in $GSTREAMER_CFLAGS
12789 case "$i" in
12790 -I*) ac_gst_incl="$ac_gst_incl $i";;
12791 esac
12792 done
12793 GSTREAMER_CFLAGS=$ac_gst_incl
12794 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12795 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12796 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12798 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12801 #include <gst/gst.h>
12803 main ()
12805 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_compile "$LINENO"; then :
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12812 $as_echo "yes" >&6; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12814 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12815 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12816 $as_echo_n "(cached) " >&6
12817 else
12818 ac_check_lib_save_LIBS=$LIBS
12819 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12823 /* Override any GCC internal prototype to avoid an error.
12824 Use char because int might match the return type of a GCC
12825 builtin and then its argument prototype would still apply. */
12826 #ifdef __cplusplus
12827 extern "C"
12828 #endif
12829 char gst_pad_new ();
12831 main ()
12833 return gst_pad_new ();
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_link "$LINENO"; then :
12839 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12840 else
12841 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12843 rm -f core conftest.err conftest.$ac_objext \
12844 conftest$ac_exeext conftest.$ac_ext
12845 LIBS=$ac_check_lib_save_LIBS
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12848 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12849 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12853 else
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856 ac_glib2_broken=yes
12857 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12863 CPPFLAGS=$ac_save_CPPFLAGS
12864 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12865 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12868 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 :
12869 case "x$with_gstreamer" in
12870 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12871 xno) ;;
12872 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12873 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12874 esac
12877 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12879 ALSA_LIBS=""
12881 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12882 then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12884 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12885 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lasound $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char snd_pcm_hw_params_get_access_mask ();
12901 main ()
12903 return snd_pcm_hw_params_get_access_mask ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12910 else
12911 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12918 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12919 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12922 #ifdef HAVE_ALSA_ASOUNDLIB_H
12923 #include <alsa/asoundlib.h>
12924 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12925 #include <sys/asoundlib.h>
12926 #endif
12928 main ()
12930 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_compile "$LINENO"; then :
12936 ALSA_LIBS="-lasound"
12938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12942 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12944 if test "x$with_oss" != xno
12945 then
12946 ac_save_CPPFLAGS="$CPPFLAGS"
12947 if test -f /etc/oss.conf
12948 then
12949 . /etc/oss.conf
12951 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12952 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12953 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12954 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12955 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12957 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12959 cat >>confdefs.h <<_ACEOF
12960 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12961 _ACEOF
12963 OSS4_CFLAGS="$ac_oss_incl"
12970 CPPFLAGS="$ac_save_CPPFLAGS"
12972 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12973 case "x$with_oss" in
12974 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12975 xno) ;;
12976 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12977 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12978 esac
12979 enable_wineoss_drv=${enable_wineoss_drv:-no}
12982 if test "x$with_udev" != "xno"
12983 then
12984 if ${UDEV_CFLAGS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12990 if ${UDEV_LIBS:+false} :; then :
12991 if ${PKG_CONFIG+:} false; then :
12992 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12996 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
12997 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12999 ac_save_CPPFLAGS=$CPPFLAGS
13000 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13001 for ac_header in libudev.h
13002 do :
13003 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_libudev_h" = xyes; then :
13005 cat >>confdefs.h <<_ACEOF
13006 #define HAVE_LIBUDEV_H 1
13007 _ACEOF
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13009 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13010 if ${ac_cv_lib_udev_udev_new+:} false; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 ac_check_lib_save_LIBS=$LIBS
13014 LIBS="-ludev $UDEV_LIBS $LIBS"
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13021 #ifdef __cplusplus
13022 extern "C"
13023 #endif
13024 char udev_new ();
13026 main ()
13028 return udev_new ();
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_link "$LINENO"; then :
13034 ac_cv_lib_udev_udev_new=yes
13035 else
13036 ac_cv_lib_udev_udev_new=no
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_lib_save_LIBS
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13043 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13044 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13046 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13048 else
13049 UDEV_LIBS=""
13052 else
13053 UDEV_LIBS=""
13056 done
13058 CPPFLAGS=$ac_save_CPPFLAGS
13059 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13060 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13063 if test "x$UDEV_LIBS" = "x"; then :
13064 case "x$with_udev" in
13065 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13066 xno) ;;
13067 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13068 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13069 esac
13073 if test "x$with_capi" != "xno"
13074 then
13075 if ${CAPI20_CFLAGS:+false} :; then :
13076 if ${PKG_CONFIG+:} false; then :
13077 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13081 if ${CAPI20_LIBS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13088 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13089 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13090 ac_save_CPPFLAGS=$CPPFLAGS
13091 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13092 for ac_header in capi20.h linux/capi.h
13093 do :
13094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13095 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13097 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13098 cat >>confdefs.h <<_ACEOF
13099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13100 _ACEOF
13104 done
13106 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13107 then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13109 $as_echo_n "checking for -lcapi20... " >&6; }
13110 if ${ac_cv_lib_soname_capi20+:} false; then :
13111 $as_echo_n "(cached) " >&6
13112 else
13113 ac_check_soname_save_LIBS=$LIBS
13114 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 char capi20_register ();
13126 main ()
13128 return capi20_register ();
13130 return 0;
13132 _ACEOF
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 case "$LIBEXT" in
13135 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13136 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'` ;;
13137 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13138 if ${ac_cv_lib_soname_capi20:+false} :; then :
13139 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13140 fi ;;
13141 esac
13143 rm -f core conftest.err conftest.$ac_objext \
13144 conftest$ac_exeext conftest.$ac_ext
13145 LIBS=$ac_check_soname_save_LIBS
13147 if ${ac_cv_lib_soname_capi20:+false} :; then :
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13149 $as_echo "not found" >&6; }
13151 else
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13153 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13155 cat >>confdefs.h <<_ACEOF
13156 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13157 _ACEOF
13162 CPPFLAGS=$ac_save_CPPFLAGS
13163 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13164 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13167 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13168 case "x$with_capi" in
13169 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13170 xno) ;;
13171 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13172 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13173 esac
13177 CUPS_CFLAGS=""
13179 if test "x$with_cups" != "xno"
13180 then
13181 ac_save_CPPFLAGS="$CPPFLAGS"
13182 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13183 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13184 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13185 for ac_header in cups/cups.h
13186 do :
13187 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13188 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13189 cat >>confdefs.h <<_ACEOF
13190 #define HAVE_CUPS_CUPS_H 1
13191 _ACEOF
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13193 $as_echo_n "checking for -lcups... " >&6; }
13194 if ${ac_cv_lib_soname_cups+:} false; then :
13195 $as_echo_n "(cached) " >&6
13196 else
13197 ac_check_soname_save_LIBS=$LIBS
13198 LIBS="-lcups $ac_cups_libs $LIBS"
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13205 #ifdef __cplusplus
13206 extern "C"
13207 #endif
13208 char cupsGetDefault ();
13210 main ()
13212 return cupsGetDefault ();
13214 return 0;
13216 _ACEOF
13217 if ac_fn_c_try_link "$LINENO"; then :
13218 case "$LIBEXT" in
13219 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13220 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'` ;;
13221 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13222 if ${ac_cv_lib_soname_cups:+false} :; then :
13223 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13224 fi ;;
13225 esac
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_soname_save_LIBS
13231 if ${ac_cv_lib_soname_cups:+false} :; then :
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13233 $as_echo "not found" >&6; }
13235 else
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13237 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13239 cat >>confdefs.h <<_ACEOF
13240 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13241 _ACEOF
13243 CUPS_CFLAGS="$ac_cups_cflags"
13245 for ac_header in cups/ppd.h
13246 do :
13247 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13248 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13249 cat >>confdefs.h <<_ACEOF
13250 #define HAVE_CUPS_PPD_H 1
13251 _ACEOF
13255 done
13259 done
13261 CPPFLAGS="$ac_save_CPPFLAGS"
13263 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13264 case "x$with_cups" in
13265 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13266 xno) ;;
13267 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13268 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13269 esac
13273 if test "x$with_fontconfig" != "xno"
13274 then
13275 if ${FONTCONFIG_CFLAGS:+false} :; then :
13276 if ${PKG_CONFIG+:} false; then :
13277 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13280 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13281 if ${FONTCONFIG_LIBS:+false} :; then :
13282 if ${PKG_CONFIG+:} false; then :
13283 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13286 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13288 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13289 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13290 ac_save_CPPFLAGS=$CPPFLAGS
13291 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13292 for ac_header in fontconfig/fontconfig.h
13293 do :
13294 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13295 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13296 cat >>confdefs.h <<_ACEOF
13297 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13298 _ACEOF
13302 done
13304 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13305 then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13307 $as_echo_n "checking for -lfontconfig... " >&6; }
13308 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13309 $as_echo_n "(cached) " >&6
13310 else
13311 ac_check_soname_save_LIBS=$LIBS
13312 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13316 /* Override any GCC internal prototype to avoid an error.
13317 Use char because int might match the return type of a GCC
13318 builtin and then its argument prototype would still apply. */
13319 #ifdef __cplusplus
13320 extern "C"
13321 #endif
13322 char FcInit ();
13324 main ()
13326 return FcInit ();
13328 return 0;
13330 _ACEOF
13331 if ac_fn_c_try_link "$LINENO"; then :
13332 case "$LIBEXT" in
13333 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13334 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'` ;;
13335 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13336 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13337 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13338 fi ;;
13339 esac
13341 rm -f core conftest.err conftest.$ac_objext \
13342 conftest$ac_exeext conftest.$ac_ext
13343 LIBS=$ac_check_soname_save_LIBS
13345 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13347 $as_echo "not found" >&6; }
13348 FONTCONFIG_CFLAGS=""
13349 else
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13351 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13353 cat >>confdefs.h <<_ACEOF
13354 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13355 _ACEOF
13359 else
13360 FONTCONFIG_CFLAGS=""
13362 CPPFLAGS=$ac_save_CPPFLAGS
13363 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13364 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13367 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13368 case "x$with_fontconfig" in
13369 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13370 xno) ;;
13371 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13372 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13373 esac
13377 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13378 then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13380 $as_echo_n "checking for -lgsm... " >&6; }
13381 if ${ac_cv_lib_soname_gsm+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_soname_save_LIBS=$LIBS
13385 LIBS="-lgsm $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char gsm_create ();
13397 main ()
13399 return gsm_create ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 case "$LIBEXT" in
13406 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13407 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'` ;;
13408 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13409 if ${ac_cv_lib_soname_gsm:+false} :; then :
13410 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 fi ;;
13412 esac
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_gsm:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13424 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13428 _ACEOF
13433 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13434 case "x$with_gsm" in
13435 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13436 xno) ;;
13437 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13438 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13439 esac
13443 if test "x$with_jpeg" != "xno"
13444 then
13445 if ${JPEG_CFLAGS:+false} :; then :
13446 if ${PKG_CONFIG+:} false; then :
13447 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13451 if ${JPEG_LIBS:+false} :; then :
13452 if ${PKG_CONFIG+:} false; then :
13453 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13458 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13459 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13460 ac_save_CPPFLAGS=$CPPFLAGS
13461 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13462 for ac_header in jpeglib.h
13463 do :
13464 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13465 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13466 cat >>confdefs.h <<_ACEOF
13467 #define HAVE_JPEGLIB_H 1
13468 _ACEOF
13472 done
13474 if test "$ac_cv_header_jpeglib_h" = "yes"
13475 then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13477 $as_echo_n "checking for -ljpeg... " >&6; }
13478 if ${ac_cv_lib_soname_jpeg+:} false; then :
13479 $as_echo_n "(cached) " >&6
13480 else
13481 ac_check_soname_save_LIBS=$LIBS
13482 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13486 /* Override any GCC internal prototype to avoid an error.
13487 Use char because int might match the return type of a GCC
13488 builtin and then its argument prototype would still apply. */
13489 #ifdef __cplusplus
13490 extern "C"
13491 #endif
13492 char jpeg_start_decompress ();
13494 main ()
13496 return jpeg_start_decompress ();
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_link "$LINENO"; then :
13502 case "$LIBEXT" in
13503 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13504 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'` ;;
13505 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13506 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13507 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13508 fi ;;
13509 esac
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_soname_save_LIBS
13515 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13517 $as_echo "not found" >&6; }
13518 JPEG_CFLAGS=""
13519 else
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13521 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13523 cat >>confdefs.h <<_ACEOF
13524 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13525 _ACEOF
13529 else
13530 JPEG_CFLAGS=""
13532 CPPFLAGS=$ac_save_CPPFLAGS
13533 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13534 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13537 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13538 case "x$with_jpeg" in
13539 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13540 xno) ;;
13541 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13542 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13543 esac
13547 if test "x$with_png" != "xno"
13548 then
13549 if ${PNG_CFLAGS:+false} :; then :
13550 if ${PKG_CONFIG+:} false; then :
13551 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13554 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13555 if ${PNG_LIBS:+false} :; then :
13556 if ${PKG_CONFIG+:} false; then :
13557 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13560 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13562 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13563 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13564 ac_save_CPPFLAGS=$CPPFLAGS
13565 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13566 for ac_header in png.h
13567 do :
13568 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13569 if test "x$ac_cv_header_png_h" = xyes; then :
13570 cat >>confdefs.h <<_ACEOF
13571 #define HAVE_PNG_H 1
13572 _ACEOF
13576 done
13578 if test "$ac_cv_header_png_h" = "yes"
13579 then
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13581 $as_echo_n "checking for -lpng... " >&6; }
13582 if ${ac_cv_lib_soname_png+:} false; then :
13583 $as_echo_n "(cached) " >&6
13584 else
13585 ac_check_soname_save_LIBS=$LIBS
13586 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13590 /* Override any GCC internal prototype to avoid an error.
13591 Use char because int might match the return type of a GCC
13592 builtin and then its argument prototype would still apply. */
13593 #ifdef __cplusplus
13594 extern "C"
13595 #endif
13596 char png_create_read_struct ();
13598 main ()
13600 return png_create_read_struct ();
13602 return 0;
13604 _ACEOF
13605 if ac_fn_c_try_link "$LINENO"; then :
13606 case "$LIBEXT" in
13607 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13608 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'` ;;
13609 *) 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'`
13610 if ${ac_cv_lib_soname_png:+false} :; then :
13611 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13612 fi ;;
13613 esac
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 LIBS=$ac_check_soname_save_LIBS
13619 if ${ac_cv_lib_soname_png:+false} :; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13621 $as_echo "not found" >&6; }
13622 PNG_CFLAGS=""
13623 else
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13625 $as_echo "$ac_cv_lib_soname_png" >&6; }
13627 cat >>confdefs.h <<_ACEOF
13628 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13629 _ACEOF
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 #include <png.h>
13635 main ()
13637 typeof(png_set_expand_gray_1_2_4_to_8) *p
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_compile "$LINENO"; then :
13644 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13649 else
13650 PNG_CFLAGS=""
13652 CPPFLAGS=$ac_save_CPPFLAGS
13653 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13654 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13657 if test "x$ac_cv_lib_soname_png" = "x"; then :
13658 case "x$with_png" in
13659 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13660 xno) ;;
13661 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13662 This is an error since --with-png was requested." "$LINENO" 5 ;;
13663 esac
13667 if test "x$with_tiff" != "xno"
13668 then
13669 if ${TIFF_CFLAGS:+false} :; then :
13670 if ${PKG_CONFIG+:} false; then :
13671 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13675 if ${TIFF_LIBS:+false} :; then :
13676 if ${PKG_CONFIG+:} false; then :
13677 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13682 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13683 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13684 ac_save_CPPFLAGS=$CPPFLAGS
13685 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13686 for ac_header in tiffio.h
13687 do :
13688 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13689 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13690 cat >>confdefs.h <<_ACEOF
13691 #define HAVE_TIFFIO_H 1
13692 _ACEOF
13696 done
13698 if test "$ac_cv_header_tiffio_h" = "yes"
13699 then
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13701 $as_echo_n "checking for -ltiff... " >&6; }
13702 if ${ac_cv_lib_soname_tiff+:} false; then :
13703 $as_echo_n "(cached) " >&6
13704 else
13705 ac_check_soname_save_LIBS=$LIBS
13706 LIBS="-ltiff $TIFF_LIBS $LIBS"
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13710 /* Override any GCC internal prototype to avoid an error.
13711 Use char because int might match the return type of a GCC
13712 builtin and then its argument prototype would still apply. */
13713 #ifdef __cplusplus
13714 extern "C"
13715 #endif
13716 char TIFFClientOpen ();
13718 main ()
13720 return TIFFClientOpen ();
13722 return 0;
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"; then :
13726 case "$LIBEXT" in
13727 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13728 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'` ;;
13729 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13730 if ${ac_cv_lib_soname_tiff:+false} :; then :
13731 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13732 fi ;;
13733 esac
13735 rm -f core conftest.err conftest.$ac_objext \
13736 conftest$ac_exeext conftest.$ac_ext
13737 LIBS=$ac_check_soname_save_LIBS
13739 if ${ac_cv_lib_soname_tiff:+false} :; then :
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13741 $as_echo "not found" >&6; }
13743 else
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13745 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13747 cat >>confdefs.h <<_ACEOF
13748 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13749 _ACEOF
13754 CPPFLAGS=$ac_save_CPPFLAGS
13755 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13756 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13759 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13760 case "x$with_tiff" in
13761 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13762 xno) ;;
13763 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13764 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13765 esac
13769 if test "x$with_mpg123" != "xno"
13770 then
13771 if ${MPG123_CFLAGS:+false} :; then :
13772 if ${PKG_CONFIG+:} false; then :
13773 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13777 if ${MPG123_LIBS:+false} :; then :
13778 if ${PKG_CONFIG+:} false; then :
13779 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13783 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13784 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13785 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13786 ac_save_CPPFLAGS=$CPPFLAGS
13787 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13788 for ac_header in mpg123.h
13789 do :
13790 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13791 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13792 cat >>confdefs.h <<_ACEOF
13793 #define HAVE_MPG123_H 1
13794 _ACEOF
13798 done
13800 if test "$ac_cv_header_mpg123_h" = "yes"
13801 then
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13803 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13804 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 ac_check_lib_save_LIBS=$LIBS
13808 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13812 /* Override any GCC internal prototype to avoid an error.
13813 Use char because int might match the return type of a GCC
13814 builtin and then its argument prototype would still apply. */
13815 #ifdef __cplusplus
13816 extern "C"
13817 #endif
13818 char mpg123_feed ();
13820 main ()
13822 return mpg123_feed ();
13824 return 0;
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 ac_cv_lib_mpg123_mpg123_feed=yes
13829 else
13830 ac_cv_lib_mpg123_mpg123_feed=no
13832 rm -f core conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 LIBS=$ac_check_lib_save_LIBS
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13837 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13838 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13840 else
13841 MPG123_LIBS=""
13844 else
13845 MPG123_CFLAGS=""
13846 MPG123_LIBS=""
13848 CPPFLAGS=$ac_save_CPPFLAGS
13849 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13850 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13853 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13854 case "x$with_mpg123" in
13855 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13856 xno) ;;
13857 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13858 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13859 esac
13860 enable_winemp3_acm=${enable_winemp3_acm:-no}
13863 if test "$ac_cv_header_AL_al_h" = "yes"
13864 then
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13866 $as_echo_n "checking for -lopenal... " >&6; }
13867 if ${ac_cv_lib_soname_openal+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 ac_check_soname_save_LIBS=$LIBS
13871 LIBS="-lopenal $LIBS"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13875 /* Override any GCC internal prototype to avoid an error.
13876 Use char because int might match the return type of a GCC
13877 builtin and then its argument prototype would still apply. */
13878 #ifdef __cplusplus
13879 extern "C"
13880 #endif
13881 char alGetSource3i ();
13883 main ()
13885 return alGetSource3i ();
13887 return 0;
13889 _ACEOF
13890 if ac_fn_c_try_link "$LINENO"; then :
13891 case "$LIBEXT" in
13892 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13893 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'` ;;
13894 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13895 if ${ac_cv_lib_soname_openal:+false} :; then :
13896 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13897 fi ;;
13898 esac
13900 rm -f core conftest.err conftest.$ac_objext \
13901 conftest$ac_exeext conftest.$ac_ext
13902 LIBS=$ac_check_soname_save_LIBS
13904 if ${ac_cv_lib_soname_openal:+false} :; then :
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13906 $as_echo "not found" >&6; }
13908 else
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13910 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13912 cat >>confdefs.h <<_ACEOF
13913 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13914 _ACEOF
13916 OPENAL_LIBS="-lopenal"
13918 ac_cv_lib_openal=yes
13920 cat >>confdefs.h <<_ACEOF
13921 #define HAVE_OPENAL 1
13922 _ACEOF
13926 if test "x$ac_cv_lib_openal" != xyes; then :
13927 case "x$with_openal" in
13928 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13929 xno) ;;
13930 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13931 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13932 esac
13933 enable_openal32=${enable_openal32:-no}
13936 if test "x$ac_cv_lib_openal" = xyes
13937 then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13939 $as_echo_n "checking for openal-soft... " >&6; }
13940 if ${ac_cv_have_openalsoft+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 #include <AL/al.h>
13946 #include <AL/alc.h>
13947 #include <AL/alext.h>
13948 LPALCRENDERSAMPLESSOFT x;
13950 main ()
13954 return 0;
13956 _ACEOF
13957 if ac_fn_c_try_compile "$LINENO"; then :
13958 ac_cv_have_openalsoft=yes
13959 else
13960 ac_cv_have_openalsoft=no
13962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13965 $as_echo "$ac_cv_have_openalsoft" >&6; }
13967 if test "x$ac_cv_have_openalsoft" != xyes
13968 then
13969 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13970 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13971 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13972 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13973 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13974 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13975 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13976 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13977 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13978 enable_xapofx1_1=${enable_xapofx1_1:-no}
13979 enable_xapofx1_2=${enable_xapofx1_2:-no}
13980 enable_xapofx1_3=${enable_xapofx1_3:-no}
13981 enable_xapofx1_4=${enable_xapofx1_4:-no}
13982 enable_xapofx1_5=${enable_xapofx1_5:-no}
13983 enable_xaudio2_0=${enable_xaudio2_0:-no}
13984 enable_xaudio2_1=${enable_xaudio2_1:-no}
13985 enable_xaudio2_2=${enable_xaudio2_2:-no}
13986 enable_xaudio2_3=${enable_xaudio2_3:-no}
13987 enable_xaudio2_4=${enable_xaudio2_4:-no}
13988 enable_xaudio2_5=${enable_xaudio2_5:-no}
13989 enable_xaudio2_6=${enable_xaudio2_6:-no}
13990 enable_xaudio2_7=${enable_xaudio2_7:-no}
13991 enable_xaudio2_8=${enable_xaudio2_8:-no}
13992 enable_xaudio2_9=${enable_xaudio2_9:-no}
13995 if test "$ac_cv_header_kstat_h" = "yes"
13996 then
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13998 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13999 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lkstat $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char kstat_open ();
14015 main ()
14017 return kstat_open ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_lib_kstat_kstat_open=yes
14024 else
14025 ac_cv_lib_kstat_kstat_open=no
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14032 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14033 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14035 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14037 KSTAT_LIBS="-lkstat"
14043 if test "$ac_cv_header_libprocstat_h" = "yes"
14044 then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14046 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14047 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 ac_check_lib_save_LIBS=$LIBS
14051 LIBS="-lprocstat $LIBS"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058 #ifdef __cplusplus
14059 extern "C"
14060 #endif
14061 char procstat_open_sysctl ();
14063 main ()
14065 return procstat_open_sysctl ();
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 ac_cv_lib_procstat_procstat_open_sysctl=yes
14072 else
14073 ac_cv_lib_procstat_procstat_open_sysctl=no
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_lib_save_LIBS
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14080 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14081 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14083 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14085 PROCSTAT_LIBS="-lprocstat"
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14092 $as_echo_n "checking for -lodbc... " >&6; }
14093 if ${ac_cv_lib_soname_odbc+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_check_soname_save_LIBS=$LIBS
14097 LIBS="-lodbc $LIBS"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14101 /* Override any GCC internal prototype to avoid an error.
14102 Use char because int might match the return type of a GCC
14103 builtin and then its argument prototype would still apply. */
14104 #ifdef __cplusplus
14105 extern "C"
14106 #endif
14107 char SQLConnect ();
14109 main ()
14111 return SQLConnect ();
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 case "$LIBEXT" in
14118 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14119 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'` ;;
14120 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14121 if ${ac_cv_lib_soname_odbc:+false} :; then :
14122 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14123 fi ;;
14124 esac
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS=$ac_check_soname_save_LIBS
14130 if ${ac_cv_lib_soname_odbc:+false} :; then :
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14132 $as_echo "not found" >&6; }
14133 cat >>confdefs.h <<_ACEOF
14134 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14135 _ACEOF
14137 else
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14139 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14141 cat >>confdefs.h <<_ACEOF
14142 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14143 _ACEOF
14148 if test "x$with_netapi" != "xno"
14149 then
14150 if ${NETAPI_CFLAGS:+false} :; then :
14151 if ${PKG_CONFIG+:} false; then :
14152 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14156 if ${NETAPI_LIBS:+false} :; then :
14157 if ${PKG_CONFIG+:} false; then :
14158 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14163 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14164 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14165 ac_save_CPPFLAGS=$CPPFLAGS
14166 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14168 $as_echo_n "checking for -lnetapi... " >&6; }
14169 if ${ac_cv_lib_soname_netapi+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 ac_check_soname_save_LIBS=$LIBS
14173 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14177 /* Override any GCC internal prototype to avoid an error.
14178 Use char because int might match the return type of a GCC
14179 builtin and then its argument prototype would still apply. */
14180 #ifdef __cplusplus
14181 extern "C"
14182 #endif
14183 char libnetapi_init ();
14185 main ()
14187 return libnetapi_init ();
14189 return 0;
14191 _ACEOF
14192 if ac_fn_c_try_link "$LINENO"; then :
14193 case "$LIBEXT" in
14194 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14195 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'` ;;
14196 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14197 if ${ac_cv_lib_soname_netapi:+false} :; then :
14198 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14199 fi ;;
14200 esac
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_soname_save_LIBS
14206 if ${ac_cv_lib_soname_netapi:+false} :; then :
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14208 $as_echo "not found" >&6; }
14209 cat >>confdefs.h <<_ACEOF
14210 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14211 _ACEOF
14213 else
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14215 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14217 cat >>confdefs.h <<_ACEOF
14218 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14219 _ACEOF
14223 CPPFLAGS=$ac_save_CPPFLAGS
14224 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14225 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14229 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14230 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14231 then
14232 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14236 EXTRACFLAGS=""
14238 if test "x${GCC}" = "xyes"
14239 then
14240 EXTRACFLAGS="-Wall -pipe"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14243 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14244 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14245 $as_echo_n "(cached) " >&6
14246 else
14247 if test "$cross_compiling" = yes; then :
14248 ac_cv_c_gcc_strength_bug="no"
14249 else
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14252 int L[4] = {0,1,2,3};
14254 main ()
14256 static int Array[3];
14257 unsigned int B = 3;
14258 int i;
14259 for(i=0; i<B; i++) Array[i] = i - 3;
14260 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14261 L[i] = 4;
14262 return (Array[1] != -2 || L[2] != 3)
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_run "$LINENO"; then :
14268 ac_cv_c_gcc_strength_bug="no"
14269 else
14270 ac_cv_c_gcc_strength_bug="yes"
14272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14273 conftest.$ac_objext conftest.beam conftest.$ac_ext
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14278 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14279 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14280 then
14281 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14285 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14286 if ${ac_cv_cflags__fno_builtin+:} false; then :
14287 $as_echo_n "(cached) " >&6
14288 else
14289 ac_wine_try_cflags_saved=$CFLAGS
14290 CFLAGS="$CFLAGS -fno-builtin"
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14293 int main(int argc, char **argv) { return 0; }
14294 _ACEOF
14295 if ac_fn_c_try_link "$LINENO"; then :
14296 ac_cv_cflags__fno_builtin=yes
14297 else
14298 ac_cv_cflags__fno_builtin=no
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 CFLAGS=$ac_wine_try_cflags_saved
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14305 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14306 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14307 BUILTINFLAG="-fno-builtin"
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14311 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14312 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14313 $as_echo_n "(cached) " >&6
14314 else
14315 ac_wine_try_cflags_saved=$CFLAGS
14316 CFLAGS="$CFLAGS -fno-strict-aliasing"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 int main(int argc, char **argv) { return 0; }
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_cflags__fno_strict_aliasing=yes
14323 else
14324 ac_cv_cflags__fno_strict_aliasing=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 CFLAGS=$ac_wine_try_cflags_saved
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14331 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14332 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14333 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14336 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14337 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_wine_try_cflags_saved=$CFLAGS
14341 CFLAGS="$CFLAGS -fexcess-precision=standard"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 int main(int argc, char **argv) { return 0; }
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 ac_cv_cflags__fexcess_precision_standard=yes
14348 else
14349 ac_cv_cflags__fexcess_precision_standard=no
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14353 CFLAGS=$ac_wine_try_cflags_saved
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14356 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14357 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14358 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14361 saved_CFLAGS=$CFLAGS
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14363 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14364 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_wine_try_cflags_saved=$CFLAGS
14368 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14371 int main(int argc, char **argv) { return 0; }
14372 _ACEOF
14373 if ac_fn_c_try_link "$LINENO"; then :
14374 ac_cv_cflags__Werror_unknown_warning_option=yes
14375 else
14376 ac_cv_cflags__Werror_unknown_warning_option=no
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14380 CFLAGS=$ac_wine_try_cflags_saved
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14383 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14384 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14385 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14388 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14389 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_wine_try_cflags_saved=$CFLAGS
14393 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 int main(int argc, char **argv) { return 0; }
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"; then :
14399 ac_cv_cflags__Wdeclaration_after_statement=yes
14400 else
14401 ac_cv_cflags__Wdeclaration_after_statement=no
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14405 CFLAGS=$ac_wine_try_cflags_saved
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14408 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14409 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14410 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14413 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14414 if ${ac_cv_cflags__Wempty_body+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 ac_wine_try_cflags_saved=$CFLAGS
14418 CFLAGS="$CFLAGS -Wempty-body"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421 int main(int argc, char **argv) { return 0; }
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 ac_cv_cflags__Wempty_body=yes
14425 else
14426 ac_cv_cflags__Wempty_body=no
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14430 CFLAGS=$ac_wine_try_cflags_saved
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14433 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14434 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14435 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14438 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14439 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 ac_wine_try_cflags_saved=$CFLAGS
14443 CFLAGS="$CFLAGS -Wignored-qualifiers"
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 int main(int argc, char **argv) { return 0; }
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 ac_cv_cflags__Wignored_qualifiers=yes
14450 else
14451 ac_cv_cflags__Wignored_qualifiers=no
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14455 CFLAGS=$ac_wine_try_cflags_saved
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14458 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14459 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14460 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14463 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14464 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_wine_try_cflags_saved=$CFLAGS
14468 CFLAGS="$CFLAGS -Wshift-overflow=2"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14471 int main(int argc, char **argv) { return 0; }
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_cflags__Wshift_overflow_2=yes
14475 else
14476 ac_cv_cflags__Wshift_overflow_2=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 CFLAGS=$ac_wine_try_cflags_saved
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14483 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14484 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14485 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14488 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14489 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14490 $as_echo_n "(cached) " >&6
14491 else
14492 ac_wine_try_cflags_saved=$CFLAGS
14493 CFLAGS="$CFLAGS -Wstrict-prototypes"
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14496 int main(int argc, char **argv) { return 0; }
14497 _ACEOF
14498 if ac_fn_c_try_link "$LINENO"; then :
14499 ac_cv_cflags__Wstrict_prototypes=yes
14500 else
14501 ac_cv_cflags__Wstrict_prototypes=no
14503 rm -f core conftest.err conftest.$ac_objext \
14504 conftest$ac_exeext conftest.$ac_ext
14505 CFLAGS=$ac_wine_try_cflags_saved
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14508 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14509 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14510 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14513 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14514 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14515 $as_echo_n "(cached) " >&6
14516 else
14517 ac_wine_try_cflags_saved=$CFLAGS
14518 CFLAGS="$CFLAGS -Wtype-limits"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14521 int main(int argc, char **argv) { return 0; }
14522 _ACEOF
14523 if ac_fn_c_try_link "$LINENO"; then :
14524 ac_cv_cflags__Wtype_limits=yes
14525 else
14526 ac_cv_cflags__Wtype_limits=no
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 CFLAGS=$ac_wine_try_cflags_saved
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14533 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14534 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14535 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14538 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14539 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_wine_try_cflags_saved=$CFLAGS
14543 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 int main(int argc, char **argv) { return 0; }
14547 _ACEOF
14548 if ac_fn_c_try_link "$LINENO"; then :
14549 ac_cv_cflags__Wunused_but_set_parameter=yes
14550 else
14551 ac_cv_cflags__Wunused_but_set_parameter=no
14553 rm -f core conftest.err conftest.$ac_objext \
14554 conftest$ac_exeext conftest.$ac_ext
14555 CFLAGS=$ac_wine_try_cflags_saved
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14558 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14559 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14560 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14563 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14564 if ${ac_cv_cflags__Wvla+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_wine_try_cflags_saved=$CFLAGS
14568 CFLAGS="$CFLAGS -Wvla"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14571 int main(int argc, char **argv) { return 0; }
14572 _ACEOF
14573 if ac_fn_c_try_link "$LINENO"; then :
14574 ac_cv_cflags__Wvla=yes
14575 else
14576 ac_cv_cflags__Wvla=no
14578 rm -f core conftest.err conftest.$ac_objext \
14579 conftest$ac_exeext conftest.$ac_ext
14580 CFLAGS=$ac_wine_try_cflags_saved
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14583 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14584 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14585 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14588 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14589 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 ac_wine_try_cflags_saved=$CFLAGS
14593 CFLAGS="$CFLAGS -Wwrite-strings"
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14596 int main(int argc, char **argv) { return 0; }
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 ac_cv_cflags__Wwrite_strings=yes
14600 else
14601 ac_cv_cflags__Wwrite_strings=no
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14605 CFLAGS=$ac_wine_try_cflags_saved
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14608 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14609 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14610 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14614 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14615 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14616 $as_echo_n "(cached) " >&6
14617 else
14618 ac_wine_try_cflags_saved=$CFLAGS
14619 CFLAGS="$CFLAGS -Wpointer-arith"
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 int main(int argc, char **argv) { return 0; }
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"; then :
14625 ac_cv_cflags__Wpointer_arith=yes
14626 else
14627 ac_cv_cflags__Wpointer_arith=no
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14631 CFLAGS=$ac_wine_try_cflags_saved
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14634 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14635 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14636 saved_string_h_CFLAGS=$CFLAGS
14637 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14639 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14640 if ${ac_cv_c_string_h_warnings+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 #include <string.h>
14647 main ()
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_compile "$LINENO"; then :
14655 ac_cv_c_string_h_warnings=no
14656 else
14657 ac_cv_c_string_h_warnings=yes
14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14662 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14663 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14664 CFLAGS=$saved_string_h_CFLAGS
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14668 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14669 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_wine_try_cflags_saved=$CFLAGS
14673 CFLAGS="$CFLAGS -Wlogical-op"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14676 int main(int argc, char **argv) { return 0; }
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_cflags__Wlogical_op=yes
14680 else
14681 ac_cv_cflags__Wlogical_op=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 CFLAGS=$ac_wine_try_cflags_saved
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14688 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14689 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14690 saved_string_h_CFLAGS=$CFLAGS
14691 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14693 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14694 if ${ac_cv_c_logicalop_noisy+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 #include <string.h>
14700 char*f(const char *h,char n) {return strchr(h,n);}
14702 main ()
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_compile "$LINENO"; then :
14710 ac_cv_c_logicalop_noisy=no
14711 else
14712 ac_cv_c_logicalop_noisy=yes
14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14717 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14718 CFLAGS=$saved_string_h_CFLAGS
14719 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14722 CFLAGS=$saved_CFLAGS
14724 for ac_flag in $CFLAGS; do
14725 case $ac_flag in
14726 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14727 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14728 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14729 $as_echo_n "(cached) " >&6
14730 else
14731 ac_wine_try_cflags_saved=$CFLAGS
14732 CFLAGS="$CFLAGS -gdwarf-2"
14733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14735 int main(int argc, char **argv) { return 0; }
14736 _ACEOF
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_cflags__gdwarf_2=yes
14739 else
14740 ac_cv_cflags__gdwarf_2=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 CFLAGS=$ac_wine_try_cflags_saved
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14747 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14748 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14749 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14752 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14753 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_wine_try_cflags_saved=$CFLAGS
14757 CFLAGS="$CFLAGS -gstrict-dwarf"
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 int main(int argc, char **argv) { return 0; }
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_cflags__gstrict_dwarf=yes
14764 else
14765 ac_cv_cflags__gstrict_dwarf=no
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext conftest.$ac_ext
14769 CFLAGS=$ac_wine_try_cflags_saved
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14772 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14773 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14774 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14775 fi ;;
14776 esac
14777 done
14779 case $host_cpu in
14780 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14781 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14782 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__fno_omit_frame_pointer=yes
14793 else
14794 ac_cv_cflags__fno_omit_frame_pointer=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14801 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14802 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14803 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14804 fi ;;
14805 esac
14807 case $host in
14808 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14809 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14810 if ${ac_cv_cflags__Wno_format+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Wno-format"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Wno_format=yes
14821 else
14822 ac_cv_cflags__Wno_format=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14829 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14830 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14831 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14832 fi ;;
14833 esac
14835 if test "x$enable_maintainer_mode" = "xyes"
14836 then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14838 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14839 if ${ac_cv_cflags__Werror+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 ac_wine_try_cflags_saved=$CFLAGS
14843 CFLAGS="$CFLAGS -Werror"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14846 int main(int argc, char **argv) { return 0; }
14847 _ACEOF
14848 if ac_fn_c_try_link "$LINENO"; then :
14849 ac_cv_cflags__Werror=yes
14850 else
14851 ac_cv_cflags__Werror=no
14853 rm -f core conftest.err conftest.$ac_objext \
14854 conftest$ac_exeext conftest.$ac_ext
14855 CFLAGS=$ac_wine_try_cflags_saved
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14858 $as_echo "$ac_cv_cflags__Werror" >&6; }
14859 if test "x$ac_cv_cflags__Werror" = xyes; then :
14860 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14864 saved_CFLAGS="$CFLAGS"
14865 CFLAGS="$CFLAGS -Werror"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14867 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14868 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14873 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14875 main ()
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_compile "$LINENO"; then :
14883 ac_cv_have_ms_hook_prologue="yes"
14884 else
14885 ac_cv_have_ms_hook_prologue="no"
14887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14890 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14891 CFLAGS="$saved_CFLAGS"
14892 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14893 then
14895 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14897 else
14898 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14905 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14906 if ${ac_cv_c_fortify_enabled+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 #include <string.h>
14913 main ()
14915 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14916 #error Fortify enabled
14917 #endif
14919 return 0;
14921 _ACEOF
14922 if ac_fn_c_try_compile "$LINENO"; then :
14923 ac_cv_c_fortify_enabled=no
14924 else
14925 ac_cv_c_fortify_enabled=yes
14927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14930 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14931 if test "$ac_cv_c_fortify_enabled" = yes
14932 then
14933 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14938 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14939 if ${ac_cv_c_extern_prefix+:} false; then :
14940 $as_echo_n "(cached) " >&6
14941 else
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 extern int ac_test;
14946 main ()
14948 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14950 return 0;
14952 _ACEOF
14953 if ac_fn_c_try_link "$LINENO"; then :
14954 ac_cv_c_extern_prefix="yes"
14955 else
14956 ac_cv_c_extern_prefix="no"
14958 rm -f core conftest.err conftest.$ac_objext \
14959 conftest$ac_exeext conftest.$ac_ext
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14962 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14964 case $host_cpu in
14965 *i[3456789]86*)
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14967 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14968 if ${ac_cv_c_stdcall_suffix+:} false; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #ifndef _MSC_VER
14974 #define __stdcall __attribute__((__stdcall__))
14975 #endif
14976 int __stdcall ac_test(int i) { return i; }
14978 main ()
14980 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"; then :
14986 ac_cv_c_stdcall_suffix="yes"
14987 else
14988 ac_cv_c_stdcall_suffix="no"
14990 rm -f core conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14994 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14995 *) ac_cv_c_stdcall_suffix="no" ;;
14996 esac
14999 if test "$ac_cv_c_extern_prefix" = "yes"
15000 then
15001 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15003 asm_name_prefix="_"
15004 else
15005 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15007 asm_name_prefix=""
15011 if test "$ac_cv_c_stdcall_suffix" = "yes"
15012 then
15013 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15015 else
15016 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15022 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15023 if ${ac_cv_asm_func_def+:} false; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15030 main ()
15032 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_asm_func_def=".def"
15039 else
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15044 main ()
15046 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15048 return 0;
15050 _ACEOF
15051 if ac_fn_c_try_link "$LINENO"; then :
15052 ac_cv_asm_func_def=".type @function"
15053 else
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15058 main ()
15060 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15062 return 0;
15064 _ACEOF
15065 if ac_fn_c_try_link "$LINENO"; then :
15066 ac_cv_asm_func_def=".type 2"
15067 else
15068 ac_cv_asm_func_def="unknown"
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15073 rm -f core conftest.err conftest.$ac_objext \
15074 conftest$ac_exeext conftest.$ac_ext
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15080 $as_echo "$ac_cv_asm_func_def" >&6; }
15083 case "$ac_cv_asm_func_def" in
15084 ".def")
15085 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15087 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15088 ".type @function")
15089 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15091 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15092 ".type 2")
15093 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15095 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15097 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15099 asm_func_header="" ;;
15100 esac
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15103 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15104 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 asm(".text\n\t.long 0");
15111 main ()
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_compile "$LINENO"; then :
15119 ac_cv_c_asm_outside_funcs="yes"
15120 else
15121 ac_cv_c_asm_outside_funcs="no"
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15126 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15129 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15130 if ${ac_cv_c_dot_previous+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15137 main ()
15139 asm(".text\nac_test:\t.long 0\n\t.previous");
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_link "$LINENO"; then :
15145 ac_cv_c_dot_previous="yes"
15146 else
15147 ac_cv_c_dot_previous="no"
15149 rm -f core conftest.err conftest.$ac_objext \
15150 conftest$ac_exeext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15153 $as_echo "$ac_cv_c_dot_previous" >&6; }
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15156 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15157 if ${ac_cv_c_cfi_support+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15164 main ()
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"; then :
15172 ac_cv_c_cfi_support="yes"
15173 else
15174 ac_cv_c_cfi_support="no"
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15179 $as_echo "$ac_cv_c_cfi_support" >&6; }
15181 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15182 asm_func_trailer=""
15183 if test "$ac_cv_c_dot_previous" = "yes"
15184 then
15185 asm_func_trailer="\\n\\t.previous"
15187 if test "$ac_cv_c_cfi_support" = "yes"
15188 then
15189 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15190 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15192 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15194 UNWINDFLAGS=-fasynchronous-unwind-tables
15196 else
15197 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15199 if test "x$enable_win64" = "xyes"
15200 then
15201 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15205 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15208 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15209 then
15210 cat >>confdefs.h <<_ACEOF
15211 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15212 _ACEOF
15214 else
15215 cat >>confdefs.h <<_ACEOF
15216 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15217 _ACEOF
15221 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15224 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15228 case $build_os in
15229 cygwin*|mingw32*) TOOLSEXT=".exe"
15231 esac
15233 case $host_os in
15234 linux-android*) ;;
15235 linux*)
15236 case $host_cpu in
15237 *i[3456789]86*|x86_64*)
15238 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15239 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15241 esac
15243 esac
15246 ac_save_CFLAGS="$CFLAGS"
15247 CFLAGS="$CFLAGS $BUILTINFLAG"
15248 for ac_func in \
15249 __res_get_state \
15250 __res_getservers \
15251 _finite \
15252 _isnan \
15253 _pclose \
15254 _popen \
15255 _snprintf \
15256 _spawnvp \
15257 _strdup \
15258 _stricmp \
15259 _strnicmp \
15260 _strtoi64 \
15261 _strtoui64 \
15262 _vsnprintf \
15263 asctime_r \
15264 chsize \
15265 dlopen \
15266 epoll_create \
15267 ffs \
15268 finitef \
15269 fnmatch \
15270 fork \
15271 fpclass \
15272 fstatfs \
15273 fstatvfs \
15274 ftruncate \
15275 futimens \
15276 futimes \
15277 futimesat \
15278 getattrlist \
15279 getopt_long_only \
15280 getpwuid \
15281 gettimeofday \
15282 getuid \
15283 if_nameindex \
15284 isnanf \
15285 kqueue \
15286 lstat \
15287 memmove \
15288 mmap \
15289 pclose \
15290 pipe2 \
15291 poll \
15292 popen \
15293 port_create \
15294 prctl \
15295 pread \
15296 proc_pidinfo \
15297 pwrite \
15298 readdir \
15299 readlink \
15300 sched_yield \
15301 select \
15302 setproctitle \
15303 setprogname \
15304 setrlimit \
15305 settimeofday \
15306 sigaltstack \
15307 sigprocmask \
15308 snprintf \
15309 statfs \
15310 statvfs \
15311 strcasecmp \
15312 strdup \
15313 strerror \
15314 strncasecmp \
15315 strtold \
15316 strtoll \
15317 strtoull \
15318 symlink \
15319 sysinfo \
15320 tcdrain \
15321 thr_kill2 \
15322 timegm \
15323 usleep \
15324 vsnprintf
15326 do :
15327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15330 cat >>confdefs.h <<_ACEOF
15331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15332 _ACEOF
15335 done
15337 CFLAGS="$ac_save_CFLAGS"
15339 if test "$ac_cv_func_dlopen" = no
15340 then
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15342 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15343 if ${ac_cv_lib_dl_dlopen+:} false; then :
15344 $as_echo_n "(cached) " >&6
15345 else
15346 ac_check_lib_save_LIBS=$LIBS
15347 LIBS="-ldl $LIBS"
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15351 /* Override any GCC internal prototype to avoid an error.
15352 Use char because int might match the return type of a GCC
15353 builtin and then its argument prototype would still apply. */
15354 #ifdef __cplusplus
15355 extern "C"
15356 #endif
15357 char dlopen ();
15359 main ()
15361 return dlopen ();
15363 return 0;
15365 _ACEOF
15366 if ac_fn_c_try_link "$LINENO"; then :
15367 ac_cv_lib_dl_dlopen=yes
15368 else
15369 ac_cv_lib_dl_dlopen=no
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15373 LIBS=$ac_check_lib_save_LIBS
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15376 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15377 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15378 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15379 DL_LIBS="-ldl"
15384 ac_wine_check_funcs_save_LIBS="$LIBS"
15385 LIBS="$LIBS $DL_LIBS"
15386 for ac_func in dladdr
15387 do :
15388 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15389 if test "x$ac_cv_func_dladdr" = xyes; then :
15390 cat >>confdefs.h <<_ACEOF
15391 #define HAVE_DLADDR 1
15392 _ACEOF
15395 done
15397 LIBS="$ac_wine_check_funcs_save_LIBS"
15399 if test "$ac_cv_func_poll" = no
15400 then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15402 $as_echo_n "checking for poll in -lpoll... " >&6; }
15403 if ${ac_cv_lib_poll_poll+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 ac_check_lib_save_LIBS=$LIBS
15407 LIBS="-lpoll $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 #ifdef __cplusplus
15415 extern "C"
15416 #endif
15417 char poll ();
15419 main ()
15421 return poll ();
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"; then :
15427 ac_cv_lib_poll_poll=yes
15428 else
15429 ac_cv_lib_poll_poll=no
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_lib_save_LIBS
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15436 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15437 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15438 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15439 POLL_LIBS="-lpoll"
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15446 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15447 if ${ac_cv_search_gethostbyname+:} false; then :
15448 $as_echo_n "(cached) " >&6
15449 else
15450 ac_func_search_save_LIBS=$LIBS
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15457 #ifdef __cplusplus
15458 extern "C"
15459 #endif
15460 char gethostbyname ();
15462 main ()
15464 return gethostbyname ();
15466 return 0;
15468 _ACEOF
15469 for ac_lib in '' nsl; do
15470 if test -z "$ac_lib"; then
15471 ac_res="none required"
15472 else
15473 ac_res=-l$ac_lib
15474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15476 if ac_fn_c_try_link "$LINENO"; then :
15477 ac_cv_search_gethostbyname=$ac_res
15479 rm -f core conftest.err conftest.$ac_objext \
15480 conftest$ac_exeext
15481 if ${ac_cv_search_gethostbyname+:} false; then :
15482 break
15484 done
15485 if ${ac_cv_search_gethostbyname+:} false; then :
15487 else
15488 ac_cv_search_gethostbyname=no
15490 rm conftest.$ac_ext
15491 LIBS=$ac_func_search_save_LIBS
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15494 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15495 ac_res=$ac_cv_search_gethostbyname
15496 if test "$ac_res" != no; then :
15497 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15503 $as_echo_n "checking for library containing connect... " >&6; }
15504 if ${ac_cv_search_connect+:} false; then :
15505 $as_echo_n "(cached) " >&6
15506 else
15507 ac_func_search_save_LIBS=$LIBS
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15511 /* Override any GCC internal prototype to avoid an error.
15512 Use char because int might match the return type of a GCC
15513 builtin and then its argument prototype would still apply. */
15514 #ifdef __cplusplus
15515 extern "C"
15516 #endif
15517 char connect ();
15519 main ()
15521 return connect ();
15523 return 0;
15525 _ACEOF
15526 for ac_lib in '' socket; do
15527 if test -z "$ac_lib"; then
15528 ac_res="none required"
15529 else
15530 ac_res=-l$ac_lib
15531 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 ac_cv_search_connect=$ac_res
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext
15538 if ${ac_cv_search_connect+:} false; then :
15539 break
15541 done
15542 if ${ac_cv_search_connect+:} false; then :
15544 else
15545 ac_cv_search_connect=no
15547 rm conftest.$ac_ext
15548 LIBS=$ac_func_search_save_LIBS
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15551 $as_echo "$ac_cv_search_connect" >&6; }
15552 ac_res=$ac_cv_search_connect
15553 if test "$ac_res" != no; then :
15554 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15560 $as_echo_n "checking for library containing inet_aton... " >&6; }
15561 if ${ac_cv_search_inet_aton+:} false; then :
15562 $as_echo_n "(cached) " >&6
15563 else
15564 ac_func_search_save_LIBS=$LIBS
15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15568 /* Override any GCC internal prototype to avoid an error.
15569 Use char because int might match the return type of a GCC
15570 builtin and then its argument prototype would still apply. */
15571 #ifdef __cplusplus
15572 extern "C"
15573 #endif
15574 char inet_aton ();
15576 main ()
15578 return inet_aton ();
15580 return 0;
15582 _ACEOF
15583 for ac_lib in '' resolv; do
15584 if test -z "$ac_lib"; then
15585 ac_res="none required"
15586 else
15587 ac_res=-l$ac_lib
15588 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15590 if ac_fn_c_try_link "$LINENO"; then :
15591 ac_cv_search_inet_aton=$ac_res
15593 rm -f core conftest.err conftest.$ac_objext \
15594 conftest$ac_exeext
15595 if ${ac_cv_search_inet_aton+:} false; then :
15596 break
15598 done
15599 if ${ac_cv_search_inet_aton+:} false; then :
15601 else
15602 ac_cv_search_inet_aton=no
15604 rm conftest.$ac_ext
15605 LIBS=$ac_func_search_save_LIBS
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15608 $as_echo "$ac_cv_search_inet_aton" >&6; }
15609 ac_res=$ac_cv_search_inet_aton
15610 if test "$ac_res" != no; then :
15611 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15616 for ac_func in \
15617 getaddrinfo \
15618 getnameinfo \
15619 getnetbyname \
15620 getprotobyname \
15621 getprotobynumber \
15622 getservbyport \
15623 inet_addr \
15624 inet_network \
15625 inet_ntop \
15626 inet_pton \
15627 sendmsg \
15628 socketpair \
15630 do :
15631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15634 cat >>confdefs.h <<_ACEOF
15635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15636 _ACEOF
15639 done
15642 ac_save_LIBS=$LIBS
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15644 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15645 if ${ac_cv_search_clock_gettime+:} false; then :
15646 $as_echo_n "(cached) " >&6
15647 else
15648 ac_func_search_save_LIBS=$LIBS
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15652 /* Override any GCC internal prototype to avoid an error.
15653 Use char because int might match the return type of a GCC
15654 builtin and then its argument prototype would still apply. */
15655 #ifdef __cplusplus
15656 extern "C"
15657 #endif
15658 char clock_gettime ();
15660 main ()
15662 return clock_gettime ();
15664 return 0;
15666 _ACEOF
15667 for ac_lib in '' rt; do
15668 if test -z "$ac_lib"; then
15669 ac_res="none required"
15670 else
15671 ac_res=-l$ac_lib
15672 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15674 if ac_fn_c_try_link "$LINENO"; then :
15675 ac_cv_search_clock_gettime=$ac_res
15677 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext
15679 if ${ac_cv_search_clock_gettime+:} false; then :
15680 break
15682 done
15683 if ${ac_cv_search_clock_gettime+:} false; then :
15685 else
15686 ac_cv_search_clock_gettime=no
15688 rm conftest.$ac_ext
15689 LIBS=$ac_func_search_save_LIBS
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15692 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15693 ac_res=$ac_cv_search_clock_gettime
15694 if test "$ac_res" != no; then :
15695 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15697 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15699 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15703 LIBS=$ac_save_LIBS
15705 LDAP_LIBS=""
15707 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15708 then
15709 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15711 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15713 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15714 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 ac_check_lib_save_LIBS=$LIBS
15718 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15722 /* Override any GCC internal prototype to avoid an error.
15723 Use char because int might match the return type of a GCC
15724 builtin and then its argument prototype would still apply. */
15725 #ifdef __cplusplus
15726 extern "C"
15727 #endif
15728 char ldap_initialize ();
15730 main ()
15732 return ldap_initialize ();
15734 return 0;
15736 _ACEOF
15737 if ac_fn_c_try_link "$LINENO"; then :
15738 ac_cv_lib_ldap_r_ldap_initialize=yes
15739 else
15740 ac_cv_lib_ldap_r_ldap_initialize=no
15742 rm -f core conftest.err conftest.$ac_objext \
15743 conftest$ac_exeext conftest.$ac_ext
15744 LIBS=$ac_check_lib_save_LIBS
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15747 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15748 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15750 $as_echo_n "checking for ber_init in -llber... " >&6; }
15751 if ${ac_cv_lib_lber_ber_init+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_check_lib_save_LIBS=$LIBS
15755 LIBS="-llber $PTHREAD_LIBS $LIBS"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15759 /* Override any GCC internal prototype to avoid an error.
15760 Use char because int might match the return type of a GCC
15761 builtin and then its argument prototype would still apply. */
15762 #ifdef __cplusplus
15763 extern "C"
15764 #endif
15765 char ber_init ();
15767 main ()
15769 return ber_init ();
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 ac_cv_lib_lber_ber_init=yes
15776 else
15777 ac_cv_lib_lber_ber_init=no
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_check_lib_save_LIBS
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15784 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15785 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15787 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15789 LDAP_LIBS="-lldap_r -llber"
15796 ac_wine_check_funcs_save_LIBS="$LIBS"
15797 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15798 for ac_func in \
15799 ldap_count_references \
15800 ldap_first_reference \
15801 ldap_next_reference \
15802 ldap_parse_reference \
15803 ldap_parse_sort_control \
15804 ldap_parse_sortresponse_control \
15805 ldap_parse_vlv_control \
15806 ldap_parse_vlvresponse_control
15807 do :
15808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15813 _ACEOF
15816 done
15818 LIBS="$ac_wine_check_funcs_save_LIBS"
15820 if test "x$LDAP_LIBS" = "x"; then :
15821 case "x$with_ldap" in
15822 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15823 xno) ;;
15824 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15825 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15826 esac
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15831 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15832 if ${wine_cv_one_arg_mkdir+:} false; then :
15833 $as_echo_n "(cached) " >&6
15834 else
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15837 #include <sys/stat.h>
15839 main ()
15841 mkdir("foo");
15843 return 0;
15845 _ACEOF
15846 if ac_fn_c_try_compile "$LINENO"; then :
15847 wine_cv_one_arg_mkdir=yes
15848 else
15849 wine_cv_one_arg_mkdir=no
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15854 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15855 if test "$wine_cv_one_arg_mkdir" = "yes"
15856 then
15858 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15863 $as_echo_n "checking for sched_setaffinity... " >&6; }
15864 if ${wine_cv_have_sched_setaffinity+:} false; then :
15865 $as_echo_n "(cached) " >&6
15866 else
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 #define _GNU_SOURCE
15870 #include <sched.h>
15872 main ()
15874 sched_setaffinity(0, 0, 0);
15876 return 0;
15878 _ACEOF
15879 if ac_fn_c_try_link "$LINENO"; then :
15880 wine_cv_have_sched_setaffinity=yes
15881 else
15882 wine_cv_have_sched_setaffinity=no
15884 rm -f core conftest.err conftest.$ac_objext \
15885 conftest$ac_exeext conftest.$ac_ext
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15888 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15889 if test "$wine_cv_have_sched_setaffinity" = "yes"
15890 then
15892 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15897 $as_echo_n "checking for fallocate... " >&6; }
15898 if ${wine_cv_have_fallocate+:} false; then :
15899 $as_echo_n "(cached) " >&6
15900 else
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE
15904 #include <fcntl.h>
15906 main ()
15908 fallocate(-1, 0, 0, 0);
15910 return 0;
15912 _ACEOF
15913 if ac_fn_c_try_link "$LINENO"; then :
15914 wine_cv_have_fallocate=yes
15915 else
15916 wine_cv_have_fallocate=no
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15922 $as_echo "$wine_cv_have_fallocate" >&6; }
15923 if test "$wine_cv_have_fallocate" = "yes"
15924 then
15926 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15932 $as_echo_n "checking for inline... " >&6; }
15933 if ${ac_cv_c_inline+:} false; then :
15934 $as_echo_n "(cached) " >&6
15935 else
15936 ac_cv_c_inline=no
15937 for ac_kw in inline __inline__ __inline; do
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15940 #ifndef __cplusplus
15941 typedef int foo_t;
15942 static $ac_kw foo_t static_foo () {return 0; }
15943 $ac_kw foo_t foo () {return 0; }
15944 #endif
15946 _ACEOF
15947 if ac_fn_c_try_compile "$LINENO"; then :
15948 ac_cv_c_inline=$ac_kw
15950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15951 test "$ac_cv_c_inline" != no && break
15952 done
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15956 $as_echo "$ac_cv_c_inline" >&6; }
15958 case $ac_cv_c_inline in
15959 inline | yes) ;;
15961 case $ac_cv_c_inline in
15962 no) ac_val=;;
15963 *) ac_val=$ac_cv_c_inline;;
15964 esac
15965 cat >>confdefs.h <<_ACEOF
15966 #ifndef __cplusplus
15967 #define inline $ac_val
15968 #endif
15969 _ACEOF
15971 esac
15973 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15974 if test "x$ac_cv_type_mode_t" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_MODE_T 1
15978 _ACEOF
15982 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15983 if test "x$ac_cv_type_off_t" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_OFF_T 1
15987 _ACEOF
15991 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15992 if test "x$ac_cv_type_pid_t" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_PID_T 1
15996 _ACEOF
16000 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16001 if test "x$ac_cv_type_size_t" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_SIZE_T 1
16005 _ACEOF
16009 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16010 if test "x$ac_cv_type_ssize_t" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_SSIZE_T 1
16014 _ACEOF
16018 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16019 if test "x$ac_cv_type_long_long" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_LONG_LONG 1
16023 _ACEOF
16027 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16028 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_FSBLKCNT_T 1
16032 _ACEOF
16036 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16037 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_FSFILCNT_T 1
16041 _ACEOF
16046 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16047 #include <signal.h>
16049 if test "x$ac_cv_type_sigset_t" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_SIGSET_T 1
16053 _ACEOF
16058 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16060 if test "x$ac_cv_type_request_sense" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_REQUEST_SENSE 1
16064 _ACEOF
16070 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16071 #ifdef HAVE_SYS_SOCKET_H
16072 #include <sys/socket.h>
16073 #endif
16074 #ifdef HAVE_SYS_SOCKETVAR_H
16075 #include <sys/socketvar.h>
16076 #endif
16077 #ifdef HAVE_NET_ROUTE_H
16078 #include <net/route.h>
16079 #endif
16080 #ifdef HAVE_NETINET_IN_H
16081 #include <netinet/in.h>
16082 #endif
16083 #ifdef HAVE_NETINET_IN_SYSTM_H
16084 #include <netinet/in_systm.h>
16085 #endif
16086 #ifdef HAVE_NETINET_IP_H
16087 #include <netinet/ip.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IN_PCB_H
16090 #include <netinet/in_pcb.h>
16091 #endif
16093 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_STRUCT_XINPGEN 1
16097 _ACEOF
16103 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16104 #include <link.h>
16105 #endif
16106 #ifdef HAVE_SYS_LINK_H
16107 #include <sys/link.h>
16108 #endif
16110 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_R_DEBUG 1
16114 _ACEOF
16118 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16119 #include <link.h>
16120 #endif
16121 #ifdef HAVE_SYS_LINK_H
16122 #include <sys/link.h>
16123 #endif
16125 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_LINK_MAP 1
16129 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16136 #include <linux/input.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16143 _ACEOF
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16150 $as_echo_n "checking for sigaddset... " >&6; }
16151 if ${wine_cv_have_sigaddset+:} false; then :
16152 $as_echo_n "(cached) " >&6
16153 else
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16156 #include <signal.h>
16158 main ()
16160 sigset_t set; sigaddset(&set,SIGTERM);
16162 return 0;
16164 _ACEOF
16165 if ac_fn_c_try_link "$LINENO"; then :
16166 wine_cv_have_sigaddset=yes
16167 else
16168 wine_cv_have_sigaddset=no
16170 rm -f core conftest.err conftest.$ac_objext \
16171 conftest$ac_exeext conftest.$ac_ext
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16174 $as_echo "$wine_cv_have_sigaddset" >&6; }
16175 if test "$wine_cv_have_sigaddset" = "yes"
16176 then
16178 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16184 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16185 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #include <netdb.h>
16192 main ()
16195 char *name=0;
16196 struct hostent he;
16197 struct hostent *result;
16198 char *buf=0;
16199 int bufsize=0;
16200 int errnr;
16201 char *addr=0;
16202 int addrlen=0;
16203 int addrtype=0;
16204 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16205 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16208 return 0;
16210 _ACEOF
16211 if ac_fn_c_try_link "$LINENO"; then :
16212 wine_cv_linux_gethostbyname_r_6=yes
16213 else
16214 wine_cv_linux_gethostbyname_r_6=no
16217 rm -f core conftest.err conftest.$ac_objext \
16218 conftest$ac_exeext conftest.$ac_ext
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16222 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16223 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16224 then
16226 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16230 if test "$ac_cv_header_linux_joystick_h" = "yes"
16231 then
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16233 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16234 if ${wine_cv_linux_joystick_22_api+:} false; then :
16235 $as_echo_n "(cached) " >&6
16236 else
16237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16240 #include <sys/ioctl.h>
16241 #include <sys/types.h>
16242 #include <linux/joystick.h>
16244 struct js_event blub;
16245 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16246 #error "no 2.2 header"
16247 #endif
16250 main ()
16252 /*empty*/
16254 return 0;
16256 _ACEOF
16257 if ac_fn_c_try_compile "$LINENO"; then :
16258 wine_cv_linux_joystick_22_api=yes
16259 else
16260 wine_cv_linux_joystick_22_api=no
16262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16266 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16267 if test "$wine_cv_linux_joystick_22_api" = "yes"
16268 then
16270 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16276 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16277 #ifdef HAVE_SYS_PARAM_H
16278 # include <sys/param.h>
16279 #endif
16280 #ifdef HAVE_SYS_MOUNT_H
16281 # include <sys/mount.h>
16282 #endif
16283 #ifdef HAVE_SYS_VFS_H
16284 # include <sys/vfs.h>
16285 #endif
16286 #ifdef HAVE_SYS_STATFS_H
16287 # include <sys/statfs.h>
16288 #endif
16290 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_STRUCT_STATFS_F_BFREE 1
16294 _ACEOF
16298 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16299 #ifdef HAVE_SYS_PARAM_H
16300 # include <sys/param.h>
16301 #endif
16302 #ifdef HAVE_SYS_MOUNT_H
16303 # include <sys/mount.h>
16304 #endif
16305 #ifdef HAVE_SYS_VFS_H
16306 # include <sys/vfs.h>
16307 #endif
16308 #ifdef HAVE_SYS_STATFS_H
16309 # include <sys/statfs.h>
16310 #endif
16312 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16316 _ACEOF
16320 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16321 #ifdef HAVE_SYS_PARAM_H
16322 # include <sys/param.h>
16323 #endif
16324 #ifdef HAVE_SYS_MOUNT_H
16325 # include <sys/mount.h>
16326 #endif
16327 #ifdef HAVE_SYS_VFS_H
16328 # include <sys/vfs.h>
16329 #endif
16330 #ifdef HAVE_SYS_STATFS_H
16331 # include <sys/statfs.h>
16332 #endif
16334 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16338 _ACEOF
16342 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16343 #ifdef HAVE_SYS_PARAM_H
16344 # include <sys/param.h>
16345 #endif
16346 #ifdef HAVE_SYS_MOUNT_H
16347 # include <sys/mount.h>
16348 #endif
16349 #ifdef HAVE_SYS_VFS_H
16350 # include <sys/vfs.h>
16351 #endif
16352 #ifdef HAVE_SYS_STATFS_H
16353 # include <sys/statfs.h>
16354 #endif
16356 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_STRUCT_STATFS_F_FFREE 1
16360 _ACEOF
16364 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16365 #ifdef HAVE_SYS_PARAM_H
16366 # include <sys/param.h>
16367 #endif
16368 #ifdef HAVE_SYS_MOUNT_H
16369 # include <sys/mount.h>
16370 #endif
16371 #ifdef HAVE_SYS_VFS_H
16372 # include <sys/vfs.h>
16373 #endif
16374 #ifdef HAVE_SYS_STATFS_H
16375 # include <sys/statfs.h>
16376 #endif
16378 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16382 _ACEOF
16386 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16387 #ifdef HAVE_SYS_PARAM_H
16388 # include <sys/param.h>
16389 #endif
16390 #ifdef HAVE_SYS_MOUNT_H
16391 # include <sys/mount.h>
16392 #endif
16393 #ifdef HAVE_SYS_VFS_H
16394 # include <sys/vfs.h>
16395 #endif
16396 #ifdef HAVE_SYS_STATFS_H
16397 # include <sys/statfs.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16404 _ACEOF
16410 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16411 #include <sys/statvfs.h>
16412 #endif
16414 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16418 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16425 #include <dirent.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16432 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16439 #ifdef HAVE_SYS_SOCKET_H
16440 # include <sys/socket.h>
16441 #endif
16442 #ifdef HAVE_SYS_UN_H
16443 # include <sys/un.h>
16444 #endif
16446 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16450 _ACEOF
16454 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16455 #ifdef HAVE_SYS_SOCKET_H
16456 # include <sys/socket.h>
16457 #endif
16458 #ifdef HAVE_SYS_UN_H
16459 # include <sys/un.h>
16460 #endif
16462 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16466 _ACEOF
16470 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16471 #ifdef HAVE_SYS_SOCKET_H
16472 # include <sys/socket.h>
16473 #endif
16474 #ifdef HAVE_SYS_UN_H
16475 # include <sys/un.h>
16476 #endif
16478 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16482 _ACEOF
16488 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16489 #ifdef HAVE_SCSI_SG_H
16490 #include <scsi/sg.h>
16491 #endif
16493 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16495 cat >>confdefs.h <<_ACEOF
16496 #define HAVE_SCSIREQ_T_CMD 1
16497 _ACEOF
16501 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>
16502 #ifdef HAVE_SCSI_SG_H
16503 #include <scsi/sg.h>
16504 #endif
16506 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16510 _ACEOF
16516 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16518 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_SIGINFO_T_SI_FD 1
16522 _ACEOF
16528 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16529 #ifdef HAVE_SYS_MTIO_H
16530 #include <sys/mtio.h>
16531 #endif
16533 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16537 _ACEOF
16541 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16542 #ifdef HAVE_SYS_MTIO_H
16543 #include <sys/mtio.h>
16544 #endif
16546 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16550 _ACEOF
16554 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16555 #ifdef HAVE_SYS_MTIO_H
16556 #include <sys/mtio.h>
16557 #endif
16559 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16563 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16570 #include <getopt.h>
16571 #endif
16573 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_OPTION_NAME 1
16577 _ACEOF
16583 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16584 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16588 _ACEOF
16592 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16593 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_STRUCT_STAT_ST_MTIM 1
16597 _ACEOF
16601 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16602 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16606 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16611 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_STRUCT_STAT_ST_CTIM 1
16615 _ACEOF
16619 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16620 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16624 _ACEOF
16628 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16629 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_STAT_ST_ATIM 1
16633 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16638 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16642 _ACEOF
16646 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16647 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16651 _ACEOF
16655 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16656 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16660 _ACEOF
16664 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16665 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16669 _ACEOF
16673 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16674 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16678 _ACEOF
16682 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16683 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16687 _ACEOF
16693 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
16694 #include <sys/types.h>
16695 #endif
16696 #ifdef HAVE_NETINET_IN_H
16697 #include <netinet/in.h>
16698 #endif
16700 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16702 cat >>confdefs.h <<_ACEOF
16703 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16704 _ACEOF
16710 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16711 #include <resolv.h>
16712 #endif
16714 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_STRUCT___RES_STATE 1
16718 _ACEOF
16724 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
16725 #include <resolv.h>
16726 #endif
16728 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16732 _ACEOF
16738 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16739 #include <sys/types.h>
16740 #endif
16741 #ifdef HAVE_NETINET_IN_H
16742 # include <netinet/in.h>
16743 #endif
16744 #ifdef HAVE_ARPA_NAMESER_H
16745 # include <arpa/nameser.h>
16746 #endif
16748 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_NS_MSG__MSG_PTR 1
16752 _ACEOF
16758 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16759 #include <sys/types.h>
16760 #endif
16761 #ifdef HAVE_NETINET_IP_H
16762 #include <netinet/ip.h>
16763 #endif
16764 #ifdef HAVE_NETINET_IP_ICMP_H
16765 #include <netinet/ip_icmp.h>
16766 #endif
16767 #ifdef HAVE_NETINET_ICMP_VAR_H
16768 #include <netinet/icmp_var.h>
16769 #endif
16771 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16773 cat >>confdefs.h <<_ACEOF
16774 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16775 _ACEOF
16781 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16782 #include <sys/types.h>
16783 #endif
16784 #ifdef HAVE_ALIAS_H
16785 #include <alias.h>
16786 #endif
16787 #ifdef HAVE_SYS_SOCKET_H
16788 #include <sys/socket.h>
16789 #endif
16790 #ifdef HAVE_SYS_SOCKETVAR_H
16791 #include <sys/socketvar.h>
16792 #endif
16793 #ifdef HAVE_SYS_TIMEOUT_H
16794 #include <sys/timeout.h>
16795 #endif
16796 #ifdef HAVE_NETINET_IN_H
16797 #include <netinet/in.h>
16798 #endif
16799 #ifdef HAVE_NETINET_IN_SYSTM_H
16800 #include <netinet/in_systm.h>
16801 #endif
16802 #ifdef HAVE_NETINET_IP_H
16803 #include <netinet/ip.h>
16804 #endif
16805 #ifdef HAVE_NETINET_IP_VAR_H
16806 #include <netinet/ip_var.h>
16807 #endif
16808 #ifdef HAVE_NETINET_IP_ICMP_H
16809 #include <netinet/ip_icmp.h>
16810 #endif
16811 #ifdef HAVE_NETINET_ICMP_VAR_H
16812 #include <netinet/icmp_var.h>
16813 #endif
16815 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16817 cat >>confdefs.h <<_ACEOF
16818 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16819 _ACEOF
16825 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16826 #include <sys/types.h>
16827 #endif
16828 #ifdef HAVE_SYS_SOCKETVAR_H
16829 #include <sys/socketvar.h>
16830 #endif
16831 #ifdef HAVE_NETINET_IN_H
16832 #include <netinet/in.h>
16833 #endif
16834 #ifdef HAVE_NETINET_IP_VAR_H
16835 #include <netinet/ip_var.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16842 _ACEOF
16848 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
16849 #include <netinet/ip_var.h>
16850 #endif
16852 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16854 cat >>confdefs.h <<_ACEOF
16855 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16856 _ACEOF
16862 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16863 #include <sys/types.h>
16864 #endif
16865 #ifdef HAVE_SYS_SOCKETVAR_H
16866 #include <sys/socketvar.h>
16867 #endif
16868 #ifdef HAVE_NETINET_IN_H
16869 #include <netinet/in.h>
16870 #endif
16871 #ifdef HAVE_NETINET_TCP_H
16872 #include <netinet/tcp.h>
16873 #endif
16874 #ifdef HAVE_NETINET_TCP_VAR_H
16875 #include <netinet/tcp_var.h>
16876 #endif
16878 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16880 cat >>confdefs.h <<_ACEOF
16881 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16882 _ACEOF
16888 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
16889 #include <netinet/tcp_var.h>
16890 #endif
16892 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16896 _ACEOF
16902 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16903 #include <sys/types.h>
16904 #endif
16905 #ifdef HAVE_NETINET_IN_H
16906 #include <netinet/in.h>
16907 #endif
16908 #ifdef HAVE_NETINET_IP_VAR_H
16909 #include <netinet/ip_var.h>
16910 #endif
16911 #ifdef HAVE_NETINET_UDP_H
16912 #include <netinet/udp.h>
16913 #endif
16914 #ifdef HAVE_NETINET_UDP_VAR_H
16915 #include <netinet/udp_var.h>
16916 #endif
16918 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16920 cat >>confdefs.h <<_ACEOF
16921 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16922 _ACEOF
16928 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16929 #include <sys/types.h>
16930 #endif
16931 #ifdef HAVE_NET_IF_H
16932 # include <net/if.h>
16933 #endif
16935 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16937 cat >>confdefs.h <<_ACEOF
16938 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16939 _ACEOF
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16946 $as_echo_n "checking for timezone variable... " >&6; }
16947 if ${ac_cv_have_timezone+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16952 #include <time.h>
16954 main ()
16956 timezone = 1
16958 return 0;
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_have_timezone="yes"
16963 else
16964 ac_cv_have_timezone="no"
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16970 $as_echo "$ac_cv_have_timezone" >&6; }
16971 if test "$ac_cv_have_timezone" = "yes"
16972 then
16974 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16978 $as_echo_n "checking for daylight variable... " >&6; }
16979 if ${ac_cv_have_daylight+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #include <time.h>
16986 main ()
16988 daylight = 1
16990 return 0;
16992 _ACEOF
16993 if ac_fn_c_try_link "$LINENO"; then :
16994 ac_cv_have_daylight="yes"
16995 else
16996 ac_cv_have_daylight="no"
16998 rm -f core conftest.err conftest.$ac_objext \
16999 conftest$ac_exeext conftest.$ac_ext
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17002 $as_echo "$ac_cv_have_daylight" >&6; }
17003 if test "$ac_cv_have_daylight" = "yes"
17004 then
17006 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17010 ac_save_LIBS="$LIBS"
17011 LIBS="$LIBS -lm"
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17013 $as_echo_n "checking for isfinite... " >&6; }
17014 if ${ac_cv_have_isfinite+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #define _GNU_SOURCE
17020 #include <math.h>
17022 main ()
17024 float f = 0.0; return isfinite(f)
17026 return 0;
17028 _ACEOF
17029 if ac_fn_c_try_link "$LINENO"; then :
17030 ac_cv_have_isfinite="yes"
17031 else
17032 ac_cv_have_isfinite="no"
17034 rm -f core conftest.err conftest.$ac_objext \
17035 conftest$ac_exeext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17038 $as_echo "$ac_cv_have_isfinite" >&6; }
17039 if test "$ac_cv_have_isfinite" = "yes"
17040 then
17042 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17047 $as_echo_n "checking for isinf... " >&6; }
17048 if ${ac_cv_have_isinf+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #include <math.h>
17055 main ()
17057 float f = 0.0; return isinf(f)
17059 return 0;
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_have_isinf="yes"
17064 else
17065 ac_cv_have_isinf="no"
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17071 $as_echo "$ac_cv_have_isinf" >&6; }
17072 if test "$ac_cv_have_isinf" = "yes"
17073 then
17075 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17080 $as_echo_n "checking for isnan... " >&6; }
17081 if ${ac_cv_have_isnan+:} false; then :
17082 $as_echo_n "(cached) " >&6
17083 else
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 #include <math.h>
17088 main ()
17090 float f = 0.0; return isnan(f)
17092 return 0;
17094 _ACEOF
17095 if ac_fn_c_try_link "$LINENO"; then :
17096 ac_cv_have_isnan="yes"
17097 else
17098 ac_cv_have_isnan="no"
17100 rm -f core conftest.err conftest.$ac_objext \
17101 conftest$ac_exeext conftest.$ac_ext
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17104 $as_echo "$ac_cv_have_isnan" >&6; }
17105 if test "$ac_cv_have_isnan" = "yes"
17106 then
17108 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17112 for ac_func in \
17113 asinh \
17114 asinhf \
17115 cbrt \
17116 cbrtf \
17117 erf \
17118 erff \
17119 exp2 \
17120 exp2f \
17121 lgamma \
17122 lgammaf \
17123 llrint \
17124 llrintf \
17125 llround \
17126 llroundf \
17127 log2 \
17128 log2f \
17129 lrint \
17130 lrintf \
17131 lround \
17132 lroundf \
17133 nearbyint \
17134 nearbyintf \
17135 powl \
17136 remainder \
17137 remainderf \
17138 rint \
17139 rintf \
17140 round \
17141 roundf \
17142 trunc \
17143 truncf
17145 do :
17146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17149 cat >>confdefs.h <<_ACEOF
17150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17151 _ACEOF
17154 done
17156 LIBS="$ac_save_LIBS"
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17159 $as_echo_n "checking for __builtin_clz... " >&6; }
17160 if ${ac_cv_have___builtin_clz+:} false; then :
17161 $as_echo_n "(cached) " >&6
17162 else
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17167 main ()
17169 return __builtin_clz(1)
17171 return 0;
17173 _ACEOF
17174 if ac_fn_c_try_link "$LINENO"; then :
17175 ac_cv_have___builtin_clz="yes"
17176 else
17177 ac_cv_have___builtin_clz="no"
17179 rm -f core conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17183 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17184 if test "$ac_cv_have___builtin_clz" = "yes"
17185 then
17187 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17192 $as_echo_n "checking for __builtin_popcount... " >&6; }
17193 if ${ac_cv_have___builtin_popcount+:} false; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17200 main ()
17202 return __builtin_popcount(1)
17204 return 0;
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_have___builtin_popcount="yes"
17209 else
17210 ac_cv_have___builtin_popcount="no"
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17216 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17217 if test "$ac_cv_have___builtin_popcount" = "yes"
17218 then
17220 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17225 case $host_cpu in
17226 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17227 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17228 if ${ac_cv_cpp_def___i386__+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 #ifndef __i386__
17235 #endif
17236 _ACEOF
17237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17238 $EGREP "yes" >/dev/null 2>&1; then :
17239 ac_cv_cpp_def___i386__=yes
17240 else
17241 ac_cv_cpp_def___i386__=no
17243 rm -f conftest*
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17247 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17248 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17249 CFLAGS="$CFLAGS -D__i386__"
17250 LINTFLAGS="$LINTFLAGS -D__i386__"
17251 fi ;;
17252 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17253 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17254 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 #ifndef __x86_64__
17261 #endif
17262 _ACEOF
17263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17264 $EGREP "yes" >/dev/null 2>&1; then :
17265 ac_cv_cpp_def___x86_64__=yes
17266 else
17267 ac_cv_cpp_def___x86_64__=no
17269 rm -f conftest*
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17273 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17274 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17275 CFLAGS="$CFLAGS -D__x86_64__"
17276 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17277 fi ;;
17278 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17279 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17280 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 #ifndef __sparc64__
17287 #endif
17288 _ACEOF
17289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17290 $EGREP "yes" >/dev/null 2>&1; then :
17291 ac_cv_cpp_def___sparc64__=yes
17292 else
17293 ac_cv_cpp_def___sparc64__=no
17295 rm -f conftest*
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17299 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17300 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17301 CFLAGS="$CFLAGS -D__sparc64__"
17302 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17303 fi ;;
17304 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17305 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17306 if ${ac_cv_cpp_def___sparc__+:} false; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #ifndef __sparc__
17313 #endif
17314 _ACEOF
17315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17316 $EGREP "yes" >/dev/null 2>&1; then :
17317 ac_cv_cpp_def___sparc__=yes
17318 else
17319 ac_cv_cpp_def___sparc__=no
17321 rm -f conftest*
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17325 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17326 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17327 CFLAGS="$CFLAGS -D__sparc__"
17328 LINTFLAGS="$LINTFLAGS -D__sparc__"
17329 fi ;;
17330 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17331 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17332 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 #ifndef __powerpc64__
17339 #endif
17340 _ACEOF
17341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17342 $EGREP "yes" >/dev/null 2>&1; then :
17343 ac_cv_cpp_def___powerpc64__=yes
17344 else
17345 ac_cv_cpp_def___powerpc64__=no
17347 rm -f conftest*
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17351 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17352 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17353 CFLAGS="$CFLAGS -D__powerpc64__"
17354 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17355 fi ;;
17356 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17357 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17358 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363 #ifndef __powerpc__
17365 #endif
17366 _ACEOF
17367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17368 $EGREP "yes" >/dev/null 2>&1; then :
17369 ac_cv_cpp_def___powerpc__=yes
17370 else
17371 ac_cv_cpp_def___powerpc__=no
17373 rm -f conftest*
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17377 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17378 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17379 CFLAGS="$CFLAGS -D__powerpc__"
17380 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17381 fi ;;
17382 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17383 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17384 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 #ifndef __aarch64__
17391 #endif
17392 _ACEOF
17393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17394 $EGREP "yes" >/dev/null 2>&1; then :
17395 ac_cv_cpp_def___aarch64__=yes
17396 else
17397 ac_cv_cpp_def___aarch64__=no
17399 rm -f conftest*
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17403 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17404 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17405 CFLAGS="$CFLAGS -D__aarch64__"
17406 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17407 fi ;;
17408 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17409 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17410 if ${ac_cv_cpp_def___arm__+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17415 #ifndef __arm__
17417 #endif
17418 _ACEOF
17419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17420 $EGREP "yes" >/dev/null 2>&1; then :
17421 ac_cv_cpp_def___arm__=yes
17422 else
17423 ac_cv_cpp_def___arm__=no
17425 rm -f conftest*
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17429 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17430 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17431 CFLAGS="$CFLAGS -D__arm__"
17432 LINTFLAGS="$LINTFLAGS -D__arm__"
17433 fi ;;
17434 esac
17436 case $host_vendor in
17437 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17438 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17439 if ${ac_cv_cpp_def___sun__+:} false; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17444 #ifndef __sun__
17446 #endif
17447 _ACEOF
17448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17449 $EGREP "yes" >/dev/null 2>&1; then :
17450 ac_cv_cpp_def___sun__=yes
17451 else
17452 ac_cv_cpp_def___sun__=no
17454 rm -f conftest*
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17458 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17459 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17460 CFLAGS="$CFLAGS -D__sun__"
17461 LINTFLAGS="$LINTFLAGS -D__sun__"
17462 fi ;;
17463 esac
17469 ac_config_commands="$ac_config_commands include/stamp-h"
17471 $as_echo_n "creating Makefile rules..." >&6
17473 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17474 SOCKET_LIBS = $SOCKET_LIBS
17475 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17476 IOKIT_LIBS = $IOKIT_LIBS
17477 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17478 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17479 CORESERVICES_LIBS = $CORESERVICES_LIBS
17480 APPKIT_LIBS = $APPKIT_LIBS
17481 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17482 SECURITY_LIBS = $SECURITY_LIBS
17483 COREAUDIO_LIBS = $COREAUDIO_LIBS
17484 OPENAL_LIBS = $OPENAL_LIBS
17485 OPENCL_LIBS = $OPENCL_LIBS
17486 QUICKTIME_LIBS = $QUICKTIME_LIBS
17487 CARBON_LIBS = $CARBON_LIBS
17488 PTHREAD_LIBS = $PTHREAD_LIBS
17489 X_CFLAGS = $X_CFLAGS
17490 X_PRE_LIBS = $X_PRE_LIBS
17491 X_LIBS = $X_LIBS
17492 X_EXTRA_LIBS = $X_EXTRA_LIBS
17493 PCAP_LIBS = $PCAP_LIBS
17494 XML2_CFLAGS = $XML2_CFLAGS
17495 XML2_LIBS = $XML2_LIBS
17496 XSLT_CFLAGS = $XSLT_CFLAGS
17497 XSLT_LIBS = $XSLT_LIBS
17498 DBUS_CFLAGS = $DBUS_CFLAGS
17499 DBUS_LIBS = $DBUS_LIBS
17500 HAL_CFLAGS = $HAL_CFLAGS
17501 HAL_LIBS = $HAL_LIBS
17502 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17503 GNUTLS_LIBS = $GNUTLS_LIBS
17504 SANE_CFLAGS = $SANE_CFLAGS
17505 SANE_LIBS = $SANE_LIBS
17506 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17507 GPHOTO2_LIBS = $GPHOTO2_LIBS
17508 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17509 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17510 RESOLV_LIBS = $RESOLV_LIBS
17511 LCMS2_CFLAGS = $LCMS2_CFLAGS
17512 LCMS2_LIBS = $LCMS2_LIBS
17513 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17514 FREETYPE_LIBS = $FREETYPE_LIBS
17515 Z_LIBS = $Z_LIBS
17516 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17517 PULSE_CFLAGS = $PULSE_CFLAGS
17518 PULSE_LIBS = $PULSE_LIBS
17519 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17520 GSTREAMER_LIBS = $GSTREAMER_LIBS
17521 ALSA_LIBS = $ALSA_LIBS
17522 OSS4_CFLAGS = $OSS4_CFLAGS
17523 UDEV_CFLAGS = $UDEV_CFLAGS
17524 UDEV_LIBS = $UDEV_LIBS
17525 CAPI20_CFLAGS = $CAPI20_CFLAGS
17526 CAPI20_LIBS = $CAPI20_LIBS
17527 CUPS_CFLAGS = $CUPS_CFLAGS
17528 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17529 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17530 JPEG_CFLAGS = $JPEG_CFLAGS
17531 JPEG_LIBS = $JPEG_LIBS
17532 PNG_CFLAGS = $PNG_CFLAGS
17533 PNG_LIBS = $PNG_LIBS
17534 TIFF_CFLAGS = $TIFF_CFLAGS
17535 TIFF_LIBS = $TIFF_LIBS
17536 MPG123_CFLAGS = $MPG123_CFLAGS
17537 MPG123_LIBS = $MPG123_LIBS
17538 KSTAT_LIBS = $KSTAT_LIBS
17539 PROCSTAT_LIBS = $PROCSTAT_LIBS
17540 NETAPI_CFLAGS = $NETAPI_CFLAGS
17541 NETAPI_LIBS = $NETAPI_LIBS
17542 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17543 DL_LIBS = $DL_LIBS
17544 POLL_LIBS = $POLL_LIBS
17545 RT_LIBS = $RT_LIBS
17546 LDAP_LIBS = $LDAP_LIBS
17551 wine_fn_append_rule "
17552 # Rules automatically generated by configure
17554 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17556 .INIT: Makefile
17557 .MAKEFILEDEPS:
17558 all: Makefile
17559 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17560 @./config.status Make.tmp Makefile
17561 depend: \$(MAKEDEP) dummy
17562 \$(MAKEDEP)"
17564 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17565 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17567 if test "x$enable_fonts" != xno; then
17568 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17569 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17570 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17571 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17572 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17573 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17575 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17576 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17577 ac_config_links="$ac_config_links wine:tools/winewrapper"
17578 wine_fn_config_symlink wine
17579 if test "x$enable_win64" != xno; then
17580 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17581 wine_fn_config_symlink wine64
17584 wine_fn_config_dll acledit enable_acledit
17585 wine_fn_config_dll aclui enable_aclui implib
17586 wine_fn_config_dll activeds enable_activeds implib
17587 wine_fn_config_dll actxprxy enable_actxprxy clean
17588 wine_fn_config_lib adsiid
17589 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17590 wine_fn_config_test dlls/advapi32/tests advapi32_test
17591 wine_fn_config_dll advpack enable_advpack implib
17592 wine_fn_config_test dlls/advpack/tests advpack_test
17593 wine_fn_config_dll amstream enable_amstream clean
17594 wine_fn_config_test dlls/amstream/tests amstream_test
17595 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17596 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17597 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17604 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17607 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17609 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17613 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17616 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17618 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17620 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17621 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17622 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17623 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17626 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17629 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17633 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17636 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17639 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17640 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17642 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17643 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17644 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17650 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17651 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17654 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17658 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17660 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17662 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17663 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17671 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17676 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17680 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17682 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17683 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17685 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17696 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17697 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17703 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17704 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17705 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17706 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17709 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17710 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17711 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17712 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17713 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17714 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17715 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17716 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17717 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17718 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17719 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17720 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17721 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17722 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17723 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17724 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17725 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17726 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17727 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17728 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17729 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17730 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17731 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17732 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17733 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17734 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17735 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17736 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17737 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17738 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17739 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17740 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17741 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17742 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17743 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17744 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17745 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17746 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17747 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17748 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17749 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17750 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17751 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17752 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17753 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17754 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17755 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17756 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17757 wine_fn_config_dll apphelp enable_apphelp
17758 wine_fn_config_test dlls/apphelp/tests apphelp_test
17759 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17760 wine_fn_config_dll atl enable_atl clean,implib
17761 wine_fn_config_test dlls/atl/tests atl_test
17762 wine_fn_config_dll atl100 enable_atl100 clean,implib
17763 wine_fn_config_test dlls/atl100/tests atl100_test
17764 wine_fn_config_dll atl110 enable_atl110 clean
17765 wine_fn_config_dll atl80 enable_atl80 clean,implib
17766 wine_fn_config_test dlls/atl80/tests atl80_test
17767 wine_fn_config_dll atl90 enable_atl90 clean
17768 wine_fn_config_dll authz enable_authz
17769 wine_fn_config_dll avicap32 enable_avicap32 implib
17770 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17771 wine_fn_config_test dlls/avifil32/tests avifil32_test
17772 wine_fn_config_dll avifile.dll16 enable_win16
17773 wine_fn_config_dll avrt enable_avrt implib
17774 wine_fn_config_dll bcrypt enable_bcrypt implib
17775 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17776 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17777 wine_fn_config_dll browseui enable_browseui clean
17778 wine_fn_config_test dlls/browseui/tests browseui_test
17779 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17780 wine_fn_config_dll cabinet enable_cabinet implib
17781 wine_fn_config_test dlls/cabinet/tests cabinet_test
17782 wine_fn_config_dll capi2032 enable_capi2032 implib
17783 wine_fn_config_dll cards enable_cards implib
17784 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17785 wine_fn_config_dll clusapi enable_clusapi implib
17786 wine_fn_config_dll combase enable_combase
17787 wine_fn_config_test dlls/combase/tests combase_test
17788 wine_fn_config_dll comcat enable_comcat
17789 wine_fn_config_test dlls/comcat/tests comcat_test
17790 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17791 wine_fn_config_test dlls/comctl32/tests comctl32_test
17792 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17793 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17794 wine_fn_config_dll comm.drv16 enable_win16
17795 wine_fn_config_dll commdlg.dll16 enable_win16
17796 wine_fn_config_dll compobj.dll16 enable_win16
17797 wine_fn_config_dll compstui enable_compstui implib
17798 wine_fn_config_dll comsvcs enable_comsvcs implib
17799 wine_fn_config_dll concrt140 enable_concrt140
17800 wine_fn_config_dll connect enable_connect
17801 wine_fn_config_dll credui enable_credui clean,implib
17802 wine_fn_config_test dlls/credui/tests credui_test
17803 wine_fn_config_dll crtdll enable_crtdll
17804 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17805 wine_fn_config_test dlls/crypt32/tests crypt32_test
17806 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17807 wine_fn_config_dll cryptdll enable_cryptdll implib
17808 wine_fn_config_dll cryptext enable_cryptext
17809 wine_fn_config_dll cryptnet enable_cryptnet implib
17810 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17811 wine_fn_config_dll cryptui enable_cryptui clean,implib
17812 wine_fn_config_test dlls/cryptui/tests cryptui_test
17813 wine_fn_config_dll ctapi32 enable_ctapi32
17814 wine_fn_config_dll ctl3d.dll16 enable_win16
17815 wine_fn_config_dll ctl3d32 enable_ctl3d32
17816 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17817 wine_fn_config_dll d2d1 enable_d2d1 implib
17818 wine_fn_config_test dlls/d2d1/tests d2d1_test
17819 wine_fn_config_dll d3d10 enable_d3d10 implib
17820 wine_fn_config_test dlls/d3d10/tests d3d10_test
17821 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17822 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17823 wine_fn_config_dll d3d10core enable_d3d10core implib
17824 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17825 wine_fn_config_dll d3d11 enable_d3d11 implib
17826 wine_fn_config_test dlls/d3d11/tests d3d11_test
17827 wine_fn_config_dll d3d8 enable_d3d8 implib
17828 wine_fn_config_test dlls/d3d8/tests d3d8_test
17829 wine_fn_config_dll d3d9 enable_d3d9 implib
17830 wine_fn_config_test dlls/d3d9/tests d3d9_test
17831 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17832 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17833 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17834 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17835 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17836 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17837 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17838 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17839 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17840 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17841 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17842 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17843 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17844 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17845 wine_fn_config_dll d3dim enable_d3dim
17846 wine_fn_config_dll d3drm enable_d3drm implib
17847 wine_fn_config_test dlls/d3drm/tests d3drm_test
17848 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17849 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17850 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17851 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17852 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17853 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17854 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17855 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17856 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17857 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17858 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17859 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17860 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17861 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17862 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17863 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17864 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17865 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17866 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17867 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17868 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17869 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17870 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17871 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17872 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17873 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17874 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17875 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17876 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17877 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17878 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17879 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17880 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17881 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17882 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17883 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17884 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17885 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17886 wine_fn_config_dll davclnt enable_davclnt
17887 wine_fn_config_dll dbgeng enable_dbgeng implib
17888 wine_fn_config_dll dbghelp enable_dbghelp implib
17889 wine_fn_config_dll dciman32 enable_dciman32 implib
17890 wine_fn_config_dll ddeml.dll16 enable_win16
17891 wine_fn_config_dll ddraw enable_ddraw clean,implib
17892 wine_fn_config_test dlls/ddraw/tests ddraw_test
17893 wine_fn_config_dll ddrawex enable_ddrawex clean
17894 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17895 wine_fn_config_dll devenum enable_devenum clean
17896 wine_fn_config_test dlls/devenum/tests devenum_test
17897 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17898 wine_fn_config_dll difxapi enable_difxapi
17899 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17900 wine_fn_config_test dlls/dinput/tests dinput_test
17901 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17902 wine_fn_config_test dlls/dinput8/tests dinput8_test
17903 wine_fn_config_dll dispdib.dll16 enable_win16
17904 wine_fn_config_dll dispex enable_dispex clean
17905 wine_fn_config_test dlls/dispex/tests dispex_test
17906 wine_fn_config_dll display.drv16 enable_win16
17907 wine_fn_config_dll dmband enable_dmband clean
17908 wine_fn_config_test dlls/dmband/tests dmband_test
17909 wine_fn_config_dll dmcompos enable_dmcompos clean
17910 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17911 wine_fn_config_dll dmime enable_dmime clean
17912 wine_fn_config_test dlls/dmime/tests dmime_test
17913 wine_fn_config_dll dmloader enable_dmloader clean
17914 wine_fn_config_test dlls/dmloader/tests dmloader_test
17915 wine_fn_config_dll dmscript enable_dmscript clean
17916 wine_fn_config_test dlls/dmscript/tests dmscript_test
17917 wine_fn_config_dll dmstyle enable_dmstyle clean
17918 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17919 wine_fn_config_dll dmsynth enable_dmsynth clean
17920 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17921 wine_fn_config_dll dmusic enable_dmusic clean
17922 wine_fn_config_test dlls/dmusic/tests dmusic_test
17923 wine_fn_config_dll dmusic32 enable_dmusic32
17924 wine_fn_config_dll dnsapi enable_dnsapi implib
17925 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17926 wine_fn_config_dll dplay enable_dplay
17927 wine_fn_config_dll dplayx enable_dplayx clean,implib
17928 wine_fn_config_test dlls/dplayx/tests dplayx_test
17929 wine_fn_config_dll dpnaddr enable_dpnaddr
17930 wine_fn_config_dll dpnet enable_dpnet clean,implib
17931 wine_fn_config_test dlls/dpnet/tests dpnet_test
17932 wine_fn_config_dll dpnhpast enable_dpnhpast
17933 wine_fn_config_dll dpnlobby enable_dpnlobby
17934 wine_fn_config_dll dpvoice enable_dpvoice clean
17935 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17936 wine_fn_config_dll dpwsockx enable_dpwsockx
17937 wine_fn_config_dll drmclien enable_drmclien
17938 wine_fn_config_dll dsound enable_dsound clean,implib
17939 wine_fn_config_test dlls/dsound/tests dsound_test
17940 wine_fn_config_dll dssenh enable_dssenh
17941 wine_fn_config_test dlls/dssenh/tests dssenh_test
17942 wine_fn_config_dll dswave enable_dswave clean
17943 wine_fn_config_test dlls/dswave/tests dswave_test
17944 wine_fn_config_dll dwmapi enable_dwmapi implib
17945 wine_fn_config_dll dwrite enable_dwrite implib
17946 wine_fn_config_test dlls/dwrite/tests dwrite_test
17947 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17948 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17949 wine_fn_config_lib dxerr8
17950 wine_fn_config_lib dxerr9
17951 wine_fn_config_dll dxgi enable_dxgi implib
17952 wine_fn_config_test dlls/dxgi/tests dxgi_test
17953 wine_fn_config_lib dxguid
17954 wine_fn_config_dll dxva2 enable_dxva2
17955 wine_fn_config_dll esent enable_esent
17956 wine_fn_config_dll evr enable_evr
17957 wine_fn_config_dll explorerframe enable_explorerframe clean
17958 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17959 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17960 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17961 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17962 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17963 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17964 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17965 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17966 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17967 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17968 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17969 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17970 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17971 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17972 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17973 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
17974 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17975 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17976 wine_fn_config_dll faultrep enable_faultrep implib
17977 wine_fn_config_test dlls/faultrep/tests faultrep_test
17978 wine_fn_config_dll fltlib enable_fltlib
17979 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17980 wine_fn_config_dll fntcache enable_fntcache
17981 wine_fn_config_dll fontsub enable_fontsub
17982 wine_fn_config_dll fusion enable_fusion
17983 wine_fn_config_test dlls/fusion/tests fusion_test
17984 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17985 wine_fn_config_dll gameux enable_gameux clean
17986 wine_fn_config_test dlls/gameux/tests gameux_test
17987 wine_fn_config_dll gdi.exe16 enable_win16
17988 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17989 wine_fn_config_test dlls/gdi32/tests gdi32_test
17990 wine_fn_config_dll gdiplus enable_gdiplus implib
17991 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17992 wine_fn_config_dll glu32 enable_glu32 implib
17993 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17994 wine_fn_config_dll gpkcsp enable_gpkcsp
17995 wine_fn_config_dll hal enable_hal
17996 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17997 wine_fn_config_dll hid enable_hid implib
17998 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17999 wine_fn_config_dll hlink enable_hlink clean,implib
18000 wine_fn_config_test dlls/hlink/tests hlink_test
18001 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18002 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18003 wine_fn_config_dll httpapi enable_httpapi
18004 wine_fn_config_dll iccvid enable_iccvid clean
18005 wine_fn_config_dll icmp enable_icmp
18006 wine_fn_config_dll ieframe enable_ieframe clean,implib
18007 wine_fn_config_test dlls/ieframe/tests ieframe_test
18008 wine_fn_config_dll ifsmgr.vxd enable_win16
18009 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18010 wine_fn_config_dll imagehlp enable_imagehlp implib
18011 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18012 wine_fn_config_dll imm.dll16 enable_win16
18013 wine_fn_config_dll imm32 enable_imm32 implib
18014 wine_fn_config_test dlls/imm32/tests imm32_test
18015 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18016 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18017 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18018 wine_fn_config_dll inetmib1 enable_inetmib1
18019 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18020 wine_fn_config_dll infosoft enable_infosoft clean
18021 wine_fn_config_test dlls/infosoft/tests infosoft_test
18022 wine_fn_config_dll initpki enable_initpki
18023 wine_fn_config_dll inkobj enable_inkobj
18024 wine_fn_config_dll inseng enable_inseng clean
18025 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18026 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18027 wine_fn_config_dll iprop enable_iprop
18028 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18029 wine_fn_config_dll itircl enable_itircl
18030 wine_fn_config_dll itss enable_itss clean
18031 wine_fn_config_test dlls/itss/tests itss_test
18032 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18033 wine_fn_config_dll jscript enable_jscript clean
18034 wine_fn_config_test dlls/jscript/tests jscript_test
18035 wine_fn_config_dll jsproxy enable_jsproxy implib
18036 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18037 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18038 wine_fn_config_test dlls/kernel32/tests kernel32_test
18039 wine_fn_config_dll kernelbase enable_kernelbase
18040 wine_fn_config_dll keyboard.drv16 enable_win16
18041 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18042 wine_fn_config_dll ksuser enable_ksuser
18043 wine_fn_config_dll ktmw32 enable_ktmw32
18044 wine_fn_config_dll loadperf enable_loadperf implib
18045 wine_fn_config_dll localspl enable_localspl clean
18046 wine_fn_config_test dlls/localspl/tests localspl_test
18047 wine_fn_config_dll localui enable_localui clean
18048 wine_fn_config_test dlls/localui/tests localui_test
18049 wine_fn_config_dll lz32 enable_lz32 implib
18050 wine_fn_config_test dlls/lz32/tests lz32_test
18051 wine_fn_config_dll lzexpand.dll16 enable_win16
18052 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18053 wine_fn_config_test dlls/mapi32/tests mapi32_test
18054 wine_fn_config_dll mapistub enable_mapistub
18055 wine_fn_config_dll mciavi32 enable_mciavi32
18056 wine_fn_config_dll mcicda enable_mcicda
18057 wine_fn_config_dll mciqtz32 enable_mciqtz32
18058 wine_fn_config_dll mciseq enable_mciseq
18059 wine_fn_config_dll mciwave enable_mciwave
18060 wine_fn_config_dll mf enable_mf
18061 wine_fn_config_dll mfplat enable_mfplat
18062 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18063 wine_fn_config_dll mgmtapi enable_mgmtapi
18064 wine_fn_config_dll midimap enable_midimap
18065 wine_fn_config_dll mlang enable_mlang clean,implib
18066 wine_fn_config_test dlls/mlang/tests mlang_test
18067 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18068 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18069 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18070 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18071 wine_fn_config_dll mmdevldr.vxd enable_win16
18072 wine_fn_config_dll mmsystem.dll16 enable_win16
18073 wine_fn_config_dll monodebg.vxd enable_win16
18074 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18075 wine_fn_config_dll mouse.drv16 enable_win16
18076 wine_fn_config_dll mpr enable_mpr clean,implib
18077 wine_fn_config_test dlls/mpr/tests mpr_test
18078 wine_fn_config_dll mprapi enable_mprapi implib
18079 wine_fn_config_dll msacm.dll16 enable_win16
18080 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18081 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18082 wine_fn_config_test dlls/msacm32/tests msacm32_test
18083 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18084 wine_fn_config_dll msasn1 enable_msasn1 implib
18085 wine_fn_config_dll mscat32 enable_mscat32
18086 wine_fn_config_dll mscms enable_mscms implib
18087 wine_fn_config_test dlls/mscms/tests mscms_test
18088 wine_fn_config_dll mscoree enable_mscoree clean
18089 wine_fn_config_test dlls/mscoree/tests mscoree_test
18090 wine_fn_config_dll msctf enable_msctf clean
18091 wine_fn_config_test dlls/msctf/tests msctf_test
18092 wine_fn_config_dll msctfp enable_msctfp clean
18093 wine_fn_config_dll msdaps enable_msdaps clean
18094 wine_fn_config_dll msdelta enable_msdelta
18095 wine_fn_config_dll msdmo enable_msdmo implib
18096 wine_fn_config_test dlls/msdmo/tests msdmo_test
18097 wine_fn_config_dll msdrm enable_msdrm
18098 wine_fn_config_dll msftedit enable_msftedit
18099 wine_fn_config_dll msg711.acm enable_msg711_acm
18100 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18101 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18102 wine_fn_config_dll mshtml enable_mshtml clean,implib
18103 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18104 wine_fn_config_dll msi enable_msi clean,implib
18105 wine_fn_config_test dlls/msi/tests msi_test
18106 wine_fn_config_dll msident enable_msident clean
18107 wine_fn_config_dll msimg32 enable_msimg32 implib
18108 wine_fn_config_dll msimsg enable_msimsg
18109 wine_fn_config_dll msimtf enable_msimtf clean
18110 wine_fn_config_dll msisip enable_msisip
18111 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18112 wine_fn_config_dll msls31 enable_msls31
18113 wine_fn_config_dll msnet32 enable_msnet32
18114 wine_fn_config_dll mspatcha enable_mspatcha implib
18115 wine_fn_config_dll msports enable_msports
18116 wine_fn_config_dll msrle32 enable_msrle32 clean
18117 wine_fn_config_test dlls/msrle32/tests msrle32_test
18118 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18119 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18120 wine_fn_config_dll mssign32 enable_mssign32
18121 wine_fn_config_dll mssip32 enable_mssip32
18122 wine_fn_config_dll mstask enable_mstask clean
18123 wine_fn_config_test dlls/mstask/tests mstask_test
18124 wine_fn_config_dll msvcirt enable_msvcirt
18125 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18126 wine_fn_config_dll msvcm80 enable_msvcm80
18127 wine_fn_config_dll msvcm90 enable_msvcm90
18128 wine_fn_config_dll msvcp100 enable_msvcp100
18129 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18130 wine_fn_config_dll msvcp110 enable_msvcp110
18131 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18132 wine_fn_config_dll msvcp120 enable_msvcp120
18133 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18134 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18135 wine_fn_config_dll msvcp140 enable_msvcp140
18136 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18137 wine_fn_config_dll msvcp60 enable_msvcp60
18138 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18139 wine_fn_config_dll msvcp70 enable_msvcp70
18140 wine_fn_config_dll msvcp71 enable_msvcp71
18141 wine_fn_config_dll msvcp80 enable_msvcp80
18142 wine_fn_config_dll msvcp90 enable_msvcp90
18143 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18144 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18145 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18146 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18147 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18148 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18149 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18150 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18151 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18152 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18153 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18154 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18155 wine_fn_config_dll msvcrt enable_msvcrt implib
18156 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18157 wine_fn_config_dll msvcrt20 enable_msvcrt20
18158 wine_fn_config_dll msvcrt40 enable_msvcrt40
18159 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18160 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18161 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18162 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18163 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18164 wine_fn_config_dll msvideo.dll16 enable_win16
18165 wine_fn_config_dll mswsock enable_mswsock implib
18166 wine_fn_config_dll msxml enable_msxml clean
18167 wine_fn_config_dll msxml2 enable_msxml2 clean
18168 wine_fn_config_dll msxml3 enable_msxml3 clean
18169 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18170 wine_fn_config_dll msxml4 enable_msxml4 clean
18171 wine_fn_config_dll msxml6 enable_msxml6 clean
18172 wine_fn_config_dll ncrypt enable_ncrypt
18173 wine_fn_config_dll nddeapi enable_nddeapi implib
18174 wine_fn_config_dll ndis.sys enable_ndis_sys
18175 wine_fn_config_dll netapi32 enable_netapi32 implib
18176 wine_fn_config_test dlls/netapi32/tests netapi32_test
18177 wine_fn_config_dll netcfgx enable_netcfgx clean
18178 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18179 wine_fn_config_dll netprofm enable_netprofm clean
18180 wine_fn_config_test dlls/netprofm/tests netprofm_test
18181 wine_fn_config_dll newdev enable_newdev implib
18182 wine_fn_config_dll normaliz enable_normaliz implib
18183 wine_fn_config_dll npmshtml enable_npmshtml
18184 wine_fn_config_dll npptools enable_npptools
18185 wine_fn_config_dll ntdll enable_ntdll implib
18186 wine_fn_config_test dlls/ntdll/tests ntdll_test
18187 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18188 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18189 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18190 wine_fn_config_dll ntprint enable_ntprint
18191 wine_fn_config_test dlls/ntprint/tests ntprint_test
18192 wine_fn_config_dll objsel enable_objsel clean
18193 wine_fn_config_dll odbc32 enable_odbc32 implib
18194 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18195 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18196 wine_fn_config_dll odbccu32 enable_odbccu32
18197 wine_fn_config_dll ole2.dll16 enable_win16
18198 wine_fn_config_dll ole2conv.dll16 enable_win16
18199 wine_fn_config_dll ole2disp.dll16 enable_win16
18200 wine_fn_config_dll ole2nls.dll16 enable_win16
18201 wine_fn_config_dll ole2prox.dll16 enable_win16
18202 wine_fn_config_dll ole2thk.dll16 enable_win16
18203 wine_fn_config_dll ole32 enable_ole32 clean,implib
18204 wine_fn_config_test dlls/ole32/tests ole32_test
18205 wine_fn_config_dll oleacc enable_oleacc clean,implib
18206 wine_fn_config_test dlls/oleacc/tests oleacc_test
18207 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18208 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18209 wine_fn_config_dll olecli.dll16 enable_win16
18210 wine_fn_config_dll olecli32 enable_olecli32 implib
18211 wine_fn_config_dll oledb32 enable_oledb32 clean
18212 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18213 wine_fn_config_dll oledlg enable_oledlg clean,implib
18214 wine_fn_config_test dlls/oledlg/tests oledlg_test
18215 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18216 wine_fn_config_dll olesvr.dll16 enable_win16
18217 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18218 wine_fn_config_dll olethk32 enable_olethk32
18219 wine_fn_config_dll openal32 enable_openal32
18220 wine_fn_config_dll opencl enable_opencl
18221 wine_fn_config_dll opengl32 enable_opengl32 implib
18222 wine_fn_config_test dlls/opengl32/tests opengl32_test
18223 wine_fn_config_dll packager enable_packager clean
18224 wine_fn_config_test dlls/packager/tests packager_test
18225 wine_fn_config_dll pdh enable_pdh implib
18226 wine_fn_config_test dlls/pdh/tests pdh_test
18227 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18228 wine_fn_config_dll pidgen enable_pidgen
18229 wine_fn_config_dll powrprof enable_powrprof implib
18230 wine_fn_config_dll printui enable_printui
18231 wine_fn_config_dll prntvpt enable_prntvpt
18232 wine_fn_config_dll propsys enable_propsys clean,implib
18233 wine_fn_config_test dlls/propsys/tests propsys_test
18234 wine_fn_config_dll psapi enable_psapi implib
18235 wine_fn_config_test dlls/psapi/tests psapi_test
18236 wine_fn_config_dll pstorec enable_pstorec clean
18237 wine_fn_config_dll qcap enable_qcap
18238 wine_fn_config_test dlls/qcap/tests qcap_test
18239 wine_fn_config_dll qedit enable_qedit clean
18240 wine_fn_config_test dlls/qedit/tests qedit_test
18241 wine_fn_config_dll qmgr enable_qmgr clean
18242 wine_fn_config_test dlls/qmgr/tests qmgr_test
18243 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18244 wine_fn_config_dll quartz enable_quartz clean,implib
18245 wine_fn_config_test dlls/quartz/tests quartz_test clean
18246 wine_fn_config_dll query enable_query
18247 wine_fn_config_dll rasapi16.dll16 enable_win16
18248 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18249 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18250 wine_fn_config_dll rasdlg enable_rasdlg implib
18251 wine_fn_config_dll regapi enable_regapi
18252 wine_fn_config_dll resutils enable_resutils implib
18253 wine_fn_config_dll riched20 enable_riched20 clean,implib
18254 wine_fn_config_test dlls/riched20/tests riched20_test
18255 wine_fn_config_dll riched32 enable_riched32
18256 wine_fn_config_test dlls/riched32/tests riched32_test
18257 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18258 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18259 wine_fn_config_dll rsabase enable_rsabase
18260 wine_fn_config_dll rsaenh enable_rsaenh implib
18261 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18262 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18263 wine_fn_config_dll rtutils enable_rtutils implib
18264 wine_fn_config_dll samlib enable_samlib
18265 wine_fn_config_dll sane.ds enable_sane_ds clean
18266 wine_fn_config_dll scarddlg enable_scarddlg
18267 wine_fn_config_dll sccbase enable_sccbase
18268 wine_fn_config_dll schannel enable_schannel
18269 wine_fn_config_test dlls/schannel/tests schannel_test
18270 wine_fn_config_dll schedsvc enable_schedsvc clean
18271 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18272 wine_fn_config_dll scrrun enable_scrrun clean
18273 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18274 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18275 wine_fn_config_dll secur32 enable_secur32 implib
18276 wine_fn_config_test dlls/secur32/tests secur32_test
18277 wine_fn_config_dll security enable_security
18278 wine_fn_config_dll sensapi enable_sensapi implib
18279 wine_fn_config_dll serialui enable_serialui clean
18280 wine_fn_config_test dlls/serialui/tests serialui_test
18281 wine_fn_config_dll setupapi enable_setupapi clean,implib
18282 wine_fn_config_test dlls/setupapi/tests setupapi_test
18283 wine_fn_config_dll setupx.dll16 enable_win16
18284 wine_fn_config_dll sfc enable_sfc implib
18285 wine_fn_config_dll sfc_os enable_sfc_os implib
18286 wine_fn_config_dll shdoclc enable_shdoclc clean
18287 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18288 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18289 wine_fn_config_dll shell.dll16 enable_win16
18290 wine_fn_config_dll shell32 enable_shell32 clean,implib
18291 wine_fn_config_test dlls/shell32/tests shell32_test
18292 wine_fn_config_dll shfolder enable_shfolder implib
18293 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18294 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18295 wine_fn_config_dll slbcsp enable_slbcsp
18296 wine_fn_config_dll slc enable_slc implib
18297 wine_fn_config_test dlls/slc/tests slc_test
18298 wine_fn_config_dll snmpapi enable_snmpapi implib
18299 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18300 wine_fn_config_dll softpub enable_softpub
18301 wine_fn_config_dll sound.drv16 enable_win16
18302 wine_fn_config_dll spoolss enable_spoolss implib
18303 wine_fn_config_test dlls/spoolss/tests spoolss_test
18304 wine_fn_config_dll sspicli enable_sspicli
18305 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18306 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18307 wine_fn_config_dll sti enable_sti clean,implib
18308 wine_fn_config_test dlls/sti/tests sti_test
18309 wine_fn_config_dll storage.dll16 enable_win16
18310 wine_fn_config_dll stress.dll16 enable_win16
18311 wine_fn_config_lib strmbase
18312 wine_fn_config_lib strmiids
18313 wine_fn_config_dll svrapi enable_svrapi
18314 wine_fn_config_dll sxs enable_sxs implib
18315 wine_fn_config_test dlls/sxs/tests sxs_test
18316 wine_fn_config_dll system.drv16 enable_win16
18317 wine_fn_config_dll t2embed enable_t2embed implib
18318 wine_fn_config_test dlls/t2embed/tests t2embed_test
18319 wine_fn_config_dll tapi32 enable_tapi32 implib
18320 wine_fn_config_dll taskschd enable_taskschd clean
18321 wine_fn_config_test dlls/taskschd/tests taskschd_test
18322 wine_fn_config_dll tdi.sys enable_tdi_sys
18323 wine_fn_config_dll toolhelp.dll16 enable_win16
18324 wine_fn_config_dll traffic enable_traffic
18325 wine_fn_config_dll twain.dll16 enable_win16
18326 wine_fn_config_dll twain_32 enable_twain_32
18327 wine_fn_config_test dlls/twain_32/tests twain_32_test
18328 wine_fn_config_dll typelib.dll16 enable_win16
18329 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18330 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18331 wine_fn_config_dll unicows enable_unicows implib
18332 wine_fn_config_dll updspapi enable_updspapi
18333 wine_fn_config_dll url enable_url implib
18334 wine_fn_config_dll urlmon enable_urlmon clean,implib
18335 wine_fn_config_test dlls/urlmon/tests urlmon_test
18336 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18337 wine_fn_config_dll user.exe16 enable_win16
18338 wine_fn_config_dll user32 enable_user32 clean,implib
18339 wine_fn_config_test dlls/user32/tests user32_test
18340 wine_fn_config_dll userenv enable_userenv implib
18341 wine_fn_config_test dlls/userenv/tests userenv_test
18342 wine_fn_config_dll usp10 enable_usp10 implib
18343 wine_fn_config_test dlls/usp10/tests usp10_test
18344 wine_fn_config_lib uuid
18345 wine_fn_config_dll uxtheme enable_uxtheme implib
18346 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18347 wine_fn_config_dll vbscript enable_vbscript clean
18348 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18349 wine_fn_config_dll vcomp enable_vcomp
18350 wine_fn_config_test dlls/vcomp/tests vcomp_test
18351 wine_fn_config_dll vcomp100 enable_vcomp100
18352 wine_fn_config_dll vcomp110 enable_vcomp110
18353 wine_fn_config_dll vcomp120 enable_vcomp120
18354 wine_fn_config_dll vcomp140 enable_vcomp140
18355 wine_fn_config_dll vcomp90 enable_vcomp90
18356 wine_fn_config_dll vcruntime140 enable_vcruntime140
18357 wine_fn_config_dll vdhcp.vxd enable_win16
18358 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18359 wine_fn_config_dll ver.dll16 enable_win16
18360 wine_fn_config_dll version enable_version implib
18361 wine_fn_config_test dlls/version/tests version_test
18362 wine_fn_config_dll vmm.vxd enable_win16
18363 wine_fn_config_dll vnbt.vxd enable_win16
18364 wine_fn_config_dll vnetbios.vxd enable_win16
18365 wine_fn_config_dll vssapi enable_vssapi
18366 wine_fn_config_dll vtdapi.vxd enable_win16
18367 wine_fn_config_dll vwin32.vxd enable_win16
18368 wine_fn_config_dll w32skrnl enable_win16
18369 wine_fn_config_dll w32sys.dll16 enable_win16
18370 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18371 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18372 wine_fn_config_dll wbemprox enable_wbemprox clean
18373 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18374 wine_fn_config_dll webservices enable_webservices implib
18375 wine_fn_config_test dlls/webservices/tests webservices_test
18376 wine_fn_config_dll wer enable_wer implib
18377 wine_fn_config_test dlls/wer/tests wer_test
18378 wine_fn_config_dll wevtapi enable_wevtapi
18379 wine_fn_config_dll wiaservc enable_wiaservc clean
18380 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18381 wine_fn_config_dll wimgapi enable_wimgapi
18382 wine_fn_config_dll win32s16.dll16 enable_win16
18383 wine_fn_config_dll win87em.dll16 enable_win16
18384 wine_fn_config_dll winaspi.dll16 enable_win16
18385 wine_fn_config_dll windebug.dll16 enable_win16
18386 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18387 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18388 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18389 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18390 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18391 wine_fn_config_dll winebus.sys enable_winebus_sys
18392 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18393 wine_fn_config_lib winecrt0
18394 wine_fn_config_dll wined3d enable_wined3d implib
18395 wine_fn_config_dll winegstreamer enable_winegstreamer
18396 wine_fn_config_dll winehid.sys enable_winehid_sys
18397 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18398 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18399 wine_fn_config_dll winemapi enable_winemapi
18400 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18401 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18402 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18403 wine_fn_config_dll wineps16.drv16 enable_win16
18404 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18405 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18406 wine_fn_config_dll winex11.drv enable_winex11_drv
18407 wine_fn_config_dll wing.dll16 enable_win16
18408 wine_fn_config_dll wing32 enable_wing32
18409 wine_fn_config_dll winhttp enable_winhttp clean,implib
18410 wine_fn_config_test dlls/winhttp/tests winhttp_test
18411 wine_fn_config_dll wininet enable_wininet clean,implib
18412 wine_fn_config_test dlls/wininet/tests wininet_test
18413 wine_fn_config_dll winmm enable_winmm clean,implib
18414 wine_fn_config_test dlls/winmm/tests winmm_test
18415 wine_fn_config_dll winnls.dll16 enable_win16
18416 wine_fn_config_dll winnls32 enable_winnls32 implib
18417 wine_fn_config_dll winscard enable_winscard implib
18418 wine_fn_config_dll winsock.dll16 enable_win16
18419 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18420 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18421 wine_fn_config_dll winsta enable_winsta
18422 wine_fn_config_dll wintab.dll16 enable_win16
18423 wine_fn_config_dll wintab32 enable_wintab32 implib
18424 wine_fn_config_test dlls/wintab32/tests wintab32_test
18425 wine_fn_config_dll wintrust enable_wintrust implib
18426 wine_fn_config_test dlls/wintrust/tests wintrust_test
18427 wine_fn_config_dll wlanapi enable_wlanapi
18428 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18429 wine_fn_config_test dlls/wldap32/tests wldap32_test
18430 wine_fn_config_dll wmasf enable_wmasf
18431 wine_fn_config_dll wmi enable_wmi
18432 wine_fn_config_dll wmiutils enable_wmiutils clean
18433 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18434 wine_fn_config_dll wmp enable_wmp clean
18435 wine_fn_config_test dlls/wmp/tests wmp_test
18436 wine_fn_config_dll wmvcore enable_wmvcore
18437 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18438 wine_fn_config_dll wow32 enable_win16 implib
18439 wine_fn_config_dll wpc enable_wpc clean
18440 wine_fn_config_test dlls/wpc/tests wpc_test
18441 wine_fn_config_dll wpcap enable_wpcap
18442 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18443 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18444 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18445 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18446 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18447 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18448 wine_fn_config_dll wsock32 enable_wsock32 implib
18449 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18450 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18451 wine_fn_config_dll wuapi enable_wuapi clean
18452 wine_fn_config_dll wuaueng enable_wuaueng
18453 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18454 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18455 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18456 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18457 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18458 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18459 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18460 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18461 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18462 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18463 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18464 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18465 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18466 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18467 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18468 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18469 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18470 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18471 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18472 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18473 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18474 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18475 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18476 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18477 wine_fn_config_dll xinput1_1 enable_xinput1_1
18478 wine_fn_config_dll xinput1_2 enable_xinput1_2
18479 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18480 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18481 wine_fn_config_dll xinput1_4 enable_xinput1_4
18482 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18483 wine_fn_config_dll xmllite enable_xmllite implib
18484 wine_fn_config_test dlls/xmllite/tests xmllite_test
18485 wine_fn_config_dll xolehlp enable_xolehlp
18486 wine_fn_config_dll xpsprint enable_xpsprint
18487 wine_fn_config_dll xpssvcs enable_xpssvcs
18488 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18489 wine_fn_config_makefile include enable_include clean,install-dev
18490 wine_fn_config_makefile libs/port enable_libs_port
18491 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18492 wine_fn_config_makefile libs/wpp enable_libs_wpp
18493 wine_fn_config_makefile loader enable_loader clean,install-lib
18494 wine_fn_config_makefile po enable_po clean
18495 wine_fn_config_program arp enable_arp install
18496 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18497 wine_fn_config_program attrib enable_attrib clean,install
18498 wine_fn_config_program cabarc enable_cabarc install
18499 wine_fn_config_program cacls enable_cacls install
18500 wine_fn_config_program clock enable_clock clean,install
18501 wine_fn_config_program cmd enable_cmd clean,install
18502 wine_fn_config_test programs/cmd/tests cmd.exe_test
18503 wine_fn_config_program conhost enable_conhost install
18504 wine_fn_config_program control enable_control install
18505 wine_fn_config_program cscript enable_cscript clean,install
18506 wine_fn_config_program dpnsvr enable_dpnsvr install
18507 wine_fn_config_program dxdiag enable_dxdiag clean,install
18508 wine_fn_config_program eject enable_eject install
18509 wine_fn_config_program expand enable_expand install
18510 wine_fn_config_program explorer enable_explorer clean,install
18511 wine_fn_config_program extrac32 enable_extrac32 install
18512 wine_fn_config_program findstr enable_findstr install
18513 wine_fn_config_program fsutil enable_fsutil install
18514 wine_fn_config_program hh enable_hh install
18515 wine_fn_config_program hostname enable_hostname clean,install
18516 wine_fn_config_program icacls enable_icacls install
18517 wine_fn_config_program icinfo enable_icinfo install
18518 wine_fn_config_program iexplore enable_iexplore install
18519 wine_fn_config_program ipconfig enable_ipconfig clean,install
18520 wine_fn_config_program lodctr enable_lodctr install
18521 wine_fn_config_program mofcomp enable_mofcomp install
18522 wine_fn_config_program mshta enable_mshta install
18523 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18524 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18525 wine_fn_config_program net enable_net clean,install
18526 wine_fn_config_program netsh enable_netsh install
18527 wine_fn_config_program netstat enable_netstat clean,install
18528 wine_fn_config_program ngen enable_ngen install
18529 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18530 wine_fn_config_program oleview enable_oleview clean,install
18531 wine_fn_config_program ping enable_ping install
18532 wine_fn_config_program plugplay enable_plugplay install
18533 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18534 wine_fn_config_program progman enable_progman clean,install
18535 wine_fn_config_program reg enable_reg clean,install
18536 wine_fn_config_test programs/reg/tests reg.exe_test
18537 wine_fn_config_program regasm enable_regasm install
18538 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18539 wine_fn_config_test programs/regedit/tests regedit.exe_test
18540 wine_fn_config_program regsvcs enable_regsvcs install
18541 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18542 wine_fn_config_program rpcss enable_rpcss clean,install
18543 wine_fn_config_program rundll.exe16 enable_win16 install
18544 wine_fn_config_program rundll32 enable_rundll32 install
18545 wine_fn_config_program sc enable_sc install
18546 wine_fn_config_program schtasks enable_schtasks install
18547 wine_fn_config_program sdbinst enable_sdbinst install
18548 wine_fn_config_program secedit enable_secedit install
18549 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18550 wine_fn_config_program services enable_services clean,install
18551 wine_fn_config_test programs/services/tests services.exe_test
18552 wine_fn_config_program shutdown enable_shutdown install
18553 wine_fn_config_program spoolsv enable_spoolsv install
18554 wine_fn_config_program start enable_start clean,install
18555 wine_fn_config_program subst enable_subst install
18556 wine_fn_config_program svchost enable_svchost install
18557 wine_fn_config_program systeminfo enable_systeminfo install
18558 wine_fn_config_program taskkill enable_taskkill clean,install
18559 wine_fn_config_program tasklist enable_tasklist install
18560 wine_fn_config_program taskmgr enable_taskmgr clean,install
18561 wine_fn_config_program termsv enable_termsv install
18562 wine_fn_config_program uninstaller enable_uninstaller clean,install
18563 wine_fn_config_program unlodctr enable_unlodctr install
18564 wine_fn_config_program view enable_view clean,install
18565 wine_fn_config_program wevtutil enable_wevtutil install
18566 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18567 wine_fn_config_program winebrowser enable_winebrowser install
18568 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18569 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18570 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18571 wine_fn_config_program winedevice enable_winedevice install
18572 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18573 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18574 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18575 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18576 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18577 wine_fn_config_program winetest enable_winetest clean
18578 wine_fn_config_program winevdm enable_win16 install
18579 wine_fn_config_program winhelp.exe16 enable_win16 install
18580 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18581 wine_fn_config_program winoldap.mod16 enable_win16 install
18582 wine_fn_config_program winver enable_winver install
18583 wine_fn_config_program wmic enable_wmic clean,install
18584 wine_fn_config_program wmplayer enable_wmplayer install
18585 wine_fn_config_program wordpad enable_wordpad clean,install
18586 wine_fn_config_program write enable_write clean,install
18587 wine_fn_config_program wscript enable_wscript clean,install
18588 wine_fn_config_test programs/wscript/tests wscript.exe_test
18589 wine_fn_config_program wusa enable_wusa install
18590 wine_fn_config_program xcopy enable_xcopy clean,install
18591 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18592 wine_fn_config_makefile server enable_server clean,install-lib
18593 wine_fn_config_tool tools clean
18594 wine_fn_config_tool tools/sfnt2fon clean
18595 wine_fn_config_tool tools/widl clean,install-dev
18596 wine_fn_config_tool tools/winebuild clean,install-dev
18597 wine_fn_config_tool tools/winedump clean,install-dev
18598 wine_fn_config_tool tools/winegcc clean,install-dev
18599 wine_fn_config_tool tools/winemaker clean,install-dev
18600 wine_fn_config_tool tools/wmc clean,install-dev
18601 wine_fn_config_tool tools/wrc clean,install-dev
18604 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18605 wine_fn_append_file CONFIGURE_TARGETS "tags"
18606 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18607 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18608 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18609 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18610 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18611 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18613 if test "x$enable_tools" != xno
18614 then
18615 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18616 ac_config_commands="$ac_config_commands tools/makedep"
18620 ac_config_commands="$ac_config_commands Makefile"
18623 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18627 if test "x$enable_maintainer_mode" = xyes
18628 then
18629 wine_fn_append_rule "configure: configure.ac aclocal.m4
18630 autoconf --warnings=all
18631 include/config.h.in: include/stamp-h.in
18632 include/stamp-h.in: configure.ac aclocal.m4
18633 autoheader --warnings=all
18634 @echo timestamp > \$@"
18637 if test "x$enable_tools" != xno
18638 then
18639 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18640 @./config.status tools/makedep
18641 Makefile: tools/makedep$ac_exeext"
18642 else
18643 wine_fn_append_rule "\$(MAKEDEP):
18644 @echo \"You need to run make in $TOOLSDIR first\" && false"
18647 if test -n "$with_wine64"
18648 then
18649 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18650 fonts server:
18651 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18652 $with_wine64/loader/wine:
18653 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18654 $with_wine64/loader/wine-preloader:
18655 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18656 clean::
18657 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18658 else
18659 WINELOADER_INSTALL="wine.inf"
18661 wine_fn_append_rule "install install-lib::
18662 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18663 uninstall::
18664 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18665 case $host_os in
18666 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18667 *) wine_fn_append_rule "install install-lib::
18668 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18669 uninstall::
18670 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18671 esac
18674 $as_echo " done" >&6
18675 cat >confcache <<\_ACEOF
18676 # This file is a shell script that caches the results of configure
18677 # tests run on this system so they can be shared between configure
18678 # scripts and configure runs, see configure's option --config-cache.
18679 # It is not useful on other systems. If it contains results you don't
18680 # want to keep, you may remove or edit it.
18682 # config.status only pays attention to the cache file if you give it
18683 # the --recheck option to rerun configure.
18685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18687 # following values.
18689 _ACEOF
18691 # The following way of writing the cache mishandles newlines in values,
18692 # but we know of no workaround that is simple, portable, and efficient.
18693 # So, we kill variables containing newlines.
18694 # Ultrix sh set writes to stderr and can't be redirected directly,
18695 # and sets the high bit in the cache file unless we assign to the vars.
18697 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18698 eval ac_val=\$$ac_var
18699 case $ac_val in #(
18700 *${as_nl}*)
18701 case $ac_var in #(
18702 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18703 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18704 esac
18705 case $ac_var in #(
18706 _ | IFS | as_nl) ;; #(
18707 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18708 *) { eval $ac_var=; unset $ac_var;} ;;
18709 esac ;;
18710 esac
18711 done
18713 (set) 2>&1 |
18714 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18715 *${as_nl}ac_space=\ *)
18716 # `set' does not quote correctly, so add quotes: double-quote
18717 # substitution turns \\\\ into \\, and sed turns \\ into \.
18718 sed -n \
18719 "s/'/'\\\\''/g;
18720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18721 ;; #(
18723 # `set' quotes correctly as required by POSIX, so do not add quotes.
18724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18726 esac |
18727 sort
18729 sed '
18730 /^ac_cv_env_/b end
18731 t clear
18732 :clear
18733 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18734 t end
18735 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18736 :end' >>confcache
18737 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18738 if test -w "$cache_file"; then
18739 if test "x$cache_file" != "x/dev/null"; then
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18741 $as_echo "$as_me: updating cache $cache_file" >&6;}
18742 if test ! -f "$cache_file" || test -h "$cache_file"; then
18743 cat confcache >"$cache_file"
18744 else
18745 case $cache_file in #(
18746 */* | ?:*)
18747 mv -f confcache "$cache_file"$$ &&
18748 mv -f "$cache_file"$$ "$cache_file" ;; #(
18750 mv -f confcache "$cache_file" ;;
18751 esac
18754 else
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18756 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18759 rm -f confcache
18761 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18762 # Let make expand exec_prefix.
18763 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18765 DEFS=-DHAVE_CONFIG_H
18767 ac_libobjs=
18768 ac_ltlibobjs=
18770 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18771 # 1. Remove the extension, and $U if already installed.
18772 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18773 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18774 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18775 # will be set to the directory where LIBOBJS objects are built.
18776 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18777 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18778 done
18779 LIBOBJS=$ac_libobjs
18781 LTLIBOBJS=$ac_ltlibobjs
18785 : "${CONFIG_STATUS=./config.status}"
18786 ac_write_fail=0
18787 ac_clean_files_save=$ac_clean_files
18788 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18790 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18791 as_write_fail=0
18792 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18793 #! $SHELL
18794 # Generated by $as_me.
18795 # Run this file to recreate the current configuration.
18796 # Compiler output produced by configure, useful for debugging
18797 # configure, is in config.log if it exists.
18799 debug=false
18800 ac_cs_recheck=false
18801 ac_cs_silent=false
18803 SHELL=\${CONFIG_SHELL-$SHELL}
18804 export SHELL
18805 _ASEOF
18806 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18807 ## -------------------- ##
18808 ## M4sh Initialization. ##
18809 ## -------------------- ##
18811 # Be more Bourne compatible
18812 DUALCASE=1; export DUALCASE # for MKS sh
18813 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18814 emulate sh
18815 NULLCMD=:
18816 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18817 # is contrary to our usage. Disable this feature.
18818 alias -g '${1+"$@"}'='"$@"'
18819 setopt NO_GLOB_SUBST
18820 else
18821 case `(set -o) 2>/dev/null` in #(
18822 *posix*) :
18823 set -o posix ;; #(
18824 *) :
18826 esac
18830 as_nl='
18832 export as_nl
18833 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18834 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18835 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18836 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18837 # Prefer a ksh shell builtin over an external printf program on Solaris,
18838 # but without wasting forks for bash or zsh.
18839 if test -z "$BASH_VERSION$ZSH_VERSION" \
18840 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18841 as_echo='print -r --'
18842 as_echo_n='print -rn --'
18843 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18844 as_echo='printf %s\n'
18845 as_echo_n='printf %s'
18846 else
18847 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18848 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18849 as_echo_n='/usr/ucb/echo -n'
18850 else
18851 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18852 as_echo_n_body='eval
18853 arg=$1;
18854 case $arg in #(
18855 *"$as_nl"*)
18856 expr "X$arg" : "X\\(.*\\)$as_nl";
18857 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18858 esac;
18859 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18861 export as_echo_n_body
18862 as_echo_n='sh -c $as_echo_n_body as_echo'
18864 export as_echo_body
18865 as_echo='sh -c $as_echo_body as_echo'
18868 # The user is always right.
18869 if test "${PATH_SEPARATOR+set}" != set; then
18870 PATH_SEPARATOR=:
18871 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18872 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18873 PATH_SEPARATOR=';'
18878 # IFS
18879 # We need space, tab and new line, in precisely that order. Quoting is
18880 # there to prevent editors from complaining about space-tab.
18881 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18882 # splitting by setting IFS to empty value.)
18883 IFS=" "" $as_nl"
18885 # Find who we are. Look in the path if we contain no directory separator.
18886 as_myself=
18887 case $0 in #((
18888 *[\\/]* ) as_myself=$0 ;;
18889 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18890 for as_dir in $PATH
18892 IFS=$as_save_IFS
18893 test -z "$as_dir" && as_dir=.
18894 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18895 done
18896 IFS=$as_save_IFS
18899 esac
18900 # We did not find ourselves, most probably we were run as `sh COMMAND'
18901 # in which case we are not to be found in the path.
18902 if test "x$as_myself" = x; then
18903 as_myself=$0
18905 if test ! -f "$as_myself"; then
18906 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18907 exit 1
18910 # Unset variables that we do not need and which cause bugs (e.g. in
18911 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18912 # suppresses any "Segmentation fault" message there. '((' could
18913 # trigger a bug in pdksh 5.2.14.
18914 for as_var in BASH_ENV ENV MAIL MAILPATH
18915 do eval test x\${$as_var+set} = xset \
18916 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18917 done
18918 PS1='$ '
18919 PS2='> '
18920 PS4='+ '
18922 # NLS nuisances.
18923 LC_ALL=C
18924 export LC_ALL
18925 LANGUAGE=C
18926 export LANGUAGE
18928 # CDPATH.
18929 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18932 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18933 # ----------------------------------------
18934 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18935 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18936 # script with STATUS, using 1 if that was 0.
18937 as_fn_error ()
18939 as_status=$1; test $as_status -eq 0 && as_status=1
18940 if test "$4"; then
18941 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18942 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18944 $as_echo "$as_me: error: $2" >&2
18945 as_fn_exit $as_status
18946 } # as_fn_error
18949 # as_fn_set_status STATUS
18950 # -----------------------
18951 # Set $? to STATUS, without forking.
18952 as_fn_set_status ()
18954 return $1
18955 } # as_fn_set_status
18957 # as_fn_exit STATUS
18958 # -----------------
18959 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18960 as_fn_exit ()
18962 set +e
18963 as_fn_set_status $1
18964 exit $1
18965 } # as_fn_exit
18967 # as_fn_unset VAR
18968 # ---------------
18969 # Portably unset VAR.
18970 as_fn_unset ()
18972 { eval $1=; unset $1;}
18974 as_unset=as_fn_unset
18975 # as_fn_append VAR VALUE
18976 # ----------------------
18977 # Append the text in VALUE to the end of the definition contained in VAR. Take
18978 # advantage of any shell optimizations that allow amortized linear growth over
18979 # repeated appends, instead of the typical quadratic growth present in naive
18980 # implementations.
18981 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18982 eval 'as_fn_append ()
18984 eval $1+=\$2
18986 else
18987 as_fn_append ()
18989 eval $1=\$$1\$2
18991 fi # as_fn_append
18993 # as_fn_arith ARG...
18994 # ------------------
18995 # Perform arithmetic evaluation on the ARGs, and store the result in the
18996 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18997 # must be portable across $(()) and expr.
18998 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18999 eval 'as_fn_arith ()
19001 as_val=$(( $* ))
19003 else
19004 as_fn_arith ()
19006 as_val=`expr "$@" || test $? -eq 1`
19008 fi # as_fn_arith
19011 if expr a : '\(a\)' >/dev/null 2>&1 &&
19012 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19013 as_expr=expr
19014 else
19015 as_expr=false
19018 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19019 as_basename=basename
19020 else
19021 as_basename=false
19024 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19025 as_dirname=dirname
19026 else
19027 as_dirname=false
19030 as_me=`$as_basename -- "$0" ||
19031 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19032 X"$0" : 'X\(//\)$' \| \
19033 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19034 $as_echo X/"$0" |
19035 sed '/^.*\/\([^/][^/]*\)\/*$/{
19036 s//\1/
19039 /^X\/\(\/\/\)$/{
19040 s//\1/
19043 /^X\/\(\/\).*/{
19044 s//\1/
19047 s/.*/./; q'`
19049 # Avoid depending upon Character Ranges.
19050 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19051 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19052 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19053 as_cr_digits='0123456789'
19054 as_cr_alnum=$as_cr_Letters$as_cr_digits
19056 ECHO_C= ECHO_N= ECHO_T=
19057 case `echo -n x` in #(((((
19058 -n*)
19059 case `echo 'xy\c'` in
19060 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19061 xy) ECHO_C='\c';;
19062 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19063 ECHO_T=' ';;
19064 esac;;
19066 ECHO_N='-n';;
19067 esac
19069 rm -f conf$$ conf$$.exe conf$$.file
19070 if test -d conf$$.dir; then
19071 rm -f conf$$.dir/conf$$.file
19072 else
19073 rm -f conf$$.dir
19074 mkdir conf$$.dir 2>/dev/null
19076 if (echo >conf$$.file) 2>/dev/null; then
19077 if ln -s conf$$.file conf$$ 2>/dev/null; then
19078 as_ln_s='ln -s'
19079 # ... but there are two gotchas:
19080 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19081 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19082 # In both cases, we have to default to `cp -pR'.
19083 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19084 as_ln_s='cp -pR'
19085 elif ln conf$$.file conf$$ 2>/dev/null; then
19086 as_ln_s=ln
19087 else
19088 as_ln_s='cp -pR'
19090 else
19091 as_ln_s='cp -pR'
19093 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19094 rmdir conf$$.dir 2>/dev/null
19097 # as_fn_mkdir_p
19098 # -------------
19099 # Create "$as_dir" as a directory, including parents if necessary.
19100 as_fn_mkdir_p ()
19103 case $as_dir in #(
19104 -*) as_dir=./$as_dir;;
19105 esac
19106 test -d "$as_dir" || eval $as_mkdir_p || {
19107 as_dirs=
19108 while :; do
19109 case $as_dir in #(
19110 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19111 *) as_qdir=$as_dir;;
19112 esac
19113 as_dirs="'$as_qdir' $as_dirs"
19114 as_dir=`$as_dirname -- "$as_dir" ||
19115 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19116 X"$as_dir" : 'X\(//\)[^/]' \| \
19117 X"$as_dir" : 'X\(//\)$' \| \
19118 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19119 $as_echo X"$as_dir" |
19120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19121 s//\1/
19124 /^X\(\/\/\)[^/].*/{
19125 s//\1/
19128 /^X\(\/\/\)$/{
19129 s//\1/
19132 /^X\(\/\).*/{
19133 s//\1/
19136 s/.*/./; q'`
19137 test -d "$as_dir" && break
19138 done
19139 test -z "$as_dirs" || eval "mkdir $as_dirs"
19140 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19143 } # as_fn_mkdir_p
19144 if mkdir -p . 2>/dev/null; then
19145 as_mkdir_p='mkdir -p "$as_dir"'
19146 else
19147 test -d ./-p && rmdir ./-p
19148 as_mkdir_p=false
19152 # as_fn_executable_p FILE
19153 # -----------------------
19154 # Test if FILE is an executable regular file.
19155 as_fn_executable_p ()
19157 test -f "$1" && test -x "$1"
19158 } # as_fn_executable_p
19159 as_test_x='test -x'
19160 as_executable_p=as_fn_executable_p
19162 # Sed expression to map a string onto a valid CPP name.
19163 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19165 # Sed expression to map a string onto a valid variable name.
19166 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19169 exec 6>&1
19170 ## ----------------------------------- ##
19171 ## Main body of $CONFIG_STATUS script. ##
19172 ## ----------------------------------- ##
19173 _ASEOF
19174 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19177 # Save the log message, to keep $0 and so on meaningful, and to
19178 # report actual input values of CONFIG_FILES etc. instead of their
19179 # values after options handling.
19180 ac_log="
19181 This file was extended by Wine $as_me 2.0-rc4, which was
19182 generated by GNU Autoconf 2.69. Invocation command line was
19184 CONFIG_FILES = $CONFIG_FILES
19185 CONFIG_HEADERS = $CONFIG_HEADERS
19186 CONFIG_LINKS = $CONFIG_LINKS
19187 CONFIG_COMMANDS = $CONFIG_COMMANDS
19188 $ $0 $@
19190 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19193 _ACEOF
19195 case $ac_config_files in *"
19196 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19197 esac
19199 case $ac_config_headers in *"
19200 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19201 esac
19204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19205 # Files that config.status was made for.
19206 config_files="$ac_config_files"
19207 config_headers="$ac_config_headers"
19208 config_links="$ac_config_links"
19209 config_commands="$ac_config_commands"
19211 _ACEOF
19213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19214 ac_cs_usage="\
19215 \`$as_me' instantiates files and other configuration actions
19216 from templates according to the current configuration. Unless the files
19217 and actions are specified as TAGs, all are instantiated by default.
19219 Usage: $0 [OPTION]... [TAG]...
19221 -h, --help print this help, then exit
19222 -V, --version print version number and configuration settings, then exit
19223 --config print configuration, then exit
19224 -q, --quiet, --silent
19225 do not print progress messages
19226 -d, --debug don't remove temporary files
19227 --recheck update $as_me by reconfiguring in the same conditions
19228 --file=FILE[:TEMPLATE]
19229 instantiate the configuration file FILE
19230 --header=FILE[:TEMPLATE]
19231 instantiate the configuration header FILE
19233 Configuration files:
19234 $config_files
19236 Configuration headers:
19237 $config_headers
19239 Configuration links:
19240 $config_links
19242 Configuration commands:
19243 $config_commands
19245 Report bugs to <wine-devel@winehq.org>.
19246 Wine home page: <http://www.winehq.org>."
19248 _ACEOF
19249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19250 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19251 ac_cs_version="\\
19252 Wine config.status 2.0-rc4
19253 configured by $0, generated by GNU Autoconf 2.69,
19254 with options \\"\$ac_cs_config\\"
19256 Copyright (C) 2012 Free Software Foundation, Inc.
19257 This config.status script is free software; the Free Software Foundation
19258 gives unlimited permission to copy, distribute and modify it."
19260 ac_pwd='$ac_pwd'
19261 srcdir='$srcdir'
19262 test -n "\$AWK" || AWK=awk
19263 _ACEOF
19265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19266 # The default lists apply if the user does not specify any file.
19267 ac_need_defaults=:
19268 while test $# != 0
19270 case $1 in
19271 --*=?*)
19272 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19273 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19274 ac_shift=:
19276 --*=)
19277 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19278 ac_optarg=
19279 ac_shift=:
19282 ac_option=$1
19283 ac_optarg=$2
19284 ac_shift=shift
19286 esac
19288 case $ac_option in
19289 # Handling of the options.
19290 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19291 ac_cs_recheck=: ;;
19292 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19293 $as_echo "$ac_cs_version"; exit ;;
19294 --config | --confi | --conf | --con | --co | --c )
19295 $as_echo "$ac_cs_config"; exit ;;
19296 --debug | --debu | --deb | --de | --d | -d )
19297 debug=: ;;
19298 --file | --fil | --fi | --f )
19299 $ac_shift
19300 case $ac_optarg in
19301 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19302 '') as_fn_error $? "missing file argument" ;;
19303 esac
19304 as_fn_append CONFIG_FILES " '$ac_optarg'"
19305 ac_need_defaults=false;;
19306 --header | --heade | --head | --hea )
19307 $ac_shift
19308 case $ac_optarg in
19309 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19310 esac
19311 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19312 ac_need_defaults=false;;
19313 --he | --h)
19314 # Conflict between --help and --header
19315 as_fn_error $? "ambiguous option: \`$1'
19316 Try \`$0 --help' for more information.";;
19317 --help | --hel | -h )
19318 $as_echo "$ac_cs_usage"; exit ;;
19319 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19320 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19321 ac_cs_silent=: ;;
19323 # This is an error.
19324 -*) as_fn_error $? "unrecognized option: \`$1'
19325 Try \`$0 --help' for more information." ;;
19327 *) as_fn_append ac_config_targets " $1"
19328 ac_need_defaults=false ;;
19330 esac
19331 shift
19332 done
19334 ac_configure_extra_args=
19336 if $ac_cs_silent; then
19337 exec 6>/dev/null
19338 ac_configure_extra_args="$ac_configure_extra_args --silent"
19341 _ACEOF
19342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19343 if \$ac_cs_recheck; then
19344 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19345 shift
19346 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19347 CONFIG_SHELL='$SHELL'
19348 export CONFIG_SHELL
19349 exec "\$@"
19352 _ACEOF
19353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19354 exec 5>>config.log
19356 echo
19357 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19358 ## Running $as_me. ##
19359 _ASBOX
19360 $as_echo "$ac_log"
19361 } >&5
19363 _ACEOF
19364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19366 # INIT-COMMANDS
19368 wine_fn_output_makedep ()
19370 as_dir=tools; as_fn_mkdir_p
19371 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19373 wine_fn_output_makefile ()
19375 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19376 `cat $wine_rules_file`
19377 _WINE_EOF
19378 as_fn_error $? "could not create Makefile" "$LINENO" 5
19381 _ACEOF
19383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19385 # Handling of arguments.
19386 for ac_config_target in $ac_config_targets
19388 case $ac_config_target in
19389 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19390 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19391 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19392 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19393 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19394 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19395 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19396 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19397 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19398 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19399 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19400 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19401 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19403 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19404 esac
19405 done
19408 # If the user did not use the arguments to specify the items to instantiate,
19409 # then the envvar interface is used. Set only those that are not.
19410 # We use the long form for the default assignment because of an extremely
19411 # bizarre bug on SunOS 4.1.3.
19412 if $ac_need_defaults; then
19413 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19414 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19415 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19416 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19419 # Have a temporary directory for convenience. Make it in the build tree
19420 # simply because there is no reason against having it here, and in addition,
19421 # creating and moving files from /tmp can sometimes cause problems.
19422 # Hook for its removal unless debugging.
19423 # Note that there is a small window in which the directory will not be cleaned:
19424 # after its creation but before its name has been assigned to `$tmp'.
19425 $debug ||
19427 tmp= ac_tmp=
19428 trap 'exit_status=$?
19429 : "${ac_tmp:=$tmp}"
19430 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19432 trap 'as_fn_exit 1' 1 2 13 15
19434 # Create a (secure) tmp directory for tmp files.
19437 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19438 test -d "$tmp"
19439 } ||
19441 tmp=./conf$$-$RANDOM
19442 (umask 077 && mkdir "$tmp")
19443 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19444 ac_tmp=$tmp
19446 # Set up the scripts for CONFIG_FILES section.
19447 # No need to generate them if there are no CONFIG_FILES.
19448 # This happens for instance with `./config.status config.h'.
19449 if test -n "$CONFIG_FILES"; then
19452 ac_cr=`echo X | tr X '\015'`
19453 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19454 # But we know of no other shell where ac_cr would be empty at this
19455 # point, so we can use a bashism as a fallback.
19456 if test "x$ac_cr" = x; then
19457 eval ac_cr=\$\'\\r\'
19459 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19461 ac_cs_awk_cr='\\r'
19462 else
19463 ac_cs_awk_cr=$ac_cr
19466 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19467 _ACEOF
19471 echo "cat >conf$$subs.awk <<_ACEOF" &&
19472 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19473 echo "_ACEOF"
19474 } >conf$$subs.sh ||
19475 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19476 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19477 ac_delim='%!_!# '
19478 for ac_last_try in false false false false false :; do
19479 . ./conf$$subs.sh ||
19480 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19482 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19483 if test $ac_delim_n = $ac_delim_num; then
19484 break
19485 elif $ac_last_try; then
19486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19487 else
19488 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19490 done
19491 rm -f conf$$subs.sh
19493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19494 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19495 _ACEOF
19496 sed -n '
19498 s/^/S["/; s/!.*/"]=/
19501 s/^[^!]*!//
19502 :repl
19503 t repl
19504 s/'"$ac_delim"'$//
19505 t delim
19508 s/\(.\{148\}\)..*/\1/
19509 t more1
19510 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19513 b repl
19514 :more1
19515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19518 s/.\{148\}//
19519 t nl
19520 :delim
19522 s/\(.\{148\}\)..*/\1/
19523 t more2
19524 s/["\\]/\\&/g; s/^/"/; s/$/"/
19527 :more2
19528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19531 s/.\{148\}//
19532 t delim
19533 ' <conf$$subs.awk | sed '
19534 /^[^""]/{
19536 s/\n//
19538 ' >>$CONFIG_STATUS || ac_write_fail=1
19539 rm -f conf$$subs.awk
19540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19541 _ACAWK
19542 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19543 for (key in S) S_is_set[key] = 1
19544 FS = "\a"
19548 line = $ 0
19549 nfields = split(line, field, "@")
19550 substed = 0
19551 len = length(field[1])
19552 for (i = 2; i < nfields; i++) {
19553 key = field[i]
19554 keylen = length(key)
19555 if (S_is_set[key]) {
19556 value = S[key]
19557 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19558 len += length(value) + length(field[++i])
19559 substed = 1
19560 } else
19561 len += 1 + keylen
19564 print line
19567 _ACAWK
19568 _ACEOF
19569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19570 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19571 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19572 else
19574 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19575 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19576 _ACEOF
19578 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19579 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19580 # trailing colons and then remove the whole line if VPATH becomes empty
19581 # (actually we leave an empty line to preserve line numbers).
19582 if test "x$srcdir" = x.; then
19583 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19585 s///
19586 s/^/:/
19587 s/[ ]*$/:/
19588 s/:\$(srcdir):/:/g
19589 s/:\${srcdir}:/:/g
19590 s/:@srcdir@:/:/g
19591 s/^:*//
19592 s/:*$//
19594 s/\(=[ ]*\).*/\1/
19596 s/\n//
19597 s/^[^=]*=[ ]*$//
19601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19602 fi # test -n "$CONFIG_FILES"
19604 # Set up the scripts for CONFIG_HEADERS section.
19605 # No need to generate them if there are no CONFIG_HEADERS.
19606 # This happens for instance with `./config.status Makefile'.
19607 if test -n "$CONFIG_HEADERS"; then
19608 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19609 BEGIN {
19610 _ACEOF
19612 # Transform confdefs.h into an awk script `defines.awk', embedded as
19613 # here-document in config.status, that substitutes the proper values into
19614 # config.h.in to produce config.h.
19616 # Create a delimiter string that does not exist in confdefs.h, to ease
19617 # handling of long lines.
19618 ac_delim='%!_!# '
19619 for ac_last_try in false false :; do
19620 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19621 if test -z "$ac_tt"; then
19622 break
19623 elif $ac_last_try; then
19624 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19625 else
19626 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19628 done
19630 # For the awk script, D is an array of macro values keyed by name,
19631 # likewise P contains macro parameters if any. Preserve backslash
19632 # newline sequences.
19634 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19635 sed -n '
19636 s/.\{148\}/&'"$ac_delim"'/g
19637 t rset
19638 :rset
19639 s/^[ ]*#[ ]*define[ ][ ]*/ /
19640 t def
19642 :def
19643 s/\\$//
19644 t bsnl
19645 s/["\\]/\\&/g
19646 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19647 D["\1"]=" \3"/p
19648 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19650 :bsnl
19651 s/["\\]/\\&/g
19652 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19653 D["\1"]=" \3\\\\\\n"\\/p
19654 t cont
19655 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19656 t cont
19658 :cont
19660 s/.\{148\}/&'"$ac_delim"'/g
19661 t clear
19662 :clear
19663 s/\\$//
19664 t bsnlc
19665 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19667 :bsnlc
19668 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19669 b cont
19670 ' <confdefs.h | sed '
19671 s/'"$ac_delim"'/"\\\
19672 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19675 for (key in D) D_is_set[key] = 1
19676 FS = "\a"
19678 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19679 line = \$ 0
19680 split(line, arg, " ")
19681 if (arg[1] == "#") {
19682 defundef = arg[2]
19683 mac1 = arg[3]
19684 } else {
19685 defundef = substr(arg[1], 2)
19686 mac1 = arg[2]
19688 split(mac1, mac2, "(") #)
19689 macro = mac2[1]
19690 prefix = substr(line, 1, index(line, defundef) - 1)
19691 if (D_is_set[macro]) {
19692 # Preserve the white space surrounding the "#".
19693 print prefix "define", macro P[macro] D[macro]
19694 next
19695 } else {
19696 # Replace #undef with comments. This is necessary, for example,
19697 # in the case of _POSIX_SOURCE, which is predefined and required
19698 # on some systems where configure will not decide to define it.
19699 if (defundef == "undef") {
19700 print "/*", prefix defundef, macro, "*/"
19701 next
19705 { print }
19706 _ACAWK
19707 _ACEOF
19708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19709 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19710 fi # test -n "$CONFIG_HEADERS"
19713 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19714 shift
19715 for ac_tag
19717 case $ac_tag in
19718 :[FHLC]) ac_mode=$ac_tag; continue;;
19719 esac
19720 case $ac_mode$ac_tag in
19721 :[FHL]*:*);;
19722 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19723 :[FH]-) ac_tag=-:-;;
19724 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19725 esac
19726 ac_save_IFS=$IFS
19727 IFS=:
19728 set x $ac_tag
19729 IFS=$ac_save_IFS
19730 shift
19731 ac_file=$1
19732 shift
19734 case $ac_mode in
19735 :L) ac_source=$1;;
19736 :[FH])
19737 ac_file_inputs=
19738 for ac_f
19740 case $ac_f in
19741 -) ac_f="$ac_tmp/stdin";;
19742 *) # Look for the file first in the build tree, then in the source tree
19743 # (if the path is not absolute). The absolute path cannot be DOS-style,
19744 # because $ac_f cannot contain `:'.
19745 test -f "$ac_f" ||
19746 case $ac_f in
19747 [\\/$]*) false;;
19748 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19749 esac ||
19750 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19751 esac
19752 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19753 as_fn_append ac_file_inputs " '$ac_f'"
19754 done
19756 # Let's still pretend it is `configure' which instantiates (i.e., don't
19757 # use $as_me), people would be surprised to read:
19758 # /* config.h. Generated by config.status. */
19759 configure_input='Generated from '`
19760 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19761 `' by configure.'
19762 if test x"$ac_file" != x-; then
19763 configure_input="$ac_file. $configure_input"
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19765 $as_echo "$as_me: creating $ac_file" >&6;}
19767 # Neutralize special characters interpreted by sed in replacement strings.
19768 case $configure_input in #(
19769 *\&* | *\|* | *\\* )
19770 ac_sed_conf_input=`$as_echo "$configure_input" |
19771 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19772 *) ac_sed_conf_input=$configure_input;;
19773 esac
19775 case $ac_tag in
19776 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19778 esac
19780 esac
19782 ac_dir=`$as_dirname -- "$ac_file" ||
19783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19784 X"$ac_file" : 'X\(//\)[^/]' \| \
19785 X"$ac_file" : 'X\(//\)$' \| \
19786 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19787 $as_echo X"$ac_file" |
19788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19789 s//\1/
19792 /^X\(\/\/\)[^/].*/{
19793 s//\1/
19796 /^X\(\/\/\)$/{
19797 s//\1/
19800 /^X\(\/\).*/{
19801 s//\1/
19804 s/.*/./; q'`
19805 as_dir="$ac_dir"; as_fn_mkdir_p
19806 ac_builddir=.
19808 case "$ac_dir" in
19809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19811 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19812 # A ".." for each directory in $ac_dir_suffix.
19813 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19814 case $ac_top_builddir_sub in
19815 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19816 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19817 esac ;;
19818 esac
19819 ac_abs_top_builddir=$ac_pwd
19820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19821 # for backward compatibility:
19822 ac_top_builddir=$ac_top_build_prefix
19824 case $srcdir in
19825 .) # We are building in place.
19826 ac_srcdir=.
19827 ac_top_srcdir=$ac_top_builddir_sub
19828 ac_abs_top_srcdir=$ac_pwd ;;
19829 [\\/]* | ?:[\\/]* ) # Absolute name.
19830 ac_srcdir=$srcdir$ac_dir_suffix;
19831 ac_top_srcdir=$srcdir
19832 ac_abs_top_srcdir=$srcdir ;;
19833 *) # Relative name.
19834 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19835 ac_top_srcdir=$ac_top_build_prefix$srcdir
19836 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19837 esac
19838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19841 case $ac_mode in
19844 # CONFIG_FILE
19847 _ACEOF
19849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19850 # If the template does not know about datarootdir, expand it.
19851 # FIXME: This hack should be removed a few years after 2.60.
19852 ac_datarootdir_hack=; ac_datarootdir_seen=
19853 ac_sed_dataroot='
19854 /datarootdir/ {
19858 /@datadir@/p
19859 /@docdir@/p
19860 /@infodir@/p
19861 /@localedir@/p
19862 /@mandir@/p'
19863 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19864 *datarootdir*) ac_datarootdir_seen=yes;;
19865 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19867 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19868 _ACEOF
19869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19870 ac_datarootdir_hack='
19871 s&@datadir@&$datadir&g
19872 s&@docdir@&$docdir&g
19873 s&@infodir@&$infodir&g
19874 s&@localedir@&$localedir&g
19875 s&@mandir@&$mandir&g
19876 s&\\\${datarootdir}&$datarootdir&g' ;;
19877 esac
19878 _ACEOF
19880 # Neutralize VPATH when `$srcdir' = `.'.
19881 # Shell code in configure.ac might set extrasub.
19882 # FIXME: do we really want to maintain this feature?
19883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19884 ac_sed_extra="$ac_vpsub
19885 $extrasub
19886 _ACEOF
19887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19889 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19890 s|@configure_input@|$ac_sed_conf_input|;t t
19891 s&@top_builddir@&$ac_top_builddir_sub&;t t
19892 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19893 s&@srcdir@&$ac_srcdir&;t t
19894 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19895 s&@top_srcdir@&$ac_top_srcdir&;t t
19896 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19897 s&@builddir@&$ac_builddir&;t t
19898 s&@abs_builddir@&$ac_abs_builddir&;t t
19899 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19900 $ac_datarootdir_hack
19902 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19903 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19905 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19906 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19907 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19908 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19910 which seems to be undefined. Please make sure it is defined" >&5
19911 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19912 which seems to be undefined. Please make sure it is defined" >&2;}
19914 rm -f "$ac_tmp/stdin"
19915 case $ac_file in
19916 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19917 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19918 esac \
19919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19923 # CONFIG_HEADER
19925 if test x"$ac_file" != x-; then
19927 $as_echo "/* $configure_input */" \
19928 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19929 } >"$ac_tmp/config.h" \
19930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19931 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19933 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19934 else
19935 rm -f "$ac_file"
19936 mv "$ac_tmp/config.h" "$ac_file" \
19937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19939 else
19940 $as_echo "/* $configure_input */" \
19941 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19942 || as_fn_error $? "could not create -" "$LINENO" 5
19947 # CONFIG_LINK
19950 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19952 else
19953 # Prefer the file from the source tree if names are identical.
19954 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19955 ac_source=$srcdir/$ac_source
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19959 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19961 if test ! -r "$ac_source"; then
19962 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19964 rm -f "$ac_file"
19966 # Try a relative symlink, then a hard link, then a copy.
19967 case $ac_source in
19968 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19969 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19970 esac
19971 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19972 ln "$ac_source" "$ac_file" 2>/dev/null ||
19973 cp -p "$ac_source" "$ac_file" ||
19974 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19977 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19978 $as_echo "$as_me: executing $ac_file commands" >&6;}
19980 esac
19983 case $ac_file$ac_mode in
19984 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19985 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19986 "Makefile":C) wine_fn_output_makefile Makefile ;;
19988 esac
19989 done # for ac_tag
19992 as_fn_exit 0
19993 _ACEOF
19994 ac_clean_files=$ac_clean_files_save
19996 test $ac_write_fail = 0 ||
19997 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20000 # configure is writing to config.log, and then calls config.status.
20001 # config.status does its own redirection, appending to config.log.
20002 # Unfortunately, on DOS this fails, as config.log is still kept open
20003 # by configure, so config.status won't be able to write to it; its
20004 # output is simply discarded. So we exec the FD to /dev/null,
20005 # effectively closing config.log, so it can be properly (re)opened and
20006 # appended to by config.status. When coming back to configure, we
20007 # need to make the FD available again.
20008 if test "$no_create" != yes; then
20009 ac_cs_success=:
20010 ac_config_status_args=
20011 test "$silent" = yes &&
20012 ac_config_status_args="$ac_config_status_args --quiet"
20013 exec 5>/dev/null
20014 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20015 exec 5>>config.log
20016 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20017 # would make configure fail if this is the last instruction.
20018 $ac_cs_success || as_fn_exit 1
20020 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20022 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20026 if test "$no_create" = "yes"
20027 then
20028 exit 0
20031 ac_save_IFS="$IFS"
20032 if test "x$wine_notices" != x; then
20033 echo >&6
20034 IFS="|"
20035 for msg in $wine_notices; do
20036 IFS="$ac_save_IFS"
20037 if ${msg:+false} :; then :
20039 else
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20041 $as_echo "$as_me: $msg" >&6;}
20043 done
20045 IFS="|"
20046 for msg in $wine_warnings; do
20047 IFS="$ac_save_IFS"
20048 if ${msg:+false} :; then :
20050 else
20051 echo >&2
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20053 $as_echo "$as_me: WARNING: $msg" >&2;}
20055 done
20056 IFS="$ac_save_IFS"
20058 $as_echo "
20059 $as_me: Finished. Do '${ac_make}' to compile Wine.
20060 " >&6